]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
m68k: update libm test ULPs
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6c55cda3
RM
12012-07-09 Roland McGrath <roland@hack.frob.com>
2
3 [BZ #14336]
4 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
5 system".
6 * manual/message.texi (The Uniforum approach): Likewise.
7 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
8 (glibc iconv Implementation): Likewise.
9
638a572e
JM
102012-07-09 Joseph Myers <joseph@codesourcery.com>
11
12 [BZ #14337]
13 * math/s_clog.c (__clog): Avoid scaling a value down where that
14 could result in underflow.
15 * math/s_clog10.c (__clog10): Likewise.
16 * math/s_clog10f.c (__clog10f): Likewise.
17 * math/s_clog10l.c (__clog10l): Likewise.
18 * math/s_clogf.c (__clogf): Likewise.
19 * math/s_clogl.c (__clogl): Likewise.
20 * math/libm-test.inc (clog_test): Add more tests.
21 (clog10_test): Likewise.
22 * sysdeps/i386/fpu/libm-test-ulps: Update.
23 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24
261f4859
AS
252012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26
0abaf3e4
AS
27 [BZ #14283]
28 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29 by 7 not 8 to examine high bit of fractional part.
30
261f4859
AS
31 [BZ #14042]
32 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33 for call to __mcount_internal.
34 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37
f17ac40d
JM
382012-07-06 Joseph Myers <joseph@codesourcery.com>
39
9ad63c23
JM
40 [BZ #14154]
41 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42 approximation for values within 0x1p-13f of an odd multiple of
43 pi/4.
44 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45 exception. Add more tests.
46 * sysdeps/i386/fpu/libm-test-ulps: Update.
47
f17ac40d
JM
48 [BZ #6778]
49 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
50 inputs and return -1 for them. Do not check for +Inf in case not
51 reachable for +Inf.
52 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
55 and return -1 for them. Do not check for +Inf in case not
56 reachable for +Inf.
57 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58 define.
59 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
60 and return -1 for them. Do not check for +Inf in case not
61 reachable for +Inf.
62 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
63 spurious underflow.
64 * sysdeps/i386/fpu/libm-test-ulps: Update.
65 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66
fb21f89b
MF
672012-07-06 Mike Frysinger <vapier@gentoo.org>
68
69 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
70
cdfe2c5e
JM
712012-07-05 Joseph Myers <joseph@codesourcery.com>
72
73 [BZ #14157]
74 [BZ #14331]
75 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76 could result in spurious underflow. Scale down values above
77 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
78 * math/s_csqrtf.c (__csqrtf): Likewise.
79 * math/s_csqrtl.c (__csqrtl): Likewise.
80 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
81 spurious underflow.
82 * sysdeps/i386/fpu/libm-test-ulps: Update.
83 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84
70d35b67
AS
852012-07-04 Andreas Schwab <schwab@linux-m68k.org>
86
704bc459
AS
87 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
88 xopen-msg.sed.
89 * catgets/xopen-msg.awk: New file.
90 * catgets/xopen-msg.sed: Removed.
91
70d35b67
AS
92 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
93 po2text.sed.
94 * intl/po2test.awk: New file.
95 * intl/po2test.sed: Removed.
96
ca61cf32
JM
972012-07-04 Joseph Myers <joseph@codesourcery.com>
98
99 [BZ #14328]
100 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
101 or multiply small sinh result by itself.
102 * math/s_ctanf.c (__ctanf): Likewise.
103 * math/s_ctanh.c (__ctanh): Likewise.
104 * math/s_ctanhf.c (__ctanhf): Likewise.
105 * math/s_ctanhl.c (__ctanhl): Likewise.
106 * math/s_ctanl.c (__ctanl): Likewise.
107 * math/libm-test.inc (ctan_test_tonearest): New function.
108 (ctan_test_towardzero): Likewise.
109 (ctan_test_downward): Likewise.
110 (ctan_test_upward): Likewise.
111 (ctanh_test_tonearest): Likewise.
112 (ctanh_test_towardzero): Likewise.
113 (ctanh_test_downward): Likewise.
114 (ctanh_test_upward): Likewise.
115 (main): Call these new functions.
116 * sysdeps/i386/fpu/libm-test-ulps: Update.
117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
118
ca48a46a
MF
1192012-07-03 Mike Frysinger <vapier@gentoo.org>
120
121 * .gitignore: Delete /ports entry.
122
9d63d37d
AJ
1232012-07-03 Andreas Jaeger <aj@suse.de>
124
125 * po/bg.po: Update from translation team.
126 * po/cs.po: Likewise.
127 * po/de.po: Likewise.
128 * po/hr.po: Likewise.
129 * po/nl.pl: Likewise.
130 * po/pl.po: Likewise.
131 * po/vi.po: Likewise.
132
370ca3d2
JM
1332012-07-03 Joseph Myers <joseph@codesourcery.com>
134
95f5a9a8
JM
135 * Makeconfig [!+link] (+link-before-libc): New variable.
136 [!+link] (+link-after-libc): Likewise.
137 [!+link] (+link-tests): Likewise.
138 [!+link] (+link): Define in terms of $(+link-before-libc) and
139 $(+link-after-libc).
140 [!+link-static] (+link-static-before-libc): New variable.
141 [!+link-static] (+link-static-after-libc): Likewise.
142 [!+link-static] (+link-static-tests): Likewise.
143 [!+link-static] (+link-static): Define in terms of
144 $(+link-static-before-libc) and $(+link-static-after-libc).
145 [build-shared] (link-libc-before-gnulib): New variable.
146 [build-shared] (link-libc-tests): Likewise.
147 [build-shared] (link-libc): Define in terms of
148 $(link-libc-before-gnulib).
149 [!build-shared] (link-libc-tests): New variable.
150 (link-libc-static-tests): New variable.
151 [!gnulib] (gnulib-arch): New variable.
152 [!gnulib] (gnulib-tests): Likewise.
153 [!gnulib] (static-gnulib-arch): Likewise.
154 [!gnulib] (static-gnulib-tests): Likewise.
155 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
156 Define with "=" instead of ":=".
157 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
158 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
159 * Rules (binaries-all-notests): New variable.
160 (binaries-all-tests): Likewise.
161 (binaries-static-notests): Likewise.
162 (binaries-static-tests): Likewise.
163 (binaries-all): Define using $(binaries-all-notests) and
164 $(binaries-all-tests).
165 (binaries-static): Define using $(binaries-static-notests) and
166 $(binaries-static-tests).
167 (binaries-shared-tests): New variable.
168 (binaries-shared-notests): Likewise.
169 (binaries-shared): Remove variable.
170 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
171 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
172 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
173 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
174 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
175 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
176 * elf/Makefile (sln-modules): New variable.
177 (extra-objs): Add $(sln-modules:=.o).
178 (ldconfig-modules): Add static-stubs.
179 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
180 * elf/static-stubs.c: New file.
181
7a845b2c
JM
182 [BZ #14283]
183 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
184 by 7 not 8 to examine high bit of fractional part. Use volatile
185 variables when splitting into final array of floats if
186 __FLT_EVAL_METHOD__ != 0.
187 * math/libm-test.inc (cos_test): Add another test.
188 (sin_test): Likewise.
189 * sysdeps/i386/fpu/libm-test-ulps: Update.
190
e2283f38
JM
191 [BZ #14273]
192 * math/libm-test.inc (cosh_test): Add more tests.
193
370ca3d2
JM
194 * version.h (RELEASE): Set to "development".
195 (VERSION): Set to "2.16.90".
196
ee9247c3
CD
1972012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
198
199 * NEWS: Update copyright. Remove last-updated date.
200 Mention math library bug fixes and timezone data changes.
201 * README: Mention GNU/Hurd, x32, and HPPA support status.
202
4648c381
TS
2032012-06-28 Thomas Schwinge <thomas@codesourcery.com>
204
205 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
206
aac78a43
AJ
2072012-06-27 Andreas Jaeger <aj@suse.de>
208
209 * manual/contrib.texi (Contributors): Add Samuel Thibault.
210
ed3dbfad
AJ
2112012-06-25 Andreas Jaeger <aj@suse.de>
212
213 * sysdeps/s390/fpu/libm-test-ulps: Update.
214
4d0ee855
AS
2152012-06-23 Andreas Schwab <schwab@linux-m68k.org>
216 Thomas Schwinge <thomas@codesourcery.com>
217
218 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
219 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
220 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
221 fanotify_mark.
222
af1bce34
TS
2232012-06-23 Thomas Schwinge <thomas@codesourcery.com>
224
a9fa33ba
TS
225 * sysdeps/mach/start.c: Remove file.
226 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
227 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
228 * sysdeps/sh/init-first.c: Likewise.
229
58f902b8
TS
230 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
231 registers for frame unwinding purposes, add CFI directives.
232 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
233 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
234 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
235 Likewise.
236
1518f58b
TS
237 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
238 __fortify_fail returning.
239 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
240
db9b5059
TS
241 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
242 sysdeps/sh/____longjmp_chk.S.
243 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
244 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
245 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
246 (gen-as-const-headers): Append sigaltstack-offsets.sym.
247
967705fe
TS
248 * sysdeps/sh/abort-instr.h: New file.
249 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
250 process in case exit returns.
251
a9def8c4
TS
252 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
253 initialize the GOT register before use.
254
2a649725
TS
255 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
256 calculation of ARGC > 4.
257
af1bce34
TS
258 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
259 meaningful names to some local labels.
260
d230f50a
KK
2612012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
262 Kaz Kojima <kkojima@rr.iij4u.or.jp>
263
264 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
265 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
266 (__arch_compare_and_exchange_val_16_acq): Likewise.
267 (__arch_compare_and_exchange_val_32_acq): Likewise.
268 (atomic_exchange_and_add): Fix gUSA sequence.
269 (atomic_add): Likewise.
270 (atomic_add_negative): Likewise.
271 (atomic_add_zero): Likewise.
272 (atomic_bit_test_set): Likewise.
273
0479b305
AS
2742012-06-22 Andreas Schwab <schwab@redhat.com>
275
276 [BZ #13579]
277 * include/link.h (struct link_map): Add l_free_initfini.
278 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
279 l_initfini.
280 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
281 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
282 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
283 set.
284
0e3933b9
CD
2852012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
286
287 * configure.in: Use AC_LANG_SOURCE.
288 * configure: Regenerate.
289
4248b1b1
RM
2902012-06-22 Roland McGrath <roland@hack.frob.com>
291
292 * configure.in (libc_cv_localstatedir): New substituted variable.
293 * configure: Regenerated.
294 * config.make.in (localstatedir): New variable, substituted from
295 libc_cv_localstatedir.
296 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
297 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
298 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
299 * sysdeps/gnu/configure: Regenerated.
300
006dd861
JL
3012012-06-21 Jeff Law <law@redhat.com>
302
303 [BZ #14277]
304 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
305 free. Simplify list management for _LIBC case.
306
79662d42
JM
3072012-06-21 Joseph Myers <joseph@codesourcery.com>
308
b7abb4bf
JM
309 [BZ #14273]
310 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
311 Clear sign bit of 64-bit integer value before comparing against
312 overflow value.
313
79662d42
JM
314 * sysdeps/mach/configure: Regenerated.
315
1f150908
L
3162012-06-21 H.J. Lu <hongjiu.lu@intel.com>
317
318 [BZ #14278]
319 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
320
28363bbf
JL
3212012-06-21 Jeff Law <law@redhat.com>
322
323 [BZ #13882]
324 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
325 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 326 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
327 * elf/dl-open.c (dl_open_worker): Likewise.
328
09615db4
CD
3292012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
330
331 * scripts/list-sources.sh: Scan PORTS for translations.
332 * po/libc.pot: Regenerated.
333
2174c6dd
AJ
3342012-06-21 Andreas Jaeger <aj@suse.de>
335
336 [BZ #12194]
337 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
338 warning.
339 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
340 * bits/byteswap-16.h (__bswap_16): Likewise.
341 * bits/byteswap.h (__bswap_constant_16): Likewise.
342
3ee947b1
L
3432012-06-18 H.J. Lu <hongjiu.lu@intel.com>
344
345 [BZ #14117]
a2f34833
L
346 * sysdeps/i386/fpu_control.h: Removed.
347 * sysdeps/x86_64/fpu_control.h: Moved to ...
348 * sysdeps/x86/fpu_control.h: Here.
349
3ee947b1
L
350 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
351 (_FPU_SETCW): Likewise.
352
ed1825f8
L
3532012-06-15 H.J. Lu <hongjiu.lu@intel.com>
354
25f1282a
L
355 [BZ #14117]
356 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
357 * sysdeps/x86/fpu/bits/mathinline.h: This.
358 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
359
ed1825f8
L
360 [BZ #14050]
361 [BZ #14117]
362 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
363 functions if __x86_64__ is defined.
364
36d54b74
CLT
3652012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
366
367 * string/endian.h: Add !__ASSEMBLER__ condition for including
368 conversion interfaces.
369
10285c21
JM
3702012-06-15 Joseph Myers <joseph@codesourcery.com>
371
372 [BZ #14241]
373 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
374 of ABS(x) in calculating zero to negative powers other than odd
375 integers.
376 * math/libm-test.inc (pow_test): Add more tests.
377
06c5abbd
AJ
3782012-06-15 Andreas Jaeger <aj@suse.de>
379
380 * manual/contrib.texi (Contributors): Update entry of Liubov
381 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
382 Machado Filho.
383
a3aeac40
CH
3842012-06-15 Cyril Hrubis <metan@ucw.cz>
385
386 * string/string.h: Add __wur to GNU version of strerror_r.
387
49bdf4c1
L
3882012-06-14 H.J. Lu <hongjiu.lu@intel.com>
389
390 [BZ #14229]
391 * string/Makefile (tests): Add tst-strtok_r.
392 * string/tst-strtok_r.c: New file.
393 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
394 RAX_LP/RDX_LP on SAVE_PTR.
395
834f9b8d
RM
3962012-06-14 Roland McGrath <roland@hack.frob.com>
397
398 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
399
75fa1921
JM
4002012-06-14 Joseph Myers <joseph@codesourcery.com>
401
402 * libm_test.inc (csqrt_test): Allow more spurious underflow
403 exceptions.
404 (j0_test): Likewise.
405 (j1_test): Likewise.
406 (y0_test): Likewise.
407 (y1_test): Likewise.
408
771766df
CD
4092012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
410
411 * po/Makefile (libc.pot): Use UTF-8 charset.
412
ceb9e56b
PP
4132012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
414
415 [BZ #14210]
416 Suppress sign-conversion warning from FD_SET.
417 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
418 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
419 not unsigned long int.
420 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
421
ddb28975
L
4222012-06-12 H.J. Lu <hongjiu.lu@intel.com>
423
424 [BZ #14050]
425 [BZ #14117]
426 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
427 __extern_always_inline instead of __extern_inline.
428 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
429 (__signbit): Likewise.
430 (__signbitl): Support C++ namespace.
431 (lrintf): New inline function.
432 (lrint): Likewise.
433 (llrintf): Likewise.
434 (llrint): Likewise.
435 (fmaxf): Likewise.
436 (fmax): Likewise.
437 (fminf): Likewise.
438 (fmin): Likewise.
439 (rint): Likewise.
440 (rintf): Likewise.
441 (ceil): Likewise.
442 (ceilf): Likewise.
443 (floor): Likewise.
444 (floorf): Likewise.
445 (nearbyint): Likewise.
446 (nearbyintf): Likewise.
447
d7b4fb26
TS
4482012-06-12 Thomas Schwinge <thomas@codesourcery.com>
449
450 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
451 non-default versions.
452
eb55f5c2
RM
4532012-06-11 Roland McGrath <roland@hack.frob.com>
454
455 [BZ #14218]
456 * manual/argp.texi (Argp): Reword argp_parse description slightly.
457
366af02c
TS
4582012-06-09 Thomas Schwinge <thomas@codesourcery.com>
459
99ff6e5c
TS
460 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
461 (FE_UPWARD, FE_DOWNWARD): Don't define.
462 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
463 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
464
366af02c
TS
465 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
466 reading it.
467 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
468 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
469
793ea851
KK
4702012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
471
472 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
473 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
474 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
475 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
476
a728a38f
L
4772012-06-06 H.J. Lu <hongjiu.lu@intel.com>
478
479 [BZ #14117]
c08010c7
L
480 * sysdeps/i386/fpu/bits/fenv.h: Removed.
481 * sysdeps/i386/fpu/Implies: New file.
482 * sysdeps/x86_64/fpu/Implies: Likewise.
483 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
484 * sysdeps/x86/fpu/bits/fenv.h: This.
485
a728a38f
L
486 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
487 __SSE_MATH__.
488
6e230d11
SP
4892012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
490
491 [BZ #14134]
492 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
493 character 0xffff that matches the last element of the
494 conversion table.
495
1b671feb
AZ
4962012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
497
498 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
499 fmodl commit.
500
6043738b
AZ
5012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
502
503 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
504 values higher than 25.6283.
505
34ae0b32
AZ
5062012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
507
508 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
509 subnormal exponent extraction and add some __builtin_expect.
510 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
511 Fix for subnormal mantissa calculation.
512
1214ec8f
MF
5132012-06-04 Mike Frysinger <vapier@gentoo.org>
514
515 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
516 cpu2 is -1 and errno is not ENOSYS.
517
f3d1f93c
L
5182012-06-04 H.J. Lu <hongjiu.lu@intel.com>
519
520 [BZ #14117]
0e4a3cd7
L
521 * sysdeps/i386/i486/bits/string.h: Renamed to ...
522 * sysdeps/x86/bits/string.h: This.
523 * sysdeps/x86_64/bits/string.h: Removed.
524
6704c645
L
525 * sysdeps/i386/i486/bits/string.h: Define inline functions only
526 if not compiling for x86-64, but compiling for >= i486.
527
48495318
L
528 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
529 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
530
14adcbfc
L
531 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
532 New macro from Linux kernel 3.4.0.
533 (FP_XSTATE_MAGIC2): Likewise.
534 (FP_XSTATE_MAGIC2_SIZE): Likewise.
535 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
536 (struct _fpx_sw_bytes): New struct.
537 (struct _xsave_hdr): Likewise.
538 (struct _ymmh_state): Likewise.
539 (struct _xstate): Likewise.
540
68e408ab
L
541 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
542 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
543 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
544 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
545 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
546 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
547
f3d1f93c
L
548 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
549 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
550 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
551 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
552 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
553 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
554
d9dc34cd
TMQMF
5552012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
556
557 [BZ #13743]
558 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
559 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
560 (sysdep_headers): Include sys/platform/ppc.h.
561 * sysdeps/powerpc/test-gettimebase.c: Test for
562 __ppc_get_timebase() to catch future ISA opcode/insn changes.
563 * manual/Makefile (appendices): Include platform.texi.
564 * manual/contrib.texi (Contributors): Update @node pointers.
565 * manual/maint.texi (Maintenance): Likewise.
566 (Platform): New node.
567 * manual/platform.texi: New file. Document the new features.
568
4af3879c
SP
5692012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
570 Jakub Jelinek <jakub@redhat.com>
571
572 [BZ #14188]
573 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
574 where __builtin_expect is unavailable.
575
2fd6ff13
DM
5762012-06-03 David S. Miller <davem@davemloft.net>
577
578 * stdlib/longlong.h: Updated from GCC.
579
173f7220
AS
5802012-06-02 Andreas Schwab <schwab@linux-m68k.org>
581
582 [BZ #14042]
583 * sysdeps/powerpc/powerpc32/mcount.c: New file.
584 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
585 __mcount_internal.
586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
587 (GLIBC_2.16): Likewise.
588
f34a1c6f
L
5892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
590
591 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
592
88a4576f
JM
5932012-06-01 Joseph Myers <joseph@codesourcery.com>
594
ea32bcdd
JM
595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
596 (default-abi): New variable.
597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
598 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
599 variable.
600 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
601 Likewise.
602 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
603 Likewise.
604 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
605 Likewise.
606
88a4576f
JM
607 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
608 definition. Document in comment.
609
402fe938
DM
6102012-06-01 David S. Miller <davem@davemloft.net>
611
612 * stdlib/longlong.h: Updated from GCC.
613
3553723f
L
6142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
615
616 [BZ #14117]
3bd872c4
L
617 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
618 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
619 sys/debugreg.h sys/io.h here.
620 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
621 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
622 sys/io.h.
623 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
624 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
625 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
626 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
627 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
628 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
629
3553723f
L
630 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
631 Define only if __x86_64__ is defined.
632
4842e4fe
JM
6332012-06-01 Joseph Myers <joseph@codesourcery.com>
634
c5bfe3d5
JM
635 [BZ #14048]
636 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
637 Use int64_t for variable i.
638 * math/libm-test.inc (fmod_test): Add more tests.
639
4842e4fe
JM
640 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
641 z computation is not scheduled after fetestexcept.
642 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
643 Use math_force_eval instead of asm to ensure calculation scheduled
644 before exception test.
645 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
646 Ensure a1 + u.d computation is not scheduled after fetestexcept.
647
efb73488
AJ
6482012-06-01 Aurelien Jarno <aurelien@aurel32.net>
649
650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
651 computation is not scheduled after fetestexcept.
652
29bcce7c
L
6532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
654
655 [BZ #14117]
656 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
657 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
658
73a68f94
AZ
6592012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
660
661 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
662 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
663
67b6df78
L
6642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
665
edf2933a 666 [BZ #14117]
ebc64a18
L
667 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
668 <bits/wordsize.h>.
669 (__WCHAR_MIN): Support __WORDSIZE == 64.
670 (__WCHAR_MAX): Likewise.
671
edf2933a
L
672 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
673 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
674
57c6cf40
L
675 [BZ #14183]
676 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
677 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
678
67b6df78 679 [BZ #14117]
8eb6281e
L
680 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
681 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
682
aac639f4
L
683 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
684 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
685
67b6df78
L
686 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
687 Defined to 1 if __x86_64__ isn't defined.
688 (_STAT_VER_LINUX_OLD): New.
689 (st_atime): Remove duplicate.
690 (st_mtime): Likewise.
691 (st_ctime): Likewise.
692
1c2cfe81
DM
6932012-05-31 David S. Miller <davem@davemloft.net>
694
695 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
696 entries.
697
5be8418c
AS
6982012-06-01 Andreas Schwab <schwab@linux-m68k.org>
699
e7725326
AS
700 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
701 gen-libm-test.pl.
702
5be8418c
AS
703 [BZ #14132]
704 * elf/dl-reloc.c: Include <_itoa.h>.
705 (_dl_reloc_bad_type): Remove use of INTUSE.
706 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
707 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
708 * stdio-common/psiginfo.c (psiginfo): Likewise.
709 * stdio-common/psignal.c (psignal): Likewise.
710 * string/strsignal.c (strsignal): Likewise.
711 * include/signal.h (_sys_siglist): Declare hidden proto.
712 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
713 INTVARDEF with libc_hidden_data_def.
714 * stdio-common/itoa-udigits.c: Likewise.
715 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
716 (_itoa_lower_digits_internal): Remove declaration.
717 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
718 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
719 (_sys_sigabbrev_internal): Remove aliases.
720 (_sys_siglist): Define hidden alias.
721
507352f1
MT
7222012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
723
724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
725 bits/sysctl.h.
726
42bbb1c3
L
7272012-05-31 H.J. Lu <hongjiu.lu@intel.com>
728
729 [BZ #14117]
6bd784b6
L
730 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
731 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
732
8bca20f0
L
733 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
734 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
735 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
736 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
737 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
738 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
739
f9e890a9
L
740 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
741 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
742 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
743
471101a1
L
744 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
745 with __addr.
746 (insw): Likewise.
747 (insl): Likewise.
748 (outsb): Likewise.
749 (outsw): Likewise.
750 (outsl): Likewise.
751
6451c862
L
752 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
753 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
754 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
755
a254b8c9
L
756 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
757 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
759 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
760 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
761 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
762
b8dfdd92
L
763 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
764 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
765
578cd270
L
766 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
767 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
768
de662f5f
L
769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
770 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
771 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
772
25653439
L
773 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
774 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
775 to ...
776 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
777
6bad24a0
L
778 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
779 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
780 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
781
42bbb1c3
L
782 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
783 for x86-64.
784 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
785
2d10d547
JM
7862012-05-31 Joseph Myers <joseph@codesourcery.com>
787
788 * math/math.h (M_El): Use two more decimal places.
789 (M_LOG2El): Likewise.
790 (M_LOG10El): Likewise.
791 (M_LN2l): Likewise.
792 (M_LN10l): Likewise.
793 (M_PIl): Likewise.
794 (M_PI_2l): Likewise.
795 (M_PI_4l): Likewise.
796 (M_1_PIl): Likewise.
797 (M_2_PIl): Likewise.
798 (M_2_SQRTPIl): Likewise.
799 (M_SQRT2l): Likewise.
800 (M_SQRT1_2l): Likewise.
801
f230c29b
DM
8022012-05-31 David S. Miller <davem@davemloft.net>
803
804 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
805 values between float registers.
806 * sysdeps/sparc/sparc64/memset.S: Likewise.
807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
808
fed806c3
MF
8092012-05-31 Mike Frysinger <vapier@gentoo.org>
810
811 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
812 -D_FORTIFY_SOURCE=1.
813 (CPPFLAGS-tst-longjmp_chk.c): Define.
814 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
815 (CPPFLAGS-tst-longjmp_chk2.c): Define.
816 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
817 CFLAGS-tst-wchar-h.c.
818
30917259
MP
8192012-05-31 Marek Polacek <polacek@redhat.com>
820
821 [BZ #14132]
822 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
823 __endmntent_internal): Remove declaration.
824 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
825 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
826 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
827
1c58d5dc
DM
8282012-05-30 David S. Miller <davem@davemloft.net>
829
830 * sysdeps/sparc/sparc32/soft-fp/q_util.c
831 (___Q_simulate_exceptions): Use real FP ops rather than writing
832 into the %fsr.
833 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
834 Likewise.
835
7dc00e0d
L
8362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
837
838 [BZ #14117]
0bd53985
L
839 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
840 * sysdeps/x86/bits/xtitypes.h: This.
841
3a257e66
L
842 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
843 * sysdeps/x86/bits/wordsize.h: This.
844
62f62904
L
845 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
846 * sysdeps/x86/bits/huge_vall.h: This.
847
404fe9d9
L
848 * sysdeps/i386/bits/select.h: Removed.
849 * sysdeps/x86_64/bits/select.h: Renamed to ...
850 * sysdeps/x86/bits/select.h: This.
851
d48d0446
L
852 * sysdeps/i386/bits/setjmp.h: Removed.
853 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
854 * sysdeps/x86/bits/setjmp.h: This.
855
7dc00e0d
L
856 * sysdeps/i386/bits/mathdef.h: Removed.
857 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
858 * sysdeps/x86/bits/mathdef.h: This.
859
03277f8f
AS
8602012-05-30 Andreas Schwab <schwab@linux-m68k.org>
861
862 [BZ #14132]
863 * include/sys/socket.h (__connect_internal)
864 (__libc_sa_len_internal): Remove declaration.
865 (__connect, __libc_sa_len): Declare hidden_proto.
866 (SA_LEN): Remove use of INTUSE.
867 * socket/connect.c: Add libc_hidden_def.
868 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
869 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
870 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
871 alias.
872 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
873 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
874 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
875 of adding _internal alias.
876
13764867
L
8772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
878
879 [BZ #14117]
6bd97696
L
880 * sysdeps/i386/bits/link.h: Removed.
881 * sysdeps/i386/bits/linkmap.h: Likewise.
882 * sysdeps/x86_64/bits/link.h: Renamed to ...
883 * sysdeps/x86/bits/link.h: This.
884 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
885 * sysdeps/x86/bits/linkmap.h: This.
886
f726f0bb
L
887 * sysdeps/i386/bits/endian.h: Removed.
888 * sysdeps/x86_64/bits/endian.h: Renamed to ...
889 * sysdeps/x86/bits/endian.h: This.
890
13764867
L
891 * sysdeps/i386/bits/byteswap.h: Removed.
892 * sysdeps/i386/bits/byteswap-16.h: Likewise.
893 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
894 * sysdeps/x86/bits/byteswap.h: This.
895 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
896 * sysdeps/x86/bits/byteswap-16.h: This.
897 * sysdeps/i386/Implies: Add x86.
898 * sysdeps/x86_64/Implies: Likewise.
899
ae251b0b
DM
9002012-05-30 David S. Miller <davem@davemloft.net>
901
902 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
903 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
904 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
905 (FP_TRAPPING_EXCEPTIONS): Define.
906 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
907 (FP_TRAPPING_EXCEPTIONS): Define.
908 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
909 subnormals only when inexact has been signalled or underflow
910 exceptions are enabled.
911 (_FP_PACK_CANONICAL): Likewise.
912
d5c90867
L
9132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
914
915 [BZ #14183]
916 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
917 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
918
63f1549e
RH
9192012-05-30 Richard Henderson <rth@twiddle.net>
920
8d8f2279
RH
921 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
922 with #ifndef NOT_IN_libc.
923
63f1549e
RH
924 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
925 marked to avoid plt entry.
926
0ab0291b
L
9272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
928
929 [BZ #14112]
930 * Makeconfig (default-abi): New macro.
931 (abi-includes): Likewise.
932 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
933 $(abi-$(default-abi)-lib-soname) for soname if defined.
934 ($(common-objpfx)gnu/lib-names.stmp): Generate from
935 abi-variants.
936 * Makefile (installed-stubs): Likewise.
937 * include/stubs-biarch.h: Removed.
938 * scripts/lib-names.awk: Only handle one library at a time.
939 * scripts/soversions.awk: Remove WORDSIZE support.
940 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
941 entries.
942 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
943 Removed.
944 (syscall-list-default-condition): Likewise.
945 (syscall-list-default-condition): Likewise.
946 (syscall-list-includes): Likewise.
947 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
948 syscall-list-* with abi-*. Handle undefined abi-variants.
949 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
950 * sysdeps/unix/sysv/linux/i386/Implies: New file.
951 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
952 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
953 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
954 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
955 Removed.
956 (syscall-list-32-options): Likewise.
957 (syscall-list-32-condition): Likewise.
958 (syscall-list-64-options): Likewise.
959 (syscall-list-64-condition): Likewise.
960 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
961 macro.
962 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
963 Renamed to ...
964 (abi-*): This.
965 (abi-64-ld-soname): New macro.
966 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
967 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
968 Renamed to ...
969 (abi-*): This.
970 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
971 * sysdeps/x86_64/x32/shlib-versions: Likewise.
972
4da0431d
JM
9732012-05-30 Joseph Myers <joseph@codesourcery.com>
974
3a85279c
JM
975 * sysdeps/unix/sysv/linux/kernel-features.h
976 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
977 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
978 include <kernel-features.h>.
979 [!__NR_ftruncate64]: Remove conditional code.
980 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
981 [__NR_ftruncate64]: Make code unconditional.
982 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
983 * sysdeps/unix/sysv/linux/truncate64.c: Do not
984 include <kernel-features.h>.
985 [!__NR_ftruncate64]: Remove conditional code.
986 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
987 [__NR_ftruncate64]: Make code unconditional.
988 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
990 include <kernel-features.h>.
991 [!__NR_ftruncate64]: Remove conditional code.
992 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
993 [__NR_ftruncate64]: Make code unconditional.
994 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
996 include <kernel-features.h>.
997 [!__NR_ftruncate64]: Remove conditional code.
998 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
999 [__NR_ftruncate64]: Make code unconditional.
1000 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1001
4da0431d
JM
1002 * configure.in (libc_cv_fpie): Weaken to a compile test using
1003 LIBC_TRY_CC_OPTION.
1004 * configure: Regenerated.
1005
11ef492c
AK
10062012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1007
1008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1012 Refreshed.
1013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1019 Refreshed.
1020
d66ef399
DM
10212012-05-27 David S. Miller <davem@davemloft.net>
1022
1023 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1024 (___Q_zero): New.
1025 (__Q_simulate_exceptions): Return void. Change to simulate
1026 exceptions by writing into the %fsr.
1027 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1028 (__Qp_handle_exceptions): Likewise.
1029 (numbers): Delete.
1030 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1031 __Qp_handle_exceptions.
1032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1033 __Qp_handle_exceptions.
1034 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1035 as unused and give dummy FP_RND_NEAREST initializer.
1036 (FP_INHIBIT_RESULTS): Define.
1037 (___Q_simulate_exceptions): Update declaration.
1038 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1039 formatting.
1040 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1041 as unused and give dummy FP_RND_NEAREST initializer.
1042 (__Qp_handle_exceptions): Update declaration.
1043 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1044 formatting.
1045
04fb54b5
TS
10462012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1047
1048 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1049 the temporary FPU control word.
1050 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1051 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1052 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1053 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1054 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1055 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1056 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1057 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1058 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1059 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1060 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1061
3f99608f
KK
10622012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1063
1064 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1065 fields.
1066
65a4de4e
CLT
10672012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1068
1069 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1070 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1071 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1072 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1073 Likewise.
1074 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1075 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1076 Likewise.
1077
15749d40
UD
10782012-05-27 Ulrich Drepper <drepper@gmail.com>
1079
1080 * po/h.po: Update from translation team.
1081
25dbcb27
AS
10822012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1083
3d3f8e55
AS
1084 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1085
25dbcb27
AS
1086 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1087 handling of denormals.
1088 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1089 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1090 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1091 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1092 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1093 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1094 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1095 Likewise.
1096
7ad47a80 10972012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1098
1099 [BZ #14152]
1100 * math/libm-test.inc (fma_test): Don't always expect underflow
1101 exception.
1102
9c6ea9fa
SP
11032012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1104
1105 [BZ #12416]
1106 * elf/tst-execstack.c: Include stackinfo.h.
1107 (do_test): Adjust test case to ensure that pthread_getattr_np
1108 behaviour remains the same after marking stack executable.
1109
a8239222
JM
11102012-05-25 Joseph Myers <joseph@codesourcery.com>
1111
1112 * sysdeps/unix/sysv/linux/kernel-features.h
1113 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1114 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1115 kernel-features.h.
1116 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1117 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1118 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1119 kernel-features.h.
1120 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1121 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1122
918b5606
L
11232012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1124
1125 * configure.in: Define the default includes to being none.
1126 * configure: Regenerated.
1127
3a097cc7
RM
11282012-05-25 Roland McGrath <roland@hack.frob.com>
1129
8422c9a5
RM
1130 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1131 * sysdeps/x86_64/setjmp.S: Likewise.
1132 * sysdeps/i386/bsd-setjmp.S: Likewise.
1133 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1134 * sysdeps/i386/setjmp.S: Likewise.
1135 * sysdeps/i386/__longjmp.S: Likewise.
1136 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1137 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1138
3a097cc7
RM
1139 * include/stap-probe.h: New file.
1140 * configure.in: Handle --enable-systemtap.
1141 * configure: Regenerated.
1142 * config.h.in (USE_STAP_PROBE): New #undef.
1143 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1144 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1145 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1146
21708942
JM
11472012-05-25 Joseph Myers <joseph@codesourcery.com>
1148
1149 [BZ #13717]
1150 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1151 to 2.4.0 where earlier.
1152 * sysdeps/unix/sysv/linux/configure: Regenerated.
1153 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1154 <kernel-features.h>.
1155 [__ASSUME_32BITUIDS]: Make code unconditional.
1156 [!__ASSUME_32BITUIDS]: Remove conditional code.
1157 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1158 <kernel-features.h>.
1159 [__ASSUME_32BITUIDS]: Make code unconditional.
1160 [!__ASSUME_32BITUIDS]: Remove conditional code.
1161 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1162 [__ASSUME_32BITUIDS]: Make code unconditional.
1163 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1164 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1165 <kernel-features.h>.
1166 [__ASSUME_32BITUIDS]: Make code unconditional.
1167 [!__ASSUME_32BITUIDS]: Remove conditional code.
1168 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1169 <kernel-features.h>.
1170 [__ASSUME_32BITUIDS]: Make code unconditional.
1171 [!__ASSUME_32BITUIDS]: Remove conditional code.
1172 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1173 <kernel-features.h>.
1174 [__ASSUME_32BITUIDS]: Make code unconditional.
1175 [!__ASSUME_32BITUIDS]: Remove conditional code.
1176 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1177 <kernel-features.h>.
1178 [__ASSUME_32BITUIDS]: Make code unconditional.
1179 [!__ASSUME_32BITUIDS]: Remove conditional code.
1180 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1181 <kernel-features.h>.
1182 [__ASSUME_32BITUIDS]: Make code unconditional.
1183 [!__ASSUME_32BITUIDS]: Remove conditional code.
1184 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1185 <kernel-features.h>.
1186 [__ASSUME_32BITUIDS]: Make code unconditional.
1187 [!__ASSUME_32BITUIDS]: Remove conditional code.
1188 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1189 <kernel-features.h>.
1190 [__ASSUME_32BITUIDS]: Make code unconditional.
1191 [!__ASSUME_32BITUIDS]: Remove conditional code.
1192 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1193 <kernel-features.h>.
1194 [__ASSUME_32BITUIDS]: Make code unconditional.
1195 [!__ASSUME_32BITUIDS]: Remove conditional code.
1196 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1197 <kernel-features.h>.
1198 [__ASSUME_32BITUIDS]: Make code unconditional.
1199 [!__ASSUME_32BITUIDS]: Remove conditional code.
1200 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1201 <kernel-features.h>.
1202 [__ASSUME_32BITUIDS]: Make code unconditional.
1203 [!__ASSUME_32BITUIDS]: Remove conditional code.
1204 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1205 <kernel-features.h>.
1206 [__NR_setresgid] (__setresgid): Do not declare.
1207 [__ASSUME_32BITUIDS]: Make code unconditional.
1208 [!__ASSUME_32BITUIDS]: Remove conditional code.
1209 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1210 <kernel-features.h>.
1211 [__NR_setresuid] (__setresuid): Do not declare.
1212 [__ASSUME_32BITUIDS]: Make code unconditional.
1213 [!__ASSUME_32BITUIDS]: Remove conditional code.
1214 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1215 <kernel-features.h>.
1216 [__ASSUME_32BITUIDS]: Make code unconditional.
1217 [!__ASSUME_32BITUIDS]: Remove conditional code.
1218 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1219 <kernel-features.h>.
1220 [__ASSUME_32BITUIDS]: Make code unconditional.
1221 [!__ASSUME_32BITUIDS]: Remove conditional code.
1222 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1223 <kernel-features.h>.
1224 [__ASSUME_32BITUIDS]: Make code unconditional.
1225 [!__ASSUME_32BITUIDS]: Remove conditional code.
1226 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1227 <kernel-features.h>.
1228 [__ASSUME_32BITUIDS]: Make code unconditional.
1229 [!__ASSUME_32BITUIDS]: Remove conditional code.
1230 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1231 <kernel-features.h>.
1232 [__ASSUME_32BITUIDS]: Make code unconditional.
1233 [!__ASSUME_32BITUIDS]: Remove conditional code.
1234 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1235 <kernel-features.h>.
1236 [__ASSUME_32BITUIDS]: Make code unconditional.
1237 [!__ASSUME_32BITUIDS]: Remove conditional code.
1238 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1239 <kernel-features.h>.
1240 [__ASSUME_32BITUIDS]: Make code unconditional.
1241 [!__ASSUME_32BITUIDS]: Remove conditional code.
1242 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1243 <kernel-features.h>.
1244 [__ASSUME_32BITUIDS]: Make code unconditional.
1245 [!__ASSUME_32BITUIDS]: Remove conditional code.
1246 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1247 <kernel-features.h>.
1248 [__ASSUME_32BITUIDS]: Make code unconditional.
1249 [!__ASSUME_32BITUIDS]: Remove conditional code.
1250 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1251 <kernel-features.h>.
1252 [__ASSUME_32BITUIDS]: Make code unconditional.
1253 [!__ASSUME_32BITUIDS]: Remove conditional code.
1254 * sysdeps/unix/sysv/linux/kernel-features.h
1255 (__ASSUME_SETRESUID_SYSCALL): Remove.
1256 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1257 (__ASSUME_32BITUIDS): Likewise.
1258 (__ASSUME_LDT_WORKS): Likewise.
1259 (__ASSUME_O_DIRECTORY): Likewise.
1260 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1261 architecture but not kernel version.
1262 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1263 (__ASSUME_MMAP2_SYSCALL): Likewise.
1264 (__ASSUME_STAT64_SYSCALL): Likewise.
1265 (__ASSUME_IPC64): Likewise.
1266 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1267 <kernel-features.h>.
1268 [__ASSUME_32BITUIDS]: Make code unconditional.
1269 [!__ASSUME_32BITUIDS]: Remove conditional code.
1270 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1271 <kernel-features.h>.
1272 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1273 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1274 132096]: Remove conditional code.
1275 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1276 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1277 <kernel-features.h>.
1278 [__ASSUME_32BITUIDS]: Make code unconditional.
1279 [!__ASSUME_32BITUIDS]: Remove conditional code.
1280 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1281 <kernel-features.h>.
1282 [__ASSUME_32BITUIDS]: Make code unconditional.
1283 [!__ASSUME_32BITUIDS]: Remove conditional code.
1284 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1285 <kernel-features.h>.
1286 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1287 unconditional.
1288 (__setresgid): Do not declare.
1289 [__ASSUME_32BITUIDS]: Make code unconditional.
1290 [!__ASSUME_32BITUIDS]: Remove conditional code.
1291 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1292 <kernel-features.h>.
1293 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1294 unconditional.
1295 (__setresuid): Do not declare.
1296 [__ASSUME_32BITUIDS]: Make code unconditional.
1297 [!__ASSUME_32BITUIDS]: Remove conditional code.
1298 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1299 <kernel-features.h>.
1300 [__ASSUME_32BITUIDS]: Make code unconditional.
1301 [!__ASSUME_32BITUIDS]: Remove conditional code.
1302 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1303 <kernel-features.h>.
1304 [__ASSUME_32BITUIDS]: Make code unconditional.
1305 [!__ASSUME_32BITUIDS]: Remove conditional code.
1306
a386f1cc
RH
13072012-05-25 Richard Henderson <rth@twiddle.net>
1308
1309 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1310 dl_hwcap to ifunc resolver.
1311 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1312 elf_ifunc_invoke.
1313 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1314 dl_hwcap to ifunc resolver.
1315 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1316
b6550497
JM
13172012-05-24 Joseph Myers <joseph@codesourcery.com>
1318
1319 [BZ #14153]
1320 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1321 for |x| <= 2**-26, not 2**-57.
1322 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1323 exception.
1324
b0bc23a1
JL
13252012-05-24 Jeff Law <law@redhat.com>
1326
1327 * stdio-common/Makefile (tests): Add bug25.
1328 * stdio-common/bug25.c: New test.
1329
347c92e9
L
13302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1331
1332 [BZ #13576]
1333 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1334 multiple of MALLOC_ALIGNMENT in size.
1335 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1336
6bcc8b3f
JM
13372012-05-24 Joseph Myers <joseph@codesourcery.com>
1338
1339 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1340 Require >= 256.
1341 (FILENAME_MAX): Use macro-int-constant.
1342 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1343 (_IOFBF): Use macro-int-constant.
1344 (_IOLBF): Likewise.
1345 (_IONBF): Likewise.
1346 (SEEK_CUR): Likewise.
1347 (SEEK_END): Likewise.
1348 (SEEK_SET): Likewise.
1349 (TMP_MAX): Likewise.
1350 (EOF): Use macro-int-constant. Require < 0.
1351 (NULL): Use macro-constant. Require == 0.
1352 (stdin): Require type to be FILE *.
1353 (stdout): Likewise.
1354 (stderr): Likewise.
1355 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1356 macro-int-constant.
1357 (EXIT_SUCCESS): Likewise.
1358 (NULL): Use macro-constant. Require == 0.
1359 (RAND_MAX): Use macro-int-constant.
1360 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1361 [C99-based standards] (strtof): Require function.
1362 [C99-based standards] (strtold): Likewise.
1363 [C99-based standards] (strtoll): Likewise.
1364 [C99-based standards] (strtoull): Likewise.
1365 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1366 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1367 [ISO || ISO99 || ISO11] (math.h): Likewise.
1368 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1369 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1370 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1371
d18ea0c5
AS
13722012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1373
1374 [BZ #14132]
56d25bb8
AS
1375 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1376 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1377 * intl/dgettext.c (DCGETTEXT): Likewise.
1378 * intl/gettext.c (DCGETTEXT): Likewise.
1379 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1380 * posix/regex_internal.h (gettext): Likewise.
1381 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1382 Remove declaration.
1383 * include/argz.h (__argz_count_internal)
1384 (__argz_stringify_internal): Remove declaration.
1385 (__argz_count, __argz_stringify): Declare hidden proto.
1386 * intl/dcgettext.c: Remove use of INTDEF.
1387 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1388 * string/argz-stringify.c: Likewise.
1389 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1390 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1391 Declare hidden proto.
d18ea0c5
AS
1392 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1393 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1394 Declare hidden proto.
1395 * include/stdio.h (__asprintf_internal): Don't declare.
1396 (__asprintf): Don't define as macro. Declare hidden proto.
1397 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1398 (__fsetlocking): Declare hidden proto.
1399 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1400 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1401 hidden proto.
1402 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1403 (_IO_setlinebuf): Remove use of INTUSE.
1404 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1405 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1406 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1407 Remove declaration.
1408 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1409 (_IO_do_flush): Remove use of INTUSE.
1410 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1411 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1412 (_IO_adjust_column, _IO_least_wmarker)
1413 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1414 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1415 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1416 (_IO_default_doallocate, _IO_wdefault_doallocate)
1417 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1418 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1419 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1420 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1421 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1422 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1423 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1424 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1425 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1426 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1427 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1428 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1429 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1430 proto.
1431 (_IO_flush_all_internal, _IO_adjust_column_internal)
1432 (_IO_default_uflow_internal, _IO_default_finish_internal)
1433 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1434 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1435 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1436 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1437 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1438 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1439 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1440 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1441 (_IO_file_close_internal, _IO_file_close_it_internal)
1442 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1443 (_IO_file_init_internal, _IO_file_attach_internal)
1444 (_IO_file_fopen_internal, _IO_file_read_internal)
1445 (_IO_file_sync_internal, _IO_file_seek_internal)
1446 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1447 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1448 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1449 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1450 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1451 (_IO_list_all_internal, _IO_link_in_internal)
1452 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1453 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1454 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1455 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1456 (_IO_do_write_internal, _IO_padn_internal)
1457 (_IO_getline_info_internal, _IO_getline_internal)
1458 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1459 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1460 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1461 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1462 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1463 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1464 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1465 with libc_hidden_ver, remove use of INTUSE.
1466 * libio/genops.c: Likewise.
1467 * libio/freopen.c: Likewise.
1468 * libio/freopen64.c: Likewise.
1469 * libio/iofclose.c: Likewise.
1470 * libio/iofdopen.c: Likewise.
1471 * libio/iofflush.c: Likewise.
1472 * libio/iofflush_u.c: Likewise.
1473 * libio/iofgets.c: Likewise.
1474 * libio/iofgets_u.c: Likewise.
1475 * libio/iofopen.c: Likewise.
1476 * libio/iofopncook.c: Likewise.
1477 * libio/iofread.c: Likewise.
1478 * libio/iofread_u.c: Likewise.
1479 * libio/ioftell.c: Likewise.
1480 * libio/iofwrite.c: Likewise.
1481 * libio/iogetline.c: Likewise.
1482 * libio/iogets.c: Likewise.
1483 * libio/iogetwline.c: Likewise.
1484 * libio/iopadn.c: Likewise.
1485 * libio/iopopen.c: Likewise.
1486 * libio/ioseekoff.c: Likewise.
1487 * libio/ioseekpos.c: Likewise.
1488 * libio/iosetbuffer.c: Likewise.
1489 * libio/iosetvbuf.c: Likewise.
1490 * libio/ioungetc.c: Likewise.
1491 * libio/ioungetwc.c: Likewise.
1492 * libio/iovdprintf.c: Likewise.
1493 * libio/iovsprintf.c: Likewise.
1494 * libio/iovsscanf.c: Likewise.
1495 * libio/memstream.c: Likewise.
1496 * libio/obprintf.c: Likewise.
1497 * libio/oldfileops.c: Likewise.
1498 * libio/oldiofclose.c: Likewise.
1499 * libio/oldiofdopen.c: Likewise.
1500 * libio/oldiofopen.c: Likewise.
1501 * libio/oldiopopen.c: Likewise.
1502 * libio/oldstdfiles.c: Likewise.
1503 * libio/putc.c: Likewise.
1504 * libio/setbuf.c: Likewise.
1505 * libio/setlinebuf.c: Likewise.
1506 * libio/stdfiles.c: Likewise.
1507 * libio/strops.c: Likewise.
1508 * libio/vasprintf.c: Likewise.
1509 * libio/vscanf.c: Likewise.
1510 * libio/vsnprintf.c: Likewise.
1511 * libio/vswprintf.c: Likewise.
1512 * libio/wfiledoalloc.c: Likewise.
1513 * libio/wfileops.c: Likewise.
1514 * libio/wgenops.c: Likewise.
1515 * libio/wmemstream.c: Likewise.
1516 * libio/wstrops.c: Likewise.
1517 * libio/__fpurge.c: Likewise.
1518 * libio/__fsetlocking.c: Likewise.
1519 * assert/assert.c: Likewise.
1520 * debug/fgets_chk.c: Likewise.
1521 * debug/fgets_u_chk.c: Likewise.
1522 * debug/fread_chk.c: Likewise.
1523 * debug/fread_u_chk.c: Likewise.
1524 * debug/gets_chk.c: Likewise.
1525 * debug/obprintf_chk.c: Likewise.
1526 * debug/vasprintf_chk.c: Likewise.
1527 * debug/vdprintf_chk.c: Likewise.
1528 * debug/vsnprintf_chk.c: Likewise.
1529 * debug/vsprintf_chk.c: Likewise.
1530 * malloc/mtrace.c: Likewise.
1531 * misc/error.c: Likewise.
1532 * misc/syslog.c: Likewise.
1533 * stdio-common/asprintf.c: Likewise.
1534 * stdio-common/fxprintf.c: Likewise.
1535 * stdio-common/getw.c: Likewise.
1536 * stdio-common/isoc99_fscanf.c: Likewise.
1537 * stdio-common/isoc99_scanf.c: Likewise.
1538 * stdio-common/isoc99_vfscanf.c: Likewise.
1539 * stdio-common/isoc99_vscanf.c: Likewise.
1540 * stdio-common/isoc99_vsscanf.c: Likewise.
1541 * stdio-common/printf-prs.c: Likewise.
1542 * stdio-common/printf_fp.c: Likewise.
1543 * stdio-common/printf_fphex.c: Likewise.
1544 * stdio-common/printf_size.c: Likewise.
1545 * stdio-common/putw.c: Likewise.
1546 * stdio-common/scanf.c: Likewise.
1547 * stdio-common/sprintf.c: Likewise.
1548 * stdio-common/tmpfile.c: Likewise.
1549 * stdio-common/vfprintf.c: Likewise.
1550 * stdio-common/vfscanf.c: Likewise.
1551 * stdlib/strfmon_l.c: Likewise.
1552 * sunrpc/openchild.c: Likewise.
1553 * sunrpc/xdr_stdio.c: Likewise.
1554 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1555 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1556
d6c33fda
RM
15572012-05-24 Roland McGrath <roland@hack.frob.com>
1558
c1487492
RM
1559 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1560
1561 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1562 in the third column, to generate for the shared library an IFUNC
1563 that uses _dl_vdso_vsym.
1564 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1565 * Makeconfig (object-suffixes-noshared): New variable.
1566
1567 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1568 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1569 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1570 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1571
d6c33fda
RM
1572 [BZ #14132]
1573 * include/sys/time.h (__gettimeofday): Remove macro.
1574 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1575 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1576 Remove INTDEF.
1577 (__gettimeofday): Add libc_hidden_def.
1578 (gettimeofday): Add libc_hidden_weak.
1579 * sysdeps/mach/gettimeofday.c: Likewise.
1580 * sysdeps/posix/gettimeofday.c: Likewise.
1581 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1582 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1583 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1584 (__gettimeofday_internal): Remove strong_alias.
1585 (__gettimeofday): Add libc_hidden_def.
1586 (gettimeofday): Add libc_hidden_weak.
1587 * sysdeps/unix/syscalls.list (gettimeofday):
1588 Remove __gettimeofday_internal alias.
1589
b5a2bbe6
L
15902012-05-24 Daniel Jacobowitz <drow@false.org>
1591 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 [BZ #12495]
1594 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1595 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1596 (largebin_index_32_big): New.
1597 (largebin_index): Use it for 16-byte alignment.
1598 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1599 correction with front_misalign.
1600
cfba4fda
L
16012012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1602
7f907421
L
1603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1605 Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1607 Likewise.
1608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1609 Likewise.
1610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1611 Likewise.
1612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1613 Likewise.
1614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1615 Likewise.
1616 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1617 Likewise.
1618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1619 Likewise.
1620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1621 Likewise.
1622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1623 Likewise.
1624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1625 Likewise.
1626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1627 Likewise.
1628
cfba4fda
L
1629 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1630 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1631
80bad0cc
JM
16322012-05-24 Joseph Myers <joseph@codesourcery.com>
1633
7a25eb06
JM
1634 [BZ #10846]
1635 [BZ #14036]
1636 * math/libm-test.inc (exp_test): Add test from bug 14036.
1637 (pow_test): Add test from bug 10846.
1638
795405f9
JM
1639 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1640 and other flags.
1641 (special_function): Do not include flags in test name.
1642 (parse_args): Likewise.
1643 * sysdeps/i386/fpu/libm-test-ulps: Update.
1644 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1645 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1646 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1648
80bad0cc
JM
1649 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1650 exceptions.
1651 * math/libm-test.inc ("Philosophy"): Update comment about
1652 exception testing.
1653 (UNDERFLOW_EXCEPTION): New macro.
1654 (UNDERFLOW_EXCEPTION_OK): Likewise.
1655 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1656 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1657 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1658 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1659 (INVALID_EXCEPTION_OK): Update value.
1660 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1661 (OVERFLOW_EXCEPTION_OK): Likewise.
1662 (IGNORE_ZERO_INF_SIGN): Likewise.
1663 (test_exceptions): Handle underflow exceptions.
1664 (acos_test): Update for underflow exception expectations.
1665 (cexp_test): Likewise.
1666 (clog_test): Likewise.
1667 (clog10_test): Likewise.
1668 (csqrt_test): Likewise.
1669 (ctan_test): Likewise.
1670 (ctanh_test): Likewise.
1671 (exp_test): Likewise.
1672 (exp10_test): Likewise.
1673 (exp2_test): Likewise.
1674 (expm1_test): Likewise.
1675 (fma_test): Likewise.
1676 (j0_test): Likewise.
1677 (jn_test): Likewise.
1678 (nexttoward_test): Likewise.
1679 (pow_test): Likewise.
1680 (scalbn_test): Likewise.
1681 (scalbln_test): Likewise.
1682 (tan_test): Likewise.
1683 (y1_test): Likewise.
1684 * sysdeps/i386/fpu/libm-test-ulps: Update.
1685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1686
9e0e3d0b
DM
16872012-05-23 David S. Miller <davem@davemloft.net>
1688
1689 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1690 (__libc_sigaction): Remove unused local variables.
1691
ccd0a08f
L
16922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1693
1694 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1695
62bdf9a6
PE
16962012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1697
f8591f80
PE
1698 mktime: avoid signed integer overflow
1699 * time/mktime.c (__mktime_internal): Do not mishandle the case
1700 where diff == INT_MIN.
1701
94c7d826
PE
1702 mktime: simplify computation of average
1703 * time/mktime.c (ranged_convert): Use new time_t_avg function
1704 instead of rolling our own (probably-slower) code.
1705
ce73d683
PE
1706 mktime: do not assume signed right shift propagates sign bit
1707 * time/mktime.c (isdst_differ): New static function.
1708 (__mktime_internal): No need to normalize tm_isdst now.
1709 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1710 tm_isdst values.
1711
72a22e59
PE
1712 mktime: merge another wrapv change from gnulib
1713 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1714 from some compilers.
1715
68605433
PE
1716 mktime: remove incorrect attempt at unusual arithmetics
1717 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1718 The code didn't really work on such machines anyway.
1719 (TYPE_MINIMUM): Assume two's complement.
1720 (twos_complement_arithmetic): Verify that long_int and time_t
1721 are two's complement (or unsigned, in the latter case).
1722
03cf7fe3
PE
1723 mktime: check signed shifts on long_int and time_t, too
1724 * time/mktime.c (SHR): Check that shifts work as desired
1725 on the types long_int and time_t too, as SHR is used on
1726 such types.
1727
f04dfbc2
PE
1728 mktime: do not assume 'long' is wide enough
1729 * time/mktime.c (verify): Move decl up.
1730 (long_int): New type.
1731 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1732 to remove assumption in the code that 'long' is wide enough to
1733 store year values. This assumption is not true on x32 and on
1734 some non-glibc platforms.
1735
62bdf9a6
PE
1736 mktime: merge wrapv change from gnulib
1737 * time/mktime.c (WRAPV): New macro.
1738 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1739 (guess_time_tm, __mktime_internal): Do not assume that signed
1740 integer overflow wraps around; modern compilers generate code
1741 where this assumption is no longer valid.
1742
5e292e4f
L
17432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1744
1745 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1746 Replace "jmp L(pseudo_end)" with "ret".
1747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1748 Likewise.
1749
8caf8c87
AJ
17502012-05-23 Andreas Jaeger <aj@suse.de>
1751
1752 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1753 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1754
1a09dc56
AJ
17552012-05-23 Andreas Jaeger <aj@suse.de>
1756 Maximilian Attems <max@stro.at>
1757
1758 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1759 New macros.
1760
1c87aba0
L
17612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1762
1763 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1764 code so that pseudo_end is just ret and the stack pointer is
1765 correct also for static library in error case.
1766
40e45bd5
JM
17672012-05-23 Joseph Myers <joseph@codesourcery.com>
1768
c2670533
JM
1769 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1770 move to syscalls.list.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1775
40e45bd5
JM
1776 * manual/install.texi (Running make install): Do not mention Linux
1777 kernel version for which pt_chown is not needed.
1778 (Linux): Do not mention problems with nscd with 2.0 kernels.
1779 * INSTALL: Regenerated.
1780
be08eda5
AJ
17812012-05-23 Andreas Jaeger <aj@suse.de>
1782
1783 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1784 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1785 macro.
1786 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1787 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1788 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1789 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1790 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1791 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1792 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1793 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1794 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1795 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1796 * sysdeps/unix/sysv/linux/bits/in.h
1797 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1798
a6a056bb
RM
17992012-05-22 Roland McGrath <roland@hack.frob.com>
1800
1801 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1802 (PREPARE_VERSION): Just use assert instead, it will be elided
1803 under [NDEBUG] anyway.
1804
c9009328
L
18052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1806
1807 * sysdeps/unix/sysv/linux/Makefile: Include
1808 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1809 (sysdep_routines): Remove sysctl.
c9009328
L
1810 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1811 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1812 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1813 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1814 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1815
73338355
AJ
18162012-05-22 Andreas Jaeger <aj@suse.de>
1817
1818 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1819 that pseudo_end is just ret and the stack pointer is correct also
1820 for static library in error case.
1821
d44638b0
PP
18222012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1823
1824 [BZ #14122]
1825 * nss/nsswitch.c (defconfig_entries): New variable.
1826 (__nss_database_lookup): Don't leak defconfig entries.
1827 (nss_parse_service_list): Don't leak on error paths.
1828 (free_database_entries): New function.
1829 (free_defconfig): New function.
1830 (free_mem): Move common code to free_database_entries.
1831
31a39bd8
L
18322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1833
da0331a8
L
1834 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1835 Add arch_prctl.
1836 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1837
31a39bd8
L
1838 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1839 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1841 New macro.
1842 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1843 (INTERNAL_SYSCALL_TYPES): Likewise.
1844 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1845 (LOAD_REGS_TYPES_[1-6]): Likewise.
1846 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1847 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1848
45470df3
AZ
18492012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1850
1851 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1852 copysignl for GLIBC_2_0.
1853 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1854 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1855 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1856 logbl for GLIBC_2_0.
1857 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1858 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1859
98a61bcb
L
18602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1861
a4f6e481
L
1862 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1863 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1864
f63d5db6
L
1865 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1866 Use "neg %eax".
1867
98a61bcb
L
1868 * time/mktime.c: Update copyright years.
1869
95770f14
PE
18702012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1871
6226efbd
PE
1872 mktime: merge comment-quoting-style change from gnulib
1873 * time/mktime.c: Quote 'like this' in comments.
1874 The GNU coding standards suggest that we no longer quote `like this',
1875 as "`" and "'" are typically rendered asymmetrically nowadays.
1876 The typical gnulib style is to quote 'like this' when quoting
1877 code, and "like this" when quoting English.
1878
b99e4f78
PE
1879 * time/mktime.c (compile-command): Add "-I.".
1880
643e01e6
PE
1881 mktime: merge mktime-internal.h change from gnulib
1882 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1883
2554247d
PE
1884 mktime: merge time_r change from gnulib
1885 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1886
826dd0ab
PE
1887 mktime: merge DEBUG change from gnulib
1888 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1889 case system <time.h> has a #define.
1890
bd83aabe
PE
1891 mktime: merge <sys/types.h> change from gnulib
1892 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1893 since <time.t> is now guaranteed to define time_t.
1894
95770f14
PE
1895 mktime: merge HAVE_CONFIG_H change from gnulib
1896 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1897
5e1a27a9
L
18982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1899
0e44a77e
L
1900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1901 Use "neg %eax".
1902
5e1a27a9
L
1903 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1904 __rlim_t cast.
1905 (struct rusage): Use anonymous union to pad each field to
1906 __syscall_slong_t.
1907
46259bec
DM
19082012-05-21 David S. Miller <davem@davemloft.net>
1909
1910 * Makefules (o-iterator): Remove .s cases.
1911 (compile-command.s): Delete.
1912 (COMPILE.s): Delete.
1913 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1914
59f0c22e
JM
19152012-05-21 Joseph Myers <joseph@codesourcery.com>
1916
1917 * configure.in (libc_cv_predef_stack_protector): Only consider
1918 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1919 * configure: Regenerated.
1920
20c07380
L
19212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1922
bbb3154b
L
1923 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1924 New macro. Use R*LP on int and pointer.
1925 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1926 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1927 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1928 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1929
20c07380
L
1930 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1931 [__WORDSIZE_TIME64_COMPAT32] instead of
1932 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1933 (struct utmp): Likewise.
1934 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1935 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1936 Renamed to ...
1937 (__WORDSIZE_TIME64_COMPAT32): This.
1938 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1939 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1940 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1941 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1942 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1943 (__WORDSIZE_TIME64_COMPAT32): New macro.
1944
d8d1017e
AJ
19452012-05-21 Andreas Jaeger <aj@suse.de>
1946
1947 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1948 only if [SHARED]. Add prototype for __wcschr_ia32.
1949
6c7fb145
RM
19502012-05-21 Roland McGrath <roland@hack.frob.com>
1951
1952 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1953 of %rbp unmolested in the jmp_buf while mangling the low bits.
1954 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1955 unmolested high bits of %rbp while demangling the low bits.
1956 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1957
66274218
AJ
19582012-05-21 Andreas Jaeger <aj@suse.de>
1959
07c58f8f
AJ
1960 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1961 * sunrpc/svc_simple.c: Use it for registerrpc.
1962 * sunrpc/xcrypt.c: Use it for passwd2des.
1963
66274218
AJ
1964 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1965
61f65140
L
19662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1967
1968 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1969 Don't define if [__SYSCALL_WORDSIZE != 32].
1970 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1971 New macro.
1972
5fefb436
AJ
19732012-05-21 Bruno Haible <bruno@clisp.org>
1974 Andreas Jaeger <aj@suse.de>
1975
1976 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1977 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1978 inptr and inend for must_buffer_ch.
1979 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1980 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1981 * stdio-common/Makefile (tests): Remove bug15.
1982 (bug15-ENV): Remove macro.
1983 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1984 anymore.
1985
d8e272ab
AJ
19862012-05-19 Andreas Jaeger <aj@suse.de>
1987 Roland McGrath <roland@hack.frob.com>
1988
1989 * manual/contrib.texi: Completely rewritten. It contains now an
1990 alphabetical list of contributors and their contributions.
1991
4a56a162
RH
19922012-05-21 Richard Henderson <rth@twiddle.net>
1993
1994 * misc/getauxval.c (__getauxval): Use unsigned long int.
1995 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1996 (getauxval): Use unsigned long int.
1997
d024d23c
L
19982012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1999
2000 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2001
cbc00a03
RM
20022012-05-21 Roland McGrath <roland@hack.frob.com>
2003
2004 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2005 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2006 __alignof__ (long double).
2007
478143fa
AZ
20082012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2009
2010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2011
c7683a6d
RH
20122012-05-20 Richard Henderson <rth@twiddle.net>
2013
2014 * misc/getauxval.c: New file.
2015 * misc/sys/auxv.h: New file.
2016 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2017 (routines): Add getauxval.
2018 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2019 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2020 * elf/dl-sysdep.c (_dl_auxv): Remove.
2021 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2022 * elf/dl-support.c (_dl_auxv): New variable.
2023 (_dl_aux_init): Initialize it.
2024 * manual/startup.texi (Auxiliary Vector): New node.
2025 * sysdeps/generic/bits/hwcap.h: New file.
2026 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2027 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2028 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2029 * sysdeps/sparc/sysdep.h: ... here. Include it.
2030 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2031 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2033 Update.
c7683a6d
RH
2034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2037 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2042
a6f1845d
AZ
20432012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2044
2045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2046
cbcbe830
DM
20472012-05-19 David S. Miller <davem@davemloft.net>
2048
2049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2050
e0b16cc2
JM
20512012-05-19 Joseph Myers <joseph@codesourcery.com>
2052
2053 [BZ #14123]
2054 * math/s_ccosh.c: Include <float.h>
2055 (__ccosh): Avoid internal overflow calculating sinh and cosh
2056 values before multiplying by sin and cos values.
2057 * math/s_ccoshf.c: Likewise.
2058 * math/s_ccoshl.c: Likewise.
2059 * math/s_csin.c: Likewise.
2060 * math/s_csinf.c: Likewise.
2061 * math/s_csinl.c: Likewise.
2062 * math/s_csinh.c: Likewise.
2063 * math/s_csinhf.c: Likewise.
2064 * math/s_csinhl.c: Likewise.
2065 * math/libm-test.inc (ccos_test): Add more tests.
2066 (ccosh_test): Likewise.
2067 (csin_test): Likewise.
2068 (csinh_test): Likewise.
2069 * sysdeps/i386/fpu/libm-test-ulps: Update.
2070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2071
6ad13e08
L
20722012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2073
f66f0ce8
L
2074 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2075 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2076
6ad13e08
L
2077 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2078
b1d072a7
JM
20792012-05-19 Joseph Myers <joseph@codesourcery.com>
2080
2081 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2082 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2083 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2084 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2085 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2086 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2087 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2088 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2089 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2090 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2091 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2092 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2093 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2094 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2095 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2096 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2097 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2098 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2099 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2100 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2101 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2102 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2103 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2104 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2105 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2106 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2107 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2108 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2109 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2110 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2111 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2112
9eae47cb
AJ
21132012-05-18 Andreas Jaeger <aj@suse.de>
2114
2115 * csu/.gitignore: Delete.
2116
bb07f69f
L
21172012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2118
2119 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2120 (timex): Use __syscall_slong_t.
2121
e6bdb741
AJ
21222012-05-18 Andreas Jaeger <aj@suse.de>
2123 Carlos O'Donell <carlos_odonell@mentor.com>
2124
2125 * manual/install.texi (Configuring and compiling): Update
2126 description about files modified in the source directory.
d6c33fda 2127 * INSTALL: Regenerated.
e6bdb741 2128
1b74487e
L
21292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2130
2131 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2132 value. Use "or" to set return value to -1.
2133 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2134 negate return value.
2135
a88b64b9
TMQMF
21362012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2137
2138 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2139 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2140 failure if the compiler has Graphite support disabled.
2141 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2142 Likewise.
2143 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2144 CFLAGS-memmove.c): Likewise.
2145 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2146 Likewise.
2147
3707636e
L
21482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2149
610b8622
L
2150 * sysdeps/x86_64/x32/_itoa.h: New file.
2151
7cd195df
L
2152 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2153 getdents system call only if kernel and user dirents have the
2154 same d_ino and d_off.
2155
94b07d20
L
2156 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2157 LLONG_MAX != LONG_MAX.
2158 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2159 (_fitoa_word): Likewise.
2160
18298070
L
2161 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2162 years.
2163 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2164 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2165 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2166
553c7ea4
L
2167 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2168 include <bits/wordsize.h>. Check __x86_64__ instead of
2169 __WORDSIZE.
2170 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2171 if __x86_64__ is defined. Use anonymous union on fpstate.
2172
3707636e
L
2173 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2174 anonymous union.
2175
b53ef01a
AS
21762012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2177
37fb1dc0
AS
2178 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2179 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2180 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2181 Refer to _rtld_local_ro instead of _rtld_global_ro.
2182 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2183 Likewise.
2184 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2185 Likewise.
2186 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2187 Likewise.
2188 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2189 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2190 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2191
b53ef01a
AS
2192 * sysdeps/powerpc/powerpc32/dl-machine.c
2193 (__elf_machine_runtime_setup) [PROF]: Don't reference
2194 _dl_prof_resolve.
2195
7a185db2
AJ
21962012-05-18 Andreas Jaeger <aj@suse.de>
2197
2198 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2199 function only available for GCCs before 3.4 since GCC 3.4
2200 introduced a builtin.
2201 (lrint): Likewise.
2202 (llrintf): Likewise.
2203 (llrint): Likewise.
2204 (fmaxf): Likewise.
2205 (fmax): Likewise.
2206 (fminf): Likewise.
2207 (fmin): Likewise.
2208 (rint): Likewise.
2209 (rintf): Likewise.
2210 (nearbyint): Likewise.
2211 (nearbyintf): Likewise.
2212 (ceil): Likewise.
2213 (ceilf): Likewise.
2214 (floor): Likewise.
2215 (floorf): Likewise.
2216
3e5aef87
L
22172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2218
428bd707
L
2219 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2220 on both fields and cast pointer to __syscall_ulong_t.
2221
3e5aef87
L
2222 * bits/types.h (__fsword_t): New type.
2223 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2224 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2226 (__FSWORD_T_TYPE): Likewise.
2227 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2228 (__FSWORD_T_TYPE): Likewise.
2229 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2230 (__FSWORD_T_TYPE): Likewise.
2231 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2232 (__FSWORD_T_TYPE): Likewise.
2233 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2234 __SWORD_TYPE with __fsword_t.
2235 (statfs64): Likewise.
2236
1ba7c3dc
DM
22372012-05-17 David S. Miller <davem@davemloft.net>
2238
2239 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2240
59910343
AJ
22412012-05-17 Andreas Jaeger <aj@suse.de>
2242
2243 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2244 warning.
2245
2e4c1e9e
L
22462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2247
2248 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2249
de7f5ce7
AJ
22502012-05-17 Andreas Jaeger <aj@suse.de>
2251
2252 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2253 when it is used.
2254
286abc3d
CM
22552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2256
2257 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2258
477cc68e
L
22592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2260
2261 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2262 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2263
1a0994f5
CD
22642012-05-17 Andreas Jaeger <aj@suse.de>
2265 Carlos O'Donell <carlos_odonell@mentor.com>
2266
2267 [BZ #14059]
2268 * sysdeps/x86_64/multiarch/init-arch.h
2269 (bit_YMM_Usable): Rename to...
2270 (bit_AVX_Usable): ... this.
2271 (bit_FMA4_Usable): New macro.
2272 (bit_XMM_state): New macro.
2273 (bit_YMM_state): New macro.
2274 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2275 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2276 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2277 (CPUID_OSXSAVE): New macro.
2278 (CPUID_AVX): New macro.
2279 (CPUID_FMA4): New macro.
2280 (index_YMM_Usable): Rename to...
2281 (index_AVX_Usable): ... this.
2282 (HAS_AVX): Use HAS_ARCH_FEATURE.
2283 (HAS_FMA4): Likewise.
2284 (HAS_YMM_USABLE): Remove.
2285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2286 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2287 are present.
2288 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2289 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2290 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2291 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2292 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2293
0af797de
CM
22942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2295
2296 * math/libm-test.c: Support platforms without multiple rounding modes.
2297 * math/bug-nextafter.c: Support platforms without FP exceptions.
2298 * math/bug-nexttoward.c: Likewise.
2299 * math/test-fenv.c: Likewise.
2300 * math/test-misc.c: Likewise.
2301 * stdlib/bug-getcontext.c: Likewise.
2302
e39745ff
AJ
23032012-05-17 Andreas Jaeger <aj@suse.de>
2304
2305 * manual/examples/search.c (critter_cmp): Change signature to
2306 avoid warnings.
2307 * manual/string.texi (Collation Functions): Likewise.
2308
48970aba
L
23092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2310
2311 * bits/types.h: Fold copyright years.
2312 * bits/typesizes.h: Likewise.
2313 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2314 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2316 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2317 * time/time.h: Likewise.
2318
bedee953
PP
23192012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2320
2321 [BZ #208]
2322 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2323 in instead of returning them. Return void.
2324 (__libc_mallinfo): Accumulate over all arenas.
2325 (__malloc_stats): Adjust for change in int_mallinfo interface.
2326
61653dfb
RM
23272012-05-16 Roland McGrath <roland@hack.frob.com>
2328
30b99d79
RM
2329 [BZ #10375]
2330 * configure.in (NM): Add AC_CHECK_TOOL for it.
2331 (libc_extra_cflags): New substituted variable.
2332 Check for -fstack-protector being used implicitly.
2333 * configure: Regenerated.
2334 * config.make.in (config-extra-cflags): New variable,
2335 gets @libc_extra_cflags@.
2336 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2337
61653dfb
RM
2338 [BZ #10375]
2339 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2340 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2341 * configure: Regenerated.
2342 * config.make.in (CPPUNDEFS): New substituted variable.
2343 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2344 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2345 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2346
661768bb
L
23472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2348
2349 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2350 (mq_attr): Use __syscall_slong_t.
2351
d4261567
L
23522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2353
2354 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2355 Check __x86_64__ instead of __WORDSIZE.
2356 (_STAT_VER_LINUX): Likewise.
2357 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2358 __syscall_ulong_t and __syscall_slong_t.
2359 (stat64): Likewise.
2360
cf3ff365
L
23612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2362
2363 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2364
76cf3e4d
L
23652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2366
2367 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2368
a637753a
L
23692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2370
2371 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2372 __syscall_ulong_t.
2373
d5e05119
L
2374 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2375 include <bits/wordsize.h>. Check __x86_64__ instead of
2376 __WORDSIZE.
2377 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2378 defined.
2379 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2380
f62ee380
L
2381 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2382 include <bits/wordsize.h>. Check __x86_64__ instead of
2383 __WORDSIZE.
2384 (user_regs_struct): Use "__extension__ unsigned long long"
2385 instead of "unsigned long" if __x86_64__ is defined.
2386 (user): Likewise. Pad after pointer field if __ILP32__ is
2387 defined.
2388
4e124ced
JM
23892012-05-16 Joseph Myers <joseph@codesourcery.com>
2390
6a3951a0
JM
2391 * configure.in (makeinfo): Require version 4.5 or later. Allow
2392 versions 5 to 9.
2393 * configure: Regenerated.
2394 * manual/install.texi (texinfo): Increase version requirement to
2395 4.5 or later.
2396 * INSTALL: Regenerated.
2397
4e124ced
JM
2398 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2399
953ca31a
L
24002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2403
617aca05
L
2404 * sysdeps/x86_64/x32/ffs.c: New file.
2405
5762f7ae
L
2406 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2407 __syscall_ulong_t.
2408 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2409 defined. Use __syscall_ulong_t.
2410 (shminfo): Use __syscall_ulong_t.
2411 (shm_info): Likewise.
2412
a26b6856
L
2413 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2414 __syscall_ulong_t.
2415
cb2b9ef7
L
2416 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2417 <bits/wordsize.h>.
2418 (msgqnum_t): Use __syscall_ulong_t.
2419 (msglen_t): Likewise.
2420 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2421 __syscall_ulong_t.
2422
34683bb0
L
2423 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2424 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2425
84a68786
L
2426 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2427
48baa5f1
L
2428 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2429 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2430
180be88b
L
2431 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2432 __syscall_slong_t.
2433
5e90c8ad
L
2434 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2435 include <bits/wordsize.h>. Check __x86_64__ instead of
2436 __WORDSIZE.
2437
23dfb58b
L
2438 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2439 "unsigned long long int" if __x86_64__ is defined.
2440 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2441
ce5d54b0
L
2442 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2443 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2444 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2445
13dc9eac
L
2446 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2447 <stdint.h>.
2448 (GET_PC): Cast to uintptr_t first.
2449 (GET_FRAME): Likewise.
2450 (GET_STACK): Likewise.
2451
a7895d15
L
2452 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2453 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2454 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2455 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2456 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2457 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2458 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2459 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2460 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2461 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2462 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2463 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2464 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2465 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2466 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2467 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2468 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2469 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2470 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2471 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2472 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2473 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2474 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2475 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2476 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2477 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2478 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2479 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2480 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2481
656416c9
AS
24822012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2483
5bd66283
AS
2484 * Makerules (+depfiles): Also collect depfiles from .oS in
2485 $(extra-objs).
2486 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2487 .oS, $(libnldbl-routines)).
2488
656416c9
AS
2489 * Makerules (native-compile-mkdep-flags): Define.
2490 * sunrpc/Makefile (extra-objs): Add $(addprefix
2491 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2492 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2493 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2494 calling $(make-target-directory).
2495
a46f2169
L
24962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2497
2498 * bits/types.h (__snseconds_t): Removed.
2499 * time/time.h (struct timespec): Replace __snseconds_t with
2500 __syscall_slong_t.
2501 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2502 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2503 Likewise.
2504 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2505 (__SNSECONDS_T_TYPE): Likewise.
2506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2507 (__SNSECONDS_T_TYPE): Likewise.
2508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2509 (__SNSECONDS_T_TYPE): Likewise.
2510
6af6528b
L
25112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2512
2513 * sysdeps/mach/hurd/bits/typesizes.h
2514 (__SYSCALL_SLONG_TYPE): New macro.
2515 (__SYSCALL_ULONG_TYPE): Likewise.
2516
de986b56
L
25172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2518
2519 * bits/types.h (__syscall_slong_t): New type.
2520 (__syscall_ulong_t): Likewise.
2521
2522 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2523 (__SYSCALL_ULONG_TYPE): Likewise.
2524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2525 (__SYSCALL_SLONG_TYPE): Likewise.
2526 (__SYSCALL_ULONG_TYPE): Likewise.
2527 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2528 (__SYSCALL_SLONG_TYPE): Likewise.
2529 (__SYSCALL_ULONG_TYPE): Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2531 (__SYSCALL_SLONG_TYPE): Likewise.
2532 (__SYSCALL_ULONG_TYPE): Likewise.
2533
85736dc7
L
25342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2535
2536 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2537 Add sigaltstack-offsets.sym.
2538 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2539 <sigaltstack-offsets.h>.
2540 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2541 longjmp_msg pointer.
2542 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2543 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2544 signal stack.
2545 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2546
cc03b296
JM
25472012-05-15 Joseph Myers <joseph@codesourcery.com>
2548
a9538892
JM
2549 * elf/stackguard-macros.h: Remove file.
2550 * sysdeps/generic/stackguard-macros.h: New file.
2551 * sysdeps/i386/stackguard-macros.h: Likewise.
2552 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2553 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2554 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2555 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2556 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2557 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2558 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2559 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2560 <elf/stackguard-macros.h>.
2561
cc03b296
JM
2562 [BZ #14109]
2563 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2564 __aligned__ in attribute.
2565 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2566 (gregset_t): Likewise.
2567
93171016
L
25682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2569
2570 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2571 * sysdeps/x86_64/64/Implies-after: Here. New file.
2572 * sysdeps/x86_64/x32/Implies-after: New file.
2573
d86813a0
L
25742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2575
2576 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2577 and access return value for _dl_profile_fixup. Use R10_LP to
2578 load frame size.
2579
2953ec75
L
25802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2581
2582 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2583
3b550e9e
L
25842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2585
2586 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2587 * sysdeps/x86_64/x32/sysdep.h: New file.
2588
eda41706
L
25892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2590
2591 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2592 * sysdeps/x86_64/setjmp.S: Likewise.
2593
9ea01d93
AZ
25942012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2595
2596 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2597 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2598 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2599 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2600 remove unused global constant.
2601
02a91938
CM
26022012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2603
2604 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2605 include of <not-cancel.h>.
2606
6540185f
RM
26072012-05-15 Roland McGrath <roland@hack.frob.com>
2608
2609 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2610
509072a0
AJ
26112012-05-15 Jeff Law <law@redhat.com>
2612 Andreas Jaeger <aj@suse.de>
2613
2614 [BZ #13594]
2615 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2616 out from...
2617 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2618 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2619 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2620 code changing __hst_map_handle.map.
2621
ba75122d
RM
26222012-05-15 Roland McGrath <roland@hack.frob.com>
2623
2624 * configure.in (sysnames): Look for Implies-before and Implies-after
2625 files.
2626 * configure: Regenerated.
2627
890d8bd8
L
26282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2629
2630 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2631 8-byte data alignment with LP_SIZE alignment.
2632
f6ee6623
L
26332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2634
2635 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2636 into R10_LP.
2637
ea2626f6
L
26382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2641
085f715e
L
26422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2643
2644 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2645 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2646 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2647 Likewise.
2648 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2649
be8498fc
L
26502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2651
2652 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2653 (stackinfo_sub_sp): Likewise.
2654
70bc83b9
L
26552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2656
2657 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2658 RAX_LP.
2659
9bc0b730
L
26602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2661
2662 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2663 into R*_LP.
2664
6d2850e7
L
26652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2666
2667 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2668 sizes into R*_LP.
2669
3cb84561
L
26702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2671
2672 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2673
54e2ed81
L
26742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2675
2676 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2677 into R11_LP and load __x86_64_shared_cache_size_half into
2678 R8_LP.
2679
8a17f349
L
26802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2681
2682 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2683 R8_LP.
2684
777b1eea
AZ
26852012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2686
2687 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2688 logb for POWER7.
2689 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2690 logbf for POWER7.
2691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2692 logbl for POWER7.
2693 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2694 powerpc32/power7/fpu/s_logb.c via #include.
2695 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2696 powerpc32/power7/fpu/s_logbf.c via #include.
2697 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2698 powerpc32/power7/fpu/s_logbl.c via #include.
2699
d20d4ac2
JM
27002012-05-15 Joseph Myers <joseph@codesourcery.com>
2701
2702 * README.libm: Remove file.
2703
6cdef1ab
L
27042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2705
2706 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2707 count for x32. Use R*_LP and omit operand-size suffix.
2708
0b254d8f
L
27092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2710
2711 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2712 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2713 * sysdeps/x86_64/x32/shlib-versions: New file.
2714
ceb809dc
RM
27152012-05-14 Roland McGrath <roland@hack.frob.com>
2716
2717 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2718 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2719 Use _dl_fatal_printf instead.
2720
37f1abd4
JM
27212012-05-14 Joseph Myers <joseph@codesourcery.com>
2722
2723 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2724 set if not set by the user. Do not allow for being unset.
2725 * sysdeps/unix/sysv/linux/configure: Regenerated.
2726
11de3a33
L
27272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2730 the `q' suffix from lea and replace .quad with ASM_ADDR.
2731
e02f153a
L
27322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2733
2734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2735 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2736 instead of $17.
2737 (PTR_DEMANGLE): Likewise.
2738
520ae0fd
L
27392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2740
2741 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2742 (LP_OP): Likewise.
2743 (ASM_ADDR): Likewise.
2744 (RAX_LP): Likewise.
2745 (RBP_LP): Likewise.
2746 (RBX_LP): Likewise.
2747 (RCX_LP): Likewise.
2748 (RDI_LP): Likewise.
2749 (RSI_LP): Likewise.
2750 (RSP_LP): Likewise.
2751 (R8_LP): Likewise.
2752 (R9_LP): Likewise.
2753 (R10_LP): Likewise.
2754 (R10_LP): Likewise.
2755 (R11_LP): Likewise.
2756 (R12_LP): Likewise.
2757 (R13_LP): Likewise.
2758 (R14_LP): Likewise.
2759 (R15_LP): Likewise.
2760
b985be81
L
27612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2762
2763 * sysdeps/x86_64/x32/dl-machine.h: New file.
2764
6a4888ff
AJ
27652012-05-14 Andreas Jaeger <aj@suse.de>
2766
2767 * manual/Makefile (subdir): Remove export of subdir.
2768 (all): Remove target.
2769 (.PHONY): Remove all from list.
2770 (mkinstalldirs): Remove.
2771 (.PHONY): Remove installdirs from list.
2772 ($(inst_infodir)/libc.info): Use make-target-directory.
2773 (installdirs): Remove.
2774 (subdir_%): Remove.
2775 (glibc-targets): Remove.
2776 (lib): Remove.
2777 (stubs): Remove.
2778 ($(objpfx)stubs ../po/manual.pot): Remove.
2779 ($(objpfx)stamp%): Remove.
2780 (make-target-directory): Remove.
2781 (subdir_install): Remove.
2782 (routines): Remove.
2783 (aux): Remove.
2784 (sources): Remove.
2785 (objects): Remove.
2786 (headers): Remove.
2787
2788 [BZ #13750]
2789 * manual/.gitignore: Remove, it's not needed anymore.
2790 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2791 all files in it.
2792 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2793 directory.
2794 (texis): Renamed to $(objpfx)texis.
2795 (texis-path): New, contains path to generated files.
2796 (chapters.%): Use texis-path for complete path, add extra argument
2797 libc-texinfo.sh.
2798 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2799 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2800 (summary,texi, stamp-summary): Use complete path of
2801 files. Generate files in build dir.
2802 (dir-add.texi): Build in build dir.
2803 (libm-err.texi,stamp-libm-err): Likewise.
2804 (version.texi, stamp-version): Likewise.
2805 (.%c.texi): Likewise.
2806 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2807 (mostlyclean): Remove target.
2808 (realclean): Remove target.
2809 (generated): Add new variable with contents from mostlyclean and
2810 realclean, remove entries duplicated in common-mostlyclean, add
2811 stamp-libm-err and stamp-version.
2812 (generated-dirs): Add libc directory.
2813 ($(inst_infodir)/libc.info): Install files from build dir.
2814
2815 * manual/install.texi (Configuring and compiling): Adjust since
2816 the info files are not part of the tar ball anymore.
2817
7ac77294
AJ
28182012-05-14 Andreas Jaeger <aj@suse.de>
2819
2820 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2821 variable.
2822
ffb7875d
JM
28232012-05-14 Joseph Myers <joseph@codesourcery.com>
2824
2825 [BZ #13717]
2826 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2827 to 2.2.0 where earlier.
2828 * sysdeps/unix/sysv/linux/configure: Regenerated.
2829 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2830 Remove conditional code.
2831 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2832 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2833 Remove conditional code.
2834 [!__NR_lchown]: Likewise.
2835 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2836 [__NR_lchown]: Likewise.
2837 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2838 comment referencing __ASSUME_LCHOWN_SYSCALL.
2839 * sysdeps/unix/sysv/linux/i386/sigaction.c
2840 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2841 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2842 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2843 Remove conditional code.
2844 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2845 (__protocol_available): Remove #if 0 code.
2846 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2847 conditional code.
2848 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2849 * sysdeps/unix/sysv/linux/kernel-features.h
2850 (__ASSUME_GETCWD_SYSCALL): Don't define.
2851 (__ASSUME_REALTIME_SIGNALS): Likewise.
2852 (__ASSUME_PREAD_SYSCALL): Likewise.
2853 (__ASSUME_PWRITE_SYSCALL): Likewise.
2854 (__ASSUME_POLL_SYSCALL): Likewise.
2855 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2856 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2857 non-SPARC.
2858 (__ASSUME_SIOCGIFNAME): Don't define.
2859 (__ASSUME_MSG_NOSIGNAL): Likewise.
2860 (__ASSUME_SENDFILE): Define unconditionally.
2861 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2862 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2863 conditional code.
2864 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2865 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2866 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2867 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2868 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2869 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2870 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2872 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2873 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2875 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2878 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2879 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2881 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2884 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2885 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2887 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2888 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2890 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2891 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2893 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2894 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2895 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2896 Remove conditional code.
2897 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2898 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2899 Remove conditional code.
2900 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2901 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2902 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2903 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2904 Remove conditional code.
2905 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2906 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2907 Remove conditional code.
2908 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2909 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2910 Remove conditional code.
2911 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2912 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2913 Remove conditional code.
2914 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2915 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2916 Remove conditional code.
2917 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2918 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2919 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2920 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2921 * sysdeps/unix/sysv/linux/sigaction.c
2922 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2923 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2924 * sysdeps/unix/sysv/linux/sigpending.c
2925 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2926 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2927 * sysdeps/unix/sysv/linux/sigprocmask.c
2928 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2929 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2930 * sysdeps/unix/sysv/linux/sigsuspend.c
2931 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2932 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2933 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2934 (__libc_missing_rt_sigs): Remove.
2935 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2936 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2937 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2938 Remove conditional code.
2939 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2940 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2941 return 1.
2942 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2943 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2944 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2945 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2946
1bfb7291
AJ
29472012-05-14 Andreas Jaeger <aj@suse.de>
2948
caae5a81
AJ
2949 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2950 it's not used in glibc.
2951 (__coshm1): Likewise.
2952 (__acosh1p): Likewise.
2953 (__sgn): Likewise.
2954
1bfb7291
AJ
2955 * manual/string.texi (Copying and Concatenation): Add missing
2956 variable in concat example.
2957 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2958
c044d724
L
29592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2960
144c5467 2961 [BZ #14103]
c044d724
L
2962 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2963 __builtin_clzl with __builtin_clzll.
2964
2523c62b
L
29652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2966
2967 [BZ #14104]
2968 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2969 libc_freeres_ptr.
2970
d7bb4c42
LD
29712012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2972
2973 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2974 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2975 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2976 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2977
9dc4e1fb
MF
29782012-05-14 Mike Frysinger <vapier@gentoo.org>
2979
2980 * NEWS: Update ia64 info.
2981
c7df0112
AS
29822012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2983
2984 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2985 used as bcopy.
2986
dc70356c
TS
29872012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2988
2989 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2990 * sysdeps/unix/syscalls.list (dup3): Likewise.
2991 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2992 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2993
9fb1a21f
L
29942012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2995
2996 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2997 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2998
4822a2a5
L
29992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3000
3001 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3002 thread pointer.
3003 (TLS_IE): Use mov/add instead of movq/addq to load thread
3004 pointer.
3005 (TLS_GD_PREFIX): New.
3006 (TLS_GD): Use it.
3007
842b81d6
DM
30082012-05-11 David S. Miller <davem@davemloft.net>
3009
3010 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3011 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3012 (_FPU_SETCW): Likewise.
3013
1cf463cd
L
30142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3015
3016 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3017 is 32-byte aligned.
3018
60cc4a18
AS
30192012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3020
3021 [BZ #11837]
3022 * iconvdata/gb18030.c: Update tables.
3023 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3024 characters specially.
3025 (BODY for TO_LOOP): Add encoding of missing ranges.
3026
febb44a4
TS
30272012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3028
3029 [BZ #13673]
3030 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3031 * sysdeps/mach/hurd/dup3.c: Likewise.
3032 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3033 * sysdeps/powerpc/memmove.c:: Likewise.
3034
0a10fb9e
L
30352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3036
3037 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3038 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3039
df8a552f
L
30402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3041
3042 * elf/elf.h (R_X86_64_RELATIVE64): New.
3043 (R_X86_64_NUM): Updated.
3044 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3045 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3046 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3047 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3048 tst-quad1pie tst-quad2pie
3049 (modules-names): Add tst-quadmod1 tst-quadmod2.
3050 ($(objpfx)tst-quad1): New dependency.
3051 ($(objpfx)tst-quad2): Likewise.
3052 ($(objpfx)tst-quad1pie): Likewise.
3053 ($(objpfx)tst-quad2pie): Likewise.
3054 * sysdeps/x86_64/tst-quad1.c: New file.
3055 * sysdeps/x86_64/tst-quad1pie.c: New file.
3056 * sysdeps/x86_64/tst-quad2.c: Likewise.
3057 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3058 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3059 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3060 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3061 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3062
f34d6f84
ST
30632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3064
f42d41d1
ST
3065 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3066 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3067 * streams/stropts.h (t_scalar_t): Define type.
3068
3c3571fc
ST
3069 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3070 (_PATH_PRESERVE): Set to "/var/lib".
3071 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3072
61f06bd3
ST
3073 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3074 instead of int.
3075
918d4d71
ST
3076 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3077 if __dir_mkfile succeeded.
3078
f34d6f84
ST
3079 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3080 checking for _hurd_dtablesize. Unlock it right after having
3081 finished _hurd_dtable allocation.
3082
10589b4a
TS
30832012-05-10 Thomas Schwinge <thomas@schwinge.name>
3084
674cdbc7
TS
3085 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3086 * sysdeps/mach/hurd/configure: Regenerated.
3087 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3088 special-casing to...
3089 * sysdeps/gnu/configure.in: ... this new file.
3090 * sysdeps/unix/sysv/linux/configure: Regenerated.
3091 * sysdeps/gnu/configure: New generated file.
3092
8e41b99f
TS
3093 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3094 for Linux: use nsec instead of usec, as well as:
3095 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3096 members of type struct timespec.
3097 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3098 New macros.
3099 (struct stat64): Likewise.
3100 (_STATBUF_ST_NSEC): New macro.
3101 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3102
10589b4a
TS
3103 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3104 __strtoul_internal rather than strtoul.
3105
63643c85
PT
31062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3107
3108 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3109 and reject them.
3110
3faebe6a
ST
31112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3112
3113 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3114 which preserves existing values.
3115 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3116
c6474b07
PT
31172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3118
3119 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3120 TIMEOUT values. Return EINVAL for NFDS values either negative or
3121 greater than FD_SETSIZE.
3122
1043890b
ST
31232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3124
3125 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3126 allocated, call __vm_protect to finish enabling the existing space, and
3127 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3128 allocate the remainder.
3129
37ed8b9b
PT
31302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3131
3132 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3133 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3134
db653660
ST
31352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3136
37ed8b9b
PT
3137 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3138 sysdeps/mach/hurd/readlink.c.
b29d4053 3139
db653660
ST
3140 * posix/tst-sysconf.c (posix_options): Only use
3141 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3142 _POSIX_SYNCHRONIZED_IO when they are defined
3143 * sysdeps/mach/hurd/bits/posix_opt.h:
3144 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3145 (_XOPEN_REALTIME): Undefine macro.
3146 (_XOPEN_REALTIME_THREADS): Undefine macro.
3147 (_XOPEN_SHM): Undefine macro.
3148 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3149 macro to -1.
3150 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3151 macro to -1.
3152 (_POSIX_ASYNC_IO): Undefine macro.
3153 (_POSIX_PRIORITIZED_IO): Undefine macro.
3154 (_POSIX_SPIN_LOCKS): Define macro to -1.
3155
ee16e894
ST
3156 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3157 SA_NODEFER, SA_RESETHAND.
3158 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3159 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3160 F_DUPFD_CLOEXEC.
3161
6103ae3b
TS
31622012-05-10 Thomas Schwinge <thomas@schwinge.name>
3163
3164 * elf/Makefile (pldd-modules): Define unconditionally.
3165
80b4e5f3
TS
31662012-05-10 Thomas Schwinge <thomas@schwinge.name>
3167
3168 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3169
edadcbd6
ST
31702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3171
3172 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3173 Return ENOENT when name is empty.
3174 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3175
80694780
TS
31762012-05-10 Thomas Schwinge <thomas@schwinge.name>
3177
1792c087
TS
3178 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3179
80694780
TS
3180 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3181
6b645f0d
ST
31822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3183
80694780
TS
3184 Fix mlock in all cases except non-readable pages.
3185 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3186 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3187
6b645f0d
ST
3188 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3189 (__mkdir): When path is `/', just fail with EEXIST.
3190 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3191
e468f8a3
TS
31922012-05-10 Thomas Schwinge <thomas@schwinge.name>
3193
3194 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3195 <sys/uio.h> (for writev).
3196 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3197 and <sys/param.h> (for MIN).
3198
a4186cff
PT
31992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3200
3201 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3202 REQUESTED_TIME. Properly set the remaining time and return EINTR
3203 if interrupted.
3204
510bbf14
TS
32052012-05-10 Thomas Schwinge <thomas@schwinge.name>
3206
3207 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3208 Depend on against $(link-rpcuserlibs).
3209
5d5722e8
ST
32102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3211
a4186cff
PT
3212 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3213 (__libc_stack_end): Do not use attribute_relro.
3214 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3215 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3216 to libthread-provided value.
a4186cff
PT
3217 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3218 attribute_relro.
5d5722e8 3219
37233df9
TS
32202012-05-10 Thomas Schwinge <thomas@schwinge.name>
3221
be971a2b
TS
3222 [BZ #3748]
3223 * bits/libc-lock.h (__libc_once_get): New macro.
3224 * sysdeps/mach/bits/libc-lock.h: Likewise.
3225 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3226 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3227 instead of using implementation details.
3228
37233df9
TS
3229 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3230 * libio/freopen.c: Likewise.
3231 * libio/freopen64.c: Likewise.
3232 * misc/syslog.c: Likewise.
3233 * nscd/connections.c: Likewise.
3234 * nscd/netgroupcache.c: Likewise.
3235 * sysdeps/posix/getcwd.c: Likewise.
3236
38de94a5
RM
32372012-05-10 Roland McGrath <roland@hack.frob.com>
3238
3239 * math/w_ilogbf.c: Add #include <limits.h>.
3240
67530489
ST
32412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3242
a4186cff 3243 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3244 path instead of returning without unlocking.
3245
67530489
ST
3246 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3247 immediate-write ioctls.
3248 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3249
5aa3a74a
TS
32502012-05-10 Thomas Schwinge <thomas@schwinge.name>
3251
18bad2ae
TS
3252 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3253 __builtin_frame_address instead of making assumptions about the
3254 location of the return address relative to DATA. Force early load of
3255 the return address.
3256 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3257 __builtin_frame_address.
3258
5aa3a74a
TS
3259 dup3 for GNU Hurd.
3260 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3261 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3262 implement dup3 and do some further code clean-ups.
3263 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3264 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3265
ecd0de9a
ST
32662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3267
cd9fa985
ST
3268 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3269
a4186cff
PT
3270 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3271 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3272 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3273 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3274 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3275 d->port.lock.
802ca5a5 3276
a4186cff
PT
3277 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3278 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3279 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3280
bcf55240
TS
32812012-05-10 Thomas Schwinge <thomas@schwinge.name>
3282
6960eb42
TS
3283 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3284 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3285 definitions.
3286
eb43375f
TS
3287 accept4 for GNU Hurd.
3288 * include/sys/socket.h (__libc_accept4): New prototype.
3289 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3290 to implement __libc_accept4.
3291 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3292 __libc_accept4.
3293 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3294
bcf55240
TS
3295 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3296 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3297 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3298 signal-defines.sym.
3299
6178c55b
ST
33002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3301
a4186cff 3302 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3303
6f080c2f
TS
33042012-05-10 Thomas Schwinge <thomas@schwinge.name>
3305
3306 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3307 assertion on O_CLOEXEC flag.
3308 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3309 * hurd/intern-fd.c: Likewise.
3310 * hurd/port2fd.c: Likewise.
3311
bcfe3a54
ST
33122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3313
3314 [BZ #3906]
3315 * bits/in.h (IPV6_PKTINFO): Define new macro.
3316 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3317
89c9aa49
AZ
33182012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3319
3320 [BZ #13954]
3321 [BZ #13955]
3322 [BZ #13956]
3323 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3324 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3325 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3326 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3328 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3329 * math/libm-test.inc (logb_test) : Additional logb tests.
3330
021db4be
AJ
33312012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3332 Andreas Jaeger <aj@suse.de>
3333
3334 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3335 * configure: Regenerated.
3336 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3337 * config.make.in (link-obsolete-rpc): New substituted variable.
3338 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3339 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3340 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3341 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3342 so that libc.a contains the symbols.
3343 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3344 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3345 * sunrpc/auth_none.c: Likewise.
3346 * sunrpc/auth_unix.c: Likewise.
3347 * sunrpc/authdes_prot.c: Likewise.
3348 * sunrpc/authuxprot.c: Likewise.
3349 * sunrpc/clnt_gen.c: Likewise.
3350 * sunrpc/clnt_perr.c: Likewise.
3351 * sunrpc/clnt_raw.c: Likewise.
3352 * sunrpc/clnt_simp.c: Likewise.
3353 * sunrpc/clnt_tcp.c: Likewise.
3354 * sunrpc/clnt_udp.c: Likewise.
3355 * sunrpc/clnt_unix.c: Likewise.
3356 * sunrpc/des_crypt.c: Likewise.
3357 * sunrpc/des_soft.c: Likewise.
3358 * sunrpc/get_myaddr.c: Likewise.
3359 * sunrpc/key_call.c: Likewise.
3360 * sunrpc/key_prot.c: Likewise.
3361 * sunrpc/netname.c: Likewise.
3362 * sunrpc/pm_getmaps.c: Likewise.
3363 * sunrpc/pm_getport.c: Likewise.
3364 * sunrpc/pmap_clnt.c: Likewise.
3365 * sunrpc/pmap_prot.c: Likewise.
3366 * sunrpc/pmap_prot2.c: Likewise.
3367 * sunrpc/pmap_rmt.c: Likewise.
3368 * sunrpc/publickey.c: Likewise.
3369 * sunrpc/rpc_cmsg.c: Likewise.
3370 * sunrpc/rpc_common.c: Likewise.
3371 * sunrpc/rpc_dtable.c: Likewise.
3372 * sunrpc/rpc_prot.c: Likewise.
3373 * sunrpc/rpc_thread.c: Likewise.
3374 * sunrpc/rtime.c: Likewise.
3375 * sunrpc/svc.c: Likewise.
3376 * sunrpc/svc_auth.c: Likewise.
3377 * sunrpc/svc_raw.c: Likewise.
3378 * sunrpc/svc_run.c: Likewise.
3379 * sunrpc/svc_tcp.c: Likewise.
3380 * sunrpc/svc_udp.c: Likewise.
3381 * sunrpc/svc_unix.c: Likewise.
3382 * sunrpc/svcauth_des.c: Likewise.
3383 * sunrpc/xcrypt.c: Likewise.
3384 * sunrpc/xdr.c: Likewise.
3385 * sunrpc/xdr_array.c: Likewise.
3386 * sunrpc/xdr_float.c: Likewise.
3387 * sunrpc/xdr_intXX_t.c: Likewise.
3388 * sunrpc/xdr_mem.c: Likewise.
3389 * sunrpc/xdr_rec.c: Likewise.
3390 * sunrpc/xdr_ref.c: Likewise.
3391 * sunrpc/xdr_sizeof.c: Likewise.
3392 * sunrpc/xdr_stdio.c: Likewise.
3393
b5c086a2
RM
33942012-05-10 Roland McGrath <roland@hack.frob.com>
3395
3396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3397 change. Update copyright years.
3398
6d74dd09
JM
33992012-05-10 Joseph Myers <joseph@codesourcery.com>
3400
3401 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3402
28e72501
MK
34032012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3404 Joseph Myers <joseph@codesourcery.com>
3405 Paul Pluzhnikov <ppluzhnikov@google.com>
3406
3407 [BZ #14012]
3408 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3409 requiring rpcgen.
3410 [cross-compiling] (extra-libs): Likewise.
3411 [cross-compiling] (extra-libs-others): Likewise.
3412 [cross-compiling] (librpcsvc-routines): Likewise.
3413 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3414 [cross-compiling] (omit-deps): Likewise.
3415 (sunrpc-CPPFLAGS): New variable.
3416 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3417 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3418 (cross-rpcgen-objs): New variable.
3419 (extra-objs): Append $(cross-rpcgen-objs).
3420 ($(cross-rpcgen-objs)): New rule.
3421 ($(objpfx)cross-rpcgen): Likewise.
3422 (rpcgen-cmd): Define to use $(built-program-file). Expand
3423 comment.
3424 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3425 ($(objpfx)x%.stmp): Likewise.
3426 * sunrpc/proto.h [IS_IN_build] (_): Define.
3427 [IS_IN_build] (_libc_intl_domainname): Likewise.
3428
c8c59454
L
34292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3430
3431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3432 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3433 and R_X86_64_TPOFF64.
3434
6f27cd16
JM
34352012-05-10 Joseph Myers <joseph@codesourcery.com>
3436
3437 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3438 sysdeps/unix/sysv/syscalls.list.
3439 (stime): Likewise.
3440 (utime): Likewise.
3441 * sysdeps/unix/sysv/syscalls.list: Remove file.
3442
02467e1c
PE
34432012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3444
3445 [BZ #3440]
3446 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3447 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3448 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3449 (__LC_IDENTIFICATION): Make these macros useful in #if
3450 expressions, as required by C99.
3451
da392631
AS
34522012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3453
3454 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3455 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3456 after this.
3457
8115f29b
L
34582012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3459
3460 * stdlib/longlong.h: Updated from GCC.
3461
bdd74070
AJ
34622012-05-09 Andreas Jaeger <aj@suse.de>
3463
edfe0dbe
AJ
3464 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3465 default is first entry.
3466 (run_mode): Set type.
3467 (main): Remove informal message about syslog.
3468 (options): Fix typo.
3469
bcfe3a54
ST
3470 [BZ #14053]
3471 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3472 to asm.
bcfe3a54
ST
3473 (lrint): Likewise.
3474 (llrintf): Likewise.
3475 (llrint): Likewise.
3476 (rint): Likewise.
3477 (rintf): Likewise.
3478 (nearbyint): Likewise.
3479 (nearbyintf): Likewise.
bdd74070 3480
91d8d69e
AJ
34812012-05-09 Andreas Jaeger <aj@suse.de>
3482 Pedro Alves <palves@redhat.com>
3483
3484 * nscd/nscd.c (run_mode): Use enum.
3485 (main): Cleanup coding style issue.
3486
bb90b80b
AJ
34872012-05-09 Alexandre Oliva <aoliva@redhat.com>
3488 Andreas Jaeger <aj@suse.de>
3489
bcfe3a54
ST
3490 * nscd/nscd.c (go_background): Replaced with...
3491 (run_mode): ... this.
bb90b80b 3492 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3493 (options): Add -F --foreground.
3494 (main): Implement it.
3495 (parse_opt): Parse it.
bb90b80b 3496
1a4b75a1
AJ
34972012-05-09 Andreas Jaeger <aj@suse.de>
3498
3499 [BZ #14083]
3500 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3501 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3502 -Wconversion warning.
3503 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3504 Likewise.
3505
b1cc2472
JM
35062012-05-09 Joseph Myers <joseph@codesourcery.com>
3507
3508 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3509 == 0.
3510 (LC_ALL): Use macro-int-constant.
3511 (LC_COLLATE): Likewise.
3512 (LC_CTYPE): Likewise.
3513 (LC_MESSAGES): Likewise.
3514 (LC_MONETARY): Likewise.
3515 (LC_NUMERIC): Likewise.
3516 (LC_TIME): Likewise.
3517 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3518 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3520 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3521 Specify type.
3522 [C99-based standards] (float_t): Expect type.
3523 [C99-based standards] (double_t): Expect type.
3524 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3525 type.
3526 [C99-based standards] (HUGE_VALL): Likewise.
3527 [C99-based standards] (INFINITY): Likewise.
3528 [C99-based standards] (NAN): Likewise.
3529 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3530 [C99-based standards] (FP_NAN): Likewise.
3531 [C99-based standards] (FP_NORMAL): Likewise.
3532 [C99-based standards] (FP_SUBNORMAL): Likewise.
3533 [C99-based standards] (FP_ZERO): Likewise.
3534 [C99-based standards] (FP_FAST_FMA): Use
3535 optional-macro-int-constant. Specify type. Require == 1.
3536 [C99-based standards] (FP_FAST_FMAF): Likewise.
3537 [C99-based standards] (FP_FAST_FMAL): Likewise.
3538 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3539 [C99-based standards] (FP_ILOGBNAN): Likewise.
3540 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3541 Specify type.
3542 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3543 [C99-based standards] (math_errhandling): Specify type.
3544 [ISO99 || ISO11] (signgam): Do not allow.
3545 [non-C99-based standards] (copysignf): Do not allow.
3546 [non-C99-based standards] (exp2f): Likewise.
3547 [non-C99-based standards] (log2f): Likewise.
3548 [non-C99-based standards] (modff): Allow.
3549 [non-C99-based standards] (erff): Do not allow.
3550 [non-C99-based standards] (erfcf): Likewise.
3551 [non-C99-based standards] (gammaf): Likewise.
3552 [non-C99-based standards] (hypotf): Likewise.
3553 [non-C99-based standards] (j0f): Likewise.
3554 [non-C99-based standards] (j1f): Likewise.
3555 [non-C99-based standards] (jnf): Likewise.
3556 [non-C99-based standards] (lgammaf): Likewise.
3557 [non-C99-based standards] (tgammaf): Likewise.
3558 [non-C99-based standards] (y0f): Likewise.
3559 [non-C99-based standards] (y1f): Likewise.
3560 [non-C99-based standards] (ynf): Likewise.
3561 [non-C99-based standards] (isnanf): Likewise.
3562 [non-C99-based standards] (acoshf): Likewise.
3563 [non-C99-based standards] (asinhf): Likewise.
3564 [non-C99-based standards] (atanhf): Likewise.
3565 [non-C99-based standards] (cbrtf): Likewise.
3566 [non-C99-based standards] (expm1f): Likewise.
3567 [non-C99-based standards] (ilogbf): Likewise.
3568 [non-C99-based standards] (log1pf): Likewise.
3569 [non-C99-based standards] (logbf): Likewise.
3570 [non-C99-based standards] (nextafterf): Likewise.
3571 [non-C99-based standards] (remainderf): Likewise.
3572 [non-C99-based standards] (rintf): Likewise.
3573 [non-C99-based standards] (scalbf): Likewise.
3574 [non-C99-based standards] (copysignl): Likewise.
3575 [non-C99-based standards] (exp2l): Likewise.
3576 [non-C99-based standards] (log2l): Likewise.
3577 [non-C99-based standards] (modfl): Allow.
3578 [non-C99-based standards] (erfl): Do not allow.
3579 [non-C99-based standards] (erfcl): Likewise.
3580 [non-C99-based standards] (gammal): Likewise.
3581 [non-C99-based standards] (hypotl): Likewise.
3582 [non-C99-based standards] (j0l): Likewise.
3583 [non-C99-based standards] (j1l): Likewise.
3584 [non-C99-based standards] (jnl): Likewise.
3585 [non-C99-based standards] (lgammal): Likewise.
3586 [non-C99-based standards] (tgammal): Likewise.
3587 [non-C99-based standards] (y0l): Likewise.
3588 [non-C99-based standards] (y1l): Likewise.
3589 [non-C99-based standards] (ynl): Likewise.
3590 [non-C99-based standards] (isnanl): Likewise.
3591 [non-C99-based standards] (acoshl): Likewise.
3592 [non-C99-based standards] (asinhl): Likewise.
3593 [non-C99-based standards] (atanhl): Likewise.
3594 [non-C99-based standards] (cbrtl): Likewise.
3595 [non-C99-based standards] (expm1l): Likewise.
3596 [non-C99-based standards] (ilogbl): Likewise.
3597 [non-C99-based standards] (log1pl): Likewise.
3598 [non-C99-based standards] (logbl): Likewise.
3599 [non-C99-based standards] (nextafterl): Likewise.
3600 [non-C99-based standards] (remainderl): Likewise.
3601 [non-C99-based standards] (rintl): Likewise.
3602 [non-C99-based standards] (scalbl): Likewise.
3603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3604 [non-C99-based standards] (FP_*): Do not allow.
3605 [C99-based standards] (FP_*): Change to
3606 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3607 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3608 allow.
3609 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3610 (SIG_ERR): Likewise.
3611 [X/Open-based standards] (SIG_HOLD): Likewise.
3612 (SIG_IGN): Likewise.
3613 (SIGABRT): Use macro-int-constant. Specify type. Require
3614 positive value.
3615 (SIGFPE): Likewise.
3616 (SIGILL): Likewise.
3617 (SIGINT): Likewise.
3618 (SIGSEGV): Likewise.
3619 (SIGTER): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3629 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3634 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3635 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3636 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3637 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3638 [X/Open-based standards] (SIGTRAP): Likewise.
3639 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3640 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3641 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3642 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3643 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3644 allow.
3645
b9f1922d
IW
36462012-05-08 Ian Wienand <ianw@vmware.com>
3647
3648 [BZ #14080]
3649 * time/tzset.c (__tzset_parse_tz): Update default rules for
3650 daylight time changes in the Energy Policy Act of 2005.
3651
1db86e88
AJ
36522012-05-09 Andreas Jaeger <aj@suse.de>
3653
3654 [BZ #13983]
3655 * elf/ldconfig.c (parse_conf): Change string to make clear that
3656 ldconfig only issued a warning if ld.so.conf does not exist.
3657
dee4a4e3
DM
36582012-05-08 David S. Miller <davem@davemloft.net>
3659
ee0db190
DM
3660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3661 movxtod instead of popping the value on the stack.
3662
dee4a4e3
DM
3663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3664
6a43ec98
CD
36652012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3666
3667 * config.h.in: Add HAVE_ARM_PCS_VFP.
3668
05c2c961
RMG
36692012-05-08 Roland Mc Grath <roland@hack.frob.com>
3670
bcfe3a54
ST
3671 [BZ #13979]
3672 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3673 checking but the checks are disabled for any reason.
05c2c961 3674
4b30f61a
L
36752012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3676
3677 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3678 and ELF64_R_TYPE with ELFW(R_TYPE).
3679
eee2bc67
JM
36802012-05-08 Joseph Myers <joseph@codesourcery.com>
3681
7ea5391a
JM
3682 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3683 (ulimit): Likewise.
3684
eee2bc67
JM
3685 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3686 (settimeofday): Likewise.
3687
abb66a67
MF
36882012-05-08 Mike Frysinger <vapier@gentoo.org>
3689
3690 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3691 a struct th_u2 inside the union, and move tu_block/tu_code into
3692 a new th_u3 union of tu_block/tu_code inside of that. Move
3693 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3694 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3695 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3696 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3697 (th_stuff): Change to th_u1.tu_stuff.
3698 (th_data): Define.
3699 (th_msg): Change to th_u1.th_u2.tu_data.
3700
7f18b530
DM
37012012-05-07 David S. Miller <davem@davemloft.net>
3702
05760585
DM
3703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3704
7f18b530
DM
3705 [BZ #14074]
3706 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3707 (SETUP_PIC_REG): Use it.
3708 (SETUP_PIC_REG_LEAF): Use it.
3709
495fd99f
JM
37102012-05-07 Joseph Myers <joseph@codesourcery.com>
3711
3712 [BZ #13885]
3713 [BZ #13923]
3714 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3715 USE_AS_EXPM1L.
3716 (EXPL_FINITE): Likewise.
3717 (FLDLOG): Likewise.
3718 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3719 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3720 e_expl.S.
3721 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3722 USE_AS_EXPM1L.
3723 (EXPL_FINITE): Likewise.
3724 (FLDLOG): Likewise.
3725 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3726 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3727 e_expl.S.
3728 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3729 test of -max_value argument for long double.
3730 * sysdeps/i386/fpu/libm-test-ulps: Update.
3731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3732
6693d694
DM
37332012-05-06 David S. Miller <davem@davemloft.net>
3734
3735 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3736 quad soft-float symbols whose references which are compiler
3737 generated.
3738 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3739
6c23e11c
JM
37402012-05-06 Joseph Myers <joseph@codesourcery.com>
3741
d8b82cad
JM
3742 [BZ #13884]
3743 [BZ #13914]
3744 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3745 USE_AS_EXP10L.
3746 (EXPL_FINITE): Likewise.
3747 (FLDLOG): Likewise.
3748 (c0): Likewise.
3749 (c1): Likewise.
3750 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3751 Adjust comments for base varying.
3752 (__expl_finite): Change alias to EXPL_FINITE.
3753 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3754 e_expl.S.
3755 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3756 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3758 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3759 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3760 USE_AS_EXP10L.
3761 (EXPL_FINITE): Likewise.
3762 (FLDLOG): Likewise.
3763 (c0): Likewise.
3764 (c1): Likewise.
3765 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3766 Adjust comments for base varying.
3767 (__expl_finite): Change alias to EXPL_FINITE.
3768 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3769 tests for bugs.
3770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3771
6c23e11c
JM
3772 [BZ #14064]
3773 * math/libm-test.inc (check_float_internal): Correct ulp
3774 calculation for subnormal expected results.
3775
29ba805c
AJ
37762012-05-06 Andreas Jaeger <aj@suse.de>
3777
3778 * Makeconfig (+math-flags): New, set to -frounding-math.
3779 (+cflags): Add +math-flags so that all of glibc gets compiled with
3780 it.
3781
3782 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3783
7b17aeda
JM
37842012-05-05 Joseph Myers <joseph@codesourcery.com>
3785
5779f134
JM
3786 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3787 Disable one test.
3788
41498f4d
JM
3789 [BZ #13787]
3790 [BZ #13922]
3791 [BZ #14036]
3792 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3793 (__ieee754_expl): Allow for and saturate large arguments.
3794 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3795 (u_threshold): Likewise.
3796 (__exp): Call __ieee754_exp before checking for overflow and
3797 underflow.
3798 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3799 (u_threshold): Likewise.
3800 (__expf): Call __ieee754_expf before checking for overflow and
3801 underflow.
3802 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3803 (u_threshold): Likewise.
3804 (__expl): Call __ieee754_expl before checking for overflow and
3805 underflow.
3806 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3807 (__ieee754_expl): Allow for and saturate large arguments.
3808 * math/libm-test.inc (exp_test): Add another test. Do not allow
3809 missing overflow exception on overflow.
3810 (expm1_test): Do not allow missing overflow exception on overflow.
3811
6698b8bf
JM
3812 * sysdeps/i386/fpu/e_expl.c: Move to ...
3813 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3814 rather than using inline asm.
3815 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3816 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3817 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3818
7b17aeda
JM
3819 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3820 (nice): Likewise.
3821 (poll): Likewise.
3822 (signal): Likewise.
3823 (time): Likewise.
3824 (times): Likewise.
3825
f7c85819
JM
38262012-05-04 Joseph Myers <joseph@codesourcery.com>
3827
3828 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3829 sysdeps/unix/common/syscalls.list.
3830 (fchmod): Likewise.
3831 (fchown): Likewise.
3832 (ftruncate): Likewise.
3833 (getrusage): Likewise.
3834 (gettimeofday): Likewise.
3835 (setpgid): Likewise.
3836 (setregid): Likewise.
3837 (setreuid): Likewise.
3838 (sigaction): Likewise.
3839 (truncate): Likewise.
3840 (vhangup): Likewise.
3841 * sysdeps/unix/common/syscalls.list: Remove file.
3842 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3843 * sysdeps/unix/sysv/linux/Implies: Likewise.
3844
336270d0
L
38452012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3846
3847 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3849 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3850 Moved to ...
3851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3852 Here.
3853 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3854 to ...
3855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3856 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3857 to ...
3858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3859 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3860 to ...
3861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3862 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3863 to ...
3864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3865 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3866 to ...
3867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3868 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3869 to ...
3870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3871 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3872 to ...
3873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3874 Here.
3875 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3876 to ...
3877 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3878 Here.
3879 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3880 to ...
3881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3882 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3883 Moved to ...
3884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3885 Here.
3886 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3887 to ...
3888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3889
d128e450
JM
38902012-05-04 Joseph Myers <joseph@codesourcery.com>
3891
fa8ee516
JM
3892 * sysdeps/unix/common/bits/dirent.h: Remove file.
3893 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3894
d128e450
JM
3895 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3896 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3897 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3898 * sysdeps/unix/bsd/isatty.c: Likewise.
3899 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3900 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3901 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3902
ff8faaf0 39032012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3904
62881be4 3905 [BZ #13563]
31dc8730
AZ
3906 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3907 long double comparison inaccuracies.
3908 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3910
6fef930c
AS
39112012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3912
3913 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3914 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3915
8f203e6c
JM
39162012-05-04 Joseph Myers <joseph@codesourcery.com>
3917
3918 [BZ #14049]
3919 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3920 nonzero digits before rounding a hex value.
3921 * stdlib/tst-strtod.c (tests): Add another test.
3922
5197d9c2
AK
39232012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3924
3925 * sysdeps/s390/fpu/libm-test-ulps: Update.
3926
f0c1dedf
AJ
39272012-05-03 Andreas Jaeger <aj@suse.de>
3928
3929 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3930 does not get optimized out.
3931 (malloc_opt_barrier): New.
3932
a65ef2ae 39332012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3934 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3935
2b942cb7 3936 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3937 intermediate file deletion.
2b942cb7 3938 (generated): Add .symlist files.
a65ef2ae 3939
54b71e02
JM
39402012-05-03 Joseph Myers <joseph@codesourcery.com>
3941
3942 [BZ #13775]
3943 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3944 Redirect under this condition.
3945 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3946 [__USE_GNU] (__dprintf_chk): Not under this condition.
3947 [__USE_GNU] (__vdprintf_chk): Likewise.
3948 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3949 under this condition.
3950 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3951 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3952 [__USE_XOPEN2K8] (vdprintf): Likewise.
3953 [__USE_GNU] (__dprintf_chk): Not under this condition.
3954 [__USE_GNU] (__vdprintf_chk): Likewise.
3955 [__USE_GNU] (dprintf): Likewise.
3956 [__USE_GNU] (vdprintf): Likewise.
3957
d3dfcc41
RM
39582012-05-03 Roland McGrath <roland@hack.frob.com>
3959
3960 * elf/Makefile (common-generated): Set this instead of generated for
3961 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3962 $(all-built-dso)-derived lists.
3963
7ac30cc5
AJ
39642012-05-03 Andreas Jaeger <aj@suse.de>
3965
0c51e550
AJ
3966 * sysdeps/i386/fpu/libm-test-ulps: Update.
3967
7ac30cc5
AJ
3968 * FAQ: Removed.
3969 * FAQ.in: Likewise.
3970 * scripts/gen-FAQ.pl: Likewise.
3971 * manual/install.texi (Installation): Point to online location of
3972 FAQ.
3973 * Makefile (files-for-dist): Remove FAQ.
3974 (FAQ): Remove.
3975
d4c2917f
AM
39762012-05-02 Allan McRae <allan@archlinux.org>
3977
3978 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3979 (LDFLAGS-reldepmod5.so): Likewise.
3980 (LDFLAGS-reldep6mod1.so): Likewise.
3981 (LDFLAGS-reldep6mod4.so): Likewise.
3982 (LDFLAGS-reldep8mod3.so): Likewise.
3983 (LDFLAGS-unload4mod1.so): Likewise.
3984 (LDFLAGS-unload4mod2.so): Likewise.
3985 (LDFLAGS-tst-initorder): Likewise.
3986 (LDFLAGS-tst-initordera2.so): Likewise.
3987 (LDFLAGS-tst-initordera3.so): Likewise.
3988 (LDFLAGS-tst-initordera4.so): Likewise.
3989 (LDFLAGS-tst-initorderb2.so): Likewise.
3990 (LDFLAGS-noload): Likewise.
3991 (LDFLAGS-next): Likewise.
3992 (LDFLAGS-order2mod1.so): Likewise.
3993 (LDFLAGS-order2mod2.so): Likewise.
3994 (LDFLAGS-tst-initorder2): Likewise.
3995 (LDFLAGS-tst-initorder2a.so): Likewise.
3996 (LDFLAGS-tst-initorder2b.so): Likewise.
3997 (LDFLAGS-tst-initorder2c.so): Likewise.
3998 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3999
d77f993f
DM
40002012-05-02 David S. Miller <davem@davemloft.net>
4001
4002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4003
171a70b4
PP
40042012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4005
4006 [BZ #14055]
4007 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4008
0be196ad
AJ
40092012-05-02 Andreas Jaeger <aj@suse.de>
4010
4011 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4012 since we manipulate rounding mode.
4013 (CPPFLAGS-test-idouble.c): Likewise.
4014 (CPPFLAGS-test-ifloat.c): Likewise.
4015 (CFLAGS-test-ldouble.c): Likewise.
4016 (CFLAGS-test-double.c): Likewise.
4017 (CFLAGS-test-float.c): Likewise.
4018 (CFLAGS-test-misc.c): Likewise.
4019 (CFLAGS-test-test-fenv.c): Likewise.
4020
4f9d04aa
AZ
40212012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4022
2b942cb7
RM
4023 [BZ #2550]
4024 [BZ #2570]
4025 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4026 comparisons to determine direction to adjust input.
4f9d04aa 4027
82a79e7d
RM
40282012-05-01 Roland McGrath <roland@hack.frob.com>
4029
f5a01ca9
RM
4030 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4031 output to the target.
4032
90fe4186
RM
4033 * scripts/localplt.awk: New file.
4034 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4035 (check-localplt-CFLAGS): Variable removed.
4036 ($(all-built-dso:=.jmprel)): New static pattern rule.
4037 (generated): Add those targets.
4038 (localplt-built-dso): New variable.
4039 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4040
4041 * elf/check-localplt.c: File removed.
4042
82397ed6
RM
4043 * scripts/check-execstack.awk: New file.
4044 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4045 (check-execstack-CFLAGS): Variable removed.
4046 ($(objpfx)check-execstack.h): Target removed.
4047 ($(objpfx)execstack-default): New target.
4048 (generated): Add that instead of check-execstack.h.
4049 ($(all-built-dso:=.phdr)): New static pattern rule.
4050 (generated): Add those targets.
4051 * elf/check-execstack.c: File removed.
4052
82a79e7d
RM
4053 * scripts/check-textrel.awk: New file.
4054 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4055 (check-textrel-CFLAGS): Variable removed.
4056 (all-built-dso): Use := to define.o
4057 ($(all-built-dso:=.dyn)): New static pattern rule.
4058 (generated): Add those targets.
4059 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4060 * config.make.in (READELF): New substituted variable.
4061 * elf/check-textrel.c: File removed.
4062
62fde54f 40632012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4064
615605c9
JM
4065 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4066 allow.
4067 * conform/data/ctype.h-data [C99-based standards] (isblank):
4068 Expect function.
4069 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4070 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4071 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4072 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4073 Specify type. Require positive value.
4074 (EILSEQ): Likewise.
4075 (ERANGE): Likewise.
4076 [ISO || POSIX] (EILSEQ): Do not expect.
4077 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4078 Specify type. Require positive value.
4079 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4080 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4081 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4082 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4083 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4084 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4085 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4086 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4087 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4088 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4089 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4090 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4091 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4092 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4093 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4094 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4095 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4096 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4097 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4098 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4099 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4100 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4101 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4102 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4103 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4104 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4105 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4106 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4107 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4108 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4109 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4110 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4111 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4112 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4113 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4114 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4115 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4116 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4117 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4118 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4119 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4120 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4121 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4122 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4123 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4124 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4125 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4126 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4127 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4128 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4129 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4130 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4131 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4132 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4133 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4134 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4135 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4136 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4137 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4138 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4139 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4140 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4141 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4142 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4143 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4144 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4145 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4146 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4147 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4148 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4149 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4150 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4151 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4152 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4153 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4154 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4155 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4156 Require >= 2.
4157 (FLT_ROUNDS): Expect as macro, not constant.
4158 (FLT_MANT_DIG): Use macro-int-constant.
4159 (DBL_MANT_DIG): Likewise.
4160 (LDBL_MANT_DIG): Likewise.
4161 (FLT_DIG): Likewise.
4162 (DBL_DIG): Likewise.
4163 (LDBL_DIG): Likewise.
4164 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4165 (DBL_MIN_EXP): Likewise.
4166 (LDBL_MIN_EXP): Likewise.
4167 (FLT_MAX_EXP): Use macro-int-constant.
4168 (DBL_MAX_EXP): Likewise.
4169 (LDBL_MAX_EXP): Likewise.
4170 (FLT_MAX_10_EXP): Likewise.
4171 (DBL_MAX_10_EXP): Likewise.
4172 (LDBL_MAX_10_EXP): Likewise.
4173 (FLT_MAX): Use macro-constant.
4174 (DBL_MAX): Likewise.
4175 (LDBL_MAX): Likewise.
4176 (FLT_EPSILON): Use macro-constant. Give upper bound.
4177 (DBL_EPSILON): Likewise.
4178 (LDBL_EPSILON): Likewise.
4179 (FLT_MIN): Likewise.
4180 (DBL_MIN): Likewise.
4181 (LDBL_MIN): Likewise.
4182 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4183 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4184 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4185 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4186 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4187 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4188 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4189 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4190 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4191 [ISO11] (FLT_TRUE_MIN): Likewise.
4192 [ISO11] (LDBL_TRUE_MIN): Likewise.
4193 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4194 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4195 (SCHAR_MIN): Use macro-int-constant. Specify type.
4196 (SCHAR_MAX): Likewise.
4197 (UCHAR_MAX): Likewise.
4198 (CHAR_MIN): Likewise.
4199 (CHAR_MAX): Likewise.
4200 (MB_LEN_MAX): Use macro-int-constant.
4201 (SHRT_MIN): Use macro-int-constant. Specify type.
4202 (SHRT_MAX): Likewise.
4203 (USHRT_MAX): Likewise.
4204 (INT_MAX): Likewise.
4205 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4206 bound negative.
4207 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4208 bound with "U".
4209 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4210 bound with "L".
4211 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4212 bound negative. Suffix upper bound with "L".
4213 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4214 bound with "UL".
4215 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4216 Specify type.
4217 [C99-based standards] (LLONG_MAX): Likewise.
4218 [C99-based standards] (ULLONG_MAX): Likewise.
4219 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4220 == 0.
4221 [ISO11] (max_align_t): Require type.
4222 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4223
c9140a62
JM
4224 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4225 from $CFLAGS, without defining away __attribute__ calls.
4226 (checknamespace): Use $CFLAGS_namespace.
4227
9af0bf29
JM
4228 * conform/conformtest.pl (@keywords): Only include C99 keywords
4229 for standards based on C99 or C11.
4230
343222a2
JM
4231 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4232 Disable tests.
4233 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4234 UNIX98]: Likewise.
4235
661f8cf0
JM
4236 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4237 usability of symbols in #if.
4238
ee74b9cb
JM
4239 * conform/conformtest.pl: If macro or constant types start
4240 "promoted:", expect the symbol to be of the following type
4241 promoted by the integer promotions.
62fde54f 4242
aafc49b3
JM
4243 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4244 in one place. Also handle "macro-constant".
4245
fefdf574
JM
4246 * conform/conformtest.pl: Only accept expected macro values with
4247 "==". Parse all "macro" lines in one place.
4248 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4249
f2d922fe
JM
4250 * conform/conformtest.pl: Handle braced types on "constant" lines
4251 instead of handling "typed-constant".
4252 * conform/data/signal.h-data: Use "constant" instead of
4253 "typed-constant".
4254
d22956c9
JM
4255 * conform/conformtest.pl: Handle "optional-" at start of lines in
4256 one place rather than duplicating several cases. Handle each
4257 format of "macro" line with initial "optional-".
4258
028e2e38
JM
4259 * conform/conformtest.pl: Only accept expected constant or
4260 optional-constant values with "==". Parse all "constant" lines in
4261 one place. Parse all "optional-constant" lines in one place.
4262 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4263 * conform/data/fmtmsg.h-data: Likewise.
4264 * conform/data/netinet/in.h-data: Likewise.
4265 * conform/data/tar.h-data: Likewise.
4266 * conform/data/limits.h-data: Use "==" form on "constant" and
4267 "optional-constant" lines.
4268
1b8f2850
JM
4269 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4270 Use -std=c99 for XOPEN2K.
4271 (@knownproblems): Remove.
4272 (newtoken): Don't check %isknown.
4273
a05a144b
JM
4274 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4275 Do not expect macro.
4276 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4277 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4278 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4279 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4280 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4281 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4282 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4283 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4284 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4285 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4286 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4287 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4288 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4289 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4290 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4291 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4292 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4293 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4294 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4295 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4296 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4297 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4298 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4299 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4300 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4301 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4302 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4303 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4304 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4305 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4306 [XPG3] (acosh): Likewise.
4307 [XPG3] (asinh): Likewise.
4308 [XPG3] (atanh): Likewise.
4309 [XPG3] (cbrt): Likewise.
4310 [XPG3] (expm1): Likewise.
4311 [XPG3] (ilogb): Likewise.
4312 [XPG3] (log1p): Likewise.
4313 [XPG3] (logb): Likewise.
4314 [XPG3] (nextafter): Likewise.
4315 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4316 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4317 [XPG3] (remainder): Likewise.
4318 [XPG3] (rint): Likewise.
4319 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4320 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4321 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4322 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4323 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4324 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4325 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4326 [UNIX98 || XOPEN2K] (scalb): Expect.
4327 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4328 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4329 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4330 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4331 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4332 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4333 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4334 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4335 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4336 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4337 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4338 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4339 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4340 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4341 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4342 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4343 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4344 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4345 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4346 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4347 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4348 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4349 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4350 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4351 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4352 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4353 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4354 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4355 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4356 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4357 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4358 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4359 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4360 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4361 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4362 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4363 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4364 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4365 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4366 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4367 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4368 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4369 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4370 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4371 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4372 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4373 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4374 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4375 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4376 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4377 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4378 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4379 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4380 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4381 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4382 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4383 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4384 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4385 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4386 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4387 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4388 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4389 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4390 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4391 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4392 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4393 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4394 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4395 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4396 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4397 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4398 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4399 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4400 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4401 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4402 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4403 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4404 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4405 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4406 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4407 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4408 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4409 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4410 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4411 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4412 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4413 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4414 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4415 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4416 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4417 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4418 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4419 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4420 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4421 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4422 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4423 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4424 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4425 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4426 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4427 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4428 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4429 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4430 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4431 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4432 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4433 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4434 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4435 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4436 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4437 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4438 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4439 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4440 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4441 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4442 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4443 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4444 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4445 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4446 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4447 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4448 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4449 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4450 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4451 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4452 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4453 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4454 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4455 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4456 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4457 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4458 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4459 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4460 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4461 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4462 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4463 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4464
73c5ebe3
JM
4465 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4466 _XOPEN_SOURCE_EXTENDED for XPG4.
4467
39c33b6c
JM
4468 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4469
62fde54f
JM
4470 * Makeconfig (localtime): Remove variable.
4471 (inst_localtime-file): Likewise.
4472
0741d64c
AS
44732012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4474
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4476 Update.
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4478 Update.
4479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4480 Update.
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4482 Update.
4483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4484 Update.
4485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4486 Update.
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4488 Update.
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4490 Update.
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4492 Update.
4493
7cb029ee
JM
44942012-05-01 Joseph Myers <joseph@codesourcery.com>
4495
4496 [BZ #2550]
4497 [BZ #2570]
4498 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4499 comparisons to determine direction to adjust input.
4500 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4501 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4502 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4503 Likewise.
4504 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4505 Likewise.
4506 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4507 Likewise.
4508 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4509 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4510 Likewise.
4511 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4512 Likewise.
4513 * math/libm-test.inc (nexttoward_test): Add more tests.
4514
412bd966
AS
45152012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4516
4517 [BZ #14040]
4518 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4519 in version GLIBC_2.1, not GLIBC_2.0.
4520 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4521 Likewise.
4522
9568c0c2
JM
45232012-04-30 Joseph Myers <joseph@codesourcery.com>
4524
adfbc8ac
JM
4525 [BZ #13942]
4526 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4527 (1 - x) * (1 + x).
4528 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4529 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4530 * math/libm-test.inc (acos_test): Add more tests.
4531 (asin_test): Likewise.
4532 * sysdeps/i386/fpu/libm-test-ulps: Update.
4533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4534
5ba3cc69
JM
4535 [BZ #14034]
4536 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4537 of square root.
4538 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4539 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4540 * math/libm-test.inc (acos_test_tonearest): New function.
4541 (acos_test_towardzero): Likewise.
4542 (acos_test_downward): Likewise.
4543 (acos_test_upward): Likewise.
4544 (asin_test_tonearest): Likewise.
4545 (asin_test_towardzero): Likewise.
4546 (asin_test_downward): Likewise.
4547 (asin_test_upward): Likewise.
4548 (main): Call the new functions.
4549 * sysdeps/i386/fpu/libm-test-ulps: Update.
4550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4551
9568c0c2
JM
4552 [BZ #13884]
4553 [BZ #13924]
4554 * math/e_exp10.c: Include <float.h>.
4555 (__ieee754_exp10): Handle underflow here rather than multiplying
4556 large negative argument by M_LN10.
4557 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4558 of __ieee754_expf.
4559 * math/e_exp10l.c: Include <float.h>.
4560 (__ieee754_exp10l): Handle underflow here rather than multiplying
4561 large negative argument by M_LN10l.
4562 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4563 spurious overflow exception on underflow.
4564
5ac3ea17
MP
45652012-04-29 Marek Polacek <polacek@redhat.com>
4566
4567 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4568 (__fortify_function): New macro.
4569 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4570 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4571 __extern_always_inline.
4572 * libio/bits/stdio2.h: Likewise.
4573 * libio/bits/stdio.h: Likewise.
4574 * string/string.h: Likewise.
4575 * string/bits/string3.h: Likewise.
4576 * include/stdio.h: Likewise.
4577 * stdlib/bits/stdlib.h: Likewise.
4578 * stdlib/stdlib.h: Likewise.
4579 * rt/bits/mqueue2.h: Likewise.
4580 * rt/mqueue.h: Likewise.
4581 * posix/bits/unistd.h: Likewise.
4582 * posix/unistd.h: Likewise.
4583 * io/bits/poll2.h: Likewise.
4584 * io/bits/fcntl2.h: Likewise.
4585 * io/fcntl.h: Likewise.
4586 * io/sys/poll.h: Likewise.
4587 * misc/bits/syslog.h: Likewise.
4588 * misc/bits/syslog-ldbl.h: Likewise.
4589 * misc/sys/syslog.h: Likewise.
4590 * socket/bits/socket2.h: Likewise.
4591 * socket/sys/socket.h: Likewise.
4592 * debug/tst-chk1.c: Likewise.
4593 * wcsmbs/bits/wchar2.h: Likewise.
4594 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4595 * wcsmbs/wchar.h: Likewise.
4596
ecf0ebfb
AJ
45972012-04-29 Andreas Jaeger <aj@suse.de>
4598
4599 * Makerules (tests): Remove enable-check-abi protection.
4600 (check-abi-warn): Remove.
4601 (check-abi-%): Remove check-abi-warn usage.
4602
4603 * configure.in: Remove check-abi configure option.
4604 * configure: Regenerated.
4605 * config.make.in (enable-check-abi): Remove.
4606
6d5c57fa
AS
46072012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4608
24c5d07e 4609 [BZ #14033]
ded5180a
AS
4610 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4611 double functions to double *_finite functions.
4612
7e0d315d
AS
4613 [BZ #13941]
4614 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4615 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4616 LDBL_MIN_EXP.
4617 * stdio-common/Makefile (tests): Add tst-sprintf3.
4618 * stdio-common/tst-sprintf3.c: New file.
4619
6d5c57fa
AS
4620 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4621 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4622
0749ff8b
JM
46232012-04-28 Joseph Myers <joseph@codesourcery.com>
4624
4625 * conform/conformtest.pl: Remove duplicate typed-constant
4626 handling.
4627
8dbd5d7b
DM
46282012-04-28 David S. Miller <davem@davemloft.net>
4629
4630 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4631 (check-abi-%): Remove AWK script prerequisite and explicit
4632 abilist directory.
4633 (check-abi): Rewrite to just diff the symlist with the abilist.
4634 (config-tls, config-abi-config): Delete, no longer used.
4635 (update-abi-%): Remove AWK script and explicit abilist directory.
4636 (update-abi): Rewrite to simply compare and conditionally copy the
4637 symlist and the sysdep abilist file. Remove update-abi-config
4638 checks.
4639 * abilist/ld.abilist: Remove.
4640 * abilist/libBrokenLocale.abilist: Remove.
4641 * abilist/libanl.abilist: Remove.
4642 * abilist/libcrypt.abilist: Remove.
4643 * abilist/libdl.abilist: Remove.
4644 * abilist/librt.abilist: Remove.
4645 * abilist/libthread_db.abilist: Remove.
4646 * abilist/libutil.abilist: Remove.
4647 * scripts/extract-abilist.awk: Remove.
4648 * scripts/merge-abilist.awk: Remove.
4649 * sysdeps/generic/libcidn.abilist: New file.
4650 * sysdeps/generic/libnss_compat.abilist: New file.
4651 * sysdeps/generic/libnss_db.abilist: New file.
4652 * sysdeps/generic/libnss_dns.abilist: New file.
4653 * sysdeps/generic/libnss_files.abilist: New file.
4654 * sysdeps/generic/libnss_hesiod.abilist: New file.
4655 * sysdeps/generic/libnss_nis.abilist: New file.
4656 * sysdeps/generic/libnss_nisplus.abilist: New file.
4657 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4658 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4659 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4660 file.
4661 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4662 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4663 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4664 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4665 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4666 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4667 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4668 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4669 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4670 file.
4671 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4672 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4673 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4674 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4675 file.
4676 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4677 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4678 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4679 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4680 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4681 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4682 file.
4683 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4684 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4685 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4686 file.
4687 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4688 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4689 New file.
4690 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4691 New file.
4692 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4693 New file.
4694 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4695 New file.
4696 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4697 New file.
4698 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4699 New file.
4700 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4701 New file.
4702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4703 New file.
4704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4705 New file.
4706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4707 New file.
4708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4709 New file.
4710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4711 New file.
4712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4713 New file.
4714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4715 file.
4716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4717 New file.
4718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4719 New file.
4720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4721 file.
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4723 New file.
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4725 New file.
4726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4727 file.
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4729 New file.
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4731 New file.
4732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4733 New file.
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4735 New file.
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4737 New file.
4738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4739 New file.
4740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4741 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4742 file.
4743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4744 New file.
4745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4746 file.
4747 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4748 file.
4749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4750 file.
4751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4752 file.
4753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4754 file.
4755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4756 New file.
4757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4758 file.
4759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4760 file.
4761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4762 New file.
4763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4764 file.
4765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4767 file.
4768 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4769 New file.
4770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4771 file.
4772 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4773 file.
4774 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4775 file.
4776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4777 file.
4778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4779 file.
4780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4781 New file.
4782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4783 file.
4784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4785 file.
4786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4787 New file.
4788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4789 file.
4790 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4791 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4792 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4793 file.
4794 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4795 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4796 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4797 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4798 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4799 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4800 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4801 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4802 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4803 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4806 file.
4807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4808 New file.
4809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4810 file.
4811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4812 file.
4813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4814 file.
4815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4816 file.
4817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4818 file.
4819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4820 New file.
4821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4822 New file.
4823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4824 file.
4825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4826 New file.
4827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4828 file.
4829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4831 file.
4832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4833 New file.
4834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4835 file.
4836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4837 file.
4838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4839 file.
4840 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4841 file.
4842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4843 file.
4844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4845 New file.
4846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4847 New file.
4848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4849 file.
4850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4851 New file.
4852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4853 file.
4854
41d73a1b
JM
48552012-04-28 Joseph Myers <joseph@codesourcery.com>
4856
4857 * conform/conformtest.pl: Fix typo in handling typed-constant from
4858 allow-header.
4859
28aeeda4
JM
48602012-04-27 Joseph Myers <joseph@codesourcery.com>
4861
adae8f5e
JM
4862 * README: Cut down references to pre-2.6 Linux kernels and
4863 Linuxthreads. Update lists of configurations in libc and ports
4864 and sort alphabetically. Say "or newer" with Linux kernel version
4865 requirements.
4866
28aeeda4
JM
4867 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4868
a462cb63
RA
48692012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4870
4871 [BZ #887]
4872 * math/libm-test.inc (logb_test_downward): New test to expose
4873 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4874 rounding mode.
4875
6ad3493e
JM
48762012-04-27 Joseph Myers <joseph@codesourcery.com>
4877
4878 [BZ #14027]
4879 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4880 to be done.
4881 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4882 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4883
2ce4f015
JM
48842012-04-26 Joseph Myers <joseph@codesourcery.com>
4885
5aeb141a
JM
4886 * sysdeps/unix/i386/brk.S: Remove file.
4887 * sysdeps/unix/i386/dl-brk.S: Likewise.
4888 * sysdeps/unix/i386/pipe.S: Likewise.
4889 * sysdeps/unix/i386/sigreturn.S: Likewise.
4890 * sysdeps/unix/i386/syscall.S: Likewise.
4891 * sysdeps/unix/i386/vfork.S: Likewise.
4892 * sysdeps/unix/i386/wait.S: Likewise.
4893
7143acae
JM
4894 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4895 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4896
2ce4f015
JM
4897 * configure.in (arm*-none*): Do not allow without
4898 --enable-hacker-mode.
4899 (netbsd*): Remove case setting base_os.
4900 (386bsd*): Likewise.
4901 (freebsd*): Likewise.
4902 (bsdi*): Likewise.
4903 (osf*): Likewise.
4904 (sunos*): Likewise.
4905 (ultrix*): Likewise.
4906 (newsos*): Likewise.
4907 (dynix*): Likewise.
4908 (*bsd*): Likewise.
4909 (sysv*): Likewise.
4910 (isc*): Likewise.
4911 (esix*): Likewise.
4912 (sco*): Likewise.
4913 (minix*): Likewise.
4914 (irix4*): Likewise.
4915 (irix6*): Likewise.
4916 (solaris[2-9]*): Likewise.
4917 (none): Likewise.
4918 * configure: Regenerated.
4919
0ac229c8
AZ
49202012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4921
4922 [BZ #11521]
4923 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4924 overflow or cancellation in calculating denominator.
4925 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4926 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4927 down expression to avoid unexpected rounding in newer GCCs.
4928 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4929
33f244f4
DM
49302012-04-26 David S. Miller <davem@davemloft.net>
4931
4932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4933 long-double compat symbols.
4934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4947
cfa1f3e8
DM
49482012-04-25 David S. Miller <davem@davemloft.net>
4949
4950 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4951 HWCAP_* values only after the memory barriers have been defined.
4952 (atomic_full_barrier): Define.
4953 (atomic_read_barrier): Define.
4954 (atomic_write_barrier): Define.
4955
6e236b92
SP
49562012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4957
4958 * shlib-versions: Add libgcc_s version information.
4959 * sysdeps/generic/libgcc_s.h: Remove.
4960 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4961 libgcc_s.h.
4962 * sysdeps/gnu/unwind-resume.c: Likewise.
4963 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4964
aab39a09
DM
49652012-04-25 David S. Miller <davem@davemloft.net>
4966
4967 * sysdeps/unix/sparc/brk.S: Delete.
4968 * sysdeps/unix/sparc/dl-brk.S: Delete.
4969 * sysdeps/unix/sparc/pipe.S: Delete.
4970 * sysdeps/unix/sparc/sysdep.S: Delete.
4971 * sysdeps/unix/sparc/sysdep.h: Delete.
4972 * sysdeps/unix/sparc/vfork.S: Delete.
4973 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4974 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4975 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4976 ret_ERRVAL, r0, r1, MOVE): Define.
4977 (JUMPTARGET): Remove.
4978 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4979 sysdeps/unix/sparc/sysdep.h
4980 (ENTRY, END): Remove.
4981 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4982
a3cc4f48
JM
49832012-04-25 Joseph Myers <joseph@codesourcery.com>
4984
2ed8cda2
JM
4985 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4986 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4987 -DIS_IN_build.
4988
35d76d59
JM
4989 * timezone/README: Update upstream location and email address for
4990 tzcode and tzdata.
4991 * timezone/zdump.c: Update from tzcode 2012b.
4992 * timezone/zic.c: Likewise.
4993
a3cc4f48
JM
4994 * configure.in (libc_cv_as_needed): Remove test.
4995 * configure: Regenerated.
4996 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4997 conditional definition.
4998 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4999 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5000 * config.make.in (have-as-needed): Remove variable.
5001
ceab42c3
SP
50022012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5003 Paul Pluzhnikov <ppluzhnikov@google.com>
5004
5005 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5006 strings correctly.
5007
3ce2865f
CLT
50082012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5009
5010 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5011 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5012 * sysdeps/sh/strlen.S: Likewise.
5013
f37e0d68
JM
50142012-04-24 Joseph Myers <joseph@codesourcery.com>
5015
ae186e9a
JM
5016 * sysdeps/unix/fork.S: Remove file.
5017 * sysdeps/unix/i386/fork.S: Likewise.
5018 * sysdeps/unix/sparc/fork.S: Likewise.
5019
b96914af
JM
5020 * sysdeps/unix/system.c: Remove file.
5021 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5022
f37e0d68
JM
5023 * sysdeps/unix/getegid.S: Remove file.
5024 * sysdeps/unix/geteuid.S: Likewise.
5025
87ef29ca
RM
50262012-04-24 Roland McGrath <roland@hack.frob.com>
5027
83bcd236
RM
5028 * scripts/check-localplt.awk: New file.
5029 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5030 of diff.
5031 * scripts/data/localplt-generic.data: Add a comment.
5032
87ef29ca
RM
5033 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5034 NODE when __dir_mkfile failed.
5035 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5036 Reported by Ludovic Courtès <ludo@gnu.org>.
5037
e5a6e567
AJ
50382012-04-24 Andreas Jaeger <aj@suse.de>
5039
5040 * Makerules (common-clean): Also remove gen-as-const-headers
5041 files.
5042
c1820385
JM
50432012-04-24 Joseph Myers <joseph@codesourcery.com>
5044
5045 * Makerules (native-compile): Do not change working directory for
5046 build. Use $(OUTPUT_OPTION) in command.
5047 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5048
94e02fc4
AZ
50492012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5050
5051 [BZ #13886]
5052 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5053 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5054 * math/libm-test.inc (floor_test): Add more tests.
5055 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5056
3a533ca3
JM
50572012-04-24 Joseph Myers <joseph@codesourcery.com>
5058
940ab4b3
JM
5059 * sysdeps/unix/getdents.c: Remove file.
5060 * sysdeps/unix/sysv/getdents.c: Likewise.
5061 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5062
90e037bd
JM
5063 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5064 sysdeps/unix/mman/syscalls.list.
5065 (mmap): Likewise.
5066 (mprotect): Likewise.
5067 (msync): Likewise.
5068 (munmap): Likewise.
5069 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5070 * sysdeps/unix/mman/syscalls.list: Remove.
5071 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5072
3a533ca3
JM
5073 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5074 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5075 * configure: Regenerated.
5076 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5077 $(libgcc_s_suffix).
5078 * config.make.in (libgcc_s_suffix): Remove variable.
5079
1ad743de
JM
50802012-04-23 Joseph Myers <joseph@codesourcery.com>
5081
4ad451e2
JM
5082 * sysdeps/unix/sysv/gethostname.c: Move to ...
5083 * sysdeps/posix/gethostname.c: ... here.
5084
5e37ce39
JM
5085 * sysdeps/unix/execve.S: Remove file.
5086
1ad743de
JM
5087 * sysdeps/unix/_exit.S: Remove file.
5088
4e681b5b
AJ
50892012-04-23 Andreas Jaeger <aj@suse.de>
5090
5091 [BZ #13739]
5092 * manual/Makefile: Remove make dist support, there's no
5093 need for a stand-alone documentation tar ball.
5094 (TEXI2DVI): Define always, it's not in Makeconfig.
5095 (dist): Removed.
5096 (tar-it): Removed.
5097 (edition): Removed.
5098 (glibc-doc-$(edition).tar): Removed
5099 (%.Z): Removed.
5100 (%.gz): Removed.
5101 (%.uu): Removed.
5102 (ETAGS): Remove, it's in Makeconfig.
5103 (move-if-change): Remove, it's in Makeconfig.
5104
c0baea34
PE
51052013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5106
5107 [BZ #13970]
5108 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5109 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5110 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5111 (strtod_l, strtof_l, strtold_l): Remove __wur.
5112 It is not necessarily an error to ignore strtol's return value.
5113 One can reliably look at the stored endptr to decide whether
5114 the number had valid syntax.
5115
7c0616fa
AJ
51162012-04-21 Andreas Jaeger <aj@suse.de>
5117
803cb6b7 5118 [BZ #13739]
7c0616fa
AJ
5119 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5120
b0fe253f
JM
51212012-04-21 Joseph Myers <joseph@codesourcery.com>
5122
5123 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5124 * sysdeps/unix/sysv/Versions: Remove file.
5125
8280f22d
MT
51262012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5127
5128 [BZ #13927]
5129 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5130
75ce411f 51312012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5132
5133 [BZ #7064]
5134 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5135 version from __vm86.
5136
097d59fa
JM
51372012-04-20 Joseph Myers <joseph@codesourcery.com>
5138
a90f3bcb
JM
5139 * sysdeps/unix/common/lxstat.c: Remove file.
5140 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5141
edc7ea78
JM
5142 * sysdeps/unix/sysv/Makefile: Remove file.
5143
cb78c221
JM
5144 * sysdeps/unix/sysv/direct.h: Remove file.
5145
efa6a45f
JM
5146 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5147 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5148 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5149 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5150 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5151 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5152 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5153
9c9f2d0c
JM
5154 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5155
4541c83b
JM
5156 * sysdeps/unix/xmknod.c: Remove file.
5157 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5158
f5d153a0
JM
5159 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5160
aa746595
JM
5161 * sysdeps/unix/sysv/i386/time.S: Remove file.
5162
cce5905e
JM
5163 * sysdeps/unix/fxstat.c: Remove file.
5164 * sysdeps/unix/xstat.c: Likewise.
5165 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5166
37fa3841
JM
5167 * sysdeps/unix/sysv/sigaction.c: Remove file.
5168
ff1962a3
JM
5169 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5170 (sysdep_headers): Remove variable.
5171 [termio.h not in sysdep_headers] (generated): Likewise.
5172 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5173 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5174 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5175 * sysdeps/unix/sysv/tcflow.c: Likewise.
5176 * sysdeps/unix/sysv/tcflush.c: Likewise.
5177 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5178 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5179 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5180 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5181 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5182
e7740d31
JM
5183 * sysdeps/unix/siglist.c: Remove file.
5184
ee06f18b
JM
5185 * sysdeps/unix/getppid.S: Remove file.
5186
097d59fa
JM
5187 * sysdeps/unix/mkdir.c: Remove file.
5188 * sysdeps/unix/rmdir.c: Likewise.
5189
ff3d51ec
AS
51902012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5191
5192 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5193 ERR_MAX value.
5194 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5195 errlist-compat value.
5196
50f81fd7
DM
51972012-04-18 David S. Miller <davem@davemloft.net>
5198
5199 * sysdeps/generic/memcopy.h (reg_char): Delete.
5200 * debug/strcat_chk.c: Use char, not reg_char.
5201 * debug/strcpy_chk.c: Likewise.
5202 * debug/strncat_chk.c: Likewise.
5203 * debug/strncpy_chk.c: Likewise.
5204 * string/memchr.c: Likewise.
5205 * string/memrchr.c: Likewise.
5206 * string/rawmemchr.c: Likewise.
5207 * string/strcat.c: Likewise.
5208 * string/strchr.c: Likewise.
5209 * string/strchrnul.c: Likewise.
5210 * string/strcmp.c: Likewise.
5211 * string/strcpy.c: Likewise.
5212 * string/strncat.c: Likewise.
5213 * string/strncmp.c: Likewise.
5214 * string/strncpy.c: Likewise.
5215
8ff41c46
WS
52162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5217
5218 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5219 __builtin_memcopy is called when src and dest ranges are known to not
5220 overlap.
5221
6b652f46
WS
52222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5223
5224 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5225 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5226 fwd_align_merge macro call.
5227 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5228 bwd_align_merge macro call.
5229 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5230
b282631e
WS
52312012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5232
5233 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5234 bwd_align_merge macros.
5235 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5236 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5237 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5238
95aa737c
DM
52392012-04-18 David S. Miller <davem@davemloft.net>
5240
5241 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5242
7a99a614
AJ
52432012-04-18 Andreas Jaeger <aj@suse.de>
5244
5245 [BZ# 6794]
5246 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5247 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5248 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5249
5250 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5251 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5252 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5253
5254 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5255 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5256 Adjust for changed ldbl-128 files.
5257
5258 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5259 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5260 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5261
e5270c23
DM
52622012-04-17 David S. Miller <davem@davemloft.net>
5263
5264 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5265
fb5e92c9
AS
52662012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5267
5268 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5269 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5270 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5271 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5272 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5273 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5274
76da7265
AZ
52752012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5276
5277 [BZ #6794]
5278 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5279 * math/libm-test.inc: Add ilogb errno and exception tests.
5280 * math/w_ilogb.c: New file: ilogb wrapper.
5281 * math/w_ilogbf.c: New file: ilogbf wrapper.
5282 * math/w_ilogbl.c: New file: ilogbl wrapper.
5283 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5284 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5285 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5286 exception being thrown with 0.0 as argument.
5287 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5288 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5289 exception being thrown with 0.0 as argument.
5290 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5291 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5292 exception being thrown with 0.0 as argument.
5293 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5294 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5295 exception being thrown with 0.0 as argument.
5296 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5297 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5298 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5299 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5300 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5301 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5302 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5303 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5304 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5305
0396e69d
PB
53062012-04-17 Petr Baudis <pasky@ucw.cz>
5307
5308 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5309 with altivec.
5310
750b5926
MP
53112012-04-16 Marek Polacek <polacek@redhat.com>
5312
5313 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5314
751728a1
MP
53152012-04-16 Marek Polacek <polacek@redhat.com>
5316
5317 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5318 operands of fdivp instruction.
5319
34a27407
L
53202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5321
5322 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5323 * elf/tst-auditmod3b.c: Likewise.
5324 * elf/tst-auditmod4b.c: Likewise.
5325 * elf/tst-auditmod5b.c: Likewise.
5326 * elf/tst-auditmod6b.c: Likewise.
5327 * elf/tst-auditmod6c.c: Likewise.
5328 * elf/tst-auditmod7b.c: Likewise.
5329 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5330 * sysdeps/x86_64/preconfigure.in: Likewise.
5331 * sysdeps/x86_64/preconfigure: Regenerated.
5332
7e73e17d
L
53332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5334
5335 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5336 __ILP32__.
5337
c7a6ab72
AB
53382012-04-13 Antoine Balestrat <merkil33@gmail.com>
5339
5340 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5341 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5342
a9e8e0e0
CL
53432012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5344
5345 [BZ #13973]
5346 * locale/iso-639.def: Fix gl language name. Spotted by
5347 Yaron Shahrabani.
5348
ec98af7d
RM
53492012-04-12 Roland McGrath <roland@hack.frob.com>
5350
5351 [BZ #2074]
5352 * libio/libio.h (__io_write_fn): Update comment.
5353
247c3ede
PB
53542012-04-12 Petr Baudis <pasky@ucw.cz>
5355
5356 [BZ #2074]
5357 * stdio.texi (Hook Functions): The user provided writer function
5358 is not allowed to return -1.
5359
55939d6d
DM
53602012-04-11 David S. Miller <davem@davemloft.net>
5361
5362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5363
90020f5a
MF
53642012-04-11 Mike Frysinger <vapier@gentoo.org>
5365
5366 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5367 Add a leading slash to rtkaio.
5368
288f9098
JM
53692012-04-11 Jim Meyering <meyering@redhat.com>
5370
90020f5a
MF
5371 [BZ #11959]
5372 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5373 It is not necessarily an error to ignore fwrite's return
5374 value. One can reliably use ferror to test for errors after
5375 the fact.
288f9098 5376
4be2b570
L
53772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5378
5379 * bits/types.h (__snseconds_t): New type.
5380 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5381
5382 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5383 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5384 (__SNSECONDS_T_TYPE): Likewise.
5385 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5386 (__SNSECONDS_T_TYPE): Likewise.
5387 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5388 (__SNSECONDS_T_TYPE): Likewise.
5389
288f9098 53902012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5391
5392 [BZ #2636]
5393 * manual/time.texi (Processor Time): Return type of times is
5394 elapsed real time since an arbitrary point in the past.
5395 (CPU Time): Move CLK_TCK from here...
5396 (Processor Time): ...to here. Correct description.
5397 * manual/conf.texi (Constants for Sysconf): Correct description of
5398 _SC_CLK_TCK.
5399
d7dd4413
DM
54002012-04-10 David S. Miller <davem@davemloft.net>
5401
5402 [BZ #13967]
5403 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5404 where the is a gap between DT_REL(A) and DT_JMPREL.
5405
b46068fc
L
54062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5407
5408 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5409 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5410 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5411
73d65cc3
SP
54122012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5413
5414 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5415 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5416 (dl_main): Handle --inhibit-cache.
5417 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5418 _dl_inhibit_cache.
5419 * elf/dl-load.c (_dl_map_object): Use it.
5420 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5421
bcc8d661
JM
54222012-04-09 Joseph Myers <joseph@codesourcery.com>
5423
8f9a2fae
JM
5424 [BZ #13872]
5425 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5426 (__ieee754_powl): Saturate large exponents rather than testing for
5427 overflow of y*log2(x).
5428 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5429 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5430 exceptions.
5431
bcc8d661
JM
5432 [BZ #11521]
5433 * math/s_ctan.c: Include <float.h>.
5434 (__ctan): Avoid internal overflow or cancellation in calculating
5435 denominator.
5436 * math/s_ctanf.c: Likewise.
5437 * math/s_ctanl.c: Likewise.
5438 * math/s_ctanh.c: Likewise.
5439 * math/s_ctanhf.c: Likewise.
5440 * math/s_ctanhl.c: Likewise.
5441 * math/libm-test.inc (ctan_test): Add more tests.
5442 (ctanh_test): Likewise.
5443 * sysdeps/i386/fpu/libm-test-ulps: Update.
5444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5445
823fbbb4
AJ
54462012-04-09 Andreas Jaeger <aj@suse.de>
5447
03879793
AJ
5448 [BZ #6894]
5449 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5450 is an optional BSD extension.
5451
823fbbb4
AJ
5452 [BZ #10254]
5453 * manual/stdio.texi (Opening Streams): Document additional fopen
5454 parameters.
5455
8de131cb
RM
54562012-04-09 Roland McGrath <roland@hack.frob.com>
5457
5458 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5459 %eax without telling the compiler.
5460
c0ed9d7d
CD
54612012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5462
5463 [BZ # 13963]
5464 * manual/install.texi: Use sourceware.org.
5465
c483f6b4
JM
54662012-04-09 Joseph Myers <joseph@codesourcery.com>
5467
d7dd9453
JM
5468 [BZ #13873]
5469 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5470 (__ieee754_pow): Generate overflow and underflow using huge*huge
5471 and tiny*tiny rather than just returning constant infinity or zero
5472 for large exponents.
5473 * math/libm-test.inc (pow_test): Require overflow exceptions for
5474 applicable cases of large exponents.
5475
c483f6b4
JM
5476 [BZ #706]
5477 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5478 (__ieee754_pow): Use iterative multiplication algorithm only for
5479 integer exponents with absolute value below 1024. Check for odd
5480 integer exponents when using algorithm for real exponents.
5481 * math/libm-test.inc (pow_test): Add more tests.
5482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5483
d2de7579
JM
54842012-04-08 Joseph Myers <joseph@codesourcery.com>
5485
5486 [BZ #13705]
5487 * math/libm-test.inc (exp_test): Do not allow overflow exception
5488 on underflow test.
5489
f77f1232
AJ
54902012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5491
5492 [BZ #13705]
5493 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5494 instead of __kernel_standard_f.
5495
3884932b
MF
54962012-04-08 Mike Frysinger <vapier@gentoo.org>
5497
5498 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5499 * sysdeps/x86_64/memset_chk.S: Likewise.
5500
54472e9c
AJ
55012012-04-08 Andreas Jaeger <aj@suse.de>
5502
6ab0fbfc
AJ
5503 [BZ #10153]
5504 * manual/startup.texi (Environment Access): Describe return value
5505 for putenv and setenv.
5506
61efba8c
AJ
5507 [BZ #6895]
5508 * manual/filesys.texi (Directory Entries): Add description for
5509 DT_LNK.
5510
95c3f29a
AJ
5511 [BZ #6890]
5512 * manual/filesys.texi (Directory Entries): Clarify that it's file
5513 system not operating system in the description of DT_UNKNOWN.
5514
54472e9c
AJ
5515 [BZ #6578]
5516 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5517
624254b1
SC
55182012-04-08 Stephen Compall <s11@member.fsf.org>
5519
5520 [BZ #6649]
5521 * manual/llio.texi (Opening and Closing Files): Add cross
5522 reference to explain mode argument.
5523
1e4920e0
MF
55242012-04-07 Mike Frysinger <vapier@gentoo.org>
5525
5526 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5527 * sysdeps/x86_64/memset_chk.S: Likewise.
5528
5ed848f3
DM
55292012-04-07 David S. Miller <davem@davemloft.net>
5530
5531 * elf/elf.h (R_SPARC_WDISP10): Define.
5532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5533 R_SPARC_SIZE32.
5534 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5535 R_SPARC_SIZE64 and R_SPARC_H34.
5536
96154cd8
CD
55372012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5538
5539 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5540 conditions and remove no longer applicable assertion.
5541
9904dc47
L
55422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5543
5544 * bits/byteswap.h: Include <features.h>.
5545 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5546 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5547
f8887d0a
L
55482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5549
5550 * bits/byteswap.h (__bswap_16): Removed.
5551 Include <bits/byteswap-16.h> to get __bswap_16.
5552 * sysdeps/i386/bits/byteswap.h: Likewise.
5553 * sysdeps/s390/bits/byteswap.h: Likewise.
5554 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5555 * bits/byteswap-16.h: New file.
5556 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5557 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5558 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5559 * string/Makefile (headers): Add bits/byteswap-16.h.
5560
62470f60
PP
55612012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5562
5563 [BZ #13895]
5564 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5565 extra indirection.
5566 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5567 * nss/tst-nss-static.c: New.
5568
4dad7bab
RM
55692012-04-06 Robert Millan <rmh@gnu.org>
5570
5571 [BZ #6486]
5572 * manual/llio.texi (File Position Primitive): lseek
5573 refers to WHENCE when it really means OFFSET.
5574
e9142a17
AJ
55752012-04-06 Andreas Jaeger <aj@suse.de>
5576
2c040eff
AJ
5577 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5578 strncmp declarations.
5579
e9142a17
AJ
5580 * abilist/libc.abilist: Add __poll and __ppoll.
5581
ff9f1c5f
DM
55822012-04-05 David S. Miller <davem@davemloft.net>
5583
dcd2ae90
DM
5584 * scripts/check-local-headers.sh: Accept a host triplet in the
5585 path matched by the exclude regexp.
5586
993eb054
DM
5587 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5588 definition.
5589 * sysdeps/powerpc/powerpc32/dl-machine.h
5590 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5591 * sysdeps/s390/s390-32/dl-machine.h
5592 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5593 * sysdeps/sparc/sparc32/dl-machine.h
5594 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5595 * sysdeps/sparc/sparc64/dl-machine.h
5596 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5597
ff9f1c5f
DM
5598 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5599 lazy binding.
48e2e132 5600 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5601 undefined symbol errors.
5602
48e2e132 5603 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5604 DT_NEEDED entries.
5605
e80d6f94
MM
56062012-04-05 Michael Matz <matz@suse.de>
5607
5608 [BZ #13592]
5609 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5610
349fa79f
AJ
56112012-04-05 Andreas Jaeger <aj@suse.de>
5612
5613 [BZ #13908]
5614 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5615 comment.
5616
f402708f
KK
56172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5618
5619 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5620 which ROUND is no valid rounding mode.
5621
2ecccfc9
KK
56222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5623
5624 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5625 read again.
5626 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5627
8a53f50f
KK
56282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5629
5630 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5631 an exception using FPU order intentionally.
5632
56332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5634
5635 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5636 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5637 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5638 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5639
d653abb7
SJ
56402012-04-05 Simon Josefsson <simon@josefsson.org>
5641
5642 [BZ #12340]
5643 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5644 EINVAL when BUFLEN is too smal.
5645
c3b1bf7d
TS
56462012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5647
5648 [BZ #13553]
5649 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5650 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5651
b1aa60f3
AJ
56522012-04-03 Andreas Jaeger <aj@suse.de>
5653
c3b1bf7d 5654 [BZ #13938]
67f60a26
AJ
5655 * manual/setjmp.texi (System V contexts): Fix sentence.
5656
b1aa60f3
AJ
5657 [BZ #13926]
5658 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5659 New macro for this case.
5660 [!__GNUC__] (__bswap_64): New inline function for this case.
5661 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5662 * bits/byteswap.h: Likewise.
5663 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5664 ull, guard with __GLIBC_HAVE_LONG_LONG.
5665
5666 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5667 __GLIBC_HAVE_LONG_LONG.
5668
5669 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5670 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5671
39c59c35
TMQMF
56722012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5673
5674 [BZ #13691]
5675 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5676 inptr and inend, rather than using last_ch.
5677
135ffda8
DM
56782012-04-02 David S. Miller <davem@davemloft.net>
5679
5680 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5681 * stdio-common/printf-parse.h (read_int): Change return type to
5682 'int', return -1 on INT_MAX overflow.
5683 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5684 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5685 overflows INT_MAX. Check for overflow of in-format-string precision
5686 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5687 SIZE_MAX not INT_MAX for integer overflow test.
5688 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5689 skip the construct in the format string but do not record anything.
5690 * stdio-common/bug22.c: Adjust to test both width/prevision
5691 INT_MAX overflow as well as total length INT_MAX overflow. Check
5692 explicitly for proper errno values.
5693
228c019e
TS
56942012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5695
302cadd3
TS
5696 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5697 CHAR_MAX.
5698 * string/test-strcmp.c [! WIDE]: Likewise.
5699 * time/tst-mktime2.c: Likewise for INT_MAX.
5700 * string/test-string.h: #include <sys/param.h> for MIN.
5701
228c019e
TS
5702 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5703 * sysdeps/i386/init-first.c (init): Likewise.
5704 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5705 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5706 * sysdeps/sh/init-first.c (init): Likewise.
5707
cfa633f5
UD
57082012-04-01 Ulrich Drepper <drepper@gmail.com>
5709
5710 * po/ru.po: Update from translation team.
d1635ef8 5711 * po/vi.po: Likewise.
cfa633f5 5712
6cd0a5ea
SP
57132012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5714
5715 * resolv/nss_dns/dns-host.c: Merge copyright years.
5716
4b43400f
LD
57172012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5718
5719 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5720 Optimize memcpy with prefetch if
5721 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5722 src, dst pointers have unequal 16 byte alignments.
5723
48c41d04
SP
57242012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5725
5726 [BZ #13928]
5727 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5728 from a CNAME entry and return the minimum ttl for the query.
5729 (gaih_getanswer_slice): Likewise.
5730
b8dc394d
JL
57312012-03-30 Jeff Law <law@redhat.com>
5732
5733 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5734 due to long keys.
5735 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5736 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5737
2f5a5ed0
JL
5738 * resolv/nss_dns/dns-host.c: Update copyright year.
5739
1d39e359
UD
57402012-03-30 Ulrich Drepper <drepper@gmail.com>
5741
c030f70c 5742 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5743 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5744
1d39e359
UD
5745 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5746 comments for sendmmsg.
5747
57482012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5749
5750 [BZ #13691]
5751 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5752 with only 1 character between 0x0041 and 0x01b0.
5753 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5754 * wcsmbs/tst-mbsnrtowcs.c: New file.
5755
20fde227
DM
57562012-03-29 David S. Miller <davem@davemloft.net>
5757
5758 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5759 small copies by hand.
5760
984a4237
JL
57612012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5762
5763 [BZ #13761]
5764 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5765 _nss_compat_initgroups_dyn): Fall back to malloc/free
5766 for large group memberships.
5767
18c9d62b
DM
57682012-03-28 David S. Miller <davem@davemloft.net>
5769
88d85d4f
DM
5770 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5771 that branches into memcpy.
5772 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5774 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5775 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5776 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5777 bits.
5778 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5779 implementation too.
5780 * sysdeps/sparc/mempcpy.S: New file.
5781
e5aa83e1
DM
5782 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5783 the IFUNC routine in the libc case.
5784 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5785
88570753
DM
5786 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5787 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5788 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5789 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5790 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5791 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5792 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5793 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5794
249d7567
DM
5795 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5796 loop to 256 bytes instead of 64 bytes and fix test signedness.
5797
18c9d62b
DM
5798 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5799 * sysdeps/sparc/sparc32/Makefile: rather than here...
5800 * sysdeps/sparc/sparc64/Makefile: and here.
5801
05f3d1f6
UD
58022012-03-28 Ulrich Drepper <drepper@gmail.com>
5803
5804 * malloc/mallocbug.c: Avoid warnings about unused variables.
5805
86ae07a8
JL
58062012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5807
5808 [BZ #13760]
5809 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5810 in the right place. Discard and retry query if response is
5811 larger than input buffer size.
5812
41bf21a1
JM
58132012-03-28 Joseph Myers <joseph@codesourcery.com>
5814
d6270972
JM
5815 [BZ #369]
5816 [BZ #2678]
5817 [BZ #3866]
5818 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5819 x for large integer exponent.
5820 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5821 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5822 sign of result as needed afterwards.
5823 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5824 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5825 result for underflowing pow the same as for overflow.
5826 (__kernel_standard_l): Handle powl overflow and underflow here
5827 rather than calling __kernel_standard.
5828 * math/libm-test.inc (pow_test): Add more tests.
5829
414fca03 5830 [BZ #3868]
41bf21a1
JM
5831 [BZ #13879]
5832 [BZ #13910]
5833 [BZ #13911]
5834 [BZ #13912]
5835 [BZ #13913]
5836 [BZ #13915]
5837 [BZ #13916]
5838 [BZ #13917]
5839 [BZ #13918]
5840 [BZ #13919]
5841 [BZ #13920]
5842 [BZ #13921]
5843 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5844 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5845 (__kernel_standard_l): New function.
5846 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5847 __kernel_standard.
5848 * math/w_acosl.c (__acosl): Likewise.
5849 * math/w_asinl.c (__asinl): Likewise.
5850 * math/w_atan2l.c (__atan2l): Likewise.
5851 * math/w_atanhl.c (__atanhl): Likewise.
5852 * math/w_coshl.c (__coshl): Likewise.
5853 * math/w_exp10l.c (__exp10l): Likewise.
5854 * math/w_exp2l.c (__exp2l): Likewise.
5855 * math/w_fmodl.c (__fmodl): Likewise.
5856 * math/w_hypotl.c (__hypotl): Likewise.
5857 * math/w_j0l.c (__j0l, __y0l): Likewise.
5858 * math/w_j1l.c (__j1l, __y1l): Likewise.
5859 * math/w_jnl.c (__jnl, __ynl): Likewise.
5860 * math/w_lgammal.c (__lgammal): Likewise.
5861 * math/w_log10l.c (__log10l): Likewise.
5862 * math/w_log2l.c (__log2l): Likewise.
5863 * math/w_logl.c (__logl): Likewise.
5864 * math/w_powl.c (__powl): Likewise.
5865 * math/w_remainderl.c (__remainderl): Likewise.
5866 * math/w_scalbl.c (sysv_scalbl): Likewise.
5867 * math/w_sinhl.c (__sinhl): Likewise.
5868 * math/w_sqrtl.c (__sqrtl): Likewise.
5869 * math/w_tgammal.c (__tgammal): Likewise.
5870 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5871 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5872 * math/libm-test.inc (acos_test): Add more tests.
5873 (acosh_test): Likewise.
5874 (asin_test): Likewise.
5875 (atanh_test): Likewise.
5876 (exp_test): Likewise.
5877 (exp10_test): Likewise.
5878 (exp2_test): Likewise.
5879 (expm1_test): Likewise.
5880 (lgamma_test): Likewise.
5881 (log_test): Likewise.
5882 (log10_test): Likewise.
5883 (log1p_test): Likewise.
5884 (log2_test): Likewise.
5885 (pow_test): Do not allow some spurious overflow exceptions.
5886 (sqrt_test): Add more tests.
5887 (tgamma_test): Likewise.
5888 (y0_test): Likewise.
5889 (y1_test): Likewise.
5890 (yn_test): Likewise.
5891
dd62fda6
AB
58922012-03-27 Anton Blanchard <anton@samba.org>
5893
5894 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5895 MAP_HUGETLB.
5896 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5897 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5899
1e3cdfda
AJ
59002012-03-27 David S. Miller <davem@davemloft.net>
5901
b855ab85
DM
5902 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5903
1e3cdfda
AJ
5904 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5905 have-as-vis3 check.
5906
59072012-03-27 Andreas Jaeger <aj@suse.de>
5908
5909 * sysdeps/x86_64/elf/configure.in: Moved to ...
5910 * sysdeps/x86_64/configure.in: ... here.
5911 * sysdeps/x86_64/elf/start.S: Moved to ...
5912 * sysdeps/x86_64/start.S: ... here.
5913 * sysdeps/x86_64/elf/configure: Delete.
5914
5915 * sysdeps/x86_64/configure.in: Merge contents from
5916 sysdeps/i386/configure.in (without i686 check).
5917
5918 * sysdeps/i386/elf/Versions: Merge into ...
5919 * sysdeps/i386/Versions: ... this.
5920 * sysdeps/i386/elf/Versions: Delete file.
5921 * sysdeps/i386/elf/start.S: Moved to ...
5922 * sysdeps/i386/start.S: ...here.
5923 * sysdeps/i386/elf/configure.in: Merge into...
5924 * sysdeps/i386/configure.in: ...here.
5925 * sysdeps/i386/elf/configure.in: Delete file.
5926 * sysdeps/i386/elf/configure: Delete file.
5927
5928 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5929 * debug/backtracesyms.c: ... here.
5930 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5931 * debug/backtracesymsfd.c: ... here.
5932 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5933 * sysdeps/generic/ifunc-sel.h: ... here.
5934
5935 * sysdeps/unix/i386/start.c: Delete file.
5936 * sysdeps/unix/sparc/start.c: Delete file.
5937 * sysdeps/unix/start.c: Delete file.
5938
5939 * sysdeps/sh/elf/configure.in: Moved to ...
5940 * sysdeps/sh/configure.in: ... here.
5941 * sysdeps/sh/elf/start.S: Moved to ...
5942 * sysdeps/sh/start.S: ... here.
5943 * sysdeps/sh/elf/configure: Delete file.
5944
5945 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5946 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5947 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5948 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5949 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5950 * sysdeps/powerpc/powerpc64/start.S: here.
5951 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5952 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5953 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5954 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5955 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5956
5957 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5958 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5959 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5960 * sysdeps/powerpc/powerpc32/start.S: ... here.
5961 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5962 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5963 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5964
5965 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5966 * sysdeps/powerpc/ifunc-sel.h: ... here.
5967 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5968 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5969
5970 * sysdeps/sparc/elf/configure.in: Moved to ...
5971 * sysdeps/sparc/configure.in: ... here.
5972 * sysdeps/sparc/elf/configure: Delete file.
5973 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5974 * sysdeps/sparc/sparc32/start.S: ... here.
5975 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5976 * sysdeps/sparc/sparc64/start.S: ... here.
5977 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5978 * sysdeps/sparc/sparc32/Makefile: ... this.
5979 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5980 * sysdeps/sparc/sparc64/Makefile: ... this.
5981
5982 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5983 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5984 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5985 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5986 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5987 * sysdeps/s390/s390-32/setjmp.S: ... here.
5988 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5989 * sysdeps/s390/s390-32/configure.in: ... here.
5990 * sysdeps/s390/s390-32/elf/configure: Delete file.
5991 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5992 * sysdeps/s390/s390-32/start.S: ... here.
5993
5994 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5995 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5996 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5997 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5998 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5999 * sysdeps/s390/s390-64/setjmp.S: ... here.
6000 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6001 * sysdeps/s390/s390-64/configure.in: ... here
6002 * sysdeps/s390/s390-64/elf/configure: Delete file.
6003 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6004 * sysdeps/s390/s390-64/start.S: ... here.
6005 * sysdeps/s390/s390-64/elf/configure: Delete.
6006
6007 * configure.in: Remove support for elf directories in sysdeps.
6008
6009 * configure: Regenerated.
6010 * sysdeps/i386/configure: Regenerated.
6011 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6012 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6013 * sysdeps/s390/s390-32/configure: Regenerated.
6014 * sysdeps/s390/s390-64/configure: Regenerated.
6015 * sysdeps/sh/configure: Regenerated.
6016 * sysdeps/sparc/configure: Regenerated.
6017 * sysdeps/x86_64/configure: Regenerated.
6018
a3f61311
AS
60192012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6020
c876e002
AS
6021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6022
a3f61311
AS
6023 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6024 denormal result into account.
6025
ac4c54f0
RM
60262012-03-25 Roland McGrath <roland@hack.frob.com>
6027
6028 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6029 Reported by Allan McRae <allan@archlinux.org>.
6030
6a9b9c02
JL
60312012-03-23 Jeff Law <law@redhat.com>
6032
6033 * nss/getnssent.c (__nss_getent): Fix typo.
6034
4c42a0c1
DM
60352012-03-23 David S. Miller <davem@davemloft.net>
6036
6037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6038
1532c7ac
L
60392012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6040
6041 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6042 to pad to uint64_t for each field.
6043 (dl_tls_index): Replace unsigned long with uint64_t.
6044
3ff42526
PP
60452012-03-23 Daniel Jacobowitz <dmj@google.com>
6046 Paul Pluzhnikov <ppluzhnikov@google.com>
6047
6048 [BZ #6528]
6049 * grp/Makefile (otherlibs): Don't set it.
6050 * inet/Makefile (otherlibs): Likewise.
6051 * login/Makefile (otherlibs): Likewise.
6052 * nscd/Makefile (otherlibs): Likewise.
6053 * posix/Makefile (otherlibs): Likewise.
6054 * pwd/Makefile (otherlibs): Likewise.
6055 * rt/Makefile (otherlibs): Likewise.
6056 * sunrpc/Makefile (otherlibs): Likewise.
6057 * nss/Makefile (otherlibs): Likewise.
6058 Add libnss_files to routines and static-only-routines.
6059 ($(objpfx)getent): Remove rule.
6060 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6061 static-only-routines.
6062
7c69cd14
JM
60632012-03-22 Joseph Myers <joseph@codesourcery.com>
6064
6065 [BZ #13892]
6066 * math/s_cexp.c: Include <float.h>.
6067 (__cexp): Handle exp result overflowing not necessarily
6068 overflowing both real and imaginary parts of result.
6069 * math/s_cexpf.c: Likewise.
6070 * math/s_cexpl.c: Likewise.
6071 * math/libm-test.inc (cexp_test): Add more tests.
6072 * sysdeps/i386/fpu/libm-test-ulps: Update.
6073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6074
81b035fe
L
60752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6076
6077 * include/link.h (ELFW): New macro.
6078 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6079 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6080
1da7940c
L
60812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6082
6083 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6084 with uint64_t.
6085
b749dbb9
L
60862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6087
6088 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6089 declaration.
6090 (struct La_x32_retval): Likewise.
6091
2ff87f3f
L
60922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6093
6094 * sysdeps/x86_64/preconfigure.in: New file.
6095 * sysdeps/x86_64/preconfigure: New generated file.
6096
c0df8e69
JM
60972012-03-22 Joseph Myers <joseph@codesourcery.com>
6098
48e44791
JM
6099 [BZ #13824]
6100 * math/e_exp2l.c: Include <float.h>.
6101 (__ieee754_exp2l): Handle overflow and underflow cases
6102 separately. Only pass fractional part of argument to
6103 __ieee754_expl.
6104 * math/libm-test.inc (exp2_test): Add more tests.
6105
c0df8e69
JM
6106 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6107 negating x to take absolute value.
6108 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6109 Likewise.
6110 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6111 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6112 Likewise.
6113 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6114 computing low part if x was negated.
6115 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6116
c8e43ba7
L
61172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6118
6119 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6120 la_x32_gnu_pltexit.
6121 (pltexit): Cast int_retval to ptrdiff_t.
6122 * elf/tst-auditmod3b.c: Likewise.
6123 * elf/tst-auditmod4b.c: Likewise.
6124 * elf/tst-auditmod5b.c: Likewise.
6125 * elf/tst-auditmod6b.c: Likewise.
6126 * elf/tst-auditmod6c.c: Likewise.
6127 * elf/tst-auditmod7b.c: Likewise.
6128
6129 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6130 and x32_gnu_pltexit.
6131
6132 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6133 __ELF_NATIVE_CLASS.
6134 (La_x32_regs): New macro.
6135 (La_x32_retval): Likewise.
6136 (la_x32_gnu_pltenter): New function prototype.
6137 (la_x32_gnu_pltexit): Likewise.
6138
7998fa78
AS
61392012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6140
dcb33988
AS
6141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6142 exponent.
6143
233fc563
AS
6144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6145
7998fa78
AS
6146 * configure.in (libc_cv_cc_nofma): Check for option to disable
6147 generation of FMA instructions.
6148 * configure: Regenerate.
6149 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6150 * sysdeps/ieee754/dbl-64/Makefile: New file.
6151 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6152 Remove brandred-fma4.
6153 (CFLAGS-brandred-fma4.c): Remove.
6154 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6155 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6156 define.
6157 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6158 define.
6159
8e95c99a
L
61602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6161
6162 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6163 LLONG_MAX != LONG_MAX.
6164 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6165 (_fitoa_word): Likewise.
6166 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6167 LLONG_MAX != LONG_MAX.
6168 * stdio-common/_itowa.h: Include <_itoa.h>.
6169 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6170 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6171 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6172 only if not defined.
6173 (_ITOA_WORD_TYPE): Likewise.
6174 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6175 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6176
6f4db457
DM
61772012-03-21 David S. Miller <davem@davemloft.net>
6178
6179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6180
7785fe5a
L
61812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6182
6183 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6184 of x86_64 when setting libc_cv_slibdir, libdir and
6185 libc_cv_localedir.
6186 * sysdeps/unix/sysv/linux/configure: Regenerated.
6187
4535cd55
JM
61882012-03-21 Joseph Myers <joseph@codesourcery.com>
6189
6190 * manual/lang.texi (Old Varargs): Remove section.
6191 (How Variadic): Update menu.
6192 (va_start): Do not mention varargs.h.
6193
17228132
TS
61942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6195 Joseph Myers <joseph@codesourcery.com>
6196
6197 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6198 link test.
6199 * configure: Regenerated.
6200
8149f976
TS
62012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6202
05f3d1f6
UD
6203 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6204 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6205 conformtest.pl
8149f976 6206
1a4ac776
JM
62072012-03-21 Joseph Myers <joseph@codesourcery.com>
6208
be22ce65
JM
6209 * NOTES: Remove.
6210 * Makefile (files-for-dist): Remove NOTES.
6211 (NOTES): Remove rule.
6212 * README: Don't refer to NOTES.
6213 * manual/creature.texi: Don't include macros.texi.
6214 * manual/intro.texi (creature.texi): Remove comment referring to
6215 NOTES.
6216
40b601fb
JM
6217 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6218 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6219 * configure: Regenerated.
6220 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6221 LIBC_TRY_CC_OPTION.
6222 (libc_cv_as_i686): Likewise.
6223 (libc_cv_cc_avx): Likewise.
6224 (libc_cv_cc_sse2avx): Likewise.
6225 (libc_cv_cc_fma4): Likewise.
6226 (libc_cv_cc_novzeroupper): Likewise.
6227 * sysdeps/i386/configure: Regenerated.
6228
1a4ac776
JM
6229 [BZ #13883]
6230 * sysdeps/i386/fpu/s_cexp.S: Remove.
6231 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6232 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6233 * math/libm-test.inc (cexp_test): Add more tests.
6234 * sysdeps/i386/fpu/libm-test-ulps: Update.
6235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6236
a458e7fe
AM
62372012-03-21 Allan McRae <allan@archlinux.org>
6238
6239 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6240
0cb7efc5
JM
62412012-03-21 Joseph Myers <joseph@codesourcery.com>
6242
6243 [BZ #13871]
6244 * math/w_exp2.c: Do not include <float.h>.
6245 (o_threshold, u_threshold): Remove.
6246 (__exp2): Calculate result before checking finiteness and calling
6247 __kernel_standard.
6248 * math/w_exp2f.c: Likewise.
6249 * math/w_exp2l.c: Likewise.
6250 * math/libm-test.inc (exp2_test): Require overflow exception for
6251 1e6 input.
2460d3aa
JM
6252
6253 [BZ #3866]
6254 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6255 range of signed 64-bit integers before using fistpll. Remove
6256 checks for whether integers fit in mantissa bits.
6257 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6258 the range of signed 32-bit integers before using fistpl. Remove
6259 checks for whether integers fit in mantissa bits.
6260 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6261 (__ieee754_powl): Test for y outside the range of signed 64-bit
6262 integers before using fistpll. Reduce 64-bit values to 63-bit
6263 ones as needed.
6264 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6265 divide-by-zero is raised for zero to large negative powers.
6266 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6267 (__ieee754_powl): Test for y outside the range of signed 64-bit
6268 integers before using fistpll. Reduce 64-bit values to 63-bit
6269 ones as needed.
6270 * math/libm-test.inc (pow_test): Add more tests.
6271
eb96ffb0
L
62722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6273
6274 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6275 <stdio-common/_itoa.h>.
6276 * debug/segfault.c: Likewise.
6277 * elf/dl-cache.c: Likewise.
6278 * elf/dl-minimal.c: Likewise.
6279 * elf/dl-misc.c: Likewise.
6280 * elf/dl-sysdep.c: Likewise.
6281 * elf/dl-version.c: Likewise.
6282 * elf/rtld.c: Likewise.
6283 * hurd/hurdsock.c: Likewise.
6284 * hurd/lookup-retry.c: Likewise.
6285 * malloc/malloc.c: Likewise.
6286 * malloc/mtrace.c: Likewise.
6287 * nscd/nscd_getgr_r.c: Likewise.
6288 * nscd/nscd_getpw_r.c: Likewise.
6289 * nscd/nscd_getserv_r.c: Likewise.
6290 * posix/getopt_init.c: Likewise.
6291 * posix/wordexp.c: Likewise.
6292 * stdio-common/_itoa.c: Likewise.
6293 * stdio-common/printf_fphex.c: Likewise.
6294 * stdio-common/vfprintf.c: Likewise.
6295 * string/_strerror.c: Likewise.
6296 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6297 * sysdeps/i386/i686/hp-timing.h: Likewise.
6298 * sysdeps/mach/_strerror.c: Likewise.
6299 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6300 * sysdeps/mach/hurd/sethostid.c: Likewise.
6301 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6302 * sysdeps/mach/xpg-strerror.c: Likewise.
6303 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6304 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6305 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6306 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6307 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6308 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6309 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6310 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6311 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6312 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6313 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6314 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6315 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6316 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6317 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6318 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6319 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6320 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6321 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6322 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6323 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6324
6325 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6326
6327 * stdio-common/_itoa.h: Moved to ...
6328 * sysdeps/generic/_itoa.h: Here.
6329
6330 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6331
6332 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6333 instead of "_itoa.h" and "_itowa.h".
6334 * stdio-common/vfprintf.: Likewise.
6335
d1af992d
L
63362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6337
6338 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6339 <bits/wordsize.h>.
6340 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6341 (__signbit): Likwise.
6342 (llrintf): Likwise.
6343 (llrint): Likwise.
6344
114883e0
L
63452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6346
6347 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6348 __WORDSIZE != 64.
6349
c135cc1b
JM
63502012-03-20 Joseph Myers <joseph@codesourcery.com>
6351
6352 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6353 OVERFLOW_EXCEPTION_OK.
6354 * math/libm-test.inc ("Philosophy"): Update comment about
6355 exception testing.
6356 (OVERFLOW_EXCEPTION): Define.
6357 (OVERFLOW_EXCEPTION_OK): Likewise.
6358 (INVALID_EXCEPTION_OK): Renumber.
6359 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6360 (IGNORE_ZERO_INF_SIGN): Likewise.
6361 (test_exceptions): Handle FE_OVERFLOW.
6362 (exp10_test): Expect overflow exceptions.
6363 (exp2_test): Likewise.
6364 (expm1_test): Likewise.
6365 (nextafter_test): Likewise.
6366 (pow_test): Likewise.
6367 (scalbn_test): Likewise.
6368 (scalbln_test): Likewise.
6369
95443d88
L
63702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6371
6372 * sysdeps/x86_64/bits/atomic.h
6373 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6374 64bit integer.
6375 (atomic_exchange_acq): Likewise.
6376 (__arch_exchange_and_add_body): Likewise.
6377 (__arch_add_body): Likewise.
6378 (atomic_add_negative): Likewise.
6379 (atomic_add_zero): Likewise.
6380
490df6c4
L
63812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6382
c2722551 6383 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6384 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6385
5e52b189
L
63862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6387
6388 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6389 Check __x86_64__ instead of __WORDSIZE.
6390
a9879d4c
L
63912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6392
6393 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6394
5df98260
DM
63952012-03-19 David S. Miller <davem@davemloft.net>
6396
e1497744
DM
6397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6398
5df98260
DM
6399 * sysdeps/sparc/fpu/fenv_private.h: New file.
6400 * sysdeps/sparc/fpu/math_private.h: Use it.
6401 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6402 Remove.
6403 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6404 (libc_feholdexcept_setroundl): Remove.
6405 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6406 Remove.
6407 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6408 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6409
b4c35121
L
64102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6411
6412 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6413 int64_t instead of long int.
6414 (INSERT_WORDS64): Likwise.
6415
56965fd7
L
64162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6417
6418 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6419 _Unwind_GetCFA return to _Unwind_Ptr first.
6420
83d1aec8
JM
64212012-03-19 Joseph Myers <joseph@codesourcery.com>
6422
1897ad44
JM
6423 [BZ #13629]
6424 * math/s_clog.c: Include <float.h>.
6425 (__clog): Scale large or subnormal inputs.
6426 * math/s_clogf.c: Likewise.
6427 * math/s_clogl.c: Likewise.
6428 * math/s_clog10.c: Include <float.h>.
6429 (M_LOG10_2): Define.
6430 (__clog10): Scale large or subnormal inputs.
6431 * math/s_clog10f.c: Likewise.
6432 * math/s_clog10l.c: Likewise.
6433 * math/libm-test.inc (clog_test): Add more tests.
6434 (clog10_test): Likewise.
6435 * sysdeps/i386/fpu/libm-test-ulps: Update.
6436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6437
7726d6a9
JM
6438 [BZ #11451]
6439 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6440 x and y.
6441 * math/libm-test.inc (atan2_test): Add another test.
6442
83d1aec8
JM
6443 * Makerules (common-objdir-compile): Remove.
6444 * sysdeps/unix/Makefile (config-generated): Do not add
6445 $(unix-generated) to variable.
6446 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6447 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6448 Remove rule.
6449 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6450 Likewise.
6451 [generic bits/local_lim.h] (before-compile): Do not append to
6452 variable.
6453 [generic bits/local_lim.h] (common-generated): Likewise.
6454 [generic sys/param.h] (before-compile): Do not append to variable.
6455 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6456 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6457 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6458 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6459 include.
6460 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6461 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6462 [generic sys/param.h] ($(addprefix
6463 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6464 [generic sys/param.h] (common-generated): Do not append to
6465 variable.
6466 [generic sys/param.h] (sysdep_headers): Likewise.
6467 [generic bits/errno.h] (before-compile): Do not append to
6468 variable.
6469 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6470 rule.
6471 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6472 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6473 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6474 [generic bits/errno.h] (common-generated): Do not append to
6475 variable.
6476 [generic bits/ioctls.h] (before-compile): Do not append to
6477 variable.
6478 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6479 rule.
6480 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6481 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6482 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6483 rule.
6484 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6485 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6486 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6487 [generic bits/ioctls.h] (common-generated): Do not append to
6488 variable.
6489 [generic sys/syscall.h] (syscall.h): Remove variable.
6490 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6491 rule.
6492 [generic sys/syscall.h] (before-compile): Do not append to
6493 variable.
6494 [generic sys/syscall.h] (common-generated): Likewise.
6495 * sysdeps/unix/errnos-tmpl.c: Remove file.
6496 * sysdeps/unix/errnos.awk: Likewise.
6497 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6498 * sysdeps/unix/ioctls.awk: Likewise.
6499 * sysdeps/unix/mk-local_lim.c: Likewise.
6500 * sysdeps/unix/snarf-ioctls: Likewise.
6501
4851a949
RH
65022012-03-19 Richard Henderson <rth@twiddle.net>
6503
bd37f2ee
RH
6504 * sysdeps/i386/fpu/fenv_private.h: New file.
6505 * sysdeps/i386/fpu/math_private.h: Use it.
6506 (math_opt_barrier, math_force_eval): Remove.
6507 (libc_feholdexcept_setround_53bit): Remove.
6508 (libc_feupdateenv_53bit): Remove.
6509 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6510 (math_opt_barrier, math_force_eval): Remove.
6511 (libc_feholdexcept): Remove.
6512 (libc_feholdexcept_setround): Remove.
6513 (libc_fetestexcept, libc_fesetenv): Remove.
6514 (libc_feupdateenv_test): Remove.
6515 (libc_feupdateenv, libc_feholdsetround): Remove.
6516 (libc_feresetround): Remove.
6517
d0adc922
RH
6518 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6519 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6520
0fe0f1f8
RH
6521 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6522 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6523 (libc_feupdateenv_testl): New.
6524 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6525 (libc_feupdateenv_testf): New.
6526 (libc_feupdateenv): Use libc_feupdateenv_test.
6527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6528 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6529
eb92c487
RH
6530 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6531 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6532 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6533 (libc_feresetround_noex): New.
6534 (libc_feresetround_noexf): New.
6535 (libc_feresetround_noexl): New.
6536 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6537 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6538 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6539 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6540 SET_RESTORE_ROUND.
6541 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6542 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6543 (__cos): Likewise.
6544 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6545 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6546 SET_RESTORE_ROUND_NOEX.
6547 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6548 SET_RESTORE_ROUND_NOEXF.
6549 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6550 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6551 (libc_feholdsetroundf): New.
6552 (libc_feresetround, libc_feresetroundf): New.
6553
7d2e8012
RH
6554 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6555 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6556 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6557
b4dabbb4
RH
6558 * sysdeps/generic/math_private.h: Include <fenv.h>.
6559 (default_libc_feholdexcept): New.
6560 (default_libc_feholdexcept_setround): New.
6561 (default_libc_fesetenv, default_libc_feupdateenv): New.
6562 (libc_feholdexcept): Only define if undefined.
6563 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6564 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6565 (libc_feholdexcept_setroundl): Likewise.
6566 (libc_feholdexcept_setround_53bit): Likewise.
6567 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6568 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6569 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6570 (libc_feupdateenv_53bit): Likewise.
6571 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6572 (libc_feholdexcept): Convert from macro to inline function.
6573 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6574 (libc_fesetenv, libc_feupdateenv): Likewise.
6575
4851a949
RH
6576 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6577 not previously defined.
6578 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6579 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6580 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6581 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6582 * sysdeps/ieee754/flt-32/math_private.h: New file.
6583 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6584 math_private.h below SET_FLOAT_WORD.
6585 (__isnan, __isinf_ns, __finite): Remove.
6586 (__isnanf, __isinf_nsf, __finitef): Remove.
6587
e79d442e
AS
65882012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6589
6590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6591
90b80344
DM
65922012-03-17 David S. Miller <davem@davemloft.net>
6593
6594 [BZ #6471]
6595 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6596 for 2.16.
6597
edc21804
DM
65982012-03-16 David S. Miller <davem@davemloft.net>
6599
77e927af
DM
6600 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6601 warnings.
6602
374976dd
DM
6603 [BZ #6471]
6604 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6605 properly.
6606 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6607 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6608 sysdep_routines when subdir is sysvipc.
6609 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6610 __getshmlba helper.
6611
edc21804
DM
6612 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6613
473c3ef3
L
66142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6615
6616 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6617 [__LP64__].
6618
eb0f39b6
L
66192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6620
6621 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6622 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6623 (__lround): Renamed to ...
6624 (__llround): This. Replace long int with long long int.
6625 Define lround functions as aliases of llround functions.
6626 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6627
6b6cd74b
L
66282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6629
6630 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6631 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6632 adresses to uintptr_t. Replace "long int" and "unsigned long
6633 int" with "greg_t" on va_arg.
6634
f1a77b01
L
66352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6636
6637 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6638 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6639
6640 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6641 Move e_machine check before EI_CLASS check. Handle x32
6642 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6643 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6644 SKIP_EM_IA_64 and include
6645 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6646
6647 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6648 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6649 (add_system_dir): New macro.
6650
6651 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6652 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6653
11b90b9f
JM
66542012-03-16 Joseph Myers <joseph@codesourcery.com>
6655
c36e1d23
JM
6656 [BZ #2551]
6657 [BZ #2552]
6658 [BZ #2553]
6659 [BZ #2554]
6660 [BZ #2562]
6661 [BZ #2563]
6662 [BZ #2565]
6663 [BZ #2566]
6664 [BZ #2576]
6665 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6666 (y0): Likewise.
6667 * math/w_j0f.c (j0f): Likewise.
6668 (y0f): Likewise.
6669 * math/w_j0l.c (__j0l): Likewise.
6670 (__y0l): Likewise.
6671 * math/w_j1.c (j1): Likewise.
6672 (y1): Likewise.
6673 * math/w_j1f.c (j1f): Likewise.
6674 (y1f): Likewise.
6675 * math/w_j1l.c (__j1l): Likewise.
6676 (__y1l): Likewise.
6677 * math/w_jn.c (jn): Likewise.
6678 (yn): Likewise.
6679 * math/w_jnf.c (jnf): Likewise.
6680 (ynf): Likewise.
6681 * math/w_jnl.c (__jnl): Likewise.
6682 (__ynl): Likewise.
6683 * math/libm-test.inc (j0_test): Add more tests.
6684 (j1_test): Likewise.
6685 (jn_test): Likewise. Add trailing semicolon to existing test.
6686 (y0_test): Likewise.
6687 (y1_test): Likewise.
6688 * sysdeps/i386/fpu/libm-test-ulps: Update.
6689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6690
11b90b9f
JM
6691 [BZ #13851]
6692 [BZ #13854]
6693 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6694 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6695 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6696 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6697 (__tanl): Set errno for infinite argument.
6698 * sysdeps/i386/fpu/mptan.c: Remove.
6699 * sysdeps/i386/fpu/s_tan.S: Likewise.
6700 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6701 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6702 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6703 * math/libm-test.inc (tan_test): Add more tests and enable more
6704 tests for double and long double.
6705 * sysdeps/i386/fpu/libm-test-ulps: Update.
6706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6707
6a1bd2a1
JK
67082012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6709
6710 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6711 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6712
10a803e0
RM
67132012-03-16 Roland McGrath <roland@hack.frob.com>
6714
6715 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6716 * configure.in: Use it for both main tree and add-ons.
6717 * configure: Regenerated.
6718
f196c7f7
L
67192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6720
6721 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6722
8848d99d
JM
67232012-03-16 Joseph Myers <joseph@codesourcery.com>
6724
96cbe7f4
JM
6725 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6726 in comment.
6727
8848d99d
JM
6728 [BZ #13851]
6729 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6730 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6734 infinite argument.
6735 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6736 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6737 != 0 for prec == 2.
6738 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6739 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6740 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6741 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6742 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6743 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6744 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6745 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6746 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6747 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6748 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6749 * math/libm-test.inc (cos_test): Add more tests and enable more
6750 tests for long double.
6751 (sin_test): Likewise.
6752 (sincos_test): Likewise.
6753 * sysdeps/i386/fpu/libm-test-ulps: Update.
6754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6755
dd7f4703
DM
67562012-03-16 David S. Miller <davem@davemloft.net>
6757
6758 * sysdeps/sparc/fpu/math_private.h: New file.
6759
006f1daa
DM
67602012-03-15 David S. Miller <davem@davemloft.net>
6761
c0c83bc8
DM
6762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6763 file.
e6a62e18 6764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6766 file.
e6a62e18
DM
6767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6772 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6773 sysdep routines.
6774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6775
88cb87d9
DM
6776 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6777 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6778
006f1daa 6779 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6781 sparc-ifunc.h
006f1daa 6782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6784 Likewise.
6785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6786 Likewise.
006f1daa
DM
6787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6791 Likewise.
006f1daa
DM
6792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6797 Likewise.
6798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6799 Likewise.
006f1daa
DM
6800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6805 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6806 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6807 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6814 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6815 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6818 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6819 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6821 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6822 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6823 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6824
11e0098e
AS
68252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6826
6827 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6828 scaling.
6829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6830
e85b09d0
AJ
68312012-03-15 Andreas Jaeger <aj@suse.de>
6832
6833 [BZ #13852]
6834 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6835 ieee754/flt-32 implementation for sin, cos and sincos.
6836 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6837 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6838 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6839 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6840 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6841 ieee754/flt-32 implementation for tan.
6842
6843 * math/libm-test.inc (cos_test): Enable some large input tests for
6844 float as well
6845 (sin_test): Likewise.
6846 (sincos_test): Likewise.
6847 (tan_test): Add tests for large input.
6848
6849 * sysdeps/i386/fpu/libm-test-ulps: Update.
6850
81c64153
AJ
68512012-03-15 Andreas Jaeger <aj@suse.de>
6852
6853 [BZ #13658]
6854 * math/libm-test.inc (cos_test): Add more test cases.
6855 (sin_test): Likewise.
6856 (sincos_test): Likewise.
6857
7bbfa5c6
AJ
68582012-03-15 Andreas Jaeger <aj@suse.de>
6859
6860 [BZ #13837]
6861 * math/libm-test.inc (cos_test): Add a test case for large input
6862 value.
6863 (sin_test): Likewise.
6864 (sincos_test): Likewise.
6865
68662012-03-15 Andreas Jaeger <aj@suse.de>,
6867 Joseph Myers <joseph@codesourcery.com>
6868
6869 [BZ #13658]
0671f479 6870 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6871 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6872 * sysdeps/i386/fpu/branred.c: Likewise.
6873 * sysdeps/i386/fpu/dosincos.c: Likewise.
6874 * sysdeps/i386/fpu/mpa.c: Likewise.
6875 * sysdeps/i386/fpu/s_cos.S: Likewise.
6876 * sysdeps/i386/fpu/s_sin.S: Likewise.
6877 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6878 * sysdeps/i386/fpu/sincos32.c: Likewise.
6879
6880 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6881 Define.
6882 (libc_feupdateenv_53bit): Define.
6883 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6884 Define.
6885 (libc_feupdateenv_53bit): Define.
6886
6887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6888 53 bit (without extend i386 double precision).
6889
6890 * math/libm-test.inc (sincos_test): Add tests for large input.
6891 (sin): Likewise.
6892 (cos): Likewise.
6893
6894 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6895
9cad04ea
AS
68962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6897
6898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6899
f7062b9a
DM
69002012-03-15 David S. Miller <davem@davemloft.net>
6901
6902 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6903 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6904 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6905 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6918 file.
f7062b9a 6919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6921 file.
f7062b9a 6922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6924 file.
f7062b9a 6925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6927 file.
f7062b9a
DM
6928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6930 fmin/fmax sysdep routines.
6931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6932
7bd951ff
DM
69332012-03-14 David S. Miller <davem@davemloft.net>
6934
559398ab
DM
6935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6939 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6940 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6955 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6956 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6957 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6958 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6959 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6960 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6963 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6964 routines.
6965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6966 file.
559398ab 6967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6969 file.
559398ab 6970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6972 file.
559398ab 6973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6975 file.
559398ab 6976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6978 file.
559398ab 6979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6981 file.
6982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6983 file.
6984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6985 file.
6986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6987 file.
6988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6989 New file.
6990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6991 file.
6992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6993 file.
559398ab 6994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6996 file.
559398ab 6997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6999 file.
559398ab 7000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7002 file.
559398ab 7003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7005 VIS3 routines.
559398ab
DM
7006
7007 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7008 New file.
7009
5a1c1e32
DM
7010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7011
eae47a36
DM
7012 * sysdeps/sparc/configure.in: New file.
7013 * sysdeps/sparc/configure: Generate.
7014 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7015 * configure: Regenerate.
7016 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7017 * config.make.in (have-as-vis3): New.
7018 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7019 available use -Av9d instead of -Av9a.
7020 * sysdeps/sparc/sparc64/Makefile: Likewise.
7021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7023 New file.
7024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7025 file.
7026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7027 New file.
7028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7029 file.
eae47a36
DM
7030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7031 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7032 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7033 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7034 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7035
c0c83bc8
DM
7036 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7037 fzeros/fnegs to load 0x80000000 into a float register instead of
7038 using the stack.
7bd951ff
DM
7039 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7040
bd951ccb
JM
70412012-03-14 Joseph Myers <joseph@codesourcery.com>
7042
7043 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7044 bits/syscall.h.
7045 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7046 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7047 ($(inst_includedir)/bits/syscall.h): Remove rule.
7048 ($(objpfx)bits/syscall.d): Include instead of
7049 $(objpfx)syscall-list.d.
7050 (generated): Change syscall-list.h and syscall-list.d to
7051 bits/syscall.h and bits/syscall.d.
7052
bb4e6db2
RM
70532012-03-14 Roland McGrath <roland@hack.frob.com>
7054
7055 [BZ #13846]
7056 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7057
aa4a2ae1
JM
70582012-03-14 Joseph Myers <joseph@codesourcery.com>
7059
e456826d
JM
7060 [BZ #13841]
7061 * math/s_csqrt.c: Include <float.h>.
7062 (__csqrt): Scale large or subnormal inputs.
7063 * math/s_csqrtf.c: Likewise.
7064 * math/s_csqrtl.c: Likewise.
7065 * math/libm-test.inc (csqrt_test): Add more tests.
7066 * sysdeps/i386/fpu/libm-test-ulps: Update.
7067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7068
aa4a2ae1
JM
7069 [BZ #13840]
7070 * math/libm-test.inc (hypot_test): Add more tests.
7071
7c10fd35
DM
70722012-03-13 David S. Miller <davem@davemloft.net>
7073
7074 [BZ #13840]
7075 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7076 double-precision for the calculation instead of scaling.
7077
f453b98b
JM
70782012-03-13 Joseph Myers <joseph@codesourcery.com>
7079
7080 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7081 manipulate bits before adding and subtracting TWO52[sx].
7082 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7083 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7084 Likewise.
7085 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7086
09a3453f
DM
70872012-03-13 David S. Miller <davem@davemloft.net>
7088
8e59da90
DM
7089 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7090 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7091 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7092 rtld-global-offsets.h
7093 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7094
2a8ab7f2
DM
7095 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7096 large parameters.
7097
10f62770
DM
7098 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7099
5f0bdb18
DM
7100 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7101 'err' in the ifdef scope in which it is actually used.
7102
09a3453f
DM
7103 * nss/nss_db/db-init.c: Include string.h
7104
b4b2eb5e
DM
71052012-03-12 David S. Miller <davem@davemloft.net>
7106
98bb2f1c
DM
7107 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7108 masking out of the most significant byte of random value used.
7109 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7110 Fix coding style in previous change.
7111
b4b2eb5e
DM
7112 * sysdeps/unix/sysv/linux/kernel-features.h
7113 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7114 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7115 expression.
7116 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7117 later.
7118
6e226b09
DM
71192012-03-11 David S. Miller <davem@davemloft.net>
7120
a1bcbd40
DM
7121 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7122 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7123 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7124 for 'resultvar' otherwise things get truncated on 64-bit.
7125
cb9d6174
DM
7126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7127 Fix masking out of the most significant byte of random value used.
7128
6e226b09
DM
7129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7130
058c132d
AS
71312012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7132
7133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7134
2d2cd515
DM
71352012-03-09 David S. Miller <davem@davemloft.net>
7136
7137 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7138 variables with appropriate CPP guards.
7139 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7140 frame pointer, not the stack pointer. Correct layout comments. Fix test
7141 on resulting framesize and the management of the outregs buffer for pltexit.
7142 Preserve floating point return values across _dl_call_pltexit call.
7143 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7144 framesize and the management of the outregs buffer for pltexit.
7145 Preserve floating point return values across _dl_call_pltexit
7146 call.
7147 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7148 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7149 (print_exit): Fix format string for return register value.
7150
9a07f9d0
JM
71512012-03-10 Joseph Myers <joseph@codesourcery.com>
7152
7153 * sunrpc/Makefile (others): Add rpcgen.
7154 ($(objpfx)rpcgen): Remove special build rule and dependency on
7155 libc.
7156 * sunrpc/rpcgen.c: New file.
7157
547b5e30
PE
71582012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7159
c524201a
PE
7160 [BZ #13673]
7161 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7162 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7163 * sysdeps/i386/crti.S: Likewise.
7164 * sysdeps/i386/crtn.S: Likewise.
7165 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7166 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7167 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7168 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7169 * sysdeps/sh/crti.S: Likewise.
7170 * sysdeps/sh/crtn.S: Likewise.
7171 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7172
7b6235f2
PE
7173 [BZ #13673]
7174 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7175 with URL.
7176 * locale/programs/locfile-kw.gperf: Likewise.
7177 * locale/programs/charmap-kw.h: Regenerated.
7178 * locale/programs/locfile-kw.h: Likewise.
7179
547b5e30
PE
7180 [BZ #13673]
7181 * intl/plural.y: Replace FSF snail mail address with URL.
7182 * intl/plural.c: Regenerated.
7183
5f0a5dae
RH
71842012-03-09 Richard Henderson <rth@twiddle.net>
7185
7186 * include/math_private.h: Remove file.
7187 * math/math_private.h: Move file ...
7188 * sysdeps/generic/math_private.h: ... here.
7189
b8c03620
RH
7190 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7191 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7192 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7193
4e234f5d 7194 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7195 and <math_private.h>.
7196 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7197 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7198 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7199 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7200 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7201 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7202 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7204 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7205 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7206 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7207 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7208 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7209 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7210 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7211 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7212 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7213 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7214 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7215 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7217 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7221 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7223 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7224 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7228 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7229 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7230 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7231 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7232 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7234 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7235 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7236 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7237 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7238 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7239 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7240 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7241 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7242 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7243 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7244 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7245 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7246 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7247 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7248 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7249 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7250 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7251 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7252 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7253 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7254 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7255 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7256 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7257 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7260 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7261 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7262 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7263 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7264 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7265 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7266 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7267 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7268 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7269 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7270 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7271 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7272 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7274 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7275 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7276 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7277 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7278 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7279 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7280 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7281 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7282 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7283 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7284 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7285 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7286 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7287 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7288 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7289 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7290 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7291 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7292 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7293 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7294 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7295 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7296 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7297 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7298 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7299 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7300 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7301 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7302 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7303 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7304 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7305 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7306 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7307 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7308 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7309 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7310 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7311 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7312 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7313 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7314 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7315 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7316 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7317 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7318 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7319 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7320 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7321 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7322 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7323 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7324 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7325 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7326 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7327 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7328 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7329 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7330 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7331 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7332 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7333 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7334 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7335 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7336 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7337 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7338 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7339 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7340 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7341 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7342 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7343 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7344 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7345 * sysdeps/ieee754/k_standard.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7379 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7390 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7400 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7406 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7449 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7450 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7456 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7457 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7459 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7461 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7464 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7465 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7473 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7476 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7477 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7478 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7485 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7486 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7487 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7494 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7495 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7496 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7497 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7498 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7499 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7500 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7501 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7502 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7503 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7504 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7505 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7506 * sysdeps/ieee754/s_lib_version.c: Likewise.
7507 * sysdeps/ieee754/s_matherr.c: Likewise.
7508 * sysdeps/ieee754/s_signgam.c: Likewise.
7509 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7510 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7511 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7512 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7513 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7514 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7515 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7516 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7517 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7518 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7519 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7520 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7521 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7522 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7523 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7524 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7525 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7526 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7527 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7528 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7529 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7530
1991fa03
JM
75312012-03-09 Joseph Myers <joseph@codesourcery.com>
7532
7533 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7534 * sunrpc/rpc_main.c: Likewise.
7535 * sunrpc/rpc_svcout.c: Likewise.
7536
60d6f5a6
DM
75372012-03-09 David S. Miller <davem@davemloft.net>
7538
7539 * include/math_private.h: New file.
7540
4962050e
JM
75412012-03-09 Joseph Myers <joseph@codesourcery.com>
7542
02a6f887
JM
7543 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7544 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7545 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7546 from <bits/socket_type.h>.
7547 (enum __socket_type): Don't define here.
7548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7550 bits/socket_type.h.
7551
c6e013c1
JM
7552 [BZ #13566]
7553 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7554 checking __USE_GNU.
7555
4962050e
JM
7556 * Makerules ($(inst_includedir)/%.h): New rule.
7557 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7558 (install-others): Remove variable setting.
7559 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7560
38842f45
RH
75612012-03-08 Richard Henderson <rth@twiddle.net>
7562
67bb6da6
RH
7563 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7564 from macro to inline function; merge with the
7565 !__LIBC_INTERNAL_MATH_INLINES version.
7566 (__ieee754_sqrtf): Likewise.
7567
15194b4b
RH
7568 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7569 to inline function.
7570 (__rintf, __floor, __floorf): Likewise.
7571
64e21ede
RH
7572 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7573 macro to inline function.
7574 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7575
38842f45
RH
7576 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7577 not <math/math_private.h>.
7578
c64bf5fe
DM
75792012-03-08 David S. Miller <davem@davemloft.net>
7580
7581 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7582 copyright year.
7583 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7584
82d86f28
TS
75852012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7586
7587 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7588 normalization.
7589 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7590 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7591
aea5d727
UD
75922012-03-08 Ulrich Drepper <drepper@gmail.com>
7593
7594 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7595 be defined individually, they must be defined as a block. Define
7596 S for printing a string instead of hidint the different by using a
7597 macro for adding the 'l'.
7598 * stdio-common/tst-fphex-wide.c: Adjust.
7599
70bca0a3
MP
76002012-03-07 Marek Polacek <polacek@redhat.com>
7601
7602 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7603
65b81130
MP
76042012-03-08 Marek Polacek <polacek@redhat.com>
7605
7606 [BZ #13806]
7607 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7608 * stdio-common/tst-fphex.c: Define a few macros to make the
7609 test reusable. Use them.
7610 * stdio-common/tst-fphex-wide.c: New file.
7611
07037eeb
JM
76122012-03-08 Joseph Myers <joseph@codesourcery.com>
7613
a7a93d50
JM
7614 [BZ #6911]
7615 * manual/macros.texi (gnusystems): New macro.
7616 (nongnusystems): Likewise.
7617 (gnulinuxhurdsystems): Likewise.
7618 (gnuhurdsystems): Likewise..
7619 (gnulinuxsystems): Likewise.
7620 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7621 variants of the GNU system, not "GNU system".
7622 * manual/conf.texi: Likewise.
7623 * manual/errno.texi: Likewise. Update example of errno macro
7624 expansion.
7625 * manual/filesys.texi: Likewise.
7626 (getumask): Document as specific to GNU/Hurd.
7627 * manual/install.texi: Likewise. Reword some references to
7628 GNU/Linux.
7629 * manual/intro.texi: Likewise.
7630 * manual/io.texi: Likewise.
7631 (File Name Portability): Detail which constraints are inapplicable
7632 to all GNU systems and which are only inapplicable to GNU/Hurd.
7633 * manual/job.texi: Likewise.
7634 * manual/llio.texi: Likewise.
7635 (O_NOCTTY): Document as present on GNU/Linux.
7636 * manual/maint.texi: Likewise.
7637 * manual/memory.texi: Likewise.
7638 * manual/pattern.texi: Likewise.
7639 * manual/pipe.texi: Likewise.
7640 * manual/process.texi: Likewise.
7641 * manual/resource.texi: Likewise.
7642 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7643 child on GNU/Hurd.
7644 * manual/setjmp.texi: Likewise.
7645 * manual/signal.texi: Likewise.
7646 * manual/startup.texi: Likewise.
7647 * manual/stdio.texi: Likewise.
7648 * manual/terminal.texi: Likewise.
7649 (ONLCR): Document as POSIX.
7650 (OXTABS): Document availability on GNU/Linux as XTABS.
7651 (ONOEOT): Document availability separately from other bits.
7652 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7653 * manual/time.texi: Likewise.
7654 * manual/users.texi: Likewise.
7655 * INSTALL: Regenerated.
7656 * sysdeps/gnu/errlist.c: Regenerated.
7657
07037eeb
JM
7658 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7659 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7660 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7661 puts.
7662 * configure: Regenerated.
7663
d1d3431a
JM
76642012-03-07 Joseph Myers <joseph@codesourcery.com>
7665
af6a1e37
JM
7666 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7667 default includes instead of AC_HEADER_CHECK.
7668 * sysdeps/i386/configure: Regenerated.
7669
d1d3431a
JM
7670 [BZ #10716]
7671 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7672 * math/s_cacoshf.c (__cacoshf): Likewise.
7673 * math/s_cacoshl.c (__cacoshl): Likewise.
7674 * math/s_casinh.c (__casinh): Set signs of result from argument.
7675 * math/s_casinhf.c (__casinhf): Likewise.
7676 * math/s_casinhl.c (__casinhl): Likewise.
7677 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7678 (casinh_test): Add more tests.
7679 * sysdeps/i386/fpu/libm-test-ulps: Update.
7680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7681
482ff4da
UD
76822012-03-07 Ulrich Drepper <drepper@gmail.com>
7683
872fda05
UD
7684 * po/zh_TW.po: Update from translation team.
7685
a4300c7a
UD
7686 * login/Makefile (distribute): Remove variable.
7687 * catgets/Makefile: Likewise.
7688 * mach/Makefile: Likewise.
7689 * malloc/Makefile: Likewise.
7690 * misc/Makefile: Likewise.
7691 * iconv/Makefile: Likewise.
7692 * nscd/Makefile: Likewise.
7693 * hurd/Makefile: Likewise.
7694 * manual/Makefile: Likewise.
7695 * locale/Makefile: Likewise.
7696 * intl/Makefile: Likewise.
7697 * conform/Makefile: Likewise.
7698 * nss/Makefile: Likewise.
7699 * time/Makefile: Likewise.
7700 * soft-fp/Makefile: Likewise.
7701 * dirent/Makefile: Likewise.
7702 * gmon/Makefile: Likewise.
7703 * po/Makefile: Likewise.
7704 * rt/Makefile: Likewise.
7705 * socket/Makefile: Likewise.
7706 * math/Makefile: Likewise.
7707 * signal/Makefile: Likewise.
7708 * debug/Makefile: Likewise.
7709 * elf/Makefile: Likewise.
7710 * timezone/Makefile: Likewise.
7711 * stdlib/Makefile: Likewise.
7712 * iconvdata/Makefile: Likewise.
7713 * sunrpc/Makefile: Likewise.
7714 * io/Makefile: Likewise.
7715 * argp/Makefile: Likewise.
7716 * inet/Makefile: Likewise.
7717 * hesiod/Makefile: Likewise.
7718 * grp/Makefile: Likewise.
7719 * csu/Makefile: Likewise.
7720 * wctype/Makefile: Likewise.
7721 * crypt/Makefile: Likewise.
7722 * libio/Makefile: Likewise.
7723 * string/Makefile: Likewise.
7724 * nis/Makefile: Likewise.
7725 * resolv/Makefile: Likewise.
7726 * stdio-common/Makefile: Likewise.
7727 * wcsmbs/Makefile: Likewise.
7728 * dlfcn/Makefile: Likewise.
7729 * posix/Makefile: Likewise.
7730
3b7c4e74 7731 [BZ #6959]
482ff4da
UD
7732 * timezone/Makefile: Don't install timezone files, just the programs
7733 and scripts.
7734
f72ed77d
UD
77352012-03-06 Ulrich Drepper <drepper@gmail.com>
7736
a000466f
UD
7737 * nss/databases.def: Add missing gshadow entry.
7738
f72ed77d
UD
7739 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7740
a53b7a4e
MP
77412012-03-06 Marek Polacek <polacek@redhat.com>
7742
7743 [BZ #13726]
7744 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7745 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7746 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7747 * stdio-common/tst-long-dbl-fphex.c: New file.
7748
e9258400
DM
77492012-03-06 David S. Miller <davem@davemloft.net>
7750
7751 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7752 (set_obp_int): New function.
7753 (get_obp_int): New function.
7754 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7755 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7756 Avoid unused variable warnings on 'val' and use builtin_expect.
7757 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7758 __builtin_expect.
e9258400
DM
7759 (INLINE_CLONE_SYSCALL): Likewise.
7760
3bd2c723
DM
77612012-03-05 David S. Miller <davem@davemloft.net>
7762
7763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7764
bbb78d03
AS
77652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7766
884c5db4
AS
7767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7768
bbb78d03
AS
7769 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7770 only for |x| >= 40.
7771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7772
1c9f702a 77732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7774
7775 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7776 Replace gettimeofday with __vdso_gettimeofday.
7777
7be16f82
RM
7778 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7779 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7780 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7781
7782 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7783 time with __vdso_time.
7784
ed58a00f
JM
77852012-03-05 Joseph Myers <joseph@codesourcery.com>
7786
7787 * manual/lang.texi (size_t): Note types to which size_t may be
7788 equivalent with the GNU C Library, but do not describe when
7789 differences between them are significant.
7790
30ee4ced
AJ
77912012-03-05 Andreas Jaeger <aj@suse.de>
7792
7793 * sysdeps/i386/fpu/libm-test-ulps: Update.
7794
b7cd39e8
JM
77952012-03-05 Joseph Myers <joseph@codesourcery.com>
7796
7797 [BZ #3976]
7798 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7799 (__ieee754_pow): Save and restore rounding mode and use
7800 round-to-nearest for main computations.
7801 * math/libm-test.inc (pow_test_tonearest): New function.
7802 (pow_test_towardzero): Likewise.
7803 (pow_test_downward): Likewise.
7804 (pow_test_upward): Likewise.
7805 (main): Call the new functions.
7806 * sysdeps/i386/fpu/libm-test-ulps: Update.
7807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7808
7809 [BZ #3976]
7810 * math/libm-test.inc (cosh_test_tonearest): New function.
7811 (cosh_test_towardzero): Likewise.
7812 (cosh_test_downward): Likewise.
7813 (cosh_test_upward): Likewise.
7814 (sinh_test_tonearest): Likewise.
7815 (sinh_test_towardzero): Likewise.
7816 (sinh_test_downward): Likewise.
7817 (sinh_test_upward): Likewise.
7818 (main): Call the new functions.
7819 * sysdeps/i386/fpu/libm-test-ulps: Update.
7820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7821
6c6a98c9
TV
78222012-03-05 Tom de Vries <tom@codesourcery.com>
7823
7824 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7825 default stack guard is set in last bytes.
7826 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7827
21bb2d2e 78282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7829
21bb2d2e 7830 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7831
21bb2d2e
AJ
7832 [BZ #13656]
7833 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7834 possibly allocate from heap instead of stack.
7835 * stdio-common/bug-vfprintf-nargs.c: New file.
7836 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7837
c6922934
AS
78382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7839
7840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7841
bc957d53
MP
78422012-03-03 Marek Polacek <polacek@redhat.com>
7843
7844 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7845 * math/math_private.h: Likewise.
7846 * stdlib/tst-strtod.c: Likewise.
7847 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7848 * sysdeps/x86_64/bits/atomic.h: Likewise.
7849
6358490d
DM
78502012-03-02 David S. Miller <davem@davemloft.net>
7851
7852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7856 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7857 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7858 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7859 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7860
01ae168d
RM
78612012-03-02 Roland McGrath <roland@hack.frob.com>
7862
d9a17c07
RM
7863 [BZ #13792]
7864 * manual/examples/README: New file, says the example source files
7865 can be used under GPL>=2.
7866 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7867 line containing just "*/".
7868 * manual/examples/add.c: Add copyright header (GPL>=2).
7869 * manual/examples/argp-ex1.c: Likewise.
7870 * manual/examples/argp-ex2.c: Likewise.
7871 * manual/examples/argp-ex3.c: Likewise.
7872 * manual/examples/argp-ex4.c: Likewise.
7873 * manual/examples/atexit.c: Likewise.
7874 * manual/examples/db.c: Likewise.
7875 * manual/examples/dir.c: Likewise.
7876 * manual/examples/dir2.c: Likewise.
7877 * manual/examples/execinfo.c: Likewise.
7878 * manual/examples/filecli.c: Likewise.
7879 * manual/examples/filesrv.c: Likewise.
7880 * manual/examples/fmtmsgexpl.c: Likewise.
7881 * manual/examples/genpass.c: Likewise.
7882 * manual/examples/inetcli.c: Likewise.
7883 * manual/examples/inetsrv.c: Likewise.
7884 * manual/examples/isockad.c: Likewise.
7885 * manual/examples/longopt.c: Likewise.
7886 * manual/examples/memopen.c: Likewise.
7887 * manual/examples/memstrm.c: Likewise.
7888 * manual/examples/mkfsock.c: Likewise.
7889 * manual/examples/mkisock.c: Likewise.
7890 * manual/examples/mygetpass.c: Likewise.
7891 * manual/examples/pipe.c: Likewise.
7892 * manual/examples/popen.c: Likewise.
7893 * manual/examples/rprintf.c: Likewise.
7894 * manual/examples/search.c: Likewise.
7895 * manual/examples/select.c: Likewise.
7896 * manual/examples/setjmp.c: Likewise.
7897 * manual/examples/sigh1.c: Likewise.
7898 * manual/examples/sigusr.c: Likewise.
7899 * manual/examples/stpcpy.c: Likewise.
7900 * manual/examples/strdupa.c: Likewise.
7901 * manual/examples/strftim.c: Likewise.
7902 * manual/examples/strncat.c: Likewise.
7903 * manual/examples/subopt.c: Likewise.
7904 * manual/examples/swapcontext.c: Likewise.
7905 * manual/examples/termios.c: Likewise.
7906 * manual/examples/testopt.c: Likewise.
7907 * manual/examples/testpass.c: Likewise.
7908 * manual/examples/timeval_subtract.c: Likewise.
7909
01ae168d
RM
7910 [BZ #13792]
7911 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7912 function to ...
7913 * manual/timeval_subtract.c.texi: ... here, new file.
7914
49efa33d
DM
79152012-03-02 David S. Miller <davem@davemloft.net>
7916
7917 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7918
28afd92d
JM
79192012-03-02 Joseph Myers <joseph@codesourcery.com>
7920
804360ed
JM
7921 [BZ #3976]
7922 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7923 (__sin): Save and restore rounding mode and use round-to-nearest
7924 for all computations.
7925 (__cos): Save and restore rounding mode and use round-to-nearest
7926 for all computations.
7927 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7928 <fenv.h>.
7929 (tan): Save and restore rounding mode and use round-to-nearest for
7930 all computations.
7931 * math/libm-test.inc (cos_test_tonearest): New function.
7932 (cos_test_towardzero): Likewise.
7933 (cos_test_downward): Likewise.
7934 (cos_test_upward): Likewise.
7935 (sin_test_tonearest): Likewise.
7936 (sin_test_towardzero): Likewise.
7937 (sin_test_downward): Likewise.
7938 (sin_test_upward): Likewise.
7939 (tan_test_tonearest): Likewise.
7940 (tan_test_towardzero): Likewise.
7941 (tan_test_downward): Likewise.
7942 (tan_test_upward): Likewise.
7943 (main): Call the new functions.
7944 * sysdeps/i386/fpu/libm-test-ulps: Update.
7945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7946
a6d06d7b
JM
7947 [BZ #10135]
7948 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7949 small n, then large n, before computing and testing k+n.
7950 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7951 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7952 Likewise.
7953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7954 Likewise.
7955 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7956 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7957 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7958 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7959 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7960 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7961 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7962 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7963 * math/libm-test.inc (scalbn_test): Add more tests.
7964 (scalbln_test): Likewise.
7965
07e12bb3
JM
7966 * manual/filesys.texi (mode_t): Describe constraints on size and
7967 signedness, not exact equivalence to a particular type.
7968 (ino_t): Likewise.
7969 (ino64_t): Likewise.
7970 (dev_t): Likewise.
7971 (nlink_t): Likewise.
7972 (blkcnt_t): Likewise.
7973 (blkcnt64_t): Likewise.
7974 * manual/llio.texi (off_t): Likewise.
7975
28afd92d
JM
7976 [BZ #3976]
7977 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7978 (__ieee754_exp): Save and restore rounding mode and use
7979 round-to-nearest for all computations.
7980 * math/libm-test.inc (exp_test_tonearest): New function.
7981 (exp_test_towardzero): Likewise.
7982 (exp_test_downward): Likewise.
7983 (exp_test_upward): Likewise.
7984 (main): Call the new functions.
7985 * sysdeps/i386/fpu/libm-test-ulps: Update.
7986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7987
b1eeb65d
CD
79882012-03-01 Chris Demetriou <cgd@google.com>
7989
7990 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7991 have predictable order.
7992
53362a4b
DM
79932012-03-01 David S. Miller <davem@davemloft.net>
7994
3c969083
DM
7995 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7996
759707de
DM
7997 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7998 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7999 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8000 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8001
dfdb8ff2
DM
8002 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8003 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8004 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8006 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8007 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8008 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8009 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8010 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8011
ead89f96
DM
8012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8013
7f66bd07
DM
8014 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8015 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8016 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8017
53362a4b
DM
8018 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8019 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8020 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8021 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8022 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8023 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8024 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8025 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8026 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8027 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8028 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8029 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8031 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8032 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8034 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8035 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8036 * sysdeps/sparc/elf/configure: Regenerated.
8037
7b1902cb
JM
80382012-03-01 Joseph Myers <joseph@codesourcery.com>
8039
bec039bc
JM
8040 * configure.in (AS, LD): Require binutils 2.20 or later.
8041 * configure: Regenerated.
8042 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8043 as required minimum version.
8044 * INSTALL: Regenerated.
8045
7b1902cb
JM
8046 [BZ #2541]
8047 [BZ #4108]
8048 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8049 before squaring exponent.
8050 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8051 bottom long double and 27 bits of top long double before squaring
8052 exponent.
8053 * math/libm-test.inc (erfc_test): Add more tests.
8054 * sysdeps/i386/fpu/libm-test-ulps: Update.
8055 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8057
f775c276
KT
80582012-03-01 Kai Tietz <ktietz@redhat.com>
8059
8060 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8061 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8062 containing bit-fields.
8063 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8064 * soft-fp/single.h (_FP_UNION_S): Likewise.
8065 * soft-fp/double.h (_FP_UNION_D): Likewise.
8066
5b8a4d4a
JM
80672012-02-29 Joseph Myers <joseph@codesourcery.com>
8068
0bab47b6
JM
8069 [BZ #13786]
8070 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8071 not include ../strcmp.S.
8072 [USE_AS_STRNCASECMP_L]: Likewise.
8073 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8074 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8075 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8076 (__strncasecmp_l_ia32): Define as alias to
8077 __strncasecmp_l_nonascii.
8078
0fcad3e2
JM
8079 [BZ #5794]
8080 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8081 * sysdeps/i386/fpu/libm-test-ulps: Update.
8082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8083
5b8a4d4a
JM
8084 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8086
8fdceb2e
JL
80872012-02-29 Jeff Law <law@redhat.com>
8088
8089 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8090 out of bounds read.
8091
1f393a11
MP
80922012-02-29 Marek Polacek <polacek@redhat.com>
8093
8094 [BZ #13706]
8095 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8096 * elf/Makefile: Add rules to run tst-unused-dep.out.
8097
8847f037
DM
80982012-02-28 David S. Miller <davem@davemloft.net>
8099
8100 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8101 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8102 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8103 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8104 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8105 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8106
169d7f11
JM
81072012-02-29 Joseph Myers <joseph@codesourcery.com>
8108
8109 * math/libm-test.inc (llround_test): Move one test from
8110 lround_test. Use TEST_f_L in moved test.
8111 (lround_test): Move misplaced test to llround_test. Add testcase
8112 from bug 2561.
8113
39adf059
UD
81142012-02-28 Ulrich Drepper <drepper@gmail.com>
8115
8116 * sysdeps/x86_64/fpu/e_expf.S: New file.
8117 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8118
71b5d1c5
SB
81192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8120
8121 [BZ #13637]
8122 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8123 of remain_len that may cause incomplete multi-byte character and
8124 false match.
8125 * posix/bug-regex33.c: New file.
8126 * posix/Makefile (tests): Add bug-regex33.
8127
1f77f049
JM
81282012-02-28 Joseph Myers <joseph@codesourcery.com>
8129
8130 * manual/macros.texi: New file.
8131 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8132 * manual/libc.texinfo: Include macros.texi.
8133 * manual/creatute.texi: Likewise.
8134 * manual/install.texi: Likewise.
8135 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8136 @glibcadj{} in references to the GNU C Library.
8137 * manual/charset.texi: Likewise.
8138 * manual/conf.texi: Likewise.
8139 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8140 when not using those macros.
8141 * manual/creature.texi: Likewise.
8142 * manual/crypt.texi: Likewise.
8143 * manual/errno.texi: Likewise.
8144 * manual/filesys.texi: Likewise.
8145 * manual/header.texi: Likewise.
8146 * manual/install.texi: Likewise.
8147 * manual/intro.texi: Likewise.
8148 * manual/io.texi: Likewise.
8149 * manual/job.texi: Likewise.
8150 * manual/lang.texi: Likewise.
8151 * manual/libc.texiinfo: Likewise.
8152 * manual/llio.texi: Likewise.
8153 * manual/locale.texi: Likewise.
8154 * manual/maint.texi: Likewise.
8155 * manual/math.texi: Likewise.
8156 * manual/memory.texi: Likewise.
8157 * manual/message.texi: Likewise.
8158 * manual/nss.texi: Likewise.
8159 * manual/pattern.texi: Likewise.
8160 * manual/process.texi: Likewise.
8161 * manual/resource.texi: Likewise.
8162 * manual/search.texi: Likewise.
8163 * manual/setjmp.texi: Likewise.
8164 * manual/signal.texi: Likewise.
8165 * manual/socket.texi: Likewise.
8166 * manual/startup.texi: Likewise.
8167 * manual/stdio.texi: Likewise.
8168 * manual/string.texi: Likewise.
8169 * manual/sysinfo.texi: Likewise.
8170 * manual/syslog.texi: Likewise.
8171 * manual/terminal.texi: Likewise.
8172 * manual/time.texi: Likewise.
8173 * manual/users.texi: Likewise.
8174 * INSTALL: Regenerated.
8175 * NOTES: Regenerated.
d40c5d54 8176 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8177
450bf206
AS
81782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8179
8180 * include/dirent.h: Include <dirstream.h> before
8181 <dirent/dirent.h>.
8182
741a235b
DM
81832012-02-28 David S. Miller <davem@davemloft.net>
8184
8185 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8186 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8187 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8188 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8189
d6b5aa58
DM
81902012-02-27 David S. Miller <davem@davemloft.net>
8191
1aff59a3
DM
8192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8194 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8195 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8196
d6b5aa58
DM
8197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8198 frame pointer instead of stack pointer relative arg slot.
8199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8200 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8201 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8202
433f48bf
CD
82032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8204
8205 [BZ #3992]
8206 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8207
d674b76d
DM
82082012-02-27 David S. Miller <davem@davemloft.net>
8209
8210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8214 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8215 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8216 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8217 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8218
0e7727f7
JM
82192012-02-27 Joseph Myers <joseph@codesourcery.com>
8220
8221 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8222 later. Allow versions 5-9.
43be4ca2 8223 * configure: Regenerated.
0e7727f7
JM
8224 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8225 required minimum version and 4.6 as recommended version. Do not
8226 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8227 * INSTALL: Regenerated.
0e7727f7 8228
a78bc654
DM
82292012-02-27 David S. Miller <davem@davemloft.net>
8230
428d5830
DM
8231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8235 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8236 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8237 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8238 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8239
a78bc654
DM
8240 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8241 manipulate bits before adding and subtracting TWO112[sx].
8242 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8243
4579f81c
RM
82442012-02-27 Roland McGrath <roland@hack.frob.com>
8245
36c8acb4
RM
8246 [BZ #13775]
8247 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8248 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8249 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8250 being in POSIX, because they are in 1003.1-2008.
8251
84ad622b
RM
8252 * rt/tst-aio.c: Include <fcntl.h>.
8253 * rt/tst-aio7.c: Likewise.
8254 * rt/tst-aio64.c: Likewise.
8255
4579f81c
RM
8256 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8257
abd923db
JM
82582012-02-27 Joseph Myers <joseph@codesourcery.com>
8259
8260 * manual/install.texi (--with-headers): Describe headers as
8261 interface headers, not private headers.
8262 (Specific advice for GNU/Linux systems): Describe use of headers
8263 from "make headers_install", not private headers from older
8264 kernels.
43be4ca2 8265 * INSTALL: Regenerated.
abd923db
JM
8266 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8267 Change to 2.6.19.
8268 * sysdeps/unix/sysv/linux/configure: Regenerated.
8269
6664049b
JM
8270 * manual/llio.texi (fclean): Remove documentation.
8271
bb8b6697
JM
8272 * manual/Makefile (libc-texi-generated): New variable. Include
8273 version.texi.
8274 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8275 $(libc-texi-generated), not duplicated list of files.
8276 (version.texi, stamp-version): New rules.
8277 (realclean): Remove $(libc-texi-generated), not individual files
8278 from that list. Do not remove dir-add.texinfo.
8279 * manual/libc.texinfo: Comment out uses of edition numbers and
8280 references to printed manual. Remove last-updated dates.
8281 (EDITION): Comment out.
8282 (ISBN): Likewise.
8283 (VERSION, UPDATED): Remove.
8284 (version.texi): Include.
8285
12e5c3b9
AS
82862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8287
8288 * sysdeps/posix/spawni.c: Include <signal.h>.
8289 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8290 * sysdeps/pthread/aio_fsync.c: Likewise.
8291
4efeffc1 82922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8293
ba63ba08
UD
8294 * conform/Makefile (tests): Run only when not cross-compiling and
8295 when fast-check is not defined.
8296
d94a4670
UD
8297 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8298 * conform/data/limits.h-data: Fixes for POSIX2008.
8299 * conform/run-conformtest.sh: Run all tests.
8300 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8301 headers.
8302 * include/bits/dlfcn.h: Likewise.
8303 * include/langinfo.h: Likewise.
8304 * include/monetary.h: Likewise.
8305 * include/sys/poll.h: Likewise.
8306
8307 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8308 for __USE_GNU.
8309 * posix/spawn.h: Define __need_sigset_t.
8310 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8311 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8312 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8313 to get sigevent_t only.
8314 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8315 only for __USE_GNU.
8316 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8317 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8318 process_vm_writev only for __USE_GNU.
8319 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8320
8321 * conform/Makefile: For now ignore errors from run-conformtest.
8322 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8323 POSIX to avoid namespace pollution. Don't prepend headers.
8324 * conform/data/aio.h-data: Fixes for POSIX testing.
8325 * conform/data/fcntl.h-data: Likewise.
8326 * conform/data/glob.h-data: Likewise.
8327 * conform/data/grp.h-data: Likewise.
8328 * conform/data/pthread.h-data: Likewise.
8329 * conform/data/pwd.h-data: Likewise.
8330 * conform/data/signal.h-data: Likewise.
8331 * conform/data/spawn.h-data: Likewise.
8332 * conform/data/stdio.h-data: Likewise.
8333 * conform/data/stdlib.h-data: Likewise.
8334 * conform/data/stropts.h-data: Likewise.
8335 * conform/data/sys/mman.h-data: Likewise.
8336 * conform/data/sys/stat.h-data: Likewise.
8337 * conform/data/sys/types.h-data: Likewise.
8338 * conform/data/sys/wait.h-data: Likewise.
8339 * conform/data/time.h-data: Likewise.
8340 * conform/data/unistd.h-data: Likewise.
8341 * conform/data/utime.h-data: Likewise.
8342
8343 * io/sys/stat.h: fchmod was always in POSIX.
8344 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8345 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8346 * rt/aio.h: Define __need_timespec before including <time.h>.
8347 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8348 struct. Add forward declaration of pthread_attr_t and use it in
8349 sigevent.
8350 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8351 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8352 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8353 always remove CLK_TCK definition.
8354
c20105c3
AS
83552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8356
8357 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8358
7a270350
UD
83592012-02-25 Ulrich Drepper <drepper@gmail.com>
8360
31341567
UD
8361 * conform/run-conformtest.sh: New file.
8362 * conform/Makefile: Run run-conformtest for tests.
8363 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8364 support.
8365
8366 * conform/data/uchar.h-data: New file.
8367 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8368 * conform/data/arpa/inet.h-data: Likewise.
8369 * conform/data/assert.h-data: Likewise.
8370 * conform/data/complex.h-data: Likewise.
8371 * conform/data/cpio.h-data: Likewise.
8372 * conform/data/ctype.h-data: Likewise.
8373 * conform/data/dirent.h-data: Likewise.
8374 * conform/data/dlfcn.h-data: Likewise.
8375 * conform/data/errno.h-data: Likewise.
8376 * conform/data/fcntl.h-data: Likewise.
8377 * conform/data/float.h-data: Likewise.
8378 * conform/data/fmtmsg.h-data: Likewise.
8379 * conform/data/fnmatch.h-data: Likewise.
8380 * conform/data/ftw.h-data: Likewise.
8381 * conform/data/glob.h-data: Likewise.
8382 * conform/data/grp.h-data: Likewise.
8383 * conform/data/iconv.h-data: Likewise.
8384 * conform/data/inttypes.h-data: Likewise.
8385 * conform/data/langinfo.h-data: Likewise.
8386 * conform/data/libgen.h-data: Likewise.
8387 * conform/data/limits.h-data: Likewise.
8388 * conform/data/locale.h-data: Likewise.
8389 * conform/data/math.h-data: Likewise.
8390 * conform/data/monetary.h-data: Likewise.
8391 * conform/data/mqueue.h-data: Likewise.
8392 * conform/data/ndbm.h-data: Likewise.
8393 * conform/data/net/if.h-data: Likewise.
8394 * conform/data/netdb.h-data: Likewise.
8395 * conform/data/netinet/in.h-data: Likewise.
8396 * conform/data/nl_types.h-data: Likewise.
8397 * conform/data/poll.h-data: Likewise.
8398 * conform/data/pthread.h-data: Likewise.
8399 * conform/data/pwd.h-data: Likewise.
8400 * conform/data/regex.h-data: Likewise.
8401 * conform/data/sched.h-data: Likewise.
8402 * conform/data/search.h-data: Likewise.
8403 * conform/data/semaphore.h-data: Likewise.
8404 * conform/data/setjmp.h-data: Likewise.
8405 * conform/data/signal.h-data: Likewise.
8406 * conform/data/spawn.h-data: Likewise.
8407 * conform/data/stdarg.h-data: Likewise.
8408 * conform/data/stdio.h-data: Likewise.
8409 * conform/data/stdlib.h-data: Likewise.
8410 * conform/data/string.h-data: Likewise.
8411 * conform/data/strings.h-data: Likewise.
8412 * conform/data/stropts.h-data: Likewise.
8413 * conform/data/sys/ipc.h-data: Likewise.
8414 * conform/data/sys/mman.h-data: Likewise.
8415 * conform/data/sys/msg.h-data: Likewise.
8416 * conform/data/sys/resource.h-data: Likewise.
8417 * conform/data/sys/select.h-data: Likewise.
8418 * conform/data/sys/sem.h-data: Likewise.
8419 * conform/data/sys/shm.h-data: Likewise.
8420 * conform/data/sys/socket.h-data: Likewise.
8421 * conform/data/sys/stat.h-data: Likewise.
8422 * conform/data/sys/statvfs.h-data: Likewise.
8423 * conform/data/sys/time.h-data: Likewise.
8424 * conform/data/sys/timeb.h-data: Likewise.
8425 * conform/data/sys/times.h-data: Likewise.
8426 * conform/data/sys/types.h-data: Likewise.
8427 * conform/data/sys/uio.h-data: Likewise.
8428 * conform/data/sys/un.h-data: Likewise.
8429 * conform/data/sys/utsname.h-data: Likewise.
8430 * conform/data/sys/wait.h-data: Likewise.
8431 * conform/data/syslog.h-data: Likewise.
8432 * conform/data/tar.h-data: Likewise.
8433 * conform/data/termios.h-data: Likewise.
8434 * conform/data/utime.h-data: Likewise.
8435 * conform/data/utmpx.h-data: Likewise.
8436 * conform/data/varargs.h-data: Likewise.
8437 * conform/data/wchar.h-data: Likewise.
8438 * conform/data/wctype.h-data: Likewise.
8439 * conform/data/wordexp.h-data: Likewise.
8440
8441 * include/stropts.h: New file.
8442 * include/uchar.h: New file.
8443 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8444 * include/assert.h: Likewise.
8445 * include/ctype.h: Likewise.
8446 * include/dirent.h: Likewise.
8447 * include/dlfcn.h: Likewise.
8448 * include/fcntl.h: Likewise.
8449 * include/fnmatch.h: Likewise.
8450 * include/glob.h: Likewise.
8451 * include/grp.h: Likewise.
8452 * include/libio.h: Likewise.
8453 * include/locale.h: Likewise.
8454 * include/math.h: Likewise.
8455 * include/net/if.h: Likewise.
8456 * include/netdb.h: Likewise.
8457 * include/netinet/in.h: Likewise.
8458 * include/pthread.h: Likewise.
8459 * include/pwd.h: Likewise.
8460 * include/regex.h: Likewise.
8461 * include/sched.h: Likewise.
8462 * include/search.h: Likewise.
8463 * include/setjmp.h: Likewise.
8464 * include/signal.h: Likewise.
8465 * include/stdio.h: Likewise.
8466 * include/stdlib.h: Likewise.
8467 * include/string.h: Likewise.
8468 * include/sys/cdefs.h: Likewise.
8469 * include/sys/mman.h: Likewise.
8470 * include/sys/msg.h: Likewise.
8471 * include/sys/resource.h: Likewise.
8472 * include/sys/select.h: Likewise.
8473 * include/sys/socket.h: Likewise.
8474 * include/sys/stat.h: Likewise.
8475 * include/sys/statvfs.h: Likewise.
8476 * include/sys/time.h: Likewise.
8477 * include/sys/times.h: Likewise.
8478 * include/sys/uio.h: Likewise.
8479 * include/sys/utsname.h: Likewise.
8480 * include/sys/wait.h: Likewise.
8481 * include/termios.h: Likewise.
8482 * include/time.h: Likewise.
8483 * include/ulimit.h: Likewise.
8484 * include/unistd.h: Likewise.
8485 * include/utime.h: Likewise.
8486 * include/wchar.h: Likewise.
8487 * include/wctype.h: Likewise.
8488 * include/wordexp.h: Likewise.
8489
8490 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8491
7a270350
UD
8492 * time/time.h: TIME_UTC must be a macro.
8493 Make timespec_get available for ISO C11 only as well.
8494
7724defc
UD
84952012-02-24 Ulrich Drepper <drepper@gmail.com>
8496
8497 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8498 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8499
6b1d1d46
JM
85002012-02-24 Joseph Myers <joseph@codesourcery.com>
8501
8502 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8503
0f8bbd69
JM
85042012-02-24 Joseph Myers <joseph@codesourcery.com>
8505
8506 * manual/texinfo.tex: Update to version 2012-01-19.16.
8507
66ab80bc
JM
85082012-02-24 Joseph Myers <joseph@codesourcery.com>
8509
8510 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8511
74981cc5
RM
85122012-02-24 Roland McGrath <roland@hack.frob.com>
8513
ee968201
RM
8514 [BZ #13738]
8515 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8516 * manual/fdl-1.3.texi: New file.
8517 * manual/fdl-1.1.texi: File removed.
8518
74981cc5
RM
8519 [BZ #13738]
8520 * manual/libc.texinfo (FDL_VERSION): New @set.
8521 Use it for mention of FDL in cover text.
8522 (Documentation License): Use it in @include file name.
8523
7bb764bc
JM
85242012-02-22 Joseph Myers <joseph@codesourcery.com>
8525 Roland McGrath <roland@hack.frob.com>
8526
8527 [BZ #5461]
8528 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8529 not LONG_LONG_MAX and LONG_LONG_MIN.
8530 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8531 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8532 name.
8533 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8534
6cbeae47
JM
85352012-02-22 Joseph Myers <joseph@codesourcery.com>
8536
8537 [BZ #2547]
8538 [BZ #11365]
8539 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8540 manipulate bits before adding and subtracting TWO23[sx].
8541 * math/libm-test.inc (nearbyint_test): Add more tests.
8542
fe45ce09
JM
85432012-02-22 Joseph Myers <joseph@codesourcery.com>
8544
8545 [BZ #2548]
8546 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8547 bits before adding and subtracting TWO23[sx].
8548 * math/libm-test.inc (rint_test): Add more tests.
8549 (rint_test_tonearest): Likewise.
8550 (rint_test_towardzero): Likewise.
8551 (rint_test_downward): Likewise.
8552 (rint_test_upward: Likewise.
8553
ff3b3d82
JM
85542012-02-22 Joseph Myers <joseph@codesourcery.com>
8555
8556 [BZ #10110]
8557 * include/stdc-predef.h: New file. Extracted from features.h.
8558 * include/features.h: Include stdc-predef.h.
8559 * Makefile (headers): Add stdc-predef.h.
8560 * CONFORMANCE (Compiler limitations): Update.
8561
ef0aab35
JM
85622012-02-22 Joseph Myers <joseph@codesourcery.com>
8563
8564 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8565
58639409
DM
85662012-02-21 David S. Miller <davem@davemloft.net>
8567
8568 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8569 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8570
c0e70b25
DM
85712012-02-20 David S. Miller <davem@davemloft.net>
8572
8573 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8574 using a normal save/restore sequence, rather than allocating a
8575 dummy stack frame just to store a frame pointer and restore.
8576 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8577
fb06851d
JM
85782012-02-21 Joseph Myers <joseph@codesourcery.com>
8579
8580 * manual/install.texi: Fix stray word in line-wrapped comment.
8581
7a8b71c3
DM
85822012-02-20 David S. Miller <davem@davemloft.net>
8583
d510c123
DM
8584 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8585 both binutils and gcc support GOTDATA.
8586
0722d7c2
DM
8587 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8588 "rd %pc" in the PIC register setup sequences.
8589
3d2b3019
DM
8590 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8591 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8592 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8593 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8594 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8596 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8597 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8599 (SYSCALL_ERROR_HANDLER): Likewise.
8600 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8601 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8602 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8603 (SYSCALL_ERROR_HANDLER): Likewise.
8604
c80098a9
DM
8605 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8606 (HAVE_GCC_GOTDATA): New.
8607 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8608 relocation support in both binutils and gcc.
8609 * sysdeps/sparc/elf/configure: Regenerate.
8610
3a2545a0
DM
8611 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8612 * sysdeps/sparc/sparc32/elf/configure: Delete.
8613 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8614 * sysdeps/sparc/sparc64/elf/configure: Delete.
8615 * sysdeps/sparc/elf/configure.in: New file.
8616 * sysdeps/sparc/elf/configure: Generate.
8617
7a8b71c3
DM
8618 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8619 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8620 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8621 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8622 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8623
f1e86fca
JM
86242012-02-21 Joseph Myers <joseph@codesourcery.com>
8625
8626 * manual/install.texi: Do not mention specific glibc version
8627 numbers.
8628 * manual/libc.texinfo (VERSION, UPDATED): Update.
8629 (@copying): Use @copyright{} and range of years.
8630
0e7dfaef
JM
86312012-02-21 Joseph Myers <joseph@codesourcery.com>
8632
8633 [BZ #13695]
8634 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8635 [crti.S not in sysdirs] (generated): Do not append.
8636 [crti.S not in sysdirs] (omit-deps): Likewise.
8637 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8638 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8639 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8640 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8641 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8642 Likewise.
8643 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8644 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8645 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8646 * csu/defs.awk: Remove file.
8647 * sysdeps/generic/initfini.c: Likewise.
8648 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8649 variable.
8650 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8651 Likewise.
8652
599af3ca
JM
86532012-02-20 Joseph Myers <joseph@codesourcery.com>
8654
8655 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8656 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8657 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8658 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8659 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8660 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8661 <bits/epoll.h>.
8662 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8663 (__EPOLL_PACKED): Define to empty if not defined by
8664 <bits/epoll.h>.
8665 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8667 bits/epoll.h.
8668
0e499750
JM
86692012-02-20 Joseph Myers <joseph@codesourcery.com>
8670
8671 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8672 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8673 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8674 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8675 <bits/timerfd.h>.
8676 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8677 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8678 bits/timerfd.h.
8679
5ad91f6e
JM
86802012-02-20 Joseph Myers <joseph@codesourcery.com>
8681
8682 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8683 in C locale.
8684 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8685 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8686 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8688
06b99b02
AJ
86892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8690
8691 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8692 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8693
7638c0fd
AS
86942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8695
8696 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8697 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8698 defined.
8699 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8700 Likewise.
8701 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8702 entry for 2.16.
8703
92221550
AJ
87042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8705
8706 * math/w_acos.c: Use non-signaling floating-point comparisons.
8707 * math/w_acosf.c: Likewise.
8708 * math/w_acosh.c: Likewise.
8709 * math/w_acoshf.c: Likewise.
8710 * math/w_acoshl.c: Likewise.
8711 * math/w_acosl.c: Likewise.
8712 * math/w_asin.c: Likewise.
8713 * math/w_asinf.c: Likewise.
8714 * math/w_asinl.c: Likewise.
8715 * math/w_atanh.c: Likewise.
8716 * math/w_atanhf.c: Likewise.
8717 * math/w_atanhl.c: Likewise.
8718 * math/w_exp2.c: Likewise.
8719 * math/w_exp2f.c: Likewise.
8720 * math/w_exp2l.c: Likewise.
8721 * math/w_j0.c: Likewise.
8722 * math/w_j0f.c: Likewise.
8723 * math/w_j0l.c: Likewise.
8724 * math/w_j1.c: Likewise.
8725 * math/w_j1f.c: Likewise.
8726 * math/w_j1l.c: Likewise.
8727 * math/w_jn.c: Likewise.
8728 * math/w_jnf.c: Likewise.
8729 * math/w_log.c: Likewise.
8730 * math/w_log10.c: Likewise.
8731 * math/w_log10f.c: Likewise.
8732 * math/w_log10l.c: Likewise.
8733 * math/w_log2.c: Likewise.
8734 * math/w_log2f.c: Likewise.
8735 * math/w_log2l.c: Likewise.
8736 * math/w_logf.c: Likewise.
8737 * math/w_logl.c: Likewise.
8738 * math/w_sqrt.c: Likewise.
8739 * math/w_sqrtf.c: Likewise.
8740 * math/w_sqrtl.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8743 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8744 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8745 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8746
ebaf36eb
JM
87472012-02-19 Joseph Myers <joseph@codesourcery.com>
8748
8749 [BZ #9739]
8750 * manual/string.texi (strnlen): Use correct parameter name in
8751 equivalent expression.
8752
71c254a6
JM
87532012-02-19 Joseph Myers <joseph@codesourcery.com>
8754
8755 [BZ #11174]
8756 * manual/users.texi (seteuid): Consistently use neweuid for
8757 argument name.
8758
16d2c631
JM
87592012-02-19 Joseph Myers <joseph@codesourcery.com>
8760
8761 [BZ #13704]
8762 * manual/nss.texi (Services in the NSS configuration): Correct
8763 list of services in example configuration file.
8764
cd837b09
NB
87652012-02-19 Nick Bowler <nbowler@draconx.ca>
8766
8767 [BZ #11322]
8768 * manual/arith.texi: Remove statements about negative zero
8769 behaving identically to zero.
8770
02c4bbad
JM
87712012-02-18 Joseph Myers <joseph@codesourcery.com>
8772
8773 [BZ #5993]
8774 * manual/install.texi: Do not document upgrading from libc5.
8775
366842e7
JM
87762012-02-18 Joseph Myers <joseph@codesourcery.com>
8777
8778 [BZ #4596]
8779 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8780
dd54084d
DM
87812012-02-18 David S. Miller <davem@davemloft.net>
8782
8783 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8784 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8785 %o7 across the call.
8786 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8787 instead.
8788 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8789 SETUP_PIC_REG_LEAF.
8790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8791 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8792 * sysdeps/sparc/crtn.S: Likewise.
8793
2bcc53a3
UD
87942012-02-17 Ulrich Drepper <drepper@gmail.com>
8795
8796 * aout/Makefile: Remove.
8797
09c093b5
RK
87982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8799
8800 [BZ #13058]
8801 * manual/examples/argp-ex1.c (main): Format definition in GNU
8802 style.
8803 * manual/examples/argp-ex2.c (main): Likewise.
8804 * manual/examples/argp-ex3.c (main): Likewise.
8805 * manual/examples/argp-ex4.c (main): Likewise.
8806 * manual/examples/longopt.c (main): Use new-style prototype
8807 definition.
8808 * manual/examples/strncat.c (main): Specify return type and use
8809 (void) for arguments.
8810 * manual/examples/subopt.c (main): Use char **argv argument.
8811
2ee633a2
JM
88122012-02-17 Joseph Myers <joseph@codesourcery.com>
8813
8814 [BZ #5077]
8815 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8816 rounding modes.
8817
0520adde
FB
88182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8819
8820 [BZ #6907]
8821 * manual/string.texi (strchr): Change when strchrnul is
8822 recommended.
8823
3f4081cd
DGM
88242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8825
8826 [BZ #174]
8827 * manual/locale.texi (setlocale): Document LOCPATH.
8828
d1b10e78
JM
88292012-02-17 Joseph Myers <joseph@codesourcery.com>
8830
8831 [BZ #10210]
8832 * manual/process.texi (execle): Move @dots{} before last argument.
8833
79c6869c
PB
88342012-02-17 Paul Bolle <pebolle@tiscali.nl>
8835
8836 [BZ #12047]
8837 * manual/charset.texi (Generic Charset Conversion): Fix typo
8838 (LC_TYPE -> LC_CTYPE).
8839
cc6e48bc
NB
88402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8841
8842 [BZ #5805]
8843 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8844 (scalbnf): Likewise.
8845 (scalbnl): Likewise.
8846 (scalbln): Likewise.
8847 (scalblnf): Likewise.
8848 (scalblnl): Likewise.
8849 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8850 (vwarnx): Likewise.
8851 (verr): Likewise.
8852 (verrx): Likewise.
8853 * manual/filesys.texi (telldir): Use braces around return type.
8854 * manual/llio.texi (mmap): Add space after comma.
8855 (mmap64): Likewise.
8856 * manual/math.texi (jn): Use @var{} on parameter names.
8857 (jnf): Likewise.
8858 (jnl): Likewise.
8859 (yn): Likewise.
8860 (ynf): Likewise.
8861 (ynl): Likewise.
8862 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8863 line.
8864 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8865 "...".
8866 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8867 (sched_get_priority_max): Likewise.
8868 * manual/signal.texi (sigvec): Add space after comma.
8869 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8870 names.
8871 (if_indextoname): Likewise.
8872 (if_freenameindex): Likewise.
8873 (sendto): Use ',' instead of '.' in prototype.
8874 * manual/startup.texi (syscall): Use @dots{} instead of literal
8875 "...".
8876 * manual/stdio.texi (__fpending): Separate initial words of
8877 paragraph from @deftypefun line.
8878 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8879 "...".
8880 (vsyslog): Use @var{} on parameter names.
8881 * manual/terminal.texi (stty): Use @var{} on parameter names.
8882 * manual/users.texi (getutmp): Use @var{} on parameter names.
8883 (getutmpx): Likewise.
8884
5b23062f
JM
88852012-02-17 Joseph Myers <joseph@codesourcery.com>
8886
8887 [BZ #6884]
8888 * manual/stdio.texi (fopen): Fix typos in description of
8889 ",ccs=STRING".
8890
8dee4833
AJ
88912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8892
8893 [BZ #4026]
8894 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8895 get clock_id definition.
8896
9078ce93
TS
88972012-02-17 Thomas Schwinge <thomas@schwinge.name>
8898
8899 [BZ #4822]
8900 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8901 (madvise): Cast every argument to void on its own.
8902
3835c55f
JM
89032012-02-17 Joseph Myers <joseph@codesourcery.com>
8904
8905 [BZ #9902]
8906 * manual/startup.texi (Exit Status): Fix typo.
8907
35c47e37
JM
89082012-02-17 Joseph Myers <joseph@codesourcery.com>
8909
8910 [BZ #10140]
8911 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8912 * manual/examples/argp-ex2.c: Likewise.
8913 * manual/examples/argp-ex3.c: Likewise.
8914
e3b69ca7
RH
89152012-02-16 Richard Henderson <rth@redhat.com>
8916
8917 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8918 * sysdeps/s390/s390-32/initfini.c: Remove.
8919 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8920 * sysdeps/s390/s390-64/initfini.c: Remove.
8921
df83af67
KK
89222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8923
8924 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8925 compiler output for sysdeps/generic/initfini.c.
8926 * sysdeps/sh/elf/initfini.c: Remove file.
8927
f63f3380
DM
89282012-02-16 David S. Miller <davem@davemloft.net>
8929
fb59b3a4
DM
8930 [BZ #11494]
8931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8932
f63f3380
DM
8933 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8934 * sysdeps/sparc/crti.S: New file.
8935 * sysdeps/sparc/crtn.S: New file.
8936 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8937 * sysdeps/sparc/sparc64/Makefile: Likewise.
8938
df6a4a4a
MF
89392012-02-15 Mike Frysinger <vapier@gentoo.org>
8940
6dd8f3dc 8941 [BZ #3335]
df6a4a4a
MF
8942 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8943
1cac7236
RM
89442012-02-15 Roland McGrath <roland@hack.frob.com>
8945
d2c736f8
RM
8946 [BZ #4822]
8947 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8948
1cac7236
RM
8949 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8950 (write, read, close): Likewise.
8951 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8952
8e475601
JM
89532012-02-15 Joseph Myers <joseph@codesourcery.com>
8954
8955 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8956 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8957 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8958 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8959 <bits/signalfd.h>.
8960 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8962 bits/signalfd.h.
8963
ed656b40
MP
89642012-02-14 Marek Polacek <polacek@redhat.com>
8965
8966 * sysdeps/x86_64/crti.S: New file.
8967 * sysdeps/x86_64/crtn.S: New file.
8968 * sysdeps/x86_64/elf/initfini.c: Remove file.
8969
2a979d3a
JM
89702012-02-13 Joseph Myers <joseph@codesourcery.com>
8971
8972 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8973 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8974 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8975 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8976 <bits/inotify.h>.
8977 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8979 bits/inotify.h.
8980
2a418ac3
JM
89812012-02-13 Joseph Myers <joseph@codesourcery.com>
8982
8983 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8984 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8985 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8986 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8987 <bits/eventfd.h>.
8988 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8989 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8990 bits/eventfd.h.
8991
fb779be7
TS
89922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8993
e19e83c5
RM
8994 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8995 __feraiseexcept instead of feraiseexcept.
7c35ffed 8996
fb779be7
TS
8997 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8998 nanosleep invocations.
8999 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9000 strings, and add error checking for a nanosleep invocations.
9001
59ba27a6
PE
90022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9003
9004 Replace FSF snail mail address with URLs, as per GNU coding standards.
9005 Most of the snail mail addresses were wrong anyway, and omitting
9006 them makes the source code easier to maintain. Almost all of the
9007 changes are to license notices and to locale LC_IDENTIFICATION
9008 addresses, except for this one:
9009 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9010 not its snail mail address.
9011
57b957eb
RH
90122012-02-09 Richard Henderson <rth@twiddle.net>
9013
af850b1c
RH
9014 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9015 of kernel-features.h.
9016
57b957eb
RH
9017 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9018
6b73181a
MP
90192012-02-08 Marek Polacek <polacek@redhat.com>
9020
9021 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9022 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9023 * sysdeps/gnu/_G_config.h: Likewise.
9024 * sysdeps/generic/_G_config.h: Likewise.
9025
26ecc33a
AS
90262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9027
6c6dbc63
AS
9028 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9029 tests.
9030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9031
e216c012
AS
9032 * sysdeps/powerpc/powerpc32/crti.S: New file.
9033 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9034 * sysdeps/powerpc/powerpc64/crti.S: New file.
9035 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9036
26ecc33a
AS
9037 * Makeconfig (have-initfini): Don't set.
9038 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9039 * configure.in (nopic_initfini): Don't substitute.
9040 * config.h.in (HAVE_INITFINI): Don't #undef.
9041 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9042 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9043
3add8e13
JM
90442012-02-08 Joseph Myers <joseph@codesourcery.com>
9045
9046 Support crti.S and crtn.S provided directly by architectures.
9047 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9048 [crti.S in sysdirs] (omit-deps): Likewise.
9049 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9050 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9051 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9052 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9053 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9054 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9055 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9056 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9057 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9058 compiler output for sysdeps/generic/initfini.c.
9059 * sysdeps/i386/elf/Makefile: Remove file.
9060 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9061
a22f12b4
MP
90622012-02-07 Marek Polacek <polacek@redhat.com>
9063
9064 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9065 * sysdeps/gnu/_G_config.h: Likewise.
9066 * sysdeps/mach/hurd/_G_config.h: Likewise.
9067
148cf100
MP
90682012-02-07 Marek Polacek <polacek@redhat.com>
9069
9070 * math/Makefile (tests): Add tst-CMPLX2.
9071 * math/tst-CMPLX2.c: New file.
9072
cfdc0dd7
AS
90732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9074
84ba42c4
AS
9075 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9076
cfdc0dd7
AS
9077 * math/libm-test.inc (jn_test): Add missing L suffix.
9078
622c86f4
MP
90792012-02-06 Marek Polacek <polacek@redhat.com>
9080
9081 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9082 * sysdeps/i386/fpu/e_powf.S: Likewise.
9083 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9084 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9085 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9086 * sysdeps/i386/fpu/e_pow.S: Likewise.
9087 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9088 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9089 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9090 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9091 * sysdeps/i386/fpu/e_log2.S: Likewise.
9092 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9093 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9094 * sysdeps/i386/fpu/e_powl.S: Likewise.
9095 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9096 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9097 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9098 * sysdeps/i386/fpu/e_logl.S: Likewise.
9099 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9100 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9101 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9102 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9103 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9104 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9105 * sysdeps/i386/fpu/e_log.S: Likewise.
9106 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9107 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9108 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9109 * sysdeps/i386/fpu/e_logf.S: Likewise.
9110 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9111 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9112 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9113 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9114 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9115 * sysdeps/i386/fpu/e_log10.S: Likewise.
9116 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9117 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9118 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9119 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9120 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9121 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9122 * sysdeps/i386/asm-syntax.h: Likewise.
9123 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9124 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9125 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9126 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9127 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9128 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9129 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9130 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9131 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9132 * sysdeps/powerpc/sysdep.h: Likewise.
9133 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9134 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9135
d4a54ac6
JM
91362012-02-06 Joseph Myers <joseph@codesourcery.com>
9137
9138 [BZ #411]
9139 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9140
314054ea
JM
91412012-02-06 Joseph Myers <joseph@codesourcery.com>
9142
9143 * sysdeps/i386/sysdep.h: Include <features.h>.
9144 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9145 version.
9146
d8e0ca50
JM
91472012-02-05 Joseph Myers <joseph@codesourcery.com>
9148
9149 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9150 Define.
9151 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9152 LOAD_PIC_REG_STR.
9153
b1da7dd9
JM
91542012-02-03 Joseph Myers <joseph@codesourcery.com>
9155
9156 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9157 (SETUP_PIC_REG): Use GET_PC_THUNK.
9158 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9159 macro.
9160
9a1d9254
JM
91612012-02-03 Joseph Myers <joseph@codesourcery.com>
9162
9163 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9164 for non-PIC compilation.
9165 (SETUP_PIC_REG): Add .p2align directive.
9166 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9167 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9168 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9169 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9170 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9171 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9172 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9173 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9174 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9175 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9176 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9177 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9178 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9179 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9180 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9181 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9182 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9183 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9184 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9185 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9186 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9187 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9188 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9189 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9190 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9192 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9193 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9194 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9195 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9196 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9197 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9198 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9199 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9200 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9201 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9202 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9203 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9204 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9205 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9206 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9207
65dc3b75
JM
92082012-02-03 Joseph Myers <joseph@codesourcery.com>
9209
9210 * math/tst-CMPLX.c: Include <stdio.h>.
9211
d55bf177
JM
92122012-01-31 Joseph Myers <joseph@codesourcery.com>
9213
9214 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9215 float.
9216 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9217 * sysdeps/sparc/bits/mathdef.h: Likewise.
9218
69db4f8f
MP
92192012-01-31 Marek Polacek <polacek@redhat.com>
9220
9221 * libio/libio.h: Don't define _PARAMS.
9222 * locale/programs/config.h: Don't define PARAMS.
9223 * stdlib/strtol_l.c: Likewise.
9224 (__strtol_l): Remove PARAMS from the prototype.
9225
41b81892
UD
92262012-01-31 Ulrich Drepper <drepper@gmail.com>
9227
3b49edc0
UD
9228 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9229 names. Just use the correct names. Remove unnecessary wrapper
9230 functions.
9231 * malloc/arena.c: Likewise.
9232 * malloc/hooks.c: Likewise.
9233
41b81892
UD
9234 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9235 ARENA_TEST says not to. Simplify test for creation of a new arena.
9236 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9237
27a25b6e
UD
92382012-01-30 Ulrich Drepper <drepper@gmail.com>
9239
9240 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9241 into tail calls.
9242 (update_get_addr): New function.
9243 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9244 GET_ADDR_MODULE parameter.
9245
c8a89e7d
JM
92462012-01-30 Joseph Myers <joseph@codesourcery.com>
9247
9248 * crypt/cert.c: Remove __STDC__ conditionals.
9249 * crypt/crypt-entry.c: Likewise.
9250 * crypt/crypt_util.c: Likewise.
9251 * libio/filedoalloc.c: Likewise.
9252 * libio/fileops.c: Likewise.
9253 * libio/genops.c: Likewise.
9254 * libio/iofclose.c: Likewise.
9255 * libio/iofdopen.c: Likewise.
9256 * libio/iofopen.c: Likewise.
9257 * libio/iofopen64.c: Likewise.
9258 * libio/iogetdelim.c: Likewise.
9259 * libio/iopopen.c: Likewise.
9260 * libio/obprintf.c: Likewise.
9261 * libio/oldfileops.c: Likewise.
9262 * libio/oldiofclose.c: Likewise.
9263 * libio/oldiofdopen.c: Likewise.
9264 * libio/oldiofopen.c: Likewise.
9265 * libio/oldiopopen.c: Likewise.
9266 * libio/wfiledoalloc.c: Likewise.
9267 * libio/wgenops.c: Likewise.
9268 * locale/programs/xmalloc.c: Likewise.
9269 * misc/syslog.c: Likewise.
9270 * stdio-common/xbug.c: Likewise.
9271 * string/memchr.c: Likewise.
9272 * string/memcmp.c: Likewise.
9273 * string/memrchr.c: Likewise.
9274 * string/rawmemchr.c: Likewise.
9275 * sysdeps/posix/getcwd.c: Likewise.
9276 * time/strftime_l.c: Likewise.
9277
3b100462
JM
92782012-01-30 Joseph Myers <joseph@codesourcery.com>
9279
9280 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9281 * config.make.in (config-cflags-sse2avx): Define.
9282 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9283 Fix typo.
9284
607998af
CM
92852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9286
9287 * scripts/config.guess: Update from upstream config git repository.
9288 * scripts/config.sub: Likewise.
9289
3601428f
CM
92902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9291
3ac8b282
CM
9292 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9293 (EM_NUM): Update.
9294 (R_TILEPRO_*, R_TILEGX_*): New macros.
9295
e034841e
CM
9296 * scripts/firstversions.awk: Fix bug in version range handling.
9297
540d7568
CM
9298 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9299
3601428f
CM
9300 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9301
463de862
CM
9302 * include/sys/epoll.h: New file.
9303 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9304 libc_hidden_def.
9305
73139a76
UD
93062012-01-28 Ulrich Drepper <drepper@gmail.com>
9307
96bc5b45
UD
9308 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9309 Avoid unnecessary __WORDSIZE == 64 test.
9310 (fmaxf): Use VEX format if possible.
9311 (fmax): Likewise.
9312 (fminf): Likewise.
9313 (fmin): Likewise.
9314
56f6f6a2
UD
9315 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9316 * math/math_private.h: Remove libc_fegetround* and
9317 libc_fesetround*.
9318 * sysdeps/i386/configure.in: Check for -msse2avx.
9319 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9320 also if SSE2AVX is defined.
9321 Remove libc_fegetround* and libc_fesetround*.
9322 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9323 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9325 of HAS_YMM_USABLE.
9326 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9327 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9330 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9331
73139a76
UD
9332 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9333
d73f93a4
AZ
93342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9335
9336 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9337 size is not set.
9338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9339
6ee65ed6
UD
93402012-01-27 Ulrich Drepper <drepper@gmail.com>
9341
9342 [BZ #13618]
9343 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9344 relocation.
9345 * Makeconfig (libm): Define.
9346 * elf/Makefile: Add rules to build and run tst-relsort1.
9347 * elf/tst-relsort1.c: New file.
9348 * elf/tst-relsort1mod1.c: New file.
9349 * elf/tst-relsort1mod2.c: New file.
9350
8db21882
JM
93512012-01-27 Joseph Myers <joseph@codesourcery.com>
9352
9353 * math/s_ldexp.c: Remove __STDC__ conditionals.
9354 * math/s_ldexpf.c: Likewise.
9355 * math/s_ldexpl.c: Likewise.
9356 * math/s_nextafter.c: Likewise.
9357 * math/s_nexttowardf.c: Likewise.
9358 * math/s_significand.c: Likewise.
9359 * math/s_significandf.c: Likewise.
9360 * math/s_significandl.c: Likewise.
9361 * math/w_jnl.c: Likewise.
9362 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9363 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9364 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9365 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9366 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9370 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9381 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9382 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9383 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9384 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9386 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9387 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9388 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9389 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9390 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9391 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9392 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9393 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9394 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9395 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9396 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9397 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9398 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9399 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9400 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9401 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9402 * sysdeps/ieee754/k_standard.c: Likewise.
9403 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9405 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9411 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9412 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9415 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9416 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9417 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9418 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9419 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9420 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9421 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9422 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9424 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9425 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9426 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9427 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9428 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9432 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9433 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9434 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9451 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9452 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9463 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9464 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9468 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9469 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9470 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9471 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9473 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9476 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9477 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9478 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9481 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9482 * sysdeps/ieee754/s_matherr.c: Likewise.
9483 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9484 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9486 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9487
965a54a4
JM
94882012-01-26 Joseph Myers <joseph@codesourcery.com>
9489
9490 * crypt/md5.h: Remove __STDC__ conditionals.
9491 * libio/libioP.h: Likewise.
9492 * locale/programs/config.h: Likewise.
9493 * sysdeps/generic/sysdep.h: Likewise.
9494 * sysdeps/i386/asm-syntax.h: Likewise.
9495 * sysdeps/s390/asm-syntax.h: Likewise.
9496 * sysdeps/unix/sysdep.h: Likewise.
9497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9499
7071ad79
JM
95002012-01-26 Joseph Myers <joseph@codesourcery.com>
9501
9502 * libio/libio.h: Remove __STDC__ conditionals.
9503 * malloc/obstack.h: Likewise.
9504 * math/complex.h: Likewise.
9505 * math/math.h: Likewise.
9506 * sysdeps/generic/_G_config.h: Likewise.
9507 * sysdeps/gnu/_G_config.h: Likewise.
9508 * sysdeps/mach/hurd/_G_config.h: Likewise.
9509 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9510 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9511 * sysdeps/sparc/bits/mathdef.h: Likewise.
9512
afc5ed09
UD
95132012-01-26 Ulrich Drepper <drepper@gmail.com>
9514
9515 [BZ #13583]
9516 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9517 Clean up HAS_* macros.
afc5ed09 9518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9519 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9520 possible.
9521 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9522 HAS_AVX.
9523 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9524 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9525 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9526 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9527 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9528
bdb6de1d
JM
95292012-01-25 Joseph Myers <joseph@codesourcery.com>
9530
9531 * elf/tst-unique3.cc (gets): Remove declaration.
9532 * elf/tst-unique3lib.cc (gets): Likewise.
9533 * elf/tst-unique3lib2.cc (gets): Likewise.
9534 * elf/tst-unique4.cc (gets): Likewise.
9535
b15549e6
UD
95362012-01-24 Ulrich Drepper <drepper@gmail.com>
9537
9538 * include/stdio.h: Add C++ protection. Add gets declarations and
9539 definitions.
9540 * debug/tst-chk1.c: Don't declare gets here.
9541 * stdio-common/tst-gets.c: Likewise.
9542
a037381f
JM
95432012-01-24 Joseph Myers <joseph@codesourcery.com>
9544
9545 * posix/glob: Remove directory.
9546
f1d4aa75
JM
95472012-01-24 Joseph Myers <joseph@codesourcery.com>
9548
9549 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9550
81c0c964
PT
95512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9552
9553 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9554 of the non-standard EPFNOSUPPORT.
9555
0ea698ae
ST
95562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9557
9558 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9559 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9560 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9561
d220b117
UD
95622012-01-21 Ulrich Drepper <drepper@gmail.com>
9563
9564 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9565
3e1aa84e
UD
95662012-01-20 Ulrich Drepper <drepper@gmail.com>
9567
9568 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9569 transient errors.
9570 * nscd/grpcache.c (cache_addgr): Likewise.
9571 * nscd/hstcache.c (cache_addhst): Likewise.
9572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9573 * nscd/pwdcache.c (cache_addpw): Likewise.
9574 * nscd/servicescache.c (cache_addserv): Likewise.
9575
400aa020
UD
95762012-01-16 Ulrich Drepper <drepper@gmail.com>
9577
d77e7869
UD
9578 * malloc/malloc.c: Various cleanups.
9579 * malloc/hooks.c: Likewise.
9580
400aa020
UD
9581 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9582 * stdlib/bug-fmtmsg1.c: New file.
9583
9584 * stdlib/fmtmsg.c (init): Add missing unlock.
9585 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9586
e0a309cf
MP
95872012-01-12 Marek Polacek <polacek@redhat.com>
9588
9589 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9590 and _GNU_SOURCE.
9591
929d11c7
WS
95922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9593
9594 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9595 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9596 macro to ensure uniqueness of label name.
9597 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9598 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9599
41d0e869
UD
96002012-01-11 Ulrich Drepper <drepper@gmail.com>
9601
0cc5ed3b
UD
9602 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9603
41d0e869
UD
9604 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9605 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9608
a47a831a
UD
96092012-01-10 Ulrich Drepper <drepper@gmail.com>
9610
daa891c0
UD
9611 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9612
9613 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9614 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9615 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9616
e58ef0f2
UD
9617 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9618
a47a831a 9619 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9620 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9621 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9622 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9623
9624 * math/bits/math-finite.h: Add ldexp support.
9625
a0bfc9c7
MP
96262012-01-10 Marek Polacek <polacek@redhat.com>
9627
9628 * locale/programs/localedef.h (show_archive_content): Add noreturn
9629 attribute.
9630
d6e97a1d
UD
96312012-01-09 Ulrich Drepper <drepper@gmail.com>
9632
9633 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9634
d5835c26
UD
96352012-01-08 Ulrich Drepper <drepper@gmail.com>
9636
e5f484c6
UD
9637 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9638
d5835c26
UD
9639 * io/Makefile (headers): Add bits/poll2.h.
9640
d1f741e9
WS
96412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9642
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9644 typo #include statement.
9645
ec09c1c4
UD
96462012-01-08 Ulrich Drepper <drepper@gmail.com>
9647
9648 * include/sys/cdefs.h: Define __attribute_alloc_size.
9649 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9650 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9651 * elf/pldd.c: Likewise.
9652 * iconv/iconv_charmap.c: Likewise.
9653 * iconv/iconvconfig.c: Likewise.
9654 * iconv/strtab.c: Likewise.
9655 * locale/programs/locale.c: Likewise.
9656 * locale/programs/localedef.h: Likewise.
9657 * locale/programs/simple-hash.c: Likewise.
9658 * nscd/nscd.h: Likewise.
9659 * nss/makedb.c: Likewise.
9660 * sysdeps/generic/ldconfig.h: Likewise.
9661 * locale/programs/localedef.c: Remove xmalloc prototype.
9662 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9663
20b38e03
PP
96642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9665
9666 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9667 appropriate.
9668
a0da5fe1
UD
96692012-01-08 Ulrich Drepper <drepper@gmail.com>
9670
1d5a644a 9671 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9672 * math/tst-CMPLX.c: New file.
1d5a644a 9673
8784a6db
UD
9674 * math/complex.h (CMPLXL): Fix typo.
9675
d9a216c0
UD
9676 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9677 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9678 GLIBC_2.16.
9679 * debug/tst-chk1.c: Add poll and ppoll tests.
9680 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9681 * include/sys/poll.h: Add hidden proto for ppoll.
9682 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9683 * sysdeps/mach/hurd/ppoll.c: Likewise.
9684 * io/ppoll.c: Likewise.
9685 * debug/poll_chk.c: New file.
9686 * debug/ppoll_chk.c: New file.
9687 * include/bits/poll2.h: New file.
9688 * io/bits/poll2.h: New file.
9689
ac097f5c
UD
9690 [BZ #1350]
9691 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9692
2119dcfa
UD
9693 * configure.in: static is always set to yes. Remove.
9694 * config.make.in: Don't set build-static.
9695 * Makeconfig: Remove use of build-static.
9696 * dlfcn/Makefile: Likewise.
9697 * elf/Makefile: Likewise.
9698 * math/Makefile: Likewise.
9699 * misc/Makefile: Likewise.
9700 * nptl/Makefile: Likewise.
9701 * sysdeps/mach/hurd/Makefile: Likewise.
9702
121766a9
UD
9703 * configure.in: PWD_P is not used anymore.
9704 * config.make.in: Remove PWD_P entry.
9705
51a1d39c 9706 * configure.in: Remove last remnants of RANLIB.
8720d066 9707 No need to check for signed size_t anymore.
215f4bdc
UD
9708 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9709 and IA-64.
3857022a 9710 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9711 * aclocal.m4: Likewise.
9712
d3ed7225
UD
9713 * wcsmbs/mbrtoc16.c: Implement using towc function.
9714 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9715 * wcsmbs/wcsmbsload.c: Likewise.
9716 * iconv/gconv_simple.c: Likewise.
9717 * iconv/gconv_int.h: Likewise.
9718 * iconv/gconv_builtin.h: Likewise.
9719 * iconv/iconv_prog.c: Remove CHAR16 handling.
9720
9721 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9722
9723 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9724
a0da5fe1
UD
9725 * configure.in: Remove --with-elf and --enable-bounded options.
9726 Dont set base_machine for ia64. More non-ELF conditions removed.
9727 Remove testing and setting of leading underscore information.
9728 * config.make.in (build-bounded): Set to no.
9729 * config.h.in: Remove NO_UNDERSCORES entry.
9730 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9731 them.
9732 * csu/start.c: Remove !NO_UNDERSCORE code.
9733 * locale/localeinfo.h: Likewise.
9734 * sysdeps/generic/machine-gmon.h: Likewise.
9735 * sysdeps/generic/sysdep.h: Likewise.
9736 * sysdeps/i386/sysdep.h: Likewise.
9737 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9738 * sysdeps/mach/sysdep.h: Likewise.
9739 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9740 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9741 * sysdeps/sh/sysdep.h: Likewise.
9742 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9743 * sysdeps/unix/i386/sysdep.S: Likewise.
9744 * sysdeps/unix/sparc/start.c: Likewise.
9745 * sysdeps/unix/sparc/sysdep.S: Likewise.
9746 * sysdeps/unix/sparc/sysdep.h: Likewise.
9747 * sysdeps/unix/start.c: Likewise.
9748 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9749 * sysdeps/x86_64/sysdep.h: Likewise.
9750
df78418a
UD
97512012-01-07 Ulrich Drepper <drepper@gmail.com>
9752
a784e502
UD
9753 [BZ #13553]
9754 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9755 for non-gcc.
9756 * argp/argp-fmtstream.h: Use const instead __const.
9757 * argp/argp.h: Likewise.
9758 * assert/assert.h: Likewise.
9759 * bits/fenv.h: Likewise.
9760 * bits/sched.h: Likewise.
9761 * bits/sigset.h: Likewise.
9762 * bits/sigthread.h: Likewise.
9763 * catgets/nl_types.h: Likewise.
9764 * conform/data/pthread.h-data: Likewise.
9765 * crypt/crypt-private.h: Likewise.
9766 * crypt/crypt.h: Likewise.
9767 * crypt/crypt_util.c: Likewise.
9768 * ctype/ctype.h: Likewise.
9769 * debug/execinfo.h: Likewise.
9770 * debug/mbsnrtowcs_chk.c: Likewise.
9771 * debug/mbsrtowcs_chk.c: Likewise.
9772 * debug/wcsnrtombs_chk.c: Likewise.
9773 * debug/wcsrtombs_chk.c: Likewise.
9774 * debug/wcstombs_chk.c: Likewise.
9775 * dirent/dirent.h: Likewise.
9776 * dlfcn/dlfcn.h: Likewise.
9777 * elf/neededtest4.c: Likewise.
9778 * grp/grp.h: Likewise.
9779 * gshadow/gshadow.h: Likewise.
9780 * iconv/gconv.h: Likewise.
9781 * iconv/gconv_int.h: Likewise.
9782 * iconv/gconv_simple.c: Likewise.
9783 * iconv/iconv.h: Likewise.
9784 * iconv/loop.c: Likewise.
9785 * iconv/skeleton.c: Likewise.
9786 * include/aio.h: Likewise.
9787 * include/aliases.h: Likewise.
9788 * include/argz.h: Likewise.
9789 * include/arpa/inet.h: Likewise.
9790 * include/assert.h: Likewise.
9791 * include/dirent.h: Likewise.
9792 * include/dlfcn.h: Likewise.
9793 * include/execinfo.h: Likewise.
9794 * include/fcntl.h: Likewise.
9795 * include/fenv.h: Likewise.
9796 * include/glob.h: Likewise.
9797 * include/grp.h: Likewise.
9798 * include/libintl.h: Likewise.
9799 * include/mntent.h: Likewise.
9800 * include/netdb.h: Likewise.
9801 * include/pwd.h: Likewise.
9802 * include/rpc/netdb.h: Likewise.
9803 * include/sched.h: Likewise.
9804 * include/search.h: Likewise.
9805 * include/shadow.h: Likewise.
9806 * include/signal.h: Likewise.
9807 * include/stdio.h: Likewise.
9808 * include/stdlib.h: Likewise.
9809 * include/string.h: Likewise.
9810 * include/sys/socket.h: Likewise.
9811 * include/sys/stat.h: Likewise.
9812 * include/sys/statfs.h: Likewise.
9813 * include/sys/statvfs.h: Likewise.
9814 * include/sys/syslog.h: Likewise.
9815 * include/sys/time.h: Likewise.
9816 * include/sys/uio.h: Likewise.
9817 * include/time.h: Likewise.
9818 * include/unistd.h: Likewise.
9819 * include/utmp.h: Likewise.
9820 * include/wchar.h: Likewise.
9821 * include/wctype.h: Likewise.
9822 * inet/aliases.h: Likewise.
9823 * inet/arpa/inet.h: Likewise.
9824 * inet/netinet/ether.h: Likewise.
9825 * inet/netinet/in.h: Likewise.
9826 * intl/libintl.h: Likewise.
9827 * io/bits/fcntl2.h: Likewise.
9828 * io/fcntl.h: Likewise.
9829 * io/ftw.h: Likewise.
9830 * io/sys/poll.h: Likewise.
9831 * io/sys/stat.h: Likewise.
9832 * io/sys/statfs.h: Likewise.
9833 * io/sys/statvfs.h: Likewise.
9834 * io/utime.h: Likewise.
9835 * libio/bits/stdio.h: Likewise.
9836 * libio/bits/stdio2.h: Likewise.
9837 * libio/libio.h: Likewise.
9838 * libio/libioP.h: Likewise.
9839 * libio/stdio.h: Likewise.
9840 * locale/lc-ctype.c: Likewise.
9841 * locale/locale.h: Likewise.
9842 * login/utmp.h: Likewise.
9843 * malloc/arena.c: Likewise.
9844 * malloc/malloc.c: Likewise.
9845 * malloc/malloc.h: Likewise.
9846 * malloc/mcheck.c: Likewise.
9847 * malloc/mtrace.c: Likewise.
9848 * math/bits/mathcalls.h: Likewise.
9849 * math/fenv.h: Likewise.
9850 * math/math_private.h: Likewise.
9851 * misc/bits/error.h: Likewise.
9852 * misc/bits/syslog.h: Likewise.
9853 * misc/err.h: Likewise.
9854 * misc/error.h: Likewise.
9855 * misc/fstab.h: Likewise.
9856 * misc/mntent.h: Likewise.
9857 * misc/regexp.h: Likewise.
9858 * misc/search.h: Likewise.
9859 * misc/sgtty.h: Likewise.
9860 * misc/sys/mman.h: Likewise.
9861 * misc/sys/syslog.h: Likewise.
9862 * misc/sys/uio.h: Likewise.
9863 * misc/sys/xattr.h: Likewise.
9864 * misc/ttyent.h: Likewise.
9865 * nis/rpcsvc/ypclnt.h: Likewise.
9866 * nss/nss.h: Likewise.
9867 * posix/bits/unistd.h: Likewise.
9868 * posix/fnmatch.h: Likewise.
9869 * posix/glob.h: Likewise.
9870 * posix/sched.h: Likewise.
9871 * posix/spawn.h: Likewise.
9872 * posix/sys/wait.h: Likewise.
9873 * posix/unistd.h: Likewise.
9874 * posix/wordexp.h: Likewise.
9875 * pwd/pwd.h: Likewise.
9876 * resolv/netdb.h: Likewise.
9877 * resource/sys/resource.h: Likewise.
9878 * rt/aio.h: Likewise.
9879 * rt/bits/mqueue2.h: Likewise.
9880 * rt/mqueue.h: Likewise.
9881 * shadow/shadow.h: Likewise.
9882 * signal/signal.h: Likewise.
9883 * socket/send.c: Likewise.
9884 * socket/sendto.c: Likewise.
9885 * socket/sys/socket.h: Likewise.
9886 * stdio-common/printf.h: Likewise.
9887 * stdlib/bits/stdlib.h: Likewise.
9888 * stdlib/fmtmsg.h: Likewise.
9889 * stdlib/monetary.h: Likewise.
9890 * stdlib/stdlib.h: Likewise.
9891 * stdlib/ucontext.h: Likewise.
9892 * streams/stropts.h: Likewise.
9893 * string/argz.h: Likewise.
9894 * string/bits/string2.h: Likewise.
9895 * string/string.h: Likewise.
9896 * string/strings.h: Likewise.
9897 * sunrpc/rpc/auth.h: Likewise.
9898 * sunrpc/rpc/auth_des.h: Likewise.
9899 * sunrpc/rpc/clnt.h: Likewise.
9900 * sunrpc/rpc/netdb.h: Likewise.
9901 * sunrpc/rpc/pmap_clnt.h: Likewise.
9902 * sunrpc/rpc/xdr.h: Likewise.
9903 * sysdeps/generic/inttypes.h: Likewise.
9904 * sysdeps/generic/net/if.h: Likewise.
9905 * sysdeps/generic/sys/swap.h: Likewise.
9906 * sysdeps/gnu/net/if.h: Likewise.
9907 * sysdeps/gnu/utmpx.h: Likewise.
9908 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9909 * sysdeps/i386/i486/bits/string.h: Likewise.
9910 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9911 * sysdeps/s390/bits/string.h: Likewise.
9912 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9913 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9914 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9915 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9916 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9917 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9918 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9919 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9920 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9921 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9922 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9923 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9924 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9925 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9926 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9927 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9928 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9930 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9931 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9932 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9933 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9934 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9935 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9936 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9937 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9938 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9939 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9940 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9941 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9942 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9943 * sysvipc/sys/ipc.h: Likewise.
9944 * sysvipc/sys/msg.h: Likewise.
9945 * sysvipc/sys/sem.h: Likewise.
9946 * sysvipc/sys/shm.h: Likewise.
9947 * termios/termios.h: Likewise.
9948 * time/sys/time.h: Likewise.
9949 * time/time.h: Likewise.
9950 * wcsmbs/bits/wchar2.h: Likewise.
9951 * wcsmbs/uchar.h: Likewise.
9952 * wcsmbs/wchar.h: Likewise.
9953 * wctype/wctype.h: Likewise.
9954
0269750c
UD
9955 [BZ #13551]
9956 * Makeconfig: Remove all but ELF support including AIX support.
9957 * Makerules: Likewise.
9958 * config.h.in: Likewise.
9959 * config.make.in: Likewise.
9960 * configure: Likewise.
9961 * configure.in: Likewise.
9962 * csu/Makefile: Likewise.
9963 * csu/version.c: Likewise.
9964 * debug/Makefile: Likewise.
9965 * dlfcn/Makefile: Likewise.
9966 * elf/Makefile: Likewise.
9967 * extra-lib.mk: Likewise.
9968 * iconv/Makefile: Likewise.
9969 * include/libc-symbols.h: Likewise.
9970 * include/shlib-compat.h: Likewise.
9971 * resolv/Makefile: Likewise.
9972 * resolv/res_libc.c: Likewise.
9973 * rt/Makefile: Likewise.
9974 * sysdeps/i386/asm-syntax.h: Likewise.
9975 * sysdeps/i386/sysdep.h: Likewise.
9976 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9977 * sysdeps/mach/sysdep.h: Likewise.
9978 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9979 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9980 * sysdeps/s390/asm-syntax.h: Likewise.
9981 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9982 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9983 * sysdeps/sh/sysdep.h: Likewise.
9984 * sysdeps/unix/sparc/sysdep.h: Likewise.
9985 * sysdeps/wordsize-32/divdi3.c: Likewise.
9986 * sysdeps/x86_64/sysdep.h: Likewise.
9987
00bbd29b
UD
9988 * argp/Versions: Remove _argp_unlock_xxx.
9989
9990 [BZ #13559]
9991 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9992 * abilist/libBrokenLocale.abilist: Likewise.
9993 * abilist/libanl.abilist: Likewise.
9994 * abilist/libc.abilist: Likewise.
9995 * abilist/libcrypt.abilist: Likewise.
9996 * abilist/libdl.abilist: Likewise.
9997 * abilist/libm.abilist: Likewise.
9998 * abilist/libnsl.abilist: Likewise.
9999 * abilist/libpthread.abilist: Likewise.
10000 * abilist/libresolv.abilist: Likewise.
10001 * abilist/librt.abilist: Likewise.
10002 * abilist/libthread_db.abilist: Likewise.
10003 * abilist/libutil.abilist: Likewise.
10004 * abilist/libnss_db.abilist: New file.
10005
10006 * scripts/abilist.awk: Add support for indirect functions.
10007
a2693a0e
UD
10008 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10009
3f05895f
UD
10010 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10011
ecb6fb48
UD
10012 * shlib-versions: Remove entries for ports architectures.
10013
664f8cb9
UD
10014 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10015 files in ports.
10016 * elf/stackguard-macros.h: Remove support for IA-64.
10017 * elf/tst-auditmod1.c: Likewise.
10018 * sysdeps/generic/ldsodefs.h: Likewise.
10019
7ae81d88
UD
10020 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10021 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10022 configure files.
10023
bdeba135
UD
10024 [BZ #13552]
10025 * configure.in: Remove --enable-omitfp support.
10026 * FAQ.in: Adjust.
10027 * config.make.in: Likewise.
10028 * Makeconfig: Likewise.
10029 * manual/install.texi: Likewise.
10030
d75a0a62
UD
10031 In case anyone cares, the IA-64 architecture could move to ports.
10032 * sysdeps/ia64/*: Removed.
10033 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10034 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10035
dcc9756b
UD
10036 [BZ #13555]
10037 * configure.in: Remove entries for unsupported architectures.
10038
d3761ebc 10039 [BZ #13533]
9954432e
UD
10040 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10041 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10042 routines.
10043 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10044 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10045 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10046 fall back to using wcrtomb.
10047 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10048 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10049 renaming.
10050 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10051 * wcsmbs/tst-c16c32-1.c: New file.
10052
10053 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10054 local variable.
10055
c3a87236
UD
10056 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10057
28926a1b
UD
10058 * elf/tst-unique3.cc: Add explicit declaration of gets.
10059 * elf/tst-unique3lib.cc: Likewise.
10060 * elf/tst-unique3lib2.cc: Likewise.
10061 * elf/tst-unique4.cc: Likewise.
10062
df78418a
UD
10063 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10064
8ecd6b2a
JM
100652012-01-06 Joseph Myers <joseph@codesourcery.com>
10066
10067 [BZ #13566]
10068 * assert/assert.h (static_assert): Don't define for C++.
10069 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10070 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10071
9f115170
UD
100722012-01-03 Ulrich Drepper <drepper@gmail.com>
10073
5e0d0300
UD
10074 * iconv/loop.c (single loop): Fix assertion in storing of
10075 remaining bytes.
10076
9f115170
UD
10077 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10078
81fb02b0
UD
100792012-01-01 Ulrich Drepper <drepper@gmail.com>
10080
10081 * posix/getconf.c: Update copyright year.
10082 * nss/getent.c: Likewise.
a316c1f6 10083 * nss/makedb.c: Likewise.
81fb02b0
UD
10084 * iconv/iconvconfig.c: Likewise.
10085 * iconv/iconv_prog.c: Likewise.
10086 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10087 * elf/pldd.c: Likewise.
10088 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10089 * catgets/gencat.c: Likewise.
10090 * csu/version.c: Likewise.
10091 * elf/ldd.bash.in: Likewise.
10092 * elf/sprof.c (print_version): Likewise.
10093 * locale/programs/locale.c: Likewise.
10094 * locale/programs/localedef.c: Likewise.
a316c1f6 10095 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10096 * nscd/nscd.c (print_version): Likewise.
10097 * debug/xtrace.sh: Likewise.
10098 * malloc/memusage.sh: Likewise.
10099 * malloc/mtrace.pl: Likewise.
10100 * debug/catchsegv.sh: Likewise.
10101
2ba92745
JJ
101022011-12-30 Jakub Jelinek <jakub@redhat.com>
10103
10104 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10105 pure attribute.
10106
dadebdae
UD
101072011-12-24 Ulrich Drepper <drepper@gmail.com>
10108
d3761ebc 10109 [BZ #13533]
db6af3eb
UD
10110 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10111 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10112 transformations.
10113 * iconv/gconv_int.h: Likewise.
10114 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10115 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10116 from libc for GLIBC_2.16.
10117 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10118 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10119 * wcsmbs/uchar.h: Really define mbstate_t.
10120 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10121 * wcsmbs/c16rtomb.c: New file.
10122 * wcsmbs/mbrtoc16.c: New file.
10123 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10124 for C/POSIX locale.
10125 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10126 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10127
dadebdae
UD
10128 * wcsmbs/wchar.h: Add missing __restrict.
10129
67371b56
UD
101302011-12-23 Ulrich Drepper <drepper@gmail.com>
10131
74033a25
UD
10132 [BZ #13532]
10133 * time/Makefile (routines): Add timespec_get.
10134 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10135 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10136 timespec for ISO C11.
10137 * time/timespec_get.c: New file.
10138 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10139 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10140
380d7e87
UD
10141 [BZ #13531]
10142 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10143 * stdlib/stdlib.h: Declare aligned_alloc.
10144 * Versions.def: Add GLIBC_2.16 for libc.
10145 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10146
4e9e7a35
UD
10147 [BZ 13527]
10148 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10149 ISO C11.
10150
380d7e87 10151 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10152 code.
10153
03a71829
UD
10154 [BZ #13528]
10155 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10156
839e283e
UD
10157 [BZ #13529]
10158 * assert/assert.h (static_assert): Define.
10159
ce5294e2 10160 * version.h: Update for 2.16 development version.
90fa7312 10161
8d44e150 10162 [BZ #13526]
d7809905
UD
10163 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10164 _ISOC11_SOURCE.
10165
c0da14cd
UD
10166 * version.h (RELEASE): Bump for 2.15 release.
10167 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10168
530a3249
MP
10169 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10170 Patch by Marek Polacek <mpolacek@redhat.com>.
10171
67371b56
UD
10172 * bits/byteswap.h: Protect long long constants with __extension__.
10173 * sysdeps/i386/bits/byteswap.h: Likewise.
10174 * sysdeps/ia64/bits/byteswap.h: Likewise.
10175 * sysdeps/s390/bits/byteswap.h: Likewise.
10176 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10177
15db4de1
LD
101782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10179
10180 [BZ #13540]
bbe315ea
LD
10181 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10182 destination buffer.
15db4de1
LD
10183 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10184
2b2596b1
MP
101852011-12-23 Marek Polacek <polacek@redhat.com>
10186
10187 * elf/dl-addr.c (determine_info): Add inline keyword.
10188 * elf/tst-auditmod4b.c (check_avx): Likewise.
10189 * elf/tst-auditmod6b.c (check_avx): Likewise.
10190 * elf/tst-auditmod6c.c (check_avx): Likewise.
10191 * elf/tst-auditmod7b.c (check_avx): Likewise.
10192
70c6c246
UD
101932011-12-23 Ulrich Drepper <drepper@gmail.com>
10194
10195 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10196 !__SSE_MATH__.
10197
c044cf14
LD
101982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10199
15db4de1 10200 [BZ #13540]
c044cf14
LD
10201 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10202 processing for last bytes.
10203
6b13d9d9
BH
102042011-08-06 Bruno Haible <bruno@clisp.org>
10205
d455f537
BH
10206 [BZ #13061]
10207 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10208 U+0385, not to U+1FEE.
10209
6b13d9d9
BH
10210 [BZ #13062]
10211 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10212 entry for U+00A5 U+0301.
10213
db910efd
UD
102142011-12-22 Ulrich Drepper <drepper@gmail.com>
10215
27deeafc
UD
10216 [BZ #13166]
10217 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10218 buffer for the output is too small.
10219
aed9d171
UD
10220 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10221 optimization.
10222
db910efd
UD
10223 [BZ #13185]
10224 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10225 SSE flags if possible.
10226
2bd779ae
LD
102272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10228
e7f9dac3 10229 [BZ #13540]
2bd779ae
LD
10230 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10231 processing for last bytes.
10232
154bfc16
JM
102332011-12-22 Joseph Myers <joseph@codesourcery.com>
10234
10235 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10236 (syscall-list-default-options, syscall-list-default-condition)
10237 (syscall-list-includes): Define.
10238 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10239 list of ABIs and options and #if conditions for each ABI. Do not
10240 handle common syscalls between ABIs specially.
10241 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10242 Remove.
10243 (syscall-list-variants, syscall-list-32bit-options)
10244 (syscall-list-32bit-condition, syscall-list-64bit-options)
10245 (syscall-list-64bit-condition): Define.
10246 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10247 (syscall-list-variants, syscall-list-32bit-options)
10248 (syscall-list-32bit-condition, syscall-list-64bit-options)
10249 (syscall-list-64bit-condition): Define.
10250 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10251 Remove.
10252 (syscall-list-variants, syscall-list-32bit-options)
10253 (syscall-list-32bit-condition, syscall-list-64bit-options)
10254 (syscall-list-64bit-condition): Define.
10255 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10256 Remove.
10257 (syscall-list-variants, syscall-list-32bit-options)
10258 (syscall-list-32bit-condition, syscall-list-64bit-options)
10259 (syscall-list-64bit-condition): Define.
10260
21eaf3a5
UD
102612011-12-22 Ulrich Drepper <drepper@gmail.com>
10262
16c6f992
UD
10263 * locale/iso-639.def: Add brx entry.
10264
41043168
UD
10265 [BZ #13328]
10266 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10267 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10268
21eaf3a5
UD
10269 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10270 __feraiseexcept_renamed.
10271
e3a851a2
UD
102722011-12-21 Ulrich Drepper <drepper@gmail.com>
10273
4920765e
UD
10274 [BZ #13538]
10275 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10276 EPOLLET with unsigned values.
10277 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10278 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10279
e3a851a2
UD
10280 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10281 to large cancellation.
10282 * math/s_cacoshf.c: Likewise.
10283 * math/s_cacoshl.c: Likewise.
10284
b27e24b8
RK
102852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10286
10287 [BZ #13305]
aebefeee 10288 [BZ #12786]
b27e24b8
RK
10289 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10290 * math/s_cacoshf.c: Likewise.
10291 * math/s_cacoshl.c: Likewise.
10292
ee190f67
UD
102932011-12-21 Ulrich Drepper <drepper@gmail.com>
10294
10295 [BZ #13439]
10296 * iconv/gconv.h: Define __GCONV_SWAP.
10297 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10298 * iconvdata/utf-16.c: Likewise.
10299 * iconvdata/utf-32.c: Likewise.
10300
707f25df
AS
103012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10302
10303 [BZ #13524]
10304 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10305 numerator after shifting it by one limb.
10306
d2daaa1e
RÁE
103072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10308
10309 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10310 under [__USE_EXTERN_INLINES].
10311
a4647e72
UD
103122011-12-17 Ulrich Drepper <drepper@gmail.com>
10313
10314 [BZ #13446]
10315 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10316
f0b264f1
AZ
103172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10318
10319 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10320 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10321 optimized code.
10322 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10323 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10324 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10325 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10326 for strncasecmp/strncasecmp_l compilation.
10327 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10328 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10329
8ef4f244
MP
103302011-12-08 Marek Polacek <mpolacek@redhat.com>
10331
10332 [BZ #13484]
10333 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10334 of __asm__.
10335
97ac2654
UD
103362011-12-17 Ulrich Drepper <drepper@gmail.com>
10337
10338 [BZ #13506]
10339 * time/tzfile.c (__tzfile_read): Check values from file header.
10340
91d2a845
WS
103412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10342
10343 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10344 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10345 * powerpc/powerpc32/dl-start.S: Likewise.
10346 * powerpc/powerpc32/elf/start.S: Likewise.
10347 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10348 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10349 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10350 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10351 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10352 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10353 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10354 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10355 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10356 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10357 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10358 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10359 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10360 * powerpc/powerpc32/memset.S: Likewise.
10361 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10362 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10363 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10364 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10365 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10366 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10367 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10368 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10369 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10370 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10371 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10372 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10373 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10374
a1267ba1
AZ
103752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10376
10377 * math/libm-test.inc: Added more nearbyint tests.
10378 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10379 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10380 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10381 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10382
ad8ac1bd
RL
103832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10384
10385 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10386 FD_CLOEXEC.
10387
1d3e4b61
UD
103882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10389
10390 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10391 Add wcscpy-ssse3 wcscpy-c.
10392 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10393 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10394 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10395 * sysdeps/x86_64/wcschr.S: New file.
10396 * sysdeps/x86_64/wcsrchr.S: New file.
10397 * string/test-strcmp.c: Remove checking of wcscmp function for
10398 wrong alignments.
10399 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10400 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10401 wcsrchr-sse2 wcsrchr-c.
10402 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10403 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10404 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10405 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10406 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10407 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10408 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10409 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10410 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10411 * wcsmbc/wcschr.c (WCSCHR): New macro.
10412
5b330a2d
UD
104132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10414
10415 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10416 * wcsmbs/test-wcsrchr.c: New file.
10417 * string/test-strrchr.c: Add wcsrchr support.
10418 (WIDE): New macro.
10419 * wcsmbs/test-wcscpy.c: New file.
10420 * string/test-strcpy.c: Add wcscpy support.
10421 (WIDE): New macro.
26428b7c 10422
f039c043
UD
104232011-12-10 Ulrich Drepper <drepper@gmail.com>
10424
10425 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10426 the inner loop.
10427
850fb039
AS
104282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10429
10430 [BZ #13472]
10431 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10432
4efbd5cb
UD
104332011-12-04 Ulrich Drepper <drepper@gmail.com>
10434
52ff5dd0 10435 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10436 Minor optimizations.
52ff5dd0 10437
4efbd5cb
UD
10438 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10439 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10440 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10441
8a426e12
UD
104422011-12-03 Ulrich Drepper <drepper@gmail.com>
10443
aff2453d
UD
10444 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10445 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10446 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10447 for gcc to avoid warnings.
10448 * inet/Makefile (tests): Add tst-checks.
10449 * inet/tst-checks.c: New file.
10450
10451 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10452 warning.
10453
10454 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10455 __wmemcmp_sse2.
10456
10457 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10458 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10459
8a426e12
UD
10460 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10461
9bea3473
UD
104622011-12-02 Ulrich Drepper <drepper@gmail.com>
10463
3a965496
UD
10464 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10465 problem.
10466
9bea3473
UD
10467 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10468
f101631b
UD
104692011-11-29 Joseph Myers <joseph@codesourcery.com>
10470
10471 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10472 conditional on GCC version.
10473 (__arch_compare_and_exchange_val_8_acq)
10474 (__arch_compare_and_exchange_val_16_acq)
10475 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10476 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10477 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10478
a98275aa
UD
104792011-12-02 Joseph Myers <joseph@codesourcery.com>
10480
10481 * sysdeps/sh/backtrace.c: New file.
10482
d4cc29a2
AS
104832011-12-02 Andreas Schwab <schwab@redhat.com>
10484
10485 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10486 parenthesis.
10487
6257af2d
AS
104882011-12-01 Andreas Schwab <schwab@redhat.com>
10489
10490 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10491 falling back to utime.
10492
b5f44c1a
AS
104932011-11-30 Andreas Schwab <schwab@redhat.com>
10494
10495 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10496 expectations for float.
10497
f3a6cc0a
AS
104982011-11-29 Andreas Schwab <schwab@redhat.com>
10499
10500 * locale/weight.h (findidx): Add parameter len.
10501 * locale/weightwc.h (findidx): Likewise.
10502 * posix/fnmatch_loop.c (FCT): Adjust caller.
10503 * posix/regcomp.c (build_equiv_class): Likewise.
10504 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10505 * posix/regexec.c (check_node_accept_bytes): Likewise.
10506 * string/strcoll_l.c (STRCOLL): Likewise.
10507 * string/strxfrm_l.c (STRXFRM): Likewise.
10508
9d65ea3a
UD
105092011-11-17 Ulrich Drepper <drepper@gmail.com>
10510
10511 * Makefile.in: Remove CVSOPT handling.
10512 * configure.in: Remove use of AC_REVISION.
10513 * iconvdata/Makefile (distribute): No need to filter out CVS.
10514 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10515 handling.
10516
5583a086
AS
105172011-11-16 Andreas Schwab <schwab@redhat.com>
10518
10519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10520 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10521 [USE_AS_STRNCASECMP_L]: Likewise.
10522 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10523 NO_TLS_DIRECT_SEG_REFS.
10524 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10525 Fix argument offsets for non-PIC.
10526 [USE_AS_STRNCASECMP_L]: Likewise.
10527 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10528 NO_TLS_DIRECT_SEG_REFS.
10529
d62a8200
UD
105302011-11-15 Ulrich Drepper <drepper@gmail.com>
10531
9d65ea3a 10532 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10533 O_CLOEXEC.
10534 * locale/loadlocale.c (_nl_load_locale): Likewise.
10535
09f93bd3
AS
105362011-11-15 Andreas Schwab <schwab@redhat.com>
10537
446514f9
AS
10538 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10539 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10540 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10541 (SYSCALL_GETTIME): Set errno on error.
10542
09f93bd3
AS
10543 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10544 count references to noai6ai_cached.
10545
312be3f9
UD
105462011-11-15 Ulrich Drepper <drepper@gmail.com>
10547
10548 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10549
10550 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10551 FD_CLOEXEC for /proc/self/maps.
10552
10553 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10554 FD_CLOEXEC for /proc/meminfo.
10555
10556 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10557 gai.conf.
10558
10559 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10560 FD_CLOEXEC for given file.
10561
10562 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10563
10564 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10565 FD_CLOEXEC for /etc/hosts.
10566 (_gethtent): Likewise.
10567
10568 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10569
10570 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10571 cancellation and set FD_CLOEXEC for /etc/netgroup.
10572
10573 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10574 reading /etc/publickey.
10575
10576 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10577 allow cancellation when reading /etc/group.
10578
10579 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10580 cancellation.
10581 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10582
10583 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10584 when using data file.
10585
10586 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10587
10588 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10589 (write_nis_obj): Use "c" and "e" in fopen.
10590
10591 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10592
10593 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10594
10595 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10596
10597 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10598
10599 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10600 locale.alias.
10601
10602 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10603
10604 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10605
10606 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10607
10608 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10609 file parsing and set FD_CLOEXEC.
10610
82af0fa8
UD
106112011-11-14 Ulrich Drepper <drepper@gmail.com>
10612
10613 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10614
a5fb313c
AS
106152011-11-14 Andreas Schwab <schwab@redhat.com>
10616
10617 * malloc/arena.c (arena_get2): Don't call reused_arena when
10618 _int_new_arena failed.
10619
6abf3465
UD
106202011-11-14 Ulrich Drepper <drepper@gmail.com>
10621
10622 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10623 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10624 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10625 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10626 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10627 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10628 to compile strcasecmp and strncasecmp.
10629 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10630 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10631
10632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10633
76e3966e
UD
106342011-11-13 Ulrich Drepper <drepper@gmail.com>
10635
10636 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10637 locale-defines.sym to gen-as-const-headers.
10638 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10639 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10641 to compile strcasecmp and strncasecmp.
10642 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10643 strcasecmp_l and strncasecmp_l.
10644 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10645 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10646 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10647 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10648 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10649 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10650 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10651 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10652 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10653 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10654 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10655
ab26144e
UD
106562011-11-12 Ulrich Drepper <drepper@gmail.com>
10657
7edb22ef
UD
10658 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10659 result of SYSDEP_GETTIME_CPU to retval.
10660 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10661 parameter list to macro. Remove trailing semicolon. Adjust users.
10662
9694fc44
UD
10663 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10664 variable.
10665
8ad89ef8
UD
10666 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10667 mantissa words.
10668 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10669
0c822ef9
UD
10670 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10671 from unused variable.
10672
874e0564
UD
10673 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10674 DWARF definitions.
10675 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10676 for assembling.
10677
3a2edc79
UD
10678 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10679 over namespaces.
10680
f3c2577f
UD
10681 * sunrpc/rpc_prot.c (rejected): Fix case value.
10682
294ce126
UD
10683 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10684 unsigned long long int to avoid warnings in shift.
10685
5e2b63c6
UD
10686 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10687 of use of trans.
10688 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10689 variable tmp.
10690
e7f4b08e
UD
10691 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10692 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10693 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10694
ab26144e
UD
10695 * nis/nis_table.c (nis_list): Use variable of correct type for
10696 result of __follow_path call.
10697
8a6d5255
AZ
106982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10699
10700 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10701 of math functions ceil, trunc, floor, round, and sqrt, when
10702 avaliable on the platform.
10703 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10704 name clash.
10705 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10706 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10707 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10708
aaddc98c
MP
107092011-10-30 Marek Polacek <mpolacek@redhat.com>
10710
10711 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10712 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10713
95b7042b
RM
107142011-11-11 Roland McGrath <roland@hack.frob.com>
10715
10716 * include/unistd.h: Fix __readlink return type.
10717 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10718
57769839
UD
107192011-11-11 Ulrich Drepper <drepper@gmail.com>
10720
10721 * stdlib/ucontext.h: Undo last change for makecontext.
10722
edc5984d
AS
107232011-11-11 Andreas Schwab <schwab@redhat.com>
10724
98591e58
AS
10725 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10726
edc5984d
AS
10727 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10728 * setjmp/setjmp.h: Mark functions as non-leaf.
10729 * setjmp/bits/setjmp2.h: Likewise.
10730 * stdlib/ucontext.h: Likewise.
10731
77cdc054
AS
107322011-11-10 Andreas Schwab <schwab@redhat.com>
10733
10734 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10735 (reused_arena): Don't check arena limit.
10736 (arena_get2): Atomically check arena limit.
10737
fe72eebd
UD
107382011-11-08 Ulrich Drepper <drepper@gmail.com>
10739
5f078c32
UD
10740 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10741 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10742
fe72eebd
UD
10743 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10744 instructions.
10745
ae1bc2fa
AS
107462011-11-07 Andreas Schwab <schwab@redhat.com>
10747
7583a88d
AS
10748 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10749 handler when locking.
10750
ae1bc2fa
AS
10751 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10752 Fix size of allocated buffer.
10753
10fb0bfa
AS
107542011-11-04 Andreas Schwab <schwab@redhat.com>
10755
998832a4
AS
10756 [BZ #10103]
10757 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10758 declarations for long double functions.
10759 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10760
10fb0bfa
AS
10761 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10762
3d7ba52b
AS
107632011-11-03 Andreas Schwab <schwab@redhat.com>
10764
a9ae54a1
AS
10765 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10766 installed.
10767
3d7ba52b
AS
10768 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10769 is disabled.
10770
bc8db248
ST
107712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10772
10773 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10774
45b96dd6
AS
107752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10776
647776f6
AS
10777 * include/alloca.h (stackinfo_alloca_round): Define.
10778 (extend_alloca): Use it.
10779 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10780 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10781 here.
10782
d91a8b93
AS
10783 * scripts/check-local-headers.sh: Ignore libaudit.h.
10784
45b96dd6
AS
10785 * nscd/Makefile (extra-objs): Make recursively expanded.
10786
432d41ce
UD
107872011-11-01 Ulrich Drepper <drepper@gmail.com>
10788
34372fc6
UD
10789 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10790 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10791
fadb59f8
UD
10792 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10793 * posix/tst-rfc3484-2.c: Likewise.
10794 * posix/tst-rfc3484-3.c: Likewise.
10795
78239589
UD
10796 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10797 process_vm_writev.
10798 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10799 process_vm_writev.
10800 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10801 process_vm_writev from libc using GLIBC_2.15 version.
10802
432d41ce
UD
10803 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10804
02f9c6cf
PP
108052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10806
10807 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10808 stack usage.
10809
3a2c0242
UD
108102011-10-31 Ulrich Drepper <drepper@gmail.com>
10811
f4ec4833
UD
10812 [BZ #13367]
10813 * nss/getent.c (initgroups_keys): Show error message in case no group
10814 names are given.
10815
3a2c0242
UD
10816 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10817 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10818 __bump_nl_timestamp.
10819 * nscd/connections (nscd_init): When host database is served open
10820 netlink socket and request notification about configuration changes.
10821 (main_loop_poll): Track netlink file descriptor and bump timestamp
10822 in case data becomes available.
10823 (main_loop_epoll): Likewise.
10824 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10825 (database_pers_head): Add extra_data fileds.
10826 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10827 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10828 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10829 Adjust caller.
10830 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10831 in6ai data, call __free_in6ai.
10832 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10833 Add -DHAVE_NETLINK.
10834 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10835 interface information. Reuse previous data if netlink timestamp
10836 is not changed.
10837 (__bump_nl_timestamp): New function.
10838 (__free_in6ai): New function.
10839
636064eb
UD
108402011-10-30 Ulrich Drepper <drepper@gmail.com>
10841
10842 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10843 close_not_cancel_no_status here.
10844 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10845
9beb2334
UD
108462011-10-29 Ulrich Drepper <drepper@gmail.com>
10847
6ef76f3b
UD
10848 [BZ #13276]
10849 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10850 return value.
10851
0ffc4f3e 10852 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10853 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10854 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10855
cb95113e
UD
108562011-07-03 Andreas Jaeger <aj@suse.de>
10857
10858 [BZ #10709]
10859 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10860 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10861 * math/libm-test.inc (sin_test): Add test case.
10862
a1b560ff
UD
108632011-10-29 Ulrich Drepper <drepper@gmail.com>
10864
c9aaface
UD
10865 [BZ #13337]
10866 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10867 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10868
d272e7f1
UD
10869 * elf/chroot_canon.c (chroot_canon): Cleanups.
10870
1bc33071
UD
10871 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10872
1760874d
TJ
10873 [BZ #13335]
10874 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10875 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10876
51d91b18
UD
10877 * string/test-strchr.c: Make usable for strchrnul testing.
10878 * string/test-strchrnul.c: New file.
10879 * string/Makefile (strop-tests): Add strchrnul.
10880
a1b560ff 10881 * po/it.po: Update from translation team.
b611fb81 10882 * po/es.po: Likewise.
a1b560ff 10883
a5b81e1f
UD
108842011-10-28 Ulrich Drepper <drepper@gmail.com>
10885
fd52bc6d
UD
10886 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10887 the three constants needed as parameters. Drop the others.
10888 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10889 __m128i_strloadu_tolower.
52e4b9eb
UD
10890 Create and initialize variable zero and use it in all the places
10891 where _mm_setzero_si128 was used.
fd52bc6d 10892
a5b81e1f
UD
10893 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10894 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10895 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10896 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10897 anymore.
10898 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10899 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10900 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10901 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10902 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10903 __mpranred, __mptan.
10904 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10905 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10906 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10907 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10908 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10909 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10910 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10911 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10912 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10913
b4343346
AS
109142011-10-28 Andreas Schwab <schwab@redhat.com>
10915
0c92d8a8
AS
10916 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10917 redefine if SHARED.
10918 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10919
b4343346
AS
10920 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10921 wide char related routines to wcsmbs subdir.
10922
3871f58f
AS
109232011-10-27 Andreas Schwab <schwab@redhat.com>
10924
10925 [BZ #13344]
10926 * misc/sys/cdefs.h (__THROWNL): Define.
10927 * posix/unistd.h: Use __THREADNL instead of __THREAD
10928 for memory synchronization functions.
10929
94d44d9f
RM
109302011-10-26 Roland McGrath <roland@hack.frob.com>
10931
21b64b15 10932 [BZ #13349]
94d44d9f
RM
10933 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10934 doesn't exist.
10935 * manual/stdio.texi (Obstack Streams): Node removed.
10936
f6ce9294
AS
109372011-10-26 Andreas Schwab <schwab@redhat.com>
10938
80479147
AS
10939 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10940 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10941 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10942
f6ce9294
AS
10943 * math/math_private.h (math_force_eval): Allow non-addressable
10944 arguments.
10945 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10946
618280a1
UD
109472011-10-25 Ulrich Drepper <drepper@gmail.com>
10948
e0016b11
UD
10949 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10950 file is not needed.
10951
10952 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10953 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10954 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10955 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10956 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10957 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10958 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10959 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10960 Add AVX variants.
10961 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10962 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10963 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10964 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10965 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10966 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10967 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10968 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10969 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10970 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10971 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10972 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10973 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10974 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10975 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10976 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10977 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10978 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10979 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10980
10981 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10982 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10983
618280a1
UD
10984 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10985 place. Use VEX encoding when compiling for AVX.
10986
37822576
AS
109872011-10-25 Andreas Schwab <schwab@redhat.com>
10988
1f1e1947
AS
10989 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10990 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10991
37822576
AS
10992 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10993
31ea014d
UD
109942011-10-25 Ulrich Drepper <drepper@gmail.com>
10995
d7826aa1 10996 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10997 useless if() expression.
d7826aa1
UD
10998 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10999 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11000 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11001 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11002 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11003 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11004 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11005 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11007 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11008 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11009 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11010 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11011 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11012 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11013 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11014 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11016 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11017
31ea014d
UD
11018 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11019
16437fec
AS
110202011-10-25 Andreas Schwab <schwab@redhat.com>
11021
11022 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11023 condition.
11024 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11025
31d3cc00
UD
110262011-10-25 Ulrich Drepper <drepper@gmail.com>
11027
11028 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11029 .text section. Avoid duplicate constants.
11030 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11038 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11040 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11042 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11045 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11047 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11053 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11054 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11055 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11056 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11057 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11058 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11059 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11060 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11061 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11062 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11063 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11064 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11065 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11066 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11067 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11068 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11069 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11070 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11071 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11072 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11073 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11074 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11075
58985aa9
UD
110762011-10-24 Ulrich Drepper <drepper@gmail.com>
11077
202c9deb
UD
11078 * sysdeps/x86_64/dla.h: Move to ...
11079 * sysdeps/x86_64/fpu/dla.h: ...here.
11080 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11081 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11082
af968f62
UD
11083 * config.make.in: Add have-mfma4 entry.
11084 * configure.in: Substitute libc_cv_cc_fma4.
11085 * math/Makefile (dbl-only-routines): Add sincostab.
11086 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11087 Use __sincostab not sincos.
11088 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11089 name is a macro.
11090 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11093 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11094 using __copysign.
11095 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11096 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11097 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11098 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11099 and __inv.
11100 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11101 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11102 __copysign.
11103 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11104 define aliases when function name is a macro.
11105 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11106 sysdeps/ieee754/dbl-64/sincos.tbl.
11107 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11108 fma4-enabled routines.
11109 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11110 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11111 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11112 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11113 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11114 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11115 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11116 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11117 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11118 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11119 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11120 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11121 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11122 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11123 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11124 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11125 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11126 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11127 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11128 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11129 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11130 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11131 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11132 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11133 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11134 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11135 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11136 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11137 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11138 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11139
58985aa9
UD
11140 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11141 rename.
11142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11143 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11147 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11149 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11150
a201fbcf
AS
111512011-10-24 Andreas Schwab <schwab@redhat.com>
11152
11153 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11154
fc2ee42a
LD
111552011-10-23 Ulrich Drepper <drepper@gmail.com>
11156
bb3129bd
UD
11157 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11158
0275fff8
UD
11159 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11160 prediction.
11161 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11162
2fa2ae85
UD
11163 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11164 Remove unused variable magic_bits.
11165 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11166
fc2ee42a
LD
11167 * string/strnlen.c: Define and use STRNLEN macro.
11168 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11169 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11170 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11171 * wcsmbs/wcslen.c: Define and use WCSLEN.
11172 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11173 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11174 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11175 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11176 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11177 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11178 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11179
ce7dd29f
LD
111802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11181
11182 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11183 strnlen-sse2-no-bsf.
11184 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11186 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11187 Add strnlen support.
11188 (USE_AS_STRNLEN): New macro.
11189 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11190 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11191 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11192 * sysdeps/x86_64/wcslen.S: New file.
11193
979c70a3
MZ
111942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11195
11196 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11197 XMM-moves are used for copying on small sizes.
11198
2d09f82f
LD
111992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11200
11201 * wcsmbs/Makefile (strop-tests): Add wcschr.
11202 * wcsmbs/test-wcschr.c: New file.
11203 * string/test-strchr.c: Update.
11204 Add wcschr support.
11205 (WIDE): New macro.
11206
619fccca
LD
112072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11208
2d09f82f 11209 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11210 * wcsmbs/test-wcslen.c: New file.
11211 * string/test-strlen.c: Update.
11212 Add wcslen support.
11213 (WIDE): New macro.
11214
09f699ea
UD
112152011-10-23 Ulrich Drepper <drepper@gmail.com>
11216
11217 * po/it.po: Update from translation team.
11218
95584d3b
LD
112192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11220
11221 * sysdeps/x86_64/wcscmp.S: Update.
11222 Fix wrong comparison semantics.
11223 wcscmp shall use signed comparison not unsigned.
11224 Don't use substraction to avoid overflow bug.
11225 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11226 * wcsmbc/wcscmp.c: Likewise.
11227 * string/test-strcmp.c: Likewise.
11228 Add new tests to check cases with negative values.
11229
c8b3296b
UD
112302011-10-23 Ulrich Drepper <drepper@gmail.com>
11231
11232 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11233 * sysdeps/x86_64/dla.h: ...here. New file.
11234 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11235 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11236 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11239 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11242 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11243
246ad57a
AS
112442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11245
11246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11247 __ynl_finite aliases.
11248
a1a87169
UD
112492011-10-22 Ulrich Drepper <drepper@gmail.com>
11250
0d355eb7
UD
11251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11252
a1a87169
UD
11253 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11254 define DLA_FMA.
11255 [DLA_FMA] (EMULV): Use DLA_FMA.
11256 [DLA_FMA] (MUL12): Use EMULV.
11257 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11258 that are not needed.
11259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11261 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11262 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11263 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11266
ee2aafe0
AS
112672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11268
11269 * math/s_nan.c: Undef __nan.
11270 * math/s_nanf.c: Undef __nanf.
11271 * math/s_nanl.c: Undef __nanl.
11272 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11273 "math_private.h".
11274
bc62c2fb
UD
112752011-10-22 Ulrich Drepper <drepper@gmail.com>
11276
77425c63
UD
11277 * math/s_catan.c: Add branch predictions.
11278 * math/s_catanf.c: Likewise.
11279 * math/s_catanh.c: Likewise.
11280 * math/s_catanhf.c: Likewise.
11281 * math/s_catanhl.c: Likewise.
11282 * math/s_catanl.c: Likewise.
11283 * math/s_cexp.c: Likewise.
11284 * math/s_cexpf.c: Likewise.
11285 * math/s_cexpl.c: Likewise.
11286 * math/s_clog.c: Likewise.
11287 * math/s_clog10.c: Likewise.
11288 * math/s_clog10f.c: Likewise.
11289 * math/s_clog10l.c: Likewise.
11290 * math/s_clogf.c: Likewise.
11291 * math/s_clogl.c: Likewise.
11292 * math/s_csqrt.c: Likewise.
11293 * math/s_csqrtf.c: Likewise.
11294 * math/s_csqrtl.c: Likewise.
11295 * math/s_ctanf.c: Likewise.
11296 * math/s_ctanh.c: Likewise.
11297 * math/s_ctanhf.c: Likewise.
11298 * math/s_ctanhl.c: Likewise.
11299 * math/s_ctanl.c: Likewise.
11300
bc62c2fb
UD
11301 * math/math_private.h: Define __nan, __nanf, __nanl.
11302 * math/s_cacosh.c: Include <math_private.h>.
11303 * math/s_cacoshl.c: Likewise.
11304 * math/s_casinh.c: Likewise.
11305 * math/s_casinhf.c: Likewise.
11306 * math/s_casinhl.c: Likewise.
11307 * math/s_ccos.c: Rely entire on ccosh.
11308 * math/s_ccosf.c: Rely entire on ccoshf.
11309 * math/s_ccosl.c: Rely entirely on ccoshl.
11310 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11311 Remove tests for FE_INVALID.
11312 * math/s_ccoshf.c: Likewise.
11313 * math/s_ccoshl.c: Likewise.
11314 * math/s_csin.c: Likewise.
11315 * math/s_csinf.c: Likewise.
11316 * math/s_csinh.c Likewise.
11317 * math/s_csinhf.c: Likewise.
11318 * math/s_csinhl.c: Likewise.
11319 * math/s_csinl.c: Likewise.
11320 * math/s_ctan.c: Likewise.
11321 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11322 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11323 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11324
8ec250a4
UD
113252011-10-21 Ulrich Drepper <drepper@gmail.com>
11326
c196fed8
UD
11327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11328 compilation problems.
11329
8ec250a4
UD
11330 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11331 __builtin_expect.
11332
8d4f46c6
UD
113332011-10-20 Ulrich Drepper <drepper@gmail.com>
11334
ed72b654
UD
11335 * sysdeps/i386/configure.in: Test for -mfma4 option.
11336 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11337 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11338 COMMON_CPUID_INDEX_80000001.
11339 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11340 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11341 use it if FMA3 is not supported.
11342 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11343
8d4f46c6
UD
11344 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11345 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11346
d45c60c2
AS
113472011-10-20 Andreas Schwab <schwab@redhat.com>
11348
11349 [BZ #12892]
11350 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11351 it would create a cycle with a link time dependency.
11352
d9a4d2ab
UD
113532011-10-19 Ulrich Drepper <drepper@gmail.com>
11354
855d1560
UD
11355 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11356 instruction.
11357 * string/Makefile (strop-tests): Add rawmemchr.
11358 * string/test-rawmemchr.c: New file.
11359
d9a4d2ab
UD
11360 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11361 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11362 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11363 when compiling str{,n}casecmp and when AVX is available. Hook up
11364 new optimized code in initializers.
11365
8f3b1ffe
AS
113662011-10-19 Andreas Schwab <schwab@redhat.com>
11367
11368 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11369 __feraiseexcept instead of feraiseexcept.
11370
d38f1dba
UD
113712011-10-18 Ulrich Drepper <drepper@gmail.com>
11372
d9a8d0ab
UD
11373 * math/math_private.h: Define defaults for libc_fetestexcept and
11374 libc_feupdateenv.
11375 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11376 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11377 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11378 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11379 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11380 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11381 libc_fetestexcept and libc_feupdateenv.
11382
4855e3dd
UD
11383 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11384 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11385 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11386 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11387 libc_feholdexcept_setround.
11388
581d30e3
UD
11389 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11390 Add s_nearbyint-c and s_nearbyintf-c.
11391 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11392 nearbyintf inlines.
11393 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11394 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11395 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11396 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11397
d38f1dba
UD
11398 * math/math_private.h: Define defaults for libc_fegetround,
11399 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11400 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11401 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11402 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11403 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11404 standard functions.
11405 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11406 Remove comments and hacks for old compiler versions.
11407 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11408 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11409 libc_feholdexceptl.
11410
caa6c9d8
AS
114112011-10-18 Andreas Schwab <schwab@redhat.com>
11412
11413 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11414 (__feraiseexcept_renamed): Add __NTH.
11415 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11416 namespace violations.
11417
97c066e6
UD
114182011-10-17 Ulrich Drepper <drepper@gmail.com>
11419
99ce7b04
UD
11420 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11421
1004d182
UD
11422 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11423
228a984d
UD
11424 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11425 recently added interfaces.
11426 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11427
c8553a6a
UD
11428 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11429 about macro parameter expansion.
11430
ed22dcf6
UD
11431 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11432 __NO_MATH_INLINES is defined. Cleanups.
11433
11434 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11435 and __floorf is target has SSE4.1.
11436 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11437 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11438 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11439 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11440
b171c137
UD
11441 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11442 name.
11443 (floorf): Likewise.
11444
97c066e6
UD
11445 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11446
629f62ef
AS
114472011-10-17 Andreas Schwab <schwab@redhat.com>
11448
49a43d80
AS
11449 * misc/sys/cdefs.h: Fix last change.
11450
629f62ef
AS
11451 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11452 database lookup.
11453
e453f6cd
UD
114542011-10-16 Ulrich Drepper <drepper@gmail.com>
11455
aa78043a
UD
11456 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11457
ad0f5cad
UD
11458 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11459 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11460 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11461 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11462 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11463 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11464 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11465 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11466 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11467 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11468 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11469 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11470 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11471 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11472 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11473 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11474 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11475 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11476 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11477 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11478 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11479 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11480
11481 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11482 ceil, ceilf, floor, floorf.
11483
11484 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11485 Perform IRELATIVE relocations last.
11486
e453f6cd
UD
11487 * elf/do-rel.h: Add another parameter nrelative, replacing the
11488 local variable with the same name. Change name of the function
11489 to end in Rel or Rela (uppercase).
11490 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11491 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11492 elf_dynamic_do_##reloc function.
11493
fd5bdc09
UD
114942011-10-15 Ulrich Drepper <drepper@gmail.com>
11495
79b195b5
UD
11496 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11497 is sufficient, at least on modern CPUs.
11498
d4a28569
UD
11499 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11500
b61099b5
UD
11501 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11502 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11503
bcf01e6d
UD
11504 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11505 __expl_finite.
11506 * math/bits/math-finite.h: Add entries for exp.
11507 * math/e_expl.c: Add __*_finite alias.
11508 * sysdeps/i386/fpu/e_exp.S: Likewise.
11509 * sysdeps/i386/fpu/e_expf.S: Likewise.
11510 * sysdeps/i386/fpu/e_expl.c: Likewise.
11511 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11512 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11513 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11514 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11515 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11516 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11517 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11518
ba1a0d59
UD
11519 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11520 is sufficient, at least on modern CPUs.
11521
fd5bdc09
UD
11522 * ctype/ctype-info.c (__ctype_init): Define.
11523 * include/ctype.h (__ctype_init): Declare.
11524 (__ctype_b_loc): The variable is always initialized.
11525 (__ctype_toupper_loc): Likewise.
11526 (__ctype_tolower_loc): Likewise.
11527 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11528 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11529
7872cfb0
AS
115302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11531
b468825a
AS
11532 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11533
7872cfb0
AS
11534 * configure.in: Also look in $cxxmachine/include for C++ system
11535 headers.
11536
be13f7bf
LD
115372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11538
11539 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11540 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11541 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11542 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11543 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11544 (USE_AS_WMEMCMP): New macro.
11545 Fixing indents.
11546 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11547 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11548 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11549 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11551 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11552 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11553 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11554 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11555 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11556 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11557 (USE_AS_WMEMCMP): New macro.
11558 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11559 * sysdeps/string/test-memcmp.c: Update.
11560 Fix simple_wmemcmp.
11561 Add new tests.
11562 * wcsmbs/wmemcmp.c: Update.
11563 (WMEMCMP): New macro.
11564 Fix overflow bug.
11565
556a2007
AJ
115662011-10-12 Andreas Jaeger <aj@suse.de>
11567
11568 [BZ #13268]
11569 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11570
538faaa7
UD
115712011-10-15 Ulrich Drepper <drepper@gmail.com>
11572
ab6737ff
UD
11573 * libio/iofwide.c (do_length): Avoid warning.
11574
538faaa7
UD
11575 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11576
396a21b1
UD
115772011-10-14 Ulrich Drepper <drepper@gmail.com>
11578
cdf2901f
UD
11579 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11580
38ad40ce
UD
11581 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11582 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11583 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11584 * sysdeps/i386/i686/fpu/e_log.S: New file.
11585 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11586 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11587
396a21b1
UD
11588 * ctype/ctype.h: Add support for inlined isXXX functions when
11589 compiling C++ code.
11590
6b1f68c9
AS
115912011-10-14 Andreas Schwab <schwab@redhat.com>
11592
349290c0
AS
11593 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11594
6b1f68c9
AS
11595 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11596
f2282d42
RM
115972011-10-13 Roland McGrath <roland@hack.frob.com>
11598
11599 [BZ #13291]
11600 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11601
5298ffa8
AS
116022011-10-13 Andreas Schwab <schwab@redhat.com>
11603
714fad23
AS
11604 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11605 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11606 feraiseexcept.
11607
81dcc7fb
AS
11608 * sysdeps/x86_64/memrchr.S: Check for zero size.
11609
5298ffa8
AS
11610 * string/stratcliff.c: Add memrchr tests.
11611
951fbcec
LD
116122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11613
11614 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11615 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11616 rawmemchr-sse2 rawmemchr-sse2-bsf.
11617 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11618 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11619 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11620 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11621 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11622 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11623 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11624 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11625 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11626 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11627 * string/memrchr.c (MEMRCHR): New macro.
11628
0ac5ae23
UD
116292011-10-12 Ulrich Drepper <drepper@gmail.com>
11630
11631 Add integration with gcc's -ffinite-math-only and optimize wrapper
11632 functions in libm.
11633 * Versions.def: Define GLIBC_2.15 version for libm.
11634 * math/Makefile (headers): Add bits/math-finite.h.
11635 * math/bits/math-finite.h: New file.
11636 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11637 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11638 * math/e_acoshl.c: Add __*_finite alias.
11639 * math/e_acosl.c: Likewise.
11640 * math/e_asinl.c: Likewise.
11641 * math/e_atan2l.c: Likewise.
11642 * math/e_atanhl.c: Likewise.
11643 * math/e_coshl.c: Likewise.
11644 * math/e_exp10.c: Likewise.
11645 * math/e_exp10f.c: Likewise.
11646 * math/e_exp10l.c: Likewise.
11647 * math/e_exp2l.c: Likewise.
11648 * math/e_fmodl.c: Likewise.
11649 * math/e_gammal_r.c: Likewise.
11650 * math/e_hypotl.c: Likewise.
11651 * math/e_j0l.c: Likewise.
11652 * math/e_j1l.c: Likewise.
11653 * math/e_jnl.c: Likewise.
11654 * math/e_lgammal_r.c: Likewise.
11655 * math/e_log10l.c: Likewise.
11656 * math/e_log2l.c: Likewise.
11657 * math/e_logl.c: Likewise.
11658 * math/e_powl.c: Likewise.
11659 * math/e_sinhl.c: Likewise.
11660 * math/e_sqrtl.c: Likewise.
11661 * math/e_scalb.c: Completely rewritten and optimized.
11662 * math/e_scalbf.c: Likewise.
11663 * math/e_scalbl.c: Likewise.
11664 * math/w_acos.c: Likewise.
11665 * math/w_acosf.c: Likewise.
11666 * math/w_acosl.c: Likewise.
11667 * math/w_acosh.c: Likewise.
11668 * math/w_acoshf.c: Likewise.
11669 * math/w_acoshl.c: Likewise.
11670 * math/w_asin.c: Likewise.
11671 * math/w_asinf.c: Likewise.
11672 * math/w_asinl.c: Likewise.
11673 * math/w_atan2.c: Likewise.
11674 * math/w_atan2f.c: Likewise.
11675 * math/w_atan2l.c: Likewise.
11676 * math/w_atanh.c: Likewise.
11677 * math/w_atanhf.c: Likewise.
11678 * math/w_atanhl.c: Likewise.
11679 * math/w_exp10.c: Likewise.
11680 * math/w_exp10f.c: Likewise.
11681 * math/w_exp10l.c: Likewise.
11682 * math/w_fmod.c: Likewise.
11683 * math/w_fmodf.c: Likewise.
11684 * math/w_fmodl.c: Likewise.
11685 * math/w_j0.c: Likewise.
11686 * math/w_j0f.c: Likewise.
11687 * math/w_j0l.c: Likewise.
11688 * math/w_j1.c: Likewise.
11689 * math/w_j1f.c: Likewise.
11690 * math/w_j1l.c: Likewise.
11691 * math/w_jn.c: Likewise.
11692 * math/w_jnf.c: Likewise.
11693 * math/w_log.c: Likewise.
11694 * math/w_logf.c: Likewise.
11695 * math/w_logl.c: Likewise.
11696 * math/w_log10.c: Likewise.
11697 * math/w_log10f.c: Likewise.
11698 * math/w_log10l.c: Likewise.
11699 * math/w_log2.c: Likewise.
11700 * math/w_log2f.c: Likewise.
11701 * math/w_log2l.c: Likewise.
11702 * math/w_pow.c: Likewise.
11703 * math/w_powf.c: Likewise.
11704 * math/w_powl.c: Likewise.
11705 * math/w_remainder.c: Likewise.
11706 * math/w_remainderf.c: Likewise.
11707 * math/w_remainderl.c: Likewise.
11708 * math/w_scalb.c: Likewise.
11709 * math/w_scalbf.c: Likewise.
11710 * math/w_scalbl.c: Likewise.
11711 * math/w_sqrt.c: Likewise.
11712 * math/w_sqrtf.c: Likewise.
11713 * math/w_sqrtl.c: Likewise.
11714 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11715 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11716 used.
11717 * math/math_private.h: Declare __kernel_standard_f.
11718 * math/w_cosh.c: Remove cruft and optimize a bit.
11719 * math/w_coshf.c: Likewise.
11720 * math/w_coshl.c: Likewise.
11721 * math/w_exp2.c: Likewise.
11722 * math/w_exp2f.c: Likewise.
11723 * math/w_exp2l.c: Likewise.
11724 * math/w_hypot.c: Likewise.
11725 * math/w_hypotf.c: Likewise.
11726 * math/w_hypotl.c: Likewise.
11727 * math/w_lgamma.c: Likewise.
11728 * math/w_lgamma_r.c: Likewise.
11729 * math/w_lgammaf.c: Likewise.
11730 * math/w_lgammaf_r.c: Likewise.
11731 * math/w_lgammal.c: Likewise.
11732 * math/w_lgammal_r.c: Likewise.
11733 * math/w_sinh.c: Likewise.
11734 * math/w_sinhf.c: Likewise.
11735 * math/w_sinhl.c: Likewise.
11736 * math/w_tgamma.c: Likewise.
11737 * math/w_tgammaf.c: Likewise.
11738 * math/w_tgammal.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11740 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11741 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11742 Minor optimizations. Pretty printing. Remove cruft.
11743 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11744 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11745 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11746 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11747 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11748 * sysdeps/i386/fpu/e_asin.S: Likewise.
11749 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11750 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11751 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11752 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11753 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11754 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11755 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11756 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11757 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11758 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11759 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11760 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11761 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11762 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11763 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11764 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11765 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11766 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11767 * sysdeps/i386/fpu/e_log.S: Likewise.
11768 * sysdeps/i386/fpu/e_log10.S: Likewise.
11769 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11770 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11771 * sysdeps/i386/fpu/e_log2.S: Likewise.
11772 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11773 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11774 * sysdeps/i386/fpu/e_logf.S: Likewise.
11775 * sysdeps/i386/fpu/e_logl.S: Likewise.
11776 * sysdeps/i386/fpu/e_pow.S: Likewise.
11777 * sysdeps/i386/fpu/e_powf.S: Likewise.
11778 * sysdeps/i386/fpu/e_powl.S: Likewise.
11779 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11780 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11781 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11782 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11783 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11784 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11785 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11786 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11787 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11788 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11789 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11790 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11791 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11792 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11793 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11794 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11795 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11796 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11797 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11798 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11799 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11801 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11802 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11803 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11804 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11805 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11806 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11807 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11808 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11809 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11810 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11811 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11812 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11813 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11814 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11815 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11816 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11817 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11818 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11819 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11820 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11821 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11822 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11823 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11824 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11825 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11826 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11827 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11828 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11829 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11830 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11831 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11832 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11833 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11834 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11835 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11836 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11837 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11838 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11839 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11840 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11841 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11842 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11843 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11844 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11845 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11846 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11848 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11849 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11851 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11852 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11853 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11854 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11855 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11856 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11857 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11858 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11859 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11860 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11862 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11863 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11864 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11865 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11866 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11867 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11868 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11869 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11870 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11871 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11872 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11873 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11874 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11875 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11876 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11877 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11878 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11879 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11880 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11881 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11882 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11883 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11884 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11885 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11886 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11887 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11888 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11889 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11890 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11891 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11892 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11893 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11894 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11896 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11897 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11898 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11899 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11900 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11901 (__isnanf): Likewise.
11902 (__isinf_ns): Likewise.
11903 (__isinf_nsf): Likewise.
11904 (__finite): Likewise.
11905 (__finitef): Likewise.
11906 (__ieee754_sqrt): Define as macro.
11907 (__ieee754_sqrtf): Define as macro.
11908 (__ieee754_sqrtl): Define as macro.
11909 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11910 inlined copy.
11911 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11912 __FINITE_MATH_ONLY__ consistent.
11913 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11914
12cc2fcd
AS
119152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11916
a843a204
AS
11917 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11918 of rawmemchr.
11919
12cc2fcd
AS
11920 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11921
c853acd5
UD
119222011-10-09 Ulrich Drepper <drepper@gmail.com>
11923
11924 * po/ja.po: Update from translation team.
11925
c658d255
RM
119262011-10-08 Roland McGrath <roland@hack.frob.com>
11927
110946e4
RM
11928 * locale/programs/locarchive.c (prepare_address_space): New function.
11929 (create_archive, enlarge_archive, open_archive): Use it.
11930
50604220
RM
11931 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11932 inside [SHARED], where it is used.
11933
c658d255
RM
11934 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11935
11936 * nss/getent.c (netgroup_keys): Remove unused variable.
11937 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11938
6a621eb7
UD
119392011-10-08 Ulrich Drepper <drepper@gmail.com>
11940
7edb55ce
UD
11941 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11942 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11943 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11944 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11945 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11946 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11947 * math/Makefile (libm-calls): Add s_isinf_ns.
11948 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11949 * math/multc3.c: Likewise.
11950 * math/s_casin.c: Likewise.
11951 * math/s_casinf.c: Likewise.
11952 * math/s_casinl.c: Likewise.
11953 * math/s_ccos.c: Likewise.
11954 * math/s_ccosf.c: Likewise.
11955 * math/s_ccosl.c: Likewise.
11956 * math/s_ctan.c: Likewise.
11957 * math/s_ctanf.c: Likewise.
11958 * math/s_ctanh.c: Likewise.
11959 * math/s_ctanhf.c: Likewise.
11960 * math/s_ctanhl.c: Likewise.
11961 * math/s_ctanl.c: Likewise.
11962 * math/w_fmod.c: Likewise.
11963 * math/w_fmodf.c: Likewise.
11964 * math/w_fmodl.c: Likewise.
11965 * math/w_remainder.c: Likewise.
11966 * math/w_remainderf.c: Likewise.
11967 * math/w_remainderl.c: Likewise.
11968 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11969 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11970 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11971 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11972 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11973 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11974 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11975 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11976
187da0ae
UD
11977 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11978 of the number.
11979 * stdio-common/printf_fphex.c: Likewise.
11980 * stdio-common/printf_size.c: Likewise.
11981
9277c064
UD
11982 * math/e_exp10.c: Include math_private.h using <...> not "...".
11983 * math/e_exp10f.c: Likewise.
11984 * math/e_exp10l.c: Likewise.
11985 * math/e_exp2l.c: Likewise.
11986 * math/e_j0l.c: Likewise.
11987 * math/e_j1l.c: Likewise.
11988 * math/e_jnl.c: Likewise.
11989 * math/e_lgammal_r.c: Likewise.
11990 * math/e_rem_pio2l.c: Likewise.
11991 * math/e_scalb.c: Likewise.
11992 * math/e_scalbf.c: Likewise.
11993 * math/e_scalbl.c: Likewise.
11994 * math/k_cosl.c: Likewise.
11995 * math/k_sinl.c: Likewise.
11996 * math/k_tanl.c: Likewise.
11997 * math/s_cacoshf.c: Likewise.
11998 * math/s_catan.c: Likewise.
11999 * math/s_catanf.c: Likewise.
12000 * math/s_catanh.c: Likewise.
12001 * math/s_catanhf.c: Likewise.
12002 * math/s_catanhl.c: Likewise.
12003 * math/s_catanl.c: Likewise.
12004 * math/s_ccosh.c: Likewise.
12005 * math/s_ccoshf.c: Likewise.
12006 * math/s_ccoshl.c: Likewise.
12007 * math/s_cexp.c: Likewise.
12008 * math/s_cexpf.c: Likewise.
12009 * math/s_cexpl.c: Likewise.
12010 * math/s_clog.c: Likewise.
12011 * math/s_clog10.c: Likewise.
12012 * math/s_clog10f.c: Likewise.
12013 * math/s_clog10l.c: Likewise.
12014 * math/s_clogf.c: Likewise.
12015 * math/s_clogl.c: Likewise.
12016 * math/s_csin.c: Likewise.
12017 * math/s_csinf.c: Likewise.
12018 * math/s_csinh.c: Likewise.
12019 * math/s_csinhf.c: Likewise.
12020 * math/s_csinhl.c: Likewise.
12021 * math/s_csinl.c: Likewise.
12022 * math/s_csqrt.c: Likewise.
12023 * math/s_csqrtf.c: Likewise.
12024 * math/s_csqrtl.c: Likewise.
12025 * math/s_ctan.c: Likewise.
12026 * math/s_ctanf.c: Likewise.
12027 * math/s_ctanh.c: Likewise.
12028 * math/s_ctanhf.c: Likewise.
12029 * math/s_ctanhl.c: Likewise.
12030 * math/s_ctanl.c: Likewise.
12031 * math/s_ldexp.c: Likewise.
12032 * math/s_ldexpf.c: Likewise.
12033 * math/s_ldexpl.c: Likewise.
12034 * math/s_significand.c: Likewise.
12035 * math/s_significandf.c: Likewise.
12036 * math/s_significandl.c: Likewise.
12037 * math/w_acos.c: Likewise.
12038 * math/w_acosf.c: Likewise.
12039 * math/w_acosh.c: Likewise.
12040 * math/w_acoshf.c: Likewise.
12041 * math/w_acoshl.c: Likewise.
12042 * math/w_acosl.c: Likewise.
12043 * math/w_asin.c: Likewise.
12044 * math/w_asinf.c: Likewise.
12045 * math/w_asinl.c: Likewise.
12046 * math/w_atan2.c: Likewise.
12047 * math/w_atan2f.c: Likewise.
12048 * math/w_atan2l.c: Likewise.
12049 * math/w_atanh.c: Likewise.
12050 * math/w_atanhf.c: Likewise.
12051 * math/w_atanhl.c: Likewise.
12052 * math/w_cosh.c: Likewise.
12053 * math/w_coshf.c: Likewise.
12054 * math/w_coshl.c: Likewise.
12055 * math/w_dremf.c: Likewise.
12056 * math/w_exp10.c: Likewise.
12057 * math/w_exp10f.c: Likewise.
12058 * math/w_exp10l.c: Likewise.
12059 * math/w_exp2.c: Likewise.
12060 * math/w_exp2f.c: Likewise.
12061 * math/w_fmod.c: Likewise.
12062 * math/w_fmodf.c: Likewise.
12063 * math/w_fmodl.c: Likewise.
12064 * math/w_hypot.c: Likewise.
12065 * math/w_hypotf.c: Likewise.
12066 * math/w_hypotl.c: Likewise.
12067 * math/w_j0.c: Likewise.
12068 * math/w_j0f.c: Likewise.
12069 * math/w_j0l.c: Likewise.
12070 * math/w_j1.c: Likewise.
12071 * math/w_j1f.c: Likewise.
12072 * math/w_j1l.c: Likewise.
12073 * math/w_jn.c: Likewise.
12074 * math/w_jnf.c: Likewise.
12075 * math/w_jnl.c: Likewise.
12076 * math/w_lgamma.c: Likewise.
12077 * math/w_lgamma_r.c: Likewise.
12078 * math/w_lgammaf.c: Likewise.
12079 * math/w_lgammaf_r.c: Likewise.
12080 * math/w_lgammal.c: Likewise.
12081 * math/w_lgammal_r.c: Likewise.
12082 * math/w_log.c: Likewise.
12083 * math/w_log10.c: Likewise.
12084 * math/w_log10f.c: Likewise.
12085 * math/w_log10l.c: Likewise.
12086 * math/w_log2.c: Likewise.
12087 * math/w_log2f.c: Likewise.
12088 * math/w_log2l.c: Likewise.
12089 * math/w_logf.c: Likewise.
12090 * math/w_logl.c: Likewise.
12091 * math/w_pow.c: Likewise.
12092 * math/w_powf.c: Likewise.
12093 * math/w_powl.c: Likewise.
12094 * math/w_remainder.c: Likewise.
12095 * math/w_remainderf.c: Likewise.
12096 * math/w_remainderl.c: Likewise.
12097 * math/w_scalb.c: Likewise.
12098 * math/w_scalbf.c: Likewise.
12099 * math/w_scalbl.c: Likewise.
12100 * math/w_sinh.c: Likewise.
12101 * math/w_sinhf.c: Likewise.
12102 * math/w_sinhl.c: Likewise.
12103 * math/w_sqrt.c: Likewise.
12104 * math/w_sqrtf.c: Likewise.
12105 * math/w_sqrtl.c: Likewise.
12106 * math/w_tgamma.c: Likewise.
12107 * math/w_tgammaf.c: Likewise.
12108 * math/w_tgammal.c: Likewise.
12109
6a621eb7
UD
12110 * po/ja.po: Update from translation team.
12111
bf582445
AJ
121122011-09-29 Andreas Jaeger <aj@suse.de>
12113
f9efbf3a
AJ
12114 [BZ #13179]
12115 * sunrpc/netname.c (netname2host): Fix logic.
12116
bf582445
AJ
12117 [BZ #6779]
12118 [BZ #6783]
12119 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12120 correctly.
12121 * math/w_remainder.c (__remainder): Likewise.
12122 * math/w_remainderf.c (__remainderf): Likewise.
12123 * math/libm-test.inc (remainder_test): Add test cases.
12124
48693bea
AK
121252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12126
12127 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12128 sdiv_qrnnd.
12129
42622229
LD
121302011-10-07 Ulrich Drepper <drepper@gmail.com>
12131
12132 * string/test-memcmp.c: Avoid unncessary #defines.
12133 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12134
093ecf92
LD
121352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12136
12137 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12138 Use new sse2 version for core i3 - i7 as it's faster
12139 than sse42 version.
12140 (bit_Prefer_PMINUB_for_stringop): New.
12141 * sysdeps/x86_64/rawmemchr.S: Update.
12142 Replace with faster SSE2 version.
12143 * sysdeps/x86_64/memrchr.S: New file.
12144 * sysdeps/x86_64/memchr.S: Update.
12145 Replace with faster SSE2 version.
12146
fde56e5c
MP
121472011-09-12 Marek Polacek <mpolacek@redhat.com>
12148
12149 * elf/dl-load.c (lose): Add cast to avoid warning.
12150
21fd49a9
UD
121512011-10-07 Ulrich Drepper <drepper@gmail.com>
12152
5a06e643
UD
12153 * po/ca.po: Update from translation team.
12154
684ae515
UD
12155 * inet/getnetgrent_r.c: Hook up nscd.
12156 * nscd/Makefile (routines): Add nscd_netgroup.
12157 (nscd-modules): Add netgroupcache.
12158 (CFLAGS-netgroupcache.c): Define.
12159 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12160 (cache_search): Add const to second parameter.
12161 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12162 INNETGR.
12163 (dbs): Add netgrdb entry.
12164 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12165 (verify_persistent_db): Handle netgrdb.
12166 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12167 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12168 GETFDNETGR.
12169 (netgroup_response_header): Define.
12170 (innetgroup_response_header): Define.
12171 (datahead): Add netgroup_response_header and innetgroup_response_header
12172 elements.
12173 * nscd/nscd.conf: Add entries for netgroup cache.
12174 * nscd/nscd.h (dbtype): Add netgrdb.
12175 (_PATH_NSCD_NETGROUP_DB): Define.
12176 (netgroup_iov_disabled): Declare.
12177 (xmalloc, xcalloc, xrealloc): Move declarations here.
12178 (cache_search): Adjust prototype.
12179 Add netgroup-related prototypes.
12180 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12181 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12182 (__nscd_innetgr): Declare.
12183 * nscd/selinux.c (perms): Use access_vector_t as element type and
12184 add netgroup-related initializers.
12185 * nscd/netgroupcache.c: New file.
12186 * nscd/nscd_netgroup.c: New file.
12187 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12188 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12189 For four parameters use innetgr.
12190 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12191 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12192 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12193 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12194
21fd49a9
UD
12195 * nscd/connections.c (register_traced_file): Don't register file
12196 for disabled databases.
12197
054c0457
UD
121982011-10-06 Ulrich Drepper <drepper@gmail.com>
12199
32b63198
UD
12200 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12201
054c0457
UD
12202 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12203 from tree and freeing node.
12204
64031225
JO
122052011-09-25 Jiri Olsa <jolsa@redhat.com>
12206
12207 * nss/nsswitch.c (__nss_database_lookup): Handle
12208 nss_parse_service_list out of memory case.
12209
0490345c
JO
122102011-09-15 Jiri Olsa <jolsa@redhat.com>
12211
12212 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12213 out of memory case.
12214
3a62d00d
AS
122152011-10-04 Andreas Schwab <schwab@redhat.com>
12216
12217 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12218 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12219 pass it down.
12220 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12221 elf_machine_rela, elf_machine_lazy_rel.
12222 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12223 (ELF_DYNAMIC_DO_REL): Likewise.
12224 (ELF_DYNAMIC_DO_RELA): Likewise.
12225 (ELF_DYNAMIC_RELOCATE): Likewise.
12226 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12227 to ELF_DYNAMIC_DO_REL.
12228 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12229 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12230 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12231 elf_machine_rela.
12232 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12233 skip_ifunc, don't call ifunc function if non-zero.
12234 (elf_machine_rela): Likewise.
12235 (elf_machine_lazy_rel): Likewise.
12236 (elf_machine_lazy_rela): Likewise.
12237 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12238 (elf_machine_lazy_rel): Likewise.
12239 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12240 Likewise.
12241 (elf_machine_lazy_rel): Likewise.
12242 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12243 Likewise.
12244 (elf_machine_lazy_rel): Likewise.
12245 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12246 (elf_machine_lazy_rel): Likewise.
12247 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12248 (elf_machine_lazy_rel): Likewise.
12249 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12250 (elf_machine_lazy_rel): Likewise.
12251 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12252 (elf_machine_lazy_rel): Likewise.
12253 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12254 (elf_machine_lazy_rel): Likewise.
12255 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12256 (elf_machine_lazy_rel): Likewise.
12257
68577918
UD
122582011-09-28 Ulrich Drepper <drepper@gmail.com>
12259
12260 * nss/nss_files/files-init.c (_nss_files_init): Use static
12261 initialization for all the *_traced_file variables.
12262
68822d74
AS
122632011-09-28 Andreas Schwab <schwab@redhat.com>
12264
12265 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12266
2056100b
RM
122672011-09-27 Roland McGrath <roland@hack.frob.com>
12268
12269 [BZ #13226]
12270 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12271
32c76b63
AS
122722011-09-27 Andreas Schwab <schwab@redhat.com>
12273
12274 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12275 Reread the line before reparsing it.
12276
bf972c9d
AS
122772011-09-26 Andreas Schwab <schwab@redhat.com>
12278
12279 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12280
e057a1b5
JM
122812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12282 Maxim Kuvyrkov <maxim@codesourcery.com>
12283 Joseph Myers <joseph@codesourcery.com>
12284
12285 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12286 if needed for __stack_chk_guard.
12287
bc7e1c36
RM
122882011-09-19 Roland McGrath <roland@hack.frob.com>
12289
ecb1482f
RM
12290 * sysdeps/posix/spawni.c (script_execute): Always define it.
12291 It will be optimized away if unused.
12292 (maybe_script_execute): New function.
12293 (__spawni): Call it.
12294
bc7e1c36
RM
12295 * Makerules: Don't include tls.make.
12296 (config-tls): Always set to thread.
12297 * tls.make.c: File removed.
12298
1c3b002b
MF
122992011-09-19 Mike Frysinger <vapier@gentoo.org>
12300
12301 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12302 * config.make.in (CPPFLAGS-config): New substituted variable.
12303
2840865d
UD
123042011-09-15 Ulrich Drepper <drepper@gmail.com>
12305
88738eb6
UD
12306 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12307
cbf645a6 12308 [BZ #13192]
2840865d
UD
12309 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12310 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12311
b402e91a
RM
123122011-09-15 Roland McGrath <roland@hack.frob.com>
12313
12314 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12315 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12317 (CALL_FAIL): Likewise.
12318 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12319 (CALL_FAIL): Macro removed.
12320 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12321
4c1a1f71
UD
123222011-09-15 Ulrich Drepper <drepper@gmail.com>
12323
12324 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12325 for __FINITE_MATH_ONLY__ == 1.
12326
edc121be
AS
123272011-09-15 Andreas Schwab <schwab@redhat.com>
12328
12329 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12330 __ieee754_sqrt instead of sqrt.
12331 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12332 __ieee754_sqrtf instead of sqrtf.
12333 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12334 __floorf instead of floorf.
12335 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12336 __floorf, __truncf instead of floorf, truncf.
12337
cd205654
UD
123382011-09-14 Ulrich Drepper <drepper@gmail.com>
12339
ee4d0315
UD
12340 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12341
cd205654
UD
12342 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12343 __extern_always_inline.
12344 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12345 32-bit.
12346
48b67d71
AS
123472011-09-14 Andreas Schwab <schwab@redhat.com>
12348
12349 * elf/rtld.c (dl_main): Also relocate in dependency order when
12350 doing symbol dependency testing.
12351
1ae12c75
AS
123522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12353
12354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12355 Always define `refsym'.
12356
995a80df
AS
123572011-09-13 Andreas Schwab <schwab@redhat.com>
12358
e529793b
AS
12359 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12360 (__FD_ELT): Renamed from __FDELT.
12361 * misc/bits/select2.h (__FD_ELT): Likewise.
12362 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12363 __FD_MASK instead of __FDELT, __FDMASK.
12364 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12365 Likewise.
12366 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12367 Likewise.
12368
52d4fef8
AS
12369 * elf/Makefile (gen-ldd): Fix pattern.
12370
995a80df
AS
12371 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12372 (init_tls): Likewise.
12373
8682f8b0
UD
123742011-09-12 Ulrich Drepper <drepper@gmail.com>
12375
12376 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12377
de82006d
AS
123782011-09-12 Andreas Schwab <schwab@redhat.com>
12379
a7c8e6a1
AS
12380 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12381 `struct cmsghdr *' instead of `void *'.
12382 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12383 Likewise.
12384
0f31fe77
AS
123852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12386
12387 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12388 if non-absolute.
12389 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12390 ldd_rewrite_script.
0f31fe77 12391
32b4c839
UD
123922011-09-11 Ulrich Drepper <drepper@gmail.com>
12393
83cd1420
UD
12394 * configure.in: Remove --with-tls option.
12395 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12396 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12397 out in case it is missing.
12398 * sysdeps/ia64/elf/configure.in: Likewise.
12399 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12400 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12401 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12402 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12403 * sysdeps/sh/elf/configure.in: Likewise.
12404 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12405 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12406 * sysdeps/x86_64/elf/configure.in: Likewise.
12407 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12408 * sysdeps/mach/hurd/tls.h: Likewise.
12409
633f745d
UD
12410 [BZ #13067]
12411 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12412
f318beb8
UD
12413 [BZ #13090]
12414 * configure.in: Fix use of AC_INIT.
12415
32b4c839
UD
12416 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12417
3ce1f295
UD
124182011-09-10 Ulrich Drepper <drepper@gmail.com>
12419
bb016596
UD
12420 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12421 __set_errno.
8e58439c
UD
12422 * malloc/hooks.c: Likewise.
12423
aebae053 12424 [BZ #11929]
02d46fc4
UD
12425 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12426 variables statically.
12427 (narenas): Initialize.
12428 (list_lock): Initialize.
bb016596
UD
12429 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12430 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12431 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12432 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12433 Add initializers to main_arena and mp_.
12434 (malloc_state): Remove pagesize member. Change all users to use
12435 GLRO(dl_pagesize).
12436
12437 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12438 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12439 is always initialized.
12440
22a89187
UD
12441 * malloc/malloc.c: Removed unused configurations and dead code.
12442 * malloc/arena.c: Likewise.
12443 * malloc/hooks.c: Likewise.
02d46fc4 12444 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12445
d063d164
UD
12446 * include/tls.h: Removed. USE___THREAD must always be defined.
12447 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12448 * elf/dl-libc.c: Likewise.
12449 * elf/dl-tsd.c: Likewise.
12450 * include/errno.h: Likewise.
12451 * include/netdb.h: Likewise.
12452 * include/resolv.h: Likewise.
12453 * inet/herrno-loc.c: Likewise.
12454 * inet/herrno.c: Likewise.
12455 * malloc/arena.c: Likewise.
12456 * malloc/hooks.c: Likewise.
12457 * malloc/malloc.c: Likewise.
12458 * resolv/res-state.c: Likewise.
12459 * resolv/res_libc.c: Likewise.
12460 * sysdeps/i386/dl-machine.h: Likewise.
12461 * sysdeps/ia64/dl-machine.h: Likewise.
12462 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12463 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12464 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12465 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12466 * sysdeps/sh/dl-machine.h: Likewise.
12467 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12468 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12469 * sysdeps/unix/i386/sysdep.S: Likewise.
12470 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12471 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12472 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12473 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12475 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12476 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12478 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12480 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12481 * sysdeps/x86_64/dl-machine.h: Likewise.
12482 * tls.make.c: Likewise.
12483
3ce1f295
UD
12484 * configure.in: Remove --with-__thread option. Make tests for
12485 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12486 tls_model attribute fail if no support is available. Remove
12487 USE_IN_LIBIO.
12488 * Makeconfig: Adjust for dropped configure option. All features are
12489 now mandatory.
12490 * Makerules: Likewise.
12491 * Versions.def: Likewise.
12492 * argp/argp-fmtstream.c: Likewise.
12493 * argp/argp-fmtstream.h: Likewise.
12494 * argp/argp-help.c: Likewise.
12495 * assert/assert.c: Likewise.
12496 * config.h.in: Likewise.
12497 * config.make.in: Likewise.
12498 * configure: Likewise.
12499 * configure.in: Likewise.
12500 * csu/Versions: Likewise.
12501 * csu/init.c: Likewise.
12502 * elf/tst-audit2.c: Likewise.
12503 * elf/tst-tls10.c: Likewise.
12504 * elf/tst-tls10.h: Likewise.
12505 * elf/tst-tls11.c: Likewise.
12506 * elf/tst-tls12.c: Likewise.
12507 * elf/tst-tls14.c: Likewise.
12508 * elf/tst-tlsmod11.c: Likewise.
12509 * elf/tst-tlsmod12.c: Likewise.
12510 * elf/tst-tlsmod13.c: Likewise.
12511 * elf/tst-tlsmod13a.c: Likewise.
12512 * elf/tst-tlsmod14a.c: Likewise.
12513 * elf/tst-tlsmod15b.c: Likewise.
12514 * elf/tst-tlsmod16a.c: Likewise.
12515 * elf/tst-tlsmod16b.c: Likewise.
12516 * elf/tst-tlsmod7.c: Likewise.
12517 * elf/tst-tlsmod8.c: Likewise.
12518 * elf/tst-tlsmod9.c: Likewise.
12519 * gmon/gmon.c: Likewise.
12520 * grp/fgetgrent_r.c: Likewise.
12521 * grp/putgrent.c: Likewise.
12522 * hurd/fopenport.c: Likewise.
12523 * include/libc-symbols.h: Likewise.
12524 * include/tls.h: Likewise.
12525 * intl/gettextP.h: Likewise.
12526 * intl/loadinfo.h: Likewise.
12527 * locale/global-locale.c: Likewise.
12528 * locale/localeinfo.h: Likewise.
12529 * mach/devstream.c: Likewise.
12530 * malloc/arena.c: Likewise.
12531 * malloc/set-freeres.c: Likewise.
12532 * misc/err.c: Likewise.
12533 * misc/getttyent.c: Likewise.
12534 * misc/mntent_r.c: Likewise.
12535 * posix/getopt.c: Likewise.
12536 * posix/wordexp.c: Likewise.
12537 * pwd/fgetpwent_r.c: Likewise.
12538 * resolv/Versions: Likewise.
12539 * resolv/res_hconf.c: Likewise.
12540 * shadow/fgetspent_r.c: Likewise.
12541 * shadow/putspent.c: Likewise.
12542 * stdio-common/printf_fphex.c: Likewise.
12543 * stdio-common/tmpfile.c: Likewise.
12544 * stdlib/abort.c: Likewise.
12545 * stdlib/fmtmsg.c: Likewise.
12546 * sunrpc/auth_unix.c: Likewise.
12547 * sunrpc/clnt_perr.c: Likewise.
12548 * sunrpc/clnt_tcp.c: Likewise.
12549 * sunrpc/clnt_udp.c: Likewise.
12550 * sunrpc/clnt_unix.c: Likewise.
12551 * sunrpc/openchild.c: Likewise.
12552 * sunrpc/svc_simple.c: Likewise.
12553 * sunrpc/svc_tcp.c: Likewise.
12554 * sunrpc/svc_udp.c: Likewise.
12555 * sunrpc/svc_unix.c: Likewise.
12556 * sunrpc/xdr.c: Likewise.
12557 * sunrpc/xdr_array.c: Likewise.
12558 * sunrpc/xdr_rec.c: Likewise.
12559 * sunrpc/xdr_ref.c: Likewise.
12560 * sunrpc/xdr_stdio.c: Likewise.
12561
1248c1c4
PB
125622011-09-09 Ulrich Drepper <drepper@gmail.com>
12563
12564 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12565
125662011-07-03 Andreas Jaeger <aj@suse.de>
12567
12568 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12569 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12570 regenerate with gen-libm-tests.pl.
12571
125722010-05-12 Petr Baudis <pasky@suse.cz>
12573
12574 [BZ #11589]
12575 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12576 around j0() zero points by switching to j1().
12577 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12581
f22e1074
UD
125822011-09-09 Ulrich Drepper <drepper@gmail.com>
12583
f19009c1
UD
12584 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12585 instead of 0.
12586 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12587 instead of 0. .
12588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12589 Patch in part by Pavel Roskin <proski@gnu.org>.
12590
3f8cc204
UD
12591 [BZ #13138]
12592 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12593 realloc.
12594 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12595 Free memory block if necessary.
12596
f22e1074
UD
12597 [BZ #12847]
12598 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12599 be NULL. Don't lock in this case.
12600
0a2349f9
RM
126012011-09-09 Roland McGrath <roland@hack.frob.com>
12602
12603 * elf/elf.h (ELFOSABI_GNU): New macro.
12604 (ELFOSABI_LINUX): Define to that.
12605
f3cdd467
DZ
126062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12607
12608 * string/strncat.c (strncat): Undef the symbol in case it has been
12609 defined in bits/string.h.
12610
74718d13
UD
126112011-09-09 Ulrich Drepper <drepper@gmail.com>
12612
633e9e0f
UD
12613 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12614
0a2349f9 12615 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12616 link map.
12617
f9924780
AJ
126182011-08-17 Andreas Jaeger <aj@suse.de>
12619
12620 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12621
7f5517aa
PP
126222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12623 Ian Lance Taylor <iant@google.com>
12624
12625 * math/libm-test.inc (lround_test): New testcase.
12626 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12627
762011fe
UD
126282011-09-08 Ulrich Drepper <drepper@gmail.com>
12629
92963737
UD
12630 * Makefile: Remove support for automatic cvs check-ins.
12631 * Makerules: Likewise.
12632 * config.make.in: Likewise.
12633 * configure.in: Likewise.
12634 * intl/Makefile: Likewise.
12635 * locale/Makefile: Likewise.
12636 * po/Makefile: Likewise.
12637 * posix/Makefile: Likewise.
12638 * sysdeps/gnu/Makefile: Likewise.
12639 * sysdeps/mach/hurd/Makefile: Likewise.
12640 * sysdeps/sparc/sparc32/Makefile: Likewise.
12641
b0727fd8
JS
12642 [BZ #13118]
12643 * posix/Makefile (bug-regex32-ENV): Define.
12644 Patch by John Stanley <jpsinthemix@verizon.net>.
12645
a0f33f99
UD
12646 * misc/Makefile (headers): Add bits/select2.h.
12647 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12648 * misc/bits/select2.h: New file.
12649 * include/bits/select2.h: New file.
12650 * debug/Makefile (routines): Add fdelt_chk.
12651 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12652 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12653 FD_ISSET.
12654 * debug/fdelt_chk.c: New file.
12655
762011fe
UD
12656 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12657 * wcsmbs/test-wmemcmp.c: Likewise.
12658 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12659 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12660
126612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12662
12663 * string/Makefile (strop-tests): Add memcmp.
12664 * string/test-wmemcmp.c: New file.
12665 * string/test-memcmp.c: Add wmemcmp support.
12666
7f513ec8
RM
126672011-09-08 Roland McGrath <roland@hack.frob.com>
12668
0442afb4
RM
12669 [BZ #13153]
12670 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12671 2011-07-19 change.
12672
7f513ec8
RM
12673 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12674 garbage value in a __mach_port_mod_refs call in the cases of the
12675 task-self and thread-self ports.
12676
a12b2239
ST
126772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12678
12679 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12680
610f9ab4
AS
126812011-09-08 Andreas Schwab <schwab@redhat.com>
12682
7f513ec8 12683 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12684
48882a1a
LD
126852011-09-07 Ulrich Drepper <drepper@gmail.com>
12686
b49865be
UD
12687 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12688
fdc86bc9
UD
12689 * elf/dl-libc.c (dlerror_run): Pass back error code from
12690 dl_catch_error.
12691
c966526a
UD
12692 [BZ #13123]
12693 * elf/dl-load.c (lose): Free l_origin if it is valid.
12694
48882a1a
LD
12695 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12696 names.
12697 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12698 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12699 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12700 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12701 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12702 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12703
77a2a8b4
AZ
127042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12705
12706 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12707 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12708 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12709 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12710 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12711 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12712 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12713 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12714 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12715 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12716
24f579d8
AM
127172011-08-15 Alan Modra <amodra@gmail.com>
12718
12719 [BZ #13092]
12720 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12721 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12722 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12723 ppc_mcount to static-only-routines.
12724 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12725 __mcount_internal.
12726 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12727 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12728
3d4837df
UD
127292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12730
12731 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12732 for finite and infinity parameters.
12733
22700377
WS
127342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12735
12736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12737 and add nop instructions for throughput optimization.
12738 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12739
5025581e
WS
127402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12741
12742 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12743 aligned copy for power7 with vector-scalar instructions.
12744 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12745
08a300c9
L
127462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12747
12748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12749 AVX check.
12750
59178ef9
AS
127512011-09-07 Andreas Schwab <schwab@redhat.com>
12752
12753 [BZ #13144]
12754 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12755 last change.
12756
e38ba7ab
UD
127572011-09-07 Ulrich Drepper <drepper@gmail.com>
12758
12759 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12760 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12761 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12762 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12763 clock_gettime.
12764
d53a73ac
UD
127652011-09-06 Ulrich Drepper <drepper@gmail.com>
12766
fc8bffcc
UD
12767 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12768 Forgot to demangle the pointer.
12769
ceaa0c5d
UD
12770 * sysdeps/i386/sysdep.h: Define atom_text_section.
12771 * sysdeps/x86_64/sysdep.h: Likewise.
12772 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12773 section with atom_text_section.
12774 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12775 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12776 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12778 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12779
a77d3c17
UD
12780 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12781 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12782 already be defined. Change to take two parameters and don't assign
12783 result to variable. Adjust all users.
12784 Define INTERNAL_GETTIME if not already defined.
12785 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12786 call.
12787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12788 HAVE_CLOCK_GETTIME_VSYSCALL.
12789 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12790
d53a73ac
UD
12791 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12792 gettimeofday vsyscall, just use time.
12793
a8f84144
AS
127942011-09-06 Andreas Schwab <schwab@redhat.com>
12795
12796 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12797 <errno.h>.
12798
ef606249
UD
127992011-09-06 Ulrich Drepper <drepper@gmail.com>
12800
12801 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12802 syscall on x86-64.
12803 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12804 syscall.
12805 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12806 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12807 syscall if possible.
12808
6585cb60
UD
128092011-09-05 Ulrich Drepper <drepper@gmail.com>
12810
12811 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12812 e_ident. Don't pass to find_mapsXX.
12813 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12814
a5f524e4
LD
128152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12816
12817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12818 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12819 * sysdeps/x86_64/multiarch/strchr.S: Update.
12820 Check bit_slow_BSF bit.
12821 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12822 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12823 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12824
554881ef
UD
128252011-09-05 Ulrich Drepper <drepper@gmail.com>
12826
d96de963
UD
12827 [BZ #13134]
12828 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12829 before glibc 2.15.
12830 (tryshell): Define.
12831 (__spawni): Change last parameter to be flag. Test
12832 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12833 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12834 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12835 * posix/spawni.c: Likewise.
12836 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12837 * posix/spawnp.c: Likewise. Change normal version to use
12838 SPAWN_XFLAGS_USE_PATH.
12839 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12840 SPAWN_XFLAGS_TRY_SHELL.
12841
d48e5868
UD
12842 [BZ #13150]
12843 * posix/glob.h: Remove gcc 1.x support.
12844
554881ef
UD
12845 [BZ #13068]
12846 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12847
693fb948
LD
128482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12849
12850 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12851 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12852 strrchr-sse2-bsf
12853 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12854 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12855 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12856 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12857 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12858 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12859
1b48c537
UD
128602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12861
49d42c37
UD
12862 * sysdeps/x86_64/wcscmp.S: New file.
12863
1b48c537
UD
12864 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12865 wcscmp-c wcscmp-sse2
12866 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12867 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12868 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12869 * wcsmbs/wcscmp.c: Allow renaming.
12870
15c95c5d
DM
128712011-09-05 David S. Miller <davem@davemloft.net>
12872
12873 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12874 stack slot, rather than the struct return pointer slot.
12875 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12876 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12878 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12879
2f0ad8f3
UD
128802011-09-05 Ulrich Drepper <drepper@gmail.com>
12881
d88ae418
UD
12882 * po/ja.po: Update from translation team.
12883
2f0ad8f3
UD
12884 [BZ #13144]
12885 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12886 kernel in 64-bit binaries.
12887
5f4318d1
DM
128882011-09-01 David S. Miller <davem@davemloft.net>
12889
12890 * elf/elf.h (HWCAP_SPARC_*): Move to..
12891 * sysdeps/sparc/sysdep.h: this new file and add new values.
12892 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12893 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12894 _DL_HWCAP_COUNT to 24.
12895 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12896 entries.
12897 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12898 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12899 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12901 instead of magic constants.
12902 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12903
3ba57516
DM
129042011-08-31 David S. Miller <davem@davemloft.net>
12905
12906 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12908 Reimplement to do errno handling inline.
12909 (SYSCALL_ERROR_HANDLER): New macro.
12910 (__SYSCALL_STRING): Do not do errno handling in asm.
12911 (__CLONE_SYSCALL_STRING): Delete.
12912 (__INTERNAL_SYSCALL_STRING): Delete.
12913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12914 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12915 (PSEUDO): Reimplement to do errno handling inline.
12916 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12917 (SYSCALL_ERROR_HANDLER): New macro.
12918 (__SYSCALL_STRING): Do not do errno handling in asm.
12919 (__CLONE_SYSCALL_STRING): Delete.
12920 (__INTERNAL_SYSCALL_STRING): Delete.
12921 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12922 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12923 i386.
12924 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12925 (inline_syscall*): Add 'err' argument.
12926 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12927 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12928 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12929 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12930
12931 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12932 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12933
2bc17433
AS
129342011-08-30 Andreas Schwab <schwab@redhat.com>
12935
12936 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12937
fbeb5f4d
JO
129382011-08-29 Jiri Olsa <jolsa@redhat.com>
12939
12940 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12941 directive.
12942
ad69cc26
DM
129432011-08-24 David S. Miller <davem@davemloft.net>
12944
12945 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12946
39dd69df
AS
129472011-08-24 Andreas Schwab <schwab@redhat.com>
12948
12949 * elf/Makefile: Add rules to build and run unload8 test.
12950 * elf/unload8.c: New file.
12951 * elf/unload8mod1.c: New file.
12952 * elf/unload8mod1x.c: New file.
12953 * elf/unload8mod2.c: New file.
12954 * elf/unload8mod3.c: New file.
12955
12956 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12957 it wasn't used.
12958
2c0b250a
DM
129592011-08-23 David S. Miller <davem@davemloft.net>
12960
12961 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12962 subtract stack bias.
12963 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12964 %sp not %fp in calculations.
12965 (_JMPBUF_UNWINDS_ADJ): Likewise.
12966
22044b48
DM
12967 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12968 (aio_suspend): Call it to force an exception region around the
12969 AIO_MISC_WAIT() invocation.
12970
2cae4995
AS
129712011-08-23 Andreas Schwab <schwab@redhat.com>
12972
12973 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12974 backslash.
12975
873a772e
AJ
129762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12977
12978 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12979 protection macro.
12980 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12981 and <dl-machine.h>.
12982 (Elf64_FuncDesc): Remove.
12983
25ad0df1
DM
129842011-08-22 David S. Miller <davem@davemloft.net>
12985
12986 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12987 sigaltstack check, add missing cfi directives.
12988 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12989 missing cfi directives, and sigaltstack handling.
12990
e888bcbe
AS
129912011-08-16 Andreas Schwab <schwab@redhat.com>
12992
12993 [BZ #11724]
12994 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12995 object is seen twice.
12996 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12997
12998 * elf/Makefile (distribute): Add tst-initorder2.c.
12999 (tests): Add tst-initorder2.
13000 (modules-names): Add tst-initorder2a tst-initorder2b
13001 tst-initorder2c tst-initorder2d. Add rules to build them.
13002 ($(objpfx)tst-initorder2.out): New rule.
13003 * elf/tst-initorder2.c: New file.
13004 * elf/tst-initorder2.exp: New file.
13005
87162f46
AS
130062011-08-22 Andreas Schwab <schwab@redhat.com>
13007
70538b7f
AS
13008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13009
f55ffe58
AS
13010 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13011 dependencies back to end of function.
13012
87162f46
AS
13013 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13014 $(elfobjdir)/ld.so.
13015
91b392a4
UD
130162011-08-21 Ulrich Drepper <drepper@gmail.com>
13017
13018 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13019 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13020 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13021 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13022 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13023 of __vdso_gettimeofday.
13024 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13025 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13026 attribute_hidden.
13027 (_libc_vdso_platform_setup): Remove initialization of
13028 __vdso_gettimeofday and __vdso_time.
13029
5c43483f
UD
130302011-08-20 Ulrich Drepper <drepper@gmail.com>
13031
775a77e7
UD
13032 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13033 and fgetc_unlocked.
13034 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13035 getc_unlocked.
89f447ed 13036
49c74ba9
UD
13037 * elf/dl-open.c (add_to_global): Report additions to the global scope
13038 for LD_DEBUG=scopes.
13039 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13040 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13041
5c43483f
UD
13042 [BZ #13114]
13043 * stdio-common/Makefile (tests): Add bug24.
13044 * stdio-common/bug24.c: New file.
13045
a101b025
AJ
130462011-08-19 Andreas Jaeger <aj@suse.de>
13047
13048 [BZ #13114]
13049 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13050 non-existant file when using close-on-exec mode.
13051
c88f1766
UD
130522011-08-20 Ulrich Drepper <drepper@gmail.com>
13053
0276a718
UD
13054 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13055 the very first instruction.
13056
c88f1766
UD
13057 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13058 the CFI state in the end.
13059 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13060 inclusion of dl-trampoline.h.
13061 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13062
51ccffa0
AS
130632011-08-19 Andreas Schwab <schwab@redhat.com>
13064
94d7165f
AS
13065 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13066 expectations for long double.
13067
51ccffa0
AS
13068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13069 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13070
fd708658 130712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13072
13073 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13074 artificual limit depends upon the system page size.
13075
44f0a71e
UD
130762011-08-17 Ulrich Drepper <drepper@gmail.com>
13077
13078 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13079 * resolv/Makefile: Define CFLAGS-libresolv.
13080
8de79a24
AS
130812011-08-17 Andreas Schwab <schwab@redhat.com>
13082
13083 * nss/makedb.c (compute_tables): Make variables used in nested
13084 function static.
13085
27724598
UD
130862011-08-17 Ulrich Drepper <drepper@gmail.com>
13087
c5305d88
UD
13088 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13089 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13090 if buffer was too small.
13091
27724598
UD
13092 * elf/pldd.c (main): Attach to all threads in the process.
13093 Rewrite /proc handling to use *at functions.
13094
076fe015
UD
130952011-08-16 Ulrich Drepper <drepper@gmail.com>
13096
174baab3
UD
13097 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13098 specifies first scope to show.
13099 (dl_open_worker): Update callers. Move printing scope of new
13100 object to before the relocation.
44f0a71e 13101 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13102 * sysdeps/generic/ldsodefs.h: Update declaration.
13103
076fe015
UD
13104 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13105 string for the scope number.
13106
a60df2c3
UD
131072011-08-14 Ulrich Drepper <drepper@gmail.com>
13108
13109 * nscd/servicescache.c (cache_addserv): Make sure written is always
13110 initialized.
13111
5e4287d1
RM
131122011-08-14 Roland McGrath <roland@hack.frob.com>
13113
85ae0589
RM
13114 * sysdeps/i386/i486/bits/atomic.h
13115 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13116 statement expression, so as to suppress "set but not used" warning.
13117 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13118
69f63097
RM
13119 * string/strncat.c (STRNCAT): Use prototype definition.
13120
675456ef
RM
13121 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13122 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13123 -Iprograms here.
13124 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13125 (localedef-modules): Add localedef.
13126 (locale-modules): Add locale.
13127
5e4287d1
RM
13128 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13129 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13130 to avoid a warning.
13131
9c96ff23
DM
131322011-08-14 David S. Miller <davem@davemloft.net>
13133
13134 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13135 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13136
f9ddf089
UD
131372011-08-13 Ulrich Drepper <drepper@gmail.com>
13138
44f0a71e 13139 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13140 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13141 * elf/rtld.c (dl_main): Set l_name of vDSO.
13142 Call _dl_show_scope when DL_DEBUG_SCOPES.
13143 (process_dl_debug): Recognize scopes flag and also set it for all.
13144 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13145 Declare _dl_show_scope.
13146
1dc27704
UD
13147 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13148 (do_dlopen): Pass caller_dlopen to dl_open.
13149 (__libc_dlopen_mode): Initialize caller_dlopen.
13150
f9ddf089
UD
13151 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13152 of libc. Make tolower call locale-independent. Optimize a bit by
13153 using isdigit instead of isalnum.
13154 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13155
9ac533d3
UD
131562011-08-12 Ulrich Drepper <drepper@gmail.com>
13157
13158 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13159 was a dependency or dynamically loaded.
13160
89edf2e9
UD
131612011-08-11 Ulrich Drepper <drepper@gmail.com>
13162
8e999d29
UD
13163 * intl/l10nflist.c: Allow architecture-specific pop function.
13164 * sysdeps/x86_64/l10nflist.c: New file.
13165
89edf2e9
UD
13166 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13167 classification.
13168
14d96785
AS
131692011-08-10 Andreas Schwab <schwab@redhat.com>
13170
13171 * include/dirent.h: Add libc_hidden_proto for scandirat and
13172 scandirat64. Don't declare __scandirat64.
13173 * dirent/scandirat.c: Add libc_hidden_def.
13174 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13175 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13176
6761ac04
DM
131772011-08-10 David S. Miller <davem@davemloft.net>
13178
13179 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13180 enum.
13181 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13182 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13183 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13184
c55fbd1e
UD
131852011-08-09 Ulrich Drepper <drepper@gmail.com>
13186
13187 * Versions.def [libc]: Add GLIBC_2.15.
13188 * dirent/Makefile (routines): Add scandirat and scandirat64.
13189 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13190 GLIBC_2.15.
13191 * dirent/dirent.h: Declare scandirat and scandirat64.
13192 * dirent/scandirat.c: New file.
13193 * dirent/scandirat64.c: New file.
13194 * sysdeps/wordsize-64/scandirat.c: New file.
13195 * sysdeps/wordsize-64/scandirat64.c: New file.
13196 * dirent/opendir.c: Define opendirat.
13197 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13198 using scandirat.
13199 * dirent/scandir64.c: Adjust for scandir.c change.
13200 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13201 __scandirat64, and __scandir_cancel_handler.
13202 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13203 additional parameter and use openat instead of open (outside of ld.so).
13204 Add new __opendir as wrapper around __opendirat.
13205 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13206 here without requiring old scandirat implementation.
13207
879165f2
UD
132082011-08-08 Ulrich Drepper <drepper@gmail.com>
13209
13210 * dirent/scandir.c (cancel_handler): Renamed to
13211 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13212 defined. Adjust users.
13213 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13214 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13215
cb7e923b
UD
132162011-08-04 Ulrich Drepper <drepper@gmail.com>
13217
16292edd
UD
13218 * string/test-string.h (IMPL): Use __STRING to expand name and then
13219 stringify it.
13220
cb7e923b
UD
13221 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13222 of cleanups.
13223
cff82933
LD
132242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13225
13226 * string/Makefile: Update.
13227 (strop-tests): Append strncat.
13228 * string/test-wcscmp.c: New file.
13229 New comprehensive test for wcscmp.
13230 * string/test-strcmp.c: Update.
13231 (WIDE): New define.
13232
9be9bfcc
AS
132332011-07-22 Andreas Schwab <schwab@redhat.com>
13234
13235 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13236 line.
13237
2e96f1c7
AS
132382011-07-26 Andreas Schwab <schwab@redhat.com>
13239
13240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13241 encoding to ACE if AI_IDN.
13242
85188888
JJ
132432011-08-01 Jakub Jelinek <jakub@redhat.com>
13244
13245 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13246 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13247
5fa16e9b
LD
132482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13249
13250 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13251 Fix overflow bug in strncat.
13252 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13253
13254 * string/test-strncat.c: Update.
13255 Add new tests for checking overflow bugs.
13256
132572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13258
13259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13260 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13261 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13262 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13263 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13264 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13265 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13266 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13267 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13268
13269 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13270 (USE_AS_STRCAT): Define.
13271 Add strcat and strncat support.
13272 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13273
8c1a459f
AS
132742011-07-25 Andreas Schwab <schwab@redhat.com>
13275
13276 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13277 __n bigger than INT_MAX+1.
13278 (__strncmp_g): Likewise.
13279
bba33c28
UD
132802011-07-23 Ulrich Drepper <drepper@gmail.com>
13281
798be72d
UD
13282 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13283 * libio/stido.h: Likewise.
13284
8accd4dc
UD
13285 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13286 (AF_NFC): Define.
13287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13288 (AF_NFC): Define.
13289
cbff0d96
UD
13290 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13291 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13292 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13293 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13294 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13295
9191c04a
UD
13296 [BZ #13021]
13297 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13298 installed.
13299
bba33c28
UD
13300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13301 typo.
13302 (_dl_x86_64_save_sse): Likewise.
13303
90f139dd
UD
133042011-07-22 Ulrich Drepper <drepper@gmail.com>
13305
1aae088a
UD
13306 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13307 OSXSAVE.
13308 (_dl_x86_64_save_sse): Likewise.
13309
8e2045f5
UD
13310 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13311
90f139dd
UD
13312 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13313
1d002f25
AS
133142011-07-21 Andreas Schwab <schwab@redhat.com>
13315
13316 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13317 change.
13318 (_dl_x86_64_save_sse): Use correct AVX check.
13319
21137f89
UD
133202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13321
13322 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13323 bug in strncpy/strncat.
13324 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13325
a65c0b7a
UD
133262011-07-21 Ulrich Drepper <drepper@gmail.com>
13327
13328 * string/tester.c (test_strcat): Add tests for different alignments
13329 of source and destination.
13330 (test_strncat): Likewise.
13331
6986b98a
UD
133322011-07-20 Ulrich Drepper <drepper@gmail.com>
13333
90bb2039
UD
13334 [BZ #12852]
13335 * posix/glob.c (glob): Check passed in values before using them in
13336 expressions to avoid some overflows.
13337 (glob_in_dir): Likewise.
13338
5644ef54
UD
13339 [BZ #13007]
13340 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13341 check for AVX enablement so that we don't crash with old kernels and
13342 new hardware.
13343 * elf/tst-audit4.c: Add same checks here.
13344 * elf/tst-audit6.c: Likewise.
13345
13346 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13347
bfc9dc9b
AS
133482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13349
13350 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13351
702e64bb
UD
133522011-07-20 Ulrich Drepper <drepper@gmail.com>
13353
13354 * po/cs.po: Update from translation team.
13355 * po/bg.po: Likewise.
13356
295e904f
MP
133572011-07-12 Marek Polacek <mpolacek@redhat.com>
13358
13359 * misc/sys/cdefs.h: Add support for const attribute.
13360 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13361 to gnu_dev_{major,minor,makedev} functions.
13362
3ff94596
MP
133632011-07-20 Marek Polacek <mpolacek@redhat.com>
13364
13365 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13366
28b59fca
AS
133672011-07-20 Andreas Schwab <schwab@redhat.com>
13368
13369 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13370 strlen results.
13371
19df733e
AK
133722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13373
13374 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13375 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13376 register in order to avoid conflicts with the soft frame pointer
13377 being held in r11 when necessary.
13378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13379 (INTERNAL_VSYSCALL_NCS): Likewise.
13380
c8835729
MP
133812011-07-14 Marek Polacek <mpolacek@redhat.com>
13382
13383 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13384 * elf/dl-fini.c (_dl_fini): Adjust caller.
13385 * elf/dl-close.c (_dl_close_worker): Likewise.
13386 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13387
b902330c
MP
133882011-07-15 Marek Polacek <mpolacek@redhat.com>
13389
8991e135
MP
13390 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13391 "aux_cache->nlibs < 0".
13392
b902330c
MP
13393 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13394 in the reload-count case.
13395
99710781
LD
133962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13397
13398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13399 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13400 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13401 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13402 * sysdeps/x86_64/multiarch/strcat.S: New file.
13403 * sysdeps/x86_64/multiarch/strncat.S: New file.
13404 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13405 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13406 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13407 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13408 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13409 (USE_AS_STRCAT): Define.
13410 Add strcat and strncat support.
13411 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13412 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13413 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13414 * string/strncat.c: Update.
13415 (USE_AS_STRNCAT): Define.
13416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13417 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13418 and i7.
13419 * sysdeps/x86_64/multiarch/init-arch.h
13420 (bit_Prefer_PMINUB_for_stringop): New.
13421 (index_Prefer_PMINUB_for_stringop): Likewise.
13422 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13423 bit_Prefer_PMINUB_for_stringop.
13424
7dc6bd90
UD
134252011-07-19 Ulrich Drepper <drepper@gmail.com>
13426
13427 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13428 buffer64.
13429 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13430 of casting of buffer.
13431 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13432 buffer32 and buffer64.
13433 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13434 writes instead of casting of buffer.
13435 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13436 buffer32.
13437 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13438 casting of buffer.
13439
e0e72284
AS
134402011-07-19 Andreas Schwab <schwab@redhat.com>
13441
13442 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13443
feb1eb0b
UD
134442011-07-19 Ulrich Drepper <drepper@gmail.com>
13445
13446 * nscd/nscd.c (termination_handler): Don't do anything for a database
13447 if it has not yet been initialized.
13448
298711ff
UD
134492011-07-18 Ulrich Drepper <drepper@gmail.com>
13450
13451 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13452
134532011-07-15 Marek Polacek <mpolacek@redhat.com>
13454
13455 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13456
f9d68389
UD
134572011-07-18 Ulrich Drepper <drepper@gmail.com>
13458
13459 * po/nl.po: Update from translation team.
13460 * po/sv.po: Likewise.
13461
db290cf5
RM
134622011-07-16 Roland McGrath <roland@hack.frob.com>
13463
13464 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13465 now disallowed by GCC.
5c550700 13466
fd5e21c7
RM
13467 * configure.in (use-default-link): Default to yes if a test -shared
13468 link meets our qualifications.
13469 * configure: Regenerated.
13470
5c550700
RM
13471 * config.make.in (output-format): New variable.
13472 * configure.in: Check for ld --print-output-format support.
13473 * configure: Regenerated.
13474 * Makerules ($(common-objpfx)format.lds)
13475 [$(output-format) != unknown]: Just use $(output-format),
13476 instead of the linker-script munging.
13477
9fa2c032
RM
134782011-07-14 Roland McGrath <roland@hack.frob.com>
13479
a6928d51
RM
13480 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13481 of $(common-objpfx)shlib.lds.
13482 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13483
661607b3
RM
13484 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13485 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13486
9fa2c032
RM
13487 * configure.in (-z relro check): Adjust test code to add a large
13488 writable data section after it.
13489 * configure: Regenerated.
13490
defe9061
RM
134912011-07-11 Roland McGrath <roland@hack.frob.com>
13492
13493 * configure.in (-z relro check): Fix test code to make the variable
13494 truly const.
13495 * configure: Regenerated.
13496
319b9ad4
UD
134972011-07-11 Ulrich Drepper <drepper@gmail.com>
13498
13499 * nscd/nscd.h (struct traced_file): Define.
13500 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13501 elements. Add traced_files.
13502 (inotify_fd): Declare.
13503 (register_traced_file): Declare.
13504 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13505 (inotify_fd): Export.
13506 (resolv_conf_descr): Remove.
13507 (nscd_init): Move inotify descriptor creation to main.
13508 Don't register files for notification here.
13509 (register_traced_file): New function.
13510 (invalidate_cache): Don't use reset_res to determine whether to call
13511 res_init, go through the list of registered files.
13512 (main_loop_poll): The inotify descriptors are now stored in the
13513 structures for the traced files.
13514 (main_loop_epoll): Likewise
13515 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13516 to __nss_disable_nscd.
13517 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13518 for a database anymore. Check the records for all the registered
13519 files instead.
13520 * nss/Makefile (libnss_files-routines): Add files-init.
13521 (libnss_db-routines): Add db-init.
13522 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13523 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13524 * nss/nss_db/db-init.c: New file.
13525 * nss/nss_files/files-init.c: New file.
13526 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13527 __nss_lookup_function.
13528 (__nss_lookup_function): Call nss_load_library.
13529 (nss_load_all_libraries): New function.
13530 (__nss_disable_nscd): Take parameter with callback function for files
13531 to register. Set is_nscd. Load all the DSOs for the NSS modules
13532 used for the cached services.
13533 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13534 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13535 options for features to all the files in nscd.
13536
13537 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13538
23bee3e8
RM
135392011-07-10 Roland McGrath <roland@hack.frob.com>
13540
13541 * csu/elf-init.c (__libc_csu_init): Comment typo.
13542
46a5b7f0
UD
135432011-07-09 Ulrich Drepper <drepper@gmail.com>
13544
13545 * po/pl.po: Update from translation team.
13546 * po/ja.po: Likewise.
13547 * po/ru.po: Likewise.
13548 * po/ko.po: Likewise.
13549 * po/fr.po: Likewise.
13550
d30cf5bb
RM
135512011-07-09 Roland McGrath <roland@hack.frob.com>
13552
113ddea4
RM
13553 * configure.in (.ctors/.dtors header and trailer check):
13554 Use an empirical test on a built program.
13555 * configure: Regenerated.
13556
574920b4
RM
13557 * configure.in (-z relro check): Use an empirical test on a built DSO.
13558 Detect, but do not require, on ia64.
13559 * configure: Regenerated.
13560
d30cf5bb
RM
13561 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13562 Update tests that use readelf to use $READELF instead.
13563 * configure: Regenerated.
13564
8538fdb3
UD
135652011-07-08 Ulrich Drepper <drepper@gmail.com>
13566
13567 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13568 if the result is not used.
13569
04d08991
AJ
135702011-07-05 Andreas Jaeger <aj@suse.de>
13571
13572 [BZ#9696]
13573 * stdlib/tst-strtod.c: Add testcase.
13574
de283087
AD
135752011-07-07 Ulrich Drepper <drepper@gmail.com>
13576
4e5f31c8 13577 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13578 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13579 The latter has a higher limit. Take additional parameter to pass to
13580 the new function.
13581 (__pathconf): Pass file to __statfs_link_max.
13582 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13583 __statfs_link_max.
13584 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13585 __statfs_link_max.
13586
de283087
AD
13587 [BZ #12868]
13588 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13590 Handle Lustre.
13591 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13592 (__statfs_filesize_max): Likewise.
13593 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13594
c75fa153
AJ
135952011-07-05 Andreas Jaeger <aj@suse.de>
13596
13597 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13598
1a544854
UD
135992011-07-06 Marek Polacek <mpolacek@redhat.com>
13600
13601 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13602 `status' variable.
13603 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13604 Likewise.
13605
6f0eec67
UD
136062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13607
13608 * Makefile (strop-tests): Add strncat.
13609 * string/test-strncat.c: New file.
13610
aae30307
UD
136112011-06-30 Marek Polacek <mpolacek@redhat.com>
13612
13613 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13614
c0cfb5eb
UD
136152011-06-21 Andreas Jaeger <aj@suse.de>
13616
13617 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13618 Copy rule from iconvdata/Makefile.
13619
01636b21
UD
136202011-07-06 Ulrich Drepper <drepper@gmail.com>
13621
13622 [BZ #12922]
13623 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13624 but no long options are defined, just return 'W'.
13625
9895c8bc
UD
136262011-06-22 Marek Polacek <mpolacek@redhat.com>
13627
13628 [BZ #9696]
13629 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13630
5d4cf042
UD
136312011-07-06 Ulrich Drepper <drepper@gmail.com>
13632
13633 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13634 netgroups to read.
960e5535 13635 (innetgr): Likewise.
5d4cf042 13636
751eb97e
RM
136372011-07-05 Roland McGrath <roland@hack.frob.com>
13638
13639 * config.make.in (install_root): Default to $(DESTDIR).
13640
f15f1e45
UD
136412011-07-05 Ulrich Drepper <drepper@gmail.com>
13642
13643 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13644
4e34ac6a
RM
136452011-07-02 Roland McGrath <roland@hack.frob.com>
13646
5e9b6af4
RM
13647 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13648
84f9ea0f
RM
13649 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13650 containing directory rather than embedding absolute directory names.
13651
ea5ee9f7
RM
13652 * scripts/check-local-headers.sh: Rewritten using awk.
13653 Match by word, not by line. Print error messages for matches.
13654 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13655
1b74661a
RM
13656 * Makerules [shlib-lds-flags empty]:
13657 ($(common-objpfx)libc_pic.opts): New target.
13658 ($(common-objpfx)libc_pic.os.clean): New target.
13659 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13660
13661 * config.make.in (OBJCOPY): New variable.
13662 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13663 * configure: Regenerated.
13664
f781ef40
RM
13665 * config.make.in (use-default-link): New variable.
13666 * configure.in (use_default_link): Grok --with-default-link to set it.
13667 * configure: Regenerated.
13668 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13669 (shlib-lds, shlib-lds-flags): Define to empty.
13670
2d4fa81e
RM
13671 * Makerules (shlib-lds): New variable.
13672 (shlib-lds-flags): New variable.
13673 (build-shlib, build-moduile, build-module-asneeded): Use it.
13674 ($(common-objpfx)libc.so): Use $(shlib-lds).
13675 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13676 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13677
31fffa6b
RM
13678 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13679 DT_FLAGS/DT_FLAGS_1 with zero flags.
13680
4e34ac6a
RM
13681 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13682 linker script munging.
13683
fcfc776b
UD
136842011-07-02 Ulrich Drepper <drepper@gmail.com>
13685
13686 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13687 as 128-bit value.
13688 * crypt/sha512.c (sha512_process_block): Perform total addition using
13689 128-bit if possible.
13690 (__sha512_finish_ctx): Likewise.
13691 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13692 as 64-bit value.
13693 * crypt/sha256.c (SWAP64): Define.
13694 (sha256_process_block): Perform total addition using 64-bit if
13695 possible.
13696 (__sha256_finish_ctx): Likewise.
13697
99231d9a
UD
136982011-07-01 Ulrich Drepper <drepper@gmail.com>
13699
13700 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13701 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13702 * nscd/hstcache.c (cache_addhst): Likewise.
13703 * nscd/grpcache.c (cache_addgr): Likewise.
13704 * nscd/aicache.c (addhstaiX): Likewise
13705 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13706
445b4a53
TK
137072011-07-01 Thorsten Kukuk <kukuk@suse.de>
13708
13709 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13710 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13711 * nscd/hstcache.c (cache_addhst): Likewise.
13712 * nscd/grpcache.c (cache_addgr): Likewise.
13713 * nscd/aicache.c (addhstaiX): Likewise
13714
6d4d8e8e
AS
137152011-07-01 Andreas Schwab <schwab@redhat.com>
13716
13717 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13718 domain only when needed.
13719
89f654c5
AS
137202011-06-30 Andreas Schwab <schwab@redhat.com>
13721
13722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13723 is always restored.
13724
cf3b23ff
UD
137252011-06-29 Ulrich Drepper <drepper@gmail.com>
13726
13727 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13728 are re-adding the entry.
13729 * nscd/servicescache.c (cache_addserv): Likewise.
13730
751626f9
AJ
137312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13732
13733 * sysdeps/generic/dl-irel.h: fix protection against multiple
13734 inclusions.
13735 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13736
9113ea1f
UD
137372011-06-28 Ulrich Drepper <drepper@gmail.com>
13738
5c0b8d90
UD
13739 [BZ #12935]
13740 * malloc/memusage.sh: Fix quoting in message.
13741 * debug/xtrace.sh: Likewise.
13742
9113ea1f
UD
13743 * configure.in: Remove support for --experimental-malloc option, make
13744 it the default.
13745 * config.make.in: Likewise.
13746 * malloc/Makefile: Likewise.
13747
a4172181
AS
137482011-06-27 Andreas Schwab <schwab@redhat.com>
13749
13750 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13751 two-byte characters.
13752
78a7eee7
RM
137532011-06-27 Roland McGrath <roland@hack.frob.com>
13754
62bede13
RM
13755 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13756 AC_CACHE_CHECK invocation.
13757 * configure: Regenerated.
13758
78a7eee7
RM
13759 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13760
5ce33a62
UD
137612011-06-27 Ulrich Drepper <drepper@gmail.com>
13762
034807a9
UD
13763 [BZ #12350]
13764 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13765 bit from old_res_options.
13766
4902da17
UD
13767 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13768
5ce33a62
UD
13769 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13770 value type for setfct.
13771
c2344f56
L
137722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13773
13774 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13775 __gettimeofday instead of gettimeofday.
13776
68468076
UD
137772011-06-26 Ulrich Drepper <drepper@gmail.com>
13778
13779 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13780
acb0d739
L
137812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13782
13783 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13784
13785 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13786 info.
13787
8912479f
L
137882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13789
13790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13791 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13792 strcpy-sse2-unaligned strncpy-sse2-unaligned
13793 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13794 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13795 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13796 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13797 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13798 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13799 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13800 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13801 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13802 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13803 (STRCPY): Support SSE2 and SSSE3 versions.
13804
d5495a11
UD
138052011-06-24 Ulrich Drepper <drepper@gmail.com>
13806
13807 [BZ #12874]
13808 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13809 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13810 kernels which artificially limit size of requests.
13811
0b1cbaae
L
138122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13813
13814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13815 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13816 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13817 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13818 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13819 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13820 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13821 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13822 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13823 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13824 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13825 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13826 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13827 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13828 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13829 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13830 Enable unaligned load optimization for Intel Core i3, i5 and i7
13831 processors.
13832 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13833 Define.
13834 (index_Fast_Unaligned_Load): Define.
13835 (HAS_FAST_UNALIGNED_LOAD): Define.
13836
07f494a0
MP
138372011-06-23 Marek Polacek <mpolacek@redhat.com>
13838
13839 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13840
fa3fc0fe
UD
138412011-06-22 Ulrich Drepper <drepper@gmail.com>
13842
13843 [BZ #12907]
13844 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13845 until it is clear that the information is realy needed.
13846 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13847
e12df166
AS
138482011-06-22 Andreas Schwab <schwab@redhat.com>
13849
13850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13851
852eb34d
UD
138522011-06-22 Ulrich Drepper <drepper@gmail.com>
13853
84e2a551
UD
13854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13855 /sys/devices/system/cpu/online if it is usable.
13856
852eb34d
UD
13857 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13858 reading the information from the /proc filesystem to once a second.
13859
6e502e19
UD
138602011-06-21 Andreas Jaeger <aj@suse.de>
13861
13862 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13863 NULL after inclusion of kernel headers.
13864
75d39ff2
UD
138652011-06-21 Ulrich Drepper <drepper@gmail.com>
13866
51f9aa6a
UD
13867 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13868 calls to internal_setent.
13869
c0244a9d
UD
13870 [BZ #12885]
13871 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13872 addresses using gethostbyname4_r ignore IPv4 addresses.
13873
c5e3c2ae
UD
13874 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13875 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13876
75d39ff2
UD
13877 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13878
42675c6f
DM
138792011-06-20 David S. Miller <davem@davemloft.net>
13880
13881 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13882 inclusions.
13883 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13884
13885 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13886 (elf_irel): Use it.
13887 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13888 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13889 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13890 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13891 * sysdeps/x86_64/dl-irel.h: Likewise.
13892
13893 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13894 * elf/dl-sym.c: Likewise.
13895
57912a71
UD
138962011-06-15 Ulrich Drepper <drepper@gmail.com>
13897
13898 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13899 need to dereference resplen2.
13900
ee22793d
AS
139012011-06-14 Andreas Schwab <schwab@redhat.com>
13902
13903 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13904
a9e836b0
UD
139052011-06-15 Ulrich Drepper <drepper@gmail.com>
13906
77fb9117
UD
13907 * Makeconfig: Define vardbdir and inst_vardbdir.
13908 * nss/Makefile: Add rules to install db-Makefile.
13909
40c1b22c
UD
13910 * nss/nss_db/db-XXX.c: Cleanup.
13911
9f2da732
UD
13912 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13913 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13914 GLIBC_PRIVATE.
13915 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13916 * nss/makedb.c: Implement -g option to specify that value strings
13917 are generated and should not be added to table iterated over for
13918 get*ent calls.
13919 * nss/nss_db/db-initgroups.c: New file.
13920
82e9a1f7
UD
13921 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13922 interface.
13923
c41af17e
UD
13924 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13925 (internal_getgrouplist): Adjust to name change.
13926 Update use_initgroups_entry if this is not the first call.
13927 * nss/databases.def: Add initgroups entry.
13928
a9e836b0
UD
13929 * nss/makedb.c (compute_tables): Check result of multiple hash table
13930 sizes to minimize maximum chain length.
13931
2666d441
UD
139322011-06-14 Ulrich Drepper <drepper@gmail.com>
13933
13934 * Versions.def: Add entry for libnss_db.
13935 * shlib-versions: Likewise.
13936 * nss/Makefile: Add rules to build libnss_db.
13937 * nss/Versions: Add libnss_db information. Organize libnss_files
13938 entries better.
13939 * nss/db-Makefile: Add gshadow support. Change rules for the new
13940 makedb progra. Some minor improvements to generate smaller files.
13941 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13942 here from...
13943 * nss/makedb.c: ...here.
13944 Improve database format to be smaller and require less memory at
13945 runtime.
13946 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13947 db anymore.
13948 * nss/nss_db/db-netgrp.c: Likewise.
13949 * nss/nss_db/db-open.c: Likewise.
13950 * nss/nss_files/flies-XXX.x: Adjust comments.
13951 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13952 * nss/nss_files/files-grp.c: Likewise.
13953 * nss/nss_files/files-hosts.c: Likewise.
13954 * nss/nss_files/files-network.c: Likewise.
13955 * nss/nss_files/files-proto.c: Likewise.
13956 * nss/nss_files/files-pwd.c: Likewise.
13957 * nss/nss_files/files-rpc.c: Likewise.
13958 * nss/nss_files/files-service.c: Likewise.
13959 * nss/nss_files/files-sgrp.c: Likewise.
13960 * nss/nss_files/files-spwd.c: Likewise.
13961 * nss/nss_db/db-alias.c: Removed.
13962 * nss/nss_db/dummy-db.h: Removed.
13963
9ee76b5a
UD
139642011-06-02 Ulrich Drepper <drepper@gmail.com>
13965
13966 * nss/makedb.c: Rewritten to not use database library.
13967 * nss/Makefile: Update to build new makedb program.
13968
c71ca1f8
AJ
139692011-06-14 Andreas Jaeger <aj@suse.de>
13970
13971 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13972 memset declaration.
13973
3154bfb8
UD
139742011-06-10 Andreas Schwab <schwab@redhat.com>
13975
13976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13977 tmpbuf.
13978
b350afab
RM
139792011-06-10 Roland McGrath <roland@hack.frob.com>
13980
decd4e50
RM
13981 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13982 * elf/Makefile ($(objpfx)ld.so): Likewise.
13983
5615eaf2
RM
13984 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13985 Don't list ld.so twice in dependencies.
13986
13987 * posix/bug-regex31.c: Include <stdlib.h>.
13988
13989 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13990
13991 * nis/nss_compat/compat-spwd.c
13992 (getspent_next_nss_netgr): Remove unused variable.
13993 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13994
13995 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13996 nonmembers" output to use the right array.
13997
13998 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13999
14000 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14001
14002 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14003 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14004 * catgets/gencat.c (read_input_file): Likewise.
14005 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14006
14007 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14008 variable definition inside #if's controlling its use.
14009
14010 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14011
14012 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14013
14014 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14015
14016 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14017 unreachable code.
14018
14019 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14020
b68e08db
RM
14021 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14022 * configure: Regenerated.
14023
b350afab
RM
14024 * Makerules: Revert last change.
14025 * elf/Makefile: Likewise.
14026
28368601
RM
140272011-06-09 Roland McGrath <roland@hack.frob.com>
14028
14029 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14030 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14031 (reloc-link): Likewise.
14032
11988f8f
UD
140332011-06-09 Ulrich Drepper <drepper@gmail.com>
14034
14035 * elf/Makefile: Add rules to build pldd.
14036 * elf/pldd.c: New file.
14037 * elf/pldd-xx.c: New file.
14038
e80fab37
UD
140392011-06-07 Ulrich Drepper <drepper@gmail.com>
14040
14041 * version.h: Update for 2.15 development version.
14042
9b849836
DM
140432011-06-07 David S. Miller <davem@davemloft.net>
14044
14045 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14046 ifuncs.
14047 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14048 elf_machine_lazy_rel): Likewise.
14049 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14050 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14051 elf_machine_lazy_rel): Likewise.
14052 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14053 dl_hwcap via passed in argument.
14054 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14055 Likewise.
14056
5a31b283
AK
140572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14058
14059 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14060
069e52f8
RM
140612011-06-06 Roland McGrath <roland@hack.frob.com>
14062
14063 [BZ #12849]
14064 * manual/fdl-1.1.texi: New file, verbatim from:
14065 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14066 * manual/lgpl-2.1.texi: New file, verbatim from:
14067 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14068 * manual/Makefile (licenses): New variable, list those new file names.
14069 (texis): Use it.
14070 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14071
14072 * manual/fdl.texi: File removed.
14073 * manual/lesser.texi: File removed.
14074 * manual/libc.texinfo (Copying, Documentation License):
14075 Use new @include file names, put @appendix directive before @include.
14076
f16846a5
JJ
140772011-06-04 Jakub Jelinek <jakub@redhat.com>
14078
14079 [BZ #12841]
14080 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14081 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14082 (mq_open): Add __NTH.
14083
3d29045b
L
140842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14085
14086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14087 Assume Intel Core i3/i5/i7 processor if AVX is available.
14088
8c297311
UD
140892011-05-31 Ulrich Drepper <drepper@gmail.com>
14090
14091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14092 typo.
14093
c8fc0c91
UD
140942011-05-31 Andreas Schwab <schwab@redhat.com>
14095
14096 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14097 memory. Use alloca_account. Fix memory leak when retrying.
14098
5b27a807
UD
140992011-05-31 Ulrich Drepper <drepper@gmail.com>
14100
356f8bc6
UD
14101 * version.h (RELEASE): Bump for 2.14 release.
14102 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14103
5b27a807
UD
14104 * config.make.in (RANLIB): Remove entry.
14105
01f16ab0
UD
141062011-05-30 Ulrich Drepper <drepper@gmail.com>
14107
41fce8bd
UD
14108 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14109 (libc.pot): Work around missing support for .ksh extension in xgettext.
14110
4769ae77
UD
14111 [BZ #12684]
14112 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14113 if both request failed.
14114 (send_dg): In case of server errors clear resplen or *resplen2.
14115
6b1e7d19
UD
14116 [BZ #12454]
14117 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14118 when there are multiple maps.
14119 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14120 (_dl_fini): Remove test here.
14121
01f16ab0
UD
14122 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14123
b1ebd700
UD
141242011-05-29 Ulrich Drepper <drepper@gmail.com>
14125
7ae22829
UD
14126 [BZ #12350]
14127 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14128 bit from old_res_options.
14129 (gaih_inet): Likewise.
14130
553149f6 14131 [BZ #11099]
18a84741 14132 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14133 as signed.
14134
652ffab1
UD
14135 * resolv/res_init.c (res_setoptions): Make the code more compact.
14136
16985fd0
UD
14137 [BZ #11558]
14138 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14139 set RES_USEVC.
14140
0464f746
UD
14141 [BZ #11634]
14142 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14143
7d17596c
UD
14144 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14145
cf6bbbd7
UD
14146 [BZ #11781]
14147 * malloc/malloc.h: Declare malloc hook variables as volatile.
14148
13f1ab36
UD
14149 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14150 in last patch.
14151
b1ebd700
UD
14152 [BZ #11799]
14153 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14154 raise in the comment.
80e2212d
UD
14155 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14156 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14157 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14158
ce67228d
UD
141592011-05-28 Ulrich Drepper <drepper@gmail.com>
14160
8887a920
UD
14161 [BZ #12811]
14162 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14163 grow the buffers more if it already has to be sufficient.
14164 (build_wcs_upper_buffer): Likewise.
14165 * posix/regexec.c (check_matching): Likewise.
14166 (clean_state_log_if_needed): Likewise.
14167 (extend_buffers): Don't enlarge buffers beyond size of the input
14168 buffer.
14169 Patches mostly by Emil Wojak <emil@wojak.eu>.
14170 * posix/bug-regex32.c: New file.
14171 * posix/Makefile (tests): Add bug-regex32.
14172
4f031072
UD
14173 * locale/findlocale.c (_nl_find_locale): Return right away if
14174 _nl_explode_name failed.
14175 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14176
d0478f0c
UD
14177 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14178
de81b246
UD
14179 * debug/xtrace.sh: Unify messages.
14180 * malloc/memusage.sh: Likewise.
14181
c738465a
UD
14182 [BZ #12813]
14183 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14184 time symbol from vDSO. Substitute with vsyscall if not available.
14185 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14186 __vdso_time.
14187
f1f929d7
UD
14188 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14189 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14190 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14191 Add sendmmsg and internal_sendmmsg.
14192 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14193 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14194 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14195
ce67228d
UD
14196 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14197 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14198 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14199
e57420c6
UD
142002011-05-27 Ulrich Drepper <drepper@gmail.com>
14201
a8509ca5
UD
14202 [BZ #12813]
14203 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14204 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14205 available.
14206 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14207 __vdso_getcpu.
14208
e57420c6
UD
14209 [BZ #12814]
14210 * iconvdata/Makefile (tests): Add bug-iconv9.
14211 * iconvdata/bug-iconv9.c: New file.
14212
4d07db15
AS
142132011-05-27 Andreas Schwab <schwab@redhat.com>
14214
14215 [BZ #12814]
14216 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14217
ea486f69
JJ
142182011-05-25 Jakub Jelinek <jakub@redhat.com>
14219
14220 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14221 (struct user_regs_struct): Change intcs field back to cs.
14222
6f038433
UD
142232011-05-25 Ulrich Drepper <drepper@gmail.com>
14224
14225 * po/ja.po: Update from translation team.
14226
67f86a25
UD
142272011-05-23 Ulrich Drepper <drepper@gmail.com>
14228
14229 [BZ #12795]
14230 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14231 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14232
def7fbd6
AS
142332011-05-20 Andreas Schwab <schwab@redhat.com>
14234
14235 * stdlib/longlong.h: Update from GCC.
14236
f50ef8f1
AS
142372011-05-23 Andreas Schwab <schwab@redhat.com>
14238
14239 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14240 parameter name.
14241 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14242 Add parameter name.
14243 (__sysconf): Pass it down.
14244
de7ce8f1
UD
142452011-05-22 Ulrich Drepper <drepper@gmail.com>
14246
f2962a71
UD
14247 [BZ #12671]
14248 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14249 some situations.
14250 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14251 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14252 add in in __libc_use_alloca calls. Adjust callers.
14253 (glob): Use malloc in some situations.
14254
de7ce8f1
UD
14255 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14256 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14257 pltexit.
14258
aec84f53
UD
142592011-05-21 Ulrich Drepper <drepper@gmail.com>
14260
05bb4a68
UD
14261 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14262 and CLOCK_BOOTTIME_ALARM.
14263
7ea72f99
UD
14264 [BZ #12782]
14265 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14266 is returned.
14267
7e4afad5
UD
14268 * string/_strerror.c (__strerror_r): Print negative errors as signed
14269 numbers.
14270
8e211fec
UD
14271 [BZ #12777]
14272 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14273 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14274 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14275
f7d82dc9
UD
14276 * configure.in: Fix typo in redirection and correct removal of test
14277 files in two cases.
14278
cc9e536d
UD
14279 [BZ #12788]
14280 * locale/setlocale.c (new_composite_name): Fix test to check for
14281 identical name of all categories.
14282
aec84f53
UD
14283 [BZ #12792]
14284 * libio/filedoalloc.c (local_isatty): New function.
14285 (_IO_file_doallocate): Use local_isatty.
14286 * stdio-common/perror.c (perror): In case a new stream is used
14287 forward the stream error.
14288 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14289 error flag.
14290
78e64fdc
RT
142912011-05-20 Ulrich Drepper <drepper@gmail.com>
14292
34a9094f
UD
14293 [BZ #11869]
14294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14295 alloca.
14296 * include/alloca.h (extend_alloca_account): Define.
14297
78e64fdc
RT
14298 [BZ #11857]
14299 * posix/regex.h: Fix comments with documentation of user-accessible
14300 fields after compilation and describe correct free'ing of pattern
14301 after re_compile_pattern.
14302 Patch by Reuben Thomas <rrt@sc3d.org>.
14303
457bddfc
RA
143042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14305
14306 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14307 and -mno-altivec to prevent the compiler from using Altivec and/or
14308 VSX instructions when the corresponding registers are not available.
14309
a4527b51
AS
143102011-05-19 Andreas Schwab <schwab@redhat.com>
14311
14312 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14313
ed690b2f
UD
143142011-05-19 Ulrich Drepper <drepper@gmail.com>
14315
14316 * libio/freopen.c (freopen): Use __dup2, not dup2.
14317 * libio/freopen64.c (freopen64): Likewise.
14318
8db73634
L
143192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14320
14321 [BZ #12775]
14322 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14323 * math/Makefile (tests): Add test-powl.
14324 (CFLAGS-test-powl.c): Define.
14325 * math/test-powl.c: New file.
14326
0a197a9d
L
143272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14328
14329 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14330
ee30c380
UD
143312011-05-17 Ulrich Drepper <drepper@gmail.com>
14332
14333 [BZ #11837]
14334 * iconvdata/gb18030.c: Update to GB18020-2005.
14335
6ce75379
UD
143362011-05-16 Ulrich Drepper <drepper@gmail.com>
14337
a4b89fd8
AR
14338 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14339 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14340 Patch by Aharon Robbins <arnold@skeeve.com>.
14341
ea389b12
UD
14342 [BZ #11892]
14343 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14344 on the stack.
14345
68a3f91f
UD
14346 [BZ #11895]
14347 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14348 through underflows.
14349
15cc7dd1
UD
14350 [BZ #12766]
14351 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14352 point to strings before performing equality test for error_one_per_line
14353 mode.
14354
f3799213
UD
14355 [BZ #11697]
14356 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14357
d79a9c94
UD
14358 [BZ #11820]
14359 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14360 (struct user_fpregs_struct): Avoid __uint*_t types.
14361
56e5eb46
UD
14362 [BZ #6420]
14363 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14364 symbol info. Use it instead of calling _dl_addr locally.
14365 (lock_and_info): New function.
14366 (tr_freehook): Call lock_and_info and pass symbol info as additional
14367 parameter to tr_where.
14368 (tr_mallochook): Likewise.
14369 (tr_reallochook): Likewise.
14370 (tr_memalignhook): Likewise.
14371
6ce75379
UD
14372 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14373 used and couldn't be at all thread-safe.
14374
f8a3b5bf
UD
143752011-05-15 Ulrich Drepper <drepper@gmail.com>
14376
94b7cc37
UD
14377 * libio/freopen.c (freopen): Don't close old file descriptor
14378 before the new one is opened. Instead dup the new file descriptor
14379 to the old one after the new stream is created.
14380 * libio/freopen64.c (freopen64): Likewise.
14381 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14382 * libio/fileops.c (_IO_new_file_close_it): Handle new
14383 _IO_FLAGS2_NOCLOSE flag.
14384 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14385 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14386 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14387 _IO_FLAGS2_NOCLOSE flag.
14388 * include/unistd.h: Add hidden_proto for dup3.
14389 Define __have_dup3.
14390 * io/dup3.c: Define hidden symbol.
14391 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14392
bd25564e
UD
14393 [BZ #7101]
14394 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14395 when an incomplete long option is used.
14396 * posix/tst-getopt_long1.c: New file.
14397 * posix/Makefile (tests): Add tst-getopt_long1.
14398
c84cfef4
UD
14399 [BZ #10138]
14400 * scripts/config.guess: Update from autoconf-2.68.
14401 * scripts/config.sub: Likewise.
14402
3b85df27
UD
14403 [BZ #10157]
14404 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14405 tests into ...
14406 (has_cpuclock): ...this. New function.
14407 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14408 macro here based on has_cpuclock code.
14409
15a856b1
UD
14410 [BZ #10149]
14411 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14412 First byte (not low byte) is now always NUL.
14413 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14414
05f399e6
UD
14415 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14416 Use non-cancelable interfaces.
14417
10a52685 14418 [BZ #9809]
94ecc67d
UD
14419 * locale/iso-639.def: Add entry for Sorani.
14420
f8a3b5bf
UD
14421 [BZ #11901]
14422 * include/stdlib.h: Move include protection to the right place.
14423 Define abort_msg_s. Declare __abort_msg with it.
14424 * stdlib/abort.c (__abort_msg): Adjust type.
14425 * assert/assert.c (__assert_fail_base): New function. Majority
14426 of code from __assert_fail. Allocate memory for __abort_msg with
14427 mmap.
14428 (__assert_fail): Now call __assert_fail_base.
14429 * assert/assert-perr.c: Remove bulk of implementation. Use
14430 __assert_fail_base.
14431 * include/assert.hL Declare __assert_fail_base.
14432 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14433 mmap.
14434 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14435
1af4e298
UD
144362011-05-14 Ulrich Drepper <drepper@gmail.com>
14437
f8a3b5bf 14438 [BZ #11952]
d26dfc60
MG
14439 [BZ #12453]
14440 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14441 until all modules are registered in the DTV.
14442 * elf/Makefile: Add rules to build and run tst-tls19.
14443 * elf/tst-tls19.c: New file.
14444 * elf/tst-tls19mod1.c: New file.
14445 * elf/tst-tls19mod2.c: New file.
14446 * elf/tst-tls19mod3.c: New file.
14447 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14448
2fc54d6f
UD
14449 [BZ #12083]
14450 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14451 correctly.
14452
98d76b46
UD
14453 [BZ #12601]
14454 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14455 two-byte sequence errors.
14456 * iconvdata/Makefile (tests): Add bug-iconv8.
14457 * iconvdata/bug-iconv8.c: New file.
14458
da3c19ef
UD
14459 [BZ #12626]
14460 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14461 buf2 definition.
14462
ca408c15
UD
14463 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14464
d6f67f7d
UD
14465 [BZ #12432]
14466 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14467 (dummy_getcfa): New function.
14468 (init): Get _Unwind_GetCFA address, use dummy if not found.
14469 (backtrace_helper): In recursion check, also check whether CFA changes.
14470 (__backtrace): Completely initialize arg.
14471
1af4e298 14472 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14473 storing incomplete byte sequence in state object. Avoid testing for
14474 guaranteed too small input if we know there is enough data available.
1af4e298 14475
da62f81b
AS
144762011-05-11 Andreas Schwab <schwab@redhat.com>
14477
14478 * Makeconfig (+link-pie): Indent.
14479 * Rules (binaries-pie): Define if $(have-fpie) and
14480 $(build-shared).
14481 (binaries-shared): Also filter out $(binaries-pie).
14482 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14483 * nscd/Makefile (others-pie): Add nscd.
14484 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14485 ($(objpfx)nscd): Remove command override.
14486 * login/Makefile (others-pie): Add pt_chown.
14487 ($(objpfx)pt_chown): Remove command override.
14488 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14489 remove command overrides.
14490
fcabc0f8
UD
144912011-05-13 Ulrich Drepper <drepper@gmail.com>
14492
20030ae6
UD
14493 * libio/tst_putwc.c: Fix error messages.
14494
fcabc0f8
UD
14495 [BZ #12724]
14496 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14497 currently writing and seek to current position when not.
14498 * libio/Makefile (tests): Add bug-fclose1.
14499 * libio/bug-fclose1.c: New file.
14500
320a5dc0
PB
145012011-05-12 Ulrich Drepper <drepper@gmail.com>
14502
14503 [BZ #12511]
14504 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14505 don't set DF_1_NODELETE here.
14506 (do_lookup_x): When entering new entry test for copy relocation
14507 and if necessary set DF_1_NODELETE flag.
14508 * elf/tst-unique4.cc: New file.
14509 * elf/tst-unique4.h: New file.
14510 * elf/tst-unique4lib.cc: New file.
14511 * elf/Makefile: Add rules to build and run tst-unique4.
14512 Patch by Piotr Bury <pbury@goahead.com>.
14513
22836f52
UD
145142011-05-11 Ulrich Drepper <drepper@gmail.com>
14515
f574184a
UD
14516 [BZ #12052]
14517 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14518
e1fb097f
UD
14519 [BZ #12625]
14520 * misc/mntent_r.c (addmntent): Flush the stream after the output
14521
22836f52
UD
14522 [BZ #12393]
14523 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14524 (is_trusted_path_normalize): Skip initial colon. Append slash
14525 to empty buffer. Duplicate is_trusted_path code but allow
14526 constructed patch to be prefix.
14527 (is_dst): Allow $ORIGIN followed by /.
14528 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14529 Correct testing of result of is_trusted_path_normalize
14530 (decompose_rpath): Fix warning.
14531
7b3b0b2a
UD
145322011-05-10 Ulrich Drepper <drepper@gmail.com>
14533
14534 [BZ #11257]
14535 * grp/initgroups.c (internal_getgrouplist): When we found the service
14536 list through the initgroups entry in nsswitch.conf do not always
14537 continue on a successful lookup. Don't always use the
eac80ce2 14538 __nss_group_database value if it is set.
7b3b0b2a
UD
14539 * nss/nsswitch.conf (initgroups): Change action for successful db
14540 lookup to continue for compatibility.
14541
2a81eaa5
UD
145422011-05-09 Ulrich Drepper <drepper@gmail.com>
14543
be97a69e
UD
14544 [BZ #11532]
14545 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14546 and CP774 modules.
14547 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14548 and CP774 modules.
14549 * iconvdata/tst-tables.sh: Likewise.
14550 * iconvdata/cp770.c: New file.
14551 * iconvdata/cp771.c: New file.
14552 * iconvdata/cp772.c: New file.
14553 * iconvdata/cp773.c: New file.
14554 * iconvdata/cp774.c: New file.
14555 * iconvdata/testdata/CP770: New file.
14556 * iconvdata/testdata/CP770..UTF8: New file.
14557 * iconvdata/testdata/CP771: New file.
14558 * iconvdata/testdata/CP771..UTF8: New file.
14559 * iconvdata/testdata/CP772: New file.
14560 * iconvdata/testdata/CP772..UTF8: New file.
14561 * iconvdata/testdata/CP773: New file.
14562 * iconvdata/testdata/CP773..UTF8: New file.
14563 * iconvdata/testdata/CP774: New file.
14564 * iconvdata/testdata/CP774..UTF8: New file.
14565
14566 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14567 END CHARMAP line.
14568 * iconvdata/gen-8bit-gap.sh: Likewise.
14569 * iconvdata/gen-8bit.sh: Likewise.
14570
c1e9e399
UD
14571 * locale/iso-639.def: Add ary entry.
14572
24c55fb3 14573 [BZ #11258]
96b4b1b0
UD
14574 * locale/C-translit.h.in: Add U20A1 transliteration.
14575
bdc2f971
KB
14576 [BZ #12178]
14577 * locale/iso-639.def: Add wae entry.
14578 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14579
2952b117
UD
14580 [BZ #12545]
14581 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14582 for n.
14583
2a81eaa5
UD
14584 [BZ #12711]
14585 * locale/C-translit.h.in: Add entry for U20B9.
14586 Patch by pravin.d.s@gmail.com.
14587
28377d1b
UD
145882011-05-08 Ulrich Drepper <drepper@gmail.com>
14589
7fb90fb8
UD
14590 [BZ #12713]
14591 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14592 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14593 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14594 in rtld. Use *stat64.
7fb90fb8 14595 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14596 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14597 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14598 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14599 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14600 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14601 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14602 __fstatat64 macros.
7fb90fb8
UD
14603 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14604 * dirent/rewinddir.c: Add libc_hidden_def.
14605 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14606 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14607
28377d1b
UD
14608 * include/dirent.h (__alloc_dir): Add flags parameter.
14609 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14610 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14611 __alloc_dir.
14612 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14613 from fdopendir if O_CLOEXEC is already set.
14614
66bdbaa4
AM
146152011-03-15 Alan Modra <amodra@gmail.com>
14616
14617 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14618 l_tls_firstbyte_offset non-zero. Save padding offset in
14619 l_tls_firstbyte_offset for later use.
14620 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14621 freeing static tls block.
14622
95721191
JN
146232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14624
14625 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14626 where #ifdef was intended. The intent is to prevent ARG_MAX from
14627 being defined by the kernel headers.
14628
f87dfb1f
UD
146292011-05-07 Ulrich Drepper <drepper@gmail.com>
14630
14631 [BZ #12734]
14632 * resolv/resolv.h: Define RES_NOTLDQUERY.
14633 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14634 no-tld-query and set RES_NOTLDQUERY.
14635 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14636 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14637 modern BIND to search name as TLD unless forbidden.
14638
47c3cd7a
UD
146392011-05-07 Petr Baudis <pasky@suse.cz>
14640 Ulrich Drepper <drepper@gmail.com>
14641
14642 [BZ #12393]
14643 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14644 (is_trusted_path): ...to here.
c1e9ea35 14645 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14646 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14647 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14648
8a35c912
PP
146492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14650
14651 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14652 __BEGIN/__END_DECLS.
14653
acd41f47
UD
146542011-05-06 Ulrich Drepper <drepper@gmail.com>
14655
14656 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14657 NSS_STATUS_NOTFOUND if no record was found.
14658
597df647
AS
146592011-05-05 Andreas Schwab <schwab@redhat.com>
14660
14661 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14662 (headers-not-in-tirpc): Remove rpc/netdb.h
14663 * resolv/netdb.h: Revert last change.
14664
b9af1301
PP
146652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14666
14667 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14668 circular dependency between libgcc.a and libc.a.
14669
4e34d5f5
AS
146702011-05-05 Andreas Schwab <schwab@redhat.com>
14671
14672 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14673 * nis/Makefile: Don't install rpcsvc/*.
14674 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14675 instead of <rpc/types.h>.
14676 (MAXHOSTNAMELEN): Define.
14677
00ee369c
AS
146782011-05-03 Andreas Schwab <schwab@redhat.com>
14679
14680 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14681
0b592a30
MB
146822011-04-28 Maciej Babinski <mbabinski@google.com>
14683
14684 [BZ #12714]
14685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14686 gethostbyname4_r when IPv6 results are possible.
14687
6e04cbbe
UD
146882011-05-02 Ulrich Drepper <drepper@gmail.com>
14689
14690 [BZ #12723]
14691 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14692 _PC_PIPE_BUF handling.
14693
e4ecafe0
BH
146942011-04-30 Bruno Haible <bruno@clisp.org>
14695
14696 [BZ #12717]
14697 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14698 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14699 to 'int'.
14700 * inet/getnameinfo.c (getnameinfo): Likewise.
14701
125ee683
UD
147022011-04-29 Ulrich Drepper <drepper@gmail.com>
14703
14704 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14705 to groups setting in database lookup.
14706 * nss/nsswitch.conf: Add initgroups entry.
14707
b722481a
EB
147082011-04-22 Ulrich Drepper <drepper@gmail.com>
14709
14710 [BZ #12685]
14711 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14712 mode string.
14713 Patch by Eric Blake <eblake@redhat.com>.
14714
4df46dbd
L
147152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14716
14717 * sunrpc/Makefile (need-export-routines): Add svc_run.
14718 (routines): Remove svc_run.
14719 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14720 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14721 * sunrpc/svc_run.c (svc_run): Likewise.
14722 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14723
e84142d2
UD
147242011-04-21 Ulrich Drepper <drepper@gmail.com>
14725
14726 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14727 problem in reallocation in last patch.
14728
877175d8
UD
147292011-04-20 Ulrich Drepper <drepper@gmail.com>
14730
14731 * sunrpc/Makefile: Move inclusion of Rules.
14732
ab8eed78
UD
147332011-04-19 Ulrich Drepper <drepper@gmail.com>
14734
14735 * nss/nss_files/files-initgroups.c: New file.
14736 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14737 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14738 _nss_files_initgroups_dyn.
14739
e3d8f584
RS
147402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14741
14742 * elf/elf.h (R_ARM_IRELATIVE): Define.
14743
af190f45
UD
147442011-04-19 Ulrich Drepper <drepper@gmail.com>
14745
14746 * po/ru.po: Update from translation team.
14747
53cf59ef
UD
147482011-04-17 Ulrich Drepper <drepper@gmail.com>
14749
14750 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14751 dependencies.
14752
4c559bcd
MF
147532011-02-06 Mike Frysinger <vapier@gentoo.org>
14754
14755 [BZ #12653]
14756 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14757 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14758 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14759 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14760 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14761
4420675c
AS
147622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14763
14764 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14765 differing bytes.
14766 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14767 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14768 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14769
75ea32ab
UD
147702011-04-17 Ulrich Drepper <drepper@gmail.com>
14771
14772 [BZ #12420]
14773 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14774 storing it.
14775 * stdlib/bug-getcontext.c: New file.
14776 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14777
27390476
AK
147782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14779
14780 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14781 instructions into .machine "z9-109".
14782 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14783 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14784
10442705
AK
147852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14786
14787 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14788 between environment variables and auxiliary vector.
14789
7b57bfe5
UD
147902011-04-16 Ulrich Drepper <drepper@gmail.com>
14791
14792 * Makefile: Add rules to build linkobj/libc.so.
14793 * include/libc-symbols.h: Define libc_hidden_nolink.
14794 * include/rpc/auth.h: Mark functions which are to be hidden.
14795 * include/rpc/auth_des.h: Likewise.
14796 * include/rpc/auth_unix.h: Likewise.
14797 * include/rpc/clnt.h: Likewise.
14798 * include/rpc/des_crypt.h: Likewise.
14799 * include/rpc/key_prot.h: Likewise.
14800 * include/rpc/pmap_clnt.h: Likewise.
14801 * include/rpc/pmap_prot.h: Likewise.
14802 * include/rpc/pmap_rmt.h: Likewise.
14803 * include/rpc/rpc_msg.h: Likewise.
14804 * include/rpc/svc.h: Likewise.
14805 * include/rpc/svc_auth.h: Likewise.
14806 * include/rpc/xdr.h: Likewise.
14807 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14808 * nss/Makefile: Likewise.
14809 * sunrpc/Makefile: Don't install headers. Build library with normal
14810 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14811 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14812 for the compat linking library. Remove use of INTDEF/INTUSE.
14813 * sunrpc/auth_none.c: Likewise.
14814 * sunrpc/auth_unix.c: Likewise.
14815 * sunrpc/authdes_prot.c: Likewise.
14816 * sunrpc/authuxprot.c: Likewise.
14817 * sunrpc/clnt_gen.c: Likewise.
14818 * sunrpc/clnt_perr.c: Likewise.
14819 * sunrpc/clnt_raw.c: Likewise.
14820 * sunrpc/clnt_simp.c: Likewise.
14821 * sunrpc/clnt_tcp.c: Likewise.
14822 * sunrpc/clnt_udp.c: Likewise.
14823 * sunrpc/clnt_unix.c: Likewise.
14824 * sunrpc/des_crypt.c: Likewise.
14825 * sunrpc/des_soft.c: Likewise.
14826 * sunrpc/get_myaddr.c: Likewise.
14827 * sunrpc/key_call.c: Likewise.
14828 * sunrpc/key_prot.c: Likewise.
14829 * sunrpc/netname.c: Likewise.
14830 * sunrpc/pm_getmaps.c: Likewise.
14831 * sunrpc/pm_getport.c: Likewise.
14832 * sunrpc/pmap_clnt.c: Likewise.
14833 * sunrpc/pmap_prot.c: Likewise.
14834 * sunrpc/pmap_prot2.c: Likewise.
14835 * sunrpc/pmap_rmt.c: Likewise.
14836 * sunrpc/publickey.c: Likewise.
14837 * sunrpc/rpc_cmsg.c: Likewise.
14838 * sunrpc/rpc_common.c: Likewise.
14839 * sunrpc/rpc_dtable.c: Likewise.
14840 * sunrpc/rpc_prot.c: Likewise.
14841 * sunrpc/rpc_thread.c: Likewise.
14842 * sunrpc/rtime.c: Likewise.
14843 * sunrpc/svc.c: Likewise.
14844 * sunrpc/svc_auth.c: Likewise.
14845 * sunrpc/svc_authux.c: Likewise.
14846 * sunrpc/svc_raw.c: Likewise.
14847 * sunrpc/svc_run.c: Likewise.
14848 * sunrpc/svc_simple.c: Likewise.
14849 * sunrpc/svc_tcp.c: Likewise.
14850 * sunrpc/svc_udp.c: Likewise.
14851 * sunrpc/svc_unix.c: Likewise.
14852 * sunrpc/svcauth_des.c: Likewise.
14853 * sunrpc/xcrypt.c: Likewise.
14854 * sunrpc/xdr.c: Likewise.
14855 * sunrpc/xdr_array.c: Likewise.
14856 * sunrpc/xdr_float.c: Likewise.
14857 * sunrpc/xdr_intXX_t.c: Likewise.
14858 * sunrpc/xdr_mem.c: Likewise.
14859 * sunrpc/xdr_rec.c: Likewise.
14860 * sunrpc/xdr_ref.c: Likewise.
14861 * sunrpc/xdr_sizeof.c: Likewise.
14862 * sunrpc/xdr_stdio.c: Likewise.
14863
e6c61494
UD
148642011-04-10 Ulrich Drepper <drepper@gmail.com>
14865
14866 [BZ #12650]
14867 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14868 * sysdeps/ia64/dl-tls.h: Likewise.
14869 * sysdeps/powerpc/dl-tls.h: Likewise.
14870 * sysdeps/s390/dl-tls.h: Likewise.
14871 * sysdeps/sh/dl-tls.h: Likewise.
14872 * sysdeps/sparc/dl-tls.h: Likewise.
14873 * sysdeps/x86_64/dl-tls.h: Likewise.
14874 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14875
34fe483e
AS
148762011-03-14 Andreas Schwab <schwab@redhat.com>
14877
14878 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14879 rpath element also skip the following colon.
14880 (expand_dynamic_string_token): Add is_path parameter and pass
14881 down to DL_DST_REQUIRED and _dl_dst_substitute.
14882 (decompose_rpath): Call expand_dynamic_string_token with
14883 non-zero is_path. Ignore empty rpaths.
14884 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14885 with zero is_path.
14886
f12a32e6
AS
148872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14888
14889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14890 Make cancelable.
14891
38a7d692
UD
148922011-04-09 Ulrich Drepper <drepper@gmail.com>
14893
14894 [BZ #12655]
14895 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14896 Patch by Filipe David Manana <fdmanana@apache.org>.
14897
e451d22b
AS
148982011-04-07 Andreas Schwab <schwab@redhat.com>
14899
14900 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14901 Maintain aligned stack.
14902 (CHECK_RSP): Remove unused macro.
14903
dedc7c7b
UD
149042011-04-03 Ulrich Drepper <drepper@gmail.com>
14905
14906 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14907 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14908
94521213
UD
149092011-04-02 Ulrich Drepper <drepper@gmail.com>
14910
14911 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14912
8cb700c0 14913 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14914
0354e355
L
149152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14916
14917 [BZ #12518]
14918 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14919 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14920 * sysdeps/x86_64/memmove.c: New file.
14921 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14922 (memcpy): Renamed to ...
14923 (__new_memcpy): This.
14924 (memcpy): Provide GLIBC_2_14 memcpy.
14925 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14926 (memcpy): Provide GLIBC_2_2_5 memcpy.
14927
8593482f
UD
149282011-04-01 Ulrich Drepper <drepper@gmail.com>
14929
14930 [BZ #12631]
14931 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14932
81a5726b
AS
149332011-03-30 Andreas Schwab <schwab@redhat.com>
14934
14935 * misc/syncfs.c: New file.
14936 * misc/Makefile (routines): Add syncfs.
14937 * posix/unistd.h: Declare syncfs.
14938 * sysdeps/unix/syscalls.list: Add syncfs.
14939
00e5419f
AS
149402011-04-01 Andreas Schwab <schwab@redhat.com>
14941
14942 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14943 open_by_handle_at.
14944 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14945 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14947 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14949 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14950 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14951
748876bf
UD
149522011-04-01 Ulrich Drepper <drepper@gmail.com>
14953
658e451d
UD
14954 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14955 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14956 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14961
748876bf
UD
14962 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14963 sync_file_range.c with -fexceptions.
14964 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14965 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14966 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14967 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14968 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14969 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14970 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14971 sync_file_range as cancellation point
14972 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14973 now a wrapper around __call_sync_file_range with cancellation handling.
14974 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14975 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14976 function name to __call_sync_file_range.
14977 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14978 Add call_sync_file_range.
748876bf 14979
6e63d5e1
AS
149802011-04-01 Andreas Schwab <schwab@redhat.com>
14981
14982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14983 bits/timex.h.
6e63d5e1 14984
46998f74
UD
149852011-04-01 Ulrich Drepper <drepper@gmail.com>
14986
4c1423ed
UD
14987 * iconv/iconv.h: Fix typo in comment.
14988 * io/fcntl.h: Likewise.
14989 * libio/stdio.h: Likewise.
14990 * posix/spawn.h: Likewise.
14991 * posix/unistd.h: Likewise.
14992 * stdlib/stdlib.h: Likewise.
14993 * time/time.h: Likewise.
14994 * wcsmbs/wchar.h: Likewise.
14995
158648c0
UD
14996 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14997 open_by_handle): Add.
14998 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14999 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15000 Augment a few comments.
15001 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15003 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15005 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15006 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15007 open_by_handle.
15008
46998f74
UD
15009 * io/fcntl.h (AT_EMPTY_PATH): Define.
15010
83fe108b
UD
150112011-03-30 Ulrich Drepper <drepper@gmail.com>
15012
15013 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15014 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15015 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15016 to...
15017 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15018 * Versions.def: Add GLIBC_2.14.
15019 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15020 Export.
83fe108b 15021
bb242059
UD
150222011-03-22 Ulrich Drepper <drepper@gmail.com>
15023
15024 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15025 round counter.
15026 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15027
c97a1282
L
150282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15029
15030 [BZ #12597]
15031 * string/test-strncmp.c (do_page_test): New function.
15032 (check2): Likewise.
15033 (test_main): Call check2.
15034 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15035
2a115601
UD
150362011-03-20 Ulrich Drepper <drepper@gmail.com>
15037
15038 [BZ #12587]
15039 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15040 Handle cache information in CPU leaf 4.
15041 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15042
8126d904
UD
150432011-03-18 Ulrich Drepper <drepper@gmail.com>
15044
042c49c6 15045 [BZ #12583]
8126d904
UD
15046 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15047 character representation.
15048 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15049
ccfe366e
RA
150502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15051
15052 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15053 END(__isnan) to END(__isnanf) to match function entry point/label
15054 EALIGN(__isnanf,...).
15055
c6e13027
JJ
150562011-03-10 Jakub Jelinek <jakub@redhat.com>
15057
15058 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15059
33f85a3f
UD
150602011-03-10 Ulrich Drepper <drepper@gmail.com>
15061
028478fa
UD
15062 [BZ #12510]
15063 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15064 copy from the symbol referenced in the relocation to initialize the
15065 used variable.
15066 Patch by Piotr Bury <pbury@goahead.com>.
15067 * elf/Makefile: Add rules to build and tst-unique3.
15068 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15069 * elf/tst-unique3.cc: New file.
15070 * elf/tst-unique3.h: New file.
15071 * elf/tst-unique3lib.cc: New file.
15072 * elf/tst-unique3lib2.cc: New file.
15073
33f85a3f
UD
15074 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15075
03592fc7
MF
150762011-03-10 Mike Frysinger <vapier@gentoo.org>
15077
15078 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15079 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15080 to _start.
03592fc7 15081
6a5ee102
UD
150822011-03-06 Ulrich Drepper <drepper@gmail.com>
15083
15084 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15085 to-be-loaded object along a path to loader is ld.so.
15086
7e4ba49c
HJ
150872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15088 Ulrich Drepper <drepper@gmail.com>
15089
15090 * sysdeps/x86_64/memset.S: After aligning destination, code
15091 branches to different locations depending on the value of
15092 misalignment, when multiarch is enabled. Fix this.
15093
150942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15095
15096 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15097 Set _x86_64_preferred_memory_instruction for AMD processsors.
15098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15099 Set bit_Prefer_SSE_for_memop for AMD processors.
15100
13a804de
UD
151012011-03-04 Ulrich Drepper <drepper@gmail.com>
15102
15103 * libio/fmemopen.c (fmemopen): Optimize a bit.
15104
9d25c392
AS
151052011-03-03 Andreas Schwab <schwab@redhat.com>
15106
15107 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15108
a5543c6a
RM
151092011-03-03 Roland McGrath <roland@redhat.com>
15110
15111 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15112
012d35f7
DM
151132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15114
7e4ba49c 15115 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15116 __bzero_ultra1 instead of __memset_ultra1.
15117
4bff6e01
AS
151182011-02-23 Andreas Schwab <schwab@redhat.com>
15119 Ulrich Drepper <drepper@gmail.com>
15120
15121 [BZ #12509]
15122 * include/link.h (struct link_map): Add l_orig_initfini.
15123 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15124 returning unsuccessfully.
15125 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15126 close of a file loaded at startup, restore the original l_initfini
15127 list.
15128 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15129 list, store the pointer.
15130 * elf/Makefile ($(objpfx)noload-mem): New rule.
15131 (noload-ENV): Define.
15132 (tests): Add $(objpfx)noload-mem.
15133 * elf/noload.c: Include <memcheck.h>.
15134 (main): Call mtrace. Close all opened handles.
15135
f2092faf
AS
151362011-02-17 Andreas Schwab <schwab@redhat.com>
15137
15138 [BZ #12454]
15139 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15140 dependencies are missing.
15141
6c8a2e88
ST
151422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15143
f2092faf 15144 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15145 Hurd needs munmap.
15146 * sysdeps/mach/hurd/ifreq.h: New file.
15147
84a42118
PB
151482011-01-27 Petr Baudis <pasky@suse.cz>
15149 Ulrich Drepper <drepper@gmail.com>
15150
071f805e 15151 [BZ 12445]#
84a42118
PB
15152 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15153 to extend_alloca().
15154 * stdio-common/bug23.c: New file.
15155 * stdio-common/Makefile (tests): Add bug23.
15156
e23fe25b
AS
151572010-09-28 Andreas Schwab <schwab@redhat.com>
15158 Ulrich Drepper <drepper@gmail.com>
15159
15160 [BZ #12489]
15161 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15162 before performing relro protection. At old place add assertion
15163 to make sure nothing changed.
15164
d3f02e10
NS
151652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15166 Glauber de Oliveira Costa <glommer@gmail.com>
15167
15168 * elf/elf.h: Add new ARM TLS relocs.
15169
d55fd7a5
RA
151702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15171
15172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15173 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15174 cast from r3.
15175 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15176 'tests' variable.
15177 * sysdeps/wordsize-64/tst-writev.c: New file.
15178
2206397e
RA
151792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15180
15181 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15182 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15183 insns in _dl_start to prevent a TOC reference before relocs are
15184 resolved.
15185
e9433893
UD
151862011-02-15 Ulrich Drepper <drepper@gmail.com>
15187
15188 [BZ #12469]
15189 * Makeconfig: Remove RANLIB definition.
15190 * Makerules: Don't use RANLIB.
15191 * aclocal.m4: Remove ranlib test.
15192 * configure.in: No need to check for ranlib.
15193 * elf/rtld-Rules: Don't use RANLIB.
15194
f75286c6
ST
151952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15196
8e31c82d
ST
15197 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15198 protection macro.
15199 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15200 inclusion protection macro.
15201
f75286c6
ST
15202 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15203 SIGRTMIN and SIGRTMAX and print information in that case only when
15204 SIGRTMIN is defined.
15205
c1d0e639
JJ
152062011-02-11 Jakub Jelinek <jakub@redhat.com>
15207
15208 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15209 arginfo fn returning -1.
15210
15211 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15212 and thousands string is zero terminated.
15213
edf9294e
AS
152142011-02-03 Andreas Schwab <schwab@redhat.com>
15215
15216 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15217 sysdeps/unix/sysv/linux/bits/socket.h.
15218
2b7e92df
ST
152192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15220
edf9294e
AS
15221 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15222 (__CPU_COUNT): Remove old macros.
15223 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15224 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15225 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15226 (__sched_cpualloc, __sched_cpufree): Add declarations.
15227
a4c7ea7b
UD
152282011-02-05 Ulrich Drepper <drepper@gmail.com>
15229
15230 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15231 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15232 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15233 (readdhstai): Return value of addhstaiX call.
15234 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15235 (addgrbyX): Return value returned by cache_addgr.
15236 (readdgrbyname): Return value returned by addgrbyX.
15237 (readdgrbygid): Likewise.
15238 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15239 (addpwbyX): Return value returned by cache_addpw.
15240 (readdpwbyname): Return value returned by addhstbyX.
15241 (readdpwbyuid): Likewise.
15242 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15243 (addservbyX): Return value returned by cache_addserv.
15244 (readdservbyname): Return value returned by addservbyX:
15245 (readdservbyport): Likewise.
15246 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15247 (addhstbyX): Return value returned by cache_addhst.
15248 (readdhstbyname): Return value returned by addhstbyX.
15249 (readdhstbyaddr): Likewise.
15250 (readdhstbynamev6): Likewise.
15251 (readdhstbyaddrv6): Likewise.
15252 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15253 (readdinitgroups): Return value returned by addinitgroupsX.
15254 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15255 (prune_cache): Keep track of timeout value of re-added entries.
15256 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15257 * nscd/nscd.h: Adjust prototypes of readd* functions.
15258
a0bf67cc
RM
152592011-02-04 Roland McGrath <roland@redhat.com>
15260
15261 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15262 (nis_stats): Likewise.
15263 * nis/nis_modify.c (nis_modify): Likewise.
15264 * nis/nis_remove.c (nis_remove): Likewise.
15265 * nis/nis_add.c (nis_add): Likewise.
15266
15267 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15268
15269 * posix/fnmatch_loop.c: Add some consts.
15270
15271 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15272
435b95eb
L
152732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15274
15275 [BZ #12460]
15276 * config.make.in (config-cflags-novzeroupper): Define.
15277 * configure.in: Substitute libc_cv_cc_novzeroupper.
15278 * elf/Makefile (AVX-CFLAGS): Define.
15279 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15280 (CFLAGS-tst-auditmod4a.c): Likewise.
15281 (CFLAGS-tst-auditmod4b.c): Likewise.
15282 (CFLAGS-tst-auditmod6b.c): Likewise.
15283 (CFLAGS-tst-auditmod6c.c): Likewise.
15284 (CFLAGS-tst-auditmod7b.c): Likewise.
15285 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15286
8517b15e
UD
152872011-02-02 Ulrich Drepper <drepper@gmail.com>
15288
15289 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15290 function to the callback.
15291 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15292
10a656fe
AS
152932011-02-02 Andreas Schwab <schwab@redhat.com>
15294
15295 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15296 of errno.
15297
968dad0a
UD
152982011-01-19 Ulrich Drepper <drepper@gmail.com>
15299
9f94d2ea 15300 [BZ #11724]
968dad0a
UD
15301 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15302 of constructors.
15303 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15304 of destructors.
15305 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15306
15307 [BZ #11724]
15308 * elf/Makefile: Add rules to build and run new test.
15309 * elf/tst-initorder.c: New file.
15310 * elf/tst-initorder.exp: New file.
15311 * elf/tst-initordera1.c: New file.
15312 * elf/tst-initordera2.c: New file.
15313 * elf/tst-initordera3.c: New file.
15314 * elf/tst-initordera4.c: New file.
15315 * elf/tst-initorderb1.c: New file.
15316 * elf/tst-initorderb2.c: New file.
15317 * elf/tst-order-a1.c: New file.
15318 * elf/tst-order-a2.c: New file.
15319 * elf/tst-order-a3.c: New file.
15320 * elf/tst-order-a4.c: New file.
15321 * elf/tst-order-b1.c: New file.
15322 * elf/tst-order-b2.c: New file.
15323 * elf/tst-order-main.c: New file.
15324 New test case by George Gensure <werkt0@gmail.com>.
15325
86e92359
UD
153262010-10-01 Andreas Schwab <schwab@redhat.com>
15327
15328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15329 decoding ACE if AI_CANONIDN.
15330
5d5732b0
UD
153312011-01-18 Ulrich Drepper <drepper@gmail.com>
15332
15333 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15334
a77e8cbc
UD
153352011-01-17 Ulrich Drepper <drepper@gmail.com>
15336
6392473f
UD
15337 * version.h (RELEASE): Bump for 2.13 release.
15338 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15339
620a0529
UD
15340 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15341
18ba70a5
UD
15342 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15343 MADV_NOHUGEPAGE.
32465c3e
UD
15344 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15345 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15346 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15347 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15348 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15349 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15350
c0dafcf1
UD
15351 * posix/getconf.c: Update copyright year.
15352 * catgets/gencat.c: Likewise.
15353 * csu/version.c: Likewise.
15354 * debug/catchsegv.sh: Likewise.
15355 * debug/xtrace.sh: Likewise.
15356 * elf/ldconfig.c: Likewise.
15357 * elf/ldd.bash.in: Likewise.
15358 * elf/sprof.c (print_version): Likewise.
15359 * iconv/iconv_prog.c: Likewise.
15360 * iconv/iconvconfig.c: Likewise.
15361 * locale/programs/locale.c: Likewise.
15362 * locale/programs/localedef.c: Likewise.
15363 * malloc/memusage.sh: Likewise.
15364 * malloc/mtrace.pl: Likewise.
15365 * nscd/nscd.c (print_version): Likewise.
15366 * nss/getent.c: Likewise.
15367
a77e8cbc
UD
15368 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15369 PF_CAIF, and PF_ALG.
15370 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15371
77e8bddf
AS
153722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15373
1f20b93a
AS
15374 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15375 (modules-names): Use them.
15376 (ifunc-test-modules, ifunc-pie-tests): Define.
15377 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15378 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15379 (test-extras): Likewise.
15380 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15381 $(compile-command.c).
15382 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15383 (all-built-dso): Define.
15384 (check-textrel.out, check-execstack.out): Depend on it.
15385
77e8bddf
AS
15386 * configure.in: Don't override --enable-multi-arch.
15387
bc425b33
UD
153882011-01-15 Ulrich Drepper <drepper@gmail.com>
15389
15390 [BZ #6812]
15391 * nscd/hstcache.c (tryagain): Define.
15392 (cache_addhst): Return tryagain not notfound for temporary errors.
15393 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15394 failed.
15395
794c3ad3
UD
153962011-01-14 Ulrich Drepper <drepper@gmail.com>
15397
70181fdd
UD
15398 [BZ #10563]
15399 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15400 to make the syscall.
15401 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15402
794c3ad3
UD
15403 [BZ #12378]
15404 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15405 and fall back to matching as normal character if the string ends before
15406 the matching ']' is found. This is what POSIX requires.
15407 * posix/testfnm.c: Adjust test result.
15408 * posix/globtest.sh: Adjust test result. Add new test.
15409 * posix/tst-fnmatch.input: Likewise.
15410 * posix/tst-fnmatch2.c: Add new test.
15411
68dc9497
AS
154122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15413
15414 * elf/Makefile (check-execstack): Revert last change. Depend on
15415 check-execstack.h.
15416 (check-execstack.h): New target.
15417 (generated): Add check-execstack.h.
15418 * elf/check-execstack.c: Include "check-execstack.h".
15419 (main): Revert last change.
15420 (handle_file): Return zero if GNU_STACK is absent and
15421 DEFAULT_STACK_PERMS doesn't include PF_X.
15422
451f001b
UD
154232011-01-13 Ulrich Drepper <drepper@gmail.com>
15424
cfa28e56
UD
15425 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15426 in child fails because the descriptor is already closed.
8cf8ce17
UD
15427 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15428 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15429 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15430
1086d70d
UD
15431 [BZ #12397]
15432 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15433 syscall.
15434
451f001b
UD
15435 [BZ #10484]
15436 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15437 temporary buffer used to handle multi lookups locally.
a85b5cb4 15438 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15439
08769175
UD
154402011-01-12 Ulrich Drepper <drepper@gmail.com>
15441
15442 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15443 loader is ld.so.
15444
5e49c52e
UD
154452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15446
15447 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15448 alignment for SSE2.
15449
60522a5f
UD
154502011-01-12 Ulrich Drepper <drepper@gmail.com>
15451
15452 [BZ #12394]
15453 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15454 characters. When rounding increased number of integer digits recompute
15455 number of groups.
15456 * stdio-common/tst-grouping.c: New file.
15457 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15458
f257bbd7
UD
154592011-01-09 Ulrich Drepper <drepper@gmail.com>
15460
15461 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15462 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15463
15464 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15465 void.
15466 * bits/select.h: Likewise.
15467
fa9c15cb
UD
154682011-01-08 Ulrich Drepper <drepper@gmail.com>
15469
15470 * po/ja.po: Update from translation team.
15471
16c2895f
DM
154722011-01-04 David S. Miller <davem@sunset.davemloft.net>
15473
15474 [BZ #11155]
15475 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15476 implementation just like for lxstat, fxstatat, et al.
15477
2543fef2
JM
154782010-12-27 Jim Meyering <meyering@redhat.com>
15479
15480 [BZ #12348]
15481 * posix/regexec.c (build_trtable): Return failure indication upon
15482 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15483
98727dbe
UD
154842010-12-25 Ulrich Drepper <drepper@gmail.com>
15485
5bd6dc5c
UD
15486 [BZ #12201]
15487 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15488 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15489 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15490 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15491
97983464
UD
15492 [BZ #12207]
15493 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15494
98727dbe
UD
15495 [BZ #12204]
15496 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15497 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15498
4a531bb0
L
154992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15500
15501 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15502 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15503 script has SORT_BY_INIT_PRIORITY.
15504 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15505 NO_CTORS_DTORS_SECTIONS is defined.
15506 * elf/soinit.c: Likewise.
15507 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15508 NO_CTORS_DTORS_SECTIONS is defined.
15509 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15510 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15511 * sysdeps/sh/init-first.c: Likewise.
15512 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15513
07eb4b71
UD
155142010-12-24 Ulrich Drepper <drepper@gmail.com>
15515
15516 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15517 always use the slow path.
15518
30950a5f
RA
155192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15520
15521 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15522 similar rule which adds the sysdep directories to the header search in
15523 order to pick up the correct platform stackinfo.h.
15524 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15525 perform test if it is, otherwise return successfully without testing.
15526 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15527 DEFAULT_STACK_PERMS define in stackinfo.h.
15528 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15529 defined in stackinfo.h.
15530 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15531 DEFAULT_STACK_PERMS defined in stackinfo.h.
15532 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15533 * sysdeps/ia64/stackinfo.h: Likewise.
15534 * sysdeps/s390/stackinfo.h: Likewise.
15535 * sysdeps/sh/stackinfo.h: Likewise.
15536 * sysdeps/sparc/stackinfo.h: Likewise.
15537 * sysdeps/x86_64/stackinfo.h: Likewise.
15538 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15539 PF_X for powerpc64. Retain PF_X for powerpc32.
15540
db753e2c
UD
155412010-12-19 Ulrich Drepper <drepper@gmail.com>
15542
14b697f7
UD
15543 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15544 accurately.
db753e2c
UD
15545 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15546 GETDENTS_64BIT_ALIGNED.
15547
28300719
UD
155482010-12-14 Ulrich Drepper <dreper@gmail.com>
15549
14b697f7 15550 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15551
4f197237
AS
155522010-12-10 Andreas Schwab <schwab@redhat.com>
15553
dbb0472f
AS
15554 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15555 _GNU_SOURCE.
15556
4f197237
AS
15557 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15558 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15559 Remove __restrict.
15560 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15561 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15562
fb88ac72
UD
155632010-12-09 Ulrich Drepper <drepper@gmail.com>
15564
15565 [BZ #11655]
15566 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15567 are initialized.
15568
42acbb92
JJ
155692010-12-09 Jakub Jelinek <jakub@redhat.com>
15570
15571 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15572
c038d98d
UD
155732010-12-03 Ulrich Drepper <drepper@gmail.com>
15574
15575 * po/it.po: Update from translation team.
15576
3a4a2499
L
155772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15578
15579 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15580 unused codes.
15581
1e24cf6e
UD
155822010-11-30 Ulrich Drepper <drepper@gmail.com>
15583
15584 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15585
a7690819
AS
155862010-11-24 Andreas Schwab <schwab@redhat.com>
15587
15588 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15589 specially.
15590 (gaih_getanswer_slice): Likewise.
15591
3bf8d1b1
JJ
155922010-10-20 Jakub Jelinek <jakub@redhat.com>
15593
15594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15595
6db52fbb
PB
155962010-05-31 Petr Baudis <pasky@suse.cz>
15597
15598 [BZ #11149]
15599 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15600 silently even in the chroot mode.
15601
eaca7569
UD
156022010-11-22 Ulrich Drepper <drepper@gmail.com>
15603
15604 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15605 last patch a bit. Pretty printing
15606
3056dcdb
UD
156072010-05-31 Petr Baudis <pasky@suse.cz>
15608
15609 [BZ #10085]
15610 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15611 initialization of skip_initgroups_dyn.
15612
cf7c9078
UD
156132010-11-19 Ulrich Drepper <drepper@gmail.com>
15614
15615 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15616 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15617
a1fb5e3e
UD
156182010-11-16 Ulrich Drepper <drepper@gmail.com>
15619
15620 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15621
3540d66b
AS
156222010-11-11 Andreas Schwab <schwab@redhat.com>
15623
15624 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15625 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15626 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15627 ($(objpfx)tst-fnmatch-mem): New rule.
15628 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15629 * posix/tst-fnmatch.c (main): Call mtrace.
15630
13b69574
L
156312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15632
15633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15634 Support Intel processor model 6 and model 0x2c.
15635
da93d214
LM
156362010-11-10 Luis Machado <luisgpm@br.ibm.com>
15637
15638 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15639 signed comparison.
15640
8ca52c6e
L
156412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15642
15643 [BZ #12205]
15644 * string/test-strncasecmp.c (check_result): New function.
15645 (do_one_test): Use it.
15646 (check1): New function.
15647 (test_main): Use it.
15648 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15649 Support strcasecmp and strncasecmp.
15650
69da074d
UD
156512010-11-08 Ulrich Drepper <drepper@gmail.com>
15652
15653 [BZ #12194]
15654 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15655 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15656
ff02d528
L
156572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15658
15659 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15660 IFUNC support.
15661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15662 memset-x86-64.
15663 * sysdeps/x86_64/multiarch/bzero.S: New file.
15664 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15665 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15666 * sysdeps/x86_64/multiarch/memset.S: New file.
15667 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15669 Set bit_Prefer_SSE_for_memop for Intel processors.
15670 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15671 Define.
15672 (index_Prefer_SSE_for_memop): Define.
15673 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15674
344d0b54
LM
156752010-11-04 Luis Machado <luisgpm@br.ibm.com>
15676
15677 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15678 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15679
c0dde15b
UD
156802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15681
15682 [BZ #12191]
15683 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15684 (__x86_64_raw_data_cache_size_half): Likewise.
15685 (__x86_64_raw_shared_cache_size): Likewise.
15686 (__x86_64_raw_shared_cache_size_half): Likewise.
15687
15688 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15689 (__x86_64_raw_data_cache_size_half): Likewise.
15690 (__x86_64_raw_shared_cache_size): Likewise.
15691 (__x86_64_raw_shared_cache_size_half): Likewise.
15692 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15693 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15694 and __x86_64_raw_shared_cache_size_half. Round
15695 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15696 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15697 to multiple of 256 bytes.
15698
0e516e0e
MS
156992010-11-03 Ulrich Drepper <drepper@gmail.com>
15700
15701 [BZ #12167]
15702 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15703 of inacessible symlinks. Verify result of symlink before returning it.
15704 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15705 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15706
0e012e87
ER
157072010-10-28 Erich Ritz <erichritz@gmail.com>
15708
15709 * math/math.h (isinf): Fix typo in comment.
15710
de0ff7bc
UD
157112010-11-01 Ulrich Drepper <drepper@gmail.com>
15712
15713 * po/da.po: Update from translation team.
15714
fa41c84d
UD
157152010-10-26 Ulrich Drepper <drepper@gmail.com>
15716
15717 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15718 is added to the list.
15719
f0967738
AK
157202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15721 Ulrich Drepper <drepper@gmail.com>
15722
15723 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15724 the global list here. Move code to...
15725 (_dl_add_to_namespace_list): ...here. New function.
15726 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15727 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15728 * elf/dl-load.c (lose): Don't remove the element from the list.
15729 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15730 (_dl_map_object): Likewise.
15731
157322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15733
15734 [BZ #12159]
15735 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15736 into all bytes of SSE register.
15737 Patch by Richard Li <richardpku@gmail.com>.
15738
f0967738 157392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15740
15741 [BZ #12140]
15742 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15743 perturbing.
15744
d0b9e94f
MB
157452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15746
15747 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15748 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15749 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15750 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15752 submachine.
15753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15754
8e9f92e9
AS
157552010-10-22 Andreas Schwab <schwab@redhat.com>
15756
15757 * include/dlfcn.h (__RTLD_SECURE): Define.
15758 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15759 mode & __RTLD_SECURE instead.
15760 (open_path): Rename preloaded parameter to secure.
15761 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15762 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15763 * elf/dl-deps.c (openaux): Likewise.
15764 * elf/rtld.c (struct map_args): Remove is_preloaded.
15765 (map_doit): Don't use it.
15766 (dl_main): Likewise.
15767 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15768 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15769
bc96fbda
AS
157702010-09-09 Andreas Schwab <schwab@redhat.com>
15771
15772 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15773 (sysd-rules-targets): Remove duplicates.
15774 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15775 rtld-%.$o dependency.
15776
22cd1c9b
AS
157772010-10-18 Andreas Schwab <schwab@redhat.com>
15778
15779 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15780 _dl_map_object do it.
15781
18edac48
UD
157822010-10-19 Ulrich Drepper <drepper@gmail.com>
15783
15784 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15785 fast fma builtins, define the macros in the C99 standard.
15786 (FP_FAST_FMAF): Likewise.
15787 (FP_FAST_FMAL): Likewise.
15788 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15789
15790 * bits/mathdef.h: Update copyright year.
15791 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15792
d2050124
MM
157932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15794
15795 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15796 builtins, define the macros in the C99 standard.
15797 (FP_FAST_FMAF): Likewise.
15798 (FP_FAST_FMAL): Likewise.
15799 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15800 multiply/add.
15801 (FP_FAST_FMAF): Likewise.
15802
475facd1
JJ
158032010-10-15 Jakub Jelinek <jakub@redhat.com>
15804
15805 [BZ #3268]
15806 * math/libm-test.inc (fma_test): Some new testcases.
15807 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15808 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15809 y and infinite z. Do multiplication by C already in long double.
15810 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15812 y and infinite z. Do bitwise or of inexact bit into u.d.
15813 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15814 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15815 * sysdeps/i386/fpu/s_fma.S: Removed.
15816 * sysdeps/i386/fpu/s_fmal.S: Removed.
15817
7c08a05c
JJ
158182010-10-16 Jakub Jelinek <jakub@redhat.com>
15819
15820 [BZ #3268]
15821 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15823 computation is not scheduled after fetestexcept. Fix value
15824 of minimum denormal long double.
15825
f3f7372d
JJ
158262010-10-14 Jakub Jelinek <jakub@redhat.com>
15827
15828 [BZ #3268]
15829 * math/libm-test.inc (fma_test): Add some more tests.
15830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15831 correctly.
15832
14d43591
AS
158332010-10-15 Andreas Schwab <schwab@redhat.com>
15834
15835 * scripts/data/localplt-s390-linux-gnu.data: New file.
15836 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15837
5e908464
JJ
158382010-10-13 Jakub Jelinek <jakub@redhat.com>
15839
15840 [BZ #3268]
15841 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15842 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15843 instead of dbl-64.
15844 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15845 inlines.
15846 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15847 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15848 if one of x and y is very large and the other is subnormal.
15849 * sysdeps/s390/fpu/s_fmaf.c: New file.
15850 * sysdeps/s390/fpu/s_fma.c: New file.
15851 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15852 * sysdeps/powerpc/fpu/s_fma.S: New file.
15853 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15854 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15855 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15856
158572010-10-12 Jakub Jelinek <jakub@redhat.com>
15858
15859 [BZ #3268]
15860 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15861 fma tests.
15862 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15863 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15864 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15865 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15866 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15867 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15868 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15869
b833d51f
UD
158702010-10-12 Ulrich Drepper <drepper@redhat.com>
15871
15872 [BZ #12078]
15873 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15874 * posix/bug-regex31.input: Add test case.
15875
1751705d
UD
158762010-10-11 Ulrich Drepper <drepper@gmail.com>
15877
e9b9cbf5
UD
15878 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15879 * posix/bug-regex31.input: New file.
15880
15881 [BZ #12078]
15882 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15883 (parse_sub_exp): Fix last change, use postorder.
15884
ef06edbe
UD
15885 * posix/bug-regex31.c: New file.
15886 * posix/Makefile: Add rules to build and run bug-regex31.
15887
a129c80d
UD
15888 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15889
15890 [BZ #12078]
15891 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15892
b76b818e
UD
15893 [BZ #12108]
15894 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15895 to have entries in sys_siglist.
15896
1751705d
UD
15897 [BZ #12093]
15898 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15899 be NULL.
15900
9ff8d36f
JJ
159012010-10-07 Jakub Jelinek <jakub@redhat.com>
15902
15903 [BZ #3268]
15904 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15905 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15906 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15907 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15908 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15909 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15910 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15911 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15912 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15913 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15914 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15915 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15916 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15917 * math/ftestexcept.c (fetestexcept): Likewise.
15918 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15919 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15920 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15921 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15922 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15923 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15924 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15925
af325969
UD
159262010-10-11 Ulrich Drepper <drepper@gmail.com>
15927
c579b202 15928 [BZ #12107]
af325969
UD
15929 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15930 newline.
15931
67a67b95
UD
159322010-10-06 Ulrich Drepper <drepper@gmail.com>
15933
15934 * string/bug-strstr1.c: New file.
15935 * string/Makefile: Add rules to build and run bug-strstr1.
15936
5fb308bc
EB
159372010-10-05 Eric Blake <eblake@redhat.com>
15938
15939 [BZ #12092]
15940 * string/str-two-way.h (two_way_long_needle): Always clear memory
15941 when skipping input due to the shift table.
15942
45db99c7
UD
159432010-10-03 Ulrich Drepper <drepper@gmail.com>
15944
3b111893
UD
15945 [BZ #12005]
15946 * malloc/mcheck.c: Handle large requests.
15947
45db99c7
UD
15948 [BZ #12077]
15949 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15950 for strncmp and strncasecmp.
15951 * string/stratcliff.c: Add tests for strcmp and strncmp.
15952 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15953
cf7a1eb8
NI
159542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15955
15956 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15957 __set_fpscr.
15958
6484ba5e
AJ
159592010-09-30 Andreas Jaeger <aj@suse.de>
15960
15961 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15962 (CGROUP_SUPER_MAGIC): Define.
15963 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15964 Handle btrfs and cgroup file systems.
15965 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15966 Likewise.
15967
91c42559
LM
159682010-09-27 Luis Machado <luisgpm@br.ibm.com>
15969
15970 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15971 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15972
87a97932
AK
159732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15974
15975 [BZ #12067]
15976 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15977 trying to locate the ELF header.
15978
c21cc9bc
AS
159792010-09-27 Andreas Schwab <schwab@redhat.com>
15980
15981 [BZ #11611]
15982 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15983 Mask out sign-bit copies when constructing f_fsid.
15984
315970f6
PB
159852010-09-24 Petr Baudis <pasky@suse.cz>
15986
15987 * debug/stack_chk_fail_local.c: Add missing licence exception.
15988 * debug/warning-nop.c: Likewise.
15989
1ac7a2c7
JM
159902010-09-15 Joseph Myers <joseph@codesourcery.com>
15991
15992 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15993 implementing getdents64 using getdents syscall, set d_type if
15994 __ASSUME_GETDENTS32_D_TYPE.
15995
56801c50
AS
159962010-09-16 Andreas Schwab <schwab@redhat.com>
15997
15998 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15999 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16000
dda51327
UD
160012010-09-21 Ulrich Drepper <drepper@redhat.com>
16002
16003 [BZ #12037]
16004 * posix/unistd.h: Undo change of feature selection for ftruncate from
16005 2010-01-11.
16006
8ffcee4a
UD
160072010-09-20 Ulrich Drepper <drepper@redhat.com>
16008
a545ecd9 16009 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16010 detection.
16011
e24f0a8b
AS
160122010-09-20 Andreas Schwab <schwab@redhat.com>
16013
16014 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16015 fanotify_mark.
16016 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16017
7291c56f
AS
160182010-09-14 Andreas Schwab <schwab@redhat.com>
16019
16020 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16021 variables after CHECK_SP call.
16022 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16023
bc5fb037
AS
160242010-09-13 Andreas Schwab <schwab@redhat.com>
16025 Ulrich Drepper <drepper@redhat.com>
16026
16027 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16028 re-relocationg ld.so.
16029 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16030 _dl_init_paths call.
16031 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16032 here anymore.
16033
e66e7419
UD
160342010-09-14 Ulrich Drepper <drepper@redhat.com>
16035
16036 * resolv/res_init.c (__res_vinit): Count the default server we added.
16037
c044aa75
CLT
160382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16039 Ulrich Drepper <drepper@redhat.com>
16040
16041 [BZ #11968]
16042 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16043 (____longjmp_chk): Use %ebx for saving value across system call.
16044 Add unwind info.
16045
32cf4069
AS
160462010-09-06 Andreas Schwab <schwab@redhat.com>
16047
16048 * manual/Makefile: Don't mix pattern rules with normal rules.
16049
817328ee
AS
160502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16051
16052 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16053 operation.
16054 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16055 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16056 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16057 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16059 Likewise.
16060
29fddf61
UD
160612010-09-04 Ulrich Drepper <drepper@redhat.com>
16062
16063 [BZ #11979]
16064 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16065 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16066
0959ffc9
UD
160672010-09-02 Ulrich Drepper <drepper@redhat.com>
16068
16069 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16070 * sysdeps/x86_64/addmul_1.S: Likewise.
16071 * sysdeps/x86_64/lshift.S: Likewise.
16072 * sysdeps/x86_64/mul_1.S: Likewise.
16073 * sysdeps/x86_64/rshift.S: Likewise.
16074 * sysdeps/x86_64/sub_n.S: Likewise.
16075 * sysdeps/x86_64/submul_1.S: Likewise.
16076
ece29840
ST
160772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16078
0959ffc9
UD
16079 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16080 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16081 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16082 * bits/sched.h [__need_schedparam]
ece29840 16083 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16084 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16085 (__defined_schedparam): Define to 1.
ece29840
ST
16086 (__sched_param): New structure, identical to sched_param.
16087 (__need_schedparam): Undefine.
16088
e53a31fe
MF
160892010-08-31 Mike Frysinger <vapier@gentoo.org>
16090
fdc0c10d
MF
16091 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16092 (epoll_create1): Declare.
16093
e53a31fe
MF
16094 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16095
a726d796
AS
160962010-08-31 Andreas Schwab <schwab@redhat.com>
16097
16098 [BZ #7066]
16099 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16100 shifting retval into place.
16101
2f3e3dc7
UD
161022010-09-01 Ulrich Drepper <drepper@redhat.com>
16103
f2933da9
UD
16104 * nis/rpcsvc/nis.h: Update copyright notice.
16105 * nis/rpcsvc/nis.x: Likewise.
16106 * nis/rpcsvc/nis_callback.h: Likewise.
16107 * nis/rpcsvc/nis_callback.x: Likewise.
16108 * nis/rpcsvc/nis_object.x: Likewise.
16109 * nis/rpcsvc/nis_tags.h: Likewise.
16110 * nis/rpcsvc/yp.h: Likewise.
16111 * nis/rpcsvc/yp.x: Likewise.
16112 * nis/rpcsvc/ypupd.h: Likewise.
16113 * nis/yp_xdr.c: Likewise.
16114 * nis/ypupdate_xdr.c: Likewise.
16115
2f3e3dc7
UD
16116 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16117 mainly the body of pmap_getport. Add parameters to specify timeouts.
16118 (pmap_getport): Use __libc_rpc_getport.
16119 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16120 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16121 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16122
f3dcc2f9
AS
161232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16124
16125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16126 fanotify_mark.
16127
6d34eb5b
RM
161282010-08-27 Roland McGrath <roland@redhat.com>
16129
16130 * sysdeps/i386/i686/multiarch/Makefile
16131 (CFLAGS-varshift.c): New variable.
16132
9ea3de11
UD
161332010-08-27 Ulrich Drepper <drepper@redhat.com>
16134
c96d23fc
UD
16135 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16136 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16137
9ea3de11
UD
16138 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16139
16140 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16141
623aac7f
L
161422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16143
16144 * sysdeps/x86_64/strlen.S: Unroll the loop.
16145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16146 strlen-sse2 strlen-sse2-bsf.
16147 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16148 __strlen_no_bsf if bit_Slow_BSF is set.
16149 (__strlen_sse42): Removed.
16150 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16151 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16152
8b2b7715
RM
161532010-08-25 Roland McGrath <roland@redhat.com>
16154
16155 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16156 * sysdeps/x86_64/multiarch/varshift.c: New file.
16157 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16158 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16159 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16160 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16161
e73015f2
L
161622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16163
16164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16165 strlen-sse2 strlen-sse2-bsf.
16166 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16167 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16168 (__strlen_sse2): Removed.
16169 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16170 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16172 bit_Slow_BSF for Atom.
16173 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16174 (index_Slow_BSF): Define.
16175 (HAS_SLOW_BSF): Define.
16176
df24a73e
UD
161772010-08-25 Ulrich Drepper <drepper@redhat.com>
16178
16179 [BZ #10851]
16180 * resolv/res_init.c (__res_vinit): When no server address at all
16181 is given default to loopback.
16182
f2ac4868
RM
161832010-08-24 Roland McGrath <roland@redhat.com>
16184
09055553
RM
16185 * configure.in: Remove config-name.h generation.
16186 * configure: Regenerated.
16187 * config-name.in: File removed.
16188 * scripts/config-uname.sh: New file.
16189 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16190 ($(objdir)config-name.h): New target.
16191
f2ac4868
RM
16192 * sunrpc/rpc_parse.h: Avoid nested comment.
16193
73f27d5e
RH
161942010-08-24 Richard Henderson <rth@redhat.com>
16195 Ulrich Drepper <drepper@redhat.com>
16196 H.J. Lu <hongjiu.lu@intel.com>
16197
16198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16200 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16201 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16202 _mm_alignr_epi8 with _mm_loadu_si128.
16203 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16204 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16205 (__m128i_shift_right): Removed.
16206 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16207 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16208 * sysdeps/x86_64/multiarch/varshift.h: New file.
16209 * sysdeps/x86_64/multiarch/varshift.S: New file.
16210
84b9230c
MF
162112010-08-21 Mike Frysinger <vapier@gentoo.org>
16212
16213 * configure.in: Move assembler checks to before sysdep dir checking.
16214
9bbd0ddc
PB
162152010-08-20 Petr Baudis <pasky@suse.cz>
16216
16217 * LICENSES: Sync the sunrpc license.
16218
9da4bb31
UD
162192010-08-19 Ulrich Drepper <drepper@redhat.com>
16220
a7ab6ec8
UD
16221 * sunrpc/auth_des.c: Update copyright notice once again.
16222 * sunrpc/auth_none.c: Likewise.
16223 * sunrpc/auth_unix.c: Likewise.
16224 * sunrpc/authdes_prot.c: Likewise.
16225 * sunrpc/authuxprot.c: Likewise.
16226 * sunrpc/bindrsvprt.c: Likewise.
16227 * sunrpc/clnt_gen.c: Likewise.
16228 * sunrpc/clnt_perr.c: Likewise.
16229 * sunrpc/clnt_raw.c: Likewise.
16230 * sunrpc/clnt_simp.c: Likewise.
16231 * sunrpc/clnt_tcp.c: Likewise.
16232 * sunrpc/clnt_udp.c: Likewise.
16233 * sunrpc/clnt_unix.c: Likewise.
16234 * sunrpc/des_crypt.c: Likewise.
16235 * sunrpc/des_soft.c: Likewise.
16236 * sunrpc/get_myaddr.c: Likewise.
16237 * sunrpc/getrpcport.c: Likewise.
16238 * sunrpc/key_call.c: Likewise.
16239 * sunrpc/key_prot.c: Likewise.
16240 * sunrpc/openchild.c: Likewise.
16241 * sunrpc/pm_getmaps.c: Likewise.
16242 * sunrpc/pm_getport.c: Likewise.
16243 * sunrpc/pmap_clnt.c: Likewise.
16244 * sunrpc/pmap_prot.c: Likewise.
16245 * sunrpc/pmap_prot2.c: Likewise.
16246 * sunrpc/pmap_rmt.c: Likewise.
16247 * sunrpc/rpc/auth.h: Likewise.
16248 * sunrpc/rpc/auth_unix.h: Likewise.
16249 * sunrpc/rpc/clnt.h: Likewise.
16250 * sunrpc/rpc/des_crypt.h: Likewise.
16251 * sunrpc/rpc/key_prot.h: Likewise.
16252 * sunrpc/rpc/netdb.h: Likewise.
16253 * sunrpc/rpc/pmap_clnt.h: Likewise.
16254 * sunrpc/rpc/pmap_prot.h: Likewise.
16255 * sunrpc/rpc/pmap_rmt.h: Likewise.
16256 * sunrpc/rpc/rpc.h: Likewise.
16257 * sunrpc/rpc/rpc_des.h: Likewise.
16258 * sunrpc/rpc/rpc_msg.h: Likewise.
16259 * sunrpc/rpc/svc.h: Likewise.
16260 * sunrpc/rpc/svc_auth.h: Likewise.
16261 * sunrpc/rpc/types.h: Likewise.
16262 * sunrpc/rpc/xdr.h: Likewise.
16263 * sunrpc/rpc_clntout.c: Likewise.
16264 * sunrpc/rpc_cmsg.c: Likewise.
16265 * sunrpc/rpc_common.c: Likewise.
16266 * sunrpc/rpc_cout.c: Likewise.
16267 * sunrpc/rpc_dtable.c: Likewise.
16268 * sunrpc/rpc_hout.c: Likewise.
16269 * sunrpc/rpc_main.c: Likewise.
16270 * sunrpc/rpc_parse.c: Likewise.
16271 * sunrpc/rpc_parse.h: Likewise.
16272 * sunrpc/rpc_prot.c: Likewise.
16273 * sunrpc/rpc_sample.c: Likewise.
16274 * sunrpc/rpc_scan.c: Likewise.
16275 * sunrpc/rpc_scan.h: Likewise.
16276 * sunrpc/rpc_svcout.c: Likewise.
16277 * sunrpc/rpc_tblout.c: Likewise.
16278 * sunrpc/rpc_util.c: Likewise.
16279 * sunrpc/rpc_util.h: Likewise.
16280 * sunrpc/rpcinfo.c: Likewise.
16281 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16282 * sunrpc/rpcsvc/key_prot.x: Likewise.
16283 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16284 * sunrpc/rpcsvc/mount.x: Likewise.
16285 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16286 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16287 * sunrpc/rpcsvc/rex.x: Likewise.
16288 * sunrpc/rpcsvc/rstat.x: Likewise.
16289 * sunrpc/rpcsvc/rusers.x: Likewise.
16290 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16291 * sunrpc/rpcsvc/spray.x: Likewise.
16292 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16293 * sunrpc/rtime.c: Likewise.
16294 * sunrpc/svc.c: Likewise.
16295 * sunrpc/svc_auth.c: Likewise.
16296 * sunrpc/svc_authux.c: Likewise.
16297 * sunrpc/svc_raw.c: Likewise.
16298 * sunrpc/svc_run.c: Likewise.
16299 * sunrpc/svc_simple.c: Likewise.
16300 * sunrpc/svc_tcp.c: Likewise.
16301 * sunrpc/svc_udp.c: Likewise.
16302 * sunrpc/svc_unix.c: Likewise.
16303 * sunrpc/svcauth_des.c: Likewise.
16304 * sunrpc/xcrypt.c: Likewise.
16305 * sunrpc/xdr.c: Likewise.
16306 * sunrpc/xdr_array.c: Likewise.
16307 * sunrpc/xdr_float.c: Likewise.
16308 * sunrpc/xdr_mem.c: Likewise.
16309 * sunrpc/xdr_rec.c: Likewise.
16310 * sunrpc/xdr_ref.c: Likewise.
16311 * sunrpc/xdr_sizeof.c: Likewise.
16312 * sunrpc/xdr_stdio.c: Likewise.
16313
9da4bb31
UD
16314 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16315 handling.
16316
bdaa77bc
AS
163172010-08-19 Andreas Schwab <schwab@redhat.com>
16318
16319 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16320
fe2f79db
LM
163212010-08-19 Luis Machado <luisgpm@br.ibm.com>
16322
16323 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16324 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16325 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16326 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16327 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16328 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16329 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16330 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16331 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16332 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16333 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16334 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16335 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16336 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16337
b9b42ee0
AB
163382010-07-26 Anton Blanchard <anton@samba.org>
16339
16340 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16341 * malloc/arena.c (heap_trim): Likewise.
16342
1c06ba31
UD
163432010-08-16 Ulrich Drepper <drepper@redhat.com>
16344
16345 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16346 here. Not...
16347 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16348 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16349
f8392f40
L
163502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16351
16352 * sysdeps/i386/elf/Makefile: New file.
16353
3162f12e
AS
163542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16355
16356 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16357 from fanotify_init.
16358 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16359 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16360
28c90b2c
UD
163612010-08-15 Ulrich Drepper <drepper@redhat.com>
16362
16363 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16364 of strncasecmp_l.
1feccb6c 16365 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16366
ca6bb004
UD
163672010-08-14 Ulrich Drepper <drepper@redhat.com>
16368
e9f82e0d
UD
16369 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16370 strncase_l-nonascii.
16371 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16372 Add strncase_l-ssse3.
16373 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16374 * sysdeps/x86_64/strcmp.S: Likewise.
16375 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16376 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16377 * sysdeps/x86_64/strncase.S: New file.
16378 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16379 * sysdeps/x86_64/strncase_l.S: New file.
16380 * string/Makefile (strop-tests): Add strncasecmp.
16381 * string/test-strncasecmp.c: New file.
16382
16383 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16384 warning.
16385
ca6bb004
UD
16386 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16387 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16388
052fa7b3
AS
163892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16390
16391 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16392
962dba78
UD
163932010-08-12 Ulrich Drepper <drepper@redhat.com>
16394
16395 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16396 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16397 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16398
bebff237
AM
163992010-05-01 Alan Modra <amodra@gmail.com>
16400
16401 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16402 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16403 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16404 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16405 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16406 tidying. Don't tail-call __sigjmp_save for static lib.
16407 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16408 save location.
16409 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16410 (CALL_MCOUNT): Add eh info, and nop after bl.
16411 (TAIL_CALL_SYSCALL_ERROR): New macro.
16412 (PSEUDO_RET): Use it.
16413 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16414 Correct save location of integer regs and cr.
16415 (_dl_profile_resolve): Correct cr save location. Delete nops
16416 after bl when SHARED. Reduce cfi size a little by better
16417 placement of cfi directives.
16418 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16419 make a stack frame. Instead use parm save area as a temp.
16420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16421 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16423 Don't make a stack frame for parent, use parm save area.
16424 Increase child stack frame to 112 bytes. Don't save unused reg,
16425 and adjust reg usage. Set up cfi on error recovery and
16426 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16428 (__makecontext): Add dummy nop after jump to exit.
16429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16430 Use correct parm save area and cr save, reduce stack frame.
16431 Correct cfi for possible PSEUDO_RET frame setup.
16432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16433 Branch to local label emitted by PSEUDO_RET rather than
16434 __syscall_error.
16435
02637374
AS
164362010-08-12 Andreas Schwab <schwab@redhat.com>
16437
16438 [BZ #11904]
16439 * locale/programs/locale.c (print_assignment): New function.
16440 (show_locale_vars): Use it.
16441
c3e2f19b
UD
164422010-08-11 Ulrich Drepper <drepper@redhat.com>
16443
3cdaa6ad
UD
16444 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16445 field.
16446 (struct statfs64): Likewise.
16447 (_STATFS_F_FLAGS): Define.
16448 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16449 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16450 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16451 (ST_VALID): Define locally.
16452 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16453 __statvfs_getflags, use the provided value.
16454 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16455 __ASSUME_STATFS_F_FLAGS.
16456
754f7da3
UD
16457 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16458
10b3bedc
UD
16459 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16460 Add sys/fanotify.h.
16461 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16462 fanotify_mask for GLIBC_2.13.
16463 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16464 fanotify_init and fanotify_mark.
16465 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16466 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16467
c08fb0d7
UD
16468 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16469 Add prlimit.
16470 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16471 prlimit64 for GLIBC_2.13.
16472 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16473 prlimit64.
16474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16475 syscall.
16476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16477 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16478 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16479 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16480 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16481 add prlimit alias.
16482 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16483
15bac72b
UD
16484 [BZ #11903]
16485 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16486 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16487
c3e2f19b
UD
16488 * nss/Makefile: Add rules to build and run tst-nss-test1.
16489 * shlib-versions: Add entry for libnss_test1.
16490 * nss/nss_test1.c: New file.
16491 * nss/tst-nss-test1.c: New file.
16492
16493 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16494 (__nss_configure_lookup): Set appropriate entry in
16495 __nss_configure_lookup to true.
16496 * nss/nsswitch.h: Define enum with indeces of databases in
16497 databases and __nss_database_custom arrays. Declare
16498 __nss_database_custom.
16499 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16500 to avoid using nscd when custom rules are installed.
16501 * nss/getXXbyYY_r.c: Likewise.
16502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16503
16504 * nss/nss_files/files-parse.c: Whitespace fixes.
16505
f15ce4d8
UD
165062010-08-09 Ulrich Drepper <drepper@redhat.com>
16507
16508 [BZ #11883]
16509 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16510 * posix/fnmatch_loop.c: Likewise.
16511
d22e4cc9
AK
165122010-07-17 Andi Kleen <ak@linux.intel.com>
16513
16514 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16515 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16516 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16517 * Versions.def [GLIBC_2.13]: Add.
16518
805bc17d
UD
165192010-08-06 Ulrich Drepper <drepper@redhat.com>
16520
16521 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16522 Also fail if tpwd after pwuid call is NULL.
16523
5a42321d
ST
165242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16525
16526 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16527 when converting to ms.
16528
fd3ebeda
ST
165292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16530
16531 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16532 EOPNOTSUPP errors with ENOTTY.
16533 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16534 EOPNOTSUPP errors with ENOTTY.
16535
73507d3a
UD
165362010-07-31 Ulrich Drepper <drepper@redhat.com>
16537
16538 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16539 Add strcasecmp_l-ssse3.
16540 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16541 strcasecmp.
16542 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16543 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16544 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16545
fe36dd02
UD
165462010-07-30 Ulrich Drepper <drepper@redhat.com>
16547
66f6765a
UD
16548 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16549
42e08a54
UD
16550 * string/Makefile (strop-tests): Add strcasecmp.
16551 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16552 strcasecmp_l-nonascii.
16553 (gen-as-const-headers): Add locale-defines.sym.
16554 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16555 * sysdeps/x86_64/strcasecmp.S: New file.
16556 * sysdeps/x86_64/strcasecmp_l.S: New file.
16557 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16558 * sysdeps/x86_64/locale-defines.sym: New file.
16559 * string/test-strcasecmp.c: New file.
16560
fe36dd02
UD
16561 * string/test-strcasestr.c: Test both ends of the range of characters.
16562 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16563
48cbc0d6
RM
165642010-07-29 Roland McGrath <roland@redhat.com>
16565
76e6d6bc 16566 [BZ #11856]
48cbc0d6
RM
16567 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16568
880113d9
UD
165692010-07-27 Ulrich Drepper <drepper@redhat.com>
16570
16571 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16572 for ld.so.
16573
deb9cabb
AS
165742010-07-27 Andreas Schwab <schwab@redhat.com>
16575
16576 * manual/memory.texi (Malloc Tunable Parameters): Document
16577 M_PERTURB.
16578
1c7570ff
RM
165792010-07-26 Roland McGrath <roland@redhat.com>
16580
16581 [BZ #11840]
16582 * configure.in (-fgnu89-inline check): Set and substitute
16583 gnu89_inline, not libc_cv_gnu89_inline.
16584 * configure: Regenerated.
16585 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16586
24fb0f88
UD
165872010-07-26 Ulrich Drepper <drepper@redhat.com>
16588
16589 * string/test-strnlen.c: New file.
16590 * string/Makefile (strop-tests): Add strnlen.
16591 * string/tester.c (test_strnlen): Add a few more test cases.
16592 * string/tst-strlen.c: Better error reporting.
16593
16594 * sysdeps/x86_64/strnlen.S: New file.
16595
8e96b93a
UD
165962010-07-24 Ulrich Drepper <drepper@redhat.com>
16597
16598 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16599 lower-latency instructions.
16600
dbc676d4
UD
166012010-07-23 Ulrich Drepper <drepper@redhat.com>
16602
16603 * string/test-strcasestr.c: New file.
16604 * string/test-strstr.c: New file.
16605 * string/Makefile (strop-tests): Add strstr and strcasestr.
16606 * string/str-two-way.h: Don't undefine MAX.
16607 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16608
f6a31e0e
AS
166092010-07-21 Andreas Schwab <schwab@redhat.com>
16610
16611 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16612 strcasestr-nonascii.
16613 (CFLAGS-strcasestr-nonascii.c): Define.
16614 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16615 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16616 Remove unused attribute.
16617
5dbc3b6c
RM
166182010-07-20 Roland McGrath <roland@redhat.com>
16619
16620 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16621 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16622 ld.so.cache was broken. With it, there is no way to disable dsocaps
16623 like LD_HWCAP_MASK can disable hwcaps.
16624
23d101d8
EPM
166252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16626
16627 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16628
cc9f2e47
UD
166292010-07-16 Ulrich Drepper <drepper@redhat.com>
16630
16631 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16632 call in strcasestr.
16633 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16634 __strcasestr_sse42_nonascii.
16635 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16636 strcasestr-nonascii.c.
16637 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16638
77c1b069
LM
166392010-06-15 Luis Machado <luisgpm@br.ibm.com>
16640
16641 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16642 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16643 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16644 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16645
440566c3
UD
166462010-07-09 Ulrich Drepper <drepper@redhat.com>
16647
16648 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16649 fcntl.
16650
5be9d05d
AS
166512010-07-06 Andreas Schwab <schwab@redhat.com>
16652
c30b7ee2 16653 [BZ #11577]
5be9d05d
AS
16654 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16655 dl_signal_cerror.
16656
8a492a67
UD
166572010-07-06 Ulrich Drepper <drepper@redhat.com>
16658
16659 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16660 _PC_PIPE_BUF using F_GETPIPE_SZ.
16661
713df3d5
RM
166622010-07-05 Roland McGrath <roland@redhat.com>
16663
16664 * manual/arith.texi (Rounding Functions): Fix rint description
16665 implicit in round description.
16666
702e8f14
UD
166672010-07-02 Ulrich Drepper <drepper@redhat.com>
16668
16669 * elf/Makefile: Fix linking for a few tests to make recent linker
16670 happy.
16671
52ed8be9
AS
166722010-06-30 Andreas Schwab <schwab@redhat.com>
16673
16674 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16675 $(common-objpfx)libc_nonshared.a.
16676
f47c9a11
LM
166772010-06-21 Luis Machado <luisgpm@br.ibm.com>
16678
16679 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16680 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16681 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16682 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16683 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16684 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16685 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16686 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16701 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16702 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16703 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16704 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16705 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16706 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16707 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16708 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16709 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16710 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16711 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16712 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16727
6fb8cbcb
L
167282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16729
16730 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16731 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16732 * string/memmove.c (memmove): Renamed to ...
16733 (MEMMOVE): ...this. Default to memmove.
16734 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16735 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16736 (END_CHK): Define.
16737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16738 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16739 mempcpy-ssse3-back memmove-ssse3-back.
16740 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16741 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16742 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16743 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16744 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16745 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16746 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16747 * sysdeps/x86_64/multiarch/memmove.c: New file.
16748 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16749 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16750 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16751 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16752 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16753 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16754 Define.
16755 (index_Fast_Copy_Backward): Define.
16756 (HAS_ARCH_FEATURE): Define.
16757 (HAS_FAST_REP_STRING): Define.
16758 (HAS_FAST_COPY_BACKWARD): Define.
16759
4e733bac 167602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16761
16762 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16763 Restore proper fallback handling.
16764
63c4ed22
UD
167652010-06-19 Ulrich Drepper <drepper@redhat.com>
16766
ac2b484c
UD
16767 [BZ #11701]
16768 * posix/group_member.c (__group_member): Correct checking loop.
16769
63c4ed22
UD
16770 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16771 OOM in getpwuid_r correctly. Return error number when the caller
16772 should return, otherwise -1.
16773 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16774 call returning > 0 value.
16775 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16776
765ade4b
AS
167772010-06-07 Andreas Schwab <schwab@redhat.com>
16778
16779 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16780 libc_nonshared.a from targets in modules-names.
16781
80da2e09
KS
167822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16783
16784 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16785 requires it.
16786
158db122
LM
167872010-06-10 Luis Machado <luisgpm@br.ibm.com>
16788
16789 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16790 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16791 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16792 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16793
caa78cf8
AS
167942010-06-02 Andreas Schwab <schwab@redhat.com>
16795
16796 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16797
b2ef2c01
UD
167982010-06-14 Ulrich Drepper <drepper@redhat.com>
16799
16800 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16801 and F_GETPIPE_SZ.
16802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16806 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16807 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16808
fbd643b6
RM
168092010-06-14 Roland McGrath <roland@redhat.com>
16810
16811 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16812
f32f2869
JJ
168132010-06-07 Jakub Jelinek <jakub@redhat.com>
16814
16815 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16816 __REDIRECT followed by __THROW.
16817 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16818 * posix/getopt.h (getopt): Likewise.
16819
2a50c078
EPM
168202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16821
16822 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16823 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16824 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16825 in AT_FLAGS.
16826 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16827 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16828
eb5ad2eb
LM
168292010-05-28 Luis Machado <luisgpm@br.ibm.com>
16830
16831 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16832
3c88fe1e
L
168332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16834
16835 [BZ #11640]
16836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16837 Properly check family and model.
16838
d2f73151
TY
168392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16840
16841 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16842
ebd2e13d
LM
168432010-05-24 Luis Machado <luisgpm@br.ibm.com>
16844
16845 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16846
b32b8b45
UD
168472010-05-21 Ulrich Drepper <drepper@redhat.com>
16848
16849 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16850 symbol reference.
16851
9acbe24d
AS
168522010-05-19 Andreas Schwab <schwab@redhat.com>
16853
16854 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16855 symbol reference.
16856
f0ccf6ea
AS
168572010-05-21 Andreas Schwab <schwab@redhat.com>
16858
3d04ff3a
AS
16859 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16860 and internal_recvmmsg.
16861 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16862 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16863 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16864 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16865
f0ccf6ea
AS
16866 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16867 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16868 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16869
5b08ac57
AS
168702010-05-20 Andreas Schwab <schwab@redhat.com>
16871
16872 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16873
4828935d
LM
168742010-05-17 Luis Machado <luisgpm@br.ibm.com>
16875
16876 POWER7 optimizations.
16877 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16878 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16879
373d545e
UD
168802010-05-19 Ulrich Drepper <drepper@redhat.com>
16881
16882 * version.h: Update for 2.13 development version.
16883
21a2b1ae
AS
168842010-05-12 Andrew Stubbs <ams@codesourcery.com>
16885
16886 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16887 exceptions. Return 0.
16888
3f7dcb2b
RM
168892010-05-07 Roland McGrath <roland@redhat.com>
16890
16891 * elf/ldconfig.c (main): Add a const.
16892
5f24d53a 168932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16894
a160f8d8
UD
16895 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16896 (args_options): Add no-idn option.
16897 (ahosts_keys_int): Add idn_flags to ai_flags.
16898 (parse_option): Handle 'i' option to clear idn_flags.
16899
5f24d53a
UD
16900 * malloc/malloc.c (_int_free): Possible race in the most recently
16901 added check. Only act on the data if no current modification
16902 happened.
265bb1ce
UD
16903
16904See ChangeLog.17 for earlier changes.