]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix clog, clog10 spurious underflow exceptions (bug 14337).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
638a572e
JM
12012-07-09 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #14337]
4 * math/s_clog.c (__clog): Avoid scaling a value down where that
5 could result in underflow.
6 * math/s_clog10.c (__clog10): Likewise.
7 * math/s_clog10f.c (__clog10f): Likewise.
8 * math/s_clog10l.c (__clog10l): Likewise.
9 * math/s_clogf.c (__clogf): Likewise.
10 * math/s_clogl.c (__clogl): Likewise.
11 * math/libm-test.inc (clog_test): Add more tests.
12 (clog10_test): Likewise.
13 * sysdeps/i386/fpu/libm-test-ulps: Update.
14 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15
261f4859
AS
162012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17
0abaf3e4
AS
18 [BZ #14283]
19 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20 by 7 not 8 to examine high bit of fractional part.
21
261f4859
AS
22 [BZ #14042]
23 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
24 for call to __mcount_internal.
25 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28
f17ac40d
JM
292012-07-06 Joseph Myers <joseph@codesourcery.com>
30
9ad63c23
JM
31 [BZ #14154]
32 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33 approximation for values within 0x1p-13f of an odd multiple of
34 pi/4.
35 * math/libm-test.inc (tan_test): Do not allow spurious underflow
36 exception. Add more tests.
37 * sysdeps/i386/fpu/libm-test-ulps: Update.
38
f17ac40d
JM
39 [BZ #6778]
40 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41 inputs and return -1 for them. Do not check for +Inf in case not
42 reachable for +Inf.
43 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
46 and return -1 for them. Do not check for +Inf in case not
47 reachable for +Inf.
48 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
49 define.
50 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
51 and return -1 for them. Do not check for +Inf in case not
52 reachable for +Inf.
53 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
54 spurious underflow.
55 * sysdeps/i386/fpu/libm-test-ulps: Update.
56 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57
fb21f89b
MF
582012-07-06 Mike Frysinger <vapier@gentoo.org>
59
60 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61
cdfe2c5e
JM
622012-07-05 Joseph Myers <joseph@codesourcery.com>
63
64 [BZ #14157]
65 [BZ #14331]
66 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
67 could result in spurious underflow. Scale down values above
68 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69 * math/s_csqrtf.c (__csqrtf): Likewise.
70 * math/s_csqrtl.c (__csqrtl): Likewise.
71 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
72 spurious underflow.
73 * sysdeps/i386/fpu/libm-test-ulps: Update.
74 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75
70d35b67
AS
762012-07-04 Andreas Schwab <schwab@linux-m68k.org>
77
704bc459
AS
78 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79 xopen-msg.sed.
80 * catgets/xopen-msg.awk: New file.
81 * catgets/xopen-msg.sed: Removed.
82
70d35b67
AS
83 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
84 po2text.sed.
85 * intl/po2test.awk: New file.
86 * intl/po2test.sed: Removed.
87
ca61cf32
JM
882012-07-04 Joseph Myers <joseph@codesourcery.com>
89
90 [BZ #14328]
91 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
92 or multiply small sinh result by itself.
93 * math/s_ctanf.c (__ctanf): Likewise.
94 * math/s_ctanh.c (__ctanh): Likewise.
95 * math/s_ctanhf.c (__ctanhf): Likewise.
96 * math/s_ctanhl.c (__ctanhl): Likewise.
97 * math/s_ctanl.c (__ctanl): Likewise.
98 * math/libm-test.inc (ctan_test_tonearest): New function.
99 (ctan_test_towardzero): Likewise.
100 (ctan_test_downward): Likewise.
101 (ctan_test_upward): Likewise.
102 (ctanh_test_tonearest): Likewise.
103 (ctanh_test_towardzero): Likewise.
104 (ctanh_test_downward): Likewise.
105 (ctanh_test_upward): Likewise.
106 (main): Call these new functions.
107 * sysdeps/i386/fpu/libm-test-ulps: Update.
108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
109
ca48a46a
MF
1102012-07-03 Mike Frysinger <vapier@gentoo.org>
111
112 * .gitignore: Delete /ports entry.
113
9d63d37d
AJ
1142012-07-03 Andreas Jaeger <aj@suse.de>
115
116 * po/bg.po: Update from translation team.
117 * po/cs.po: Likewise.
118 * po/de.po: Likewise.
119 * po/hr.po: Likewise.
120 * po/nl.pl: Likewise.
121 * po/pl.po: Likewise.
122 * po/vi.po: Likewise.
123
370ca3d2
JM
1242012-07-03 Joseph Myers <joseph@codesourcery.com>
125
95f5a9a8
JM
126 * Makeconfig [!+link] (+link-before-libc): New variable.
127 [!+link] (+link-after-libc): Likewise.
128 [!+link] (+link-tests): Likewise.
129 [!+link] (+link): Define in terms of $(+link-before-libc) and
130 $(+link-after-libc).
131 [!+link-static] (+link-static-before-libc): New variable.
132 [!+link-static] (+link-static-after-libc): Likewise.
133 [!+link-static] (+link-static-tests): Likewise.
134 [!+link-static] (+link-static): Define in terms of
135 $(+link-static-before-libc) and $(+link-static-after-libc).
136 [build-shared] (link-libc-before-gnulib): New variable.
137 [build-shared] (link-libc-tests): Likewise.
138 [build-shared] (link-libc): Define in terms of
139 $(link-libc-before-gnulib).
140 [!build-shared] (link-libc-tests): New variable.
141 (link-libc-static-tests): New variable.
142 [!gnulib] (gnulib-arch): New variable.
143 [!gnulib] (gnulib-tests): Likewise.
144 [!gnulib] (static-gnulib-arch): Likewise.
145 [!gnulib] (static-gnulib-tests): Likewise.
146 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
147 Define with "=" instead of ":=".
148 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
149 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
150 * Rules (binaries-all-notests): New variable.
151 (binaries-all-tests): Likewise.
152 (binaries-static-notests): Likewise.
153 (binaries-static-tests): Likewise.
154 (binaries-all): Define using $(binaries-all-notests) and
155 $(binaries-all-tests).
156 (binaries-static): Define using $(binaries-static-notests) and
157 $(binaries-static-tests).
158 (binaries-shared-tests): New variable.
159 (binaries-shared-notests): Likewise.
160 (binaries-shared): Remove variable.
161 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
162 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
163 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
164 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
165 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
166 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
167 * elf/Makefile (sln-modules): New variable.
168 (extra-objs): Add $(sln-modules:=.o).
169 (ldconfig-modules): Add static-stubs.
170 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
171 * elf/static-stubs.c: New file.
172
7a845b2c
JM
173 [BZ #14283]
174 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
175 by 7 not 8 to examine high bit of fractional part. Use volatile
176 variables when splitting into final array of floats if
177 __FLT_EVAL_METHOD__ != 0.
178 * math/libm-test.inc (cos_test): Add another test.
179 (sin_test): Likewise.
180 * sysdeps/i386/fpu/libm-test-ulps: Update.
181
e2283f38
JM
182 [BZ #14273]
183 * math/libm-test.inc (cosh_test): Add more tests.
184
370ca3d2
JM
185 * version.h (RELEASE): Set to "development".
186 (VERSION): Set to "2.16.90".
187
ee9247c3
CD
1882012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
189
190 * NEWS: Update copyright. Remove last-updated date.
191 Mention math library bug fixes and timezone data changes.
192 * README: Mention GNU/Hurd, x32, and HPPA support status.
193
4648c381
TS
1942012-06-28 Thomas Schwinge <thomas@codesourcery.com>
195
196 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
197
aac78a43
AJ
1982012-06-27 Andreas Jaeger <aj@suse.de>
199
200 * manual/contrib.texi (Contributors): Add Samuel Thibault.
201
ed3dbfad
AJ
2022012-06-25 Andreas Jaeger <aj@suse.de>
203
204 * sysdeps/s390/fpu/libm-test-ulps: Update.
205
4d0ee855
AS
2062012-06-23 Andreas Schwab <schwab@linux-m68k.org>
207 Thomas Schwinge <thomas@codesourcery.com>
208
209 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
210 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
211 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
212 fanotify_mark.
213
af1bce34
TS
2142012-06-23 Thomas Schwinge <thomas@codesourcery.com>
215
a9fa33ba
TS
216 * sysdeps/mach/start.c: Remove file.
217 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
218 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
219 * sysdeps/sh/init-first.c: Likewise.
220
58f902b8
TS
221 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
222 registers for frame unwinding purposes, add CFI directives.
223 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
224 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
225 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
226 Likewise.
227
1518f58b
TS
228 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
229 __fortify_fail returning.
230 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
231
db9b5059
TS
232 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
233 sysdeps/sh/____longjmp_chk.S.
234 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
235 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
236 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
237 (gen-as-const-headers): Append sigaltstack-offsets.sym.
238
967705fe
TS
239 * sysdeps/sh/abort-instr.h: New file.
240 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
241 process in case exit returns.
242
a9def8c4
TS
243 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
244 initialize the GOT register before use.
245
2a649725
TS
246 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
247 calculation of ARGC > 4.
248
af1bce34
TS
249 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
250 meaningful names to some local labels.
251
d230f50a
KK
2522012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
253 Kaz Kojima <kkojima@rr.iij4u.or.jp>
254
255 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
256 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
257 (__arch_compare_and_exchange_val_16_acq): Likewise.
258 (__arch_compare_and_exchange_val_32_acq): Likewise.
259 (atomic_exchange_and_add): Fix gUSA sequence.
260 (atomic_add): Likewise.
261 (atomic_add_negative): Likewise.
262 (atomic_add_zero): Likewise.
263 (atomic_bit_test_set): Likewise.
264
0479b305
AS
2652012-06-22 Andreas Schwab <schwab@redhat.com>
266
267 [BZ #13579]
268 * include/link.h (struct link_map): Add l_free_initfini.
269 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
270 l_initfini.
271 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
272 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
273 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
274 set.
275
0e3933b9
CD
2762012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
277
278 * configure.in: Use AC_LANG_SOURCE.
279 * configure: Regenerate.
280
4248b1b1
RM
2812012-06-22 Roland McGrath <roland@hack.frob.com>
282
283 * configure.in (libc_cv_localstatedir): New substituted variable.
284 * configure: Regenerated.
285 * config.make.in (localstatedir): New variable, substituted from
286 libc_cv_localstatedir.
287 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
288 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
289 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
290 * sysdeps/gnu/configure: Regenerated.
291
006dd861
JL
2922012-06-21 Jeff Law <law@redhat.com>
293
294 [BZ #14277]
295 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
296 free. Simplify list management for _LIBC case.
297
79662d42
JM
2982012-06-21 Joseph Myers <joseph@codesourcery.com>
299
b7abb4bf
JM
300 [BZ #14273]
301 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
302 Clear sign bit of 64-bit integer value before comparing against
303 overflow value.
304
79662d42
JM
305 * sysdeps/mach/configure: Regenerated.
306
1f150908
L
3072012-06-21 H.J. Lu <hongjiu.lu@intel.com>
308
309 [BZ #14278]
310 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
311
28363bbf
JL
3122012-06-21 Jeff Law <law@redhat.com>
313
314 [BZ #13882]
315 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
316 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 317 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
318 * elf/dl-open.c (dl_open_worker): Likewise.
319
09615db4
CD
3202012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
321
322 * scripts/list-sources.sh: Scan PORTS for translations.
323 * po/libc.pot: Regenerated.
324
2174c6dd
AJ
3252012-06-21 Andreas Jaeger <aj@suse.de>
326
327 [BZ #12194]
328 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
329 warning.
330 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
331 * bits/byteswap-16.h (__bswap_16): Likewise.
332 * bits/byteswap.h (__bswap_constant_16): Likewise.
333
3ee947b1
L
3342012-06-18 H.J. Lu <hongjiu.lu@intel.com>
335
336 [BZ #14117]
a2f34833
L
337 * sysdeps/i386/fpu_control.h: Removed.
338 * sysdeps/x86_64/fpu_control.h: Moved to ...
339 * sysdeps/x86/fpu_control.h: Here.
340
3ee947b1
L
341 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
342 (_FPU_SETCW): Likewise.
343
ed1825f8
L
3442012-06-15 H.J. Lu <hongjiu.lu@intel.com>
345
25f1282a
L
346 [BZ #14117]
347 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
348 * sysdeps/x86/fpu/bits/mathinline.h: This.
349 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
350
ed1825f8
L
351 [BZ #14050]
352 [BZ #14117]
353 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
354 functions if __x86_64__ is defined.
355
36d54b74
CLT
3562012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
357
358 * string/endian.h: Add !__ASSEMBLER__ condition for including
359 conversion interfaces.
360
10285c21
JM
3612012-06-15 Joseph Myers <joseph@codesourcery.com>
362
363 [BZ #14241]
364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
365 of ABS(x) in calculating zero to negative powers other than odd
366 integers.
367 * math/libm-test.inc (pow_test): Add more tests.
368
06c5abbd
AJ
3692012-06-15 Andreas Jaeger <aj@suse.de>
370
371 * manual/contrib.texi (Contributors): Update entry of Liubov
372 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
373 Machado Filho.
374
a3aeac40
CH
3752012-06-15 Cyril Hrubis <metan@ucw.cz>
376
377 * string/string.h: Add __wur to GNU version of strerror_r.
378
49bdf4c1
L
3792012-06-14 H.J. Lu <hongjiu.lu@intel.com>
380
381 [BZ #14229]
382 * string/Makefile (tests): Add tst-strtok_r.
383 * string/tst-strtok_r.c: New file.
384 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
385 RAX_LP/RDX_LP on SAVE_PTR.
386
834f9b8d
RM
3872012-06-14 Roland McGrath <roland@hack.frob.com>
388
389 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
390
75fa1921
JM
3912012-06-14 Joseph Myers <joseph@codesourcery.com>
392
393 * libm_test.inc (csqrt_test): Allow more spurious underflow
394 exceptions.
395 (j0_test): Likewise.
396 (j1_test): Likewise.
397 (y0_test): Likewise.
398 (y1_test): Likewise.
399
771766df
CD
4002012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
401
402 * po/Makefile (libc.pot): Use UTF-8 charset.
403
ceb9e56b
PP
4042012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
405
406 [BZ #14210]
407 Suppress sign-conversion warning from FD_SET.
408 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
409 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
410 not unsigned long int.
411 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
412
ddb28975
L
4132012-06-12 H.J. Lu <hongjiu.lu@intel.com>
414
415 [BZ #14050]
416 [BZ #14117]
417 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
418 __extern_always_inline instead of __extern_inline.
419 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
420 (__signbit): Likewise.
421 (__signbitl): Support C++ namespace.
422 (lrintf): New inline function.
423 (lrint): Likewise.
424 (llrintf): Likewise.
425 (llrint): Likewise.
426 (fmaxf): Likewise.
427 (fmax): Likewise.
428 (fminf): Likewise.
429 (fmin): Likewise.
430 (rint): Likewise.
431 (rintf): Likewise.
432 (ceil): Likewise.
433 (ceilf): Likewise.
434 (floor): Likewise.
435 (floorf): Likewise.
436 (nearbyint): Likewise.
437 (nearbyintf): Likewise.
438
d7b4fb26
TS
4392012-06-12 Thomas Schwinge <thomas@codesourcery.com>
440
441 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
442 non-default versions.
443
eb55f5c2
RM
4442012-06-11 Roland McGrath <roland@hack.frob.com>
445
446 [BZ #14218]
447 * manual/argp.texi (Argp): Reword argp_parse description slightly.
448
366af02c
TS
4492012-06-09 Thomas Schwinge <thomas@codesourcery.com>
450
99ff6e5c
TS
451 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
452 (FE_UPWARD, FE_DOWNWARD): Don't define.
453 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
454 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
455
366af02c
TS
456 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
457 reading it.
458 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
459 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
460
793ea851
KK
4612012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
462
463 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
464 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
465 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
466 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
467
a728a38f
L
4682012-06-06 H.J. Lu <hongjiu.lu@intel.com>
469
470 [BZ #14117]
c08010c7
L
471 * sysdeps/i386/fpu/bits/fenv.h: Removed.
472 * sysdeps/i386/fpu/Implies: New file.
473 * sysdeps/x86_64/fpu/Implies: Likewise.
474 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
475 * sysdeps/x86/fpu/bits/fenv.h: This.
476
a728a38f
L
477 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
478 __SSE_MATH__.
479
6e230d11
SP
4802012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
481
482 [BZ #14134]
483 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
484 character 0xffff that matches the last element of the
485 conversion table.
486
1b671feb
AZ
4872012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
488
489 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
490 fmodl commit.
491
6043738b
AZ
4922012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
493
494 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
495 values higher than 25.6283.
496
34ae0b32
AZ
4972012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498
499 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
500 subnormal exponent extraction and add some __builtin_expect.
501 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
502 Fix for subnormal mantissa calculation.
503
1214ec8f
MF
5042012-06-04 Mike Frysinger <vapier@gentoo.org>
505
506 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
507 cpu2 is -1 and errno is not ENOSYS.
508
f3d1f93c
L
5092012-06-04 H.J. Lu <hongjiu.lu@intel.com>
510
511 [BZ #14117]
0e4a3cd7
L
512 * sysdeps/i386/i486/bits/string.h: Renamed to ...
513 * sysdeps/x86/bits/string.h: This.
514 * sysdeps/x86_64/bits/string.h: Removed.
515
6704c645
L
516 * sysdeps/i386/i486/bits/string.h: Define inline functions only
517 if not compiling for x86-64, but compiling for >= i486.
518
48495318
L
519 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
520 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
521
14adcbfc
L
522 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
523 New macro from Linux kernel 3.4.0.
524 (FP_XSTATE_MAGIC2): Likewise.
525 (FP_XSTATE_MAGIC2_SIZE): Likewise.
526 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
527 (struct _fpx_sw_bytes): New struct.
528 (struct _xsave_hdr): Likewise.
529 (struct _ymmh_state): Likewise.
530 (struct _xstate): Likewise.
531
68e408ab
L
532 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
533 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
534 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
535 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
536 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
537 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
538
f3d1f93c
L
539 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
540 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
541 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
542 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
543 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
544 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
545
d9dc34cd
TMQMF
5462012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
547
548 [BZ #13743]
549 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
550 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
551 (sysdep_headers): Include sys/platform/ppc.h.
552 * sysdeps/powerpc/test-gettimebase.c: Test for
553 __ppc_get_timebase() to catch future ISA opcode/insn changes.
554 * manual/Makefile (appendices): Include platform.texi.
555 * manual/contrib.texi (Contributors): Update @node pointers.
556 * manual/maint.texi (Maintenance): Likewise.
557 (Platform): New node.
558 * manual/platform.texi: New file. Document the new features.
559
4af3879c
SP
5602012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
561 Jakub Jelinek <jakub@redhat.com>
562
563 [BZ #14188]
564 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
565 where __builtin_expect is unavailable.
566
2fd6ff13
DM
5672012-06-03 David S. Miller <davem@davemloft.net>
568
569 * stdlib/longlong.h: Updated from GCC.
570
173f7220
AS
5712012-06-02 Andreas Schwab <schwab@linux-m68k.org>
572
573 [BZ #14042]
574 * sysdeps/powerpc/powerpc32/mcount.c: New file.
575 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
576 __mcount_internal.
577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
578 (GLIBC_2.16): Likewise.
579
f34a1c6f
L
5802012-06-01 H.J. Lu <hongjiu.lu@intel.com>
581
582 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
583
88a4576f
JM
5842012-06-01 Joseph Myers <joseph@codesourcery.com>
585
ea32bcdd
JM
586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
587 (default-abi): New variable.
588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
589 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
590 variable.
591 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
592 Likewise.
593 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
594 Likewise.
595 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
596 Likewise.
597
88a4576f
JM
598 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
599 definition. Document in comment.
600
402fe938
DM
6012012-06-01 David S. Miller <davem@davemloft.net>
602
603 * stdlib/longlong.h: Updated from GCC.
604
3553723f
L
6052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
606
607 [BZ #14117]
3bd872c4
L
608 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
609 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
610 sys/debugreg.h sys/io.h here.
611 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
612 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
613 sys/io.h.
614 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
615 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
616 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
617 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
618 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
619 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
620
3553723f
L
621 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
622 Define only if __x86_64__ is defined.
623
4842e4fe
JM
6242012-06-01 Joseph Myers <joseph@codesourcery.com>
625
c5bfe3d5
JM
626 [BZ #14048]
627 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
628 Use int64_t for variable i.
629 * math/libm-test.inc (fmod_test): Add more tests.
630
4842e4fe
JM
631 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
632 z computation is not scheduled after fetestexcept.
633 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
634 Use math_force_eval instead of asm to ensure calculation scheduled
635 before exception test.
636 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
637 Ensure a1 + u.d computation is not scheduled after fetestexcept.
638
efb73488
AJ
6392012-06-01 Aurelien Jarno <aurelien@aurel32.net>
640
641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
642 computation is not scheduled after fetestexcept.
643
29bcce7c
L
6442012-06-01 H.J. Lu <hongjiu.lu@intel.com>
645
646 [BZ #14117]
647 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
648 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
649
73a68f94
AZ
6502012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
651
652 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
653 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
654
67b6df78
L
6552012-05-31 H.J. Lu <hongjiu.lu@intel.com>
656
edf2933a 657 [BZ #14117]
ebc64a18
L
658 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
659 <bits/wordsize.h>.
660 (__WCHAR_MIN): Support __WORDSIZE == 64.
661 (__WCHAR_MAX): Likewise.
662
edf2933a
L
663 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
664 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
665
57c6cf40
L
666 [BZ #14183]
667 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
668 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
669
67b6df78 670 [BZ #14117]
8eb6281e
L
671 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
672 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
673
aac639f4
L
674 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
675 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
676
67b6df78
L
677 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
678 Defined to 1 if __x86_64__ isn't defined.
679 (_STAT_VER_LINUX_OLD): New.
680 (st_atime): Remove duplicate.
681 (st_mtime): Likewise.
682 (st_ctime): Likewise.
683
1c2cfe81
DM
6842012-05-31 David S. Miller <davem@davemloft.net>
685
686 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
687 entries.
688
5be8418c
AS
6892012-06-01 Andreas Schwab <schwab@linux-m68k.org>
690
e7725326
AS
691 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
692 gen-libm-test.pl.
693
5be8418c
AS
694 [BZ #14132]
695 * elf/dl-reloc.c: Include <_itoa.h>.
696 (_dl_reloc_bad_type): Remove use of INTUSE.
697 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
698 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
699 * stdio-common/psiginfo.c (psiginfo): Likewise.
700 * stdio-common/psignal.c (psignal): Likewise.
701 * string/strsignal.c (strsignal): Likewise.
702 * include/signal.h (_sys_siglist): Declare hidden proto.
703 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
704 INTVARDEF with libc_hidden_data_def.
705 * stdio-common/itoa-udigits.c: Likewise.
706 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
707 (_itoa_lower_digits_internal): Remove declaration.
708 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
709 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
710 (_sys_sigabbrev_internal): Remove aliases.
711 (_sys_siglist): Define hidden alias.
712
507352f1
MT
7132012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
714
715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
716 bits/sysctl.h.
717
42bbb1c3
L
7182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
719
720 [BZ #14117]
6bd784b6
L
721 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
722 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
723
8bca20f0
L
724 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
725 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
726 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
727 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
728 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
729 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
730
f9e890a9
L
731 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
732 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
733 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
734
471101a1
L
735 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
736 with __addr.
737 (insw): Likewise.
738 (insl): Likewise.
739 (outsb): Likewise.
740 (outsw): Likewise.
741 (outsl): Likewise.
742
6451c862
L
743 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
744 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
745 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
746
a254b8c9
L
747 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
748 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
749 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
750 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
751 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
752 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
753
b8dfdd92
L
754 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
755 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
756
578cd270
L
757 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
758 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
759
de662f5f
L
760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
761 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
762 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
763
25653439
L
764 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
765 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
766 to ...
767 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
768
6bad24a0
L
769 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
770 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
771 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
772
42bbb1c3
L
773 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
774 for x86-64.
775 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
776
2d10d547
JM
7772012-05-31 Joseph Myers <joseph@codesourcery.com>
778
779 * math/math.h (M_El): Use two more decimal places.
780 (M_LOG2El): Likewise.
781 (M_LOG10El): Likewise.
782 (M_LN2l): Likewise.
783 (M_LN10l): Likewise.
784 (M_PIl): Likewise.
785 (M_PI_2l): Likewise.
786 (M_PI_4l): Likewise.
787 (M_1_PIl): Likewise.
788 (M_2_PIl): Likewise.
789 (M_2_SQRTPIl): Likewise.
790 (M_SQRT2l): Likewise.
791 (M_SQRT1_2l): Likewise.
792
f230c29b
DM
7932012-05-31 David S. Miller <davem@davemloft.net>
794
795 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
796 values between float registers.
797 * sysdeps/sparc/sparc64/memset.S: Likewise.
798 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
799
fed806c3
MF
8002012-05-31 Mike Frysinger <vapier@gentoo.org>
801
802 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
803 -D_FORTIFY_SOURCE=1.
804 (CPPFLAGS-tst-longjmp_chk.c): Define.
805 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
806 (CPPFLAGS-tst-longjmp_chk2.c): Define.
807 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
808 CFLAGS-tst-wchar-h.c.
809
30917259
MP
8102012-05-31 Marek Polacek <polacek@redhat.com>
811
812 [BZ #14132]
813 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
814 __endmntent_internal): Remove declaration.
815 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
816 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
817 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
818
1c58d5dc
DM
8192012-05-30 David S. Miller <davem@davemloft.net>
820
821 * sysdeps/sparc/sparc32/soft-fp/q_util.c
822 (___Q_simulate_exceptions): Use real FP ops rather than writing
823 into the %fsr.
824 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
825 Likewise.
826
7dc00e0d
L
8272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
828
829 [BZ #14117]
0bd53985
L
830 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
831 * sysdeps/x86/bits/xtitypes.h: This.
832
3a257e66
L
833 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
834 * sysdeps/x86/bits/wordsize.h: This.
835
62f62904
L
836 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
837 * sysdeps/x86/bits/huge_vall.h: This.
838
404fe9d9
L
839 * sysdeps/i386/bits/select.h: Removed.
840 * sysdeps/x86_64/bits/select.h: Renamed to ...
841 * sysdeps/x86/bits/select.h: This.
842
d48d0446
L
843 * sysdeps/i386/bits/setjmp.h: Removed.
844 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
845 * sysdeps/x86/bits/setjmp.h: This.
846
7dc00e0d
L
847 * sysdeps/i386/bits/mathdef.h: Removed.
848 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
849 * sysdeps/x86/bits/mathdef.h: This.
850
03277f8f
AS
8512012-05-30 Andreas Schwab <schwab@linux-m68k.org>
852
853 [BZ #14132]
854 * include/sys/socket.h (__connect_internal)
855 (__libc_sa_len_internal): Remove declaration.
856 (__connect, __libc_sa_len): Declare hidden_proto.
857 (SA_LEN): Remove use of INTUSE.
858 * socket/connect.c: Add libc_hidden_def.
859 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
860 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
861 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
862 alias.
863 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
864 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
865 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
866 of adding _internal alias.
867
13764867
L
8682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
869
870 [BZ #14117]
6bd97696
L
871 * sysdeps/i386/bits/link.h: Removed.
872 * sysdeps/i386/bits/linkmap.h: Likewise.
873 * sysdeps/x86_64/bits/link.h: Renamed to ...
874 * sysdeps/x86/bits/link.h: This.
875 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
876 * sysdeps/x86/bits/linkmap.h: This.
877
f726f0bb
L
878 * sysdeps/i386/bits/endian.h: Removed.
879 * sysdeps/x86_64/bits/endian.h: Renamed to ...
880 * sysdeps/x86/bits/endian.h: This.
881
13764867
L
882 * sysdeps/i386/bits/byteswap.h: Removed.
883 * sysdeps/i386/bits/byteswap-16.h: Likewise.
884 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
885 * sysdeps/x86/bits/byteswap.h: This.
886 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
887 * sysdeps/x86/bits/byteswap-16.h: This.
888 * sysdeps/i386/Implies: Add x86.
889 * sysdeps/x86_64/Implies: Likewise.
890
ae251b0b
DM
8912012-05-30 David S. Miller <davem@davemloft.net>
892
893 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
894 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
895 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
896 (FP_TRAPPING_EXCEPTIONS): Define.
897 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
898 (FP_TRAPPING_EXCEPTIONS): Define.
899 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
900 subnormals only when inexact has been signalled or underflow
901 exceptions are enabled.
902 (_FP_PACK_CANONICAL): Likewise.
903
d5c90867
L
9042012-05-30 H.J. Lu <hongjiu.lu@intel.com>
905
906 [BZ #14183]
907 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
908 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
909
63f1549e
RH
9102012-05-30 Richard Henderson <rth@twiddle.net>
911
8d8f2279
RH
912 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
913 with #ifndef NOT_IN_libc.
914
63f1549e
RH
915 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
916 marked to avoid plt entry.
917
0ab0291b
L
9182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
919
920 [BZ #14112]
921 * Makeconfig (default-abi): New macro.
922 (abi-includes): Likewise.
923 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
924 $(abi-$(default-abi)-lib-soname) for soname if defined.
925 ($(common-objpfx)gnu/lib-names.stmp): Generate from
926 abi-variants.
927 * Makefile (installed-stubs): Likewise.
928 * include/stubs-biarch.h: Removed.
929 * scripts/lib-names.awk: Only handle one library at a time.
930 * scripts/soversions.awk: Remove WORDSIZE support.
931 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
932 entries.
933 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
934 Removed.
935 (syscall-list-default-condition): Likewise.
936 (syscall-list-default-condition): Likewise.
937 (syscall-list-includes): Likewise.
938 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
939 syscall-list-* with abi-*. Handle undefined abi-variants.
940 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
941 * sysdeps/unix/sysv/linux/i386/Implies: New file.
942 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
943 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
944 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
945 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
946 Removed.
947 (syscall-list-32-options): Likewise.
948 (syscall-list-32-condition): Likewise.
949 (syscall-list-64-options): Likewise.
950 (syscall-list-64-condition): Likewise.
951 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
952 macro.
953 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
954 Renamed to ...
955 (abi-*): This.
956 (abi-64-ld-soname): New macro.
957 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
958 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
959 Renamed to ...
960 (abi-*): This.
961 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
962 * sysdeps/x86_64/x32/shlib-versions: Likewise.
963
4da0431d
JM
9642012-05-30 Joseph Myers <joseph@codesourcery.com>
965
3a85279c
JM
966 * sysdeps/unix/sysv/linux/kernel-features.h
967 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
968 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
969 include <kernel-features.h>.
970 [!__NR_ftruncate64]: Remove conditional code.
971 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
972 [__NR_ftruncate64]: Make code unconditional.
973 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
974 * sysdeps/unix/sysv/linux/truncate64.c: Do not
975 include <kernel-features.h>.
976 [!__NR_ftruncate64]: Remove conditional code.
977 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
978 [__NR_ftruncate64]: Make code unconditional.
979 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
981 include <kernel-features.h>.
982 [!__NR_ftruncate64]: Remove conditional code.
983 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
984 [__NR_ftruncate64]: Make code unconditional.
985 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
987 include <kernel-features.h>.
988 [!__NR_ftruncate64]: Remove conditional code.
989 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
990 [__NR_ftruncate64]: Make code unconditional.
991 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
992
4da0431d
JM
993 * configure.in (libc_cv_fpie): Weaken to a compile test using
994 LIBC_TRY_CC_OPTION.
995 * configure: Regenerated.
996
11ef492c
AK
9972012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
998
999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1003 Refreshed.
1004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1010 Refreshed.
1011
d66ef399
DM
10122012-05-27 David S. Miller <davem@davemloft.net>
1013
1014 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1015 (___Q_zero): New.
1016 (__Q_simulate_exceptions): Return void. Change to simulate
1017 exceptions by writing into the %fsr.
1018 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1019 (__Qp_handle_exceptions): Likewise.
1020 (numbers): Delete.
1021 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1022 __Qp_handle_exceptions.
1023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1024 __Qp_handle_exceptions.
1025 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1026 as unused and give dummy FP_RND_NEAREST initializer.
1027 (FP_INHIBIT_RESULTS): Define.
1028 (___Q_simulate_exceptions): Update declaration.
1029 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1030 formatting.
1031 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1032 as unused and give dummy FP_RND_NEAREST initializer.
1033 (__Qp_handle_exceptions): Update declaration.
1034 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1035 formatting.
1036
04fb54b5
TS
10372012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1038
1039 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1040 the temporary FPU control word.
1041 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1042 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1043 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1044 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1045 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1046 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1047 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1048 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1049 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1050 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1051 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1052
3f99608f
KK
10532012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1054
1055 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1056 fields.
1057
65a4de4e
CLT
10582012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1059
1060 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1061 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1062 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1063 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1064 Likewise.
1065 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1066 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1067 Likewise.
1068
15749d40
UD
10692012-05-27 Ulrich Drepper <drepper@gmail.com>
1070
1071 * po/h.po: Update from translation team.
1072
25dbcb27
AS
10732012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1074
3d3f8e55
AS
1075 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1076
25dbcb27
AS
1077 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1078 handling of denormals.
1079 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1080 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1081 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1082 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1084 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1085 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1086 Likewise.
1087
7ad47a80 10882012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1089
1090 [BZ #14152]
1091 * math/libm-test.inc (fma_test): Don't always expect underflow
1092 exception.
1093
9c6ea9fa
SP
10942012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1095
1096 [BZ #12416]
1097 * elf/tst-execstack.c: Include stackinfo.h.
1098 (do_test): Adjust test case to ensure that pthread_getattr_np
1099 behaviour remains the same after marking stack executable.
1100
a8239222
JM
11012012-05-25 Joseph Myers <joseph@codesourcery.com>
1102
1103 * sysdeps/unix/sysv/linux/kernel-features.h
1104 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1105 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1106 kernel-features.h.
1107 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1108 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1109 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1110 kernel-features.h.
1111 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1112 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1113
918b5606
L
11142012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1115
1116 * configure.in: Define the default includes to being none.
1117 * configure: Regenerated.
1118
3a097cc7
RM
11192012-05-25 Roland McGrath <roland@hack.frob.com>
1120
8422c9a5
RM
1121 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1122 * sysdeps/x86_64/setjmp.S: Likewise.
1123 * sysdeps/i386/bsd-setjmp.S: Likewise.
1124 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1125 * sysdeps/i386/setjmp.S: Likewise.
1126 * sysdeps/i386/__longjmp.S: Likewise.
1127 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1128 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1129
3a097cc7
RM
1130 * include/stap-probe.h: New file.
1131 * configure.in: Handle --enable-systemtap.
1132 * configure: Regenerated.
1133 * config.h.in (USE_STAP_PROBE): New #undef.
1134 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1135 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1136 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1137
21708942
JM
11382012-05-25 Joseph Myers <joseph@codesourcery.com>
1139
1140 [BZ #13717]
1141 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1142 to 2.4.0 where earlier.
1143 * sysdeps/unix/sysv/linux/configure: Regenerated.
1144 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1145 <kernel-features.h>.
1146 [__ASSUME_32BITUIDS]: Make code unconditional.
1147 [!__ASSUME_32BITUIDS]: Remove conditional code.
1148 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1149 <kernel-features.h>.
1150 [__ASSUME_32BITUIDS]: Make code unconditional.
1151 [!__ASSUME_32BITUIDS]: Remove conditional code.
1152 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1153 [__ASSUME_32BITUIDS]: Make code unconditional.
1154 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1155 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1156 <kernel-features.h>.
1157 [__ASSUME_32BITUIDS]: Make code unconditional.
1158 [!__ASSUME_32BITUIDS]: Remove conditional code.
1159 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1160 <kernel-features.h>.
1161 [__ASSUME_32BITUIDS]: Make code unconditional.
1162 [!__ASSUME_32BITUIDS]: Remove conditional code.
1163 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1164 <kernel-features.h>.
1165 [__ASSUME_32BITUIDS]: Make code unconditional.
1166 [!__ASSUME_32BITUIDS]: Remove conditional code.
1167 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1168 <kernel-features.h>.
1169 [__ASSUME_32BITUIDS]: Make code unconditional.
1170 [!__ASSUME_32BITUIDS]: Remove conditional code.
1171 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1172 <kernel-features.h>.
1173 [__ASSUME_32BITUIDS]: Make code unconditional.
1174 [!__ASSUME_32BITUIDS]: Remove conditional code.
1175 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1176 <kernel-features.h>.
1177 [__ASSUME_32BITUIDS]: Make code unconditional.
1178 [!__ASSUME_32BITUIDS]: Remove conditional code.
1179 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1180 <kernel-features.h>.
1181 [__ASSUME_32BITUIDS]: Make code unconditional.
1182 [!__ASSUME_32BITUIDS]: Remove conditional code.
1183 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1184 <kernel-features.h>.
1185 [__ASSUME_32BITUIDS]: Make code unconditional.
1186 [!__ASSUME_32BITUIDS]: Remove conditional code.
1187 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1188 <kernel-features.h>.
1189 [__ASSUME_32BITUIDS]: Make code unconditional.
1190 [!__ASSUME_32BITUIDS]: Remove conditional code.
1191 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1192 <kernel-features.h>.
1193 [__ASSUME_32BITUIDS]: Make code unconditional.
1194 [!__ASSUME_32BITUIDS]: Remove conditional code.
1195 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1196 <kernel-features.h>.
1197 [__NR_setresgid] (__setresgid): Do not declare.
1198 [__ASSUME_32BITUIDS]: Make code unconditional.
1199 [!__ASSUME_32BITUIDS]: Remove conditional code.
1200 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1201 <kernel-features.h>.
1202 [__NR_setresuid] (__setresuid): Do not declare.
1203 [__ASSUME_32BITUIDS]: Make code unconditional.
1204 [!__ASSUME_32BITUIDS]: Remove conditional code.
1205 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1206 <kernel-features.h>.
1207 [__ASSUME_32BITUIDS]: Make code unconditional.
1208 [!__ASSUME_32BITUIDS]: Remove conditional code.
1209 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1210 <kernel-features.h>.
1211 [__ASSUME_32BITUIDS]: Make code unconditional.
1212 [!__ASSUME_32BITUIDS]: Remove conditional code.
1213 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1214 <kernel-features.h>.
1215 [__ASSUME_32BITUIDS]: Make code unconditional.
1216 [!__ASSUME_32BITUIDS]: Remove conditional code.
1217 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1218 <kernel-features.h>.
1219 [__ASSUME_32BITUIDS]: Make code unconditional.
1220 [!__ASSUME_32BITUIDS]: Remove conditional code.
1221 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1222 <kernel-features.h>.
1223 [__ASSUME_32BITUIDS]: Make code unconditional.
1224 [!__ASSUME_32BITUIDS]: Remove conditional code.
1225 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1226 <kernel-features.h>.
1227 [__ASSUME_32BITUIDS]: Make code unconditional.
1228 [!__ASSUME_32BITUIDS]: Remove conditional code.
1229 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1230 <kernel-features.h>.
1231 [__ASSUME_32BITUIDS]: Make code unconditional.
1232 [!__ASSUME_32BITUIDS]: Remove conditional code.
1233 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1234 <kernel-features.h>.
1235 [__ASSUME_32BITUIDS]: Make code unconditional.
1236 [!__ASSUME_32BITUIDS]: Remove conditional code.
1237 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1238 <kernel-features.h>.
1239 [__ASSUME_32BITUIDS]: Make code unconditional.
1240 [!__ASSUME_32BITUIDS]: Remove conditional code.
1241 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1242 <kernel-features.h>.
1243 [__ASSUME_32BITUIDS]: Make code unconditional.
1244 [!__ASSUME_32BITUIDS]: Remove conditional code.
1245 * sysdeps/unix/sysv/linux/kernel-features.h
1246 (__ASSUME_SETRESUID_SYSCALL): Remove.
1247 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1248 (__ASSUME_32BITUIDS): Likewise.
1249 (__ASSUME_LDT_WORKS): Likewise.
1250 (__ASSUME_O_DIRECTORY): Likewise.
1251 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1252 architecture but not kernel version.
1253 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1254 (__ASSUME_MMAP2_SYSCALL): Likewise.
1255 (__ASSUME_STAT64_SYSCALL): Likewise.
1256 (__ASSUME_IPC64): Likewise.
1257 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1258 <kernel-features.h>.
1259 [__ASSUME_32BITUIDS]: Make code unconditional.
1260 [!__ASSUME_32BITUIDS]: Remove conditional code.
1261 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1262 <kernel-features.h>.
1263 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1264 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1265 132096]: Remove conditional code.
1266 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1267 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1268 <kernel-features.h>.
1269 [__ASSUME_32BITUIDS]: Make code unconditional.
1270 [!__ASSUME_32BITUIDS]: Remove conditional code.
1271 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1272 <kernel-features.h>.
1273 [__ASSUME_32BITUIDS]: Make code unconditional.
1274 [!__ASSUME_32BITUIDS]: Remove conditional code.
1275 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1276 <kernel-features.h>.
1277 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1278 unconditional.
1279 (__setresgid): Do not declare.
1280 [__ASSUME_32BITUIDS]: Make code unconditional.
1281 [!__ASSUME_32BITUIDS]: Remove conditional code.
1282 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1283 <kernel-features.h>.
1284 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1285 unconditional.
1286 (__setresuid): Do not declare.
1287 [__ASSUME_32BITUIDS]: Make code unconditional.
1288 [!__ASSUME_32BITUIDS]: Remove conditional code.
1289 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1290 <kernel-features.h>.
1291 [__ASSUME_32BITUIDS]: Make code unconditional.
1292 [!__ASSUME_32BITUIDS]: Remove conditional code.
1293 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1294 <kernel-features.h>.
1295 [__ASSUME_32BITUIDS]: Make code unconditional.
1296 [!__ASSUME_32BITUIDS]: Remove conditional code.
1297
a386f1cc
RH
12982012-05-25 Richard Henderson <rth@twiddle.net>
1299
1300 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1301 dl_hwcap to ifunc resolver.
1302 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1303 elf_ifunc_invoke.
1304 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1305 dl_hwcap to ifunc resolver.
1306 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1307
b6550497
JM
13082012-05-24 Joseph Myers <joseph@codesourcery.com>
1309
1310 [BZ #14153]
1311 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1312 for |x| <= 2**-26, not 2**-57.
1313 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1314 exception.
1315
b0bc23a1
JL
13162012-05-24 Jeff Law <law@redhat.com>
1317
1318 * stdio-common/Makefile (tests): Add bug25.
1319 * stdio-common/bug25.c: New test.
1320
347c92e9
L
13212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1322
1323 [BZ #13576]
1324 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1325 multiple of MALLOC_ALIGNMENT in size.
1326 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1327
6bcc8b3f
JM
13282012-05-24 Joseph Myers <joseph@codesourcery.com>
1329
1330 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1331 Require >= 256.
1332 (FILENAME_MAX): Use macro-int-constant.
1333 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1334 (_IOFBF): Use macro-int-constant.
1335 (_IOLBF): Likewise.
1336 (_IONBF): Likewise.
1337 (SEEK_CUR): Likewise.
1338 (SEEK_END): Likewise.
1339 (SEEK_SET): Likewise.
1340 (TMP_MAX): Likewise.
1341 (EOF): Use macro-int-constant. Require < 0.
1342 (NULL): Use macro-constant. Require == 0.
1343 (stdin): Require type to be FILE *.
1344 (stdout): Likewise.
1345 (stderr): Likewise.
1346 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1347 macro-int-constant.
1348 (EXIT_SUCCESS): Likewise.
1349 (NULL): Use macro-constant. Require == 0.
1350 (RAND_MAX): Use macro-int-constant.
1351 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1352 [C99-based standards] (strtof): Require function.
1353 [C99-based standards] (strtold): Likewise.
1354 [C99-based standards] (strtoll): Likewise.
1355 [C99-based standards] (strtoull): Likewise.
1356 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1357 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1358 [ISO || ISO99 || ISO11] (math.h): Likewise.
1359 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1360 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1362
d18ea0c5
AS
13632012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1364
1365 [BZ #14132]
56d25bb8
AS
1366 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1367 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1368 * intl/dgettext.c (DCGETTEXT): Likewise.
1369 * intl/gettext.c (DCGETTEXT): Likewise.
1370 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1371 * posix/regex_internal.h (gettext): Likewise.
1372 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1373 Remove declaration.
1374 * include/argz.h (__argz_count_internal)
1375 (__argz_stringify_internal): Remove declaration.
1376 (__argz_count, __argz_stringify): Declare hidden proto.
1377 * intl/dcgettext.c: Remove use of INTDEF.
1378 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1379 * string/argz-stringify.c: Likewise.
1380 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1381 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1382 Declare hidden proto.
d18ea0c5
AS
1383 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1384 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1385 Declare hidden proto.
1386 * include/stdio.h (__asprintf_internal): Don't declare.
1387 (__asprintf): Don't define as macro. Declare hidden proto.
1388 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1389 (__fsetlocking): Declare hidden proto.
1390 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1391 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1392 hidden proto.
1393 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1394 (_IO_setlinebuf): Remove use of INTUSE.
1395 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1396 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1397 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1398 Remove declaration.
1399 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1400 (_IO_do_flush): Remove use of INTUSE.
1401 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1402 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1403 (_IO_adjust_column, _IO_least_wmarker)
1404 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1405 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1406 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1407 (_IO_default_doallocate, _IO_wdefault_doallocate)
1408 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1409 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1410 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1411 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1412 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1413 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1414 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1415 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1416 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1417 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1418 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1419 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1420 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1421 proto.
1422 (_IO_flush_all_internal, _IO_adjust_column_internal)
1423 (_IO_default_uflow_internal, _IO_default_finish_internal)
1424 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1425 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1426 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1427 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1428 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1429 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1430 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1431 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1432 (_IO_file_close_internal, _IO_file_close_it_internal)
1433 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1434 (_IO_file_init_internal, _IO_file_attach_internal)
1435 (_IO_file_fopen_internal, _IO_file_read_internal)
1436 (_IO_file_sync_internal, _IO_file_seek_internal)
1437 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1438 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1439 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1440 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1441 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1442 (_IO_list_all_internal, _IO_link_in_internal)
1443 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1444 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1445 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1446 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1447 (_IO_do_write_internal, _IO_padn_internal)
1448 (_IO_getline_info_internal, _IO_getline_internal)
1449 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1450 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1451 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1452 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1453 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1454 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1455 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1456 with libc_hidden_ver, remove use of INTUSE.
1457 * libio/genops.c: Likewise.
1458 * libio/freopen.c: Likewise.
1459 * libio/freopen64.c: Likewise.
1460 * libio/iofclose.c: Likewise.
1461 * libio/iofdopen.c: Likewise.
1462 * libio/iofflush.c: Likewise.
1463 * libio/iofflush_u.c: Likewise.
1464 * libio/iofgets.c: Likewise.
1465 * libio/iofgets_u.c: Likewise.
1466 * libio/iofopen.c: Likewise.
1467 * libio/iofopncook.c: Likewise.
1468 * libio/iofread.c: Likewise.
1469 * libio/iofread_u.c: Likewise.
1470 * libio/ioftell.c: Likewise.
1471 * libio/iofwrite.c: Likewise.
1472 * libio/iogetline.c: Likewise.
1473 * libio/iogets.c: Likewise.
1474 * libio/iogetwline.c: Likewise.
1475 * libio/iopadn.c: Likewise.
1476 * libio/iopopen.c: Likewise.
1477 * libio/ioseekoff.c: Likewise.
1478 * libio/ioseekpos.c: Likewise.
1479 * libio/iosetbuffer.c: Likewise.
1480 * libio/iosetvbuf.c: Likewise.
1481 * libio/ioungetc.c: Likewise.
1482 * libio/ioungetwc.c: Likewise.
1483 * libio/iovdprintf.c: Likewise.
1484 * libio/iovsprintf.c: Likewise.
1485 * libio/iovsscanf.c: Likewise.
1486 * libio/memstream.c: Likewise.
1487 * libio/obprintf.c: Likewise.
1488 * libio/oldfileops.c: Likewise.
1489 * libio/oldiofclose.c: Likewise.
1490 * libio/oldiofdopen.c: Likewise.
1491 * libio/oldiofopen.c: Likewise.
1492 * libio/oldiopopen.c: Likewise.
1493 * libio/oldstdfiles.c: Likewise.
1494 * libio/putc.c: Likewise.
1495 * libio/setbuf.c: Likewise.
1496 * libio/setlinebuf.c: Likewise.
1497 * libio/stdfiles.c: Likewise.
1498 * libio/strops.c: Likewise.
1499 * libio/vasprintf.c: Likewise.
1500 * libio/vscanf.c: Likewise.
1501 * libio/vsnprintf.c: Likewise.
1502 * libio/vswprintf.c: Likewise.
1503 * libio/wfiledoalloc.c: Likewise.
1504 * libio/wfileops.c: Likewise.
1505 * libio/wgenops.c: Likewise.
1506 * libio/wmemstream.c: Likewise.
1507 * libio/wstrops.c: Likewise.
1508 * libio/__fpurge.c: Likewise.
1509 * libio/__fsetlocking.c: Likewise.
1510 * assert/assert.c: Likewise.
1511 * debug/fgets_chk.c: Likewise.
1512 * debug/fgets_u_chk.c: Likewise.
1513 * debug/fread_chk.c: Likewise.
1514 * debug/fread_u_chk.c: Likewise.
1515 * debug/gets_chk.c: Likewise.
1516 * debug/obprintf_chk.c: Likewise.
1517 * debug/vasprintf_chk.c: Likewise.
1518 * debug/vdprintf_chk.c: Likewise.
1519 * debug/vsnprintf_chk.c: Likewise.
1520 * debug/vsprintf_chk.c: Likewise.
1521 * malloc/mtrace.c: Likewise.
1522 * misc/error.c: Likewise.
1523 * misc/syslog.c: Likewise.
1524 * stdio-common/asprintf.c: Likewise.
1525 * stdio-common/fxprintf.c: Likewise.
1526 * stdio-common/getw.c: Likewise.
1527 * stdio-common/isoc99_fscanf.c: Likewise.
1528 * stdio-common/isoc99_scanf.c: Likewise.
1529 * stdio-common/isoc99_vfscanf.c: Likewise.
1530 * stdio-common/isoc99_vscanf.c: Likewise.
1531 * stdio-common/isoc99_vsscanf.c: Likewise.
1532 * stdio-common/printf-prs.c: Likewise.
1533 * stdio-common/printf_fp.c: Likewise.
1534 * stdio-common/printf_fphex.c: Likewise.
1535 * stdio-common/printf_size.c: Likewise.
1536 * stdio-common/putw.c: Likewise.
1537 * stdio-common/scanf.c: Likewise.
1538 * stdio-common/sprintf.c: Likewise.
1539 * stdio-common/tmpfile.c: Likewise.
1540 * stdio-common/vfprintf.c: Likewise.
1541 * stdio-common/vfscanf.c: Likewise.
1542 * stdlib/strfmon_l.c: Likewise.
1543 * sunrpc/openchild.c: Likewise.
1544 * sunrpc/xdr_stdio.c: Likewise.
1545 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
1546 * sysdeps/mach/hurd/tmpfile.c: Likewise.
1547
d6c33fda
RM
15482012-05-24 Roland McGrath <roland@hack.frob.com>
1549
c1487492
RM
1550 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1551
1552 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
1553 in the third column, to generate for the shared library an IFUNC
1554 that uses _dl_vdso_vsym.
1555 * Makerules (COMPILE.c, compile-stdin.c): New variables.
1556 * Makeconfig (object-suffixes-noshared): New variable.
1557
1558 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
1559 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
1560 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
1561 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
1562
d6c33fda
RM
1563 [BZ #14132]
1564 * include/sys/time.h (__gettimeofday): Remove macro.
1565 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
1566 * time/gettimeofday.c (__gettimeofday): Remove #undef.
1567 Remove INTDEF.
1568 (__gettimeofday): Add libc_hidden_def.
1569 (gettimeofday): Add libc_hidden_weak.
1570 * sysdeps/mach/gettimeofday.c: Likewise.
1571 * sysdeps/posix/gettimeofday.c: Likewise.
1572 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1573 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
1575 (__gettimeofday_internal): Remove strong_alias.
1576 (__gettimeofday): Add libc_hidden_def.
1577 (gettimeofday): Add libc_hidden_weak.
1578 * sysdeps/unix/syscalls.list (gettimeofday):
1579 Remove __gettimeofday_internal alias.
1580
b5a2bbe6
L
15812012-05-24 Daniel Jacobowitz <drow@false.org>
1582 H.J. Lu <hongjiu.lu@intel.com>
1583
1584 [BZ #12495]
1585 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
1586 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
1587 (largebin_index_32_big): New.
1588 (largebin_index): Use it for 16-byte alignment.
1589 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
1590 correction with front_misalign.
1591
cfba4fda
L
15922012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1593
7f907421
L
1594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
1595 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1596 Likewise.
1597 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
1598 Likewise.
1599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1600 Likewise.
1601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
1602 Likewise.
1603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
1604 Likewise.
1605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
1606 Likewise.
1607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
1608 Likewise.
1609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1610 Likewise.
1611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
1612 Likewise.
1613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
1614 Likewise.
1615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1616 Likewise.
1617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
1618 Likewise.
1619
cfba4fda
L
1620 * scripts/data/c++-types-x32-linux-gnu.data: New file.
1621 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
1622
80bad0cc
JM
16232012-05-24 Joseph Myers <joseph@codesourcery.com>
1624
7a25eb06
JM
1625 [BZ #10846]
1626 [BZ #14036]
1627 * math/libm-test.inc (exp_test): Add test from bug 14036.
1628 (pow_test): Add test from bug 10846.
1629
795405f9
JM
1630 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
1631 and other flags.
1632 (special_function): Do not include flags in test name.
1633 (parse_args): Likewise.
1634 * sysdeps/i386/fpu/libm-test-ulps: Update.
1635 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1636 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1637 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1639
80bad0cc
JM
1640 * math/gen-libm-test.pl (%beautify): Add entries for underflow
1641 exceptions.
1642 * math/libm-test.inc ("Philosophy"): Update comment about
1643 exception testing.
1644 (UNDERFLOW_EXCEPTION): New macro.
1645 (UNDERFLOW_EXCEPTION_OK): Likewise.
1646 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1647 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1648 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1649 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1650 (INVALID_EXCEPTION_OK): Update value.
1651 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1652 (OVERFLOW_EXCEPTION_OK): Likewise.
1653 (IGNORE_ZERO_INF_SIGN): Likewise.
1654 (test_exceptions): Handle underflow exceptions.
1655 (acos_test): Update for underflow exception expectations.
1656 (cexp_test): Likewise.
1657 (clog_test): Likewise.
1658 (clog10_test): Likewise.
1659 (csqrt_test): Likewise.
1660 (ctan_test): Likewise.
1661 (ctanh_test): Likewise.
1662 (exp_test): Likewise.
1663 (exp10_test): Likewise.
1664 (exp2_test): Likewise.
1665 (expm1_test): Likewise.
1666 (fma_test): Likewise.
1667 (j0_test): Likewise.
1668 (jn_test): Likewise.
1669 (nexttoward_test): Likewise.
1670 (pow_test): Likewise.
1671 (scalbn_test): Likewise.
1672 (scalbln_test): Likewise.
1673 (tan_test): Likewise.
1674 (y1_test): Likewise.
1675 * sysdeps/i386/fpu/libm-test-ulps: Update.
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1677
9e0e3d0b
DM
16782012-05-23 David S. Miller <davem@davemloft.net>
1679
1680 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1681 (__libc_sigaction): Remove unused local variables.
1682
ccd0a08f
L
16832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1684
1685 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1686
62bdf9a6
PE
16872012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1688
f8591f80
PE
1689 mktime: avoid signed integer overflow
1690 * time/mktime.c (__mktime_internal): Do not mishandle the case
1691 where diff == INT_MIN.
1692
94c7d826
PE
1693 mktime: simplify computation of average
1694 * time/mktime.c (ranged_convert): Use new time_t_avg function
1695 instead of rolling our own (probably-slower) code.
1696
ce73d683
PE
1697 mktime: do not assume signed right shift propagates sign bit
1698 * time/mktime.c (isdst_differ): New static function.
1699 (__mktime_internal): No need to normalize tm_isdst now.
1700 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1701 tm_isdst values.
1702
72a22e59
PE
1703 mktime: merge another wrapv change from gnulib
1704 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1705 from some compilers.
1706
68605433
PE
1707 mktime: remove incorrect attempt at unusual arithmetics
1708 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1709 The code didn't really work on such machines anyway.
1710 (TYPE_MINIMUM): Assume two's complement.
1711 (twos_complement_arithmetic): Verify that long_int and time_t
1712 are two's complement (or unsigned, in the latter case).
1713
03cf7fe3
PE
1714 mktime: check signed shifts on long_int and time_t, too
1715 * time/mktime.c (SHR): Check that shifts work as desired
1716 on the types long_int and time_t too, as SHR is used on
1717 such types.
1718
f04dfbc2
PE
1719 mktime: do not assume 'long' is wide enough
1720 * time/mktime.c (verify): Move decl up.
1721 (long_int): New type.
1722 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1723 to remove assumption in the code that 'long' is wide enough to
1724 store year values. This assumption is not true on x32 and on
1725 some non-glibc platforms.
1726
62bdf9a6
PE
1727 mktime: merge wrapv change from gnulib
1728 * time/mktime.c (WRAPV): New macro.
1729 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1730 (guess_time_tm, __mktime_internal): Do not assume that signed
1731 integer overflow wraps around; modern compilers generate code
1732 where this assumption is no longer valid.
1733
5e292e4f
L
17342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1737 Replace "jmp L(pseudo_end)" with "ret".
1738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1739 Likewise.
1740
8caf8c87
AJ
17412012-05-23 Andreas Jaeger <aj@suse.de>
1742
1743 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1744 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1745
1a09dc56
AJ
17462012-05-23 Andreas Jaeger <aj@suse.de>
1747 Maximilian Attems <max@stro.at>
1748
1749 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1750 New macros.
1751
1c87aba0
L
17522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1753
1754 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1755 code so that pseudo_end is just ret and the stack pointer is
1756 correct also for static library in error case.
1757
40e45bd5
JM
17582012-05-23 Joseph Myers <joseph@codesourcery.com>
1759
c2670533
JM
1760 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1761 move to syscalls.list.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1766
40e45bd5
JM
1767 * manual/install.texi (Running make install): Do not mention Linux
1768 kernel version for which pt_chown is not needed.
1769 (Linux): Do not mention problems with nscd with 2.0 kernels.
1770 * INSTALL: Regenerated.
1771
be08eda5
AJ
17722012-05-23 Andreas Jaeger <aj@suse.de>
1773
1774 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1775 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1776 macro.
1777 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1778 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1779 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1780 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1781 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1782 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1783 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1784 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1785 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1786 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1787 * sysdeps/unix/sysv/linux/bits/in.h
1788 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1789
a6a056bb
RM
17902012-05-22 Roland McGrath <roland@hack.frob.com>
1791
1792 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1793 (PREPARE_VERSION): Just use assert instead, it will be elided
1794 under [NDEBUG] anyway.
1795
c9009328
L
17962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1797
1798 * sysdeps/unix/sysv/linux/Makefile: Include
1799 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 1800 (sysdep_routines): Remove sysctl.
c9009328
L
1801 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1802 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1803 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1804 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1805 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1806
73338355
AJ
18072012-05-22 Andreas Jaeger <aj@suse.de>
1808
1809 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1810 that pseudo_end is just ret and the stack pointer is correct also
1811 for static library in error case.
1812
d44638b0
PP
18132012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1814
1815 [BZ #14122]
1816 * nss/nsswitch.c (defconfig_entries): New variable.
1817 (__nss_database_lookup): Don't leak defconfig entries.
1818 (nss_parse_service_list): Don't leak on error paths.
1819 (free_database_entries): New function.
1820 (free_defconfig): New function.
1821 (free_mem): Move common code to free_database_entries.
1822
31a39bd8
L
18232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1824
da0331a8
L
1825 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1826 Add arch_prctl.
1827 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1828
31a39bd8
L
1829 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1830 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1832 New macro.
1833 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1834 (INTERNAL_SYSCALL_TYPES): Likewise.
1835 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1836 (LOAD_REGS_TYPES_[1-6]): Likewise.
1837 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1838 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1839
45470df3
AZ
18402012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1841
1842 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1843 copysignl for GLIBC_2_0.
1844 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1845 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1846 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1847 logbl for GLIBC_2_0.
1848 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1849 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1850
98a61bcb
L
18512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1852
a4f6e481
L
1853 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1854 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1855
f63d5db6
L
1856 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1857 Use "neg %eax".
1858
98a61bcb
L
1859 * time/mktime.c: Update copyright years.
1860
95770f14
PE
18612012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1862
6226efbd
PE
1863 mktime: merge comment-quoting-style change from gnulib
1864 * time/mktime.c: Quote 'like this' in comments.
1865 The GNU coding standards suggest that we no longer quote `like this',
1866 as "`" and "'" are typically rendered asymmetrically nowadays.
1867 The typical gnulib style is to quote 'like this' when quoting
1868 code, and "like this" when quoting English.
1869
b99e4f78
PE
1870 * time/mktime.c (compile-command): Add "-I.".
1871
643e01e6
PE
1872 mktime: merge mktime-internal.h change from gnulib
1873 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1874
2554247d
PE
1875 mktime: merge time_r change from gnulib
1876 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1877
826dd0ab
PE
1878 mktime: merge DEBUG change from gnulib
1879 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1880 case system <time.h> has a #define.
1881
bd83aabe
PE
1882 mktime: merge <sys/types.h> change from gnulib
1883 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1884 since <time.t> is now guaranteed to define time_t.
1885
95770f14
PE
1886 mktime: merge HAVE_CONFIG_H change from gnulib
1887 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1888
5e1a27a9
L
18892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1890
0e44a77e
L
1891 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1892 Use "neg %eax".
1893
5e1a27a9
L
1894 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1895 __rlim_t cast.
1896 (struct rusage): Use anonymous union to pad each field to
1897 __syscall_slong_t.
1898
46259bec
DM
18992012-05-21 David S. Miller <davem@davemloft.net>
1900
1901 * Makefules (o-iterator): Remove .s cases.
1902 (compile-command.s): Delete.
1903 (COMPILE.s): Delete.
1904 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1905
59f0c22e
JM
19062012-05-21 Joseph Myers <joseph@codesourcery.com>
1907
1908 * configure.in (libc_cv_predef_stack_protector): Only consider
1909 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1910 * configure: Regenerated.
1911
20c07380
L
19122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1913
bbb3154b
L
1914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1915 New macro. Use R*LP on int and pointer.
1916 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1917 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1918 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1919 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1920
20c07380
L
1921 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1922 [__WORDSIZE_TIME64_COMPAT32] instead of
1923 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1924 (struct utmp): Likewise.
1925 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1926 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1927 Renamed to ...
1928 (__WORDSIZE_TIME64_COMPAT32): This.
1929 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1930 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1931 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1932 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1933 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1934 (__WORDSIZE_TIME64_COMPAT32): New macro.
1935
d8d1017e
AJ
19362012-05-21 Andreas Jaeger <aj@suse.de>
1937
1938 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1939 only if [SHARED]. Add prototype for __wcschr_ia32.
1940
6c7fb145
RM
19412012-05-21 Roland McGrath <roland@hack.frob.com>
1942
1943 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1944 of %rbp unmolested in the jmp_buf while mangling the low bits.
1945 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1946 unmolested high bits of %rbp while demangling the low bits.
1947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1948
66274218
AJ
19492012-05-21 Andreas Jaeger <aj@suse.de>
1950
07c58f8f
AJ
1951 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1952 * sunrpc/svc_simple.c: Use it for registerrpc.
1953 * sunrpc/xcrypt.c: Use it for passwd2des.
1954
66274218
AJ
1955 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1956
61f65140
L
19572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1960 Don't define if [__SYSCALL_WORDSIZE != 32].
1961 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1962 New macro.
1963
5fefb436
AJ
19642012-05-21 Bruno Haible <bruno@clisp.org>
1965 Andreas Jaeger <aj@suse.de>
1966
1967 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1968 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1969 inptr and inend for must_buffer_ch.
1970 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1971 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1972 * stdio-common/Makefile (tests): Remove bug15.
1973 (bug15-ENV): Remove macro.
1974 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1975 anymore.
1976
d8e272ab
AJ
19772012-05-19 Andreas Jaeger <aj@suse.de>
1978 Roland McGrath <roland@hack.frob.com>
1979
1980 * manual/contrib.texi: Completely rewritten. It contains now an
1981 alphabetical list of contributors and their contributions.
1982
4a56a162
RH
19832012-05-21 Richard Henderson <rth@twiddle.net>
1984
1985 * misc/getauxval.c (__getauxval): Use unsigned long int.
1986 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1987 (getauxval): Use unsigned long int.
1988
d024d23c
L
19892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1990
1991 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1992
cbc00a03
RM
19932012-05-21 Roland McGrath <roland@hack.frob.com>
1994
1995 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1996 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1997 __alignof__ (long double).
1998
478143fa
AZ
19992012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2000
2001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2002
c7683a6d
RH
20032012-05-20 Richard Henderson <rth@twiddle.net>
2004
2005 * misc/getauxval.c: New file.
2006 * misc/sys/auxv.h: New file.
2007 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2008 (routines): Add getauxval.
2009 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2010 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2011 * elf/dl-sysdep.c (_dl_auxv): Remove.
2012 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2013 * elf/dl-support.c (_dl_auxv): New variable.
2014 (_dl_aux_init): Initialize it.
2015 * manual/startup.texi (Auxiliary Vector): New node.
2016 * sysdeps/generic/bits/hwcap.h: New file.
2017 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2018 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2019 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2020 * sysdeps/sparc/sysdep.h: ... here. Include it.
2021 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2022 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2024 Update.
c7683a6d
RH
2025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2028 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2030 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2032 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2033
a6f1845d
AZ
20342012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035
2036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2037
cbcbe830
DM
20382012-05-19 David S. Miller <davem@davemloft.net>
2039
2040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2041
e0b16cc2
JM
20422012-05-19 Joseph Myers <joseph@codesourcery.com>
2043
2044 [BZ #14123]
2045 * math/s_ccosh.c: Include <float.h>
2046 (__ccosh): Avoid internal overflow calculating sinh and cosh
2047 values before multiplying by sin and cos values.
2048 * math/s_ccoshf.c: Likewise.
2049 * math/s_ccoshl.c: Likewise.
2050 * math/s_csin.c: Likewise.
2051 * math/s_csinf.c: Likewise.
2052 * math/s_csinl.c: Likewise.
2053 * math/s_csinh.c: Likewise.
2054 * math/s_csinhf.c: Likewise.
2055 * math/s_csinhl.c: Likewise.
2056 * math/libm-test.inc (ccos_test): Add more tests.
2057 (ccosh_test): Likewise.
2058 (csin_test): Likewise.
2059 (csinh_test): Likewise.
2060 * sysdeps/i386/fpu/libm-test-ulps: Update.
2061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2062
6ad13e08
L
20632012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2064
f66f0ce8
L
2065 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2066 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2067
6ad13e08
L
2068 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2069
b1d072a7
JM
20702012-05-19 Joseph Myers <joseph@codesourcery.com>
2071
2072 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2073 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2074 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2075 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2076 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2077 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2078 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2079 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2080 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2081 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2082 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2083 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2084 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2085 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2086 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2087 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2088 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2089 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2090 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2091 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2092 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2093 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2094 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2095 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2096 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2097 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2098 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2099 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2100 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2101 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2102 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2103
9eae47cb
AJ
21042012-05-18 Andreas Jaeger <aj@suse.de>
2105
2106 * csu/.gitignore: Delete.
2107
bb07f69f
L
21082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2109
2110 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2111 (timex): Use __syscall_slong_t.
2112
e6bdb741
AJ
21132012-05-18 Andreas Jaeger <aj@suse.de>
2114 Carlos O'Donell <carlos_odonell@mentor.com>
2115
2116 * manual/install.texi (Configuring and compiling): Update
2117 description about files modified in the source directory.
d6c33fda 2118 * INSTALL: Regenerated.
e6bdb741 2119
1b74487e
L
21202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2121
2122 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2123 value. Use "or" to set return value to -1.
2124 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2125 negate return value.
2126
a88b64b9
TMQMF
21272012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2128
2129 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2130 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2131 failure if the compiler has Graphite support disabled.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2133 Likewise.
2134 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2135 CFLAGS-memmove.c): Likewise.
2136 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2137 Likewise.
2138
3707636e
L
21392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2140
610b8622
L
2141 * sysdeps/x86_64/x32/_itoa.h: New file.
2142
7cd195df
L
2143 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2144 getdents system call only if kernel and user dirents have the
2145 same d_ino and d_off.
2146
94b07d20
L
2147 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2148 LLONG_MAX != LONG_MAX.
2149 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2150 (_fitoa_word): Likewise.
2151
18298070
L
2152 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2153 years.
2154 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2155 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2156 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2157
553c7ea4
L
2158 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2159 include <bits/wordsize.h>. Check __x86_64__ instead of
2160 __WORDSIZE.
2161 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2162 if __x86_64__ is defined. Use anonymous union on fpstate.
2163
3707636e
L
2164 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2165 anonymous union.
2166
b53ef01a
AS
21672012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2168
37fb1dc0
AS
2169 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2170 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2171 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2172 Refer to _rtld_local_ro instead of _rtld_global_ro.
2173 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2174 Likewise.
2175 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2176 Likewise.
2177 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2178 Likewise.
2179 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2180 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2181 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2182
b53ef01a
AS
2183 * sysdeps/powerpc/powerpc32/dl-machine.c
2184 (__elf_machine_runtime_setup) [PROF]: Don't reference
2185 _dl_prof_resolve.
2186
7a185db2
AJ
21872012-05-18 Andreas Jaeger <aj@suse.de>
2188
2189 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2190 function only available for GCCs before 3.4 since GCC 3.4
2191 introduced a builtin.
2192 (lrint): Likewise.
2193 (llrintf): Likewise.
2194 (llrint): Likewise.
2195 (fmaxf): Likewise.
2196 (fmax): Likewise.
2197 (fminf): Likewise.
2198 (fmin): Likewise.
2199 (rint): Likewise.
2200 (rintf): Likewise.
2201 (nearbyint): Likewise.
2202 (nearbyintf): Likewise.
2203 (ceil): Likewise.
2204 (ceilf): Likewise.
2205 (floor): Likewise.
2206 (floorf): Likewise.
2207
3e5aef87
L
22082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2209
428bd707
L
2210 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2211 on both fields and cast pointer to __syscall_ulong_t.
2212
3e5aef87
L
2213 * bits/types.h (__fsword_t): New type.
2214 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2215 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2216 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2217 (__FSWORD_T_TYPE): Likewise.
2218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2219 (__FSWORD_T_TYPE): Likewise.
2220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2221 (__FSWORD_T_TYPE): Likewise.
2222 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2223 (__FSWORD_T_TYPE): Likewise.
2224 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2225 __SWORD_TYPE with __fsword_t.
2226 (statfs64): Likewise.
2227
1ba7c3dc
DM
22282012-05-17 David S. Miller <davem@davemloft.net>
2229
2230 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2231
59910343
AJ
22322012-05-17 Andreas Jaeger <aj@suse.de>
2233
2234 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2235 warning.
2236
2e4c1e9e
L
22372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2238
2239 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2240
de7f5ce7
AJ
22412012-05-17 Andreas Jaeger <aj@suse.de>
2242
2243 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2244 when it is used.
2245
286abc3d
CM
22462012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2247
2248 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2249
477cc68e
L
22502012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2251
2252 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2253 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2254
1a0994f5
CD
22552012-05-17 Andreas Jaeger <aj@suse.de>
2256 Carlos O'Donell <carlos_odonell@mentor.com>
2257
2258 [BZ #14059]
2259 * sysdeps/x86_64/multiarch/init-arch.h
2260 (bit_YMM_Usable): Rename to...
2261 (bit_AVX_Usable): ... this.
2262 (bit_FMA4_Usable): New macro.
2263 (bit_XMM_state): New macro.
2264 (bit_YMM_state): New macro.
2265 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2266 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2267 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2268 (CPUID_OSXSAVE): New macro.
2269 (CPUID_AVX): New macro.
2270 (CPUID_FMA4): New macro.
2271 (index_YMM_Usable): Rename to...
2272 (index_AVX_Usable): ... this.
2273 (HAS_AVX): Use HAS_ARCH_FEATURE.
2274 (HAS_FMA4): Likewise.
2275 (HAS_YMM_USABLE): Remove.
2276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2277 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2278 are present.
2279 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2280 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2281 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2282 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2283 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2284
0af797de
CM
22852012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2286
2287 * math/libm-test.c: Support platforms without multiple rounding modes.
2288 * math/bug-nextafter.c: Support platforms without FP exceptions.
2289 * math/bug-nexttoward.c: Likewise.
2290 * math/test-fenv.c: Likewise.
2291 * math/test-misc.c: Likewise.
2292 * stdlib/bug-getcontext.c: Likewise.
2293
e39745ff
AJ
22942012-05-17 Andreas Jaeger <aj@suse.de>
2295
2296 * manual/examples/search.c (critter_cmp): Change signature to
2297 avoid warnings.
2298 * manual/string.texi (Collation Functions): Likewise.
2299
48970aba
L
23002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2301
2302 * bits/types.h: Fold copyright years.
2303 * bits/typesizes.h: Likewise.
2304 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2307 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2308 * time/time.h: Likewise.
2309
bedee953
PP
23102012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2311
2312 [BZ #208]
2313 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2314 in instead of returning them. Return void.
2315 (__libc_mallinfo): Accumulate over all arenas.
2316 (__malloc_stats): Adjust for change in int_mallinfo interface.
2317
61653dfb
RM
23182012-05-16 Roland McGrath <roland@hack.frob.com>
2319
30b99d79
RM
2320 [BZ #10375]
2321 * configure.in (NM): Add AC_CHECK_TOOL for it.
2322 (libc_extra_cflags): New substituted variable.
2323 Check for -fstack-protector being used implicitly.
2324 * configure: Regenerated.
2325 * config.make.in (config-extra-cflags): New variable,
2326 gets @libc_extra_cflags@.
2327 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2328
61653dfb
RM
2329 [BZ #10375]
2330 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2331 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2332 * configure: Regenerated.
2333 * config.make.in (CPPUNDEFS): New substituted variable.
2334 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2335 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2336 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2337
661768bb
L
23382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2339
2340 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2341 (mq_attr): Use __syscall_slong_t.
2342
d4261567
L
23432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2344
2345 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2346 Check __x86_64__ instead of __WORDSIZE.
2347 (_STAT_VER_LINUX): Likewise.
2348 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2349 __syscall_ulong_t and __syscall_slong_t.
2350 (stat64): Likewise.
2351
cf3ff365
L
23522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2353
2354 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2355
76cf3e4d
L
23562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2357
2358 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2359
a637753a
L
23602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2361
2362 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2363 __syscall_ulong_t.
2364
d5e05119
L
2365 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2366 include <bits/wordsize.h>. Check __x86_64__ instead of
2367 __WORDSIZE.
2368 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2369 defined.
2370 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2371
f62ee380
L
2372 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2373 include <bits/wordsize.h>. Check __x86_64__ instead of
2374 __WORDSIZE.
2375 (user_regs_struct): Use "__extension__ unsigned long long"
2376 instead of "unsigned long" if __x86_64__ is defined.
2377 (user): Likewise. Pad after pointer field if __ILP32__ is
2378 defined.
2379
4e124ced
JM
23802012-05-16 Joseph Myers <joseph@codesourcery.com>
2381
6a3951a0
JM
2382 * configure.in (makeinfo): Require version 4.5 or later. Allow
2383 versions 5 to 9.
2384 * configure: Regenerated.
2385 * manual/install.texi (texinfo): Increase version requirement to
2386 4.5 or later.
2387 * INSTALL: Regenerated.
2388
4e124ced
JM
2389 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2390
953ca31a
L
23912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2392
2393 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2394
617aca05
L
2395 * sysdeps/x86_64/x32/ffs.c: New file.
2396
5762f7ae
L
2397 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2398 __syscall_ulong_t.
2399 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2400 defined. Use __syscall_ulong_t.
2401 (shminfo): Use __syscall_ulong_t.
2402 (shm_info): Likewise.
2403
a26b6856
L
2404 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2405 __syscall_ulong_t.
2406
cb2b9ef7
L
2407 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2408 <bits/wordsize.h>.
2409 (msgqnum_t): Use __syscall_ulong_t.
2410 (msglen_t): Likewise.
2411 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2412 __syscall_ulong_t.
2413
34683bb0
L
2414 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2415 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2416
84a68786
L
2417 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2418
48baa5f1
L
2419 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2420 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2421
180be88b
L
2422 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2423 __syscall_slong_t.
2424
5e90c8ad
L
2425 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2426 include <bits/wordsize.h>. Check __x86_64__ instead of
2427 __WORDSIZE.
2428
23dfb58b
L
2429 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2430 "unsigned long long int" if __x86_64__ is defined.
2431 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2432
ce5d54b0
L
2433 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2434 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2435 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2436
13dc9eac
L
2437 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2438 <stdint.h>.
2439 (GET_PC): Cast to uintptr_t first.
2440 (GET_FRAME): Likewise.
2441 (GET_STACK): Likewise.
2442
a7895d15
L
2443 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2444 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2445 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2446 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2447 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2448 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2449 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2450 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2451 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2452 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2453 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2454 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2455 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2456 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2457 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2458 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2459 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2460 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2461 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2462 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2463 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2464 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2465 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2466 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2467 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2468 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2469 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2470 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2471 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2472
656416c9
AS
24732012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2474
5bd66283
AS
2475 * Makerules (+depfiles): Also collect depfiles from .oS in
2476 $(extra-objs).
2477 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2478 .oS, $(libnldbl-routines)).
2479
656416c9
AS
2480 * Makerules (native-compile-mkdep-flags): Define.
2481 * sunrpc/Makefile (extra-objs): Add $(addprefix
2482 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2483 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2484 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2485 calling $(make-target-directory).
2486
a46f2169
L
24872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 * bits/types.h (__snseconds_t): Removed.
2490 * time/time.h (struct timespec): Replace __snseconds_t with
2491 __syscall_slong_t.
2492 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2493 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2494 Likewise.
2495 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2496 (__SNSECONDS_T_TYPE): Likewise.
2497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2498 (__SNSECONDS_T_TYPE): Likewise.
2499 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2500 (__SNSECONDS_T_TYPE): Likewise.
2501
6af6528b
L
25022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2503
2504 * sysdeps/mach/hurd/bits/typesizes.h
2505 (__SYSCALL_SLONG_TYPE): New macro.
2506 (__SYSCALL_ULONG_TYPE): Likewise.
2507
de986b56
L
25082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2509
2510 * bits/types.h (__syscall_slong_t): New type.
2511 (__syscall_ulong_t): Likewise.
2512
2513 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2514 (__SYSCALL_ULONG_TYPE): Likewise.
2515 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2516 (__SYSCALL_SLONG_TYPE): Likewise.
2517 (__SYSCALL_ULONG_TYPE): Likewise.
2518 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2519 (__SYSCALL_SLONG_TYPE): Likewise.
2520 (__SYSCALL_ULONG_TYPE): Likewise.
2521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2522 (__SYSCALL_SLONG_TYPE): Likewise.
2523 (__SYSCALL_ULONG_TYPE): Likewise.
2524
85736dc7
L
25252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2528 Add sigaltstack-offsets.sym.
2529 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2530 <sigaltstack-offsets.h>.
2531 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2532 longjmp_msg pointer.
2533 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2534 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2535 signal stack.
2536 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2537
cc03b296
JM
25382012-05-15 Joseph Myers <joseph@codesourcery.com>
2539
a9538892
JM
2540 * elf/stackguard-macros.h: Remove file.
2541 * sysdeps/generic/stackguard-macros.h: New file.
2542 * sysdeps/i386/stackguard-macros.h: Likewise.
2543 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2544 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2545 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2546 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2547 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2548 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2549 * sysdeps/x86_64/stackguard-macros.h: Likewise.
2550 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
2551 <elf/stackguard-macros.h>.
2552
cc03b296
JM
2553 [BZ #14109]
2554 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
2555 __aligned__ in attribute.
2556 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
2557 (gregset_t): Likewise.
2558
93171016
L
25592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2560
2561 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
2562 * sysdeps/x86_64/64/Implies-after: Here. New file.
2563 * sysdeps/x86_64/x32/Implies-after: New file.
2564
d86813a0
L
25652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2566
2567 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
2568 and access return value for _dl_profile_fixup. Use R10_LP to
2569 load frame size.
2570
2953ec75
L
25712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2572
2573 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
2574
3b550e9e
L
25752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2576
2577 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
2578 * sysdeps/x86_64/x32/sysdep.h: New file.
2579
eda41706
L
25802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2581
2582 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
2583 * sysdeps/x86_64/setjmp.S: Likewise.
2584
9ea01d93
AZ
25852012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2586
2587 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
2588 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
2589 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
2590 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
2591 remove unused global constant.
2592
02a91938
CM
25932012-05-15 Chris Metcalf <cmetcalf@tilera.com>
2594
2595 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
2596 include of <not-cancel.h>.
2597
6540185f
RM
25982012-05-15 Roland McGrath <roland@hack.frob.com>
2599
2600 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
2601
509072a0
AJ
26022012-05-15 Jeff Law <law@redhat.com>
2603 Andreas Jaeger <aj@suse.de>
2604
2605 [BZ #13594]
2606 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
2607 out from...
2608 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
2609 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
2610 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
2611 code changing __hst_map_handle.map.
2612
ba75122d
RM
26132012-05-15 Roland McGrath <roland@hack.frob.com>
2614
2615 * configure.in (sysnames): Look for Implies-before and Implies-after
2616 files.
2617 * configure: Regenerated.
2618
890d8bd8
L
26192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2620
2621 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
2622 8-byte data alignment with LP_SIZE alignment.
2623
f6ee6623
L
26242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2625
2626 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
2627 into R10_LP.
2628
ea2626f6
L
26292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2630
2631 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
2632
085f715e
L
26332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2634
2635 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
2636 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
2637 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
2638 Likewise.
2639 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2640
be8498fc
L
26412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
2644 (stackinfo_sub_sp): Likewise.
2645
70bc83b9
L
26462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2647
2648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
2649 RAX_LP.
2650
9bc0b730
L
26512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2652
2653 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
2654 into R*_LP.
2655
6d2850e7
L
26562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2657
2658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
2659 sizes into R*_LP.
2660
3cb84561
L
26612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2662
2663 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
2664
54e2ed81
L
26652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2666
2667 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
2668 into R11_LP and load __x86_64_shared_cache_size_half into
2669 R8_LP.
2670
8a17f349
L
26712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2672
2673 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
2674 R8_LP.
2675
777b1eea
AZ
26762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2677
2678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
2679 logb for POWER7.
2680 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
2681 logbf for POWER7.
2682 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2683 logbl for POWER7.
2684 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2685 powerpc32/power7/fpu/s_logb.c via #include.
2686 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2687 powerpc32/power7/fpu/s_logbf.c via #include.
2688 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2689 powerpc32/power7/fpu/s_logbl.c via #include.
2690
d20d4ac2
JM
26912012-05-15 Joseph Myers <joseph@codesourcery.com>
2692
2693 * README.libm: Remove file.
2694
6cdef1ab
L
26952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2696
2697 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2698 count for x32. Use R*_LP and omit operand-size suffix.
2699
0b254d8f
L
27002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2701
2702 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2703 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2704 * sysdeps/x86_64/x32/shlib-versions: New file.
2705
ceb809dc
RM
27062012-05-14 Roland McGrath <roland@hack.frob.com>
2707
2708 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2709 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2710 Use _dl_fatal_printf instead.
2711
37f1abd4
JM
27122012-05-14 Joseph Myers <joseph@codesourcery.com>
2713
2714 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2715 set if not set by the user. Do not allow for being unset.
2716 * sysdeps/unix/sysv/linux/configure: Regenerated.
2717
11de3a33
L
27182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2719
2720 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2721 the `q' suffix from lea and replace .quad with ASM_ADDR.
2722
e02f153a
L
27232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2724
2725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2726 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2727 instead of $17.
2728 (PTR_DEMANGLE): Likewise.
2729
520ae0fd
L
27302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2731
2732 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2733 (LP_OP): Likewise.
2734 (ASM_ADDR): Likewise.
2735 (RAX_LP): Likewise.
2736 (RBP_LP): Likewise.
2737 (RBX_LP): Likewise.
2738 (RCX_LP): Likewise.
2739 (RDI_LP): Likewise.
2740 (RSI_LP): Likewise.
2741 (RSP_LP): Likewise.
2742 (R8_LP): Likewise.
2743 (R9_LP): Likewise.
2744 (R10_LP): Likewise.
2745 (R10_LP): Likewise.
2746 (R11_LP): Likewise.
2747 (R12_LP): Likewise.
2748 (R13_LP): Likewise.
2749 (R14_LP): Likewise.
2750 (R15_LP): Likewise.
2751
b985be81
L
27522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2753
2754 * sysdeps/x86_64/x32/dl-machine.h: New file.
2755
6a4888ff
AJ
27562012-05-14 Andreas Jaeger <aj@suse.de>
2757
2758 * manual/Makefile (subdir): Remove export of subdir.
2759 (all): Remove target.
2760 (.PHONY): Remove all from list.
2761 (mkinstalldirs): Remove.
2762 (.PHONY): Remove installdirs from list.
2763 ($(inst_infodir)/libc.info): Use make-target-directory.
2764 (installdirs): Remove.
2765 (subdir_%): Remove.
2766 (glibc-targets): Remove.
2767 (lib): Remove.
2768 (stubs): Remove.
2769 ($(objpfx)stubs ../po/manual.pot): Remove.
2770 ($(objpfx)stamp%): Remove.
2771 (make-target-directory): Remove.
2772 (subdir_install): Remove.
2773 (routines): Remove.
2774 (aux): Remove.
2775 (sources): Remove.
2776 (objects): Remove.
2777 (headers): Remove.
2778
2779 [BZ #13750]
2780 * manual/.gitignore: Remove, it's not needed anymore.
2781 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2782 all files in it.
2783 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2784 directory.
2785 (texis): Renamed to $(objpfx)texis.
2786 (texis-path): New, contains path to generated files.
2787 (chapters.%): Use texis-path for complete path, add extra argument
2788 libc-texinfo.sh.
2789 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2790 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2791 (summary,texi, stamp-summary): Use complete path of
2792 files. Generate files in build dir.
2793 (dir-add.texi): Build in build dir.
2794 (libm-err.texi,stamp-libm-err): Likewise.
2795 (version.texi, stamp-version): Likewise.
2796 (.%c.texi): Likewise.
2797 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2798 (mostlyclean): Remove target.
2799 (realclean): Remove target.
2800 (generated): Add new variable with contents from mostlyclean and
2801 realclean, remove entries duplicated in common-mostlyclean, add
2802 stamp-libm-err and stamp-version.
2803 (generated-dirs): Add libc directory.
2804 ($(inst_infodir)/libc.info): Install files from build dir.
2805
2806 * manual/install.texi (Configuring and compiling): Adjust since
2807 the info files are not part of the tar ball anymore.
2808
7ac77294
AJ
28092012-05-14 Andreas Jaeger <aj@suse.de>
2810
2811 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2812 variable.
2813
ffb7875d
JM
28142012-05-14 Joseph Myers <joseph@codesourcery.com>
2815
2816 [BZ #13717]
2817 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2818 to 2.2.0 where earlier.
2819 * sysdeps/unix/sysv/linux/configure: Regenerated.
2820 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2821 Remove conditional code.
2822 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2823 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2824 Remove conditional code.
2825 [!__NR_lchown]: Likewise.
2826 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2827 [__NR_lchown]: Likewise.
2828 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2829 comment referencing __ASSUME_LCHOWN_SYSCALL.
2830 * sysdeps/unix/sysv/linux/i386/sigaction.c
2831 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2832 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2833 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2834 Remove conditional code.
2835 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2836 (__protocol_available): Remove #if 0 code.
2837 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2838 conditional code.
2839 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2840 * sysdeps/unix/sysv/linux/kernel-features.h
2841 (__ASSUME_GETCWD_SYSCALL): Don't define.
2842 (__ASSUME_REALTIME_SIGNALS): Likewise.
2843 (__ASSUME_PREAD_SYSCALL): Likewise.
2844 (__ASSUME_PWRITE_SYSCALL): Likewise.
2845 (__ASSUME_POLL_SYSCALL): Likewise.
2846 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2847 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2848 non-SPARC.
2849 (__ASSUME_SIOCGIFNAME): Don't define.
2850 (__ASSUME_MSG_NOSIGNAL): Likewise.
2851 (__ASSUME_SENDFILE): Define unconditionally.
2852 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2853 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2854 conditional code.
2855 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2856 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2857 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2858 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2859 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2860 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2861 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2863 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2866 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2867 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2869 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2870 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2872 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2873 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2875 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2876 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2878 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2879 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2881 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2882 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2884 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2885 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2886 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2887 Remove conditional code.
2888 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2889 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2890 Remove conditional code.
2891 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2892 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2893 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2894 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2895 Remove conditional code.
2896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2897 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2898 Remove conditional code.
2899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2900 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2901 Remove conditional code.
2902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2903 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2904 Remove conditional code.
2905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2906 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2907 Remove conditional code.
2908 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2909 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2910 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2912 * sysdeps/unix/sysv/linux/sigaction.c
2913 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2914 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2915 * sysdeps/unix/sysv/linux/sigpending.c
2916 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2917 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2918 * sysdeps/unix/sysv/linux/sigprocmask.c
2919 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2920 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2921 * sysdeps/unix/sysv/linux/sigsuspend.c
2922 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2923 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2924 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2925 (__libc_missing_rt_sigs): Remove.
2926 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2927 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2928 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2929 Remove conditional code.
2930 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2931 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2932 return 1.
2933 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2934 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2935 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2936 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2937
1bfb7291
AJ
29382012-05-14 Andreas Jaeger <aj@suse.de>
2939
caae5a81
AJ
2940 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2941 it's not used in glibc.
2942 (__coshm1): Likewise.
2943 (__acosh1p): Likewise.
2944 (__sgn): Likewise.
2945
1bfb7291
AJ
2946 * manual/string.texi (Copying and Concatenation): Add missing
2947 variable in concat example.
2948 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2949
c044d724
L
29502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2951
144c5467 2952 [BZ #14103]
c044d724
L
2953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2954 __builtin_clzl with __builtin_clzll.
2955
2523c62b
L
29562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2957
2958 [BZ #14104]
2959 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2960 libc_freeres_ptr.
2961
d7bb4c42
LD
29622012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2963
2964 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2965 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2966 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2967 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2968
9dc4e1fb
MF
29692012-05-14 Mike Frysinger <vapier@gentoo.org>
2970
2971 * NEWS: Update ia64 info.
2972
c7df0112
AS
29732012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2974
2975 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2976 used as bcopy.
2977
dc70356c
TS
29782012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2979
2980 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2981 * sysdeps/unix/syscalls.list (dup3): Likewise.
2982 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2983 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2984
9fb1a21f
L
29852012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2986
2987 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2988 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2989
4822a2a5
L
29902012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2991
2992 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2993 thread pointer.
2994 (TLS_IE): Use mov/add instead of movq/addq to load thread
2995 pointer.
2996 (TLS_GD_PREFIX): New.
2997 (TLS_GD): Use it.
2998
842b81d6
DM
29992012-05-11 David S. Miller <davem@davemloft.net>
3000
3001 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3002 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3003 (_FPU_SETCW): Likewise.
3004
1cf463cd
L
30052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3006
3007 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3008 is 32-byte aligned.
3009
60cc4a18
AS
30102012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3011
3012 [BZ #11837]
3013 * iconvdata/gb18030.c: Update tables.
3014 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3015 characters specially.
3016 (BODY for TO_LOOP): Add encoding of missing ranges.
3017
febb44a4
TS
30182012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3019
3020 [BZ #13673]
3021 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3022 * sysdeps/mach/hurd/dup3.c: Likewise.
3023 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3024 * sysdeps/powerpc/memmove.c:: Likewise.
3025
0a10fb9e
L
30262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3029 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3030
df8a552f
L
30312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3032
3033 * elf/elf.h (R_X86_64_RELATIVE64): New.
3034 (R_X86_64_NUM): Updated.
3035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3036 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3037 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3038 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3039 tst-quad1pie tst-quad2pie
3040 (modules-names): Add tst-quadmod1 tst-quadmod2.
3041 ($(objpfx)tst-quad1): New dependency.
3042 ($(objpfx)tst-quad2): Likewise.
3043 ($(objpfx)tst-quad1pie): Likewise.
3044 ($(objpfx)tst-quad2pie): Likewise.
3045 * sysdeps/x86_64/tst-quad1.c: New file.
3046 * sysdeps/x86_64/tst-quad1pie.c: New file.
3047 * sysdeps/x86_64/tst-quad2.c: Likewise.
3048 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3049 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3050 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3051 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3052 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3053
f34d6f84
ST
30542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3055
f42d41d1
ST
3056 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3057 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3058 * streams/stropts.h (t_scalar_t): Define type.
3059
3c3571fc
ST
3060 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3061 (_PATH_PRESERVE): Set to "/var/lib".
3062 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3063
61f06bd3
ST
3064 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3065 instead of int.
3066
918d4d71
ST
3067 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3068 if __dir_mkfile succeeded.
3069
f34d6f84
ST
3070 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3071 checking for _hurd_dtablesize. Unlock it right after having
3072 finished _hurd_dtable allocation.
3073
10589b4a
TS
30742012-05-10 Thomas Schwinge <thomas@schwinge.name>
3075
674cdbc7
TS
3076 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3077 * sysdeps/mach/hurd/configure: Regenerated.
3078 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3079 special-casing to...
3080 * sysdeps/gnu/configure.in: ... this new file.
3081 * sysdeps/unix/sysv/linux/configure: Regenerated.
3082 * sysdeps/gnu/configure: New generated file.
3083
8e41b99f
TS
3084 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3085 for Linux: use nsec instead of usec, as well as:
3086 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3087 members of type struct timespec.
3088 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3089 New macros.
3090 (struct stat64): Likewise.
3091 (_STATBUF_ST_NSEC): New macro.
3092 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3093
10589b4a
TS
3094 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3095 __strtoul_internal rather than strtoul.
3096
63643c85
PT
30972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3098
3099 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3100 and reject them.
3101
3faebe6a
ST
31022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3103
3104 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3105 which preserves existing values.
3106 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3107
c6474b07
PT
31082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3109
3110 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3111 TIMEOUT values. Return EINVAL for NFDS values either negative or
3112 greater than FD_SETSIZE.
3113
1043890b
ST
31142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3115
3116 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3117 allocated, call __vm_protect to finish enabling the existing space, and
3118 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3119 allocate the remainder.
3120
37ed8b9b
PT
31212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3122
3123 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3124 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3125
db653660
ST
31262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3127
37ed8b9b
PT
3128 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3129 sysdeps/mach/hurd/readlink.c.
b29d4053 3130
db653660
ST
3131 * posix/tst-sysconf.c (posix_options): Only use
3132 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3133 _POSIX_SYNCHRONIZED_IO when they are defined
3134 * sysdeps/mach/hurd/bits/posix_opt.h:
3135 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3136 (_XOPEN_REALTIME): Undefine macro.
3137 (_XOPEN_REALTIME_THREADS): Undefine macro.
3138 (_XOPEN_SHM): Undefine macro.
3139 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3140 macro to -1.
3141 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3142 macro to -1.
3143 (_POSIX_ASYNC_IO): Undefine macro.
3144 (_POSIX_PRIORITIZED_IO): Undefine macro.
3145 (_POSIX_SPIN_LOCKS): Define macro to -1.
3146
ee16e894
ST
3147 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3148 SA_NODEFER, SA_RESETHAND.
3149 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3150 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3151 F_DUPFD_CLOEXEC.
3152
6103ae3b
TS
31532012-05-10 Thomas Schwinge <thomas@schwinge.name>
3154
3155 * elf/Makefile (pldd-modules): Define unconditionally.
3156
80b4e5f3
TS
31572012-05-10 Thomas Schwinge <thomas@schwinge.name>
3158
3159 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3160
edadcbd6
ST
31612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3162
3163 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3164 Return ENOENT when name is empty.
3165 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3166
80694780
TS
31672012-05-10 Thomas Schwinge <thomas@schwinge.name>
3168
1792c087
TS
3169 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3170
80694780
TS
3171 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3172
6b645f0d
ST
31732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3174
80694780
TS
3175 Fix mlock in all cases except non-readable pages.
3176 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3177 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 3178
6b645f0d
ST
3179 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3180 (__mkdir): When path is `/', just fail with EEXIST.
3181 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3182
e468f8a3
TS
31832012-05-10 Thomas Schwinge <thomas@schwinge.name>
3184
3185 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3186 <sys/uio.h> (for writev).
3187 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3188 and <sys/param.h> (for MIN).
3189
a4186cff
PT
31902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3191
3192 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3193 REQUESTED_TIME. Properly set the remaining time and return EINTR
3194 if interrupted.
3195
510bbf14
TS
31962012-05-10 Thomas Schwinge <thomas@schwinge.name>
3197
3198 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3199 Depend on against $(link-rpcuserlibs).
3200
5d5722e8
ST
32012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3202
a4186cff
PT
3203 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3204 (__libc_stack_end): Do not use attribute_relro.
3205 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3206 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 3207 to libthread-provided value.
a4186cff
PT
3208 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3209 attribute_relro.
5d5722e8 3210
37233df9
TS
32112012-05-10 Thomas Schwinge <thomas@schwinge.name>
3212
be971a2b
TS
3213 [BZ #3748]
3214 * bits/libc-lock.h (__libc_once_get): New macro.
3215 * sysdeps/mach/bits/libc-lock.h: Likewise.
3216 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3217 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3218 instead of using implementation details.
3219
37233df9
TS
3220 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3221 * libio/freopen.c: Likewise.
3222 * libio/freopen64.c: Likewise.
3223 * misc/syslog.c: Likewise.
3224 * nscd/connections.c: Likewise.
3225 * nscd/netgroupcache.c: Likewise.
3226 * sysdeps/posix/getcwd.c: Likewise.
3227
38de94a5
RM
32282012-05-10 Roland McGrath <roland@hack.frob.com>
3229
3230 * math/w_ilogbf.c: Add #include <limits.h>.
3231
67530489
ST
32322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3233
a4186cff 3234 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
3235 path instead of returning without unlocking.
3236
67530489
ST
3237 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3238 immediate-write ioctls.
3239 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3240
5aa3a74a
TS
32412012-05-10 Thomas Schwinge <thomas@schwinge.name>
3242
18bad2ae
TS
3243 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3244 __builtin_frame_address instead of making assumptions about the
3245 location of the return address relative to DATA. Force early load of
3246 the return address.
3247 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3248 __builtin_frame_address.
3249
5aa3a74a
TS
3250 dup3 for GNU Hurd.
3251 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3252 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3253 implement dup3 and do some further code clean-ups.
3254 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3255 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3256
ecd0de9a
ST
32572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3258
cd9fa985
ST
3259 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3260
a4186cff
PT
3261 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3262 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3263 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3264 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3265 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3266 d->port.lock.
802ca5a5 3267
a4186cff
PT
3268 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3269 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3270 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 3271
bcf55240
TS
32722012-05-10 Thomas Schwinge <thomas@schwinge.name>
3273
6960eb42
TS
3274 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3275 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3276 definitions.
3277
eb43375f
TS
3278 accept4 for GNU Hurd.
3279 * include/sys/socket.h (__libc_accept4): New prototype.
3280 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3281 to implement __libc_accept4.
3282 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3283 __libc_accept4.
3284 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3285
bcf55240
TS
3286 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3287 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3288 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3289 signal-defines.sym.
3290
6178c55b
ST
32912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3292
a4186cff 3293 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 3294
6f080c2f
TS
32952012-05-10 Thomas Schwinge <thomas@schwinge.name>
3296
3297 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3298 assertion on O_CLOEXEC flag.
3299 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3300 * hurd/intern-fd.c: Likewise.
3301 * hurd/port2fd.c: Likewise.
3302
bcfe3a54
ST
33032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3304
3305 [BZ #3906]
3306 * bits/in.h (IPV6_PKTINFO): Define new macro.
3307 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3308
89c9aa49
AZ
33092012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3310
3311 [BZ #13954]
3312 [BZ #13955]
3313 [BZ #13956]
3314 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3315 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3316 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3317 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3319 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3320 * math/libm-test.inc (logb_test) : Additional logb tests.
3321
021db4be
AJ
33222012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3323 Andreas Jaeger <aj@suse.de>
3324
3325 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3326 * configure: Regenerated.
3327 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3328 * config.make.in (link-obsolete-rpc): New substituted variable.
3329 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3330 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3331 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3332 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3333 so that libc.a contains the symbols.
3334 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3335 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3336 * sunrpc/auth_none.c: Likewise.
3337 * sunrpc/auth_unix.c: Likewise.
3338 * sunrpc/authdes_prot.c: Likewise.
3339 * sunrpc/authuxprot.c: Likewise.
3340 * sunrpc/clnt_gen.c: Likewise.
3341 * sunrpc/clnt_perr.c: Likewise.
3342 * sunrpc/clnt_raw.c: Likewise.
3343 * sunrpc/clnt_simp.c: Likewise.
3344 * sunrpc/clnt_tcp.c: Likewise.
3345 * sunrpc/clnt_udp.c: Likewise.
3346 * sunrpc/clnt_unix.c: Likewise.
3347 * sunrpc/des_crypt.c: Likewise.
3348 * sunrpc/des_soft.c: Likewise.
3349 * sunrpc/get_myaddr.c: Likewise.
3350 * sunrpc/key_call.c: Likewise.
3351 * sunrpc/key_prot.c: Likewise.
3352 * sunrpc/netname.c: Likewise.
3353 * sunrpc/pm_getmaps.c: Likewise.
3354 * sunrpc/pm_getport.c: Likewise.
3355 * sunrpc/pmap_clnt.c: Likewise.
3356 * sunrpc/pmap_prot.c: Likewise.
3357 * sunrpc/pmap_prot2.c: Likewise.
3358 * sunrpc/pmap_rmt.c: Likewise.
3359 * sunrpc/publickey.c: Likewise.
3360 * sunrpc/rpc_cmsg.c: Likewise.
3361 * sunrpc/rpc_common.c: Likewise.
3362 * sunrpc/rpc_dtable.c: Likewise.
3363 * sunrpc/rpc_prot.c: Likewise.
3364 * sunrpc/rpc_thread.c: Likewise.
3365 * sunrpc/rtime.c: Likewise.
3366 * sunrpc/svc.c: Likewise.
3367 * sunrpc/svc_auth.c: Likewise.
3368 * sunrpc/svc_raw.c: Likewise.
3369 * sunrpc/svc_run.c: Likewise.
3370 * sunrpc/svc_tcp.c: Likewise.
3371 * sunrpc/svc_udp.c: Likewise.
3372 * sunrpc/svc_unix.c: Likewise.
3373 * sunrpc/svcauth_des.c: Likewise.
3374 * sunrpc/xcrypt.c: Likewise.
3375 * sunrpc/xdr.c: Likewise.
3376 * sunrpc/xdr_array.c: Likewise.
3377 * sunrpc/xdr_float.c: Likewise.
3378 * sunrpc/xdr_intXX_t.c: Likewise.
3379 * sunrpc/xdr_mem.c: Likewise.
3380 * sunrpc/xdr_rec.c: Likewise.
3381 * sunrpc/xdr_ref.c: Likewise.
3382 * sunrpc/xdr_sizeof.c: Likewise.
3383 * sunrpc/xdr_stdio.c: Likewise.
3384
b5c086a2
RM
33852012-05-10 Roland McGrath <roland@hack.frob.com>
3386
3387 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3388 change. Update copyright years.
3389
6d74dd09
JM
33902012-05-10 Joseph Myers <joseph@codesourcery.com>
3391
3392 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3393
28e72501
MK
33942012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3395 Joseph Myers <joseph@codesourcery.com>
3396 Paul Pluzhnikov <ppluzhnikov@google.com>
3397
3398 [BZ #14012]
3399 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3400 requiring rpcgen.
3401 [cross-compiling] (extra-libs): Likewise.
3402 [cross-compiling] (extra-libs-others): Likewise.
3403 [cross-compiling] (librpcsvc-routines): Likewise.
3404 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3405 [cross-compiling] (omit-deps): Likewise.
3406 (sunrpc-CPPFLAGS): New variable.
3407 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3408 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3409 (cross-rpcgen-objs): New variable.
3410 (extra-objs): Append $(cross-rpcgen-objs).
3411 ($(cross-rpcgen-objs)): New rule.
3412 ($(objpfx)cross-rpcgen): Likewise.
3413 (rpcgen-cmd): Define to use $(built-program-file). Expand
3414 comment.
3415 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3416 ($(objpfx)x%.stmp): Likewise.
3417 * sunrpc/proto.h [IS_IN_build] (_): Define.
3418 [IS_IN_build] (_libc_intl_domainname): Likewise.
3419
c8c59454
L
34202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3421
3422 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3423 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3424 and R_X86_64_TPOFF64.
3425
6f27cd16
JM
34262012-05-10 Joseph Myers <joseph@codesourcery.com>
3427
3428 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3429 sysdeps/unix/sysv/syscalls.list.
3430 (stime): Likewise.
3431 (utime): Likewise.
3432 * sysdeps/unix/sysv/syscalls.list: Remove file.
3433
02467e1c
PE
34342012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3435
3436 [BZ #3440]
3437 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3438 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3439 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3440 (__LC_IDENTIFICATION): Make these macros useful in #if
3441 expressions, as required by C99.
3442
da392631
AS
34432012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3444
3445 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3446 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3447 after this.
3448
8115f29b
L
34492012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3450
3451 * stdlib/longlong.h: Updated from GCC.
3452
bdd74070
AJ
34532012-05-09 Andreas Jaeger <aj@suse.de>
3454
edfe0dbe
AJ
3455 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3456 default is first entry.
3457 (run_mode): Set type.
3458 (main): Remove informal message about syslog.
3459 (options): Fix typo.
3460
bcfe3a54
ST
3461 [BZ #14053]
3462 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 3463 to asm.
bcfe3a54
ST
3464 (lrint): Likewise.
3465 (llrintf): Likewise.
3466 (llrint): Likewise.
3467 (rint): Likewise.
3468 (rintf): Likewise.
3469 (nearbyint): Likewise.
3470 (nearbyintf): Likewise.
bdd74070 3471
91d8d69e
AJ
34722012-05-09 Andreas Jaeger <aj@suse.de>
3473 Pedro Alves <palves@redhat.com>
3474
3475 * nscd/nscd.c (run_mode): Use enum.
3476 (main): Cleanup coding style issue.
3477
bb90b80b
AJ
34782012-05-09 Alexandre Oliva <aoliva@redhat.com>
3479 Andreas Jaeger <aj@suse.de>
3480
bcfe3a54
ST
3481 * nscd/nscd.c (go_background): Replaced with...
3482 (run_mode): ... this.
bb90b80b 3483 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
3484 (options): Add -F --foreground.
3485 (main): Implement it.
3486 (parse_opt): Parse it.
bb90b80b 3487
1a4b75a1
AJ
34882012-05-09 Andreas Jaeger <aj@suse.de>
3489
3490 [BZ #14083]
3491 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3492 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3493 -Wconversion warning.
3494 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3495 Likewise.
3496
b1cc2472
JM
34972012-05-09 Joseph Myers <joseph@codesourcery.com>
3498
3499 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3500 == 0.
3501 (LC_ALL): Use macro-int-constant.
3502 (LC_COLLATE): Likewise.
3503 (LC_CTYPE): Likewise.
3504 (LC_MESSAGES): Likewise.
3505 (LC_MONETARY): Likewise.
3506 (LC_NUMERIC): Likewise.
3507 (LC_TIME): Likewise.
3508 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3509 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3510 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3511 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3512 Specify type.
3513 [C99-based standards] (float_t): Expect type.
3514 [C99-based standards] (double_t): Expect type.
3515 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3516 type.
3517 [C99-based standards] (HUGE_VALL): Likewise.
3518 [C99-based standards] (INFINITY): Likewise.
3519 [C99-based standards] (NAN): Likewise.
3520 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3521 [C99-based standards] (FP_NAN): Likewise.
3522 [C99-based standards] (FP_NORMAL): Likewise.
3523 [C99-based standards] (FP_SUBNORMAL): Likewise.
3524 [C99-based standards] (FP_ZERO): Likewise.
3525 [C99-based standards] (FP_FAST_FMA): Use
3526 optional-macro-int-constant. Specify type. Require == 1.
3527 [C99-based standards] (FP_FAST_FMAF): Likewise.
3528 [C99-based standards] (FP_FAST_FMAL): Likewise.
3529 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3530 [C99-based standards] (FP_ILOGBNAN): Likewise.
3531 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3532 Specify type.
3533 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3534 [C99-based standards] (math_errhandling): Specify type.
3535 [ISO99 || ISO11] (signgam): Do not allow.
3536 [non-C99-based standards] (copysignf): Do not allow.
3537 [non-C99-based standards] (exp2f): Likewise.
3538 [non-C99-based standards] (log2f): Likewise.
3539 [non-C99-based standards] (modff): Allow.
3540 [non-C99-based standards] (erff): Do not allow.
3541 [non-C99-based standards] (erfcf): Likewise.
3542 [non-C99-based standards] (gammaf): Likewise.
3543 [non-C99-based standards] (hypotf): Likewise.
3544 [non-C99-based standards] (j0f): Likewise.
3545 [non-C99-based standards] (j1f): Likewise.
3546 [non-C99-based standards] (jnf): Likewise.
3547 [non-C99-based standards] (lgammaf): Likewise.
3548 [non-C99-based standards] (tgammaf): Likewise.
3549 [non-C99-based standards] (y0f): Likewise.
3550 [non-C99-based standards] (y1f): Likewise.
3551 [non-C99-based standards] (ynf): Likewise.
3552 [non-C99-based standards] (isnanf): Likewise.
3553 [non-C99-based standards] (acoshf): Likewise.
3554 [non-C99-based standards] (asinhf): Likewise.
3555 [non-C99-based standards] (atanhf): Likewise.
3556 [non-C99-based standards] (cbrtf): Likewise.
3557 [non-C99-based standards] (expm1f): Likewise.
3558 [non-C99-based standards] (ilogbf): Likewise.
3559 [non-C99-based standards] (log1pf): Likewise.
3560 [non-C99-based standards] (logbf): Likewise.
3561 [non-C99-based standards] (nextafterf): Likewise.
3562 [non-C99-based standards] (remainderf): Likewise.
3563 [non-C99-based standards] (rintf): Likewise.
3564 [non-C99-based standards] (scalbf): Likewise.
3565 [non-C99-based standards] (copysignl): Likewise.
3566 [non-C99-based standards] (exp2l): Likewise.
3567 [non-C99-based standards] (log2l): Likewise.
3568 [non-C99-based standards] (modfl): Allow.
3569 [non-C99-based standards] (erfl): Do not allow.
3570 [non-C99-based standards] (erfcl): Likewise.
3571 [non-C99-based standards] (gammal): Likewise.
3572 [non-C99-based standards] (hypotl): Likewise.
3573 [non-C99-based standards] (j0l): Likewise.
3574 [non-C99-based standards] (j1l): Likewise.
3575 [non-C99-based standards] (jnl): Likewise.
3576 [non-C99-based standards] (lgammal): Likewise.
3577 [non-C99-based standards] (tgammal): Likewise.
3578 [non-C99-based standards] (y0l): Likewise.
3579 [non-C99-based standards] (y1l): Likewise.
3580 [non-C99-based standards] (ynl): Likewise.
3581 [non-C99-based standards] (isnanl): Likewise.
3582 [non-C99-based standards] (acoshl): Likewise.
3583 [non-C99-based standards] (asinhl): Likewise.
3584 [non-C99-based standards] (atanhl): Likewise.
3585 [non-C99-based standards] (cbrtl): Likewise.
3586 [non-C99-based standards] (expm1l): Likewise.
3587 [non-C99-based standards] (ilogbl): Likewise.
3588 [non-C99-based standards] (log1pl): Likewise.
3589 [non-C99-based standards] (logbl): Likewise.
3590 [non-C99-based standards] (nextafterl): Likewise.
3591 [non-C99-based standards] (remainderl): Likewise.
3592 [non-C99-based standards] (rintl): Likewise.
3593 [non-C99-based standards] (scalbl): Likewise.
3594 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3595 [non-C99-based standards] (FP_*): Do not allow.
3596 [C99-based standards] (FP_*): Change to
3597 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3598 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3599 allow.
3600 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
3601 (SIG_ERR): Likewise.
3602 [X/Open-based standards] (SIG_HOLD): Likewise.
3603 (SIG_IGN): Likewise.
3604 (SIGABRT): Use macro-int-constant. Specify type. Require
3605 positive value.
3606 (SIGFPE): Likewise.
3607 (SIGILL): Likewise.
3608 (SIGINT): Likewise.
3609 (SIGSEGV): Likewise.
3610 (SIGTER): Likewise.
3611 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
3612 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
3613 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
3614 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
3615 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
3616 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
3617 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
3618 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
3619 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
3620 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
3621 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
3622 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
3623 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
3624 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
3625 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
3626 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
3627 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
3628 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
3629 [X/Open-based standards] (SIGTRAP): Likewise.
3630 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
3631 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
3632 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
3633 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
3634 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3635 allow.
3636
b9f1922d
IW
36372012-05-08 Ian Wienand <ianw@vmware.com>
3638
3639 [BZ #14080]
3640 * time/tzset.c (__tzset_parse_tz): Update default rules for
3641 daylight time changes in the Energy Policy Act of 2005.
3642
1db86e88
AJ
36432012-05-09 Andreas Jaeger <aj@suse.de>
3644
3645 [BZ #13983]
3646 * elf/ldconfig.c (parse_conf): Change string to make clear that
3647 ldconfig only issued a warning if ld.so.conf does not exist.
3648
dee4a4e3
DM
36492012-05-08 David S. Miller <davem@davemloft.net>
3650
ee0db190
DM
3651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
3652 movxtod instead of popping the value on the stack.
3653
dee4a4e3
DM
3654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3655
6a43ec98
CD
36562012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
3657
3658 * config.h.in: Add HAVE_ARM_PCS_VFP.
3659
05c2c961
RMG
36602012-05-08 Roland Mc Grath <roland@hack.frob.com>
3661
bcfe3a54
ST
3662 [BZ #13979]
3663 * include/features.h: Warn if user requests __FORTIFY_SOURCE
3664 checking but the checks are disabled for any reason.
05c2c961 3665
4b30f61a
L
36662012-05-08 H.J. Lu <hongjiu.lu@intel.com>
3667
3668 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
3669 and ELF64_R_TYPE with ELFW(R_TYPE).
3670
eee2bc67
JM
36712012-05-08 Joseph Myers <joseph@codesourcery.com>
3672
7ea5391a
JM
3673 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
3674 (ulimit): Likewise.
3675
eee2bc67
JM
3676 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
3677 (settimeofday): Likewise.
3678
abb66a67
MF
36792012-05-08 Mike Frysinger <vapier@gentoo.org>
3680
3681 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
3682 a struct th_u2 inside the union, and move tu_block/tu_code into
3683 a new th_u3 union of tu_block/tu_code inside of that. Move
3684 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3685 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3686 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3687 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3688 (th_stuff): Change to th_u1.tu_stuff.
3689 (th_data): Define.
3690 (th_msg): Change to th_u1.th_u2.tu_data.
3691
7f18b530
DM
36922012-05-07 David S. Miller <davem@davemloft.net>
3693
05760585
DM
3694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3695
7f18b530
DM
3696 [BZ #14074]
3697 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3698 (SETUP_PIC_REG): Use it.
3699 (SETUP_PIC_REG_LEAF): Use it.
3700
495fd99f
JM
37012012-05-07 Joseph Myers <joseph@codesourcery.com>
3702
3703 [BZ #13885]
3704 [BZ #13923]
3705 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3706 USE_AS_EXPM1L.
3707 (EXPL_FINITE): Likewise.
3708 (FLDLOG): Likewise.
3709 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3710 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3711 e_expl.S.
3712 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3713 USE_AS_EXPM1L.
3714 (EXPL_FINITE): Likewise.
3715 (FLDLOG): Likewise.
3716 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3717 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3718 e_expl.S.
3719 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3720 test of -max_value argument for long double.
3721 * sysdeps/i386/fpu/libm-test-ulps: Update.
3722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3723
6693d694
DM
37242012-05-06 David S. Miller <davem@davemloft.net>
3725
3726 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3727 quad soft-float symbols whose references which are compiler
3728 generated.
3729 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3730
6c23e11c
JM
37312012-05-06 Joseph Myers <joseph@codesourcery.com>
3732
d8b82cad
JM
3733 [BZ #13884]
3734 [BZ #13914]
3735 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3736 USE_AS_EXP10L.
3737 (EXPL_FINITE): Likewise.
3738 (FLDLOG): Likewise.
3739 (c0): Likewise.
3740 (c1): Likewise.
3741 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3742 Adjust comments for base varying.
3743 (__expl_finite): Change alias to EXPL_FINITE.
3744 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3745 e_expl.S.
3746 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3747 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3749 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3750 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3751 USE_AS_EXP10L.
3752 (EXPL_FINITE): Likewise.
3753 (FLDLOG): Likewise.
3754 (c0): Likewise.
3755 (c1): Likewise.
3756 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3757 Adjust comments for base varying.
3758 (__expl_finite): Change alias to EXPL_FINITE.
3759 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3760 tests for bugs.
3761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3762
6c23e11c
JM
3763 [BZ #14064]
3764 * math/libm-test.inc (check_float_internal): Correct ulp
3765 calculation for subnormal expected results.
3766
29ba805c
AJ
37672012-05-06 Andreas Jaeger <aj@suse.de>
3768
3769 * Makeconfig (+math-flags): New, set to -frounding-math.
3770 (+cflags): Add +math-flags so that all of glibc gets compiled with
3771 it.
3772
3773 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3774
7b17aeda
JM
37752012-05-05 Joseph Myers <joseph@codesourcery.com>
3776
5779f134
JM
3777 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3778 Disable one test.
3779
41498f4d
JM
3780 [BZ #13787]
3781 [BZ #13922]
3782 [BZ #14036]
3783 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3784 (__ieee754_expl): Allow for and saturate large arguments.
3785 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3786 (u_threshold): Likewise.
3787 (__exp): Call __ieee754_exp before checking for overflow and
3788 underflow.
3789 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3790 (u_threshold): Likewise.
3791 (__expf): Call __ieee754_expf before checking for overflow and
3792 underflow.
3793 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3794 (u_threshold): Likewise.
3795 (__expl): Call __ieee754_expl before checking for overflow and
3796 underflow.
3797 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3798 (__ieee754_expl): Allow for and saturate large arguments.
3799 * math/libm-test.inc (exp_test): Add another test. Do not allow
3800 missing overflow exception on overflow.
3801 (expm1_test): Do not allow missing overflow exception on overflow.
3802
6698b8bf
JM
3803 * sysdeps/i386/fpu/e_expl.c: Move to ...
3804 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3805 rather than using inline asm.
3806 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3807 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3808 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3809
7b17aeda
JM
3810 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3811 (nice): Likewise.
3812 (poll): Likewise.
3813 (signal): Likewise.
3814 (time): Likewise.
3815 (times): Likewise.
3816
f7c85819
JM
38172012-05-04 Joseph Myers <joseph@codesourcery.com>
3818
3819 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3820 sysdeps/unix/common/syscalls.list.
3821 (fchmod): Likewise.
3822 (fchown): Likewise.
3823 (ftruncate): Likewise.
3824 (getrusage): Likewise.
3825 (gettimeofday): Likewise.
3826 (setpgid): Likewise.
3827 (setregid): Likewise.
3828 (setreuid): Likewise.
3829 (sigaction): Likewise.
3830 (truncate): Likewise.
3831 (vhangup): Likewise.
3832 * sysdeps/unix/common/syscalls.list: Remove file.
3833 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3834 * sysdeps/unix/sysv/linux/Implies: Likewise.
3835
336270d0
L
38362012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3837
3838 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3840 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3841 Moved to ...
3842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3843 Here.
3844 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3845 to ...
3846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3847 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3848 to ...
3849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3850 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3851 to ...
3852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3853 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3854 to ...
3855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3856 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3857 to ...
3858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3859 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3860 to ...
3861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3862 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3863 to ...
3864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3865 Here.
3866 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3867 to ...
3868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3869 Here.
3870 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3871 to ...
3872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3873 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3874 Moved to ...
3875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3876 Here.
3877 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3878 to ...
3879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3880
d128e450
JM
38812012-05-04 Joseph Myers <joseph@codesourcery.com>
3882
fa8ee516
JM
3883 * sysdeps/unix/common/bits/dirent.h: Remove file.
3884 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3885
d128e450
JM
3886 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3887 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3888 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3889 * sysdeps/unix/bsd/isatty.c: Likewise.
3890 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3891 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3892 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3893
ff8faaf0 38942012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3895
62881be4 3896 [BZ #13563]
31dc8730
AZ
3897 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3898 long double comparison inaccuracies.
3899 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3901
6fef930c
AS
39022012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3903
3904 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3905 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3906
8f203e6c
JM
39072012-05-04 Joseph Myers <joseph@codesourcery.com>
3908
3909 [BZ #14049]
3910 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3911 nonzero digits before rounding a hex value.
3912 * stdlib/tst-strtod.c (tests): Add another test.
3913
5197d9c2
AK
39142012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3915
3916 * sysdeps/s390/fpu/libm-test-ulps: Update.
3917
f0c1dedf
AJ
39182012-05-03 Andreas Jaeger <aj@suse.de>
3919
3920 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3921 does not get optimized out.
3922 (malloc_opt_barrier): New.
3923
a65ef2ae 39242012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3925 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3926
2b942cb7 3927 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3928 intermediate file deletion.
2b942cb7 3929 (generated): Add .symlist files.
a65ef2ae 3930
54b71e02
JM
39312012-05-03 Joseph Myers <joseph@codesourcery.com>
3932
3933 [BZ #13775]
3934 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3935 Redirect under this condition.
3936 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3937 [__USE_GNU] (__dprintf_chk): Not under this condition.
3938 [__USE_GNU] (__vdprintf_chk): Likewise.
3939 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3940 under this condition.
3941 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3942 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3943 [__USE_XOPEN2K8] (vdprintf): Likewise.
3944 [__USE_GNU] (__dprintf_chk): Not under this condition.
3945 [__USE_GNU] (__vdprintf_chk): Likewise.
3946 [__USE_GNU] (dprintf): Likewise.
3947 [__USE_GNU] (vdprintf): Likewise.
3948
d3dfcc41
RM
39492012-05-03 Roland McGrath <roland@hack.frob.com>
3950
3951 * elf/Makefile (common-generated): Set this instead of generated for
3952 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3953 $(all-built-dso)-derived lists.
3954
7ac30cc5
AJ
39552012-05-03 Andreas Jaeger <aj@suse.de>
3956
0c51e550
AJ
3957 * sysdeps/i386/fpu/libm-test-ulps: Update.
3958
7ac30cc5
AJ
3959 * FAQ: Removed.
3960 * FAQ.in: Likewise.
3961 * scripts/gen-FAQ.pl: Likewise.
3962 * manual/install.texi (Installation): Point to online location of
3963 FAQ.
3964 * Makefile (files-for-dist): Remove FAQ.
3965 (FAQ): Remove.
3966
d4c2917f
AM
39672012-05-02 Allan McRae <allan@archlinux.org>
3968
3969 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3970 (LDFLAGS-reldepmod5.so): Likewise.
3971 (LDFLAGS-reldep6mod1.so): Likewise.
3972 (LDFLAGS-reldep6mod4.so): Likewise.
3973 (LDFLAGS-reldep8mod3.so): Likewise.
3974 (LDFLAGS-unload4mod1.so): Likewise.
3975 (LDFLAGS-unload4mod2.so): Likewise.
3976 (LDFLAGS-tst-initorder): Likewise.
3977 (LDFLAGS-tst-initordera2.so): Likewise.
3978 (LDFLAGS-tst-initordera3.so): Likewise.
3979 (LDFLAGS-tst-initordera4.so): Likewise.
3980 (LDFLAGS-tst-initorderb2.so): Likewise.
3981 (LDFLAGS-noload): Likewise.
3982 (LDFLAGS-next): Likewise.
3983 (LDFLAGS-order2mod1.so): Likewise.
3984 (LDFLAGS-order2mod2.so): Likewise.
3985 (LDFLAGS-tst-initorder2): Likewise.
3986 (LDFLAGS-tst-initorder2a.so): Likewise.
3987 (LDFLAGS-tst-initorder2b.so): Likewise.
3988 (LDFLAGS-tst-initorder2c.so): Likewise.
3989 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3990
d77f993f
DM
39912012-05-02 David S. Miller <davem@davemloft.net>
3992
3993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3994
171a70b4
PP
39952012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3996
3997 [BZ #14055]
3998 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3999
0be196ad
AJ
40002012-05-02 Andreas Jaeger <aj@suse.de>
4001
4002 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4003 since we manipulate rounding mode.
4004 (CPPFLAGS-test-idouble.c): Likewise.
4005 (CPPFLAGS-test-ifloat.c): Likewise.
4006 (CFLAGS-test-ldouble.c): Likewise.
4007 (CFLAGS-test-double.c): Likewise.
4008 (CFLAGS-test-float.c): Likewise.
4009 (CFLAGS-test-misc.c): Likewise.
4010 (CFLAGS-test-test-fenv.c): Likewise.
4011
4f9d04aa
AZ
40122012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4013
2b942cb7
RM
4014 [BZ #2550]
4015 [BZ #2570]
4016 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4017 comparisons to determine direction to adjust input.
4f9d04aa 4018
82a79e7d
RM
40192012-05-01 Roland McGrath <roland@hack.frob.com>
4020
f5a01ca9
RM
4021 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4022 output to the target.
4023
90fe4186
RM
4024 * scripts/localplt.awk: New file.
4025 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4026 (check-localplt-CFLAGS): Variable removed.
4027 ($(all-built-dso:=.jmprel)): New static pattern rule.
4028 (generated): Add those targets.
4029 (localplt-built-dso): New variable.
4030 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4031
4032 * elf/check-localplt.c: File removed.
4033
82397ed6
RM
4034 * scripts/check-execstack.awk: New file.
4035 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4036 (check-execstack-CFLAGS): Variable removed.
4037 ($(objpfx)check-execstack.h): Target removed.
4038 ($(objpfx)execstack-default): New target.
4039 (generated): Add that instead of check-execstack.h.
4040 ($(all-built-dso:=.phdr)): New static pattern rule.
4041 (generated): Add those targets.
4042 * elf/check-execstack.c: File removed.
4043
82a79e7d
RM
4044 * scripts/check-textrel.awk: New file.
4045 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4046 (check-textrel-CFLAGS): Variable removed.
4047 (all-built-dso): Use := to define.o
4048 ($(all-built-dso:=.dyn)): New static pattern rule.
4049 (generated): Add those targets.
4050 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4051 * config.make.in (READELF): New substituted variable.
4052 * elf/check-textrel.c: File removed.
4053
62fde54f 40542012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4055
615605c9
JM
4056 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4057 allow.
4058 * conform/data/ctype.h-data [C99-based standards] (isblank):
4059 Expect function.
4060 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4061 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4062 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4063 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4064 Specify type. Require positive value.
4065 (EILSEQ): Likewise.
4066 (ERANGE): Likewise.
4067 [ISO || POSIX] (EILSEQ): Do not expect.
4068 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4069 Specify type. Require positive value.
4070 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4071 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4072 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4073 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4074 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4075 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4076 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4077 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4078 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4079 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4080 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4081 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4082 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4083 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4084 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4085 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4086 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4087 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4088 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4089 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4090 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4091 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4092 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4093 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4094 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4095 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4096 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4097 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4098 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4099 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4100 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4101 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4102 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4103 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4104 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4105 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4106 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4107 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4108 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4109 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4110 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4111 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4112 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4113 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4114 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4115 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4116 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4117 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4118 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4119 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4120 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4121 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4122 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4123 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4124 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4125 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4126 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4127 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4128 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4129 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4130 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4131 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4132 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4133 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4134 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4135 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4136 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4137 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4138 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4139 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4140 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4141 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4142 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4143 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4144 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4145 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4146 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4147 Require >= 2.
4148 (FLT_ROUNDS): Expect as macro, not constant.
4149 (FLT_MANT_DIG): Use macro-int-constant.
4150 (DBL_MANT_DIG): Likewise.
4151 (LDBL_MANT_DIG): Likewise.
4152 (FLT_DIG): Likewise.
4153 (DBL_DIG): Likewise.
4154 (LDBL_DIG): Likewise.
4155 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4156 (DBL_MIN_EXP): Likewise.
4157 (LDBL_MIN_EXP): Likewise.
4158 (FLT_MAX_EXP): Use macro-int-constant.
4159 (DBL_MAX_EXP): Likewise.
4160 (LDBL_MAX_EXP): Likewise.
4161 (FLT_MAX_10_EXP): Likewise.
4162 (DBL_MAX_10_EXP): Likewise.
4163 (LDBL_MAX_10_EXP): Likewise.
4164 (FLT_MAX): Use macro-constant.
4165 (DBL_MAX): Likewise.
4166 (LDBL_MAX): Likewise.
4167 (FLT_EPSILON): Use macro-constant. Give upper bound.
4168 (DBL_EPSILON): Likewise.
4169 (LDBL_EPSILON): Likewise.
4170 (FLT_MIN): Likewise.
4171 (DBL_MIN): Likewise.
4172 (LDBL_MIN): Likewise.
4173 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4174 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4175 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4176 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4177 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4178 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4179 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4180 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4181 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4182 [ISO11] (FLT_TRUE_MIN): Likewise.
4183 [ISO11] (LDBL_TRUE_MIN): Likewise.
4184 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4185 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4186 (SCHAR_MIN): Use macro-int-constant. Specify type.
4187 (SCHAR_MAX): Likewise.
4188 (UCHAR_MAX): Likewise.
4189 (CHAR_MIN): Likewise.
4190 (CHAR_MAX): Likewise.
4191 (MB_LEN_MAX): Use macro-int-constant.
4192 (SHRT_MIN): Use macro-int-constant. Specify type.
4193 (SHRT_MAX): Likewise.
4194 (USHRT_MAX): Likewise.
4195 (INT_MAX): Likewise.
4196 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4197 bound negative.
4198 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4199 bound with "U".
4200 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4201 bound with "L".
4202 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4203 bound negative. Suffix upper bound with "L".
4204 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4205 bound with "UL".
4206 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4207 Specify type.
4208 [C99-based standards] (LLONG_MAX): Likewise.
4209 [C99-based standards] (ULLONG_MAX): Likewise.
4210 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4211 == 0.
4212 [ISO11] (max_align_t): Require type.
4213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4214
c9140a62
JM
4215 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4216 from $CFLAGS, without defining away __attribute__ calls.
4217 (checknamespace): Use $CFLAGS_namespace.
4218
9af0bf29
JM
4219 * conform/conformtest.pl (@keywords): Only include C99 keywords
4220 for standards based on C99 or C11.
4221
343222a2
JM
4222 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4223 Disable tests.
4224 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4225 UNIX98]: Likewise.
4226
661f8cf0
JM
4227 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4228 usability of symbols in #if.
4229
ee74b9cb
JM
4230 * conform/conformtest.pl: If macro or constant types start
4231 "promoted:", expect the symbol to be of the following type
4232 promoted by the integer promotions.
62fde54f 4233
aafc49b3
JM
4234 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4235 in one place. Also handle "macro-constant".
4236
fefdf574
JM
4237 * conform/conformtest.pl: Only accept expected macro values with
4238 "==". Parse all "macro" lines in one place.
4239 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4240
f2d922fe
JM
4241 * conform/conformtest.pl: Handle braced types on "constant" lines
4242 instead of handling "typed-constant".
4243 * conform/data/signal.h-data: Use "constant" instead of
4244 "typed-constant".
4245
d22956c9
JM
4246 * conform/conformtest.pl: Handle "optional-" at start of lines in
4247 one place rather than duplicating several cases. Handle each
4248 format of "macro" line with initial "optional-".
4249
028e2e38
JM
4250 * conform/conformtest.pl: Only accept expected constant or
4251 optional-constant values with "==". Parse all "constant" lines in
4252 one place. Parse all "optional-constant" lines in one place.
4253 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4254 * conform/data/fmtmsg.h-data: Likewise.
4255 * conform/data/netinet/in.h-data: Likewise.
4256 * conform/data/tar.h-data: Likewise.
4257 * conform/data/limits.h-data: Use "==" form on "constant" and
4258 "optional-constant" lines.
4259
1b8f2850
JM
4260 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4261 Use -std=c99 for XOPEN2K.
4262 (@knownproblems): Remove.
4263 (newtoken): Don't check %isknown.
4264
a05a144b
JM
4265 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4266 Do not expect macro.
4267 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4268 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4269 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4270 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4271 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4272 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4273 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4274 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4275 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4276 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4277 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4278 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4279 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4280 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4281 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4282 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4283 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4284 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4285 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4286 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4287 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4288 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4289 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4290 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4291 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4292 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4293 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4294 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4295 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4296 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4297 [XPG3] (acosh): Likewise.
4298 [XPG3] (asinh): Likewise.
4299 [XPG3] (atanh): Likewise.
4300 [XPG3] (cbrt): Likewise.
4301 [XPG3] (expm1): Likewise.
4302 [XPG3] (ilogb): Likewise.
4303 [XPG3] (log1p): Likewise.
4304 [XPG3] (logb): Likewise.
4305 [XPG3] (nextafter): Likewise.
4306 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4307 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4308 [XPG3] (remainder): Likewise.
4309 [XPG3] (rint): Likewise.
4310 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4311 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4312 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4313 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4314 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4315 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4316 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4317 [UNIX98 || XOPEN2K] (scalb): Expect.
4318 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4319 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4320 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4321 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4322 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4323 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4324 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4325 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4326 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4327 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4328 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4329 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4330 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4331 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4332 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4333 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4334 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4335 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4336 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4337 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4338 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4339 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4340 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4341 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4342 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4343 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4344 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4345 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4346 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4347 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4348 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4349 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4350 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4351 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4352 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4353 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4354 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4355 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4356 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4357 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4358 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4359 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4360 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4361 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4362 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4363 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4364 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4365 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4366 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4367 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4368 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4369 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4370 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4371 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4372 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4373 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4374 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4375 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4376 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4377 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4378 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4379 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4380 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4381 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4382 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4383 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4384 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4385 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4386 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4387 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4388 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4389 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4390 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4391 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4392 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4393 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4394 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4395 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4396 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4397 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4398 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4399 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4400 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4401 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4402 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4403 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4404 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4405 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4406 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4407 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4408 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4409 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4410 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4411 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4412 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4413 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4414 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4415 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4416 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4417 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4418 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4419 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4420 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4421 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4422 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4423 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4424 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4425 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4426 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4427 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4428 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4429 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4430 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4431 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4432 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4433 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4434 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4435 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4436 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4437 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4438 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4439 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4440 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4441 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4442 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4443 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4444 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4445 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4446 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4447 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4448 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4449 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4450 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4451 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4452 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4453 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4454 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4455
73c5ebe3
JM
4456 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4457 _XOPEN_SOURCE_EXTENDED for XPG4.
4458
39c33b6c
JM
4459 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4460
62fde54f
JM
4461 * Makeconfig (localtime): Remove variable.
4462 (inst_localtime-file): Likewise.
4463
0741d64c
AS
44642012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4465
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4467 Update.
4468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4469 Update.
4470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4471 Update.
4472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4473 Update.
4474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4475 Update.
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4477 Update.
4478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4479 Update.
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4481 Update.
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4483 Update.
4484
7cb029ee
JM
44852012-05-01 Joseph Myers <joseph@codesourcery.com>
4486
4487 [BZ #2550]
4488 [BZ #2570]
4489 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4490 comparisons to determine direction to adjust input.
4491 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4492 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4493 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4494 Likewise.
4495 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4496 Likewise.
4497 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4498 Likewise.
4499 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4500 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4501 Likewise.
4502 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4503 Likewise.
4504 * math/libm-test.inc (nexttoward_test): Add more tests.
4505
412bd966
AS
45062012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4507
4508 [BZ #14040]
4509 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4510 in version GLIBC_2.1, not GLIBC_2.0.
4511 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4512 Likewise.
4513
9568c0c2
JM
45142012-04-30 Joseph Myers <joseph@codesourcery.com>
4515
adfbc8ac
JM
4516 [BZ #13942]
4517 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4518 (1 - x) * (1 + x).
4519 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4520 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4521 * math/libm-test.inc (acos_test): Add more tests.
4522 (asin_test): Likewise.
4523 * sysdeps/i386/fpu/libm-test-ulps: Update.
4524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4525
5ba3cc69
JM
4526 [BZ #14034]
4527 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4528 of square root.
4529 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4530 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4531 * math/libm-test.inc (acos_test_tonearest): New function.
4532 (acos_test_towardzero): Likewise.
4533 (acos_test_downward): Likewise.
4534 (acos_test_upward): Likewise.
4535 (asin_test_tonearest): Likewise.
4536 (asin_test_towardzero): Likewise.
4537 (asin_test_downward): Likewise.
4538 (asin_test_upward): Likewise.
4539 (main): Call the new functions.
4540 * sysdeps/i386/fpu/libm-test-ulps: Update.
4541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4542
9568c0c2
JM
4543 [BZ #13884]
4544 [BZ #13924]
4545 * math/e_exp10.c: Include <float.h>.
4546 (__ieee754_exp10): Handle underflow here rather than multiplying
4547 large negative argument by M_LN10.
4548 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
4549 of __ieee754_expf.
4550 * math/e_exp10l.c: Include <float.h>.
4551 (__ieee754_exp10l): Handle underflow here rather than multiplying
4552 large negative argument by M_LN10l.
4553 * math/libm-test.inc (exp10_test): Add another test. Do not allow
4554 spurious overflow exception on underflow.
4555
5ac3ea17
MP
45562012-04-29 Marek Polacek <polacek@redhat.com>
4557
4558 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
4559 (__fortify_function): New macro.
4560 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
4561 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
4562 __extern_always_inline.
4563 * libio/bits/stdio2.h: Likewise.
4564 * libio/bits/stdio.h: Likewise.
4565 * string/string.h: Likewise.
4566 * string/bits/string3.h: Likewise.
4567 * include/stdio.h: Likewise.
4568 * stdlib/bits/stdlib.h: Likewise.
4569 * stdlib/stdlib.h: Likewise.
4570 * rt/bits/mqueue2.h: Likewise.
4571 * rt/mqueue.h: Likewise.
4572 * posix/bits/unistd.h: Likewise.
4573 * posix/unistd.h: Likewise.
4574 * io/bits/poll2.h: Likewise.
4575 * io/bits/fcntl2.h: Likewise.
4576 * io/fcntl.h: Likewise.
4577 * io/sys/poll.h: Likewise.
4578 * misc/bits/syslog.h: Likewise.
4579 * misc/bits/syslog-ldbl.h: Likewise.
4580 * misc/sys/syslog.h: Likewise.
4581 * socket/bits/socket2.h: Likewise.
4582 * socket/sys/socket.h: Likewise.
4583 * debug/tst-chk1.c: Likewise.
4584 * wcsmbs/bits/wchar2.h: Likewise.
4585 * wcsmbs/bits/wchar-ldbl.h: Likewise.
4586 * wcsmbs/wchar.h: Likewise.
4587
ecf0ebfb
AJ
45882012-04-29 Andreas Jaeger <aj@suse.de>
4589
4590 * Makerules (tests): Remove enable-check-abi protection.
4591 (check-abi-warn): Remove.
4592 (check-abi-%): Remove check-abi-warn usage.
4593
4594 * configure.in: Remove check-abi configure option.
4595 * configure: Regenerated.
4596 * config.make.in (enable-check-abi): Remove.
4597
6d5c57fa
AS
45982012-04-28 Andreas Schwab <schwab@linux-m68k.org>
4599
24c5d07e 4600 [BZ #14033]
ded5180a
AS
4601 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
4602 double functions to double *_finite functions.
4603
7e0d315d
AS
4604 [BZ #13941]
4605 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
4606 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
4607 LDBL_MIN_EXP.
4608 * stdio-common/Makefile (tests): Add tst-sprintf3.
4609 * stdio-common/tst-sprintf3.c: New file.
4610
6d5c57fa
AS
4611 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
4612 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
4613
0749ff8b
JM
46142012-04-28 Joseph Myers <joseph@codesourcery.com>
4615
4616 * conform/conformtest.pl: Remove duplicate typed-constant
4617 handling.
4618
8dbd5d7b
DM
46192012-04-28 David S. Miller <davem@davemloft.net>
4620
4621 * Makerules (%.abilist): Add vpath on sysdep_dirs.
4622 (check-abi-%): Remove AWK script prerequisite and explicit
4623 abilist directory.
4624 (check-abi): Rewrite to just diff the symlist with the abilist.
4625 (config-tls, config-abi-config): Delete, no longer used.
4626 (update-abi-%): Remove AWK script and explicit abilist directory.
4627 (update-abi): Rewrite to simply compare and conditionally copy the
4628 symlist and the sysdep abilist file. Remove update-abi-config
4629 checks.
4630 * abilist/ld.abilist: Remove.
4631 * abilist/libBrokenLocale.abilist: Remove.
4632 * abilist/libanl.abilist: Remove.
4633 * abilist/libcrypt.abilist: Remove.
4634 * abilist/libdl.abilist: Remove.
4635 * abilist/librt.abilist: Remove.
4636 * abilist/libthread_db.abilist: Remove.
4637 * abilist/libutil.abilist: Remove.
4638 * scripts/extract-abilist.awk: Remove.
4639 * scripts/merge-abilist.awk: Remove.
4640 * sysdeps/generic/libcidn.abilist: New file.
4641 * sysdeps/generic/libnss_compat.abilist: New file.
4642 * sysdeps/generic/libnss_db.abilist: New file.
4643 * sysdeps/generic/libnss_dns.abilist: New file.
4644 * sysdeps/generic/libnss_files.abilist: New file.
4645 * sysdeps/generic/libnss_hesiod.abilist: New file.
4646 * sysdeps/generic/libnss_nis.abilist: New file.
4647 * sysdeps/generic/libnss_nisplus.abilist: New file.
4648 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
4649 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
4650 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
4651 file.
4652 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
4653 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
4654 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
4655 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
4656 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
4657 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
4658 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
4659 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
4660 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
4661 file.
4662 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
4663 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
4664 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
4665 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
4666 file.
4667 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
4668 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
4669 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
4670 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
4671 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
4672 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
4673 file.
4674 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
4675 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
4676 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
4677 file.
4678 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
4679 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
4680 New file.
4681 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4682 New file.
4683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4684 New file.
4685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4686 New file.
4687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4688 New file.
4689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4690 New file.
4691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4692 New file.
4693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4694 New file.
4695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4696 New file.
4697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4698 New file.
4699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4700 New file.
4701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4702 New file.
4703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4704 New file.
4705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4706 file.
4707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4708 New file.
4709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4710 New file.
4711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4712 file.
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4714 New file.
4715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4716 New file.
4717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4718 file.
4719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4720 New file.
4721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4722 New file.
4723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4724 New file.
4725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4726 New file.
4727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4728 New file.
4729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4730 New file.
4731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4733 file.
4734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4735 New file.
4736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4737 file.
4738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4739 file.
4740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4741 file.
4742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4743 file.
4744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4745 file.
4746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4747 New file.
4748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4749 file.
4750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4751 file.
4752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4753 New file.
4754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4755 file.
4756 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4758 file.
4759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4760 New file.
4761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4762 file.
4763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4764 file.
4765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4766 file.
4767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4768 file.
4769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4770 file.
4771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4772 New file.
4773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4774 file.
4775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4776 file.
4777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4778 New file.
4779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4780 file.
4781 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4782 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4783 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4784 file.
4785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4786 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4787 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4788 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4789 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4790 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4791 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4792 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4793 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4794 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4797 file.
4798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4799 New file.
4800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4801 file.
4802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4803 file.
4804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4805 file.
4806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4807 file.
4808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4809 file.
4810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4811 New file.
4812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4813 New file.
4814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4815 file.
4816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4817 New file.
4818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4819 file.
4820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4822 file.
4823 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4824 New file.
4825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4826 file.
4827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4828 file.
4829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4830 file.
4831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4832 file.
4833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4834 file.
4835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4836 New file.
4837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4838 New file.
4839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4840 file.
4841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4842 New file.
4843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4844 file.
4845
41d73a1b
JM
48462012-04-28 Joseph Myers <joseph@codesourcery.com>
4847
4848 * conform/conformtest.pl: Fix typo in handling typed-constant from
4849 allow-header.
4850
28aeeda4
JM
48512012-04-27 Joseph Myers <joseph@codesourcery.com>
4852
adae8f5e
JM
4853 * README: Cut down references to pre-2.6 Linux kernels and
4854 Linuxthreads. Update lists of configurations in libc and ports
4855 and sort alphabetically. Say "or newer" with Linux kernel version
4856 requirements.
4857
28aeeda4
JM
4858 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4859
a462cb63
RA
48602012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4861
4862 [BZ #887]
4863 * math/libm-test.inc (logb_test_downward): New test to expose
4864 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4865 rounding mode.
4866
6ad3493e
JM
48672012-04-27 Joseph Myers <joseph@codesourcery.com>
4868
4869 [BZ #14027]
4870 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4871 to be done.
4872 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4873 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4874
2ce4f015
JM
48752012-04-26 Joseph Myers <joseph@codesourcery.com>
4876
5aeb141a
JM
4877 * sysdeps/unix/i386/brk.S: Remove file.
4878 * sysdeps/unix/i386/dl-brk.S: Likewise.
4879 * sysdeps/unix/i386/pipe.S: Likewise.
4880 * sysdeps/unix/i386/sigreturn.S: Likewise.
4881 * sysdeps/unix/i386/syscall.S: Likewise.
4882 * sysdeps/unix/i386/vfork.S: Likewise.
4883 * sysdeps/unix/i386/wait.S: Likewise.
4884
7143acae
JM
4885 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4886 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4887
2ce4f015
JM
4888 * configure.in (arm*-none*): Do not allow without
4889 --enable-hacker-mode.
4890 (netbsd*): Remove case setting base_os.
4891 (386bsd*): Likewise.
4892 (freebsd*): Likewise.
4893 (bsdi*): Likewise.
4894 (osf*): Likewise.
4895 (sunos*): Likewise.
4896 (ultrix*): Likewise.
4897 (newsos*): Likewise.
4898 (dynix*): Likewise.
4899 (*bsd*): Likewise.
4900 (sysv*): Likewise.
4901 (isc*): Likewise.
4902 (esix*): Likewise.
4903 (sco*): Likewise.
4904 (minix*): Likewise.
4905 (irix4*): Likewise.
4906 (irix6*): Likewise.
4907 (solaris[2-9]*): Likewise.
4908 (none): Likewise.
4909 * configure: Regenerated.
4910
0ac229c8
AZ
49112012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4912
4913 [BZ #11521]
4914 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4915 overflow or cancellation in calculating denominator.
4916 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4917 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4918 down expression to avoid unexpected rounding in newer GCCs.
4919 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4920
33f244f4
DM
49212012-04-26 David S. Miller <davem@davemloft.net>
4922
4923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4924 long-double compat symbols.
4925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4938
cfa1f3e8
DM
49392012-04-25 David S. Miller <davem@davemloft.net>
4940
4941 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4942 HWCAP_* values only after the memory barriers have been defined.
4943 (atomic_full_barrier): Define.
4944 (atomic_read_barrier): Define.
4945 (atomic_write_barrier): Define.
4946
6e236b92
SP
49472012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4948
4949 * shlib-versions: Add libgcc_s version information.
4950 * sysdeps/generic/libgcc_s.h: Remove.
4951 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4952 libgcc_s.h.
4953 * sysdeps/gnu/unwind-resume.c: Likewise.
4954 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4955
aab39a09
DM
49562012-04-25 David S. Miller <davem@davemloft.net>
4957
4958 * sysdeps/unix/sparc/brk.S: Delete.
4959 * sysdeps/unix/sparc/dl-brk.S: Delete.
4960 * sysdeps/unix/sparc/pipe.S: Delete.
4961 * sysdeps/unix/sparc/sysdep.S: Delete.
4962 * sysdeps/unix/sparc/sysdep.h: Delete.
4963 * sysdeps/unix/sparc/vfork.S: Delete.
4964 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4965 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4966 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4967 ret_ERRVAL, r0, r1, MOVE): Define.
4968 (JUMPTARGET): Remove.
4969 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4970 sysdeps/unix/sparc/sysdep.h
4971 (ENTRY, END): Remove.
4972 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4973
a3cc4f48
JM
49742012-04-25 Joseph Myers <joseph@codesourcery.com>
4975
2ed8cda2
JM
4976 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4977 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4978 -DIS_IN_build.
4979
35d76d59
JM
4980 * timezone/README: Update upstream location and email address for
4981 tzcode and tzdata.
4982 * timezone/zdump.c: Update from tzcode 2012b.
4983 * timezone/zic.c: Likewise.
4984
a3cc4f48
JM
4985 * configure.in (libc_cv_as_needed): Remove test.
4986 * configure: Regenerated.
4987 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4988 conditional definition.
4989 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4990 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4991 * config.make.in (have-as-needed): Remove variable.
4992
ceab42c3
SP
49932012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4994 Paul Pluzhnikov <ppluzhnikov@google.com>
4995
4996 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4997 strings correctly.
4998
3ce2865f
CLT
49992012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5000
5001 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5002 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5003 * sysdeps/sh/strlen.S: Likewise.
5004
f37e0d68
JM
50052012-04-24 Joseph Myers <joseph@codesourcery.com>
5006
ae186e9a
JM
5007 * sysdeps/unix/fork.S: Remove file.
5008 * sysdeps/unix/i386/fork.S: Likewise.
5009 * sysdeps/unix/sparc/fork.S: Likewise.
5010
b96914af
JM
5011 * sysdeps/unix/system.c: Remove file.
5012 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5013
f37e0d68
JM
5014 * sysdeps/unix/getegid.S: Remove file.
5015 * sysdeps/unix/geteuid.S: Likewise.
5016
87ef29ca
RM
50172012-04-24 Roland McGrath <roland@hack.frob.com>
5018
83bcd236
RM
5019 * scripts/check-localplt.awk: New file.
5020 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5021 of diff.
5022 * scripts/data/localplt-generic.data: Add a comment.
5023
87ef29ca
RM
5024 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5025 NODE when __dir_mkfile failed.
5026 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5027 Reported by Ludovic Courtès <ludo@gnu.org>.
5028
e5a6e567
AJ
50292012-04-24 Andreas Jaeger <aj@suse.de>
5030
5031 * Makerules (common-clean): Also remove gen-as-const-headers
5032 files.
5033
c1820385
JM
50342012-04-24 Joseph Myers <joseph@codesourcery.com>
5035
5036 * Makerules (native-compile): Do not change working directory for
5037 build. Use $(OUTPUT_OPTION) in command.
5038 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5039
94e02fc4
AZ
50402012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5041
5042 [BZ #13886]
5043 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5044 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5045 * math/libm-test.inc (floor_test): Add more tests.
5046 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5047
3a533ca3
JM
50482012-04-24 Joseph Myers <joseph@codesourcery.com>
5049
940ab4b3
JM
5050 * sysdeps/unix/getdents.c: Remove file.
5051 * sysdeps/unix/sysv/getdents.c: Likewise.
5052 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5053
90e037bd
JM
5054 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5055 sysdeps/unix/mman/syscalls.list.
5056 (mmap): Likewise.
5057 (mprotect): Likewise.
5058 (msync): Likewise.
5059 (munmap): Likewise.
5060 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5061 * sysdeps/unix/mman/syscalls.list: Remove.
5062 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5063
3a533ca3
JM
5064 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5065 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5066 * configure: Regenerated.
5067 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5068 $(libgcc_s_suffix).
5069 * config.make.in (libgcc_s_suffix): Remove variable.
5070
1ad743de
JM
50712012-04-23 Joseph Myers <joseph@codesourcery.com>
5072
4ad451e2
JM
5073 * sysdeps/unix/sysv/gethostname.c: Move to ...
5074 * sysdeps/posix/gethostname.c: ... here.
5075
5e37ce39
JM
5076 * sysdeps/unix/execve.S: Remove file.
5077
1ad743de
JM
5078 * sysdeps/unix/_exit.S: Remove file.
5079
4e681b5b
AJ
50802012-04-23 Andreas Jaeger <aj@suse.de>
5081
5082 [BZ #13739]
5083 * manual/Makefile: Remove make dist support, there's no
5084 need for a stand-alone documentation tar ball.
5085 (TEXI2DVI): Define always, it's not in Makeconfig.
5086 (dist): Removed.
5087 (tar-it): Removed.
5088 (edition): Removed.
5089 (glibc-doc-$(edition).tar): Removed
5090 (%.Z): Removed.
5091 (%.gz): Removed.
5092 (%.uu): Removed.
5093 (ETAGS): Remove, it's in Makeconfig.
5094 (move-if-change): Remove, it's in Makeconfig.
5095
c0baea34
PE
50962013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5097
5098 [BZ #13970]
5099 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5100 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5101 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5102 (strtod_l, strtof_l, strtold_l): Remove __wur.
5103 It is not necessarily an error to ignore strtol's return value.
5104 One can reliably look at the stored endptr to decide whether
5105 the number had valid syntax.
5106
7c0616fa
AJ
51072012-04-21 Andreas Jaeger <aj@suse.de>
5108
803cb6b7 5109 [BZ #13739]
7c0616fa
AJ
5110 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5111
b0fe253f
JM
51122012-04-21 Joseph Myers <joseph@codesourcery.com>
5113
5114 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5115 * sysdeps/unix/sysv/Versions: Remove file.
5116
8280f22d
MT
51172012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5118
5119 [BZ #13927]
5120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5121
75ce411f 51222012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
5123
5124 [BZ #7064]
5125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5126 version from __vm86.
5127
097d59fa
JM
51282012-04-20 Joseph Myers <joseph@codesourcery.com>
5129
a90f3bcb
JM
5130 * sysdeps/unix/common/lxstat.c: Remove file.
5131 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5132
edc7ea78
JM
5133 * sysdeps/unix/sysv/Makefile: Remove file.
5134
cb78c221
JM
5135 * sysdeps/unix/sysv/direct.h: Remove file.
5136
efa6a45f
JM
5137 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5138 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5139 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5140 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5141 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5142 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5143 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5144
9c9f2d0c
JM
5145 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5146
4541c83b
JM
5147 * sysdeps/unix/xmknod.c: Remove file.
5148 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5149
f5d153a0
JM
5150 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5151
aa746595
JM
5152 * sysdeps/unix/sysv/i386/time.S: Remove file.
5153
cce5905e
JM
5154 * sysdeps/unix/fxstat.c: Remove file.
5155 * sysdeps/unix/xstat.c: Likewise.
5156 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5157
37fa3841
JM
5158 * sysdeps/unix/sysv/sigaction.c: Remove file.
5159
ff1962a3
JM
5160 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5161 (sysdep_headers): Remove variable.
5162 [termio.h not in sysdep_headers] (generated): Likewise.
5163 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5164 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5165 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5166 * sysdeps/unix/sysv/tcflow.c: Likewise.
5167 * sysdeps/unix/sysv/tcflush.c: Likewise.
5168 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5169 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5170 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5171 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5172 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5173
e7740d31
JM
5174 * sysdeps/unix/siglist.c: Remove file.
5175
ee06f18b
JM
5176 * sysdeps/unix/getppid.S: Remove file.
5177
097d59fa
JM
5178 * sysdeps/unix/mkdir.c: Remove file.
5179 * sysdeps/unix/rmdir.c: Likewise.
5180
ff3d51ec
AS
51812012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5182
5183 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5184 ERR_MAX value.
5185 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5186 errlist-compat value.
5187
50f81fd7
DM
51882012-04-18 David S. Miller <davem@davemloft.net>
5189
5190 * sysdeps/generic/memcopy.h (reg_char): Delete.
5191 * debug/strcat_chk.c: Use char, not reg_char.
5192 * debug/strcpy_chk.c: Likewise.
5193 * debug/strncat_chk.c: Likewise.
5194 * debug/strncpy_chk.c: Likewise.
5195 * string/memchr.c: Likewise.
5196 * string/memrchr.c: Likewise.
5197 * string/rawmemchr.c: Likewise.
5198 * string/strcat.c: Likewise.
5199 * string/strchr.c: Likewise.
5200 * string/strchrnul.c: Likewise.
5201 * string/strcmp.c: Likewise.
5202 * string/strcpy.c: Likewise.
5203 * string/strncat.c: Likewise.
5204 * string/strncmp.c: Likewise.
5205 * string/strncpy.c: Likewise.
5206
8ff41c46
WS
52072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5208
5209 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5210 __builtin_memcopy is called when src and dest ranges are known to not
5211 overlap.
5212
6b652f46
WS
52132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5214
5215 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5216 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5217 fwd_align_merge macro call.
5218 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5219 bwd_align_merge macro call.
5220 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5221
b282631e
WS
52222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5223
5224 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5225 bwd_align_merge macros.
5226 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5227 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5228 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5229
95aa737c
DM
52302012-04-18 David S. Miller <davem@davemloft.net>
5231
5232 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5233
7a99a614
AJ
52342012-04-18 Andreas Jaeger <aj@suse.de>
5235
5236 [BZ# 6794]
5237 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5238 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5239 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5240
5241 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5242 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5243 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5244
5245 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5246 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5247 Adjust for changed ldbl-128 files.
5248
5249 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5250 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5251 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5252
e5270c23
DM
52532012-04-17 David S. Miller <davem@davemloft.net>
5254
5255 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5256
fb5e92c9
AS
52572012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5258
5259 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5260 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5261 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5262 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5263 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5264 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5265
76da7265
AZ
52662012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5267
5268 [BZ #6794]
5269 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5270 * math/libm-test.inc: Add ilogb errno and exception tests.
5271 * math/w_ilogb.c: New file: ilogb wrapper.
5272 * math/w_ilogbf.c: New file: ilogbf wrapper.
5273 * math/w_ilogbl.c: New file: ilogbl wrapper.
5274 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5275 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5276 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5277 exception being thrown with 0.0 as argument.
5278 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5279 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5280 exception being thrown with 0.0 as argument.
5281 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5282 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5283 exception being thrown with 0.0 as argument.
5284 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5285 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5286 exception being thrown with 0.0 as argument.
5287 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5288 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 5289 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
5290 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5291 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5292 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5293 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5294 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5295 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5296
0396e69d
PB
52972012-04-17 Petr Baudis <pasky@ucw.cz>
5298
5299 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5300 with altivec.
5301
750b5926
MP
53022012-04-16 Marek Polacek <polacek@redhat.com>
5303
5304 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5305
751728a1
MP
53062012-04-16 Marek Polacek <polacek@redhat.com>
5307
5308 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5309 operands of fdivp instruction.
5310
34a27407
L
53112012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5312
5313 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5314 * elf/tst-auditmod3b.c: Likewise.
5315 * elf/tst-auditmod4b.c: Likewise.
5316 * elf/tst-auditmod5b.c: Likewise.
5317 * elf/tst-auditmod6b.c: Likewise.
5318 * elf/tst-auditmod6c.c: Likewise.
5319 * elf/tst-auditmod7b.c: Likewise.
5320 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5321 * sysdeps/x86_64/preconfigure.in: Likewise.
5322 * sysdeps/x86_64/preconfigure: Regenerated.
5323
7e73e17d
L
53242012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5325
5326 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5327 __ILP32__.
5328
c7a6ab72
AB
53292012-04-13 Antoine Balestrat <merkil33@gmail.com>
5330
5331 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5332 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5333
a9e8e0e0
CL
53342012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5335
5336 [BZ #13973]
5337 * locale/iso-639.def: Fix gl language name. Spotted by
5338 Yaron Shahrabani.
5339
ec98af7d
RM
53402012-04-12 Roland McGrath <roland@hack.frob.com>
5341
5342 [BZ #2074]
5343 * libio/libio.h (__io_write_fn): Update comment.
5344
247c3ede
PB
53452012-04-12 Petr Baudis <pasky@ucw.cz>
5346
5347 [BZ #2074]
5348 * stdio.texi (Hook Functions): The user provided writer function
5349 is not allowed to return -1.
5350
55939d6d
DM
53512012-04-11 David S. Miller <davem@davemloft.net>
5352
5353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5354
90020f5a
MF
53552012-04-11 Mike Frysinger <vapier@gentoo.org>
5356
5357 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5358 Add a leading slash to rtkaio.
5359
288f9098
JM
53602012-04-11 Jim Meyering <meyering@redhat.com>
5361
90020f5a
MF
5362 [BZ #11959]
5363 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5364 It is not necessarily an error to ignore fwrite's return
5365 value. One can reliably use ferror to test for errors after
5366 the fact.
288f9098 5367
4be2b570
L
53682012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5369
5370 * bits/types.h (__snseconds_t): New type.
5371 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5372
5373 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5374 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5375 (__SNSECONDS_T_TYPE): Likewise.
5376 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5377 (__SNSECONDS_T_TYPE): Likewise.
5378 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5379 (__SNSECONDS_T_TYPE): Likewise.
5380
288f9098 53812012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
5382
5383 [BZ #2636]
5384 * manual/time.texi (Processor Time): Return type of times is
5385 elapsed real time since an arbitrary point in the past.
5386 (CPU Time): Move CLK_TCK from here...
5387 (Processor Time): ...to here. Correct description.
5388 * manual/conf.texi (Constants for Sysconf): Correct description of
5389 _SC_CLK_TCK.
5390
d7dd4413
DM
53912012-04-10 David S. Miller <davem@davemloft.net>
5392
5393 [BZ #13967]
5394 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5395 where the is a gap between DT_REL(A) and DT_JMPREL.
5396
b46068fc
L
53972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5398
5399 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5400 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5401 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5402
73d65cc3
SP
54032012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5404
5405 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5406 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5407 (dl_main): Handle --inhibit-cache.
5408 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5409 _dl_inhibit_cache.
5410 * elf/dl-load.c (_dl_map_object): Use it.
5411 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5412
bcc8d661
JM
54132012-04-09 Joseph Myers <joseph@codesourcery.com>
5414
8f9a2fae
JM
5415 [BZ #13872]
5416 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5417 (__ieee754_powl): Saturate large exponents rather than testing for
5418 overflow of y*log2(x).
5419 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5420 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5421 exceptions.
5422
bcc8d661
JM
5423 [BZ #11521]
5424 * math/s_ctan.c: Include <float.h>.
5425 (__ctan): Avoid internal overflow or cancellation in calculating
5426 denominator.
5427 * math/s_ctanf.c: Likewise.
5428 * math/s_ctanl.c: Likewise.
5429 * math/s_ctanh.c: Likewise.
5430 * math/s_ctanhf.c: Likewise.
5431 * math/s_ctanhl.c: Likewise.
5432 * math/libm-test.inc (ctan_test): Add more tests.
5433 (ctanh_test): Likewise.
5434 * sysdeps/i386/fpu/libm-test-ulps: Update.
5435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5436
823fbbb4
AJ
54372012-04-09 Andreas Jaeger <aj@suse.de>
5438
03879793
AJ
5439 [BZ #6894]
5440 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5441 is an optional BSD extension.
5442
823fbbb4
AJ
5443 [BZ #10254]
5444 * manual/stdio.texi (Opening Streams): Document additional fopen
5445 parameters.
5446
8de131cb
RM
54472012-04-09 Roland McGrath <roland@hack.frob.com>
5448
5449 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5450 %eax without telling the compiler.
5451
c0ed9d7d
CD
54522012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5453
5454 [BZ # 13963]
5455 * manual/install.texi: Use sourceware.org.
5456
c483f6b4
JM
54572012-04-09 Joseph Myers <joseph@codesourcery.com>
5458
d7dd9453
JM
5459 [BZ #13873]
5460 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5461 (__ieee754_pow): Generate overflow and underflow using huge*huge
5462 and tiny*tiny rather than just returning constant infinity or zero
5463 for large exponents.
5464 * math/libm-test.inc (pow_test): Require overflow exceptions for
5465 applicable cases of large exponents.
5466
c483f6b4
JM
5467 [BZ #706]
5468 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5469 (__ieee754_pow): Use iterative multiplication algorithm only for
5470 integer exponents with absolute value below 1024. Check for odd
5471 integer exponents when using algorithm for real exponents.
5472 * math/libm-test.inc (pow_test): Add more tests.
5473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5474
d2de7579
JM
54752012-04-08 Joseph Myers <joseph@codesourcery.com>
5476
5477 [BZ #13705]
5478 * math/libm-test.inc (exp_test): Do not allow overflow exception
5479 on underflow test.
5480
f77f1232
AJ
54812012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5482
5483 [BZ #13705]
5484 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5485 instead of __kernel_standard_f.
5486
3884932b
MF
54872012-04-08 Mike Frysinger <vapier@gentoo.org>
5488
5489 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5490 * sysdeps/x86_64/memset_chk.S: Likewise.
5491
54472e9c
AJ
54922012-04-08 Andreas Jaeger <aj@suse.de>
5493
6ab0fbfc
AJ
5494 [BZ #10153]
5495 * manual/startup.texi (Environment Access): Describe return value
5496 for putenv and setenv.
5497
61efba8c
AJ
5498 [BZ #6895]
5499 * manual/filesys.texi (Directory Entries): Add description for
5500 DT_LNK.
5501
95c3f29a
AJ
5502 [BZ #6890]
5503 * manual/filesys.texi (Directory Entries): Clarify that it's file
5504 system not operating system in the description of DT_UNKNOWN.
5505
54472e9c
AJ
5506 [BZ #6578]
5507 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5508
624254b1
SC
55092012-04-08 Stephen Compall <s11@member.fsf.org>
5510
5511 [BZ #6649]
5512 * manual/llio.texi (Opening and Closing Files): Add cross
5513 reference to explain mode argument.
5514
1e4920e0
MF
55152012-04-07 Mike Frysinger <vapier@gentoo.org>
5516
5517 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5518 * sysdeps/x86_64/memset_chk.S: Likewise.
5519
5ed848f3
DM
55202012-04-07 David S. Miller <davem@davemloft.net>
5521
5522 * elf/elf.h (R_SPARC_WDISP10): Define.
5523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5524 R_SPARC_SIZE32.
5525 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5526 R_SPARC_SIZE64 and R_SPARC_H34.
5527
96154cd8
CD
55282012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5529
5530 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5531 conditions and remove no longer applicable assertion.
5532
9904dc47
L
55332012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5534
5535 * bits/byteswap.h: Include <features.h>.
5536 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5537 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5538
f8887d0a
L
55392012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5540
5541 * bits/byteswap.h (__bswap_16): Removed.
5542 Include <bits/byteswap-16.h> to get __bswap_16.
5543 * sysdeps/i386/bits/byteswap.h: Likewise.
5544 * sysdeps/s390/bits/byteswap.h: Likewise.
5545 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5546 * bits/byteswap-16.h: New file.
5547 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5548 * sysdeps/s390/bits/byteswap-16.h: Likewise.
5549 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
5550 * string/Makefile (headers): Add bits/byteswap-16.h.
5551
62470f60
PP
55522012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5553
5554 [BZ #13895]
5555 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
5556 extra indirection.
5557 * nss/Makefile (tests-static, tests): Add tst-nss-static.
5558 * nss/tst-nss-static.c: New.
5559
4dad7bab
RM
55602012-04-06 Robert Millan <rmh@gnu.org>
5561
5562 [BZ #6486]
5563 * manual/llio.texi (File Position Primitive): lseek
5564 refers to WHENCE when it really means OFFSET.
5565
e9142a17
AJ
55662012-04-06 Andreas Jaeger <aj@suse.de>
5567
2c040eff
AJ
5568 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
5569 strncmp declarations.
5570
e9142a17
AJ
5571 * abilist/libc.abilist: Add __poll and __ppoll.
5572
ff9f1c5f
DM
55732012-04-05 David S. Miller <davem@davemloft.net>
5574
dcd2ae90
DM
5575 * scripts/check-local-headers.sh: Accept a host triplet in the
5576 path matched by the exclude regexp.
5577
993eb054
DM
5578 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
5579 definition.
5580 * sysdeps/powerpc/powerpc32/dl-machine.h
5581 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
5582 * sysdeps/s390/s390-32/dl-machine.h
5583 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5584 * sysdeps/sparc/sparc32/dl-machine.h
5585 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5586 * sysdeps/sparc/sparc64/dl-machine.h
5587 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
5588
ff9f1c5f
DM
5589 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
5590 lazy binding.
48e2e132 5591 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
5592 undefined symbol errors.
5593
48e2e132 5594 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
5595 DT_NEEDED entries.
5596
e80d6f94
MM
55972012-04-05 Michael Matz <matz@suse.de>
5598
5599 [BZ #13592]
5600 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
5601
349fa79f
AJ
56022012-04-05 Andreas Jaeger <aj@suse.de>
5603
5604 [BZ #13908]
5605 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
5606 comment.
5607
f402708f
KK
56082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5609
5610 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
5611 which ROUND is no valid rounding mode.
5612
2ecccfc9
KK
56132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5614
5615 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
5616 read again.
5617 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
5618
8a53f50f
KK
56192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5620
5621 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
5622 an exception using FPU order intentionally.
5623
56242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
5625
5626 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
5627 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
5628 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
5629 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
5630
d653abb7
SJ
56312012-04-05 Simon Josefsson <simon@josefsson.org>
5632
5633 [BZ #12340]
5634 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
5635 EINVAL when BUFLEN is too smal.
5636
c3b1bf7d
TS
56372012-04-05 Thomas Schwinge <thomas@codesourcery.com>
5638
5639 [BZ #13553]
5640 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
5641 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
5642
b1aa60f3
AJ
56432012-04-03 Andreas Jaeger <aj@suse.de>
5644
c3b1bf7d 5645 [BZ #13938]
67f60a26
AJ
5646 * manual/setjmp.texi (System V contexts): Fix sentence.
5647
b1aa60f3
AJ
5648 [BZ #13926]
5649 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
5650 New macro for this case.
5651 [!__GNUC__] (__bswap_64): New inline function for this case.
5652 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5653 * bits/byteswap.h: Likewise.
5654 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
5655 ull, guard with __GLIBC_HAVE_LONG_LONG.
5656
5657 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
5658 __GLIBC_HAVE_LONG_LONG.
5659
5660 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
5661 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
5662
39c59c35
TMQMF
56632012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5664
5665 [BZ #13691]
5666 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
5667 inptr and inend, rather than using last_ch.
5668
135ffda8
DM
56692012-04-02 David S. Miller <davem@davemloft.net>
5670
5671 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
5672 * stdio-common/printf-parse.h (read_int): Change return type to
5673 'int', return -1 on INT_MAX overflow.
5674 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
5675 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
5676 overflows INT_MAX. Check for overflow of in-format-string precision
5677 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
5678 SIZE_MAX not INT_MAX for integer overflow test.
5679 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
5680 skip the construct in the format string but do not record anything.
5681 * stdio-common/bug22.c: Adjust to test both width/prevision
5682 INT_MAX overflow as well as total length INT_MAX overflow. Check
5683 explicitly for proper errno values.
5684
228c019e
TS
56852012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5686
302cadd3
TS
5687 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5688 CHAR_MAX.
5689 * string/test-strcmp.c [! WIDE]: Likewise.
5690 * time/tst-mktime2.c: Likewise for INT_MAX.
5691 * string/test-string.h: #include <sys/param.h> for MIN.
5692
228c019e
TS
5693 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5694 * sysdeps/i386/init-first.c (init): Likewise.
5695 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5696 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5697 * sysdeps/sh/init-first.c (init): Likewise.
5698
cfa633f5
UD
56992012-04-01 Ulrich Drepper <drepper@gmail.com>
5700
5701 * po/ru.po: Update from translation team.
d1635ef8 5702 * po/vi.po: Likewise.
cfa633f5 5703
6cd0a5ea
SP
57042012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5705
5706 * resolv/nss_dns/dns-host.c: Merge copyright years.
5707
4b43400f
LD
57082012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5709
5710 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5711 Optimize memcpy with prefetch if
5712 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5713 src, dst pointers have unequal 16 byte alignments.
5714
48c41d04
SP
57152012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5716
5717 [BZ #13928]
5718 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5719 from a CNAME entry and return the minimum ttl for the query.
5720 (gaih_getanswer_slice): Likewise.
5721
b8dc394d
JL
57222012-03-30 Jeff Law <law@redhat.com>
5723
5724 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5725 due to long keys.
5726 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5727 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5728
2f5a5ed0
JL
5729 * resolv/nss_dns/dns-host.c: Update copyright year.
5730
1d39e359
UD
57312012-03-30 Ulrich Drepper <drepper@gmail.com>
5732
c030f70c 5733 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 5734 requests to save a system call. Fix check that all bytes are sent.
c030f70c 5735
1d39e359
UD
5736 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5737 comments for sendmmsg.
5738
57392012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
5740
5741 [BZ #13691]
5742 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5743 with only 1 character between 0x0041 and 0x01b0.
5744 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5745 * wcsmbs/tst-mbsnrtowcs.c: New file.
5746
20fde227
DM
57472012-03-29 David S. Miller <davem@davemloft.net>
5748
5749 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5750 small copies by hand.
5751
984a4237
JL
57522012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5753
5754 [BZ #13761]
5755 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5756 _nss_compat_initgroups_dyn): Fall back to malloc/free
5757 for large group memberships.
5758
18c9d62b
DM
57592012-03-28 David S. Miller <davem@davemloft.net>
5760
88d85d4f
DM
5761 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5762 that branches into memcpy.
5763 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5764 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5765 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5766 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5768 bits.
5769 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5770 implementation too.
5771 * sysdeps/sparc/mempcpy.S: New file.
5772
e5aa83e1
DM
5773 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5774 the IFUNC routine in the libc case.
5775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5776
88570753
DM
5777 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5778 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5779 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5780 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5781 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5782 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5783 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5784 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5785
249d7567
DM
5786 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5787 loop to 256 bytes instead of 64 bytes and fix test signedness.
5788
18c9d62b
DM
5789 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5790 * sysdeps/sparc/sparc32/Makefile: rather than here...
5791 * sysdeps/sparc/sparc64/Makefile: and here.
5792
05f3d1f6
UD
57932012-03-28 Ulrich Drepper <drepper@gmail.com>
5794
5795 * malloc/mallocbug.c: Avoid warnings about unused variables.
5796
86ae07a8
JL
57972012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5798
5799 [BZ #13760]
5800 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5801 in the right place. Discard and retry query if response is
5802 larger than input buffer size.
5803
41bf21a1
JM
58042012-03-28 Joseph Myers <joseph@codesourcery.com>
5805
d6270972
JM
5806 [BZ #369]
5807 [BZ #2678]
5808 [BZ #3866]
5809 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5810 x for large integer exponent.
5811 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5812 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5813 sign of result as needed afterwards.
5814 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5815 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5816 result for underflowing pow the same as for overflow.
5817 (__kernel_standard_l): Handle powl overflow and underflow here
5818 rather than calling __kernel_standard.
5819 * math/libm-test.inc (pow_test): Add more tests.
5820
414fca03 5821 [BZ #3868]
41bf21a1
JM
5822 [BZ #13879]
5823 [BZ #13910]
5824 [BZ #13911]
5825 [BZ #13912]
5826 [BZ #13913]
5827 [BZ #13915]
5828 [BZ #13916]
5829 [BZ #13917]
5830 [BZ #13918]
5831 [BZ #13919]
5832 [BZ #13920]
5833 [BZ #13921]
5834 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5835 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5836 (__kernel_standard_l): New function.
5837 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5838 __kernel_standard.
5839 * math/w_acosl.c (__acosl): Likewise.
5840 * math/w_asinl.c (__asinl): Likewise.
5841 * math/w_atan2l.c (__atan2l): Likewise.
5842 * math/w_atanhl.c (__atanhl): Likewise.
5843 * math/w_coshl.c (__coshl): Likewise.
5844 * math/w_exp10l.c (__exp10l): Likewise.
5845 * math/w_exp2l.c (__exp2l): Likewise.
5846 * math/w_fmodl.c (__fmodl): Likewise.
5847 * math/w_hypotl.c (__hypotl): Likewise.
5848 * math/w_j0l.c (__j0l, __y0l): Likewise.
5849 * math/w_j1l.c (__j1l, __y1l): Likewise.
5850 * math/w_jnl.c (__jnl, __ynl): Likewise.
5851 * math/w_lgammal.c (__lgammal): Likewise.
5852 * math/w_log10l.c (__log10l): Likewise.
5853 * math/w_log2l.c (__log2l): Likewise.
5854 * math/w_logl.c (__logl): Likewise.
5855 * math/w_powl.c (__powl): Likewise.
5856 * math/w_remainderl.c (__remainderl): Likewise.
5857 * math/w_scalbl.c (sysv_scalbl): Likewise.
5858 * math/w_sinhl.c (__sinhl): Likewise.
5859 * math/w_sqrtl.c (__sqrtl): Likewise.
5860 * math/w_tgammal.c (__tgammal): Likewise.
5861 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5862 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5863 * math/libm-test.inc (acos_test): Add more tests.
5864 (acosh_test): Likewise.
5865 (asin_test): Likewise.
5866 (atanh_test): Likewise.
5867 (exp_test): Likewise.
5868 (exp10_test): Likewise.
5869 (exp2_test): Likewise.
5870 (expm1_test): Likewise.
5871 (lgamma_test): Likewise.
5872 (log_test): Likewise.
5873 (log10_test): Likewise.
5874 (log1p_test): Likewise.
5875 (log2_test): Likewise.
5876 (pow_test): Do not allow some spurious overflow exceptions.
5877 (sqrt_test): Add more tests.
5878 (tgamma_test): Likewise.
5879 (y0_test): Likewise.
5880 (y1_test): Likewise.
5881 (yn_test): Likewise.
5882
dd62fda6
AB
58832012-03-27 Anton Blanchard <anton@samba.org>
5884
5885 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5886 MAP_HUGETLB.
5887 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5888 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5889 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5890
1e3cdfda
AJ
58912012-03-27 David S. Miller <davem@davemloft.net>
5892
b855ab85
DM
5893 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5894
1e3cdfda
AJ
5895 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5896 have-as-vis3 check.
5897
58982012-03-27 Andreas Jaeger <aj@suse.de>
5899
5900 * sysdeps/x86_64/elf/configure.in: Moved to ...
5901 * sysdeps/x86_64/configure.in: ... here.
5902 * sysdeps/x86_64/elf/start.S: Moved to ...
5903 * sysdeps/x86_64/start.S: ... here.
5904 * sysdeps/x86_64/elf/configure: Delete.
5905
5906 * sysdeps/x86_64/configure.in: Merge contents from
5907 sysdeps/i386/configure.in (without i686 check).
5908
5909 * sysdeps/i386/elf/Versions: Merge into ...
5910 * sysdeps/i386/Versions: ... this.
5911 * sysdeps/i386/elf/Versions: Delete file.
5912 * sysdeps/i386/elf/start.S: Moved to ...
5913 * sysdeps/i386/start.S: ...here.
5914 * sysdeps/i386/elf/configure.in: Merge into...
5915 * sysdeps/i386/configure.in: ...here.
5916 * sysdeps/i386/elf/configure.in: Delete file.
5917 * sysdeps/i386/elf/configure: Delete file.
5918
5919 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5920 * debug/backtracesyms.c: ... here.
5921 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5922 * debug/backtracesymsfd.c: ... here.
5923 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5924 * sysdeps/generic/ifunc-sel.h: ... here.
5925
5926 * sysdeps/unix/i386/start.c: Delete file.
5927 * sysdeps/unix/sparc/start.c: Delete file.
5928 * sysdeps/unix/start.c: Delete file.
5929
5930 * sysdeps/sh/elf/configure.in: Moved to ...
5931 * sysdeps/sh/configure.in: ... here.
5932 * sysdeps/sh/elf/start.S: Moved to ...
5933 * sysdeps/sh/start.S: ... here.
5934 * sysdeps/sh/elf/configure: Delete file.
5935
5936 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5937 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5938 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5939 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5940 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5941 * sysdeps/powerpc/powerpc64/start.S: here.
5942 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5943 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5944 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5945 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5946 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5947
5948 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5949 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5950 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5951 * sysdeps/powerpc/powerpc32/start.S: ... here.
5952 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5953 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5954 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5955
5956 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5957 * sysdeps/powerpc/ifunc-sel.h: ... here.
5958 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5959 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5960
5961 * sysdeps/sparc/elf/configure.in: Moved to ...
5962 * sysdeps/sparc/configure.in: ... here.
5963 * sysdeps/sparc/elf/configure: Delete file.
5964 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5965 * sysdeps/sparc/sparc32/start.S: ... here.
5966 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5967 * sysdeps/sparc/sparc64/start.S: ... here.
5968 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5969 * sysdeps/sparc/sparc32/Makefile: ... this.
5970 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5971 * sysdeps/sparc/sparc64/Makefile: ... this.
5972
5973 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5974 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5975 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5976 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5977 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5978 * sysdeps/s390/s390-32/setjmp.S: ... here.
5979 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5980 * sysdeps/s390/s390-32/configure.in: ... here.
5981 * sysdeps/s390/s390-32/elf/configure: Delete file.
5982 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5983 * sysdeps/s390/s390-32/start.S: ... here.
5984
5985 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5986 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5987 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5988 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5989 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5990 * sysdeps/s390/s390-64/setjmp.S: ... here.
5991 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5992 * sysdeps/s390/s390-64/configure.in: ... here
5993 * sysdeps/s390/s390-64/elf/configure: Delete file.
5994 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5995 * sysdeps/s390/s390-64/start.S: ... here.
5996 * sysdeps/s390/s390-64/elf/configure: Delete.
5997
5998 * configure.in: Remove support for elf directories in sysdeps.
5999
6000 * configure: Regenerated.
6001 * sysdeps/i386/configure: Regenerated.
6002 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6003 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6004 * sysdeps/s390/s390-32/configure: Regenerated.
6005 * sysdeps/s390/s390-64/configure: Regenerated.
6006 * sysdeps/sh/configure: Regenerated.
6007 * sysdeps/sparc/configure: Regenerated.
6008 * sysdeps/x86_64/configure: Regenerated.
6009
a3f61311
AS
60102012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6011
c876e002
AS
6012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6013
a3f61311
AS
6014 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6015 denormal result into account.
6016
ac4c54f0
RM
60172012-03-25 Roland McGrath <roland@hack.frob.com>
6018
6019 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6020 Reported by Allan McRae <allan@archlinux.org>.
6021
6a9b9c02
JL
60222012-03-23 Jeff Law <law@redhat.com>
6023
6024 * nss/getnssent.c (__nss_getent): Fix typo.
6025
4c42a0c1
DM
60262012-03-23 David S. Miller <davem@davemloft.net>
6027
6028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6029
1532c7ac
L
60302012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6031
6032 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6033 to pad to uint64_t for each field.
6034 (dl_tls_index): Replace unsigned long with uint64_t.
6035
3ff42526
PP
60362012-03-23 Daniel Jacobowitz <dmj@google.com>
6037 Paul Pluzhnikov <ppluzhnikov@google.com>
6038
6039 [BZ #6528]
6040 * grp/Makefile (otherlibs): Don't set it.
6041 * inet/Makefile (otherlibs): Likewise.
6042 * login/Makefile (otherlibs): Likewise.
6043 * nscd/Makefile (otherlibs): Likewise.
6044 * posix/Makefile (otherlibs): Likewise.
6045 * pwd/Makefile (otherlibs): Likewise.
6046 * rt/Makefile (otherlibs): Likewise.
6047 * sunrpc/Makefile (otherlibs): Likewise.
6048 * nss/Makefile (otherlibs): Likewise.
6049 Add libnss_files to routines and static-only-routines.
6050 ($(objpfx)getent): Remove rule.
6051 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6052 static-only-routines.
6053
7c69cd14
JM
60542012-03-22 Joseph Myers <joseph@codesourcery.com>
6055
6056 [BZ #13892]
6057 * math/s_cexp.c: Include <float.h>.
6058 (__cexp): Handle exp result overflowing not necessarily
6059 overflowing both real and imaginary parts of result.
6060 * math/s_cexpf.c: Likewise.
6061 * math/s_cexpl.c: Likewise.
6062 * math/libm-test.inc (cexp_test): Add more tests.
6063 * sysdeps/i386/fpu/libm-test-ulps: Update.
6064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6065
81b035fe
L
60662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6067
6068 * include/link.h (ELFW): New macro.
6069 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6070 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6071
1da7940c
L
60722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6073
6074 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6075 with uint64_t.
6076
b749dbb9
L
60772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6078
6079 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6080 declaration.
6081 (struct La_x32_retval): Likewise.
6082
2ff87f3f
L
60832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6084
6085 * sysdeps/x86_64/preconfigure.in: New file.
6086 * sysdeps/x86_64/preconfigure: New generated file.
6087
c0df8e69
JM
60882012-03-22 Joseph Myers <joseph@codesourcery.com>
6089
48e44791
JM
6090 [BZ #13824]
6091 * math/e_exp2l.c: Include <float.h>.
6092 (__ieee754_exp2l): Handle overflow and underflow cases
6093 separately. Only pass fractional part of argument to
6094 __ieee754_expl.
6095 * math/libm-test.inc (exp2_test): Add more tests.
6096
c0df8e69
JM
6097 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6098 negating x to take absolute value.
6099 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6100 Likewise.
6101 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6102 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6103 Likewise.
6104 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6105 computing low part if x was negated.
6106 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6107
c8e43ba7
L
61082012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6109
6110 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6111 la_x32_gnu_pltexit.
6112 (pltexit): Cast int_retval to ptrdiff_t.
6113 * elf/tst-auditmod3b.c: Likewise.
6114 * elf/tst-auditmod4b.c: Likewise.
6115 * elf/tst-auditmod5b.c: Likewise.
6116 * elf/tst-auditmod6b.c: Likewise.
6117 * elf/tst-auditmod6c.c: Likewise.
6118 * elf/tst-auditmod7b.c: Likewise.
6119
6120 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6121 and x32_gnu_pltexit.
6122
6123 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6124 __ELF_NATIVE_CLASS.
6125 (La_x32_regs): New macro.
6126 (La_x32_retval): Likewise.
6127 (la_x32_gnu_pltenter): New function prototype.
6128 (la_x32_gnu_pltexit): Likewise.
6129
7998fa78
AS
61302012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6131
dcb33988
AS
6132 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6133 exponent.
6134
233fc563
AS
6135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6136
7998fa78
AS
6137 * configure.in (libc_cv_cc_nofma): Check for option to disable
6138 generation of FMA instructions.
6139 * configure: Regenerate.
6140 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6141 * sysdeps/ieee754/dbl-64/Makefile: New file.
6142 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6143 Remove brandred-fma4.
6144 (CFLAGS-brandred-fma4.c): Remove.
6145 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6146 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6147 define.
6148 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6149 define.
6150
8e95c99a
L
61512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6152
6153 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6154 LLONG_MAX != LONG_MAX.
6155 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6156 (_fitoa_word): Likewise.
6157 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6158 LLONG_MAX != LONG_MAX.
6159 * stdio-common/_itowa.h: Include <_itoa.h>.
6160 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6161 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6162 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6163 only if not defined.
6164 (_ITOA_WORD_TYPE): Likewise.
6165 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6166 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6167
6f4db457
DM
61682012-03-21 David S. Miller <davem@davemloft.net>
6169
6170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6171
7785fe5a
L
61722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6173
6174 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6175 of x86_64 when setting libc_cv_slibdir, libdir and
6176 libc_cv_localedir.
6177 * sysdeps/unix/sysv/linux/configure: Regenerated.
6178
4535cd55
JM
61792012-03-21 Joseph Myers <joseph@codesourcery.com>
6180
6181 * manual/lang.texi (Old Varargs): Remove section.
6182 (How Variadic): Update menu.
6183 (va_start): Do not mention varargs.h.
6184
17228132
TS
61852012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6186 Joseph Myers <joseph@codesourcery.com>
6187
6188 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6189 link test.
6190 * configure: Regenerated.
6191
8149f976
TS
61922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6193
05f3d1f6
UD
6194 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6195 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6196 conformtest.pl
8149f976 6197
1a4ac776
JM
61982012-03-21 Joseph Myers <joseph@codesourcery.com>
6199
be22ce65
JM
6200 * NOTES: Remove.
6201 * Makefile (files-for-dist): Remove NOTES.
6202 (NOTES): Remove rule.
6203 * README: Don't refer to NOTES.
6204 * manual/creature.texi: Don't include macros.texi.
6205 * manual/intro.texi (creature.texi): Remove comment referring to
6206 NOTES.
6207
40b601fb
JM
6208 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6209 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6210 * configure: Regenerated.
6211 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6212 LIBC_TRY_CC_OPTION.
6213 (libc_cv_as_i686): Likewise.
6214 (libc_cv_cc_avx): Likewise.
6215 (libc_cv_cc_sse2avx): Likewise.
6216 (libc_cv_cc_fma4): Likewise.
6217 (libc_cv_cc_novzeroupper): Likewise.
6218 * sysdeps/i386/configure: Regenerated.
6219
1a4ac776
JM
6220 [BZ #13883]
6221 * sysdeps/i386/fpu/s_cexp.S: Remove.
6222 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6223 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6224 * math/libm-test.inc (cexp_test): Add more tests.
6225 * sysdeps/i386/fpu/libm-test-ulps: Update.
6226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6227
a458e7fe
AM
62282012-03-21 Allan McRae <allan@archlinux.org>
6229
6230 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6231
0cb7efc5
JM
62322012-03-21 Joseph Myers <joseph@codesourcery.com>
6233
6234 [BZ #13871]
6235 * math/w_exp2.c: Do not include <float.h>.
6236 (o_threshold, u_threshold): Remove.
6237 (__exp2): Calculate result before checking finiteness and calling
6238 __kernel_standard.
6239 * math/w_exp2f.c: Likewise.
6240 * math/w_exp2l.c: Likewise.
6241 * math/libm-test.inc (exp2_test): Require overflow exception for
6242 1e6 input.
2460d3aa
JM
6243
6244 [BZ #3866]
6245 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6246 range of signed 64-bit integers before using fistpll. Remove
6247 checks for whether integers fit in mantissa bits.
6248 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6249 the range of signed 32-bit integers before using fistpl. Remove
6250 checks for whether integers fit in mantissa bits.
6251 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6252 (__ieee754_powl): Test for y outside the range of signed 64-bit
6253 integers before using fistpll. Reduce 64-bit values to 63-bit
6254 ones as needed.
6255 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6256 divide-by-zero is raised for zero to large negative powers.
6257 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6258 (__ieee754_powl): Test for y outside the range of signed 64-bit
6259 integers before using fistpll. Reduce 64-bit values to 63-bit
6260 ones as needed.
6261 * math/libm-test.inc (pow_test): Add more tests.
6262
eb96ffb0
L
62632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6264
6265 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6266 <stdio-common/_itoa.h>.
6267 * debug/segfault.c: Likewise.
6268 * elf/dl-cache.c: Likewise.
6269 * elf/dl-minimal.c: Likewise.
6270 * elf/dl-misc.c: Likewise.
6271 * elf/dl-sysdep.c: Likewise.
6272 * elf/dl-version.c: Likewise.
6273 * elf/rtld.c: Likewise.
6274 * hurd/hurdsock.c: Likewise.
6275 * hurd/lookup-retry.c: Likewise.
6276 * malloc/malloc.c: Likewise.
6277 * malloc/mtrace.c: Likewise.
6278 * nscd/nscd_getgr_r.c: Likewise.
6279 * nscd/nscd_getpw_r.c: Likewise.
6280 * nscd/nscd_getserv_r.c: Likewise.
6281 * posix/getopt_init.c: Likewise.
6282 * posix/wordexp.c: Likewise.
6283 * stdio-common/_itoa.c: Likewise.
6284 * stdio-common/printf_fphex.c: Likewise.
6285 * stdio-common/vfprintf.c: Likewise.
6286 * string/_strerror.c: Likewise.
6287 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6288 * sysdeps/i386/i686/hp-timing.h: Likewise.
6289 * sysdeps/mach/_strerror.c: Likewise.
6290 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6291 * sysdeps/mach/hurd/sethostid.c: Likewise.
6292 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6293 * sysdeps/mach/xpg-strerror.c: Likewise.
6294 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6295 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6296 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6297 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6298 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6299 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6300 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6301 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6302 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6303 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6304 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6305 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6306 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6307 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6308 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6309 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6310 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6311 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6312 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6313 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6314 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6315
6316 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6317
6318 * stdio-common/_itoa.h: Moved to ...
6319 * sysdeps/generic/_itoa.h: Here.
6320
6321 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6322
6323 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6324 instead of "_itoa.h" and "_itowa.h".
6325 * stdio-common/vfprintf.: Likewise.
6326
d1af992d
L
63272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6328
6329 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6330 <bits/wordsize.h>.
6331 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6332 (__signbit): Likwise.
6333 (llrintf): Likwise.
6334 (llrint): Likwise.
6335
114883e0
L
63362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6337
6338 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6339 __WORDSIZE != 64.
6340
c135cc1b
JM
63412012-03-20 Joseph Myers <joseph@codesourcery.com>
6342
6343 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6344 OVERFLOW_EXCEPTION_OK.
6345 * math/libm-test.inc ("Philosophy"): Update comment about
6346 exception testing.
6347 (OVERFLOW_EXCEPTION): Define.
6348 (OVERFLOW_EXCEPTION_OK): Likewise.
6349 (INVALID_EXCEPTION_OK): Renumber.
6350 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6351 (IGNORE_ZERO_INF_SIGN): Likewise.
6352 (test_exceptions): Handle FE_OVERFLOW.
6353 (exp10_test): Expect overflow exceptions.
6354 (exp2_test): Likewise.
6355 (expm1_test): Likewise.
6356 (nextafter_test): Likewise.
6357 (pow_test): Likewise.
6358 (scalbn_test): Likewise.
6359 (scalbln_test): Likewise.
6360
95443d88
L
63612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6362
6363 * sysdeps/x86_64/bits/atomic.h
6364 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6365 64bit integer.
6366 (atomic_exchange_acq): Likewise.
6367 (__arch_exchange_and_add_body): Likewise.
6368 (__arch_add_body): Likewise.
6369 (atomic_add_negative): Likewise.
6370 (atomic_add_zero): Likewise.
6371
490df6c4
L
63722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6373
c2722551 6374 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
6375 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6376
5e52b189
L
63772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6378
6379 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6380 Check __x86_64__ instead of __WORDSIZE.
6381
a9879d4c
L
63822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6383
6384 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6385
5df98260
DM
63862012-03-19 David S. Miller <davem@davemloft.net>
6387
e1497744
DM
6388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6389
5df98260
DM
6390 * sysdeps/sparc/fpu/fenv_private.h: New file.
6391 * sysdeps/sparc/fpu/math_private.h: Use it.
6392 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6393 Remove.
6394 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6395 (libc_feholdexcept_setroundl): Remove.
6396 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6397 Remove.
6398 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6399 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6400
b4c35121
L
64012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6402
6403 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6404 int64_t instead of long int.
6405 (INSERT_WORDS64): Likwise.
6406
56965fd7
L
64072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6408
6409 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6410 _Unwind_GetCFA return to _Unwind_Ptr first.
6411
83d1aec8
JM
64122012-03-19 Joseph Myers <joseph@codesourcery.com>
6413
1897ad44
JM
6414 [BZ #13629]
6415 * math/s_clog.c: Include <float.h>.
6416 (__clog): Scale large or subnormal inputs.
6417 * math/s_clogf.c: Likewise.
6418 * math/s_clogl.c: Likewise.
6419 * math/s_clog10.c: Include <float.h>.
6420 (M_LOG10_2): Define.
6421 (__clog10): Scale large or subnormal inputs.
6422 * math/s_clog10f.c: Likewise.
6423 * math/s_clog10l.c: Likewise.
6424 * math/libm-test.inc (clog_test): Add more tests.
6425 (clog10_test): Likewise.
6426 * sysdeps/i386/fpu/libm-test-ulps: Update.
6427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6428
7726d6a9
JM
6429 [BZ #11451]
6430 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6431 x and y.
6432 * math/libm-test.inc (atan2_test): Add another test.
6433
83d1aec8
JM
6434 * Makerules (common-objdir-compile): Remove.
6435 * sysdeps/unix/Makefile (config-generated): Do not add
6436 $(unix-generated) to variable.
6437 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6438 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6439 Remove rule.
6440 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6441 Likewise.
6442 [generic bits/local_lim.h] (before-compile): Do not append to
6443 variable.
6444 [generic bits/local_lim.h] (common-generated): Likewise.
6445 [generic sys/param.h] (before-compile): Do not append to variable.
6446 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6447 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6448 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6449 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6450 include.
6451 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6452 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6453 [generic sys/param.h] ($(addprefix
6454 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6455 [generic sys/param.h] (common-generated): Do not append to
6456 variable.
6457 [generic sys/param.h] (sysdep_headers): Likewise.
6458 [generic bits/errno.h] (before-compile): Do not append to
6459 variable.
6460 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6461 rule.
6462 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6463 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6464 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6465 [generic bits/errno.h] (common-generated): Do not append to
6466 variable.
6467 [generic bits/ioctls.h] (before-compile): Do not append to
6468 variable.
6469 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6470 rule.
6471 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6472 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6473 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6474 rule.
6475 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6476 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6477 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6478 [generic bits/ioctls.h] (common-generated): Do not append to
6479 variable.
6480 [generic sys/syscall.h] (syscall.h): Remove variable.
6481 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6482 rule.
6483 [generic sys/syscall.h] (before-compile): Do not append to
6484 variable.
6485 [generic sys/syscall.h] (common-generated): Likewise.
6486 * sysdeps/unix/errnos-tmpl.c: Remove file.
6487 * sysdeps/unix/errnos.awk: Likewise.
6488 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6489 * sysdeps/unix/ioctls.awk: Likewise.
6490 * sysdeps/unix/mk-local_lim.c: Likewise.
6491 * sysdeps/unix/snarf-ioctls: Likewise.
6492
4851a949
RH
64932012-03-19 Richard Henderson <rth@twiddle.net>
6494
bd37f2ee
RH
6495 * sysdeps/i386/fpu/fenv_private.h: New file.
6496 * sysdeps/i386/fpu/math_private.h: Use it.
6497 (math_opt_barrier, math_force_eval): Remove.
6498 (libc_feholdexcept_setround_53bit): Remove.
6499 (libc_feupdateenv_53bit): Remove.
6500 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6501 (math_opt_barrier, math_force_eval): Remove.
6502 (libc_feholdexcept): Remove.
6503 (libc_feholdexcept_setround): Remove.
6504 (libc_fetestexcept, libc_fesetenv): Remove.
6505 (libc_feupdateenv_test): Remove.
6506 (libc_feupdateenv, libc_feholdsetround): Remove.
6507 (libc_feresetround): Remove.
6508
d0adc922
RH
6509 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6510 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6511
0fe0f1f8
RH
6512 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6513 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6514 (libc_feupdateenv_testl): New.
6515 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6516 (libc_feupdateenv_testf): New.
6517 (libc_feupdateenv): Use libc_feupdateenv_test.
6518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6519 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6520
eb92c487
RH
6521 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6522 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6523 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6524 (libc_feresetround_noex): New.
6525 (libc_feresetround_noexf): New.
6526 (libc_feresetround_noexl): New.
6527 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6528 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6529 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6530 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6531 SET_RESTORE_ROUND.
6532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6533 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6534 (__cos): Likewise.
6535 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6536 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6537 SET_RESTORE_ROUND_NOEX.
6538 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6539 SET_RESTORE_ROUND_NOEXF.
6540 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6541 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6542 (libc_feholdsetroundf): New.
6543 (libc_feresetround, libc_feresetroundf): New.
6544
7d2e8012
RH
6545 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
6546 (libc_feholdexcept_setround_53bit): Convert from macro to function.
6547 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
6548
b4dabbb4
RH
6549 * sysdeps/generic/math_private.h: Include <fenv.h>.
6550 (default_libc_feholdexcept): New.
6551 (default_libc_feholdexcept_setround): New.
6552 (default_libc_fesetenv, default_libc_feupdateenv): New.
6553 (libc_feholdexcept): Only define if undefined.
6554 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
6555 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
6556 (libc_feholdexcept_setroundl): Likewise.
6557 (libc_feholdexcept_setround_53bit): Likewise.
6558 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
6559 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
6560 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
6561 (libc_feupdateenv_53bit): Likewise.
6562 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
6563 (libc_feholdexcept): Convert from macro to inline function.
6564 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
6565 (libc_fesetenv, libc_feupdateenv): Likewise.
6566
4851a949
RH
6567 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
6568 not previously defined.
6569 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
6570 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
6571 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
6572 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
6573 * sysdeps/ieee754/flt-32/math_private.h: New file.
6574 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
6575 math_private.h below SET_FLOAT_WORD.
6576 (__isnan, __isinf_ns, __finite): Remove.
6577 (__isnanf, __isinf_nsf, __finitef): Remove.
6578
e79d442e
AS
65792012-03-18 Andreas Schwab <schwab@linux-m68k.org>
6580
6581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6582
90b80344
DM
65832012-03-17 David S. Miller <davem@davemloft.net>
6584
6585 [BZ #6471]
6586 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
6587 for 2.16.
6588
edc21804
DM
65892012-03-16 David S. Miller <davem@davemloft.net>
6590
77e927af
DM
6591 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
6592 warnings.
6593
374976dd
DM
6594 [BZ #6471]
6595 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
6596 properly.
6597 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
6598 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
6599 sysdep_routines when subdir is sysvipc.
6600 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
6601 __getshmlba helper.
6602
edc21804
DM
6603 * sysdeps/sparc/fpu/libm-test/ulps: Update.
6604
473c3ef3
L
66052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6606
6607 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
6608 [__LP64__].
6609
eb0f39b6
L
66102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6611
6612 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
6613 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
6614 (__lround): Renamed to ...
6615 (__llround): This. Replace long int with long long int.
6616 Define lround functions as aliases of llround functions.
6617 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
6618
6b6cd74b
L
66192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6620
6621 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
6622 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
6623 adresses to uintptr_t. Replace "long int" and "unsigned long
6624 int" with "greg_t" on va_arg.
6625
f1a77b01
L
66262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6627
6628 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
6629 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
6630
6631 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
6632 Move e_machine check before EI_CLASS check. Handle x32
6633 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
6634 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
6635 SKIP_EM_IA_64 and include
6636 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
6637
6638 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
6639 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
6640 (add_system_dir): New macro.
6641
6642 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
6643 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
6644
11b90b9f
JM
66452012-03-16 Joseph Myers <joseph@codesourcery.com>
6646
c36e1d23
JM
6647 [BZ #2551]
6648 [BZ #2552]
6649 [BZ #2553]
6650 [BZ #2554]
6651 [BZ #2562]
6652 [BZ #2563]
6653 [BZ #2565]
6654 [BZ #2566]
6655 [BZ #2576]
6656 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
6657 (y0): Likewise.
6658 * math/w_j0f.c (j0f): Likewise.
6659 (y0f): Likewise.
6660 * math/w_j0l.c (__j0l): Likewise.
6661 (__y0l): Likewise.
6662 * math/w_j1.c (j1): Likewise.
6663 (y1): Likewise.
6664 * math/w_j1f.c (j1f): Likewise.
6665 (y1f): Likewise.
6666 * math/w_j1l.c (__j1l): Likewise.
6667 (__y1l): Likewise.
6668 * math/w_jn.c (jn): Likewise.
6669 (yn): Likewise.
6670 * math/w_jnf.c (jnf): Likewise.
6671 (ynf): Likewise.
6672 * math/w_jnl.c (__jnl): Likewise.
6673 (__ynl): Likewise.
6674 * math/libm-test.inc (j0_test): Add more tests.
6675 (j1_test): Likewise.
6676 (jn_test): Likewise. Add trailing semicolon to existing test.
6677 (y0_test): Likewise.
6678 (y1_test): Likewise.
6679 * sysdeps/i386/fpu/libm-test-ulps: Update.
6680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6681
11b90b9f
JM
6682 [BZ #13851]
6683 [BZ #13854]
6684 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6685 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6686 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6687 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6688 (__tanl): Set errno for infinite argument.
6689 * sysdeps/i386/fpu/mptan.c: Remove.
6690 * sysdeps/i386/fpu/s_tan.S: Likewise.
6691 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6692 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6693 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6694 * math/libm-test.inc (tan_test): Add more tests and enable more
6695 tests for double and long double.
6696 * sysdeps/i386/fpu/libm-test-ulps: Update.
6697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6698
6a1bd2a1
JK
66992012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6700
6701 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6702 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6703
10a803e0
RM
67042012-03-16 Roland McGrath <roland@hack.frob.com>
6705
6706 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6707 * configure.in: Use it for both main tree and add-ons.
6708 * configure: Regenerated.
6709
f196c7f7
L
67102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6711
6712 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6713
8848d99d
JM
67142012-03-16 Joseph Myers <joseph@codesourcery.com>
6715
96cbe7f4
JM
6716 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6717 in comment.
6718
8848d99d
JM
6719 [BZ #13851]
6720 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6721 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6725 infinite argument.
6726 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6727 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6728 != 0 for prec == 2.
6729 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6730 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6731 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6732 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6733 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6734 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6735 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6736 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6737 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6738 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6739 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6740 * math/libm-test.inc (cos_test): Add more tests and enable more
6741 tests for long double.
6742 (sin_test): Likewise.
6743 (sincos_test): Likewise.
6744 * sysdeps/i386/fpu/libm-test-ulps: Update.
6745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6746
dd7f4703
DM
67472012-03-16 David S. Miller <davem@davemloft.net>
6748
6749 * sysdeps/sparc/fpu/math_private.h: New file.
6750
006f1daa
DM
67512012-03-15 David S. Miller <davem@davemloft.net>
6752
c0c83bc8
DM
6753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6754 file.
e6a62e18 6755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
6756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6757 file.
e6a62e18
DM
6758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6760 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6761 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6762 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6764 sysdep routines.
6765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6766
88cb87d9
DM
6767 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6768 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6769
006f1daa 6770 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
6771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6772 sparc-ifunc.h
006f1daa 6773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
6774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6775 Likewise.
6776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6777 Likewise.
006f1daa
DM
6778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
6781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6782 Likewise.
006f1daa
DM
6783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
6787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6788 Likewise.
6789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6790 Likewise.
006f1daa
DM
6791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6797 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6798 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6809 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6810 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6811 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6812 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6813 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6814 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6815
11e0098e
AS
68162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6817
6818 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6819 scaling.
6820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6821
e85b09d0
AJ
68222012-03-15 Andreas Jaeger <aj@suse.de>
6823
6824 [BZ #13852]
6825 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6826 ieee754/flt-32 implementation for sin, cos and sincos.
6827 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6828 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6829 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6830 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6831 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6832 ieee754/flt-32 implementation for tan.
6833
6834 * math/libm-test.inc (cos_test): Enable some large input tests for
6835 float as well
6836 (sin_test): Likewise.
6837 (sincos_test): Likewise.
6838 (tan_test): Add tests for large input.
6839
6840 * sysdeps/i386/fpu/libm-test-ulps: Update.
6841
81c64153
AJ
68422012-03-15 Andreas Jaeger <aj@suse.de>
6843
6844 [BZ #13658]
6845 * math/libm-test.inc (cos_test): Add more test cases.
6846 (sin_test): Likewise.
6847 (sincos_test): Likewise.
6848
7bbfa5c6
AJ
68492012-03-15 Andreas Jaeger <aj@suse.de>
6850
6851 [BZ #13837]
6852 * math/libm-test.inc (cos_test): Add a test case for large input
6853 value.
6854 (sin_test): Likewise.
6855 (sincos_test): Likewise.
6856
68572012-03-15 Andreas Jaeger <aj@suse.de>,
6858 Joseph Myers <joseph@codesourcery.com>
6859
6860 [BZ #13658]
0671f479 6861 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6862 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6863 * sysdeps/i386/fpu/branred.c: Likewise.
6864 * sysdeps/i386/fpu/dosincos.c: Likewise.
6865 * sysdeps/i386/fpu/mpa.c: Likewise.
6866 * sysdeps/i386/fpu/s_cos.S: Likewise.
6867 * sysdeps/i386/fpu/s_sin.S: Likewise.
6868 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6869 * sysdeps/i386/fpu/sincos32.c: Likewise.
6870
6871 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6872 Define.
6873 (libc_feupdateenv_53bit): Define.
6874 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6875 Define.
6876 (libc_feupdateenv_53bit): Define.
6877
6878 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6879 53 bit (without extend i386 double precision).
6880
6881 * math/libm-test.inc (sincos_test): Add tests for large input.
6882 (sin): Likewise.
6883 (cos): Likewise.
6884
6885 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6886
9cad04ea
AS
68872012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6888
6889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6890
f7062b9a
DM
68912012-03-15 David S. Miller <davem@davemloft.net>
6892
6893 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6894 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6895 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6896 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6901 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6902 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6909 file.
f7062b9a 6910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6912 file.
f7062b9a 6913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6915 file.
f7062b9a 6916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6918 file.
f7062b9a
DM
6919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6921 fmin/fmax sysdep routines.
6922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6923
7bd951ff
DM
69242012-03-14 David S. Miller <davem@davemloft.net>
6925
559398ab
DM
6926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6930 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6931 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6939 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6946 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6947 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6948 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6949 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6950 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6951 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6952 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6953 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6955 routines.
6956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6957 file.
559398ab 6958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6960 file.
559398ab 6961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6963 file.
559398ab 6964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6966 file.
559398ab 6967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6969 file.
559398ab 6970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6972 file.
6973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6974 file.
6975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6976 file.
6977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6978 file.
6979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6980 New file.
6981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6982 file.
6983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6984 file.
559398ab 6985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6987 file.
559398ab 6988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6990 file.
559398ab 6991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6993 file.
559398ab 6994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6996 VIS3 routines.
559398ab
DM
6997
6998 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6999 New file.
7000
5a1c1e32
DM
7001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7002
eae47a36
DM
7003 * sysdeps/sparc/configure.in: New file.
7004 * sysdeps/sparc/configure: Generate.
7005 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7006 * configure: Regenerate.
7007 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7008 * config.make.in (have-as-vis3): New.
7009 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7010 available use -Av9d instead of -Av9a.
7011 * sysdeps/sparc/sparc64/Makefile: Likewise.
7012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7014 New file.
7015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7016 file.
7017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7018 New file.
7019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7020 file.
eae47a36
DM
7021 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7022 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7023 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7024 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7025 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7026
c0c83bc8
DM
7027 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7028 fzeros/fnegs to load 0x80000000 into a float register instead of
7029 using the stack.
7bd951ff
DM
7030 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7031
bd951ccb
JM
70322012-03-14 Joseph Myers <joseph@codesourcery.com>
7033
7034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7035 bits/syscall.h.
7036 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7037 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7038 ($(inst_includedir)/bits/syscall.h): Remove rule.
7039 ($(objpfx)bits/syscall.d): Include instead of
7040 $(objpfx)syscall-list.d.
7041 (generated): Change syscall-list.h and syscall-list.d to
7042 bits/syscall.h and bits/syscall.d.
7043
bb4e6db2
RM
70442012-03-14 Roland McGrath <roland@hack.frob.com>
7045
7046 [BZ #13846]
7047 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7048
aa4a2ae1
JM
70492012-03-14 Joseph Myers <joseph@codesourcery.com>
7050
e456826d
JM
7051 [BZ #13841]
7052 * math/s_csqrt.c: Include <float.h>.
7053 (__csqrt): Scale large or subnormal inputs.
7054 * math/s_csqrtf.c: Likewise.
7055 * math/s_csqrtl.c: Likewise.
7056 * math/libm-test.inc (csqrt_test): Add more tests.
7057 * sysdeps/i386/fpu/libm-test-ulps: Update.
7058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7059
aa4a2ae1
JM
7060 [BZ #13840]
7061 * math/libm-test.inc (hypot_test): Add more tests.
7062
7c10fd35
DM
70632012-03-13 David S. Miller <davem@davemloft.net>
7064
7065 [BZ #13840]
7066 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7067 double-precision for the calculation instead of scaling.
7068
f453b98b
JM
70692012-03-13 Joseph Myers <joseph@codesourcery.com>
7070
7071 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7072 manipulate bits before adding and subtracting TWO52[sx].
7073 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7074 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7075 Likewise.
7076 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7077
09a3453f
DM
70782012-03-13 David S. Miller <davem@davemloft.net>
7079
8e59da90
DM
7080 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7081 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7083 rtld-global-offsets.h
7084 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7085
2a8ab7f2
DM
7086 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7087 large parameters.
7088
10f62770
DM
7089 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7090
5f0bdb18
DM
7091 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7092 'err' in the ifdef scope in which it is actually used.
7093
09a3453f
DM
7094 * nss/nss_db/db-init.c: Include string.h
7095
b4b2eb5e
DM
70962012-03-12 David S. Miller <davem@davemloft.net>
7097
98bb2f1c
DM
7098 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7099 masking out of the most significant byte of random value used.
7100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7101 Fix coding style in previous change.
7102
b4b2eb5e
DM
7103 * sysdeps/unix/sysv/linux/kernel-features.h
7104 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7105 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7106 expression.
7107 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7108 later.
7109
6e226b09
DM
71102012-03-11 David S. Miller <davem@davemloft.net>
7111
a1bcbd40
DM
7112 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7113 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7114 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7115 for 'resultvar' otherwise things get truncated on 64-bit.
7116
cb9d6174
DM
7117 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7118 Fix masking out of the most significant byte of random value used.
7119
6e226b09
DM
7120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7121
058c132d
AS
71222012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7123
7124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7125
2d2cd515
DM
71262012-03-09 David S. Miller <davem@davemloft.net>
7127
7128 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7129 variables with appropriate CPP guards.
7130 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7131 frame pointer, not the stack pointer. Correct layout comments. Fix test
7132 on resulting framesize and the management of the outregs buffer for pltexit.
7133 Preserve floating point return values across _dl_call_pltexit call.
7134 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7135 framesize and the management of the outregs buffer for pltexit.
7136 Preserve floating point return values across _dl_call_pltexit
7137 call.
7138 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7139 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7140 (print_exit): Fix format string for return register value.
7141
9a07f9d0
JM
71422012-03-10 Joseph Myers <joseph@codesourcery.com>
7143
7144 * sunrpc/Makefile (others): Add rpcgen.
7145 ($(objpfx)rpcgen): Remove special build rule and dependency on
7146 libc.
7147 * sunrpc/rpcgen.c: New file.
7148
547b5e30
PE
71492012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7150
c524201a
PE
7151 [BZ #13673]
7152 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7153 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7154 * sysdeps/i386/crti.S: Likewise.
7155 * sysdeps/i386/crtn.S: Likewise.
7156 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7157 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7158 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7159 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7160 * sysdeps/sh/crti.S: Likewise.
7161 * sysdeps/sh/crtn.S: Likewise.
7162 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7163
7b6235f2
PE
7164 [BZ #13673]
7165 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7166 with URL.
7167 * locale/programs/locfile-kw.gperf: Likewise.
7168 * locale/programs/charmap-kw.h: Regenerated.
7169 * locale/programs/locfile-kw.h: Likewise.
7170
547b5e30
PE
7171 [BZ #13673]
7172 * intl/plural.y: Replace FSF snail mail address with URL.
7173 * intl/plural.c: Regenerated.
7174
5f0a5dae
RH
71752012-03-09 Richard Henderson <rth@twiddle.net>
7176
7177 * include/math_private.h: Remove file.
7178 * math/math_private.h: Move file ...
7179 * sysdeps/generic/math_private.h: ... here.
7180
b8c03620
RH
7181 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7182 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7183 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7184
4e234f5d 7185 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
7186 and <math_private.h>.
7187 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7188 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7189 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7190 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7191 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7192 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7193 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7195 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7196 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7197 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7198 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7199 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7200 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7201 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7202 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7203 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7204 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7205 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7206 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7208 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7209 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7210 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7211 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7212 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7213 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7214 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7215 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7216 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7217 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7220 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7221 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7222 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7223 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7224 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7225 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7226 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7227 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7228 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7229 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7230 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7231 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7232 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7233 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7234 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7235 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7236 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7237 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7238 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7239 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7240 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7241 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7242 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7243 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7244 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7245 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7246 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7247 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7248 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7249 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7250 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7251 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7252 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7253 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7254 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7255 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7256 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7257 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7258 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7259 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7261 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7262 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7263 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7265 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7266 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7267 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7268 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7269 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7270 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7271 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7272 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7274 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7275 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7276 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7277 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7278 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7279 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7280 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7281 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7282 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7283 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7284 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7285 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7286 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7287 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7288 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7289 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7290 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7291 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7292 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7293 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7294 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7295 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7297 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7298 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7299 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7300 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7301 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7302 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7303 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7304 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7305 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7306 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7307 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7308 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7309 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7310 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7311 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7312 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7313 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7314 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7315 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7316 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7317 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7318 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7319 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7320 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7321 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7322 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7323 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7324 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7325 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7326 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7327 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7328 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7329 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7330 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7331 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7332 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7333 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7334 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7335 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7336 * sysdeps/ieee754/k_standard.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7341 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7343 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7349 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7390 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7400 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7404 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7406 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7440 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7445 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7446 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7447 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7448 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7449 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7450 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7451 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7452 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7455 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7456 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7457 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7458 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7459 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7460 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7461 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7462 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7463 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7464 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7465 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7466 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7467 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7469 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7471 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7472 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7473 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7474 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7475 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7476 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7477 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7478 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7479 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7480 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7481 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7482 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7483 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7484 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7485 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7486 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7487 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7488 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7489 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7490 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7491 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7492 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7493 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7494 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7495 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7496 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7497 * sysdeps/ieee754/s_lib_version.c: Likewise.
7498 * sysdeps/ieee754/s_matherr.c: Likewise.
7499 * sysdeps/ieee754/s_signgam.c: Likewise.
7500 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7501 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7502 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7503 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7504 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7505 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7506 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7507 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7508 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7509 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7510 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7511 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7512 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7513 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7514 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7515 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7516 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7517 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7518 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7519 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 7521
1991fa03
JM
75222012-03-09 Joseph Myers <joseph@codesourcery.com>
7523
7524 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7525 * sunrpc/rpc_main.c: Likewise.
7526 * sunrpc/rpc_svcout.c: Likewise.
7527
60d6f5a6
DM
75282012-03-09 David S. Miller <davem@davemloft.net>
7529
7530 * include/math_private.h: New file.
7531
4962050e
JM
75322012-03-09 Joseph Myers <joseph@codesourcery.com>
7533
02a6f887
JM
7534 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7535 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7536 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7537 from <bits/socket_type.h>.
7538 (enum __socket_type): Don't define here.
7539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7541 bits/socket_type.h.
7542
c6e013c1
JM
7543 [BZ #13566]
7544 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
7545 checking __USE_GNU.
7546
4962050e
JM
7547 * Makerules ($(inst_includedir)/%.h): New rule.
7548 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
7549 (install-others): Remove variable setting.
7550 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
7551
38842f45
RH
75522012-03-08 Richard Henderson <rth@twiddle.net>
7553
67bb6da6
RH
7554 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
7555 from macro to inline function; merge with the
7556 !__LIBC_INTERNAL_MATH_INLINES version.
7557 (__ieee754_sqrtf): Likewise.
7558
15194b4b
RH
7559 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
7560 to inline function.
7561 (__rintf, __floor, __floorf): Likewise.
7562
64e21ede
RH
7563 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
7564 macro to inline function.
7565 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
7566
38842f45
RH
7567 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
7568 not <math/math_private.h>.
7569
c64bf5fe
DM
75702012-03-08 David S. Miller <davem@davemloft.net>
7571
7572 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
7573 copyright year.
7574 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
7575
82d86f28
TS
75762012-03-08 Thomas Schwinge <thomas@codesourcery.com>
7577
7578 * resolv/gai_misc.c (handle_requests): Fix struct timespec
7579 normalization.
7580 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
7581 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7582
aea5d727
UD
75832012-03-08 Ulrich Drepper <drepper@gmail.com>
7584
7585 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
7586 be defined individually, they must be defined as a block. Define
7587 S for printing a string instead of hidint the different by using a
7588 macro for adding the 'l'.
7589 * stdio-common/tst-fphex-wide.c: Adjust.
7590
70bca0a3
MP
75912012-03-07 Marek Polacek <polacek@redhat.com>
7592
7593 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
7594
65b81130
MP
75952012-03-08 Marek Polacek <polacek@redhat.com>
7596
7597 [BZ #13806]
7598 * stdio-common/Makefile (tests): Add tst-fphex-wide.
7599 * stdio-common/tst-fphex.c: Define a few macros to make the
7600 test reusable. Use them.
7601 * stdio-common/tst-fphex-wide.c: New file.
7602
07037eeb
JM
76032012-03-08 Joseph Myers <joseph@codesourcery.com>
7604
a7a93d50
JM
7605 [BZ #6911]
7606 * manual/macros.texi (gnusystems): New macro.
7607 (nongnusystems): Likewise.
7608 (gnulinuxhurdsystems): Likewise.
7609 (gnuhurdsystems): Likewise..
7610 (gnulinuxsystems): Likewise.
7611 * manual/charset.texi: Use new macros or @theglibc{} to refer to
7612 variants of the GNU system, not "GNU system".
7613 * manual/conf.texi: Likewise.
7614 * manual/errno.texi: Likewise. Update example of errno macro
7615 expansion.
7616 * manual/filesys.texi: Likewise.
7617 (getumask): Document as specific to GNU/Hurd.
7618 * manual/install.texi: Likewise. Reword some references to
7619 GNU/Linux.
7620 * manual/intro.texi: Likewise.
7621 * manual/io.texi: Likewise.
7622 (File Name Portability): Detail which constraints are inapplicable
7623 to all GNU systems and which are only inapplicable to GNU/Hurd.
7624 * manual/job.texi: Likewise.
7625 * manual/llio.texi: Likewise.
7626 (O_NOCTTY): Document as present on GNU/Linux.
7627 * manual/maint.texi: Likewise.
7628 * manual/memory.texi: Likewise.
7629 * manual/pattern.texi: Likewise.
7630 * manual/pipe.texi: Likewise.
7631 * manual/process.texi: Likewise.
7632 * manual/resource.texi: Likewise.
7633 (RUSAGE_CHILDREN): Remove statement about specifying a particular
7634 child on GNU/Hurd.
7635 * manual/setjmp.texi: Likewise.
7636 * manual/signal.texi: Likewise.
7637 * manual/startup.texi: Likewise.
7638 * manual/stdio.texi: Likewise.
7639 * manual/terminal.texi: Likewise.
7640 (ONLCR): Document as POSIX.
7641 (OXTABS): Document availability on GNU/Linux as XTABS.
7642 (ONOEOT): Document availability separately from other bits.
7643 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
7644 * manual/time.texi: Likewise.
7645 * manual/users.texi: Likewise.
7646 * INSTALL: Regenerated.
7647 * sysdeps/gnu/errlist.c: Regenerated.
7648
07037eeb
JM
7649 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
7650 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
7651 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
7652 puts.
7653 * configure: Regenerated.
7654
d1d3431a
JM
76552012-03-07 Joseph Myers <joseph@codesourcery.com>
7656
af6a1e37
JM
7657 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
7658 default includes instead of AC_HEADER_CHECK.
7659 * sysdeps/i386/configure: Regenerated.
7660
d1d3431a
JM
7661 [BZ #10716]
7662 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
7663 * math/s_cacoshf.c (__cacoshf): Likewise.
7664 * math/s_cacoshl.c (__cacoshl): Likewise.
7665 * math/s_casinh.c (__casinh): Set signs of result from argument.
7666 * math/s_casinhf.c (__casinhf): Likewise.
7667 * math/s_casinhl.c (__casinhl): Likewise.
7668 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
7669 (casinh_test): Add more tests.
7670 * sysdeps/i386/fpu/libm-test-ulps: Update.
7671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7672
482ff4da
UD
76732012-03-07 Ulrich Drepper <drepper@gmail.com>
7674
872fda05
UD
7675 * po/zh_TW.po: Update from translation team.
7676
a4300c7a
UD
7677 * login/Makefile (distribute): Remove variable.
7678 * catgets/Makefile: Likewise.
7679 * mach/Makefile: Likewise.
7680 * malloc/Makefile: Likewise.
7681 * misc/Makefile: Likewise.
7682 * iconv/Makefile: Likewise.
7683 * nscd/Makefile: Likewise.
7684 * hurd/Makefile: Likewise.
7685 * manual/Makefile: Likewise.
7686 * locale/Makefile: Likewise.
7687 * intl/Makefile: Likewise.
7688 * conform/Makefile: Likewise.
7689 * nss/Makefile: Likewise.
7690 * time/Makefile: Likewise.
7691 * soft-fp/Makefile: Likewise.
7692 * dirent/Makefile: Likewise.
7693 * gmon/Makefile: Likewise.
7694 * po/Makefile: Likewise.
7695 * rt/Makefile: Likewise.
7696 * socket/Makefile: Likewise.
7697 * math/Makefile: Likewise.
7698 * signal/Makefile: Likewise.
7699 * debug/Makefile: Likewise.
7700 * elf/Makefile: Likewise.
7701 * timezone/Makefile: Likewise.
7702 * stdlib/Makefile: Likewise.
7703 * iconvdata/Makefile: Likewise.
7704 * sunrpc/Makefile: Likewise.
7705 * io/Makefile: Likewise.
7706 * argp/Makefile: Likewise.
7707 * inet/Makefile: Likewise.
7708 * hesiod/Makefile: Likewise.
7709 * grp/Makefile: Likewise.
7710 * csu/Makefile: Likewise.
7711 * wctype/Makefile: Likewise.
7712 * crypt/Makefile: Likewise.
7713 * libio/Makefile: Likewise.
7714 * string/Makefile: Likewise.
7715 * nis/Makefile: Likewise.
7716 * resolv/Makefile: Likewise.
7717 * stdio-common/Makefile: Likewise.
7718 * wcsmbs/Makefile: Likewise.
7719 * dlfcn/Makefile: Likewise.
7720 * posix/Makefile: Likewise.
7721
3b7c4e74 7722 [BZ #6959]
482ff4da
UD
7723 * timezone/Makefile: Don't install timezone files, just the programs
7724 and scripts.
7725
f72ed77d
UD
77262012-03-06 Ulrich Drepper <drepper@gmail.com>
7727
a000466f
UD
7728 * nss/databases.def: Add missing gshadow entry.
7729
f72ed77d
UD
7730 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7731
a53b7a4e
MP
77322012-03-06 Marek Polacek <polacek@redhat.com>
7733
7734 [BZ #13726]
7735 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7736 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7737 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7738 * stdio-common/tst-long-dbl-fphex.c: New file.
7739
e9258400
DM
77402012-03-06 David S. Miller <davem@davemloft.net>
7741
7742 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7743 (set_obp_int): New function.
7744 (get_obp_int): New function.
7745 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
7746 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7747 Avoid unused variable warnings on 'val' and use builtin_expect.
7748 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7749 __builtin_expect.
e9258400
DM
7750 (INLINE_CLONE_SYSCALL): Likewise.
7751
3bd2c723
DM
77522012-03-05 David S. Miller <davem@davemloft.net>
7753
7754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7755
bbb78d03
AS
77562012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7757
884c5db4
AS
7758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7759
bbb78d03
AS
7760 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7761 only for |x| >= 40.
7762 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7763
1c9f702a 77642012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
7765
7766 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7767 Replace gettimeofday with __vdso_gettimeofday.
7768
7be16f82
RM
7769 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7770 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7771 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
7772
7773 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7774 time with __vdso_time.
7775
ed58a00f
JM
77762012-03-05 Joseph Myers <joseph@codesourcery.com>
7777
7778 * manual/lang.texi (size_t): Note types to which size_t may be
7779 equivalent with the GNU C Library, but do not describe when
7780 differences between them are significant.
7781
30ee4ced
AJ
77822012-03-05 Andreas Jaeger <aj@suse.de>
7783
7784 * sysdeps/i386/fpu/libm-test-ulps: Update.
7785
b7cd39e8
JM
77862012-03-05 Joseph Myers <joseph@codesourcery.com>
7787
7788 [BZ #3976]
7789 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7790 (__ieee754_pow): Save and restore rounding mode and use
7791 round-to-nearest for main computations.
7792 * math/libm-test.inc (pow_test_tonearest): New function.
7793 (pow_test_towardzero): Likewise.
7794 (pow_test_downward): Likewise.
7795 (pow_test_upward): Likewise.
7796 (main): Call the new functions.
7797 * sysdeps/i386/fpu/libm-test-ulps: Update.
7798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
7799
7800 [BZ #3976]
7801 * math/libm-test.inc (cosh_test_tonearest): New function.
7802 (cosh_test_towardzero): Likewise.
7803 (cosh_test_downward): Likewise.
7804 (cosh_test_upward): Likewise.
7805 (sinh_test_tonearest): Likewise.
7806 (sinh_test_towardzero): Likewise.
7807 (sinh_test_downward): Likewise.
7808 (sinh_test_upward): Likewise.
7809 (main): Call the new functions.
7810 * sysdeps/i386/fpu/libm-test-ulps: Update.
7811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7812
6c6a98c9
TV
78132012-03-05 Tom de Vries <tom@codesourcery.com>
7814
7815 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7816 default stack guard is set in last bytes.
7817 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7818
21bb2d2e 78192012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 7820
21bb2d2e 7821 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 7822
21bb2d2e
AJ
7823 [BZ #13656]
7824 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7825 possibly allocate from heap instead of stack.
7826 * stdio-common/bug-vfprintf-nargs.c: New file.
7827 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 7828
c6922934
AS
78292012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7830
7831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7832
bc957d53
MP
78332012-03-03 Marek Polacek <polacek@redhat.com>
7834
7835 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7836 * math/math_private.h: Likewise.
7837 * stdlib/tst-strtod.c: Likewise.
7838 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7839 * sysdeps/x86_64/bits/atomic.h: Likewise.
7840
6358490d
DM
78412012-03-02 David S. Miller <davem@davemloft.net>
7842
7843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7847 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7848 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7849 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7850 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7851
01ae168d
RM
78522012-03-02 Roland McGrath <roland@hack.frob.com>
7853
d9a17c07
RM
7854 [BZ #13792]
7855 * manual/examples/README: New file, says the example source files
7856 can be used under GPL>=2.
7857 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7858 line containing just "*/".
7859 * manual/examples/add.c: Add copyright header (GPL>=2).
7860 * manual/examples/argp-ex1.c: Likewise.
7861 * manual/examples/argp-ex2.c: Likewise.
7862 * manual/examples/argp-ex3.c: Likewise.
7863 * manual/examples/argp-ex4.c: Likewise.
7864 * manual/examples/atexit.c: Likewise.
7865 * manual/examples/db.c: Likewise.
7866 * manual/examples/dir.c: Likewise.
7867 * manual/examples/dir2.c: Likewise.
7868 * manual/examples/execinfo.c: Likewise.
7869 * manual/examples/filecli.c: Likewise.
7870 * manual/examples/filesrv.c: Likewise.
7871 * manual/examples/fmtmsgexpl.c: Likewise.
7872 * manual/examples/genpass.c: Likewise.
7873 * manual/examples/inetcli.c: Likewise.
7874 * manual/examples/inetsrv.c: Likewise.
7875 * manual/examples/isockad.c: Likewise.
7876 * manual/examples/longopt.c: Likewise.
7877 * manual/examples/memopen.c: Likewise.
7878 * manual/examples/memstrm.c: Likewise.
7879 * manual/examples/mkfsock.c: Likewise.
7880 * manual/examples/mkisock.c: Likewise.
7881 * manual/examples/mygetpass.c: Likewise.
7882 * manual/examples/pipe.c: Likewise.
7883 * manual/examples/popen.c: Likewise.
7884 * manual/examples/rprintf.c: Likewise.
7885 * manual/examples/search.c: Likewise.
7886 * manual/examples/select.c: Likewise.
7887 * manual/examples/setjmp.c: Likewise.
7888 * manual/examples/sigh1.c: Likewise.
7889 * manual/examples/sigusr.c: Likewise.
7890 * manual/examples/stpcpy.c: Likewise.
7891 * manual/examples/strdupa.c: Likewise.
7892 * manual/examples/strftim.c: Likewise.
7893 * manual/examples/strncat.c: Likewise.
7894 * manual/examples/subopt.c: Likewise.
7895 * manual/examples/swapcontext.c: Likewise.
7896 * manual/examples/termios.c: Likewise.
7897 * manual/examples/testopt.c: Likewise.
7898 * manual/examples/testpass.c: Likewise.
7899 * manual/examples/timeval_subtract.c: Likewise.
7900
01ae168d
RM
7901 [BZ #13792]
7902 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7903 function to ...
7904 * manual/timeval_subtract.c.texi: ... here, new file.
7905
49efa33d
DM
79062012-03-02 David S. Miller <davem@davemloft.net>
7907
7908 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7909
28afd92d
JM
79102012-03-02 Joseph Myers <joseph@codesourcery.com>
7911
804360ed
JM
7912 [BZ #3976]
7913 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7914 (__sin): Save and restore rounding mode and use round-to-nearest
7915 for all computations.
7916 (__cos): Save and restore rounding mode and use round-to-nearest
7917 for all computations.
7918 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7919 <fenv.h>.
7920 (tan): Save and restore rounding mode and use round-to-nearest for
7921 all computations.
7922 * math/libm-test.inc (cos_test_tonearest): New function.
7923 (cos_test_towardzero): Likewise.
7924 (cos_test_downward): Likewise.
7925 (cos_test_upward): Likewise.
7926 (sin_test_tonearest): Likewise.
7927 (sin_test_towardzero): Likewise.
7928 (sin_test_downward): Likewise.
7929 (sin_test_upward): Likewise.
7930 (tan_test_tonearest): Likewise.
7931 (tan_test_towardzero): Likewise.
7932 (tan_test_downward): Likewise.
7933 (tan_test_upward): Likewise.
7934 (main): Call the new functions.
7935 * sysdeps/i386/fpu/libm-test-ulps: Update.
7936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7937
a6d06d7b
JM
7938 [BZ #10135]
7939 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7940 small n, then large n, before computing and testing k+n.
7941 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7942 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7943 Likewise.
7944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7945 Likewise.
7946 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7947 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7948 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7949 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7950 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7951 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7952 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7953 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7954 * math/libm-test.inc (scalbn_test): Add more tests.
7955 (scalbln_test): Likewise.
7956
07e12bb3
JM
7957 * manual/filesys.texi (mode_t): Describe constraints on size and
7958 signedness, not exact equivalence to a particular type.
7959 (ino_t): Likewise.
7960 (ino64_t): Likewise.
7961 (dev_t): Likewise.
7962 (nlink_t): Likewise.
7963 (blkcnt_t): Likewise.
7964 (blkcnt64_t): Likewise.
7965 * manual/llio.texi (off_t): Likewise.
7966
28afd92d
JM
7967 [BZ #3976]
7968 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7969 (__ieee754_exp): Save and restore rounding mode and use
7970 round-to-nearest for all computations.
7971 * math/libm-test.inc (exp_test_tonearest): New function.
7972 (exp_test_towardzero): Likewise.
7973 (exp_test_downward): Likewise.
7974 (exp_test_upward): Likewise.
7975 (main): Call the new functions.
7976 * sysdeps/i386/fpu/libm-test-ulps: Update.
7977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7978
b1eeb65d
CD
79792012-03-01 Chris Demetriou <cgd@google.com>
7980
7981 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7982 have predictable order.
7983
53362a4b
DM
79842012-03-01 David S. Miller <davem@davemloft.net>
7985
3c969083
DM
7986 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7987
759707de
DM
7988 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7989 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7990 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7991 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7992
dfdb8ff2
DM
7993 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7994 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7995 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7997 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7998 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7999 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8000 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8001 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8002
ead89f96
DM
8003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8004
7f66bd07
DM
8005 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8006 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8007 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8008
53362a4b
DM
8009 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8010 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8011 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8012 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8013 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8014 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8015 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8016 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8017 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8018 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8019 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8020 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8022 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8023 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8024 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8025 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8026 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8027 * sysdeps/sparc/elf/configure: Regenerated.
8028
7b1902cb
JM
80292012-03-01 Joseph Myers <joseph@codesourcery.com>
8030
bec039bc
JM
8031 * configure.in (AS, LD): Require binutils 2.20 or later.
8032 * configure: Regenerated.
8033 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8034 as required minimum version.
8035 * INSTALL: Regenerated.
8036
7b1902cb
JM
8037 [BZ #2541]
8038 [BZ #4108]
8039 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8040 before squaring exponent.
8041 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8042 bottom long double and 27 bits of top long double before squaring
8043 exponent.
8044 * math/libm-test.inc (erfc_test): Add more tests.
8045 * sysdeps/i386/fpu/libm-test-ulps: Update.
8046 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8048
f775c276
KT
80492012-03-01 Kai Tietz <ktietz@redhat.com>
8050
8051 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8052 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8053 containing bit-fields.
8054 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8055 * soft-fp/single.h (_FP_UNION_S): Likewise.
8056 * soft-fp/double.h (_FP_UNION_D): Likewise.
8057
5b8a4d4a
JM
80582012-02-29 Joseph Myers <joseph@codesourcery.com>
8059
0bab47b6
JM
8060 [BZ #13786]
8061 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8062 not include ../strcmp.S.
8063 [USE_AS_STRNCASECMP_L]: Likewise.
8064 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8065 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8066 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8067 (__strncasecmp_l_ia32): Define as alias to
8068 __strncasecmp_l_nonascii.
8069
0fcad3e2
JM
8070 [BZ #5794]
8071 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8072 * sysdeps/i386/fpu/libm-test-ulps: Update.
8073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8074
5b8a4d4a
JM
8075 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8077
8fdceb2e
JL
80782012-02-29 Jeff Law <law@redhat.com>
8079
8080 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8081 out of bounds read.
8082
1f393a11
MP
80832012-02-29 Marek Polacek <polacek@redhat.com>
8084
8085 [BZ #13706]
8086 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8087 * elf/Makefile: Add rules to run tst-unused-dep.out.
8088
8847f037
DM
80892012-02-28 David S. Miller <davem@davemloft.net>
8090
8091 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8092 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8093 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8094 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8095 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8096 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8097
169d7f11
JM
80982012-02-29 Joseph Myers <joseph@codesourcery.com>
8099
8100 * math/libm-test.inc (llround_test): Move one test from
8101 lround_test. Use TEST_f_L in moved test.
8102 (lround_test): Move misplaced test to llround_test. Add testcase
8103 from bug 2561.
8104
39adf059
UD
81052012-02-28 Ulrich Drepper <drepper@gmail.com>
8106
8107 * sysdeps/x86_64/fpu/e_expf.S: New file.
8108 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8109
71b5d1c5
SB
81102012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8111
8112 [BZ #13637]
8113 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8114 of remain_len that may cause incomplete multi-byte character and
8115 false match.
8116 * posix/bug-regex33.c: New file.
8117 * posix/Makefile (tests): Add bug-regex33.
8118
1f77f049
JM
81192012-02-28 Joseph Myers <joseph@codesourcery.com>
8120
8121 * manual/macros.texi: New file.
8122 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8123 * manual/libc.texinfo: Include macros.texi.
8124 * manual/creatute.texi: Likewise.
8125 * manual/install.texi: Likewise.
8126 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8127 @glibcadj{} in references to the GNU C Library.
8128 * manual/charset.texi: Likewise.
8129 * manual/conf.texi: Likewise.
8130 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8131 when not using those macros.
8132 * manual/creature.texi: Likewise.
8133 * manual/crypt.texi: Likewise.
8134 * manual/errno.texi: Likewise.
8135 * manual/filesys.texi: Likewise.
8136 * manual/header.texi: Likewise.
8137 * manual/install.texi: Likewise.
8138 * manual/intro.texi: Likewise.
8139 * manual/io.texi: Likewise.
8140 * manual/job.texi: Likewise.
8141 * manual/lang.texi: Likewise.
8142 * manual/libc.texiinfo: Likewise.
8143 * manual/llio.texi: Likewise.
8144 * manual/locale.texi: Likewise.
8145 * manual/maint.texi: Likewise.
8146 * manual/math.texi: Likewise.
8147 * manual/memory.texi: Likewise.
8148 * manual/message.texi: Likewise.
8149 * manual/nss.texi: Likewise.
8150 * manual/pattern.texi: Likewise.
8151 * manual/process.texi: Likewise.
8152 * manual/resource.texi: Likewise.
8153 * manual/search.texi: Likewise.
8154 * manual/setjmp.texi: Likewise.
8155 * manual/signal.texi: Likewise.
8156 * manual/socket.texi: Likewise.
8157 * manual/startup.texi: Likewise.
8158 * manual/stdio.texi: Likewise.
8159 * manual/string.texi: Likewise.
8160 * manual/sysinfo.texi: Likewise.
8161 * manual/syslog.texi: Likewise.
8162 * manual/terminal.texi: Likewise.
8163 * manual/time.texi: Likewise.
8164 * manual/users.texi: Likewise.
8165 * INSTALL: Regenerated.
8166 * NOTES: Regenerated.
d40c5d54 8167 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 8168
450bf206
AS
81692012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8170
8171 * include/dirent.h: Include <dirstream.h> before
8172 <dirent/dirent.h>.
8173
741a235b
DM
81742012-02-28 David S. Miller <davem@davemloft.net>
8175
8176 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8177 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8178 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8179 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8180
d6b5aa58
DM
81812012-02-27 David S. Miller <davem@davemloft.net>
8182
1aff59a3
DM
8183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8185 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8186 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8187
d6b5aa58
DM
8188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8189 frame pointer instead of stack pointer relative arg slot.
8190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8191 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8192 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8193
433f48bf
CD
81942012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8195
8196 [BZ #3992]
8197 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8198
d674b76d
DM
81992012-02-27 David S. Miller <davem@davemloft.net>
8200
8201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8205 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8206 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8207 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8208 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8209
0e7727f7
JM
82102012-02-27 Joseph Myers <joseph@codesourcery.com>
8211
8212 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8213 later. Allow versions 5-9.
43be4ca2 8214 * configure: Regenerated.
0e7727f7
JM
8215 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8216 required minimum version and 4.6 as recommended version. Do not
8217 mention bugs in GCC 2.7 and 2.8.
43be4ca2 8218 * INSTALL: Regenerated.
0e7727f7 8219
a78bc654
DM
82202012-02-27 David S. Miller <davem@davemloft.net>
8221
428d5830
DM
8222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8226 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8227 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8228 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8229 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8230
a78bc654
DM
8231 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8232 manipulate bits before adding and subtracting TWO112[sx].
8233 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8234
4579f81c
RM
82352012-02-27 Roland McGrath <roland@hack.frob.com>
8236
36c8acb4
RM
8237 [BZ #13775]
8238 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8239 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8240 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8241 being in POSIX, because they are in 1003.1-2008.
8242
84ad622b
RM
8243 * rt/tst-aio.c: Include <fcntl.h>.
8244 * rt/tst-aio7.c: Likewise.
8245 * rt/tst-aio64.c: Likewise.
8246
4579f81c
RM
8247 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8248
abd923db
JM
82492012-02-27 Joseph Myers <joseph@codesourcery.com>
8250
8251 * manual/install.texi (--with-headers): Describe headers as
8252 interface headers, not private headers.
8253 (Specific advice for GNU/Linux systems): Describe use of headers
8254 from "make headers_install", not private headers from older
8255 kernels.
43be4ca2 8256 * INSTALL: Regenerated.
abd923db
JM
8257 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8258 Change to 2.6.19.
8259 * sysdeps/unix/sysv/linux/configure: Regenerated.
8260
6664049b
JM
8261 * manual/llio.texi (fclean): Remove documentation.
8262
bb8b6697
JM
8263 * manual/Makefile (libc-texi-generated): New variable. Include
8264 version.texi.
8265 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8266 $(libc-texi-generated), not duplicated list of files.
8267 (version.texi, stamp-version): New rules.
8268 (realclean): Remove $(libc-texi-generated), not individual files
8269 from that list. Do not remove dir-add.texinfo.
8270 * manual/libc.texinfo: Comment out uses of edition numbers and
8271 references to printed manual. Remove last-updated dates.
8272 (EDITION): Comment out.
8273 (ISBN): Likewise.
8274 (VERSION, UPDATED): Remove.
8275 (version.texi): Include.
8276
12e5c3b9
AS
82772012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8278
8279 * sysdeps/posix/spawni.c: Include <signal.h>.
8280 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8281 * sysdeps/pthread/aio_fsync.c: Likewise.
8282
4efeffc1 82832012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 8284
ba63ba08
UD
8285 * conform/Makefile (tests): Run only when not cross-compiling and
8286 when fast-check is not defined.
8287
d94a4670
UD
8288 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8289 * conform/data/limits.h-data: Fixes for POSIX2008.
8290 * conform/run-conformtest.sh: Run all tests.
8291 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8292 headers.
8293 * include/bits/dlfcn.h: Likewise.
8294 * include/langinfo.h: Likewise.
8295 * include/monetary.h: Likewise.
8296 * include/sys/poll.h: Likewise.
8297
8298 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8299 for __USE_GNU.
8300 * posix/spawn.h: Define __need_sigset_t.
8301 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8302 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8303 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8304 to get sigevent_t only.
8305 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8306 only for __USE_GNU.
8307 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8308 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8309 process_vm_writev only for __USE_GNU.
8310 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
8311
8312 * conform/Makefile: For now ignore errors from run-conformtest.
8313 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8314 POSIX to avoid namespace pollution. Don't prepend headers.
8315 * conform/data/aio.h-data: Fixes for POSIX testing.
8316 * conform/data/fcntl.h-data: Likewise.
8317 * conform/data/glob.h-data: Likewise.
8318 * conform/data/grp.h-data: Likewise.
8319 * conform/data/pthread.h-data: Likewise.
8320 * conform/data/pwd.h-data: Likewise.
8321 * conform/data/signal.h-data: Likewise.
8322 * conform/data/spawn.h-data: Likewise.
8323 * conform/data/stdio.h-data: Likewise.
8324 * conform/data/stdlib.h-data: Likewise.
8325 * conform/data/stropts.h-data: Likewise.
8326 * conform/data/sys/mman.h-data: Likewise.
8327 * conform/data/sys/stat.h-data: Likewise.
8328 * conform/data/sys/types.h-data: Likewise.
8329 * conform/data/sys/wait.h-data: Likewise.
8330 * conform/data/time.h-data: Likewise.
8331 * conform/data/unistd.h-data: Likewise.
8332 * conform/data/utime.h-data: Likewise.
8333
8334 * io/sys/stat.h: fchmod was always in POSIX.
8335 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8336 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8337 * rt/aio.h: Define __need_timespec before including <time.h>.
8338 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8339 struct. Add forward declaration of pthread_attr_t and use it in
8340 sigevent.
8341 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8342 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8343 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8344 always remove CLK_TCK definition.
8345
c20105c3
AS
83462012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8347
8348 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8349
7a270350
UD
83502012-02-25 Ulrich Drepper <drepper@gmail.com>
8351
31341567
UD
8352 * conform/run-conformtest.sh: New file.
8353 * conform/Makefile: Run run-conformtest for tests.
8354 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8355 support.
8356
8357 * conform/data/uchar.h-data: New file.
8358 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8359 * conform/data/arpa/inet.h-data: Likewise.
8360 * conform/data/assert.h-data: Likewise.
8361 * conform/data/complex.h-data: Likewise.
8362 * conform/data/cpio.h-data: Likewise.
8363 * conform/data/ctype.h-data: Likewise.
8364 * conform/data/dirent.h-data: Likewise.
8365 * conform/data/dlfcn.h-data: Likewise.
8366 * conform/data/errno.h-data: Likewise.
8367 * conform/data/fcntl.h-data: Likewise.
8368 * conform/data/float.h-data: Likewise.
8369 * conform/data/fmtmsg.h-data: Likewise.
8370 * conform/data/fnmatch.h-data: Likewise.
8371 * conform/data/ftw.h-data: Likewise.
8372 * conform/data/glob.h-data: Likewise.
8373 * conform/data/grp.h-data: Likewise.
8374 * conform/data/iconv.h-data: Likewise.
8375 * conform/data/inttypes.h-data: Likewise.
8376 * conform/data/langinfo.h-data: Likewise.
8377 * conform/data/libgen.h-data: Likewise.
8378 * conform/data/limits.h-data: Likewise.
8379 * conform/data/locale.h-data: Likewise.
8380 * conform/data/math.h-data: Likewise.
8381 * conform/data/monetary.h-data: Likewise.
8382 * conform/data/mqueue.h-data: Likewise.
8383 * conform/data/ndbm.h-data: Likewise.
8384 * conform/data/net/if.h-data: Likewise.
8385 * conform/data/netdb.h-data: Likewise.
8386 * conform/data/netinet/in.h-data: Likewise.
8387 * conform/data/nl_types.h-data: Likewise.
8388 * conform/data/poll.h-data: Likewise.
8389 * conform/data/pthread.h-data: Likewise.
8390 * conform/data/pwd.h-data: Likewise.
8391 * conform/data/regex.h-data: Likewise.
8392 * conform/data/sched.h-data: Likewise.
8393 * conform/data/search.h-data: Likewise.
8394 * conform/data/semaphore.h-data: Likewise.
8395 * conform/data/setjmp.h-data: Likewise.
8396 * conform/data/signal.h-data: Likewise.
8397 * conform/data/spawn.h-data: Likewise.
8398 * conform/data/stdarg.h-data: Likewise.
8399 * conform/data/stdio.h-data: Likewise.
8400 * conform/data/stdlib.h-data: Likewise.
8401 * conform/data/string.h-data: Likewise.
8402 * conform/data/strings.h-data: Likewise.
8403 * conform/data/stropts.h-data: Likewise.
8404 * conform/data/sys/ipc.h-data: Likewise.
8405 * conform/data/sys/mman.h-data: Likewise.
8406 * conform/data/sys/msg.h-data: Likewise.
8407 * conform/data/sys/resource.h-data: Likewise.
8408 * conform/data/sys/select.h-data: Likewise.
8409 * conform/data/sys/sem.h-data: Likewise.
8410 * conform/data/sys/shm.h-data: Likewise.
8411 * conform/data/sys/socket.h-data: Likewise.
8412 * conform/data/sys/stat.h-data: Likewise.
8413 * conform/data/sys/statvfs.h-data: Likewise.
8414 * conform/data/sys/time.h-data: Likewise.
8415 * conform/data/sys/timeb.h-data: Likewise.
8416 * conform/data/sys/times.h-data: Likewise.
8417 * conform/data/sys/types.h-data: Likewise.
8418 * conform/data/sys/uio.h-data: Likewise.
8419 * conform/data/sys/un.h-data: Likewise.
8420 * conform/data/sys/utsname.h-data: Likewise.
8421 * conform/data/sys/wait.h-data: Likewise.
8422 * conform/data/syslog.h-data: Likewise.
8423 * conform/data/tar.h-data: Likewise.
8424 * conform/data/termios.h-data: Likewise.
8425 * conform/data/utime.h-data: Likewise.
8426 * conform/data/utmpx.h-data: Likewise.
8427 * conform/data/varargs.h-data: Likewise.
8428 * conform/data/wchar.h-data: Likewise.
8429 * conform/data/wctype.h-data: Likewise.
8430 * conform/data/wordexp.h-data: Likewise.
8431
8432 * include/stropts.h: New file.
8433 * include/uchar.h: New file.
8434 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8435 * include/assert.h: Likewise.
8436 * include/ctype.h: Likewise.
8437 * include/dirent.h: Likewise.
8438 * include/dlfcn.h: Likewise.
8439 * include/fcntl.h: Likewise.
8440 * include/fnmatch.h: Likewise.
8441 * include/glob.h: Likewise.
8442 * include/grp.h: Likewise.
8443 * include/libio.h: Likewise.
8444 * include/locale.h: Likewise.
8445 * include/math.h: Likewise.
8446 * include/net/if.h: Likewise.
8447 * include/netdb.h: Likewise.
8448 * include/netinet/in.h: Likewise.
8449 * include/pthread.h: Likewise.
8450 * include/pwd.h: Likewise.
8451 * include/regex.h: Likewise.
8452 * include/sched.h: Likewise.
8453 * include/search.h: Likewise.
8454 * include/setjmp.h: Likewise.
8455 * include/signal.h: Likewise.
8456 * include/stdio.h: Likewise.
8457 * include/stdlib.h: Likewise.
8458 * include/string.h: Likewise.
8459 * include/sys/cdefs.h: Likewise.
8460 * include/sys/mman.h: Likewise.
8461 * include/sys/msg.h: Likewise.
8462 * include/sys/resource.h: Likewise.
8463 * include/sys/select.h: Likewise.
8464 * include/sys/socket.h: Likewise.
8465 * include/sys/stat.h: Likewise.
8466 * include/sys/statvfs.h: Likewise.
8467 * include/sys/time.h: Likewise.
8468 * include/sys/times.h: Likewise.
8469 * include/sys/uio.h: Likewise.
8470 * include/sys/utsname.h: Likewise.
8471 * include/sys/wait.h: Likewise.
8472 * include/termios.h: Likewise.
8473 * include/time.h: Likewise.
8474 * include/ulimit.h: Likewise.
8475 * include/unistd.h: Likewise.
8476 * include/utime.h: Likewise.
8477 * include/wchar.h: Likewise.
8478 * include/wctype.h: Likewise.
8479 * include/wordexp.h: Likewise.
8480
8481 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8482
7a270350
UD
8483 * time/time.h: TIME_UTC must be a macro.
8484 Make timespec_get available for ISO C11 only as well.
8485
7724defc
UD
84862012-02-24 Ulrich Drepper <drepper@gmail.com>
8487
8488 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8489 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8490
6b1d1d46
JM
84912012-02-24 Joseph Myers <joseph@codesourcery.com>
8492
8493 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 8494
0f8bbd69
JM
84952012-02-24 Joseph Myers <joseph@codesourcery.com>
8496
8497 * manual/texinfo.tex: Update to version 2012-01-19.16.
8498
66ab80bc
JM
84992012-02-24 Joseph Myers <joseph@codesourcery.com>
8500
8501 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8502
74981cc5
RM
85032012-02-24 Roland McGrath <roland@hack.frob.com>
8504
ee968201
RM
8505 [BZ #13738]
8506 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8507 * manual/fdl-1.3.texi: New file.
8508 * manual/fdl-1.1.texi: File removed.
8509
74981cc5
RM
8510 [BZ #13738]
8511 * manual/libc.texinfo (FDL_VERSION): New @set.
8512 Use it for mention of FDL in cover text.
8513 (Documentation License): Use it in @include file name.
8514
7bb764bc
JM
85152012-02-22 Joseph Myers <joseph@codesourcery.com>
8516 Roland McGrath <roland@hack.frob.com>
8517
8518 [BZ #5461]
8519 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8520 not LONG_LONG_MAX and LONG_LONG_MIN.
8521 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8522 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8523 name.
8524 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8525
6cbeae47
JM
85262012-02-22 Joseph Myers <joseph@codesourcery.com>
8527
8528 [BZ #2547]
8529 [BZ #11365]
8530 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8531 manipulate bits before adding and subtracting TWO23[sx].
8532 * math/libm-test.inc (nearbyint_test): Add more tests.
8533
fe45ce09
JM
85342012-02-22 Joseph Myers <joseph@codesourcery.com>
8535
8536 [BZ #2548]
8537 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8538 bits before adding and subtracting TWO23[sx].
8539 * math/libm-test.inc (rint_test): Add more tests.
8540 (rint_test_tonearest): Likewise.
8541 (rint_test_towardzero): Likewise.
8542 (rint_test_downward): Likewise.
8543 (rint_test_upward: Likewise.
8544
ff3b3d82
JM
85452012-02-22 Joseph Myers <joseph@codesourcery.com>
8546
8547 [BZ #10110]
8548 * include/stdc-predef.h: New file. Extracted from features.h.
8549 * include/features.h: Include stdc-predef.h.
8550 * Makefile (headers): Add stdc-predef.h.
8551 * CONFORMANCE (Compiler limitations): Update.
8552
ef0aab35
JM
85532012-02-22 Joseph Myers <joseph@codesourcery.com>
8554
8555 * manual/libc.texinfo (VERSION, UPDATED): Revert.
8556
58639409
DM
85572012-02-21 David S. Miller <davem@davemloft.net>
8558
8559 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
8560 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8561
c0e70b25
DM
85622012-02-20 David S. Miller <davem@davemloft.net>
8563
8564 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
8565 using a normal save/restore sequence, rather than allocating a
8566 dummy stack frame just to store a frame pointer and restore.
8567 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8568
fb06851d
JM
85692012-02-21 Joseph Myers <joseph@codesourcery.com>
8570
8571 * manual/install.texi: Fix stray word in line-wrapped comment.
8572
7a8b71c3
DM
85732012-02-20 David S. Miller <davem@davemloft.net>
8574
d510c123
DM
8575 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
8576 both binutils and gcc support GOTDATA.
8577
0722d7c2
DM
8578 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
8579 "rd %pc" in the PIC register setup sequences.
8580
3d2b3019
DM
8581 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
8582 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8583 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8584 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8585 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8587 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8588 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8589 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
8590 (SYSCALL_ERROR_HANDLER): Likewise.
8591 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8592 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
8594 (SYSCALL_ERROR_HANDLER): Likewise.
8595
c80098a9
DM
8596 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
8597 (HAVE_GCC_GOTDATA): New.
8598 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
8599 relocation support in both binutils and gcc.
8600 * sysdeps/sparc/elf/configure: Regenerate.
8601
3a2545a0
DM
8602 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
8603 * sysdeps/sparc/sparc32/elf/configure: Delete.
8604 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
8605 * sysdeps/sparc/sparc64/elf/configure: Delete.
8606 * sysdeps/sparc/elf/configure.in: New file.
8607 * sysdeps/sparc/elf/configure: Generate.
8608
7a8b71c3
DM
8609 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
8610 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
8611 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8612 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
8613 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
8614
f1e86fca
JM
86152012-02-21 Joseph Myers <joseph@codesourcery.com>
8616
8617 * manual/install.texi: Do not mention specific glibc version
8618 numbers.
8619 * manual/libc.texinfo (VERSION, UPDATED): Update.
8620 (@copying): Use @copyright{} and range of years.
8621
0e7dfaef
JM
86222012-02-21 Joseph Myers <joseph@codesourcery.com>
8623
8624 [BZ #13695]
8625 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
8626 [crti.S not in sysdirs] (generated): Do not append.
8627 [crti.S not in sysdirs] (omit-deps): Likewise.
8628 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
8629 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
8630 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
8631 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
8632 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
8633 Likewise.
8634 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
8635 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
8636 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
8637 * csu/defs.awk: Remove file.
8638 * sysdeps/generic/initfini.c: Likewise.
8639 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
8640 variable.
8641 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
8642 Likewise.
8643
599af3ca
JM
86442012-02-20 Joseph Myers <joseph@codesourcery.com>
8645
8646 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
8647 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
8648 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
8649 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
8650 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8651 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
8652 <bits/epoll.h>.
8653 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
8654 (__EPOLL_PACKED): Define to empty if not defined by
8655 <bits/epoll.h>.
8656 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
8657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8658 bits/epoll.h.
8659
0e499750
JM
86602012-02-20 Joseph Myers <joseph@codesourcery.com>
8661
8662 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
8663 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
8664 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
8665 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
8666 <bits/timerfd.h>.
8667 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
8668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8669 bits/timerfd.h.
8670
5ad91f6e
JM
86712012-02-20 Joseph Myers <joseph@codesourcery.com>
8672
8673 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
8674 in C locale.
8675 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8676 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8677 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
8678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8679
06b99b02
AJ
86802012-02-20 Aurelien Jarno <aurelien@aurel32.net>
8681
8682 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8683 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8684
7638c0fd
AS
86852012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8686
8687 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8688 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8689 defined.
8690 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8691 Likewise.
8692 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8693 entry for 2.16.
8694
92221550
AJ
86952012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8696
8697 * math/w_acos.c: Use non-signaling floating-point comparisons.
8698 * math/w_acosf.c: Likewise.
8699 * math/w_acosh.c: Likewise.
8700 * math/w_acoshf.c: Likewise.
8701 * math/w_acoshl.c: Likewise.
8702 * math/w_acosl.c: Likewise.
8703 * math/w_asin.c: Likewise.
8704 * math/w_asinf.c: Likewise.
8705 * math/w_asinl.c: Likewise.
8706 * math/w_atanh.c: Likewise.
8707 * math/w_atanhf.c: Likewise.
8708 * math/w_atanhl.c: Likewise.
8709 * math/w_exp2.c: Likewise.
8710 * math/w_exp2f.c: Likewise.
8711 * math/w_exp2l.c: Likewise.
8712 * math/w_j0.c: Likewise.
8713 * math/w_j0f.c: Likewise.
8714 * math/w_j0l.c: Likewise.
8715 * math/w_j1.c: Likewise.
8716 * math/w_j1f.c: Likewise.
8717 * math/w_j1l.c: Likewise.
8718 * math/w_jn.c: Likewise.
8719 * math/w_jnf.c: Likewise.
8720 * math/w_log.c: Likewise.
8721 * math/w_log10.c: Likewise.
8722 * math/w_log10f.c: Likewise.
8723 * math/w_log10l.c: Likewise.
8724 * math/w_log2.c: Likewise.
8725 * math/w_log2f.c: Likewise.
8726 * math/w_log2l.c: Likewise.
8727 * math/w_logf.c: Likewise.
8728 * math/w_logl.c: Likewise.
8729 * math/w_sqrt.c: Likewise.
8730 * math/w_sqrtf.c: Likewise.
8731 * math/w_sqrtl.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8734 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8735 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8736 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8737
ebaf36eb
JM
87382012-02-19 Joseph Myers <joseph@codesourcery.com>
8739
8740 [BZ #9739]
8741 * manual/string.texi (strnlen): Use correct parameter name in
8742 equivalent expression.
8743
71c254a6
JM
87442012-02-19 Joseph Myers <joseph@codesourcery.com>
8745
8746 [BZ #11174]
8747 * manual/users.texi (seteuid): Consistently use neweuid for
8748 argument name.
8749
16d2c631
JM
87502012-02-19 Joseph Myers <joseph@codesourcery.com>
8751
8752 [BZ #13704]
8753 * manual/nss.texi (Services in the NSS configuration): Correct
8754 list of services in example configuration file.
8755
cd837b09
NB
87562012-02-19 Nick Bowler <nbowler@draconx.ca>
8757
8758 [BZ #11322]
8759 * manual/arith.texi: Remove statements about negative zero
8760 behaving identically to zero.
8761
02c4bbad
JM
87622012-02-18 Joseph Myers <joseph@codesourcery.com>
8763
8764 [BZ #5993]
8765 * manual/install.texi: Do not document upgrading from libc5.
8766
366842e7
JM
87672012-02-18 Joseph Myers <joseph@codesourcery.com>
8768
8769 [BZ #4596]
8770 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8771
dd54084d
DM
87722012-02-18 David S. Miller <davem@davemloft.net>
8773
8774 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8775 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8776 %o7 across the call.
8777 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8778 instead.
8779 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8780 SETUP_PIC_REG_LEAF.
8781 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8782 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8783 * sysdeps/sparc/crtn.S: Likewise.
8784
2bcc53a3
UD
87852012-02-17 Ulrich Drepper <drepper@gmail.com>
8786
8787 * aout/Makefile: Remove.
8788
09c093b5
RK
87892012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8790
8791 [BZ #13058]
8792 * manual/examples/argp-ex1.c (main): Format definition in GNU
8793 style.
8794 * manual/examples/argp-ex2.c (main): Likewise.
8795 * manual/examples/argp-ex3.c (main): Likewise.
8796 * manual/examples/argp-ex4.c (main): Likewise.
8797 * manual/examples/longopt.c (main): Use new-style prototype
8798 definition.
8799 * manual/examples/strncat.c (main): Specify return type and use
8800 (void) for arguments.
8801 * manual/examples/subopt.c (main): Use char **argv argument.
8802
2ee633a2
JM
88032012-02-17 Joseph Myers <joseph@codesourcery.com>
8804
8805 [BZ #5077]
8806 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8807 rounding modes.
8808
0520adde
FB
88092012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8810
8811 [BZ #6907]
8812 * manual/string.texi (strchr): Change when strchrnul is
8813 recommended.
8814
3f4081cd
DGM
88152012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8816
8817 [BZ #174]
8818 * manual/locale.texi (setlocale): Document LOCPATH.
8819
d1b10e78
JM
88202012-02-17 Joseph Myers <joseph@codesourcery.com>
8821
8822 [BZ #10210]
8823 * manual/process.texi (execle): Move @dots{} before last argument.
8824
79c6869c
PB
88252012-02-17 Paul Bolle <pebolle@tiscali.nl>
8826
8827 [BZ #12047]
8828 * manual/charset.texi (Generic Charset Conversion): Fix typo
8829 (LC_TYPE -> LC_CTYPE).
8830
cc6e48bc
NB
88312012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8832
8833 [BZ #5805]
8834 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8835 (scalbnf): Likewise.
8836 (scalbnl): Likewise.
8837 (scalbln): Likewise.
8838 (scalblnf): Likewise.
8839 (scalblnl): Likewise.
8840 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8841 (vwarnx): Likewise.
8842 (verr): Likewise.
8843 (verrx): Likewise.
8844 * manual/filesys.texi (telldir): Use braces around return type.
8845 * manual/llio.texi (mmap): Add space after comma.
8846 (mmap64): Likewise.
8847 * manual/math.texi (jn): Use @var{} on parameter names.
8848 (jnf): Likewise.
8849 (jnl): Likewise.
8850 (yn): Likewise.
8851 (ynf): Likewise.
8852 (ynl): Likewise.
8853 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8854 line.
8855 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8856 "...".
8857 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8858 (sched_get_priority_max): Likewise.
8859 * manual/signal.texi (sigvec): Add space after comma.
8860 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8861 names.
8862 (if_indextoname): Likewise.
8863 (if_freenameindex): Likewise.
8864 (sendto): Use ',' instead of '.' in prototype.
8865 * manual/startup.texi (syscall): Use @dots{} instead of literal
8866 "...".
8867 * manual/stdio.texi (__fpending): Separate initial words of
8868 paragraph from @deftypefun line.
8869 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8870 "...".
8871 (vsyslog): Use @var{} on parameter names.
8872 * manual/terminal.texi (stty): Use @var{} on parameter names.
8873 * manual/users.texi (getutmp): Use @var{} on parameter names.
8874 (getutmpx): Likewise.
8875
5b23062f
JM
88762012-02-17 Joseph Myers <joseph@codesourcery.com>
8877
8878 [BZ #6884]
8879 * manual/stdio.texi (fopen): Fix typos in description of
8880 ",ccs=STRING".
8881
8dee4833
AJ
88822012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8883
8884 [BZ #4026]
8885 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8886 get clock_id definition.
8887
9078ce93
TS
88882012-02-17 Thomas Schwinge <thomas@schwinge.name>
8889
8890 [BZ #4822]
8891 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8892 (madvise): Cast every argument to void on its own.
8893
3835c55f
JM
88942012-02-17 Joseph Myers <joseph@codesourcery.com>
8895
8896 [BZ #9902]
8897 * manual/startup.texi (Exit Status): Fix typo.
8898
35c47e37
JM
88992012-02-17 Joseph Myers <joseph@codesourcery.com>
8900
8901 [BZ #10140]
8902 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8903 * manual/examples/argp-ex2.c: Likewise.
8904 * manual/examples/argp-ex3.c: Likewise.
8905
e3b69ca7
RH
89062012-02-16 Richard Henderson <rth@redhat.com>
8907
8908 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8909 * sysdeps/s390/s390-32/initfini.c: Remove.
8910 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8911 * sysdeps/s390/s390-64/initfini.c: Remove.
8912
df83af67
KK
89132012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8914
8915 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8916 compiler output for sysdeps/generic/initfini.c.
8917 * sysdeps/sh/elf/initfini.c: Remove file.
8918
f63f3380
DM
89192012-02-16 David S. Miller <davem@davemloft.net>
8920
fb59b3a4
DM
8921 [BZ #11494]
8922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8923
f63f3380
DM
8924 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8925 * sysdeps/sparc/crti.S: New file.
8926 * sysdeps/sparc/crtn.S: New file.
8927 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8928 * sysdeps/sparc/sparc64/Makefile: Likewise.
8929
df6a4a4a
MF
89302012-02-15 Mike Frysinger <vapier@gentoo.org>
8931
6dd8f3dc 8932 [BZ #3335]
df6a4a4a
MF
8933 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8934
1cac7236
RM
89352012-02-15 Roland McGrath <roland@hack.frob.com>
8936
d2c736f8
RM
8937 [BZ #4822]
8938 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8939
1cac7236
RM
8940 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8941 (write, read, close): Likewise.
8942 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8943
8e475601
JM
89442012-02-15 Joseph Myers <joseph@codesourcery.com>
8945
8946 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8947 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8948 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8949 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8950 <bits/signalfd.h>.
8951 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8953 bits/signalfd.h.
8954
ed656b40
MP
89552012-02-14 Marek Polacek <polacek@redhat.com>
8956
8957 * sysdeps/x86_64/crti.S: New file.
8958 * sysdeps/x86_64/crtn.S: New file.
8959 * sysdeps/x86_64/elf/initfini.c: Remove file.
8960
2a979d3a
JM
89612012-02-13 Joseph Myers <joseph@codesourcery.com>
8962
8963 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8964 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8965 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8966 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8967 <bits/inotify.h>.
8968 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8970 bits/inotify.h.
8971
2a418ac3
JM
89722012-02-13 Joseph Myers <joseph@codesourcery.com>
8973
8974 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8975 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8976 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8977 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8978 <bits/eventfd.h>.
8979 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8981 bits/eventfd.h.
8982
fb779be7
TS
89832012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8984
e19e83c5
RM
8985 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8986 __feraiseexcept instead of feraiseexcept.
7c35ffed 8987
fb779be7
TS
8988 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8989 nanosleep invocations.
8990 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8991 strings, and add error checking for a nanosleep invocations.
8992
59ba27a6
PE
89932012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8994
8995 Replace FSF snail mail address with URLs, as per GNU coding standards.
8996 Most of the snail mail addresses were wrong anyway, and omitting
8997 them makes the source code easier to maintain. Almost all of the
8998 changes are to license notices and to locale LC_IDENTIFICATION
8999 addresses, except for this one:
9000 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9001 not its snail mail address.
9002
57b957eb
RH
90032012-02-09 Richard Henderson <rth@twiddle.net>
9004
af850b1c
RH
9005 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9006 of kernel-features.h.
9007
57b957eb
RH
9008 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9009
6b73181a
MP
90102012-02-08 Marek Polacek <polacek@redhat.com>
9011
9012 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9013 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9014 * sysdeps/gnu/_G_config.h: Likewise.
9015 * sysdeps/generic/_G_config.h: Likewise.
9016
26ecc33a
AS
90172012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9018
6c6dbc63
AS
9019 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9020 tests.
9021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9022
e216c012
AS
9023 * sysdeps/powerpc/powerpc32/crti.S: New file.
9024 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9025 * sysdeps/powerpc/powerpc64/crti.S: New file.
9026 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9027
26ecc33a
AS
9028 * Makeconfig (have-initfini): Don't set.
9029 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9030 * configure.in (nopic_initfini): Don't substitute.
9031 * config.h.in (HAVE_INITFINI): Don't #undef.
9032 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9033 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9034
3add8e13
JM
90352012-02-08 Joseph Myers <joseph@codesourcery.com>
9036
9037 Support crti.S and crtn.S provided directly by architectures.
9038 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9039 [crti.S in sysdirs] (omit-deps): Likewise.
9040 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9041 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9042 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9043 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9044 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9045 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9046 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9047 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9048 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9049 compiler output for sysdeps/generic/initfini.c.
9050 * sysdeps/i386/elf/Makefile: Remove file.
9051 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9052
a22f12b4
MP
90532012-02-07 Marek Polacek <polacek@redhat.com>
9054
9055 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9056 * sysdeps/gnu/_G_config.h: Likewise.
9057 * sysdeps/mach/hurd/_G_config.h: Likewise.
9058
148cf100
MP
90592012-02-07 Marek Polacek <polacek@redhat.com>
9060
9061 * math/Makefile (tests): Add tst-CMPLX2.
9062 * math/tst-CMPLX2.c: New file.
9063
cfdc0dd7
AS
90642012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9065
84ba42c4
AS
9066 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9067
cfdc0dd7
AS
9068 * math/libm-test.inc (jn_test): Add missing L suffix.
9069
622c86f4
MP
90702012-02-06 Marek Polacek <polacek@redhat.com>
9071
9072 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9073 * sysdeps/i386/fpu/e_powf.S: Likewise.
9074 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9075 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9076 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9077 * sysdeps/i386/fpu/e_pow.S: Likewise.
9078 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9079 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9080 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9081 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9082 * sysdeps/i386/fpu/e_log2.S: Likewise.
9083 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9084 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9085 * sysdeps/i386/fpu/e_powl.S: Likewise.
9086 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9087 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9088 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9089 * sysdeps/i386/fpu/e_logl.S: Likewise.
9090 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9091 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9092 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9093 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9094 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9095 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9096 * sysdeps/i386/fpu/e_log.S: Likewise.
9097 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9098 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9099 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9100 * sysdeps/i386/fpu/e_logf.S: Likewise.
9101 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9102 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9103 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9104 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9105 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9106 * sysdeps/i386/fpu/e_log10.S: Likewise.
9107 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9108 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9109 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9110 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9111 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9112 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9113 * sysdeps/i386/asm-syntax.h: Likewise.
9114 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9115 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9116 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9117 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9118 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9119 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9120 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9121 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9122 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9123 * sysdeps/powerpc/sysdep.h: Likewise.
9124 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9125 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9126
d4a54ac6
JM
91272012-02-06 Joseph Myers <joseph@codesourcery.com>
9128
9129 [BZ #411]
9130 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9131
314054ea
JM
91322012-02-06 Joseph Myers <joseph@codesourcery.com>
9133
9134 * sysdeps/i386/sysdep.h: Include <features.h>.
9135 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9136 version.
9137
d8e0ca50
JM
91382012-02-05 Joseph Myers <joseph@codesourcery.com>
9139
9140 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9141 Define.
9142 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9143 LOAD_PIC_REG_STR.
9144
b1da7dd9
JM
91452012-02-03 Joseph Myers <joseph@codesourcery.com>
9146
9147 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9148 (SETUP_PIC_REG): Use GET_PC_THUNK.
9149 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9150 macro.
9151
9a1d9254
JM
91522012-02-03 Joseph Myers <joseph@codesourcery.com>
9153
9154 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9155 for non-PIC compilation.
9156 (SETUP_PIC_REG): Add .p2align directive.
9157 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9158 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9159 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9160 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9161 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9162 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9163 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9164 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9165 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9166 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9167 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9168 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9169 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9170 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9171 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9172 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9173 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9174 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9175 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9176 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9177 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9178 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9179 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9180 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9181 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9182 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9183 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9184 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9185 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9186 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9187 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9188 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9189 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9190 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9191 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9192 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9193 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9194 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9195 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9196 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9197 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9198
65dc3b75
JM
91992012-02-03 Joseph Myers <joseph@codesourcery.com>
9200
9201 * math/tst-CMPLX.c: Include <stdio.h>.
9202
d55bf177
JM
92032012-01-31 Joseph Myers <joseph@codesourcery.com>
9204
9205 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9206 float.
9207 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9208 * sysdeps/sparc/bits/mathdef.h: Likewise.
9209
69db4f8f
MP
92102012-01-31 Marek Polacek <polacek@redhat.com>
9211
9212 * libio/libio.h: Don't define _PARAMS.
9213 * locale/programs/config.h: Don't define PARAMS.
9214 * stdlib/strtol_l.c: Likewise.
9215 (__strtol_l): Remove PARAMS from the prototype.
9216
41b81892
UD
92172012-01-31 Ulrich Drepper <drepper@gmail.com>
9218
3b49edc0
UD
9219 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9220 names. Just use the correct names. Remove unnecessary wrapper
9221 functions.
9222 * malloc/arena.c: Likewise.
9223 * malloc/hooks.c: Likewise.
9224
41b81892
UD
9225 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9226 ARENA_TEST says not to. Simplify test for creation of a new arena.
9227 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9228
27a25b6e
UD
92292012-01-30 Ulrich Drepper <drepper@gmail.com>
9230
9231 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9232 into tail calls.
9233 (update_get_addr): New function.
9234 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9235 GET_ADDR_MODULE parameter.
9236
c8a89e7d
JM
92372012-01-30 Joseph Myers <joseph@codesourcery.com>
9238
9239 * crypt/cert.c: Remove __STDC__ conditionals.
9240 * crypt/crypt-entry.c: Likewise.
9241 * crypt/crypt_util.c: Likewise.
9242 * libio/filedoalloc.c: Likewise.
9243 * libio/fileops.c: Likewise.
9244 * libio/genops.c: Likewise.
9245 * libio/iofclose.c: Likewise.
9246 * libio/iofdopen.c: Likewise.
9247 * libio/iofopen.c: Likewise.
9248 * libio/iofopen64.c: Likewise.
9249 * libio/iogetdelim.c: Likewise.
9250 * libio/iopopen.c: Likewise.
9251 * libio/obprintf.c: Likewise.
9252 * libio/oldfileops.c: Likewise.
9253 * libio/oldiofclose.c: Likewise.
9254 * libio/oldiofdopen.c: Likewise.
9255 * libio/oldiofopen.c: Likewise.
9256 * libio/oldiopopen.c: Likewise.
9257 * libio/wfiledoalloc.c: Likewise.
9258 * libio/wgenops.c: Likewise.
9259 * locale/programs/xmalloc.c: Likewise.
9260 * misc/syslog.c: Likewise.
9261 * stdio-common/xbug.c: Likewise.
9262 * string/memchr.c: Likewise.
9263 * string/memcmp.c: Likewise.
9264 * string/memrchr.c: Likewise.
9265 * string/rawmemchr.c: Likewise.
9266 * sysdeps/posix/getcwd.c: Likewise.
9267 * time/strftime_l.c: Likewise.
9268
3b100462
JM
92692012-01-30 Joseph Myers <joseph@codesourcery.com>
9270
9271 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
9272 * config.make.in (config-cflags-sse2avx): Define.
9273 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9274 Fix typo.
9275
607998af
CM
92762012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9277
9278 * scripts/config.guess: Update from upstream config git repository.
9279 * scripts/config.sub: Likewise.
9280
3601428f
CM
92812012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9282
3ac8b282
CM
9283 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9284 (EM_NUM): Update.
9285 (R_TILEPRO_*, R_TILEGX_*): New macros.
9286
e034841e
CM
9287 * scripts/firstversions.awk: Fix bug in version range handling.
9288
540d7568
CM
9289 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9290
3601428f
CM
9291 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9292
463de862
CM
9293 * include/sys/epoll.h: New file.
9294 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9295 libc_hidden_def.
9296
73139a76
UD
92972012-01-28 Ulrich Drepper <drepper@gmail.com>
9298
96bc5b45
UD
9299 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9300 Avoid unnecessary __WORDSIZE == 64 test.
9301 (fmaxf): Use VEX format if possible.
9302 (fmax): Likewise.
9303 (fminf): Likewise.
9304 (fmin): Likewise.
9305
56f6f6a2
UD
9306 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9307 * math/math_private.h: Remove libc_fegetround* and
9308 libc_fesetround*.
9309 * sysdeps/i386/configure.in: Check for -msse2avx.
9310 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9311 also if SSE2AVX is defined.
9312 Remove libc_fegetround* and libc_fesetround*.
9313 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9314 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9315 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9316 of HAS_YMM_USABLE.
9317 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9318 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9319 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9320 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9321 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9322
73139a76
UD
9323 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9324
d73f93a4
AZ
93252012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9326
9327 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9328 size is not set.
9329 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9330
6ee65ed6
UD
93312012-01-27 Ulrich Drepper <drepper@gmail.com>
9332
9333 [BZ #13618]
9334 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9335 relocation.
9336 * Makeconfig (libm): Define.
9337 * elf/Makefile: Add rules to build and run tst-relsort1.
9338 * elf/tst-relsort1.c: New file.
9339 * elf/tst-relsort1mod1.c: New file.
9340 * elf/tst-relsort1mod2.c: New file.
9341
8db21882
JM
93422012-01-27 Joseph Myers <joseph@codesourcery.com>
9343
9344 * math/s_ldexp.c: Remove __STDC__ conditionals.
9345 * math/s_ldexpf.c: Likewise.
9346 * math/s_ldexpl.c: Likewise.
9347 * math/s_nextafter.c: Likewise.
9348 * math/s_nexttowardf.c: Likewise.
9349 * math/s_significand.c: Likewise.
9350 * math/s_significandf.c: Likewise.
9351 * math/s_significandl.c: Likewise.
9352 * math/w_jnl.c: Likewise.
9353 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9354 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9355 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9356 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9357 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9359 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9360 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9361 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9362 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9363 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9366 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9370 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9372 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9373 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9374 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9375 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9376 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9377 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9378 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9379 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9380 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9381 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9382 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9383 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9384 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9385 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9386 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9387 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9388 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9389 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9390 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9391 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9392 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9393 * sysdeps/ieee754/k_standard.c: Likewise.
9394 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9395 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9396 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9397 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9398 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9399 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9400 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9401 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9402 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9403 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9404 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9405 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9407 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9408 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9410 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9411 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9412 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9415 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9416 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9417 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9418 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9419 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9421 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9424 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9425 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9426 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9427 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9428 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9429 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9430 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9431 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9432 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9433 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9434 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9435 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9436 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9437 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9438 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9439 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9440 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9441 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9442 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9443 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9444 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9445 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9446 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9449 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9450 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9451 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9452 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9453 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9454 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9455 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9456 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9457 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9458 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9459 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9460 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9463 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9464 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9468 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9469 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9470 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9471 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9472 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9473 * sysdeps/ieee754/s_matherr.c: Likewise.
9474 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9475 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9476 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9478
965a54a4
JM
94792012-01-26 Joseph Myers <joseph@codesourcery.com>
9480
9481 * crypt/md5.h: Remove __STDC__ conditionals.
9482 * libio/libioP.h: Likewise.
9483 * locale/programs/config.h: Likewise.
9484 * sysdeps/generic/sysdep.h: Likewise.
9485 * sysdeps/i386/asm-syntax.h: Likewise.
9486 * sysdeps/s390/asm-syntax.h: Likewise.
9487 * sysdeps/unix/sysdep.h: Likewise.
9488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9490
7071ad79
JM
94912012-01-26 Joseph Myers <joseph@codesourcery.com>
9492
9493 * libio/libio.h: Remove __STDC__ conditionals.
9494 * malloc/obstack.h: Likewise.
9495 * math/complex.h: Likewise.
9496 * math/math.h: Likewise.
9497 * sysdeps/generic/_G_config.h: Likewise.
9498 * sysdeps/gnu/_G_config.h: Likewise.
9499 * sysdeps/mach/hurd/_G_config.h: Likewise.
9500 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9501 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9502 * sysdeps/sparc/bits/mathdef.h: Likewise.
9503
afc5ed09
UD
95042012-01-26 Ulrich Drepper <drepper@gmail.com>
9505
9506 [BZ #13583]
9507 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 9508 Clean up HAS_* macros.
afc5ed09 9509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
9510 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9511 possible.
9512 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9513 HAS_AVX.
9514 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9515 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9516 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9517 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9518 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 9519
bdb6de1d
JM
95202012-01-25 Joseph Myers <joseph@codesourcery.com>
9521
9522 * elf/tst-unique3.cc (gets): Remove declaration.
9523 * elf/tst-unique3lib.cc (gets): Likewise.
9524 * elf/tst-unique3lib2.cc (gets): Likewise.
9525 * elf/tst-unique4.cc (gets): Likewise.
9526
b15549e6
UD
95272012-01-24 Ulrich Drepper <drepper@gmail.com>
9528
9529 * include/stdio.h: Add C++ protection. Add gets declarations and
9530 definitions.
9531 * debug/tst-chk1.c: Don't declare gets here.
9532 * stdio-common/tst-gets.c: Likewise.
9533
a037381f
JM
95342012-01-24 Joseph Myers <joseph@codesourcery.com>
9535
9536 * posix/glob: Remove directory.
9537
f1d4aa75
JM
95382012-01-24 Joseph Myers <joseph@codesourcery.com>
9539
9540 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9541
81c0c964
PT
95422012-01-22 Pino Toscano <toscano.pino@tiscali.it>
9543
9544 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
9545 of the non-standard EPFNOSUPPORT.
9546
0ea698ae
ST
95472011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
9548
9549 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
9550 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
9551 ANYWHERE set to 1 only on KERN_NO_SPACE error.
9552
d220b117
UD
95532012-01-21 Ulrich Drepper <drepper@gmail.com>
9554
9555 * wcsmbs/uchar.h: Test __STDC_VERSION__.
9556
3e1aa84e
UD
95572012-01-20 Ulrich Drepper <drepper@gmail.com>
9558
9559 * nscd/aicache.c (addhstaiX): Do not cache negative results of
9560 transient errors.
9561 * nscd/grpcache.c (cache_addgr): Likewise.
9562 * nscd/hstcache.c (cache_addhst): Likewise.
9563 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9564 * nscd/pwdcache.c (cache_addpw): Likewise.
9565 * nscd/servicescache.c (cache_addserv): Likewise.
9566
400aa020
UD
95672012-01-16 Ulrich Drepper <drepper@gmail.com>
9568
d77e7869
UD
9569 * malloc/malloc.c: Various cleanups.
9570 * malloc/hooks.c: Likewise.
9571
400aa020
UD
9572 * stdlib/Makefile (tests): Add bug-fmtmsg1.
9573 * stdlib/bug-fmtmsg1.c: New file.
9574
9575 * stdlib/fmtmsg.c (init): Add missing unlock.
9576 Patch by Peng Haitao <penght@cn.fujitsu.com>.
9577
e0a309cf
MP
95782012-01-12 Marek Polacek <polacek@redhat.com>
9579
9580 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
9581 and _GNU_SOURCE.
9582
929d11c7
WS
95832012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9584
9585 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
9586 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
9587 macro to ensure uniqueness of label name.
9588 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9589 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9590
41d0e869
UD
95912012-01-11 Ulrich Drepper <drepper@gmail.com>
9592
0cc5ed3b
UD
9593 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
9594
41d0e869
UD
9595 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
9596 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9597 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
9599
a47a831a
UD
96002012-01-10 Ulrich Drepper <drepper@gmail.com>
9601
daa891c0
UD
9602 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
9603
9604 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
9605 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9607
e58ef0f2
UD
9608 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
9609
a47a831a 9610 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
9611 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9612 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 9613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
9614
9615 * math/bits/math-finite.h: Add ldexp support.
9616
a0bfc9c7
MP
96172012-01-10 Marek Polacek <polacek@redhat.com>
9618
9619 * locale/programs/localedef.h (show_archive_content): Add noreturn
9620 attribute.
9621
d6e97a1d
UD
96222012-01-09 Ulrich Drepper <drepper@gmail.com>
9623
9624 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
9625
d5835c26
UD
96262012-01-08 Ulrich Drepper <drepper@gmail.com>
9627
e5f484c6
UD
9628 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
9629
d5835c26
UD
9630 * io/Makefile (headers): Add bits/poll2.h.
9631
d1f741e9
WS
96322011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
9633
9634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
9635 typo #include statement.
9636
ec09c1c4
UD
96372012-01-08 Ulrich Drepper <drepper@gmail.com>
9638
9639 * include/sys/cdefs.h: Define __attribute_alloc_size.
9640 * catgets/gencat.c: Add alloc_size attribute and apply consistently
9641 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
9642 * elf/pldd.c: Likewise.
9643 * iconv/iconv_charmap.c: Likewise.
9644 * iconv/iconvconfig.c: Likewise.
9645 * iconv/strtab.c: Likewise.
9646 * locale/programs/locale.c: Likewise.
9647 * locale/programs/localedef.h: Likewise.
9648 * locale/programs/simple-hash.c: Likewise.
9649 * nscd/nscd.h: Likewise.
9650 * nss/makedb.c: Likewise.
9651 * sysdeps/generic/ldconfig.h: Likewise.
9652 * locale/programs/localedef.c: Remove xmalloc prototype.
9653 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
9654
20b38e03
PP
96552012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9656
9657 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
9658 appropriate.
9659
a0da5fe1
UD
96602012-01-08 Ulrich Drepper <drepper@gmail.com>
9661
1d5a644a 9662 * math/Makefile (tests): Add tst-CMPLX.
669704fd 9663 * math/tst-CMPLX.c: New file.
1d5a644a 9664
8784a6db
UD
9665 * math/complex.h (CMPLXL): Fix typo.
9666
d9a216c0
UD
9667 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
9668 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
9669 GLIBC_2.16.
9670 * debug/tst-chk1.c: Add poll and ppoll tests.
9671 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
9672 * include/sys/poll.h: Add hidden proto for ppoll.
9673 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
9674 * sysdeps/mach/hurd/ppoll.c: Likewise.
9675 * io/ppoll.c: Likewise.
9676 * debug/poll_chk.c: New file.
9677 * debug/ppoll_chk.c: New file.
9678 * include/bits/poll2.h: New file.
9679 * io/bits/poll2.h: New file.
9680
ac097f5c
UD
9681 [BZ #1350]
9682 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9683
2119dcfa
UD
9684 * configure.in: static is always set to yes. Remove.
9685 * config.make.in: Don't set build-static.
9686 * Makeconfig: Remove use of build-static.
9687 * dlfcn/Makefile: Likewise.
9688 * elf/Makefile: Likewise.
9689 * math/Makefile: Likewise.
9690 * misc/Makefile: Likewise.
9691 * nptl/Makefile: Likewise.
9692 * sysdeps/mach/hurd/Makefile: Likewise.
9693
121766a9
UD
9694 * configure.in: PWD_P is not used anymore.
9695 * config.make.in: Remove PWD_P entry.
9696
51a1d39c 9697 * configure.in: Remove last remnants of RANLIB.
8720d066 9698 No need to check for signed size_t anymore.
215f4bdc
UD
9699 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9700 and IA-64.
3857022a 9701 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
9702 * aclocal.m4: Likewise.
9703
d3ed7225
UD
9704 * wcsmbs/mbrtoc16.c: Implement using towc function.
9705 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9706 * wcsmbs/wcsmbsload.c: Likewise.
9707 * iconv/gconv_simple.c: Likewise.
9708 * iconv/gconv_int.h: Likewise.
9709 * iconv/gconv_builtin.h: Likewise.
9710 * iconv/iconv_prog.c: Remove CHAR16 handling.
9711
9712 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9713
9714 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9715
a0da5fe1
UD
9716 * configure.in: Remove --with-elf and --enable-bounded options.
9717 Dont set base_machine for ia64. More non-ELF conditions removed.
9718 Remove testing and setting of leading underscore information.
9719 * config.make.in (build-bounded): Set to no.
9720 * config.h.in: Remove NO_UNDERSCORES entry.
9721 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9722 them.
9723 * csu/start.c: Remove !NO_UNDERSCORE code.
9724 * locale/localeinfo.h: Likewise.
9725 * sysdeps/generic/machine-gmon.h: Likewise.
9726 * sysdeps/generic/sysdep.h: Likewise.
9727 * sysdeps/i386/sysdep.h: Likewise.
9728 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9729 * sysdeps/mach/sysdep.h: Likewise.
9730 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9731 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9732 * sysdeps/sh/sysdep.h: Likewise.
9733 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9734 * sysdeps/unix/i386/sysdep.S: Likewise.
9735 * sysdeps/unix/sparc/start.c: Likewise.
9736 * sysdeps/unix/sparc/sysdep.S: Likewise.
9737 * sysdeps/unix/sparc/sysdep.h: Likewise.
9738 * sysdeps/unix/start.c: Likewise.
9739 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9740 * sysdeps/x86_64/sysdep.h: Likewise.
9741
df78418a
UD
97422012-01-07 Ulrich Drepper <drepper@gmail.com>
9743
a784e502
UD
9744 [BZ #13553]
9745 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9746 for non-gcc.
9747 * argp/argp-fmtstream.h: Use const instead __const.
9748 * argp/argp.h: Likewise.
9749 * assert/assert.h: Likewise.
9750 * bits/fenv.h: Likewise.
9751 * bits/sched.h: Likewise.
9752 * bits/sigset.h: Likewise.
9753 * bits/sigthread.h: Likewise.
9754 * catgets/nl_types.h: Likewise.
9755 * conform/data/pthread.h-data: Likewise.
9756 * crypt/crypt-private.h: Likewise.
9757 * crypt/crypt.h: Likewise.
9758 * crypt/crypt_util.c: Likewise.
9759 * ctype/ctype.h: Likewise.
9760 * debug/execinfo.h: Likewise.
9761 * debug/mbsnrtowcs_chk.c: Likewise.
9762 * debug/mbsrtowcs_chk.c: Likewise.
9763 * debug/wcsnrtombs_chk.c: Likewise.
9764 * debug/wcsrtombs_chk.c: Likewise.
9765 * debug/wcstombs_chk.c: Likewise.
9766 * dirent/dirent.h: Likewise.
9767 * dlfcn/dlfcn.h: Likewise.
9768 * elf/neededtest4.c: Likewise.
9769 * grp/grp.h: Likewise.
9770 * gshadow/gshadow.h: Likewise.
9771 * iconv/gconv.h: Likewise.
9772 * iconv/gconv_int.h: Likewise.
9773 * iconv/gconv_simple.c: Likewise.
9774 * iconv/iconv.h: Likewise.
9775 * iconv/loop.c: Likewise.
9776 * iconv/skeleton.c: Likewise.
9777 * include/aio.h: Likewise.
9778 * include/aliases.h: Likewise.
9779 * include/argz.h: Likewise.
9780 * include/arpa/inet.h: Likewise.
9781 * include/assert.h: Likewise.
9782 * include/dirent.h: Likewise.
9783 * include/dlfcn.h: Likewise.
9784 * include/execinfo.h: Likewise.
9785 * include/fcntl.h: Likewise.
9786 * include/fenv.h: Likewise.
9787 * include/glob.h: Likewise.
9788 * include/grp.h: Likewise.
9789 * include/libintl.h: Likewise.
9790 * include/mntent.h: Likewise.
9791 * include/netdb.h: Likewise.
9792 * include/pwd.h: Likewise.
9793 * include/rpc/netdb.h: Likewise.
9794 * include/sched.h: Likewise.
9795 * include/search.h: Likewise.
9796 * include/shadow.h: Likewise.
9797 * include/signal.h: Likewise.
9798 * include/stdio.h: Likewise.
9799 * include/stdlib.h: Likewise.
9800 * include/string.h: Likewise.
9801 * include/sys/socket.h: Likewise.
9802 * include/sys/stat.h: Likewise.
9803 * include/sys/statfs.h: Likewise.
9804 * include/sys/statvfs.h: Likewise.
9805 * include/sys/syslog.h: Likewise.
9806 * include/sys/time.h: Likewise.
9807 * include/sys/uio.h: Likewise.
9808 * include/time.h: Likewise.
9809 * include/unistd.h: Likewise.
9810 * include/utmp.h: Likewise.
9811 * include/wchar.h: Likewise.
9812 * include/wctype.h: Likewise.
9813 * inet/aliases.h: Likewise.
9814 * inet/arpa/inet.h: Likewise.
9815 * inet/netinet/ether.h: Likewise.
9816 * inet/netinet/in.h: Likewise.
9817 * intl/libintl.h: Likewise.
9818 * io/bits/fcntl2.h: Likewise.
9819 * io/fcntl.h: Likewise.
9820 * io/ftw.h: Likewise.
9821 * io/sys/poll.h: Likewise.
9822 * io/sys/stat.h: Likewise.
9823 * io/sys/statfs.h: Likewise.
9824 * io/sys/statvfs.h: Likewise.
9825 * io/utime.h: Likewise.
9826 * libio/bits/stdio.h: Likewise.
9827 * libio/bits/stdio2.h: Likewise.
9828 * libio/libio.h: Likewise.
9829 * libio/libioP.h: Likewise.
9830 * libio/stdio.h: Likewise.
9831 * locale/lc-ctype.c: Likewise.
9832 * locale/locale.h: Likewise.
9833 * login/utmp.h: Likewise.
9834 * malloc/arena.c: Likewise.
9835 * malloc/malloc.c: Likewise.
9836 * malloc/malloc.h: Likewise.
9837 * malloc/mcheck.c: Likewise.
9838 * malloc/mtrace.c: Likewise.
9839 * math/bits/mathcalls.h: Likewise.
9840 * math/fenv.h: Likewise.
9841 * math/math_private.h: Likewise.
9842 * misc/bits/error.h: Likewise.
9843 * misc/bits/syslog.h: Likewise.
9844 * misc/err.h: Likewise.
9845 * misc/error.h: Likewise.
9846 * misc/fstab.h: Likewise.
9847 * misc/mntent.h: Likewise.
9848 * misc/regexp.h: Likewise.
9849 * misc/search.h: Likewise.
9850 * misc/sgtty.h: Likewise.
9851 * misc/sys/mman.h: Likewise.
9852 * misc/sys/syslog.h: Likewise.
9853 * misc/sys/uio.h: Likewise.
9854 * misc/sys/xattr.h: Likewise.
9855 * misc/ttyent.h: Likewise.
9856 * nis/rpcsvc/ypclnt.h: Likewise.
9857 * nss/nss.h: Likewise.
9858 * posix/bits/unistd.h: Likewise.
9859 * posix/fnmatch.h: Likewise.
9860 * posix/glob.h: Likewise.
9861 * posix/sched.h: Likewise.
9862 * posix/spawn.h: Likewise.
9863 * posix/sys/wait.h: Likewise.
9864 * posix/unistd.h: Likewise.
9865 * posix/wordexp.h: Likewise.
9866 * pwd/pwd.h: Likewise.
9867 * resolv/netdb.h: Likewise.
9868 * resource/sys/resource.h: Likewise.
9869 * rt/aio.h: Likewise.
9870 * rt/bits/mqueue2.h: Likewise.
9871 * rt/mqueue.h: Likewise.
9872 * shadow/shadow.h: Likewise.
9873 * signal/signal.h: Likewise.
9874 * socket/send.c: Likewise.
9875 * socket/sendto.c: Likewise.
9876 * socket/sys/socket.h: Likewise.
9877 * stdio-common/printf.h: Likewise.
9878 * stdlib/bits/stdlib.h: Likewise.
9879 * stdlib/fmtmsg.h: Likewise.
9880 * stdlib/monetary.h: Likewise.
9881 * stdlib/stdlib.h: Likewise.
9882 * stdlib/ucontext.h: Likewise.
9883 * streams/stropts.h: Likewise.
9884 * string/argz.h: Likewise.
9885 * string/bits/string2.h: Likewise.
9886 * string/string.h: Likewise.
9887 * string/strings.h: Likewise.
9888 * sunrpc/rpc/auth.h: Likewise.
9889 * sunrpc/rpc/auth_des.h: Likewise.
9890 * sunrpc/rpc/clnt.h: Likewise.
9891 * sunrpc/rpc/netdb.h: Likewise.
9892 * sunrpc/rpc/pmap_clnt.h: Likewise.
9893 * sunrpc/rpc/xdr.h: Likewise.
9894 * sysdeps/generic/inttypes.h: Likewise.
9895 * sysdeps/generic/net/if.h: Likewise.
9896 * sysdeps/generic/sys/swap.h: Likewise.
9897 * sysdeps/gnu/net/if.h: Likewise.
9898 * sysdeps/gnu/utmpx.h: Likewise.
9899 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9900 * sysdeps/i386/i486/bits/string.h: Likewise.
9901 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9902 * sysdeps/s390/bits/string.h: Likewise.
9903 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9904 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9905 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9906 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9907 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9908 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9909 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9910 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9911 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9912 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9913 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9914 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9915 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9916 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9917 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9918 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9919 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9920 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9921 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9922 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9923 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9924 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9925 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9926 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9927 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9928 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9929 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9930 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9931 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9932 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9933 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9934 * sysvipc/sys/ipc.h: Likewise.
9935 * sysvipc/sys/msg.h: Likewise.
9936 * sysvipc/sys/sem.h: Likewise.
9937 * sysvipc/sys/shm.h: Likewise.
9938 * termios/termios.h: Likewise.
9939 * time/sys/time.h: Likewise.
9940 * time/time.h: Likewise.
9941 * wcsmbs/bits/wchar2.h: Likewise.
9942 * wcsmbs/uchar.h: Likewise.
9943 * wcsmbs/wchar.h: Likewise.
9944 * wctype/wctype.h: Likewise.
9945
0269750c
UD
9946 [BZ #13551]
9947 * Makeconfig: Remove all but ELF support including AIX support.
9948 * Makerules: Likewise.
9949 * config.h.in: Likewise.
9950 * config.make.in: Likewise.
9951 * configure: Likewise.
9952 * configure.in: Likewise.
9953 * csu/Makefile: Likewise.
9954 * csu/version.c: Likewise.
9955 * debug/Makefile: Likewise.
9956 * dlfcn/Makefile: Likewise.
9957 * elf/Makefile: Likewise.
9958 * extra-lib.mk: Likewise.
9959 * iconv/Makefile: Likewise.
9960 * include/libc-symbols.h: Likewise.
9961 * include/shlib-compat.h: Likewise.
9962 * resolv/Makefile: Likewise.
9963 * resolv/res_libc.c: Likewise.
9964 * rt/Makefile: Likewise.
9965 * sysdeps/i386/asm-syntax.h: Likewise.
9966 * sysdeps/i386/sysdep.h: Likewise.
9967 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9968 * sysdeps/mach/sysdep.h: Likewise.
9969 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9970 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9971 * sysdeps/s390/asm-syntax.h: Likewise.
9972 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9973 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9974 * sysdeps/sh/sysdep.h: Likewise.
9975 * sysdeps/unix/sparc/sysdep.h: Likewise.
9976 * sysdeps/wordsize-32/divdi3.c: Likewise.
9977 * sysdeps/x86_64/sysdep.h: Likewise.
9978
00bbd29b
UD
9979 * argp/Versions: Remove _argp_unlock_xxx.
9980
9981 [BZ #13559]
9982 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9983 * abilist/libBrokenLocale.abilist: Likewise.
9984 * abilist/libanl.abilist: Likewise.
9985 * abilist/libc.abilist: Likewise.
9986 * abilist/libcrypt.abilist: Likewise.
9987 * abilist/libdl.abilist: Likewise.
9988 * abilist/libm.abilist: Likewise.
9989 * abilist/libnsl.abilist: Likewise.
9990 * abilist/libpthread.abilist: Likewise.
9991 * abilist/libresolv.abilist: Likewise.
9992 * abilist/librt.abilist: Likewise.
9993 * abilist/libthread_db.abilist: Likewise.
9994 * abilist/libutil.abilist: Likewise.
9995 * abilist/libnss_db.abilist: New file.
9996
9997 * scripts/abilist.awk: Add support for indirect functions.
9998
a2693a0e
UD
9999 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10000
3f05895f
UD
10001 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10002
ecb6fb48
UD
10003 * shlib-versions: Remove entries for ports architectures.
10004
664f8cb9
UD
10005 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10006 files in ports.
10007 * elf/stackguard-macros.h: Remove support for IA-64.
10008 * elf/tst-auditmod1.c: Likewise.
10009 * sysdeps/generic/ldsodefs.h: Likewise.
10010
7ae81d88
UD
10011 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10012 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10013 configure files.
10014
bdeba135
UD
10015 [BZ #13552]
10016 * configure.in: Remove --enable-omitfp support.
10017 * FAQ.in: Adjust.
10018 * config.make.in: Likewise.
10019 * Makeconfig: Likewise.
10020 * manual/install.texi: Likewise.
10021
d75a0a62
UD
10022 In case anyone cares, the IA-64 architecture could move to ports.
10023 * sysdeps/ia64/*: Removed.
10024 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10025 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10026
dcc9756b
UD
10027 [BZ #13555]
10028 * configure.in: Remove entries for unsupported architectures.
10029
d3761ebc 10030 [BZ #13533]
9954432e
UD
10031 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10032 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10033 routines.
10034 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10035 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10036 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10037 fall back to using wcrtomb.
10038 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10039 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10040 renaming.
10041 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10042 * wcsmbs/tst-c16c32-1.c: New file.
10043
10044 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10045 local variable.
10046
c3a87236
UD
10047 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10048
28926a1b
UD
10049 * elf/tst-unique3.cc: Add explicit declaration of gets.
10050 * elf/tst-unique3lib.cc: Likewise.
10051 * elf/tst-unique3lib2.cc: Likewise.
10052 * elf/tst-unique4.cc: Likewise.
10053
df78418a
UD
10054 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10055
8ecd6b2a
JM
100562012-01-06 Joseph Myers <joseph@codesourcery.com>
10057
10058 [BZ #13566]
10059 * assert/assert.h (static_assert): Don't define for C++.
10060 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10061 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10062
9f115170
UD
100632012-01-03 Ulrich Drepper <drepper@gmail.com>
10064
5e0d0300
UD
10065 * iconv/loop.c (single loop): Fix assertion in storing of
10066 remaining bytes.
10067
9f115170
UD
10068 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10069
81fb02b0
UD
100702012-01-01 Ulrich Drepper <drepper@gmail.com>
10071
10072 * posix/getconf.c: Update copyright year.
10073 * nss/getent.c: Likewise.
a316c1f6 10074 * nss/makedb.c: Likewise.
81fb02b0
UD
10075 * iconv/iconvconfig.c: Likewise.
10076 * iconv/iconv_prog.c: Likewise.
10077 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10078 * elf/pldd.c: Likewise.
10079 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10080 * catgets/gencat.c: Likewise.
10081 * csu/version.c: Likewise.
10082 * elf/ldd.bash.in: Likewise.
10083 * elf/sprof.c (print_version): Likewise.
10084 * locale/programs/locale.c: Likewise.
10085 * locale/programs/localedef.c: Likewise.
a316c1f6 10086 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10087 * nscd/nscd.c (print_version): Likewise.
10088 * debug/xtrace.sh: Likewise.
10089 * malloc/memusage.sh: Likewise.
10090 * malloc/mtrace.pl: Likewise.
10091 * debug/catchsegv.sh: Likewise.
10092
2ba92745
JJ
100932011-12-30 Jakub Jelinek <jakub@redhat.com>
10094
10095 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10096 pure attribute.
10097
dadebdae
UD
100982011-12-24 Ulrich Drepper <drepper@gmail.com>
10099
d3761ebc 10100 [BZ #13533]
db6af3eb
UD
10101 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10102 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10103 transformations.
10104 * iconv/gconv_int.h: Likewise.
10105 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10106 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10107 from libc for GLIBC_2.16.
10108 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10109 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10110 * wcsmbs/uchar.h: Really define mbstate_t.
10111 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10112 * wcsmbs/c16rtomb.c: New file.
10113 * wcsmbs/mbrtoc16.c: New file.
10114 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10115 for C/POSIX locale.
10116 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10117 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10118
dadebdae
UD
10119 * wcsmbs/wchar.h: Add missing __restrict.
10120
67371b56
UD
101212011-12-23 Ulrich Drepper <drepper@gmail.com>
10122
74033a25
UD
10123 [BZ #13532]
10124 * time/Makefile (routines): Add timespec_get.
10125 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10126 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10127 timespec for ISO C11.
10128 * time/timespec_get.c: New file.
10129 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10130 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10131
380d7e87
UD
10132 [BZ #13531]
10133 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10134 * stdlib/stdlib.h: Declare aligned_alloc.
10135 * Versions.def: Add GLIBC_2.16 for libc.
10136 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10137
4e9e7a35
UD
10138 [BZ 13527]
10139 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10140 ISO C11.
10141
380d7e87 10142 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
10143 code.
10144
03a71829
UD
10145 [BZ #13528]
10146 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10147
839e283e
UD
10148 [BZ #13529]
10149 * assert/assert.h (static_assert): Define.
10150
ce5294e2 10151 * version.h: Update for 2.16 development version.
90fa7312 10152
8d44e150 10153 [BZ #13526]
d7809905
UD
10154 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10155 _ISOC11_SOURCE.
10156
c0da14cd
UD
10157 * version.h (RELEASE): Bump for 2.15 release.
10158 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10159
530a3249
MP
10160 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10161 Patch by Marek Polacek <mpolacek@redhat.com>.
10162
67371b56
UD
10163 * bits/byteswap.h: Protect long long constants with __extension__.
10164 * sysdeps/i386/bits/byteswap.h: Likewise.
10165 * sysdeps/ia64/bits/byteswap.h: Likewise.
10166 * sysdeps/s390/bits/byteswap.h: Likewise.
10167 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10168
15db4de1
LD
101692011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10170
10171 [BZ #13540]
bbe315ea
LD
10172 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10173 destination buffer.
15db4de1
LD
10174 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10175
2b2596b1
MP
101762011-12-23 Marek Polacek <polacek@redhat.com>
10177
10178 * elf/dl-addr.c (determine_info): Add inline keyword.
10179 * elf/tst-auditmod4b.c (check_avx): Likewise.
10180 * elf/tst-auditmod6b.c (check_avx): Likewise.
10181 * elf/tst-auditmod6c.c (check_avx): Likewise.
10182 * elf/tst-auditmod7b.c (check_avx): Likewise.
10183
70c6c246
UD
101842011-12-23 Ulrich Drepper <drepper@gmail.com>
10185
10186 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10187 !__SSE_MATH__.
10188
c044cf14
LD
101892011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10190
15db4de1 10191 [BZ #13540]
c044cf14
LD
10192 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10193 processing for last bytes.
10194
6b13d9d9
BH
101952011-08-06 Bruno Haible <bruno@clisp.org>
10196
d455f537
BH
10197 [BZ #13061]
10198 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10199 U+0385, not to U+1FEE.
10200
6b13d9d9
BH
10201 [BZ #13062]
10202 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10203 entry for U+00A5 U+0301.
10204
db910efd
UD
102052011-12-22 Ulrich Drepper <drepper@gmail.com>
10206
27deeafc
UD
10207 [BZ #13166]
10208 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10209 buffer for the output is too small.
10210
aed9d171
UD
10211 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10212 optimization.
10213
db910efd
UD
10214 [BZ #13185]
10215 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10216 SSE flags if possible.
10217
2bd779ae
LD
102182011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10219
e7f9dac3 10220 [BZ #13540]
2bd779ae
LD
10221 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10222 processing for last bytes.
10223
154bfc16
JM
102242011-12-22 Joseph Myers <joseph@codesourcery.com>
10225
10226 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10227 (syscall-list-default-options, syscall-list-default-condition)
10228 (syscall-list-includes): Define.
10229 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10230 list of ABIs and options and #if conditions for each ABI. Do not
10231 handle common syscalls between ABIs specially.
10232 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10233 Remove.
10234 (syscall-list-variants, syscall-list-32bit-options)
10235 (syscall-list-32bit-condition, syscall-list-64bit-options)
10236 (syscall-list-64bit-condition): Define.
10237 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10238 (syscall-list-variants, syscall-list-32bit-options)
10239 (syscall-list-32bit-condition, syscall-list-64bit-options)
10240 (syscall-list-64bit-condition): Define.
10241 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
10247 Remove.
10248 (syscall-list-variants, syscall-list-32bit-options)
10249 (syscall-list-32bit-condition, syscall-list-64bit-options)
10250 (syscall-list-64bit-condition): Define.
10251
21eaf3a5
UD
102522011-12-22 Ulrich Drepper <drepper@gmail.com>
10253
16c6f992
UD
10254 * locale/iso-639.def: Add brx entry.
10255
41043168
UD
10256 [BZ #13328]
10257 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10258 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10259
21eaf3a5
UD
10260 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10261 __feraiseexcept_renamed.
10262
e3a851a2
UD
102632011-12-21 Ulrich Drepper <drepper@gmail.com>
10264
4920765e
UD
10265 [BZ #13538]
10266 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10267 EPOLLET with unsigned values.
10268 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10269 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10270
e3a851a2
UD
10271 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10272 to large cancellation.
10273 * math/s_cacoshf.c: Likewise.
10274 * math/s_cacoshl.c: Likewise.
10275
b27e24b8
RK
102762011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10277
10278 [BZ #13305]
aebefeee 10279 [BZ #12786]
b27e24b8
RK
10280 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10281 * math/s_cacoshf.c: Likewise.
10282 * math/s_cacoshl.c: Likewise.
10283
ee190f67
UD
102842011-12-21 Ulrich Drepper <drepper@gmail.com>
10285
10286 [BZ #13439]
10287 * iconv/gconv.h: Define __GCONV_SWAP.
10288 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10289 * iconvdata/utf-16.c: Likewise.
10290 * iconvdata/utf-32.c: Likewise.
10291
707f25df
AS
102922011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10293
10294 [BZ #13524]
10295 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10296 numerator after shifting it by one limb.
10297
d2daaa1e
RÁE
102982011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10299
10300 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10301 under [__USE_EXTERN_INLINES].
10302
a4647e72
UD
103032011-12-17 Ulrich Drepper <drepper@gmail.com>
10304
10305 [BZ #13446]
10306 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10307
f0b264f1
AZ
103082011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10309
10310 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10311 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10312 optimized code.
10313 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10314 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10315 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10316 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10317 for strncasecmp/strncasecmp_l compilation.
10318 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10319 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10320
8ef4f244
MP
103212011-12-08 Marek Polacek <mpolacek@redhat.com>
10322
10323 [BZ #13484]
10324 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10325 of __asm__.
10326
97ac2654
UD
103272011-12-17 Ulrich Drepper <drepper@gmail.com>
10328
10329 [BZ #13506]
10330 * time/tzfile.c (__tzfile_read): Check values from file header.
10331
91d2a845
WS
103322011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10333
10334 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10335 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10336 * powerpc/powerpc32/dl-start.S: Likewise.
10337 * powerpc/powerpc32/elf/start.S: Likewise.
10338 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10339 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10340 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10341 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10342 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10343 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10344 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10345 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10346 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10347 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10348 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10349 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10350 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10351 * powerpc/powerpc32/memset.S: Likewise.
10352 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10353 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10354 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10355 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10356 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10357 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10358 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10359 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10360 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10361 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10362 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10363 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10364 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10365
a1267ba1
AZ
103662011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10367
10368 * math/libm-test.inc: Added more nearbyint tests.
10369 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10370 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10371 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10372 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10373
ad8ac1bd
RL
103742011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10375
10376 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10377 FD_CLOEXEC.
10378
1d3e4b61
UD
103792011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10380
10381 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10382 Add wcscpy-ssse3 wcscpy-c.
10383 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10384 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10385 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10386 * sysdeps/x86_64/wcschr.S: New file.
10387 * sysdeps/x86_64/wcsrchr.S: New file.
10388 * string/test-strcmp.c: Remove checking of wcscmp function for
10389 wrong alignments.
10390 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10391 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10392 wcsrchr-sse2 wcsrchr-c.
10393 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10394 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10395 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10396 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10397 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10398 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10399 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10400 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10401 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10402 * wcsmbc/wcschr.c (WCSCHR): New macro.
10403
5b330a2d
UD
104042011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10405
10406 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10407 * wcsmbs/test-wcsrchr.c: New file.
10408 * string/test-strrchr.c: Add wcsrchr support.
10409 (WIDE): New macro.
10410 * wcsmbs/test-wcscpy.c: New file.
10411 * string/test-strcpy.c: Add wcscpy support.
10412 (WIDE): New macro.
26428b7c 10413
f039c043
UD
104142011-12-10 Ulrich Drepper <drepper@gmail.com>
10415
10416 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10417 the inner loop.
10418
850fb039
AS
104192011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10420
10421 [BZ #13472]
10422 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10423
4efbd5cb
UD
104242011-12-04 Ulrich Drepper <drepper@gmail.com>
10425
52ff5dd0 10426 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 10427 Minor optimizations.
52ff5dd0 10428
4efbd5cb
UD
10429 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10430 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10431 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10432
8a426e12
UD
104332011-12-03 Ulrich Drepper <drepper@gmail.com>
10434
aff2453d
UD
10435 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10436 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10437 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10438 for gcc to avoid warnings.
10439 * inet/Makefile (tests): Add tst-checks.
10440 * inet/tst-checks.c: New file.
10441
10442 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10443 warning.
10444
10445 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10446 __wmemcmp_sse2.
10447
10448 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10449 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10450
8a426e12
UD
10451 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10452
9bea3473
UD
104532011-12-02 Ulrich Drepper <drepper@gmail.com>
10454
3a965496
UD
10455 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10456 problem.
10457
9bea3473
UD
10458 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10459
f101631b
UD
104602011-11-29 Joseph Myers <joseph@codesourcery.com>
10461
10462 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10463 conditional on GCC version.
10464 (__arch_compare_and_exchange_val_8_acq)
10465 (__arch_compare_and_exchange_val_16_acq)
10466 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10467 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10468 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10469
a98275aa
UD
104702011-12-02 Joseph Myers <joseph@codesourcery.com>
10471
10472 * sysdeps/sh/backtrace.c: New file.
10473
d4cc29a2
AS
104742011-12-02 Andreas Schwab <schwab@redhat.com>
10475
10476 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10477 parenthesis.
10478
6257af2d
AS
104792011-12-01 Andreas Schwab <schwab@redhat.com>
10480
10481 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10482 falling back to utime.
10483
b5f44c1a
AS
104842011-11-30 Andreas Schwab <schwab@redhat.com>
10485
10486 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10487 expectations for float.
10488
f3a6cc0a
AS
104892011-11-29 Andreas Schwab <schwab@redhat.com>
10490
10491 * locale/weight.h (findidx): Add parameter len.
10492 * locale/weightwc.h (findidx): Likewise.
10493 * posix/fnmatch_loop.c (FCT): Adjust caller.
10494 * posix/regcomp.c (build_equiv_class): Likewise.
10495 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10496 * posix/regexec.c (check_node_accept_bytes): Likewise.
10497 * string/strcoll_l.c (STRCOLL): Likewise.
10498 * string/strxfrm_l.c (STRXFRM): Likewise.
10499
9d65ea3a
UD
105002011-11-17 Ulrich Drepper <drepper@gmail.com>
10501
10502 * Makefile.in: Remove CVSOPT handling.
10503 * configure.in: Remove use of AC_REVISION.
10504 * iconvdata/Makefile (distribute): No need to filter out CVS.
10505 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10506 handling.
10507
5583a086
AS
105082011-11-16 Andreas Schwab <schwab@redhat.com>
10509
10510 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10511 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10512 [USE_AS_STRNCASECMP_L]: Likewise.
10513 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10514 NO_TLS_DIRECT_SEG_REFS.
10515 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10516 Fix argument offsets for non-PIC.
10517 [USE_AS_STRNCASECMP_L]: Likewise.
10518 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10519 NO_TLS_DIRECT_SEG_REFS.
10520
d62a8200
UD
105212011-11-15 Ulrich Drepper <drepper@gmail.com>
10522
9d65ea3a 10523 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
10524 O_CLOEXEC.
10525 * locale/loadlocale.c (_nl_load_locale): Likewise.
10526
09f93bd3
AS
105272011-11-15 Andreas Schwab <schwab@redhat.com>
10528
446514f9
AS
10529 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10530 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10531 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10532 (SYSCALL_GETTIME): Set errno on error.
10533
09f93bd3
AS
10534 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10535 count references to noai6ai_cached.
10536
312be3f9
UD
105372011-11-15 Ulrich Drepper <drepper@gmail.com>
10538
10539 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10540
10541 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10542 FD_CLOEXEC for /proc/self/maps.
10543
10544 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
10545 FD_CLOEXEC for /proc/meminfo.
10546
10547 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
10548 gai.conf.
10549
10550 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
10551 FD_CLOEXEC for given file.
10552
10553 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
10554
10555 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
10556 FD_CLOEXEC for /etc/hosts.
10557 (_gethtent): Likewise.
10558
10559 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
10560
10561 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
10562 cancellation and set FD_CLOEXEC for /etc/netgroup.
10563
10564 * nss/nss_files/files-key.c (search): Don't allow cancellation when
10565 reading /etc/publickey.
10566
10567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
10568 allow cancellation when reading /etc/group.
10569
10570 * nss/nss_files/files-alias.c (internal_setent): Don't allow
10571 cancellation.
10572 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
10573
10574 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
10575 when using data file.
10576
10577 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
10578
10579 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
10580 (write_nis_obj): Use "c" and "e" in fopen.
10581
10582 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
10583
10584 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
10585
10586 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
10587
10588 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
10589
10590 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
10591 locale.alias.
10592
10593 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
10594
10595 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
10596
10597 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
10598
10599 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
10600 file parsing and set FD_CLOEXEC.
10601
82af0fa8
UD
106022011-11-14 Ulrich Drepper <drepper@gmail.com>
10603
10604 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
10605
a5fb313c
AS
106062011-11-14 Andreas Schwab <schwab@redhat.com>
10607
10608 * malloc/arena.c (arena_get2): Don't call reused_arena when
10609 _int_new_arena failed.
10610
6abf3465
UD
106112011-11-14 Ulrich Drepper <drepper@gmail.com>
10612
10613 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
10614 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
10615 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
10616 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10617 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10618 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
10619 to compile strcasecmp and strncasecmp.
10620 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
10621 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
10622
10623 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
10624
76e3966e
UD
106252011-11-13 Ulrich Drepper <drepper@gmail.com>
10626
10627 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
10628 locale-defines.sym to gen-as-const-headers.
10629 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
10630 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
10631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
10632 to compile strcasecmp and strncasecmp.
10633 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
10634 strcasecmp_l and strncasecmp_l.
10635 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
10636 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
10637 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
10638 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
10639 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
10640 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
10641 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
10642 * sysdeps/i386/i686/multiarch/strncase.S: New file.
10643 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
10644 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
10645 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
10646
ab26144e
UD
106472011-11-12 Ulrich Drepper <drepper@gmail.com>
10648
7edb22ef
UD
10649 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
10650 result of SYSDEP_GETTIME_CPU to retval.
10651 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
10652 parameter list to macro. Remove trailing semicolon. Adjust users.
10653
9694fc44
UD
10654 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
10655 variable.
10656
8ad89ef8
UD
10657 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
10658 mantissa words.
10659 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10660
0c822ef9
UD
10661 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
10662 from unused variable.
10663
874e0564
UD
10664 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
10665 DWARF definitions.
10666 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
10667 for assembling.
10668
3a2edc79
UD
10669 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
10670 over namespaces.
10671
f3c2577f
UD
10672 * sunrpc/rpc_prot.c (rejected): Fix case value.
10673
294ce126
UD
10674 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
10675 unsigned long long int to avoid warnings in shift.
10676
5e2b63c6
UD
10677 * posix/regex_internal.c (re_string_reconstruct): Actually use result
10678 of use of trans.
10679 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
10680 variable tmp.
10681
e7f4b08e
UD
10682 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10683 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10684 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10685
ab26144e
UD
10686 * nis/nis_table.c (nis_list): Use variable of correct type for
10687 result of __follow_path call.
10688
8a6d5255
AZ
106892011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10690
10691 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10692 of math functions ceil, trunc, floor, round, and sqrt, when
10693 avaliable on the platform.
10694 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10695 name clash.
10696 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10697 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10698 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10699
aaddc98c
MP
107002011-10-30 Marek Polacek <mpolacek@redhat.com>
10701
10702 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10703 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10704
95b7042b
RM
107052011-11-11 Roland McGrath <roland@hack.frob.com>
10706
10707 * include/unistd.h: Fix __readlink return type.
10708 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10709
57769839
UD
107102011-11-11 Ulrich Drepper <drepper@gmail.com>
10711
10712 * stdlib/ucontext.h: Undo last change for makecontext.
10713
edc5984d
AS
107142011-11-11 Andreas Schwab <schwab@redhat.com>
10715
98591e58
AS
10716 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10717
edc5984d
AS
10718 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10719 * setjmp/setjmp.h: Mark functions as non-leaf.
10720 * setjmp/bits/setjmp2.h: Likewise.
10721 * stdlib/ucontext.h: Likewise.
10722
77cdc054
AS
107232011-11-10 Andreas Schwab <schwab@redhat.com>
10724
10725 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10726 (reused_arena): Don't check arena limit.
10727 (arena_get2): Atomically check arena limit.
10728
fe72eebd
UD
107292011-11-08 Ulrich Drepper <drepper@gmail.com>
10730
5f078c32
UD
10731 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10732 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10733
fe72eebd
UD
10734 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10735 instructions.
10736
ae1bc2fa
AS
107372011-11-07 Andreas Schwab <schwab@redhat.com>
10738
7583a88d
AS
10739 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10740 handler when locking.
10741
ae1bc2fa
AS
10742 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10743 Fix size of allocated buffer.
10744
10fb0bfa
AS
107452011-11-04 Andreas Schwab <schwab@redhat.com>
10746
998832a4
AS
10747 [BZ #10103]
10748 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10749 declarations for long double functions.
10750 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10751
10fb0bfa
AS
10752 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10753
3d7ba52b
AS
107542011-11-03 Andreas Schwab <schwab@redhat.com>
10755
a9ae54a1
AS
10756 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10757 installed.
10758
3d7ba52b
AS
10759 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10760 is disabled.
10761
bc8db248
ST
107622011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10763
10764 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10765
45b96dd6
AS
107662011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10767
647776f6
AS
10768 * include/alloca.h (stackinfo_alloca_round): Define.
10769 (extend_alloca): Use it.
10770 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10771 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10772 here.
10773
d91a8b93
AS
10774 * scripts/check-local-headers.sh: Ignore libaudit.h.
10775
45b96dd6
AS
10776 * nscd/Makefile (extra-objs): Make recursively expanded.
10777
432d41ce
UD
107782011-11-01 Ulrich Drepper <drepper@gmail.com>
10779
34372fc6
UD
10780 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10781 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10782
fadb59f8
UD
10783 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10784 * posix/tst-rfc3484-2.c: Likewise.
10785 * posix/tst-rfc3484-3.c: Likewise.
10786
78239589
UD
10787 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10788 process_vm_writev.
10789 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10790 process_vm_writev.
10791 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10792 process_vm_writev from libc using GLIBC_2.15 version.
10793
432d41ce
UD
10794 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10795
02f9c6cf
PP
107962011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10797
10798 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10799 stack usage.
10800
3a2c0242
UD
108012011-10-31 Ulrich Drepper <drepper@gmail.com>
10802
f4ec4833
UD
10803 [BZ #13367]
10804 * nss/getent.c (initgroups_keys): Show error message in case no group
10805 names are given.
10806
3a2c0242
UD
10807 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10808 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10809 __bump_nl_timestamp.
10810 * nscd/connections (nscd_init): When host database is served open
10811 netlink socket and request notification about configuration changes.
10812 (main_loop_poll): Track netlink file descriptor and bump timestamp
10813 in case data becomes available.
10814 (main_loop_epoll): Likewise.
10815 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10816 (database_pers_head): Add extra_data fileds.
10817 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10818 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10819 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10820 Adjust caller.
10821 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10822 in6ai data, call __free_in6ai.
10823 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10824 Add -DHAVE_NETLINK.
10825 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10826 interface information. Reuse previous data if netlink timestamp
10827 is not changed.
10828 (__bump_nl_timestamp): New function.
10829 (__free_in6ai): New function.
10830
636064eb
UD
108312011-10-30 Ulrich Drepper <drepper@gmail.com>
10832
10833 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10834 close_not_cancel_no_status here.
10835 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10836
9beb2334
UD
108372011-10-29 Ulrich Drepper <drepper@gmail.com>
10838
6ef76f3b
UD
10839 [BZ #13276]
10840 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10841 return value.
10842
0ffc4f3e 10843 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10844 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10845 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10846
cb95113e
UD
108472011-07-03 Andreas Jaeger <aj@suse.de>
10848
10849 [BZ #10709]
10850 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10851 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10852 * math/libm-test.inc (sin_test): Add test case.
10853
a1b560ff
UD
108542011-10-29 Ulrich Drepper <drepper@gmail.com>
10855
c9aaface
UD
10856 [BZ #13337]
10857 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10858 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10859
d272e7f1
UD
10860 * elf/chroot_canon.c (chroot_canon): Cleanups.
10861
1bc33071
UD
10862 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10863
1760874d
TJ
10864 [BZ #13335]
10865 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10866 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10867
51d91b18
UD
10868 * string/test-strchr.c: Make usable for strchrnul testing.
10869 * string/test-strchrnul.c: New file.
10870 * string/Makefile (strop-tests): Add strchrnul.
10871
a1b560ff 10872 * po/it.po: Update from translation team.
b611fb81 10873 * po/es.po: Likewise.
a1b560ff 10874
a5b81e1f
UD
108752011-10-28 Ulrich Drepper <drepper@gmail.com>
10876
fd52bc6d
UD
10877 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10878 the three constants needed as parameters. Drop the others.
10879 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10880 __m128i_strloadu_tolower.
52e4b9eb
UD
10881 Create and initialize variable zero and use it in all the places
10882 where _mm_setzero_si128 was used.
fd52bc6d 10883
a5b81e1f
UD
10884 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10885 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10886 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10887 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10888 anymore.
10889 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10890 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10891 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10892 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10893 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10894 __mpranred, __mptan.
10895 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10896 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10897 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10898 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10899 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10900 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10901 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10902 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10903 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10904
b4343346
AS
109052011-10-28 Andreas Schwab <schwab@redhat.com>
10906
0c92d8a8
AS
10907 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10908 redefine if SHARED.
10909 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10910
b4343346
AS
10911 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10912 wide char related routines to wcsmbs subdir.
10913
3871f58f
AS
109142011-10-27 Andreas Schwab <schwab@redhat.com>
10915
10916 [BZ #13344]
10917 * misc/sys/cdefs.h (__THROWNL): Define.
10918 * posix/unistd.h: Use __THREADNL instead of __THREAD
10919 for memory synchronization functions.
10920
94d44d9f
RM
109212011-10-26 Roland McGrath <roland@hack.frob.com>
10922
21b64b15 10923 [BZ #13349]
94d44d9f
RM
10924 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10925 doesn't exist.
10926 * manual/stdio.texi (Obstack Streams): Node removed.
10927
f6ce9294
AS
109282011-10-26 Andreas Schwab <schwab@redhat.com>
10929
80479147
AS
10930 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10931 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10932 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10933
f6ce9294
AS
10934 * math/math_private.h (math_force_eval): Allow non-addressable
10935 arguments.
10936 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10937
618280a1
UD
109382011-10-25 Ulrich Drepper <drepper@gmail.com>
10939
e0016b11
UD
10940 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10941 file is not needed.
10942
10943 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10944 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10945 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10946 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10948 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10949 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10950 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10951 Add AVX variants.
10952 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10953 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10954 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10955 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10956 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10957 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10958 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10959 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10960 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10961 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10962 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10963 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10964 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10965 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10966 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10967 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10968 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10969 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10970 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10971
10972 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10973 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10974
618280a1
UD
10975 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10976 place. Use VEX encoding when compiling for AVX.
10977
37822576
AS
109782011-10-25 Andreas Schwab <schwab@redhat.com>
10979
1f1e1947
AS
10980 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10981 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10982
37822576
AS
10983 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10984
31ea014d
UD
109852011-10-25 Ulrich Drepper <drepper@gmail.com>
10986
d7826aa1 10987 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10988 useless if() expression.
d7826aa1
UD
10989 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10990 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10991 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10992 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10993 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10994 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10995 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10996 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10997 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10998 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10999 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11000 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11001 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11002 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11003 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11004 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11005 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11007 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11008
31ea014d
UD
11009 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11010
16437fec
AS
110112011-10-25 Andreas Schwab <schwab@redhat.com>
11012
11013 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11014 condition.
11015 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11016
31d3cc00
UD
110172011-10-25 Ulrich Drepper <drepper@gmail.com>
11018
11019 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11020 .text section. Avoid duplicate constants.
11021 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11023 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11024 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11026 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11027 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11029 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11030 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11031 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11032 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11033 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11034 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11035 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11036 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11037 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11038 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11040 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11044 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11045 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11046 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11047 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11048 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11049 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11050 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11051 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11052 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11053 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11054 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11055 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11056 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11057 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11058 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11059 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11060 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11061 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11062 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11063 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11064 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11065 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11066
58985aa9
UD
110672011-10-24 Ulrich Drepper <drepper@gmail.com>
11068
202c9deb
UD
11069 * sysdeps/x86_64/dla.h: Move to ...
11070 * sysdeps/x86_64/fpu/dla.h: ...here.
11071 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11072 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11073
af968f62
UD
11074 * config.make.in: Add have-mfma4 entry.
11075 * configure.in: Substitute libc_cv_cc_fma4.
11076 * math/Makefile (dbl-only-routines): Add sincostab.
11077 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11078 Use __sincostab not sincos.
11079 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11080 name is a macro.
11081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11085 using __copysign.
11086 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11087 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11088 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11089 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11090 and __inv.
11091 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11092 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11093 __copysign.
11094 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11095 define aliases when function name is a macro.
11096 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11097 sysdeps/ieee754/dbl-64/sincos.tbl.
11098 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11099 fma4-enabled routines.
11100 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11101 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11102 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11103 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11104 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11105 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11106 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11107 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11108 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11109 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11110 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11111 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11112 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11113 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11114 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11115 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11116 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11117 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11118 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11119 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11120 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11121 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11123 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11124 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11125 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11126 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11127 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11128 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11129 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11130
58985aa9
UD
11131 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11132 rename.
11133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11134 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11140 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11141
a201fbcf
AS
111422011-10-24 Andreas Schwab <schwab@redhat.com>
11143
11144 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11145
fc2ee42a
LD
111462011-10-23 Ulrich Drepper <drepper@gmail.com>
11147
bb3129bd
UD
11148 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11149
0275fff8
UD
11150 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11151 prediction.
11152 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11153
2fa2ae85
UD
11154 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11155 Remove unused variable magic_bits.
11156 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11157
fc2ee42a
LD
11158 * string/strnlen.c: Define and use STRNLEN macro.
11159 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11160 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11161 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11162 * wcsmbs/wcslen.c: Define and use WCSLEN.
11163 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11164 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11165 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11166 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11167 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11168 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11169 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11170
ce7dd29f
LD
111712011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11172
11173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11174 strnlen-sse2-no-bsf.
11175 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11176 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11177 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11178 Add strnlen support.
11179 (USE_AS_STRNLEN): New macro.
11180 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11181 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11182 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11183 * sysdeps/x86_64/wcslen.S: New file.
11184
979c70a3
MZ
111852011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11186
11187 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11188 XMM-moves are used for copying on small sizes.
11189
2d09f82f
LD
111902011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11191
11192 * wcsmbs/Makefile (strop-tests): Add wcschr.
11193 * wcsmbs/test-wcschr.c: New file.
11194 * string/test-strchr.c: Update.
11195 Add wcschr support.
11196 (WIDE): New macro.
11197
619fccca
LD
111982011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11199
2d09f82f 11200 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
11201 * wcsmbs/test-wcslen.c: New file.
11202 * string/test-strlen.c: Update.
11203 Add wcslen support.
11204 (WIDE): New macro.
11205
09f699ea
UD
112062011-10-23 Ulrich Drepper <drepper@gmail.com>
11207
11208 * po/it.po: Update from translation team.
11209
95584d3b
LD
112102011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11211
11212 * sysdeps/x86_64/wcscmp.S: Update.
11213 Fix wrong comparison semantics.
11214 wcscmp shall use signed comparison not unsigned.
11215 Don't use substraction to avoid overflow bug.
11216 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11217 * wcsmbc/wcscmp.c: Likewise.
11218 * string/test-strcmp.c: Likewise.
11219 Add new tests to check cases with negative values.
11220
c8b3296b
UD
112212011-10-23 Ulrich Drepper <drepper@gmail.com>
11222
11223 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11224 * sysdeps/x86_64/dla.h: ...here. New file.
11225 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11226 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11227 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11230 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11231 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11232 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11233 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11234
246ad57a
AS
112352011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11236
11237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11238 __ynl_finite aliases.
11239
a1a87169
UD
112402011-10-22 Ulrich Drepper <drepper@gmail.com>
11241
0d355eb7
UD
11242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11243
a1a87169
UD
11244 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11245 define DLA_FMA.
11246 [DLA_FMA] (EMULV): Use DLA_FMA.
11247 [DLA_FMA] (MUL12): Use EMULV.
11248 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11249 that are not needed.
11250 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11251 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11252 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11253 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11254 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11255 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11256 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11257
ee2aafe0
AS
112582011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11259
11260 * math/s_nan.c: Undef __nan.
11261 * math/s_nanf.c: Undef __nanf.
11262 * math/s_nanl.c: Undef __nanl.
11263 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11264 "math_private.h".
11265
bc62c2fb
UD
112662011-10-22 Ulrich Drepper <drepper@gmail.com>
11267
77425c63
UD
11268 * math/s_catan.c: Add branch predictions.
11269 * math/s_catanf.c: Likewise.
11270 * math/s_catanh.c: Likewise.
11271 * math/s_catanhf.c: Likewise.
11272 * math/s_catanhl.c: Likewise.
11273 * math/s_catanl.c: Likewise.
11274 * math/s_cexp.c: Likewise.
11275 * math/s_cexpf.c: Likewise.
11276 * math/s_cexpl.c: Likewise.
11277 * math/s_clog.c: Likewise.
11278 * math/s_clog10.c: Likewise.
11279 * math/s_clog10f.c: Likewise.
11280 * math/s_clog10l.c: Likewise.
11281 * math/s_clogf.c: Likewise.
11282 * math/s_clogl.c: Likewise.
11283 * math/s_csqrt.c: Likewise.
11284 * math/s_csqrtf.c: Likewise.
11285 * math/s_csqrtl.c: Likewise.
11286 * math/s_ctanf.c: Likewise.
11287 * math/s_ctanh.c: Likewise.
11288 * math/s_ctanhf.c: Likewise.
11289 * math/s_ctanhl.c: Likewise.
11290 * math/s_ctanl.c: Likewise.
11291
bc62c2fb
UD
11292 * math/math_private.h: Define __nan, __nanf, __nanl.
11293 * math/s_cacosh.c: Include <math_private.h>.
11294 * math/s_cacoshl.c: Likewise.
11295 * math/s_casinh.c: Likewise.
11296 * math/s_casinhf.c: Likewise.
11297 * math/s_casinhl.c: Likewise.
11298 * math/s_ccos.c: Rely entire on ccosh.
11299 * math/s_ccosf.c: Rely entire on ccoshf.
11300 * math/s_ccosl.c: Rely entirely on ccoshl.
11301 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11302 Remove tests for FE_INVALID.
11303 * math/s_ccoshf.c: Likewise.
11304 * math/s_ccoshl.c: Likewise.
11305 * math/s_csin.c: Likewise.
11306 * math/s_csinf.c: Likewise.
11307 * math/s_csinh.c Likewise.
11308 * math/s_csinhf.c: Likewise.
11309 * math/s_csinhl.c: Likewise.
11310 * math/s_csinl.c: Likewise.
11311 * math/s_ctan.c: Likewise.
11312 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11313 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11314 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11315
8ec250a4
UD
113162011-10-21 Ulrich Drepper <drepper@gmail.com>
11317
c196fed8
UD
11318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11319 compilation problems.
11320
8ec250a4
UD
11321 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11322 __builtin_expect.
11323
8d4f46c6
UD
113242011-10-20 Ulrich Drepper <drepper@gmail.com>
11325
ed72b654
UD
11326 * sysdeps/i386/configure.in: Test for -mfma4 option.
11327 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11328 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11329 COMMON_CPUID_INDEX_80000001.
11330 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11331 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11332 use it if FMA3 is not supported.
11333 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11334
8d4f46c6
UD
11335 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11336 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11337
d45c60c2
AS
113382011-10-20 Andreas Schwab <schwab@redhat.com>
11339
11340 [BZ #12892]
11341 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11342 it would create a cycle with a link time dependency.
11343
d9a4d2ab
UD
113442011-10-19 Ulrich Drepper <drepper@gmail.com>
11345
855d1560
UD
11346 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11347 instruction.
11348 * string/Makefile (strop-tests): Add rawmemchr.
11349 * string/test-rawmemchr.c: New file.
11350
d9a4d2ab
UD
11351 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11352 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11353 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11354 when compiling str{,n}casecmp and when AVX is available. Hook up
11355 new optimized code in initializers.
11356
8f3b1ffe
AS
113572011-10-19 Andreas Schwab <schwab@redhat.com>
11358
11359 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11360 __feraiseexcept instead of feraiseexcept.
11361
d38f1dba
UD
113622011-10-18 Ulrich Drepper <drepper@gmail.com>
11363
d9a8d0ab
UD
11364 * math/math_private.h: Define defaults for libc_fetestexcept and
11365 libc_feupdateenv.
11366 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11367 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11368 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11369 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11370 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11371 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11372 libc_fetestexcept and libc_feupdateenv.
11373
4855e3dd
UD
11374 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11375 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11376 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11377 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11378 libc_feholdexcept_setround.
11379
581d30e3
UD
11380 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11381 Add s_nearbyint-c and s_nearbyintf-c.
11382 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11383 nearbyintf inlines.
11384 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11385 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11386 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11387 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11388
d38f1dba
UD
11389 * math/math_private.h: Define defaults for libc_fegetround,
11390 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11391 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11392 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11393 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11394 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11395 standard functions.
11396 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11397 Remove comments and hacks for old compiler versions.
11398 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11399 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11400 libc_feholdexceptl.
11401
caa6c9d8
AS
114022011-10-18 Andreas Schwab <schwab@redhat.com>
11403
11404 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
11405 (__feraiseexcept_renamed): Add __NTH.
11406 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
11407 namespace violations.
11408
97c066e6
UD
114092011-10-17 Ulrich Drepper <drepper@gmail.com>
11410
99ce7b04
UD
11411 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11412
1004d182
UD
11413 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11414
228a984d
UD
11415 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11416 recently added interfaces.
11417 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11418
c8553a6a
UD
11419 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11420 about macro parameter expansion.
11421
ed22dcf6
UD
11422 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11423 __NO_MATH_INLINES is defined. Cleanups.
11424
11425 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11426 and __floorf is target has SSE4.1.
11427 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11428 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11429 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11430 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11431
b171c137
UD
11432 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11433 name.
11434 (floorf): Likewise.
11435
97c066e6
UD
11436 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11437
629f62ef
AS
114382011-10-17 Andreas Schwab <schwab@redhat.com>
11439
49a43d80
AS
11440 * misc/sys/cdefs.h: Fix last change.
11441
629f62ef
AS
11442 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11443 database lookup.
11444
e453f6cd
UD
114452011-10-16 Ulrich Drepper <drepper@gmail.com>
11446
aa78043a
UD
11447 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11448
ad0f5cad
UD
11449 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11450 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11455 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11458 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11459 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11460 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11461 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11462 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11463 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11464 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11465 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11466 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11467 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11468 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11469 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11470 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11471
11472 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11473 ceil, ceilf, floor, floorf.
11474
11475 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11476 Perform IRELATIVE relocations last.
11477
e453f6cd
UD
11478 * elf/do-rel.h: Add another parameter nrelative, replacing the
11479 local variable with the same name. Change name of the function
11480 to end in Rel or Rela (uppercase).
11481 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11482 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11483 elf_dynamic_do_##reloc function.
11484
fd5bdc09
UD
114852011-10-15 Ulrich Drepper <drepper@gmail.com>
11486
79b195b5
UD
11487 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11488 is sufficient, at least on modern CPUs.
11489
d4a28569
UD
11490 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11491
b61099b5
UD
11492 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11493 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11494
bcf01e6d
UD
11495 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11496 __expl_finite.
11497 * math/bits/math-finite.h: Add entries for exp.
11498 * math/e_expl.c: Add __*_finite alias.
11499 * sysdeps/i386/fpu/e_exp.S: Likewise.
11500 * sysdeps/i386/fpu/e_expf.S: Likewise.
11501 * sysdeps/i386/fpu/e_expl.c: Likewise.
11502 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11503 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11504 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11505 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11506 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11507 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11508 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11509
ba1a0d59
UD
11510 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11511 is sufficient, at least on modern CPUs.
11512
fd5bdc09
UD
11513 * ctype/ctype-info.c (__ctype_init): Define.
11514 * include/ctype.h (__ctype_init): Declare.
11515 (__ctype_b_loc): The variable is always initialized.
11516 (__ctype_toupper_loc): Likewise.
11517 (__ctype_tolower_loc): Likewise.
11518 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11519 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11520
7872cfb0
AS
115212011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11522
b468825a
AS
11523 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11524
7872cfb0
AS
11525 * configure.in: Also look in $cxxmachine/include for C++ system
11526 headers.
11527
be13f7bf
LD
115282011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11529
11530 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11531 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11532 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11533 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11534 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11535 (USE_AS_WMEMCMP): New macro.
11536 Fixing indents.
11537 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11538 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11539 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11540 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11542 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
11543 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
11544 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
11545 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
11546 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
11547 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
11548 (USE_AS_WMEMCMP): New macro.
11549 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
11550 * sysdeps/string/test-memcmp.c: Update.
11551 Fix simple_wmemcmp.
11552 Add new tests.
11553 * wcsmbs/wmemcmp.c: Update.
11554 (WMEMCMP): New macro.
11555 Fix overflow bug.
11556
556a2007
AJ
115572011-10-12 Andreas Jaeger <aj@suse.de>
11558
11559 [BZ #13268]
11560 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
11561
538faaa7
UD
115622011-10-15 Ulrich Drepper <drepper@gmail.com>
11563
ab6737ff
UD
11564 * libio/iofwide.c (do_length): Avoid warning.
11565
538faaa7
UD
11566 * ctype/ctype.h (__isctype_f): Add missing __THROW.
11567
396a21b1
UD
115682011-10-14 Ulrich Drepper <drepper@gmail.com>
11569
cdf2901f
UD
11570 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
11571
38ad40ce
UD
11572 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
11573 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
11574 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
11575 * sysdeps/i386/i686/fpu/e_log.S: New file.
11576 * sysdeps/i386/i686/fpu/e_logf.S: New file.
11577 * sysdeps/i386/i686/fpu/e_logl.S: New file.
11578
396a21b1
UD
11579 * ctype/ctype.h: Add support for inlined isXXX functions when
11580 compiling C++ code.
11581
6b1f68c9
AS
115822011-10-14 Andreas Schwab <schwab@redhat.com>
11583
349290c0
AS
11584 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11585
6b1f68c9
AS
11586 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
11587
f2282d42
RM
115882011-10-13 Roland McGrath <roland@hack.frob.com>
11589
11590 [BZ #13291]
11591 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
11592
5298ffa8
AS
115932011-10-13 Andreas Schwab <schwab@redhat.com>
11594
714fad23
AS
11595 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
11596 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
11597 feraiseexcept.
11598
81dcc7fb
AS
11599 * sysdeps/x86_64/memrchr.S: Check for zero size.
11600
5298ffa8
AS
11601 * string/stratcliff.c: Add memrchr tests.
11602
951fbcec
LD
116032011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11604
11605 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11606 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
11607 rawmemchr-sse2 rawmemchr-sse2-bsf.
11608 * sysdeps/i386/i686/multiarch/memchr.S: New file.
11609 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
11610 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
11611 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
11612 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
11613 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
11614 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
11615 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
11616 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
11617 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
11618 * string/memrchr.c (MEMRCHR): New macro.
11619
0ac5ae23
UD
116202011-10-12 Ulrich Drepper <drepper@gmail.com>
11621
11622 Add integration with gcc's -ffinite-math-only and optimize wrapper
11623 functions in libm.
11624 * Versions.def: Define GLIBC_2.15 version for libm.
11625 * math/Makefile (headers): Add bits/math-finite.h.
11626 * math/bits/math-finite.h: New file.
11627 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
11628 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
11629 * math/e_acoshl.c: Add __*_finite alias.
11630 * math/e_acosl.c: Likewise.
11631 * math/e_asinl.c: Likewise.
11632 * math/e_atan2l.c: Likewise.
11633 * math/e_atanhl.c: Likewise.
11634 * math/e_coshl.c: Likewise.
11635 * math/e_exp10.c: Likewise.
11636 * math/e_exp10f.c: Likewise.
11637 * math/e_exp10l.c: Likewise.
11638 * math/e_exp2l.c: Likewise.
11639 * math/e_fmodl.c: Likewise.
11640 * math/e_gammal_r.c: Likewise.
11641 * math/e_hypotl.c: Likewise.
11642 * math/e_j0l.c: Likewise.
11643 * math/e_j1l.c: Likewise.
11644 * math/e_jnl.c: Likewise.
11645 * math/e_lgammal_r.c: Likewise.
11646 * math/e_log10l.c: Likewise.
11647 * math/e_log2l.c: Likewise.
11648 * math/e_logl.c: Likewise.
11649 * math/e_powl.c: Likewise.
11650 * math/e_sinhl.c: Likewise.
11651 * math/e_sqrtl.c: Likewise.
11652 * math/e_scalb.c: Completely rewritten and optimized.
11653 * math/e_scalbf.c: Likewise.
11654 * math/e_scalbl.c: Likewise.
11655 * math/w_acos.c: Likewise.
11656 * math/w_acosf.c: Likewise.
11657 * math/w_acosl.c: Likewise.
11658 * math/w_acosh.c: Likewise.
11659 * math/w_acoshf.c: Likewise.
11660 * math/w_acoshl.c: Likewise.
11661 * math/w_asin.c: Likewise.
11662 * math/w_asinf.c: Likewise.
11663 * math/w_asinl.c: Likewise.
11664 * math/w_atan2.c: Likewise.
11665 * math/w_atan2f.c: Likewise.
11666 * math/w_atan2l.c: Likewise.
11667 * math/w_atanh.c: Likewise.
11668 * math/w_atanhf.c: Likewise.
11669 * math/w_atanhl.c: Likewise.
11670 * math/w_exp10.c: Likewise.
11671 * math/w_exp10f.c: Likewise.
11672 * math/w_exp10l.c: Likewise.
11673 * math/w_fmod.c: Likewise.
11674 * math/w_fmodf.c: Likewise.
11675 * math/w_fmodl.c: Likewise.
11676 * math/w_j0.c: Likewise.
11677 * math/w_j0f.c: Likewise.
11678 * math/w_j0l.c: Likewise.
11679 * math/w_j1.c: Likewise.
11680 * math/w_j1f.c: Likewise.
11681 * math/w_j1l.c: Likewise.
11682 * math/w_jn.c: Likewise.
11683 * math/w_jnf.c: Likewise.
11684 * math/w_log.c: Likewise.
11685 * math/w_logf.c: Likewise.
11686 * math/w_logl.c: Likewise.
11687 * math/w_log10.c: Likewise.
11688 * math/w_log10f.c: Likewise.
11689 * math/w_log10l.c: Likewise.
11690 * math/w_log2.c: Likewise.
11691 * math/w_log2f.c: Likewise.
11692 * math/w_log2l.c: Likewise.
11693 * math/w_pow.c: Likewise.
11694 * math/w_powf.c: Likewise.
11695 * math/w_powl.c: Likewise.
11696 * math/w_remainder.c: Likewise.
11697 * math/w_remainderf.c: Likewise.
11698 * math/w_remainderl.c: Likewise.
11699 * math/w_scalb.c: Likewise.
11700 * math/w_scalbf.c: Likewise.
11701 * math/w_scalbl.c: Likewise.
11702 * math/w_sqrt.c: Likewise.
11703 * math/w_sqrtf.c: Likewise.
11704 * math/w_sqrtl.c: Likewise.
11705 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11706 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11707 used.
11708 * math/math_private.h: Declare __kernel_standard_f.
11709 * math/w_cosh.c: Remove cruft and optimize a bit.
11710 * math/w_coshf.c: Likewise.
11711 * math/w_coshl.c: Likewise.
11712 * math/w_exp2.c: Likewise.
11713 * math/w_exp2f.c: Likewise.
11714 * math/w_exp2l.c: Likewise.
11715 * math/w_hypot.c: Likewise.
11716 * math/w_hypotf.c: Likewise.
11717 * math/w_hypotl.c: Likewise.
11718 * math/w_lgamma.c: Likewise.
11719 * math/w_lgamma_r.c: Likewise.
11720 * math/w_lgammaf.c: Likewise.
11721 * math/w_lgammaf_r.c: Likewise.
11722 * math/w_lgammal.c: Likewise.
11723 * math/w_lgammal_r.c: Likewise.
11724 * math/w_sinh.c: Likewise.
11725 * math/w_sinhf.c: Likewise.
11726 * math/w_sinhl.c: Likewise.
11727 * math/w_tgamma.c: Likewise.
11728 * math/w_tgammaf.c: Likewise.
11729 * math/w_tgammal.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11731 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11732 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11733 Minor optimizations. Pretty printing. Remove cruft.
11734 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11735 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11736 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11737 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11738 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11739 * sysdeps/i386/fpu/e_asin.S: Likewise.
11740 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11741 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11742 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11743 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11744 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11745 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11746 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11747 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11748 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11749 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11750 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11751 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11752 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11753 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11754 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11755 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11756 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11757 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11758 * sysdeps/i386/fpu/e_log.S: Likewise.
11759 * sysdeps/i386/fpu/e_log10.S: Likewise.
11760 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11761 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11762 * sysdeps/i386/fpu/e_log2.S: Likewise.
11763 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11764 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11765 * sysdeps/i386/fpu/e_logf.S: Likewise.
11766 * sysdeps/i386/fpu/e_logl.S: Likewise.
11767 * sysdeps/i386/fpu/e_pow.S: Likewise.
11768 * sysdeps/i386/fpu/e_powf.S: Likewise.
11769 * sysdeps/i386/fpu/e_powl.S: Likewise.
11770 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11771 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11772 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11773 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11774 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11775 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11776 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11777 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11778 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11779 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11780 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11781 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11782 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11783 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11784 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11785 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11786 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11787 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11788 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11789 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11790 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11792 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11793 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11794 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11795 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11796 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11797 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11799 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11800 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11801 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11802 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11803 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11804 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11805 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11806 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11807 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11808 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11809 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11810 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11811 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11812 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11813 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11814 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11815 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11816 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11817 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11818 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11819 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11820 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11821 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11822 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11823 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11824 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11825 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11826 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11827 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11828 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11829 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11830 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11831 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11832 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11833 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11834 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11835 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11836 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11837 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11838 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11839 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11840 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11841 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11842 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11843 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11844 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11845 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11846 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11847 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11848 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11849 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11850 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11851 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11852 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11853 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11854 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11855 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11856 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11857 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11858 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11859 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11860 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11861 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11862 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11863 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11864 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11865 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11866 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11867 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11868 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11869 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11870 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11871 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11872 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11873 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11874 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11875 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11876 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11877 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11878 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11879 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11880 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11881 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11882 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11883 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11884 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11885 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11886 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11887 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11888 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11889 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11890 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11891 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11892 (__isnanf): Likewise.
11893 (__isinf_ns): Likewise.
11894 (__isinf_nsf): Likewise.
11895 (__finite): Likewise.
11896 (__finitef): Likewise.
11897 (__ieee754_sqrt): Define as macro.
11898 (__ieee754_sqrtf): Define as macro.
11899 (__ieee754_sqrtl): Define as macro.
11900 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11901 inlined copy.
11902 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11903 __FINITE_MATH_ONLY__ consistent.
11904 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11905
12cc2fcd
AS
119062011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11907
a843a204
AS
11908 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11909 of rawmemchr.
11910
12cc2fcd
AS
11911 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11912
c853acd5
UD
119132011-10-09 Ulrich Drepper <drepper@gmail.com>
11914
11915 * po/ja.po: Update from translation team.
11916
c658d255
RM
119172011-10-08 Roland McGrath <roland@hack.frob.com>
11918
110946e4
RM
11919 * locale/programs/locarchive.c (prepare_address_space): New function.
11920 (create_archive, enlarge_archive, open_archive): Use it.
11921
50604220
RM
11922 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11923 inside [SHARED], where it is used.
11924
c658d255
RM
11925 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11926
11927 * nss/getent.c (netgroup_keys): Remove unused variable.
11928 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11929
6a621eb7
UD
119302011-10-08 Ulrich Drepper <drepper@gmail.com>
11931
7edb55ce
UD
11932 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11933 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11934 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11935 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11936 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11937 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11938 * math/Makefile (libm-calls): Add s_isinf_ns.
11939 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11940 * math/multc3.c: Likewise.
11941 * math/s_casin.c: Likewise.
11942 * math/s_casinf.c: Likewise.
11943 * math/s_casinl.c: Likewise.
11944 * math/s_ccos.c: Likewise.
11945 * math/s_ccosf.c: Likewise.
11946 * math/s_ccosl.c: Likewise.
11947 * math/s_ctan.c: Likewise.
11948 * math/s_ctanf.c: Likewise.
11949 * math/s_ctanh.c: Likewise.
11950 * math/s_ctanhf.c: Likewise.
11951 * math/s_ctanhl.c: Likewise.
11952 * math/s_ctanl.c: Likewise.
11953 * math/w_fmod.c: Likewise.
11954 * math/w_fmodf.c: Likewise.
11955 * math/w_fmodl.c: Likewise.
11956 * math/w_remainder.c: Likewise.
11957 * math/w_remainderf.c: Likewise.
11958 * math/w_remainderl.c: Likewise.
11959 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11960 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11961 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11963 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11964 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11965 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11966 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11967
187da0ae
UD
11968 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11969 of the number.
11970 * stdio-common/printf_fphex.c: Likewise.
11971 * stdio-common/printf_size.c: Likewise.
11972
9277c064
UD
11973 * math/e_exp10.c: Include math_private.h using <...> not "...".
11974 * math/e_exp10f.c: Likewise.
11975 * math/e_exp10l.c: Likewise.
11976 * math/e_exp2l.c: Likewise.
11977 * math/e_j0l.c: Likewise.
11978 * math/e_j1l.c: Likewise.
11979 * math/e_jnl.c: Likewise.
11980 * math/e_lgammal_r.c: Likewise.
11981 * math/e_rem_pio2l.c: Likewise.
11982 * math/e_scalb.c: Likewise.
11983 * math/e_scalbf.c: Likewise.
11984 * math/e_scalbl.c: Likewise.
11985 * math/k_cosl.c: Likewise.
11986 * math/k_sinl.c: Likewise.
11987 * math/k_tanl.c: Likewise.
11988 * math/s_cacoshf.c: Likewise.
11989 * math/s_catan.c: Likewise.
11990 * math/s_catanf.c: Likewise.
11991 * math/s_catanh.c: Likewise.
11992 * math/s_catanhf.c: Likewise.
11993 * math/s_catanhl.c: Likewise.
11994 * math/s_catanl.c: Likewise.
11995 * math/s_ccosh.c: Likewise.
11996 * math/s_ccoshf.c: Likewise.
11997 * math/s_ccoshl.c: Likewise.
11998 * math/s_cexp.c: Likewise.
11999 * math/s_cexpf.c: Likewise.
12000 * math/s_cexpl.c: Likewise.
12001 * math/s_clog.c: Likewise.
12002 * math/s_clog10.c: Likewise.
12003 * math/s_clog10f.c: Likewise.
12004 * math/s_clog10l.c: Likewise.
12005 * math/s_clogf.c: Likewise.
12006 * math/s_clogl.c: Likewise.
12007 * math/s_csin.c: Likewise.
12008 * math/s_csinf.c: Likewise.
12009 * math/s_csinh.c: Likewise.
12010 * math/s_csinhf.c: Likewise.
12011 * math/s_csinhl.c: Likewise.
12012 * math/s_csinl.c: Likewise.
12013 * math/s_csqrt.c: Likewise.
12014 * math/s_csqrtf.c: Likewise.
12015 * math/s_csqrtl.c: Likewise.
12016 * math/s_ctan.c: Likewise.
12017 * math/s_ctanf.c: Likewise.
12018 * math/s_ctanh.c: Likewise.
12019 * math/s_ctanhf.c: Likewise.
12020 * math/s_ctanhl.c: Likewise.
12021 * math/s_ctanl.c: Likewise.
12022 * math/s_ldexp.c: Likewise.
12023 * math/s_ldexpf.c: Likewise.
12024 * math/s_ldexpl.c: Likewise.
12025 * math/s_significand.c: Likewise.
12026 * math/s_significandf.c: Likewise.
12027 * math/s_significandl.c: Likewise.
12028 * math/w_acos.c: Likewise.
12029 * math/w_acosf.c: Likewise.
12030 * math/w_acosh.c: Likewise.
12031 * math/w_acoshf.c: Likewise.
12032 * math/w_acoshl.c: Likewise.
12033 * math/w_acosl.c: Likewise.
12034 * math/w_asin.c: Likewise.
12035 * math/w_asinf.c: Likewise.
12036 * math/w_asinl.c: Likewise.
12037 * math/w_atan2.c: Likewise.
12038 * math/w_atan2f.c: Likewise.
12039 * math/w_atan2l.c: Likewise.
12040 * math/w_atanh.c: Likewise.
12041 * math/w_atanhf.c: Likewise.
12042 * math/w_atanhl.c: Likewise.
12043 * math/w_cosh.c: Likewise.
12044 * math/w_coshf.c: Likewise.
12045 * math/w_coshl.c: Likewise.
12046 * math/w_dremf.c: Likewise.
12047 * math/w_exp10.c: Likewise.
12048 * math/w_exp10f.c: Likewise.
12049 * math/w_exp10l.c: Likewise.
12050 * math/w_exp2.c: Likewise.
12051 * math/w_exp2f.c: Likewise.
12052 * math/w_fmod.c: Likewise.
12053 * math/w_fmodf.c: Likewise.
12054 * math/w_fmodl.c: Likewise.
12055 * math/w_hypot.c: Likewise.
12056 * math/w_hypotf.c: Likewise.
12057 * math/w_hypotl.c: Likewise.
12058 * math/w_j0.c: Likewise.
12059 * math/w_j0f.c: Likewise.
12060 * math/w_j0l.c: Likewise.
12061 * math/w_j1.c: Likewise.
12062 * math/w_j1f.c: Likewise.
12063 * math/w_j1l.c: Likewise.
12064 * math/w_jn.c: Likewise.
12065 * math/w_jnf.c: Likewise.
12066 * math/w_jnl.c: Likewise.
12067 * math/w_lgamma.c: Likewise.
12068 * math/w_lgamma_r.c: Likewise.
12069 * math/w_lgammaf.c: Likewise.
12070 * math/w_lgammaf_r.c: Likewise.
12071 * math/w_lgammal.c: Likewise.
12072 * math/w_lgammal_r.c: Likewise.
12073 * math/w_log.c: Likewise.
12074 * math/w_log10.c: Likewise.
12075 * math/w_log10f.c: Likewise.
12076 * math/w_log10l.c: Likewise.
12077 * math/w_log2.c: Likewise.
12078 * math/w_log2f.c: Likewise.
12079 * math/w_log2l.c: Likewise.
12080 * math/w_logf.c: Likewise.
12081 * math/w_logl.c: Likewise.
12082 * math/w_pow.c: Likewise.
12083 * math/w_powf.c: Likewise.
12084 * math/w_powl.c: Likewise.
12085 * math/w_remainder.c: Likewise.
12086 * math/w_remainderf.c: Likewise.
12087 * math/w_remainderl.c: Likewise.
12088 * math/w_scalb.c: Likewise.
12089 * math/w_scalbf.c: Likewise.
12090 * math/w_scalbl.c: Likewise.
12091 * math/w_sinh.c: Likewise.
12092 * math/w_sinhf.c: Likewise.
12093 * math/w_sinhl.c: Likewise.
12094 * math/w_sqrt.c: Likewise.
12095 * math/w_sqrtf.c: Likewise.
12096 * math/w_sqrtl.c: Likewise.
12097 * math/w_tgamma.c: Likewise.
12098 * math/w_tgammaf.c: Likewise.
12099 * math/w_tgammal.c: Likewise.
12100
6a621eb7
UD
12101 * po/ja.po: Update from translation team.
12102
bf582445
AJ
121032011-09-29 Andreas Jaeger <aj@suse.de>
12104
f9efbf3a
AJ
12105 [BZ #13179]
12106 * sunrpc/netname.c (netname2host): Fix logic.
12107
bf582445
AJ
12108 [BZ #6779]
12109 [BZ #6783]
12110 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12111 correctly.
12112 * math/w_remainder.c (__remainder): Likewise.
12113 * math/w_remainderf.c (__remainderf): Likewise.
12114 * math/libm-test.inc (remainder_test): Add test cases.
12115
48693bea
AK
121162011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12117
12118 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12119 sdiv_qrnnd.
12120
42622229
LD
121212011-10-07 Ulrich Drepper <drepper@gmail.com>
12122
12123 * string/test-memcmp.c: Avoid unncessary #defines.
12124 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12125
093ecf92
LD
121262011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12127
12128 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12129 Use new sse2 version for core i3 - i7 as it's faster
12130 than sse42 version.
12131 (bit_Prefer_PMINUB_for_stringop): New.
12132 * sysdeps/x86_64/rawmemchr.S: Update.
12133 Replace with faster SSE2 version.
12134 * sysdeps/x86_64/memrchr.S: New file.
12135 * sysdeps/x86_64/memchr.S: Update.
12136 Replace with faster SSE2 version.
12137
fde56e5c
MP
121382011-09-12 Marek Polacek <mpolacek@redhat.com>
12139
12140 * elf/dl-load.c (lose): Add cast to avoid warning.
12141
21fd49a9
UD
121422011-10-07 Ulrich Drepper <drepper@gmail.com>
12143
5a06e643
UD
12144 * po/ca.po: Update from translation team.
12145
684ae515
UD
12146 * inet/getnetgrent_r.c: Hook up nscd.
12147 * nscd/Makefile (routines): Add nscd_netgroup.
12148 (nscd-modules): Add netgroupcache.
12149 (CFLAGS-netgroupcache.c): Define.
12150 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12151 (cache_search): Add const to second parameter.
12152 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12153 INNETGR.
12154 (dbs): Add netgrdb entry.
12155 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12156 (verify_persistent_db): Handle netgrdb.
12157 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12158 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12159 GETFDNETGR.
12160 (netgroup_response_header): Define.
12161 (innetgroup_response_header): Define.
12162 (datahead): Add netgroup_response_header and innetgroup_response_header
12163 elements.
12164 * nscd/nscd.conf: Add entries for netgroup cache.
12165 * nscd/nscd.h (dbtype): Add netgrdb.
12166 (_PATH_NSCD_NETGROUP_DB): Define.
12167 (netgroup_iov_disabled): Declare.
12168 (xmalloc, xcalloc, xrealloc): Move declarations here.
12169 (cache_search): Adjust prototype.
12170 Add netgroup-related prototypes.
12171 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12172 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12173 (__nscd_innetgr): Declare.
12174 * nscd/selinux.c (perms): Use access_vector_t as element type and
12175 add netgroup-related initializers.
12176 * nscd/netgroupcache.c: New file.
12177 * nscd/nscd_netgroup.c: New file.
12178 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12179 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12180 For four parameters use innetgr.
12181 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12182 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12183 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12184 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12185
21fd49a9
UD
12186 * nscd/connections.c (register_traced_file): Don't register file
12187 for disabled databases.
12188
054c0457
UD
121892011-10-06 Ulrich Drepper <drepper@gmail.com>
12190
32b63198
UD
12191 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12192
054c0457
UD
12193 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12194 from tree and freeing node.
12195
64031225
JO
121962011-09-25 Jiri Olsa <jolsa@redhat.com>
12197
12198 * nss/nsswitch.c (__nss_database_lookup): Handle
12199 nss_parse_service_list out of memory case.
12200
0490345c
JO
122012011-09-15 Jiri Olsa <jolsa@redhat.com>
12202
12203 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12204 out of memory case.
12205
3a62d00d
AS
122062011-10-04 Andreas Schwab <schwab@redhat.com>
12207
12208 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12209 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12210 pass it down.
12211 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12212 elf_machine_rela, elf_machine_lazy_rel.
12213 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12214 (ELF_DYNAMIC_DO_REL): Likewise.
12215 (ELF_DYNAMIC_DO_RELA): Likewise.
12216 (ELF_DYNAMIC_RELOCATE): Likewise.
12217 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12218 to ELF_DYNAMIC_DO_REL.
12219 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12220 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12221 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12222 elf_machine_rela.
12223 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12224 skip_ifunc, don't call ifunc function if non-zero.
12225 (elf_machine_rela): Likewise.
12226 (elf_machine_lazy_rel): Likewise.
12227 (elf_machine_lazy_rela): Likewise.
12228 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12229 (elf_machine_lazy_rel): Likewise.
12230 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12231 Likewise.
12232 (elf_machine_lazy_rel): Likewise.
12233 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12234 Likewise.
12235 (elf_machine_lazy_rel): Likewise.
12236 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12237 (elf_machine_lazy_rel): Likewise.
12238 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12239 (elf_machine_lazy_rel): Likewise.
12240 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12241 (elf_machine_lazy_rel): Likewise.
12242 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12243 (elf_machine_lazy_rel): Likewise.
12244 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12245 (elf_machine_lazy_rel): Likewise.
12246 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12247 (elf_machine_lazy_rel): Likewise.
12248
68577918
UD
122492011-09-28 Ulrich Drepper <drepper@gmail.com>
12250
12251 * nss/nss_files/files-init.c (_nss_files_init): Use static
12252 initialization for all the *_traced_file variables.
12253
68822d74
AS
122542011-09-28 Andreas Schwab <schwab@redhat.com>
12255
12256 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12257
2056100b
RM
122582011-09-27 Roland McGrath <roland@hack.frob.com>
12259
12260 [BZ #13226]
12261 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12262
32c76b63
AS
122632011-09-27 Andreas Schwab <schwab@redhat.com>
12264
12265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12266 Reread the line before reparsing it.
12267
bf972c9d
AS
122682011-09-26 Andreas Schwab <schwab@redhat.com>
12269
12270 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12271
e057a1b5
JM
122722011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12273 Maxim Kuvyrkov <maxim@codesourcery.com>
12274 Joseph Myers <joseph@codesourcery.com>
12275
12276 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12277 if needed for __stack_chk_guard.
12278
bc7e1c36
RM
122792011-09-19 Roland McGrath <roland@hack.frob.com>
12280
ecb1482f
RM
12281 * sysdeps/posix/spawni.c (script_execute): Always define it.
12282 It will be optimized away if unused.
12283 (maybe_script_execute): New function.
12284 (__spawni): Call it.
12285
bc7e1c36
RM
12286 * Makerules: Don't include tls.make.
12287 (config-tls): Always set to thread.
12288 * tls.make.c: File removed.
12289
1c3b002b
MF
122902011-09-19 Mike Frysinger <vapier@gentoo.org>
12291
12292 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12293 * config.make.in (CPPFLAGS-config): New substituted variable.
12294
2840865d
UD
122952011-09-15 Ulrich Drepper <drepper@gmail.com>
12296
88738eb6
UD
12297 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12298
cbf645a6 12299 [BZ #13192]
2840865d
UD
12300 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12301 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12302
b402e91a
RM
123032011-09-15 Roland McGrath <roland@hack.frob.com>
12304
12305 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12306 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12307 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12308 (CALL_FAIL): Likewise.
12309 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12310 (CALL_FAIL): Macro removed.
12311 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12312
4c1a1f71
UD
123132011-09-15 Ulrich Drepper <drepper@gmail.com>
12314
12315 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12316 for __FINITE_MATH_ONLY__ == 1.
12317
edc121be
AS
123182011-09-15 Andreas Schwab <schwab@redhat.com>
12319
12320 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12321 __ieee754_sqrt instead of sqrt.
12322 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12323 __ieee754_sqrtf instead of sqrtf.
12324 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12325 __floorf instead of floorf.
12326 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12327 __floorf, __truncf instead of floorf, truncf.
12328
cd205654
UD
123292011-09-14 Ulrich Drepper <drepper@gmail.com>
12330
ee4d0315
UD
12331 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12332
cd205654
UD
12333 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12334 __extern_always_inline.
12335 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12336 32-bit.
12337
48b67d71
AS
123382011-09-14 Andreas Schwab <schwab@redhat.com>
12339
12340 * elf/rtld.c (dl_main): Also relocate in dependency order when
12341 doing symbol dependency testing.
12342
1ae12c75
AS
123432011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12344
12345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12346 Always define `refsym'.
12347
995a80df
AS
123482011-09-13 Andreas Schwab <schwab@redhat.com>
12349
e529793b
AS
12350 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12351 (__FD_ELT): Renamed from __FDELT.
12352 * misc/bits/select2.h (__FD_ELT): Likewise.
12353 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12354 __FD_MASK instead of __FDELT, __FDMASK.
12355 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12356 Likewise.
12357 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12358 Likewise.
12359
52d4fef8
AS
12360 * elf/Makefile (gen-ldd): Fix pattern.
12361
995a80df
AS
12362 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12363 (init_tls): Likewise.
12364
8682f8b0
UD
123652011-09-12 Ulrich Drepper <drepper@gmail.com>
12366
12367 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12368
de82006d
AS
123692011-09-12 Andreas Schwab <schwab@redhat.com>
12370
a7c8e6a1
AS
12371 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12372 `struct cmsghdr *' instead of `void *'.
12373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12374 Likewise.
12375
0f31fe77
AS
123762011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12377
12378 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12379 if non-absolute.
12380 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12381 ldd_rewrite_script.
0f31fe77 12382
32b4c839
UD
123832011-09-11 Ulrich Drepper <drepper@gmail.com>
12384
83cd1420
UD
12385 * configure.in: Remove --with-tls option.
12386 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12387 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12388 out in case it is missing.
12389 * sysdeps/ia64/elf/configure.in: Likewise.
12390 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12391 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12392 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12393 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12394 * sysdeps/sh/elf/configure.in: Likewise.
12395 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12396 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12397 * sysdeps/x86_64/elf/configure.in: Likewise.
12398 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12399 * sysdeps/mach/hurd/tls.h: Likewise.
12400
633f745d
UD
12401 [BZ #13067]
12402 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12403
f318beb8
UD
12404 [BZ #13090]
12405 * configure.in: Fix use of AC_INIT.
12406
32b4c839
UD
12407 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12408
3ce1f295
UD
124092011-09-10 Ulrich Drepper <drepper@gmail.com>
12410
bb016596
UD
12411 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12412 __set_errno.
8e58439c
UD
12413 * malloc/hooks.c: Likewise.
12414
aebae053 12415 [BZ #11929]
02d46fc4
UD
12416 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12417 variables statically.
12418 (narenas): Initialize.
12419 (list_lock): Initialize.
bb016596
UD
12420 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12421 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
12422 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12423 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12424 Add initializers to main_arena and mp_.
12425 (malloc_state): Remove pagesize member. Change all users to use
12426 GLRO(dl_pagesize).
12427
12428 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12429 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12430 is always initialized.
12431
22a89187
UD
12432 * malloc/malloc.c: Removed unused configurations and dead code.
12433 * malloc/arena.c: Likewise.
12434 * malloc/hooks.c: Likewise.
02d46fc4 12435 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 12436
d063d164
UD
12437 * include/tls.h: Removed. USE___THREAD must always be defined.
12438 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12439 * elf/dl-libc.c: Likewise.
12440 * elf/dl-tsd.c: Likewise.
12441 * include/errno.h: Likewise.
12442 * include/netdb.h: Likewise.
12443 * include/resolv.h: Likewise.
12444 * inet/herrno-loc.c: Likewise.
12445 * inet/herrno.c: Likewise.
12446 * malloc/arena.c: Likewise.
12447 * malloc/hooks.c: Likewise.
12448 * malloc/malloc.c: Likewise.
12449 * resolv/res-state.c: Likewise.
12450 * resolv/res_libc.c: Likewise.
12451 * sysdeps/i386/dl-machine.h: Likewise.
12452 * sysdeps/ia64/dl-machine.h: Likewise.
12453 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12454 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12455 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12456 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12457 * sysdeps/sh/dl-machine.h: Likewise.
12458 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12459 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12460 * sysdeps/unix/i386/sysdep.S: Likewise.
12461 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12462 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12464 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12465 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12466 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12467 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12469 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12471 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12472 * sysdeps/x86_64/dl-machine.h: Likewise.
12473 * tls.make.c: Likewise.
12474
3ce1f295
UD
12475 * configure.in: Remove --with-__thread option. Make tests for
12476 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12477 tls_model attribute fail if no support is available. Remove
12478 USE_IN_LIBIO.
12479 * Makeconfig: Adjust for dropped configure option. All features are
12480 now mandatory.
12481 * Makerules: Likewise.
12482 * Versions.def: Likewise.
12483 * argp/argp-fmtstream.c: Likewise.
12484 * argp/argp-fmtstream.h: Likewise.
12485 * argp/argp-help.c: Likewise.
12486 * assert/assert.c: Likewise.
12487 * config.h.in: Likewise.
12488 * config.make.in: Likewise.
12489 * configure: Likewise.
12490 * configure.in: Likewise.
12491 * csu/Versions: Likewise.
12492 * csu/init.c: Likewise.
12493 * elf/tst-audit2.c: Likewise.
12494 * elf/tst-tls10.c: Likewise.
12495 * elf/tst-tls10.h: Likewise.
12496 * elf/tst-tls11.c: Likewise.
12497 * elf/tst-tls12.c: Likewise.
12498 * elf/tst-tls14.c: Likewise.
12499 * elf/tst-tlsmod11.c: Likewise.
12500 * elf/tst-tlsmod12.c: Likewise.
12501 * elf/tst-tlsmod13.c: Likewise.
12502 * elf/tst-tlsmod13a.c: Likewise.
12503 * elf/tst-tlsmod14a.c: Likewise.
12504 * elf/tst-tlsmod15b.c: Likewise.
12505 * elf/tst-tlsmod16a.c: Likewise.
12506 * elf/tst-tlsmod16b.c: Likewise.
12507 * elf/tst-tlsmod7.c: Likewise.
12508 * elf/tst-tlsmod8.c: Likewise.
12509 * elf/tst-tlsmod9.c: Likewise.
12510 * gmon/gmon.c: Likewise.
12511 * grp/fgetgrent_r.c: Likewise.
12512 * grp/putgrent.c: Likewise.
12513 * hurd/fopenport.c: Likewise.
12514 * include/libc-symbols.h: Likewise.
12515 * include/tls.h: Likewise.
12516 * intl/gettextP.h: Likewise.
12517 * intl/loadinfo.h: Likewise.
12518 * locale/global-locale.c: Likewise.
12519 * locale/localeinfo.h: Likewise.
12520 * mach/devstream.c: Likewise.
12521 * malloc/arena.c: Likewise.
12522 * malloc/set-freeres.c: Likewise.
12523 * misc/err.c: Likewise.
12524 * misc/getttyent.c: Likewise.
12525 * misc/mntent_r.c: Likewise.
12526 * posix/getopt.c: Likewise.
12527 * posix/wordexp.c: Likewise.
12528 * pwd/fgetpwent_r.c: Likewise.
12529 * resolv/Versions: Likewise.
12530 * resolv/res_hconf.c: Likewise.
12531 * shadow/fgetspent_r.c: Likewise.
12532 * shadow/putspent.c: Likewise.
12533 * stdio-common/printf_fphex.c: Likewise.
12534 * stdio-common/tmpfile.c: Likewise.
12535 * stdlib/abort.c: Likewise.
12536 * stdlib/fmtmsg.c: Likewise.
12537 * sunrpc/auth_unix.c: Likewise.
12538 * sunrpc/clnt_perr.c: Likewise.
12539 * sunrpc/clnt_tcp.c: Likewise.
12540 * sunrpc/clnt_udp.c: Likewise.
12541 * sunrpc/clnt_unix.c: Likewise.
12542 * sunrpc/openchild.c: Likewise.
12543 * sunrpc/svc_simple.c: Likewise.
12544 * sunrpc/svc_tcp.c: Likewise.
12545 * sunrpc/svc_udp.c: Likewise.
12546 * sunrpc/svc_unix.c: Likewise.
12547 * sunrpc/xdr.c: Likewise.
12548 * sunrpc/xdr_array.c: Likewise.
12549 * sunrpc/xdr_rec.c: Likewise.
12550 * sunrpc/xdr_ref.c: Likewise.
12551 * sunrpc/xdr_stdio.c: Likewise.
12552
1248c1c4
PB
125532011-09-09 Ulrich Drepper <drepper@gmail.com>
12554
12555 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12556
125572011-07-03 Andreas Jaeger <aj@suse.de>
12558
12559 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
12560 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
12561 regenerate with gen-libm-tests.pl.
12562
125632010-05-12 Petr Baudis <pasky@suse.cz>
12564
12565 [BZ #11589]
12566 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
12567 around j0() zero points by switching to j1().
12568 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12572
f22e1074
UD
125732011-09-09 Ulrich Drepper <drepper@gmail.com>
12574
f19009c1
UD
12575 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
12576 instead of 0.
12577 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
12578 instead of 0. .
12579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12580 Patch in part by Pavel Roskin <proski@gnu.org>.
12581
3f8cc204
UD
12582 [BZ #13138]
12583 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
12584 realloc.
12585 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
12586 Free memory block if necessary.
12587
f22e1074
UD
12588 [BZ #12847]
12589 * libio/genops.c (INTDEF): For string streams the _lock pointer can
12590 be NULL. Don't lock in this case.
12591
0a2349f9
RM
125922011-09-09 Roland McGrath <roland@hack.frob.com>
12593
12594 * elf/elf.h (ELFOSABI_GNU): New macro.
12595 (ELFOSABI_LINUX): Define to that.
12596
f3cdd467
DZ
125972011-07-29 Denis Zaitceff <zaitceff@gmail.com>
12598
12599 * string/strncat.c (strncat): Undef the symbol in case it has been
12600 defined in bits/string.h.
12601
74718d13
UD
126022011-09-09 Ulrich Drepper <drepper@gmail.com>
12603
633e9e0f
UD
12604 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
12605
0a2349f9 12606 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
12607 link map.
12608
f9924780
AJ
126092011-08-17 Andreas Jaeger <aj@suse.de>
12610
12611 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
12612
7f5517aa
PP
126132011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12614 Ian Lance Taylor <iant@google.com>
12615
12616 * math/libm-test.inc (lround_test): New testcase.
12617 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
12618
762011fe
UD
126192011-09-08 Ulrich Drepper <drepper@gmail.com>
12620
92963737
UD
12621 * Makefile: Remove support for automatic cvs check-ins.
12622 * Makerules: Likewise.
12623 * config.make.in: Likewise.
12624 * configure.in: Likewise.
12625 * intl/Makefile: Likewise.
12626 * locale/Makefile: Likewise.
12627 * po/Makefile: Likewise.
12628 * posix/Makefile: Likewise.
12629 * sysdeps/gnu/Makefile: Likewise.
12630 * sysdeps/mach/hurd/Makefile: Likewise.
12631 * sysdeps/sparc/sparc32/Makefile: Likewise.
12632
b0727fd8
JS
12633 [BZ #13118]
12634 * posix/Makefile (bug-regex32-ENV): Define.
12635 Patch by John Stanley <jpsinthemix@verizon.net>.
12636
a0f33f99
UD
12637 * misc/Makefile (headers): Add bits/select2.h.
12638 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
12639 * misc/bits/select2.h: New file.
12640 * include/bits/select2.h: New file.
12641 * debug/Makefile (routines): Add fdelt_chk.
12642 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
12643 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
12644 FD_ISSET.
12645 * debug/fdelt_chk.c: New file.
12646
762011fe
UD
12647 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
12648 * wcsmbs/test-wmemcmp.c: Likewise.
12649 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 12650 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
12651
126522011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12653
12654 * string/Makefile (strop-tests): Add memcmp.
12655 * string/test-wmemcmp.c: New file.
12656 * string/test-memcmp.c: Add wmemcmp support.
12657
7f513ec8
RM
126582011-09-08 Roland McGrath <roland@hack.frob.com>
12659
0442afb4
RM
12660 [BZ #13153]
12661 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
12662 2011-07-19 change.
12663
7f513ec8
RM
12664 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
12665 garbage value in a __mach_port_mod_refs call in the cases of the
12666 task-self and thread-self ports.
12667
a12b2239
ST
126682011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12669
12670 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
12671
610f9ab4
AS
126722011-09-08 Andreas Schwab <schwab@redhat.com>
12673
7f513ec8 12674 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 12675
48882a1a
LD
126762011-09-07 Ulrich Drepper <drepper@gmail.com>
12677
b49865be
UD
12678 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
12679
fdc86bc9
UD
12680 * elf/dl-libc.c (dlerror_run): Pass back error code from
12681 dl_catch_error.
12682
c966526a
UD
12683 [BZ #13123]
12684 * elf/dl-load.c (lose): Free l_origin if it is valid.
12685
48882a1a
LD
12686 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12687 names.
12688 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12689 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12690 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12691 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12692 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12693 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12694
77a2a8b4
AZ
126952011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12696
12697 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12698 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12699 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12700 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12701 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12702 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12703 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12704 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12705 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12706 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12707
24f579d8
AM
127082011-08-15 Alan Modra <amodra@gmail.com>
12709
12710 [BZ #13092]
12711 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12712 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12713 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12714 ppc_mcount to static-only-routines.
12715 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12716 __mcount_internal.
12717 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12718 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12719
3d4837df
UD
127202011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12721
12722 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12723 for finite and infinity parameters.
12724
22700377
WS
127252011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12726
12727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12728 and add nop instructions for throughput optimization.
12729 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12730
5025581e
WS
127312011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12732
12733 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12734 aligned copy for power7 with vector-scalar instructions.
12735 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12736
08a300c9
L
127372011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12738
12739 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12740 AVX check.
12741
59178ef9
AS
127422011-09-07 Andreas Schwab <schwab@redhat.com>
12743
12744 [BZ #13144]
12745 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12746 last change.
12747
e38ba7ab
UD
127482011-09-07 Ulrich Drepper <drepper@gmail.com>
12749
12750 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12751 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12752 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12753 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12754 clock_gettime.
12755
d53a73ac
UD
127562011-09-06 Ulrich Drepper <drepper@gmail.com>
12757
fc8bffcc
UD
12758 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12759 Forgot to demangle the pointer.
12760
ceaa0c5d
UD
12761 * sysdeps/i386/sysdep.h: Define atom_text_section.
12762 * sysdeps/x86_64/sysdep.h: Likewise.
12763 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12764 section with atom_text_section.
12765 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12766 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12767 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12768 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12769 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12770
a77d3c17
UD
12771 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12772 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12773 already be defined. Change to take two parameters and don't assign
12774 result to variable. Adjust all users.
12775 Define INTERNAL_GETTIME if not already defined.
12776 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12777 call.
12778 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12779 HAVE_CLOCK_GETTIME_VSYSCALL.
12780 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12781
d53a73ac
UD
12782 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12783 gettimeofday vsyscall, just use time.
12784
a8f84144
AS
127852011-09-06 Andreas Schwab <schwab@redhat.com>
12786
12787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12788 <errno.h>.
12789
ef606249
UD
127902011-09-06 Ulrich Drepper <drepper@gmail.com>
12791
12792 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12793 syscall on x86-64.
12794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12795 syscall.
12796 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12797 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12798 syscall if possible.
12799
6585cb60
UD
128002011-09-05 Ulrich Drepper <drepper@gmail.com>
12801
12802 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12803 e_ident. Don't pass to find_mapsXX.
12804 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12805
a5f524e4
LD
128062011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12807
12808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12809 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12810 * sysdeps/x86_64/multiarch/strchr.S: Update.
12811 Check bit_slow_BSF bit.
12812 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12813 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12814 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12815
554881ef
UD
128162011-09-05 Ulrich Drepper <drepper@gmail.com>
12817
d96de963
UD
12818 [BZ #13134]
12819 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12820 before glibc 2.15.
12821 (tryshell): Define.
12822 (__spawni): Change last parameter to be flag. Test
12823 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12824 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12825 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12826 * posix/spawni.c: Likewise.
12827 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12828 * posix/spawnp.c: Likewise. Change normal version to use
12829 SPAWN_XFLAGS_USE_PATH.
12830 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12831 SPAWN_XFLAGS_TRY_SHELL.
12832
d48e5868
UD
12833 [BZ #13150]
12834 * posix/glob.h: Remove gcc 1.x support.
12835
554881ef
UD
12836 [BZ #13068]
12837 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12838
693fb948
LD
128392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12840
12841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12842 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12843 strrchr-sse2-bsf
12844 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12845 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12846 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12847 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12848 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12849 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12850
1b48c537
UD
128512011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12852
49d42c37
UD
12853 * sysdeps/x86_64/wcscmp.S: New file.
12854
1b48c537
UD
12855 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12856 wcscmp-c wcscmp-sse2
12857 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12858 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12859 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12860 * wcsmbs/wcscmp.c: Allow renaming.
12861
15c95c5d
DM
128622011-09-05 David S. Miller <davem@davemloft.net>
12863
12864 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12865 stack slot, rather than the struct return pointer slot.
12866 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12867 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12869 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12870
2f0ad8f3
UD
128712011-09-05 Ulrich Drepper <drepper@gmail.com>
12872
d88ae418
UD
12873 * po/ja.po: Update from translation team.
12874
2f0ad8f3
UD
12875 [BZ #13144]
12876 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12877 kernel in 64-bit binaries.
12878
5f4318d1
DM
128792011-09-01 David S. Miller <davem@davemloft.net>
12880
12881 * elf/elf.h (HWCAP_SPARC_*): Move to..
12882 * sysdeps/sparc/sysdep.h: this new file and add new values.
12883 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12884 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12885 _DL_HWCAP_COUNT to 24.
12886 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12887 entries.
12888 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12889 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12890 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12891 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12892 instead of magic constants.
12893 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12894
3ba57516
DM
128952011-08-31 David S. Miller <davem@davemloft.net>
12896
12897 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12899 Reimplement to do errno handling inline.
12900 (SYSCALL_ERROR_HANDLER): New macro.
12901 (__SYSCALL_STRING): Do not do errno handling in asm.
12902 (__CLONE_SYSCALL_STRING): Delete.
12903 (__INTERNAL_SYSCALL_STRING): Delete.
12904 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12905 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12906 (PSEUDO): Reimplement to do errno handling inline.
12907 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12908 (SYSCALL_ERROR_HANDLER): New macro.
12909 (__SYSCALL_STRING): Do not do errno handling in asm.
12910 (__CLONE_SYSCALL_STRING): Delete.
12911 (__INTERNAL_SYSCALL_STRING): Delete.
12912 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12913 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12914 i386.
12915 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12916 (inline_syscall*): Add 'err' argument.
12917 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12918 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12919 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12920 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12921
12922 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12923 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12924
2bc17433
AS
129252011-08-30 Andreas Schwab <schwab@redhat.com>
12926
12927 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12928
fbeb5f4d
JO
129292011-08-29 Jiri Olsa <jolsa@redhat.com>
12930
12931 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12932 directive.
12933
ad69cc26
DM
129342011-08-24 David S. Miller <davem@davemloft.net>
12935
12936 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12937
39dd69df
AS
129382011-08-24 Andreas Schwab <schwab@redhat.com>
12939
12940 * elf/Makefile: Add rules to build and run unload8 test.
12941 * elf/unload8.c: New file.
12942 * elf/unload8mod1.c: New file.
12943 * elf/unload8mod1x.c: New file.
12944 * elf/unload8mod2.c: New file.
12945 * elf/unload8mod3.c: New file.
12946
12947 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12948 it wasn't used.
12949
2c0b250a
DM
129502011-08-23 David S. Miller <davem@davemloft.net>
12951
12952 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12953 subtract stack bias.
12954 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12955 %sp not %fp in calculations.
12956 (_JMPBUF_UNWINDS_ADJ): Likewise.
12957
22044b48
DM
12958 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12959 (aio_suspend): Call it to force an exception region around the
12960 AIO_MISC_WAIT() invocation.
12961
2cae4995
AS
129622011-08-23 Andreas Schwab <schwab@redhat.com>
12963
12964 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12965 backslash.
12966
873a772e
AJ
129672011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12968
12969 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12970 protection macro.
12971 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12972 and <dl-machine.h>.
12973 (Elf64_FuncDesc): Remove.
12974
25ad0df1
DM
129752011-08-22 David S. Miller <davem@davemloft.net>
12976
12977 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12978 sigaltstack check, add missing cfi directives.
12979 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12980 missing cfi directives, and sigaltstack handling.
12981
e888bcbe
AS
129822011-08-16 Andreas Schwab <schwab@redhat.com>
12983
12984 [BZ #11724]
12985 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12986 object is seen twice.
12987 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12988
12989 * elf/Makefile (distribute): Add tst-initorder2.c.
12990 (tests): Add tst-initorder2.
12991 (modules-names): Add tst-initorder2a tst-initorder2b
12992 tst-initorder2c tst-initorder2d. Add rules to build them.
12993 ($(objpfx)tst-initorder2.out): New rule.
12994 * elf/tst-initorder2.c: New file.
12995 * elf/tst-initorder2.exp: New file.
12996
87162f46
AS
129972011-08-22 Andreas Schwab <schwab@redhat.com>
12998
70538b7f
AS
12999 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13000
f55ffe58
AS
13001 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13002 dependencies back to end of function.
13003
87162f46
AS
13004 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13005 $(elfobjdir)/ld.so.
13006
91b392a4
UD
130072011-08-21 Ulrich Drepper <drepper@gmail.com>
13008
13009 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13010 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13011 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13012 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13013 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13014 of __vdso_gettimeofday.
13015 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13016 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13017 attribute_hidden.
13018 (_libc_vdso_platform_setup): Remove initialization of
13019 __vdso_gettimeofday and __vdso_time.
13020
5c43483f
UD
130212011-08-20 Ulrich Drepper <drepper@gmail.com>
13022
775a77e7
UD
13023 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13024 and fgetc_unlocked.
13025 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13026 getc_unlocked.
89f447ed 13027
49c74ba9
UD
13028 * elf/dl-open.c (add_to_global): Report additions to the global scope
13029 for LD_DEBUG=scopes.
13030 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13031 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13032
5c43483f
UD
13033 [BZ #13114]
13034 * stdio-common/Makefile (tests): Add bug24.
13035 * stdio-common/bug24.c: New file.
13036
a101b025
AJ
130372011-08-19 Andreas Jaeger <aj@suse.de>
13038
13039 [BZ #13114]
13040 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13041 non-existant file when using close-on-exec mode.
13042
c88f1766
UD
130432011-08-20 Ulrich Drepper <drepper@gmail.com>
13044
0276a718
UD
13045 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13046 the very first instruction.
13047
c88f1766
UD
13048 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13049 the CFI state in the end.
13050 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13051 inclusion of dl-trampoline.h.
13052 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13053
51ccffa0
AS
130542011-08-19 Andreas Schwab <schwab@redhat.com>
13055
94d7165f
AS
13056 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13057 expectations for long double.
13058
51ccffa0
AS
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13060 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13061
fd708658 130622011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13063
13064 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13065 artificual limit depends upon the system page size.
13066
44f0a71e
UD
130672011-08-17 Ulrich Drepper <drepper@gmail.com>
13068
13069 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13070 * resolv/Makefile: Define CFLAGS-libresolv.
13071
8de79a24
AS
130722011-08-17 Andreas Schwab <schwab@redhat.com>
13073
13074 * nss/makedb.c (compute_tables): Make variables used in nested
13075 function static.
13076
27724598
UD
130772011-08-17 Ulrich Drepper <drepper@gmail.com>
13078
c5305d88
UD
13079 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13080 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13081 if buffer was too small.
13082
27724598
UD
13083 * elf/pldd.c (main): Attach to all threads in the process.
13084 Rewrite /proc handling to use *at functions.
13085
076fe015
UD
130862011-08-16 Ulrich Drepper <drepper@gmail.com>
13087
174baab3
UD
13088 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13089 specifies first scope to show.
13090 (dl_open_worker): Update callers. Move printing scope of new
13091 object to before the relocation.
44f0a71e 13092 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
13093 * sysdeps/generic/ldsodefs.h: Update declaration.
13094
076fe015
UD
13095 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13096 string for the scope number.
13097
a60df2c3
UD
130982011-08-14 Ulrich Drepper <drepper@gmail.com>
13099
13100 * nscd/servicescache.c (cache_addserv): Make sure written is always
13101 initialized.
13102
5e4287d1
RM
131032011-08-14 Roland McGrath <roland@hack.frob.com>
13104
85ae0589
RM
13105 * sysdeps/i386/i486/bits/atomic.h
13106 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13107 statement expression, so as to suppress "set but not used" warning.
13108 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13109
69f63097
RM
13110 * string/strncat.c (STRNCAT): Use prototype definition.
13111
675456ef
RM
13112 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13113 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13114 -Iprograms here.
13115 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13116 (localedef-modules): Add localedef.
13117 (locale-modules): Add locale.
13118
5e4287d1
RM
13119 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13120 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13121 to avoid a warning.
13122
9c96ff23
DM
131232011-08-14 David S. Miller <davem@davemloft.net>
13124
13125 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13126 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13127
f9ddf089
UD
131282011-08-13 Ulrich Drepper <drepper@gmail.com>
13129
44f0a71e 13130 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
13131 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13132 * elf/rtld.c (dl_main): Set l_name of vDSO.
13133 Call _dl_show_scope when DL_DEBUG_SCOPES.
13134 (process_dl_debug): Recognize scopes flag and also set it for all.
13135 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13136 Declare _dl_show_scope.
13137
1dc27704
UD
13138 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13139 (do_dlopen): Pass caller_dlopen to dl_open.
13140 (__libc_dlopen_mode): Initialize caller_dlopen.
13141
f9ddf089
UD
13142 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13143 of libc. Make tolower call locale-independent. Optimize a bit by
13144 using isdigit instead of isalnum.
13145 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13146
9ac533d3
UD
131472011-08-12 Ulrich Drepper <drepper@gmail.com>
13148
13149 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13150 was a dependency or dynamically loaded.
13151
89edf2e9
UD
131522011-08-11 Ulrich Drepper <drepper@gmail.com>
13153
8e999d29
UD
13154 * intl/l10nflist.c: Allow architecture-specific pop function.
13155 * sysdeps/x86_64/l10nflist.c: New file.
13156
89edf2e9
UD
13157 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13158 classification.
13159
14d96785
AS
131602011-08-10 Andreas Schwab <schwab@redhat.com>
13161
13162 * include/dirent.h: Add libc_hidden_proto for scandirat and
13163 scandirat64. Don't declare __scandirat64.
13164 * dirent/scandirat.c: Add libc_hidden_def.
13165 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13166 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13167
6761ac04
DM
131682011-08-10 David S. Miller <davem@davemloft.net>
13169
13170 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13171 enum.
13172 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13173 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13174 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13175
c55fbd1e
UD
131762011-08-09 Ulrich Drepper <drepper@gmail.com>
13177
13178 * Versions.def [libc]: Add GLIBC_2.15.
13179 * dirent/Makefile (routines): Add scandirat and scandirat64.
13180 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13181 GLIBC_2.15.
13182 * dirent/dirent.h: Declare scandirat and scandirat64.
13183 * dirent/scandirat.c: New file.
13184 * dirent/scandirat64.c: New file.
13185 * sysdeps/wordsize-64/scandirat.c: New file.
13186 * sysdeps/wordsize-64/scandirat64.c: New file.
13187 * dirent/opendir.c: Define opendirat.
13188 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13189 using scandirat.
13190 * dirent/scandir64.c: Adjust for scandir.c change.
13191 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13192 __scandirat64, and __scandir_cancel_handler.
13193 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13194 additional parameter and use openat instead of open (outside of ld.so).
13195 Add new __opendir as wrapper around __opendirat.
13196 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13197 here without requiring old scandirat implementation.
13198
879165f2
UD
131992011-08-08 Ulrich Drepper <drepper@gmail.com>
13200
13201 * dirent/scandir.c (cancel_handler): Renamed to
13202 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13203 defined. Adjust users.
13204 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13205 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13206
cb7e923b
UD
132072011-08-04 Ulrich Drepper <drepper@gmail.com>
13208
16292edd
UD
13209 * string/test-string.h (IMPL): Use __STRING to expand name and then
13210 stringify it.
13211
cb7e923b
UD
13212 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13213 of cleanups.
13214
cff82933
LD
132152011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13216
13217 * string/Makefile: Update.
13218 (strop-tests): Append strncat.
13219 * string/test-wcscmp.c: New file.
13220 New comprehensive test for wcscmp.
13221 * string/test-strcmp.c: Update.
13222 (WIDE): New define.
13223
9be9bfcc
AS
132242011-07-22 Andreas Schwab <schwab@redhat.com>
13225
13226 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13227 line.
13228
2e96f1c7
AS
132292011-07-26 Andreas Schwab <schwab@redhat.com>
13230
13231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13232 encoding to ACE if AI_IDN.
13233
85188888
JJ
132342011-08-01 Jakub Jelinek <jakub@redhat.com>
13235
13236 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13237 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13238
5fa16e9b
LD
132392011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13240
13241 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13242 Fix overflow bug in strncat.
13243 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13244
13245 * string/test-strncat.c: Update.
13246 Add new tests for checking overflow bugs.
13247
132482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13249
13250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13251 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13252 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13253 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13254 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13255 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13256 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13257 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13258 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13259
13260 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13261 (USE_AS_STRCAT): Define.
13262 Add strcat and strncat support.
13263 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13264
8c1a459f
AS
132652011-07-25 Andreas Schwab <schwab@redhat.com>
13266
13267 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13268 __n bigger than INT_MAX+1.
13269 (__strncmp_g): Likewise.
13270
bba33c28
UD
132712011-07-23 Ulrich Drepper <drepper@gmail.com>
13272
798be72d
UD
13273 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13274 * libio/stido.h: Likewise.
13275
8accd4dc
UD
13276 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13277 (AF_NFC): Define.
13278 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13279 (AF_NFC): Define.
13280
cbff0d96
UD
13281 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13282 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13283 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13284 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13285 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13286
9191c04a
UD
13287 [BZ #13021]
13288 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13289 installed.
13290
bba33c28
UD
13291 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13292 typo.
13293 (_dl_x86_64_save_sse): Likewise.
13294
90f139dd
UD
132952011-07-22 Ulrich Drepper <drepper@gmail.com>
13296
1aae088a
UD
13297 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13298 OSXSAVE.
13299 (_dl_x86_64_save_sse): Likewise.
13300
8e2045f5
UD
13301 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13302
90f139dd
UD
13303 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13304
1d002f25
AS
133052011-07-21 Andreas Schwab <schwab@redhat.com>
13306
13307 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13308 change.
13309 (_dl_x86_64_save_sse): Use correct AVX check.
13310
21137f89
UD
133112011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13312
13313 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13314 bug in strncpy/strncat.
13315 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13316
a65c0b7a
UD
133172011-07-21 Ulrich Drepper <drepper@gmail.com>
13318
13319 * string/tester.c (test_strcat): Add tests for different alignments
13320 of source and destination.
13321 (test_strncat): Likewise.
13322
6986b98a
UD
133232011-07-20 Ulrich Drepper <drepper@gmail.com>
13324
90bb2039
UD
13325 [BZ #12852]
13326 * posix/glob.c (glob): Check passed in values before using them in
13327 expressions to avoid some overflows.
13328 (glob_in_dir): Likewise.
13329
5644ef54
UD
13330 [BZ #13007]
13331 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13332 check for AVX enablement so that we don't crash with old kernels and
13333 new hardware.
13334 * elf/tst-audit4.c: Add same checks here.
13335 * elf/tst-audit6.c: Likewise.
13336
13337 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 13338
bfc9dc9b
AS
133392011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13340
13341 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13342
702e64bb
UD
133432011-07-20 Ulrich Drepper <drepper@gmail.com>
13344
13345 * po/cs.po: Update from translation team.
13346 * po/bg.po: Likewise.
13347
295e904f
MP
133482011-07-12 Marek Polacek <mpolacek@redhat.com>
13349
13350 * misc/sys/cdefs.h: Add support for const attribute.
13351 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13352 to gnu_dev_{major,minor,makedev} functions.
13353
3ff94596
MP
133542011-07-20 Marek Polacek <mpolacek@redhat.com>
13355
13356 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13357
28b59fca
AS
133582011-07-20 Andreas Schwab <schwab@redhat.com>
13359
13360 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13361 strlen results.
13362
19df733e
AK
133632011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13364
13365 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13366 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13367 register in order to avoid conflicts with the soft frame pointer
13368 being held in r11 when necessary.
13369 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13370 (INTERNAL_VSYSCALL_NCS): Likewise.
13371
c8835729
MP
133722011-07-14 Marek Polacek <mpolacek@redhat.com>
13373
13374 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13375 * elf/dl-fini.c (_dl_fini): Adjust caller.
13376 * elf/dl-close.c (_dl_close_worker): Likewise.
13377 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13378
b902330c
MP
133792011-07-15 Marek Polacek <mpolacek@redhat.com>
13380
8991e135
MP
13381 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13382 "aux_cache->nlibs < 0".
13383
b902330c
MP
13384 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13385 in the reload-count case.
13386
99710781
LD
133872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13388
13389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13390 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13391 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13392 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13393 * sysdeps/x86_64/multiarch/strcat.S: New file.
13394 * sysdeps/x86_64/multiarch/strncat.S: New file.
13395 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13396 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13397 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13398 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13399 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13400 (USE_AS_STRCAT): Define.
13401 Add strcat and strncat support.
13402 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13403 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13404 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13405 * string/strncat.c: Update.
13406 (USE_AS_STRNCAT): Define.
13407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13408 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13409 and i7.
13410 * sysdeps/x86_64/multiarch/init-arch.h
13411 (bit_Prefer_PMINUB_for_stringop): New.
13412 (index_Prefer_PMINUB_for_stringop): Likewise.
13413 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13414 bit_Prefer_PMINUB_for_stringop.
13415
7dc6bd90
UD
134162011-07-19 Ulrich Drepper <drepper@gmail.com>
13417
13418 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13419 buffer64.
13420 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13421 of casting of buffer.
13422 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13423 buffer32 and buffer64.
13424 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13425 writes instead of casting of buffer.
13426 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13427 buffer32.
13428 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13429 casting of buffer.
13430
e0e72284
AS
134312011-07-19 Andreas Schwab <schwab@redhat.com>
13432
13433 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13434
feb1eb0b
UD
134352011-07-19 Ulrich Drepper <drepper@gmail.com>
13436
13437 * nscd/nscd.c (termination_handler): Don't do anything for a database
13438 if it has not yet been initialized.
13439
298711ff
UD
134402011-07-18 Ulrich Drepper <drepper@gmail.com>
13441
13442 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13443
134442011-07-15 Marek Polacek <mpolacek@redhat.com>
13445
13446 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13447
f9d68389
UD
134482011-07-18 Ulrich Drepper <drepper@gmail.com>
13449
13450 * po/nl.po: Update from translation team.
13451 * po/sv.po: Likewise.
13452
db290cf5
RM
134532011-07-16 Roland McGrath <roland@hack.frob.com>
13454
13455 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13456 now disallowed by GCC.
5c550700 13457
fd5e21c7
RM
13458 * configure.in (use-default-link): Default to yes if a test -shared
13459 link meets our qualifications.
13460 * configure: Regenerated.
13461
5c550700
RM
13462 * config.make.in (output-format): New variable.
13463 * configure.in: Check for ld --print-output-format support.
13464 * configure: Regenerated.
13465 * Makerules ($(common-objpfx)format.lds)
13466 [$(output-format) != unknown]: Just use $(output-format),
13467 instead of the linker-script munging.
13468
9fa2c032
RM
134692011-07-14 Roland McGrath <roland@hack.frob.com>
13470
a6928d51
RM
13471 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13472 of $(common-objpfx)shlib.lds.
13473 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13474
661607b3
RM
13475 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13476 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13477
9fa2c032
RM
13478 * configure.in (-z relro check): Adjust test code to add a large
13479 writable data section after it.
13480 * configure: Regenerated.
13481
defe9061
RM
134822011-07-11 Roland McGrath <roland@hack.frob.com>
13483
13484 * configure.in (-z relro check): Fix test code to make the variable
13485 truly const.
13486 * configure: Regenerated.
13487
319b9ad4
UD
134882011-07-11 Ulrich Drepper <drepper@gmail.com>
13489
13490 * nscd/nscd.h (struct traced_file): Define.
13491 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13492 elements. Add traced_files.
13493 (inotify_fd): Declare.
13494 (register_traced_file): Declare.
13495 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13496 (inotify_fd): Export.
13497 (resolv_conf_descr): Remove.
13498 (nscd_init): Move inotify descriptor creation to main.
13499 Don't register files for notification here.
13500 (register_traced_file): New function.
13501 (invalidate_cache): Don't use reset_res to determine whether to call
13502 res_init, go through the list of registered files.
13503 (main_loop_poll): The inotify descriptors are now stored in the
13504 structures for the traced files.
13505 (main_loop_epoll): Likewise
13506 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13507 to __nss_disable_nscd.
13508 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13509 for a database anymore. Check the records for all the registered
13510 files instead.
13511 * nss/Makefile (libnss_files-routines): Add files-init.
13512 (libnss_db-routines): Add db-init.
13513 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13514 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13515 * nss/nss_db/db-init.c: New file.
13516 * nss/nss_files/files-init.c: New file.
13517 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13518 __nss_lookup_function.
13519 (__nss_lookup_function): Call nss_load_library.
13520 (nss_load_all_libraries): New function.
13521 (__nss_disable_nscd): Take parameter with callback function for files
13522 to register. Set is_nscd. Load all the DSOs for the NSS modules
13523 used for the cached services.
13524 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13525 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13526 options for features to all the files in nscd.
13527
13528 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13529
23bee3e8
RM
135302011-07-10 Roland McGrath <roland@hack.frob.com>
13531
13532 * csu/elf-init.c (__libc_csu_init): Comment typo.
13533
46a5b7f0
UD
135342011-07-09 Ulrich Drepper <drepper@gmail.com>
13535
13536 * po/pl.po: Update from translation team.
13537 * po/ja.po: Likewise.
13538 * po/ru.po: Likewise.
13539 * po/ko.po: Likewise.
13540 * po/fr.po: Likewise.
13541
d30cf5bb
RM
135422011-07-09 Roland McGrath <roland@hack.frob.com>
13543
113ddea4
RM
13544 * configure.in (.ctors/.dtors header and trailer check):
13545 Use an empirical test on a built program.
13546 * configure: Regenerated.
13547
574920b4
RM
13548 * configure.in (-z relro check): Use an empirical test on a built DSO.
13549 Detect, but do not require, on ia64.
13550 * configure: Regenerated.
13551
d30cf5bb
RM
13552 * configure.in (READELF): Find it with AC_CHECK_TOOL.
13553 Update tests that use readelf to use $READELF instead.
13554 * configure: Regenerated.
13555
8538fdb3
UD
135562011-07-08 Ulrich Drepper <drepper@gmail.com>
13557
13558 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
13559 if the result is not used.
13560
04d08991
AJ
135612011-07-05 Andreas Jaeger <aj@suse.de>
13562
13563 [BZ#9696]
13564 * stdlib/tst-strtod.c: Add testcase.
13565
de283087
AD
135662011-07-07 Ulrich Drepper <drepper@gmail.com>
13567
4e5f31c8 13568 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 13569 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
13570 The latter has a higher limit. Take additional parameter to pass to
13571 the new function.
13572 (__pathconf): Pass file to __statfs_link_max.
13573 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
13574 __statfs_link_max.
13575 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
13576 __statfs_link_max.
13577
de283087
AD
13578 [BZ #12868]
13579 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
13580 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13581 Handle Lustre.
13582 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
13583 (__statfs_filesize_max): Likewise.
13584 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
13585
c75fa153
AJ
135862011-07-05 Andreas Jaeger <aj@suse.de>
13587
13588 * resolv/res_comp.c (dn_skipname): Remove unused variable.
13589
1a544854
UD
135902011-07-06 Marek Polacek <mpolacek@redhat.com>
13591
13592 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
13593 `status' variable.
13594 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
13595 Likewise.
13596
6f0eec67
UD
135972011-07-04 H.J. Lu <hongjiu.lu@intel.com>
13598
13599 * Makefile (strop-tests): Add strncat.
13600 * string/test-strncat.c: New file.
13601
aae30307
UD
136022011-06-30 Marek Polacek <mpolacek@redhat.com>
13603
13604 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
13605
c0cfb5eb
UD
136062011-06-21 Andreas Jaeger <aj@suse.de>
13607
13608 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
13609 Copy rule from iconvdata/Makefile.
13610
01636b21
UD
136112011-07-06 Ulrich Drepper <drepper@gmail.com>
13612
13613 [BZ #12922]
13614 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
13615 but no long options are defined, just return 'W'.
13616
9895c8bc
UD
136172011-06-22 Marek Polacek <mpolacek@redhat.com>
13618
13619 [BZ #9696]
13620 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
13621
5d4cf042
UD
136222011-07-06 Ulrich Drepper <drepper@gmail.com>
13623
13624 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
13625 netgroups to read.
960e5535 13626 (innetgr): Likewise.
5d4cf042 13627
751eb97e
RM
136282011-07-05 Roland McGrath <roland@hack.frob.com>
13629
13630 * config.make.in (install_root): Default to $(DESTDIR).
13631
f15f1e45
UD
136322011-07-05 Ulrich Drepper <drepper@gmail.com>
13633
13634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
13635
4e34ac6a
RM
136362011-07-02 Roland McGrath <roland@hack.frob.com>
13637
5e9b6af4
RM
13638 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
13639
84f9ea0f
RM
13640 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
13641 containing directory rather than embedding absolute directory names.
13642
ea5ee9f7
RM
13643 * scripts/check-local-headers.sh: Rewritten using awk.
13644 Match by word, not by line. Print error messages for matches.
13645 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
13646
1b74661a
RM
13647 * Makerules [shlib-lds-flags empty]:
13648 ($(common-objpfx)libc_pic.opts): New target.
13649 ($(common-objpfx)libc_pic.os.clean): New target.
13650 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
13651
13652 * config.make.in (OBJCOPY): New variable.
13653 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
13654 * configure: Regenerated.
13655
f781ef40
RM
13656 * config.make.in (use-default-link): New variable.
13657 * configure.in (use_default_link): Grok --with-default-link to set it.
13658 * configure: Regenerated.
13659 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
13660 (shlib-lds, shlib-lds-flags): Define to empty.
13661
2d4fa81e
RM
13662 * Makerules (shlib-lds): New variable.
13663 (shlib-lds-flags): New variable.
13664 (build-shlib, build-moduile, build-module-asneeded): Use it.
13665 ($(common-objpfx)libc.so): Use $(shlib-lds).
13666 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
13667 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
13668
31fffa6b
RM
13669 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
13670 DT_FLAGS/DT_FLAGS_1 with zero flags.
13671
4e34ac6a
RM
13672 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
13673 linker script munging.
13674
fcfc776b
UD
136752011-07-02 Ulrich Drepper <drepper@gmail.com>
13676
13677 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
13678 as 128-bit value.
13679 * crypt/sha512.c (sha512_process_block): Perform total addition using
13680 128-bit if possible.
13681 (__sha512_finish_ctx): Likewise.
13682 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13683 as 64-bit value.
13684 * crypt/sha256.c (SWAP64): Define.
13685 (sha256_process_block): Perform total addition using 64-bit if
13686 possible.
13687 (__sha256_finish_ctx): Likewise.
13688
99231d9a
UD
136892011-07-01 Ulrich Drepper <drepper@gmail.com>
13690
13691 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13692 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13693 * nscd/hstcache.c (cache_addhst): Likewise.
13694 * nscd/grpcache.c (cache_addgr): Likewise.
13695 * nscd/aicache.c (addhstaiX): Likewise
13696 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13697
445b4a53
TK
136982011-07-01 Thorsten Kukuk <kukuk@suse.de>
13699
13700 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
6d4d8e8e
AS
137062011-07-01 Andreas Schwab <schwab@redhat.com>
13707
13708 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13709 domain only when needed.
13710
89f654c5
AS
137112011-06-30 Andreas Schwab <schwab@redhat.com>
13712
13713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13714 is always restored.
13715
cf3b23ff
UD
137162011-06-29 Ulrich Drepper <drepper@gmail.com>
13717
13718 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13719 are re-adding the entry.
13720 * nscd/servicescache.c (cache_addserv): Likewise.
13721
751626f9
AJ
137222011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13723
13724 * sysdeps/generic/dl-irel.h: fix protection against multiple
13725 inclusions.
13726 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13727
9113ea1f
UD
137282011-06-28 Ulrich Drepper <drepper@gmail.com>
13729
5c0b8d90
UD
13730 [BZ #12935]
13731 * malloc/memusage.sh: Fix quoting in message.
13732 * debug/xtrace.sh: Likewise.
13733
9113ea1f
UD
13734 * configure.in: Remove support for --experimental-malloc option, make
13735 it the default.
13736 * config.make.in: Likewise.
13737 * malloc/Makefile: Likewise.
13738
a4172181
AS
137392011-06-27 Andreas Schwab <schwab@redhat.com>
13740
13741 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13742 two-byte characters.
13743
78a7eee7
RM
137442011-06-27 Roland McGrath <roland@hack.frob.com>
13745
62bede13
RM
13746 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13747 AC_CACHE_CHECK invocation.
13748 * configure: Regenerated.
13749
78a7eee7
RM
13750 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13751
5ce33a62
UD
137522011-06-27 Ulrich Drepper <drepper@gmail.com>
13753
034807a9
UD
13754 [BZ #12350]
13755 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13756 bit from old_res_options.
13757
4902da17
UD
13758 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13759
5ce33a62
UD
13760 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13761 value type for setfct.
13762
c2344f56
L
137632011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13764
13765 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13766 __gettimeofday instead of gettimeofday.
13767
68468076
UD
137682011-06-26 Ulrich Drepper <drepper@gmail.com>
13769
13770 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13771
acb0d739
L
137722011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13773
13774 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13775
13776 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13777 info.
13778
8912479f
L
137792011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13780
13781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13782 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13783 strcpy-sse2-unaligned strncpy-sse2-unaligned
13784 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13785 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13786 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13787 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13788 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13789 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13790 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13791 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13792 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13793 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13794 (STRCPY): Support SSE2 and SSSE3 versions.
13795
d5495a11
UD
137962011-06-24 Ulrich Drepper <drepper@gmail.com>
13797
13798 [BZ #12874]
13799 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13800 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13801 kernels which artificially limit size of requests.
13802
0b1cbaae
L
138032011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13804
13805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13806 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13807 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13808 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13809 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13810 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13811 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13812 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13813 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13814 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13815 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13816 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13817 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13818 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13819 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13821 Enable unaligned load optimization for Intel Core i3, i5 and i7
13822 processors.
13823 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13824 Define.
13825 (index_Fast_Unaligned_Load): Define.
13826 (HAS_FAST_UNALIGNED_LOAD): Define.
13827
07f494a0
MP
138282011-06-23 Marek Polacek <mpolacek@redhat.com>
13829
13830 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13831
fa3fc0fe
UD
138322011-06-22 Ulrich Drepper <drepper@gmail.com>
13833
13834 [BZ #12907]
13835 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13836 until it is clear that the information is realy needed.
13837 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13838
e12df166
AS
138392011-06-22 Andreas Schwab <schwab@redhat.com>
13840
13841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13842
852eb34d
UD
138432011-06-22 Ulrich Drepper <drepper@gmail.com>
13844
84e2a551
UD
13845 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13846 /sys/devices/system/cpu/online if it is usable.
13847
852eb34d
UD
13848 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13849 reading the information from the /proc filesystem to once a second.
13850
6e502e19
UD
138512011-06-21 Andreas Jaeger <aj@suse.de>
13852
13853 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13854 NULL after inclusion of kernel headers.
13855
75d39ff2
UD
138562011-06-21 Ulrich Drepper <drepper@gmail.com>
13857
51f9aa6a
UD
13858 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13859 calls to internal_setent.
13860
c0244a9d
UD
13861 [BZ #12885]
13862 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13863 addresses using gethostbyname4_r ignore IPv4 addresses.
13864
c5e3c2ae
UD
13865 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13866 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13867
75d39ff2
UD
13868 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13869
42675c6f
DM
138702011-06-20 David S. Miller <davem@davemloft.net>
13871
13872 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13873 inclusions.
13874 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13875
13876 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13877 (elf_irel): Use it.
13878 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13879 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13880 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13881 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13882 * sysdeps/x86_64/dl-irel.h: Likewise.
13883
13884 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13885 * elf/dl-sym.c: Likewise.
13886
57912a71
UD
138872011-06-15 Ulrich Drepper <drepper@gmail.com>
13888
13889 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13890 need to dereference resplen2.
13891
ee22793d
AS
138922011-06-14 Andreas Schwab <schwab@redhat.com>
13893
13894 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13895
a9e836b0
UD
138962011-06-15 Ulrich Drepper <drepper@gmail.com>
13897
77fb9117
UD
13898 * Makeconfig: Define vardbdir and inst_vardbdir.
13899 * nss/Makefile: Add rules to install db-Makefile.
13900
40c1b22c
UD
13901 * nss/nss_db/db-XXX.c: Cleanup.
13902
9f2da732
UD
13903 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13904 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13905 GLIBC_PRIVATE.
13906 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13907 * nss/makedb.c: Implement -g option to specify that value strings
13908 are generated and should not be added to table iterated over for
13909 get*ent calls.
13910 * nss/nss_db/db-initgroups.c: New file.
13911
82e9a1f7
UD
13912 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13913 interface.
13914
c41af17e
UD
13915 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13916 (internal_getgrouplist): Adjust to name change.
13917 Update use_initgroups_entry if this is not the first call.
13918 * nss/databases.def: Add initgroups entry.
13919
a9e836b0
UD
13920 * nss/makedb.c (compute_tables): Check result of multiple hash table
13921 sizes to minimize maximum chain length.
13922
2666d441
UD
139232011-06-14 Ulrich Drepper <drepper@gmail.com>
13924
13925 * Versions.def: Add entry for libnss_db.
13926 * shlib-versions: Likewise.
13927 * nss/Makefile: Add rules to build libnss_db.
13928 * nss/Versions: Add libnss_db information. Organize libnss_files
13929 entries better.
13930 * nss/db-Makefile: Add gshadow support. Change rules for the new
13931 makedb progra. Some minor improvements to generate smaller files.
13932 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13933 here from...
13934 * nss/makedb.c: ...here.
13935 Improve database format to be smaller and require less memory at
13936 runtime.
13937 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13938 db anymore.
13939 * nss/nss_db/db-netgrp.c: Likewise.
13940 * nss/nss_db/db-open.c: Likewise.
13941 * nss/nss_files/flies-XXX.x: Adjust comments.
13942 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13943 * nss/nss_files/files-grp.c: Likewise.
13944 * nss/nss_files/files-hosts.c: Likewise.
13945 * nss/nss_files/files-network.c: Likewise.
13946 * nss/nss_files/files-proto.c: Likewise.
13947 * nss/nss_files/files-pwd.c: Likewise.
13948 * nss/nss_files/files-rpc.c: Likewise.
13949 * nss/nss_files/files-service.c: Likewise.
13950 * nss/nss_files/files-sgrp.c: Likewise.
13951 * nss/nss_files/files-spwd.c: Likewise.
13952 * nss/nss_db/db-alias.c: Removed.
13953 * nss/nss_db/dummy-db.h: Removed.
13954
9ee76b5a
UD
139552011-06-02 Ulrich Drepper <drepper@gmail.com>
13956
13957 * nss/makedb.c: Rewritten to not use database library.
13958 * nss/Makefile: Update to build new makedb program.
13959
c71ca1f8
AJ
139602011-06-14 Andreas Jaeger <aj@suse.de>
13961
13962 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13963 memset declaration.
13964
3154bfb8
UD
139652011-06-10 Andreas Schwab <schwab@redhat.com>
13966
13967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13968 tmpbuf.
13969
b350afab
RM
139702011-06-10 Roland McGrath <roland@hack.frob.com>
13971
decd4e50
RM
13972 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13973 * elf/Makefile ($(objpfx)ld.so): Likewise.
13974
5615eaf2
RM
13975 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13976 Don't list ld.so twice in dependencies.
13977
13978 * posix/bug-regex31.c: Include <stdlib.h>.
13979
13980 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13981
13982 * nis/nss_compat/compat-spwd.c
13983 (getspent_next_nss_netgr): Remove unused variable.
13984 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13985
13986 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13987 nonmembers" output to use the right array.
13988
13989 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13990
13991 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13992
13993 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13994 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13995 * catgets/gencat.c (read_input_file): Likewise.
13996 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13997
13998 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13999 variable definition inside #if's controlling its use.
14000
14001 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14002
14003 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14004
14005 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14006
14007 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14008 unreachable code.
14009
14010 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14011
b68e08db
RM
14012 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14013 * configure: Regenerated.
14014
b350afab
RM
14015 * Makerules: Revert last change.
14016 * elf/Makefile: Likewise.
14017
28368601
RM
140182011-06-09 Roland McGrath <roland@hack.frob.com>
14019
14020 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14021 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14022 (reloc-link): Likewise.
14023
11988f8f
UD
140242011-06-09 Ulrich Drepper <drepper@gmail.com>
14025
14026 * elf/Makefile: Add rules to build pldd.
14027 * elf/pldd.c: New file.
14028 * elf/pldd-xx.c: New file.
14029
e80fab37
UD
140302011-06-07 Ulrich Drepper <drepper@gmail.com>
14031
14032 * version.h: Update for 2.15 development version.
14033
9b849836
DM
140342011-06-07 David S. Miller <davem@davemloft.net>
14035
14036 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14037 ifuncs.
14038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14039 elf_machine_lazy_rel): Likewise.
14040 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14042 elf_machine_lazy_rel): Likewise.
14043 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14044 dl_hwcap via passed in argument.
14045 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14046 Likewise.
14047
5a31b283
AK
140482011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14049
14050 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14051
069e52f8
RM
140522011-06-06 Roland McGrath <roland@hack.frob.com>
14053
14054 [BZ #12849]
14055 * manual/fdl-1.1.texi: New file, verbatim from:
14056 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14057 * manual/lgpl-2.1.texi: New file, verbatim from:
14058 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14059 * manual/Makefile (licenses): New variable, list those new file names.
14060 (texis): Use it.
14061 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14062
14063 * manual/fdl.texi: File removed.
14064 * manual/lesser.texi: File removed.
14065 * manual/libc.texinfo (Copying, Documentation License):
14066 Use new @include file names, put @appendix directive before @include.
14067
f16846a5
JJ
140682011-06-04 Jakub Jelinek <jakub@redhat.com>
14069
14070 [BZ #12841]
14071 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14072 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14073 (mq_open): Add __NTH.
14074
3d29045b
L
140752011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14076
14077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14078 Assume Intel Core i3/i5/i7 processor if AVX is available.
14079
8c297311
UD
140802011-05-31 Ulrich Drepper <drepper@gmail.com>
14081
14082 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14083 typo.
14084
c8fc0c91
UD
140852011-05-31 Andreas Schwab <schwab@redhat.com>
14086
14087 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14088 memory. Use alloca_account. Fix memory leak when retrying.
14089
5b27a807
UD
140902011-05-31 Ulrich Drepper <drepper@gmail.com>
14091
356f8bc6
UD
14092 * version.h (RELEASE): Bump for 2.14 release.
14093 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14094
5b27a807
UD
14095 * config.make.in (RANLIB): Remove entry.
14096
01f16ab0
UD
140972011-05-30 Ulrich Drepper <drepper@gmail.com>
14098
41fce8bd
UD
14099 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14100 (libc.pot): Work around missing support for .ksh extension in xgettext.
14101
4769ae77
UD
14102 [BZ #12684]
14103 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14104 if both request failed.
14105 (send_dg): In case of server errors clear resplen or *resplen2.
14106
6b1e7d19
UD
14107 [BZ #12454]
14108 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14109 when there are multiple maps.
14110 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14111 (_dl_fini): Remove test here.
14112
01f16ab0
UD
14113 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14114
b1ebd700
UD
141152011-05-29 Ulrich Drepper <drepper@gmail.com>
14116
7ae22829
UD
14117 [BZ #12350]
14118 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14119 bit from old_res_options.
14120 (gaih_inet): Likewise.
14121
553149f6 14122 [BZ #11099]
18a84741 14123 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
14124 as signed.
14125
652ffab1
UD
14126 * resolv/res_init.c (res_setoptions): Make the code more compact.
14127
16985fd0
UD
14128 [BZ #11558]
14129 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14130 set RES_USEVC.
14131
0464f746
UD
14132 [BZ #11634]
14133 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14134
7d17596c
UD
14135 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14136
cf6bbbd7
UD
14137 [BZ #11781]
14138 * malloc/malloc.h: Declare malloc hook variables as volatile.
14139
13f1ab36
UD
14140 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14141 in last patch.
14142
b1ebd700
UD
14143 [BZ #11799]
14144 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 14145 raise in the comment.
80e2212d
UD
14146 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14147 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14148 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 14149
ce67228d
UD
141502011-05-28 Ulrich Drepper <drepper@gmail.com>
14151
8887a920
UD
14152 [BZ #12811]
14153 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14154 grow the buffers more if it already has to be sufficient.
14155 (build_wcs_upper_buffer): Likewise.
14156 * posix/regexec.c (check_matching): Likewise.
14157 (clean_state_log_if_needed): Likewise.
14158 (extend_buffers): Don't enlarge buffers beyond size of the input
14159 buffer.
14160 Patches mostly by Emil Wojak <emil@wojak.eu>.
14161 * posix/bug-regex32.c: New file.
14162 * posix/Makefile (tests): Add bug-regex32.
14163
4f031072
UD
14164 * locale/findlocale.c (_nl_find_locale): Return right away if
14165 _nl_explode_name failed.
14166 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14167
d0478f0c
UD
14168 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14169
de81b246
UD
14170 * debug/xtrace.sh: Unify messages.
14171 * malloc/memusage.sh: Likewise.
14172
c738465a
UD
14173 [BZ #12813]
14174 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14175 time symbol from vDSO. Substitute with vsyscall if not available.
14176 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14177 __vdso_time.
14178
f1f929d7
UD
14179 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14180 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14181 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14182 Add sendmmsg and internal_sendmmsg.
14183 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14184 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14185 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14186
ce67228d
UD
14187 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14188 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14189 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14190
e57420c6
UD
141912011-05-27 Ulrich Drepper <drepper@gmail.com>
14192
a8509ca5
UD
14193 [BZ #12813]
14194 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14195 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14196 available.
14197 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14198 __vdso_getcpu.
14199
e57420c6
UD
14200 [BZ #12814]
14201 * iconvdata/Makefile (tests): Add bug-iconv9.
14202 * iconvdata/bug-iconv9.c: New file.
14203
4d07db15
AS
142042011-05-27 Andreas Schwab <schwab@redhat.com>
14205
14206 [BZ #12814]
14207 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14208
ea486f69
JJ
142092011-05-25 Jakub Jelinek <jakub@redhat.com>
14210
14211 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14212 (struct user_regs_struct): Change intcs field back to cs.
14213
6f038433
UD
142142011-05-25 Ulrich Drepper <drepper@gmail.com>
14215
14216 * po/ja.po: Update from translation team.
14217
67f86a25
UD
142182011-05-23 Ulrich Drepper <drepper@gmail.com>
14219
14220 [BZ #12795]
14221 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14222 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14223
def7fbd6
AS
142242011-05-20 Andreas Schwab <schwab@redhat.com>
14225
14226 * stdlib/longlong.h: Update from GCC.
14227
f50ef8f1
AS
142282011-05-23 Andreas Schwab <schwab@redhat.com>
14229
14230 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14231 parameter name.
14232 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14233 Add parameter name.
14234 (__sysconf): Pass it down.
14235
de7ce8f1
UD
142362011-05-22 Ulrich Drepper <drepper@gmail.com>
14237
f2962a71
UD
14238 [BZ #12671]
14239 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14240 some situations.
14241 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14242 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14243 add in in __libc_use_alloca calls. Adjust callers.
14244 (glob): Use malloc in some situations.
14245
de7ce8f1
UD
14246 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14247 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14248 pltexit.
14249
aec84f53
UD
142502011-05-21 Ulrich Drepper <drepper@gmail.com>
14251
05bb4a68
UD
14252 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14253 and CLOCK_BOOTTIME_ALARM.
14254
7ea72f99
UD
14255 [BZ #12782]
14256 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14257 is returned.
14258
7e4afad5
UD
14259 * string/_strerror.c (__strerror_r): Print negative errors as signed
14260 numbers.
14261
8e211fec
UD
14262 [BZ #12777]
14263 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14264 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14265 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14266
f7d82dc9
UD
14267 * configure.in: Fix typo in redirection and correct removal of test
14268 files in two cases.
14269
cc9e536d
UD
14270 [BZ #12788]
14271 * locale/setlocale.c (new_composite_name): Fix test to check for
14272 identical name of all categories.
14273
aec84f53
UD
14274 [BZ #12792]
14275 * libio/filedoalloc.c (local_isatty): New function.
14276 (_IO_file_doallocate): Use local_isatty.
14277 * stdio-common/perror.c (perror): In case a new stream is used
14278 forward the stream error.
14279 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14280 error flag.
14281
78e64fdc
RT
142822011-05-20 Ulrich Drepper <drepper@gmail.com>
14283
34a9094f
UD
14284 [BZ #11869]
14285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14286 alloca.
14287 * include/alloca.h (extend_alloca_account): Define.
14288
78e64fdc
RT
14289 [BZ #11857]
14290 * posix/regex.h: Fix comments with documentation of user-accessible
14291 fields after compilation and describe correct free'ing of pattern
14292 after re_compile_pattern.
14293 Patch by Reuben Thomas <rrt@sc3d.org>.
14294
457bddfc
RA
142952011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14296
14297 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14298 and -mno-altivec to prevent the compiler from using Altivec and/or
14299 VSX instructions when the corresponding registers are not available.
14300
a4527b51
AS
143012011-05-19 Andreas Schwab <schwab@redhat.com>
14302
14303 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14304
ed690b2f
UD
143052011-05-19 Ulrich Drepper <drepper@gmail.com>
14306
14307 * libio/freopen.c (freopen): Use __dup2, not dup2.
14308 * libio/freopen64.c (freopen64): Likewise.
14309
8db73634
L
143102011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14311
14312 [BZ #12775]
14313 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14314 * math/Makefile (tests): Add test-powl.
14315 (CFLAGS-test-powl.c): Define.
14316 * math/test-powl.c: New file.
14317
0a197a9d
L
143182011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14319
14320 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14321
ee30c380
UD
143222011-05-17 Ulrich Drepper <drepper@gmail.com>
14323
14324 [BZ #11837]
14325 * iconvdata/gb18030.c: Update to GB18020-2005.
14326
6ce75379
UD
143272011-05-16 Ulrich Drepper <drepper@gmail.com>
14328
a4b89fd8
AR
14329 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14330 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14331 Patch by Aharon Robbins <arnold@skeeve.com>.
14332
ea389b12
UD
14333 [BZ #11892]
14334 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14335 on the stack.
14336
68a3f91f
UD
14337 [BZ #11895]
14338 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14339 through underflows.
14340
15cc7dd1
UD
14341 [BZ #12766]
14342 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14343 point to strings before performing equality test for error_one_per_line
14344 mode.
14345
f3799213
UD
14346 [BZ #11697]
14347 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14348
d79a9c94
UD
14349 [BZ #11820]
14350 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14351 (struct user_fpregs_struct): Avoid __uint*_t types.
14352
56e5eb46
UD
14353 [BZ #6420]
14354 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14355 symbol info. Use it instead of calling _dl_addr locally.
14356 (lock_and_info): New function.
14357 (tr_freehook): Call lock_and_info and pass symbol info as additional
14358 parameter to tr_where.
14359 (tr_mallochook): Likewise.
14360 (tr_reallochook): Likewise.
14361 (tr_memalignhook): Likewise.
14362
6ce75379
UD
14363 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14364 used and couldn't be at all thread-safe.
14365
f8a3b5bf
UD
143662011-05-15 Ulrich Drepper <drepper@gmail.com>
14367
94b7cc37
UD
14368 * libio/freopen.c (freopen): Don't close old file descriptor
14369 before the new one is opened. Instead dup the new file descriptor
14370 to the old one after the new stream is created.
14371 * libio/freopen64.c (freopen64): Likewise.
14372 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14373 * libio/fileops.c (_IO_new_file_close_it): Handle new
14374 _IO_FLAGS2_NOCLOSE flag.
14375 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14376 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14377 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14378 _IO_FLAGS2_NOCLOSE flag.
14379 * include/unistd.h: Add hidden_proto for dup3.
14380 Define __have_dup3.
14381 * io/dup3.c: Define hidden symbol.
14382 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14383
bd25564e
UD
14384 [BZ #7101]
14385 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14386 when an incomplete long option is used.
14387 * posix/tst-getopt_long1.c: New file.
14388 * posix/Makefile (tests): Add tst-getopt_long1.
14389
c84cfef4
UD
14390 [BZ #10138]
14391 * scripts/config.guess: Update from autoconf-2.68.
14392 * scripts/config.sub: Likewise.
14393
3b85df27
UD
14394 [BZ #10157]
14395 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14396 tests into ...
14397 (has_cpuclock): ...this. New function.
14398 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14399 macro here based on has_cpuclock code.
14400
15a856b1
UD
14401 [BZ #10149]
14402 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14403 First byte (not low byte) is now always NUL.
14404 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14405
05f399e6
UD
14406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14407 Use non-cancelable interfaces.
14408
10a52685 14409 [BZ #9809]
94ecc67d
UD
14410 * locale/iso-639.def: Add entry for Sorani.
14411
f8a3b5bf
UD
14412 [BZ #11901]
14413 * include/stdlib.h: Move include protection to the right place.
14414 Define abort_msg_s. Declare __abort_msg with it.
14415 * stdlib/abort.c (__abort_msg): Adjust type.
14416 * assert/assert.c (__assert_fail_base): New function. Majority
14417 of code from __assert_fail. Allocate memory for __abort_msg with
14418 mmap.
14419 (__assert_fail): Now call __assert_fail_base.
14420 * assert/assert-perr.c: Remove bulk of implementation. Use
14421 __assert_fail_base.
14422 * include/assert.hL Declare __assert_fail_base.
14423 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14424 mmap.
14425 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14426
1af4e298
UD
144272011-05-14 Ulrich Drepper <drepper@gmail.com>
14428
f8a3b5bf 14429 [BZ #11952]
d26dfc60
MG
14430 [BZ #12453]
14431 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14432 until all modules are registered in the DTV.
14433 * elf/Makefile: Add rules to build and run tst-tls19.
14434 * elf/tst-tls19.c: New file.
14435 * elf/tst-tls19mod1.c: New file.
14436 * elf/tst-tls19mod2.c: New file.
14437 * elf/tst-tls19mod3.c: New file.
14438 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14439
2fc54d6f
UD
14440 [BZ #12083]
14441 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14442 correctly.
14443
98d76b46
UD
14444 [BZ #12601]
14445 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14446 two-byte sequence errors.
14447 * iconvdata/Makefile (tests): Add bug-iconv8.
14448 * iconvdata/bug-iconv8.c: New file.
14449
da3c19ef
UD
14450 [BZ #12626]
14451 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14452 buf2 definition.
14453
ca408c15
UD
14454 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14455
d6f67f7d
UD
14456 [BZ #12432]
14457 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14458 (dummy_getcfa): New function.
14459 (init): Get _Unwind_GetCFA address, use dummy if not found.
14460 (backtrace_helper): In recursion check, also check whether CFA changes.
14461 (__backtrace): Completely initialize arg.
14462
1af4e298 14463 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
14464 storing incomplete byte sequence in state object. Avoid testing for
14465 guaranteed too small input if we know there is enough data available.
1af4e298 14466
da62f81b
AS
144672011-05-11 Andreas Schwab <schwab@redhat.com>
14468
14469 * Makeconfig (+link-pie): Indent.
14470 * Rules (binaries-pie): Define if $(have-fpie) and
14471 $(build-shared).
14472 (binaries-shared): Also filter out $(binaries-pie).
14473 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14474 * nscd/Makefile (others-pie): Add nscd.
14475 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14476 ($(objpfx)nscd): Remove command override.
14477 * login/Makefile (others-pie): Add pt_chown.
14478 ($(objpfx)pt_chown): Remove command override.
14479 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14480 remove command overrides.
14481
fcabc0f8
UD
144822011-05-13 Ulrich Drepper <drepper@gmail.com>
14483
20030ae6
UD
14484 * libio/tst_putwc.c: Fix error messages.
14485
fcabc0f8
UD
14486 [BZ #12724]
14487 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14488 currently writing and seek to current position when not.
14489 * libio/Makefile (tests): Add bug-fclose1.
14490 * libio/bug-fclose1.c: New file.
14491
320a5dc0
PB
144922011-05-12 Ulrich Drepper <drepper@gmail.com>
14493
14494 [BZ #12511]
14495 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14496 don't set DF_1_NODELETE here.
14497 (do_lookup_x): When entering new entry test for copy relocation
14498 and if necessary set DF_1_NODELETE flag.
14499 * elf/tst-unique4.cc: New file.
14500 * elf/tst-unique4.h: New file.
14501 * elf/tst-unique4lib.cc: New file.
14502 * elf/Makefile: Add rules to build and run tst-unique4.
14503 Patch by Piotr Bury <pbury@goahead.com>.
14504
22836f52
UD
145052011-05-11 Ulrich Drepper <drepper@gmail.com>
14506
f574184a
UD
14507 [BZ #12052]
14508 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14509
e1fb097f
UD
14510 [BZ #12625]
14511 * misc/mntent_r.c (addmntent): Flush the stream after the output
14512
22836f52
UD
14513 [BZ #12393]
14514 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14515 (is_trusted_path_normalize): Skip initial colon. Append slash
14516 to empty buffer. Duplicate is_trusted_path code but allow
14517 constructed patch to be prefix.
14518 (is_dst): Allow $ORIGIN followed by /.
14519 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14520 Correct testing of result of is_trusted_path_normalize
14521 (decompose_rpath): Fix warning.
14522
7b3b0b2a
UD
145232011-05-10 Ulrich Drepper <drepper@gmail.com>
14524
14525 [BZ #11257]
14526 * grp/initgroups.c (internal_getgrouplist): When we found the service
14527 list through the initgroups entry in nsswitch.conf do not always
14528 continue on a successful lookup. Don't always use the
eac80ce2 14529 __nss_group_database value if it is set.
7b3b0b2a
UD
14530 * nss/nsswitch.conf (initgroups): Change action for successful db
14531 lookup to continue for compatibility.
14532
2a81eaa5
UD
145332011-05-09 Ulrich Drepper <drepper@gmail.com>
14534
be97a69e
UD
14535 [BZ #11532]
14536 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14537 and CP774 modules.
14538 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14539 and CP774 modules.
14540 * iconvdata/tst-tables.sh: Likewise.
14541 * iconvdata/cp770.c: New file.
14542 * iconvdata/cp771.c: New file.
14543 * iconvdata/cp772.c: New file.
14544 * iconvdata/cp773.c: New file.
14545 * iconvdata/cp774.c: New file.
14546 * iconvdata/testdata/CP770: New file.
14547 * iconvdata/testdata/CP770..UTF8: New file.
14548 * iconvdata/testdata/CP771: New file.
14549 * iconvdata/testdata/CP771..UTF8: New file.
14550 * iconvdata/testdata/CP772: New file.
14551 * iconvdata/testdata/CP772..UTF8: New file.
14552 * iconvdata/testdata/CP773: New file.
14553 * iconvdata/testdata/CP773..UTF8: New file.
14554 * iconvdata/testdata/CP774: New file.
14555 * iconvdata/testdata/CP774..UTF8: New file.
14556
14557 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
14558 END CHARMAP line.
14559 * iconvdata/gen-8bit-gap.sh: Likewise.
14560 * iconvdata/gen-8bit.sh: Likewise.
14561
c1e9e399
UD
14562 * locale/iso-639.def: Add ary entry.
14563
24c55fb3 14564 [BZ #11258]
96b4b1b0
UD
14565 * locale/C-translit.h.in: Add U20A1 transliteration.
14566
bdc2f971
KB
14567 [BZ #12178]
14568 * locale/iso-639.def: Add wae entry.
14569 Patch by Kevin Bortis <bortis@translate-wae.ch>.
14570
2952b117
UD
14571 [BZ #12545]
14572 * locale/programs/localedef.c (construct_output_path): Use ssize_t
14573 for n.
14574
2a81eaa5
UD
14575 [BZ #12711]
14576 * locale/C-translit.h.in: Add entry for U20B9.
14577 Patch by pravin.d.s@gmail.com.
14578
28377d1b
UD
145792011-05-08 Ulrich Drepper <drepper@gmail.com>
14580
7fb90fb8
UD
14581 [BZ #12713]
14582 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
14583 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
14584 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
14585 in rtld. Use *stat64.
7fb90fb8 14586 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 14587 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 14588 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
14589 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
14590 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
14591 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
14592 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
14593 __fstatat64 macros.
7fb90fb8
UD
14594 * include/dirent.h: Add libc_hidden_proto for rewinddir.
14595 * dirent/rewinddir.c: Add libc_hidden_def.
14596 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 14597 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 14598
28377d1b
UD
14599 * include/dirent.h (__alloc_dir): Add flags parameter.
14600 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
14601 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
14602 __alloc_dir.
14603 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
14604 from fdopendir if O_CLOEXEC is already set.
14605
66bdbaa4
AM
146062011-03-15 Alan Modra <amodra@gmail.com>
14607
14608 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
14609 l_tls_firstbyte_offset non-zero. Save padding offset in
14610 l_tls_firstbyte_offset for later use.
14611 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
14612 freeing static tls block.
14613
95721191
JN
146142011-03-05 Jonathan Nieder <jrnieder@gmail.com>
14615
14616 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
14617 where #ifdef was intended. The intent is to prevent ARG_MAX from
14618 being defined by the kernel headers.
14619
f87dfb1f
UD
146202011-05-07 Ulrich Drepper <drepper@gmail.com>
14621
14622 [BZ #12734]
14623 * resolv/resolv.h: Define RES_NOTLDQUERY.
14624 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
14625 no-tld-query and set RES_NOTLDQUERY.
14626 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
14627 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
14628 modern BIND to search name as TLD unless forbidden.
14629
47c3cd7a
UD
146302011-05-07 Petr Baudis <pasky@suse.cz>
14631 Ulrich Drepper <drepper@gmail.com>
14632
14633 [BZ #12393]
14634 * elf/dl-load.c (fillin_rpath): Move trusted path check...
14635 (is_trusted_path): ...to here.
c1e9ea35 14636 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 14637 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 14638 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 14639
8a35c912
PP
146402011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14641
14642 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
14643 __BEGIN/__END_DECLS.
14644
acd41f47
UD
146452011-05-06 Ulrich Drepper <drepper@gmail.com>
14646
14647 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
14648 NSS_STATUS_NOTFOUND if no record was found.
14649
597df647
AS
146502011-05-05 Andreas Schwab <schwab@redhat.com>
14651
14652 * sunrpc/Makefile (headers): Add rpc/netdb.h.
14653 (headers-not-in-tirpc): Remove rpc/netdb.h
14654 * resolv/netdb.h: Revert last change.
14655
b9af1301
PP
146562011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14657
14658 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
14659 circular dependency between libgcc.a and libc.a.
14660
4e34d5f5
AS
146612011-05-05 Andreas Schwab <schwab@redhat.com>
14662
14663 * resolv/netdb.h: Don't include <rpc/netdb.h>.
14664 * nis/Makefile: Don't install rpcsvc/*.
14665 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
14666 instead of <rpc/types.h>.
14667 (MAXHOSTNAMELEN): Define.
14668
00ee369c
AS
146692011-05-03 Andreas Schwab <schwab@redhat.com>
14670
14671 * elf/ldconfig.c (add_dir): Don't crash on empty path.
14672
0b592a30
MB
146732011-04-28 Maciej Babinski <mbabinski@google.com>
14674
14675 [BZ #12714]
14676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
14677 gethostbyname4_r when IPv6 results are possible.
14678
6e04cbbe
UD
146792011-05-02 Ulrich Drepper <drepper@gmail.com>
14680
14681 [BZ #12723]
14682 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14683 _PC_PIPE_BUF handling.
14684
e4ecafe0
BH
146852011-04-30 Bruno Haible <bruno@clisp.org>
14686
14687 [BZ #12717]
14688 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14689 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14690 to 'int'.
14691 * inet/getnameinfo.c (getnameinfo): Likewise.
14692
125ee683
UD
146932011-04-29 Ulrich Drepper <drepper@gmail.com>
14694
14695 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14696 to groups setting in database lookup.
14697 * nss/nsswitch.conf: Add initgroups entry.
14698
b722481a
EB
146992011-04-22 Ulrich Drepper <drepper@gmail.com>
14700
14701 [BZ #12685]
14702 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14703 mode string.
14704 Patch by Eric Blake <eblake@redhat.com>.
14705
4df46dbd
L
147062011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14707
14708 * sunrpc/Makefile (need-export-routines): Add svc_run.
14709 (routines): Remove svc_run.
14710 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14711 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14712 * sunrpc/svc_run.c (svc_run): Likewise.
14713 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14714
e84142d2
UD
147152011-04-21 Ulrich Drepper <drepper@gmail.com>
14716
14717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14718 problem in reallocation in last patch.
14719
877175d8
UD
147202011-04-20 Ulrich Drepper <drepper@gmail.com>
14721
14722 * sunrpc/Makefile: Move inclusion of Rules.
14723
ab8eed78
UD
147242011-04-19 Ulrich Drepper <drepper@gmail.com>
14725
14726 * nss/nss_files/files-initgroups.c: New file.
14727 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14728 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14729 _nss_files_initgroups_dyn.
14730
e3d8f584
RS
147312011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14732
14733 * elf/elf.h (R_ARM_IRELATIVE): Define.
14734
af190f45
UD
147352011-04-19 Ulrich Drepper <drepper@gmail.com>
14736
14737 * po/ru.po: Update from translation team.
14738
53cf59ef
UD
147392011-04-17 Ulrich Drepper <drepper@gmail.com>
14740
14741 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14742 dependencies.
14743
4c559bcd
MF
147442011-02-06 Mike Frysinger <vapier@gentoo.org>
14745
14746 [BZ #12653]
14747 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14748 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14749 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14750 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14751 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14752
4420675c
AS
147532011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14754
14755 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14756 differing bytes.
14757 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14758 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14759 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14760
75ea32ab
UD
147612011-04-17 Ulrich Drepper <drepper@gmail.com>
14762
14763 [BZ #12420]
14764 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14765 storing it.
14766 * stdlib/bug-getcontext.c: New file.
14767 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14768
27390476
AK
147692011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14770
14771 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14772 instructions into .machine "z9-109".
14773 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14774 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14775
10442705
AK
147762011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14777
14778 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14779 between environment variables and auxiliary vector.
14780
7b57bfe5
UD
147812011-04-16 Ulrich Drepper <drepper@gmail.com>
14782
14783 * Makefile: Add rules to build linkobj/libc.so.
14784 * include/libc-symbols.h: Define libc_hidden_nolink.
14785 * include/rpc/auth.h: Mark functions which are to be hidden.
14786 * include/rpc/auth_des.h: Likewise.
14787 * include/rpc/auth_unix.h: Likewise.
14788 * include/rpc/clnt.h: Likewise.
14789 * include/rpc/des_crypt.h: Likewise.
14790 * include/rpc/key_prot.h: Likewise.
14791 * include/rpc/pmap_clnt.h: Likewise.
14792 * include/rpc/pmap_prot.h: Likewise.
14793 * include/rpc/pmap_rmt.h: Likewise.
14794 * include/rpc/rpc_msg.h: Likewise.
14795 * include/rpc/svc.h: Likewise.
14796 * include/rpc/svc_auth.h: Likewise.
14797 * include/rpc/xdr.h: Likewise.
14798 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14799 * nss/Makefile: Likewise.
14800 * sunrpc/Makefile: Don't install headers. Build library with normal
14801 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14802 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14803 for the compat linking library. Remove use of INTDEF/INTUSE.
14804 * sunrpc/auth_none.c: Likewise.
14805 * sunrpc/auth_unix.c: Likewise.
14806 * sunrpc/authdes_prot.c: Likewise.
14807 * sunrpc/authuxprot.c: Likewise.
14808 * sunrpc/clnt_gen.c: Likewise.
14809 * sunrpc/clnt_perr.c: Likewise.
14810 * sunrpc/clnt_raw.c: Likewise.
14811 * sunrpc/clnt_simp.c: Likewise.
14812 * sunrpc/clnt_tcp.c: Likewise.
14813 * sunrpc/clnt_udp.c: Likewise.
14814 * sunrpc/clnt_unix.c: Likewise.
14815 * sunrpc/des_crypt.c: Likewise.
14816 * sunrpc/des_soft.c: Likewise.
14817 * sunrpc/get_myaddr.c: Likewise.
14818 * sunrpc/key_call.c: Likewise.
14819 * sunrpc/key_prot.c: Likewise.
14820 * sunrpc/netname.c: Likewise.
14821 * sunrpc/pm_getmaps.c: Likewise.
14822 * sunrpc/pm_getport.c: Likewise.
14823 * sunrpc/pmap_clnt.c: Likewise.
14824 * sunrpc/pmap_prot.c: Likewise.
14825 * sunrpc/pmap_prot2.c: Likewise.
14826 * sunrpc/pmap_rmt.c: Likewise.
14827 * sunrpc/publickey.c: Likewise.
14828 * sunrpc/rpc_cmsg.c: Likewise.
14829 * sunrpc/rpc_common.c: Likewise.
14830 * sunrpc/rpc_dtable.c: Likewise.
14831 * sunrpc/rpc_prot.c: Likewise.
14832 * sunrpc/rpc_thread.c: Likewise.
14833 * sunrpc/rtime.c: Likewise.
14834 * sunrpc/svc.c: Likewise.
14835 * sunrpc/svc_auth.c: Likewise.
14836 * sunrpc/svc_authux.c: Likewise.
14837 * sunrpc/svc_raw.c: Likewise.
14838 * sunrpc/svc_run.c: Likewise.
14839 * sunrpc/svc_simple.c: Likewise.
14840 * sunrpc/svc_tcp.c: Likewise.
14841 * sunrpc/svc_udp.c: Likewise.
14842 * sunrpc/svc_unix.c: Likewise.
14843 * sunrpc/svcauth_des.c: Likewise.
14844 * sunrpc/xcrypt.c: Likewise.
14845 * sunrpc/xdr.c: Likewise.
14846 * sunrpc/xdr_array.c: Likewise.
14847 * sunrpc/xdr_float.c: Likewise.
14848 * sunrpc/xdr_intXX_t.c: Likewise.
14849 * sunrpc/xdr_mem.c: Likewise.
14850 * sunrpc/xdr_rec.c: Likewise.
14851 * sunrpc/xdr_ref.c: Likewise.
14852 * sunrpc/xdr_sizeof.c: Likewise.
14853 * sunrpc/xdr_stdio.c: Likewise.
14854
e6c61494
UD
148552011-04-10 Ulrich Drepper <drepper@gmail.com>
14856
14857 [BZ #12650]
14858 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14859 * sysdeps/ia64/dl-tls.h: Likewise.
14860 * sysdeps/powerpc/dl-tls.h: Likewise.
14861 * sysdeps/s390/dl-tls.h: Likewise.
14862 * sysdeps/sh/dl-tls.h: Likewise.
14863 * sysdeps/sparc/dl-tls.h: Likewise.
14864 * sysdeps/x86_64/dl-tls.h: Likewise.
14865 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14866
34fe483e
AS
148672011-03-14 Andreas Schwab <schwab@redhat.com>
14868
14869 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14870 rpath element also skip the following colon.
14871 (expand_dynamic_string_token): Add is_path parameter and pass
14872 down to DL_DST_REQUIRED and _dl_dst_substitute.
14873 (decompose_rpath): Call expand_dynamic_string_token with
14874 non-zero is_path. Ignore empty rpaths.
14875 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14876 with zero is_path.
14877
f12a32e6
AS
148782011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14879
14880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14881 Make cancelable.
14882
38a7d692
UD
148832011-04-09 Ulrich Drepper <drepper@gmail.com>
14884
14885 [BZ #12655]
14886 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14887 Patch by Filipe David Manana <fdmanana@apache.org>.
14888
e451d22b
AS
148892011-04-07 Andreas Schwab <schwab@redhat.com>
14890
14891 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14892 Maintain aligned stack.
14893 (CHECK_RSP): Remove unused macro.
14894
dedc7c7b
UD
148952011-04-03 Ulrich Drepper <drepper@gmail.com>
14896
14897 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14898 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14899
94521213
UD
149002011-04-02 Ulrich Drepper <drepper@gmail.com>
14901
14902 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14903
8cb700c0 14904 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14905
0354e355
L
149062011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14907
14908 [BZ #12518]
14909 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14910 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14911 * sysdeps/x86_64/memmove.c: New file.
14912 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14913 (memcpy): Renamed to ...
14914 (__new_memcpy): This.
14915 (memcpy): Provide GLIBC_2_14 memcpy.
14916 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14917 (memcpy): Provide GLIBC_2_2_5 memcpy.
14918
8593482f
UD
149192011-04-01 Ulrich Drepper <drepper@gmail.com>
14920
14921 [BZ #12631]
14922 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14923
81a5726b
AS
149242011-03-30 Andreas Schwab <schwab@redhat.com>
14925
14926 * misc/syncfs.c: New file.
14927 * misc/Makefile (routines): Add syncfs.
14928 * posix/unistd.h: Declare syncfs.
14929 * sysdeps/unix/syscalls.list: Add syncfs.
14930
00e5419f
AS
149312011-04-01 Andreas Schwab <schwab@redhat.com>
14932
14933 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14934 open_by_handle_at.
14935 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14936 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14938 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14940 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14941 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14942
748876bf
UD
149432011-04-01 Ulrich Drepper <drepper@gmail.com>
14944
658e451d
UD
14945 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14946 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14947 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14948 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14949 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14951 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14952
748876bf
UD
14953 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14954 sync_file_range.c with -fexceptions.
14955 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14956 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14957 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14958 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14959 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14960 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14961 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14962 sync_file_range as cancellation point
14963 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14964 now a wrapper around __call_sync_file_range with cancellation handling.
14965 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14966 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14967 function name to __call_sync_file_range.
14968 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14969 Add call_sync_file_range.
748876bf 14970
6e63d5e1
AS
149712011-04-01 Andreas Schwab <schwab@redhat.com>
14972
14973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14974 bits/timex.h.
6e63d5e1 14975
46998f74
UD
149762011-04-01 Ulrich Drepper <drepper@gmail.com>
14977
4c1423ed
UD
14978 * iconv/iconv.h: Fix typo in comment.
14979 * io/fcntl.h: Likewise.
14980 * libio/stdio.h: Likewise.
14981 * posix/spawn.h: Likewise.
14982 * posix/unistd.h: Likewise.
14983 * stdlib/stdlib.h: Likewise.
14984 * time/time.h: Likewise.
14985 * wcsmbs/wchar.h: Likewise.
14986
158648c0
UD
14987 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14988 open_by_handle): Add.
14989 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14990 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14991 Augment a few comments.
14992 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14993 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14994 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14995 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14996 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14997 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14998 open_by_handle.
14999
46998f74
UD
15000 * io/fcntl.h (AT_EMPTY_PATH): Define.
15001
83fe108b
UD
150022011-03-30 Ulrich Drepper <drepper@gmail.com>
15003
15004 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15005 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15006 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15007 to...
15008 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15009 * Versions.def: Add GLIBC_2.14.
15010 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15011 Export.
83fe108b 15012
bb242059
UD
150132011-03-22 Ulrich Drepper <drepper@gmail.com>
15014
15015 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15016 round counter.
15017 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15018
c97a1282
L
150192011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15020
15021 [BZ #12597]
15022 * string/test-strncmp.c (do_page_test): New function.
15023 (check2): Likewise.
15024 (test_main): Call check2.
15025 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15026
2a115601
UD
150272011-03-20 Ulrich Drepper <drepper@gmail.com>
15028
15029 [BZ #12587]
15030 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15031 Handle cache information in CPU leaf 4.
15032 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15033
8126d904
UD
150342011-03-18 Ulrich Drepper <drepper@gmail.com>
15035
042c49c6 15036 [BZ #12583]
8126d904
UD
15037 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15038 character representation.
15039 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15040
ccfe366e
RA
150412011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15042
15043 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15044 END(__isnan) to END(__isnanf) to match function entry point/label
15045 EALIGN(__isnanf,...).
15046
c6e13027
JJ
150472011-03-10 Jakub Jelinek <jakub@redhat.com>
15048
15049 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15050
33f85a3f
UD
150512011-03-10 Ulrich Drepper <drepper@gmail.com>
15052
028478fa
UD
15053 [BZ #12510]
15054 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15055 copy from the symbol referenced in the relocation to initialize the
15056 used variable.
15057 Patch by Piotr Bury <pbury@goahead.com>.
15058 * elf/Makefile: Add rules to build and tst-unique3.
15059 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15060 * elf/tst-unique3.cc: New file.
15061 * elf/tst-unique3.h: New file.
15062 * elf/tst-unique3lib.cc: New file.
15063 * elf/tst-unique3lib2.cc: New file.
15064
33f85a3f
UD
15065 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15066
03592fc7
MF
150672011-03-10 Mike Frysinger <vapier@gentoo.org>
15068
15069 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15070 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15071 to _start.
03592fc7 15072
6a5ee102
UD
150732011-03-06 Ulrich Drepper <drepper@gmail.com>
15074
15075 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15076 to-be-loaded object along a path to loader is ld.so.
15077
7e4ba49c
HJ
150782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15079 Ulrich Drepper <drepper@gmail.com>
15080
15081 * sysdeps/x86_64/memset.S: After aligning destination, code
15082 branches to different locations depending on the value of
15083 misalignment, when multiarch is enabled. Fix this.
15084
150852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15086
15087 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15088 Set _x86_64_preferred_memory_instruction for AMD processsors.
15089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15090 Set bit_Prefer_SSE_for_memop for AMD processors.
15091
13a804de
UD
150922011-03-04 Ulrich Drepper <drepper@gmail.com>
15093
15094 * libio/fmemopen.c (fmemopen): Optimize a bit.
15095
9d25c392
AS
150962011-03-03 Andreas Schwab <schwab@redhat.com>
15097
15098 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15099
a5543c6a
RM
151002011-03-03 Roland McGrath <roland@redhat.com>
15101
15102 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15103
012d35f7
DM
151042011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15105
7e4ba49c 15106 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
15107 __bzero_ultra1 instead of __memset_ultra1.
15108
4bff6e01
AS
151092011-02-23 Andreas Schwab <schwab@redhat.com>
15110 Ulrich Drepper <drepper@gmail.com>
15111
15112 [BZ #12509]
15113 * include/link.h (struct link_map): Add l_orig_initfini.
15114 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15115 returning unsuccessfully.
15116 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15117 close of a file loaded at startup, restore the original l_initfini
15118 list.
15119 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15120 list, store the pointer.
15121 * elf/Makefile ($(objpfx)noload-mem): New rule.
15122 (noload-ENV): Define.
15123 (tests): Add $(objpfx)noload-mem.
15124 * elf/noload.c: Include <memcheck.h>.
15125 (main): Call mtrace. Close all opened handles.
15126
f2092faf
AS
151272011-02-17 Andreas Schwab <schwab@redhat.com>
15128
15129 [BZ #12454]
15130 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15131 dependencies are missing.
15132
6c8a2e88
ST
151332011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15134
f2092faf 15135 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
15136 Hurd needs munmap.
15137 * sysdeps/mach/hurd/ifreq.h: New file.
15138
84a42118
PB
151392011-01-27 Petr Baudis <pasky@suse.cz>
15140 Ulrich Drepper <drepper@gmail.com>
15141
071f805e 15142 [BZ 12445]#
84a42118
PB
15143 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15144 to extend_alloca().
15145 * stdio-common/bug23.c: New file.
15146 * stdio-common/Makefile (tests): Add bug23.
15147
e23fe25b
AS
151482010-09-28 Andreas Schwab <schwab@redhat.com>
15149 Ulrich Drepper <drepper@gmail.com>
15150
15151 [BZ #12489]
15152 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15153 before performing relro protection. At old place add assertion
15154 to make sure nothing changed.
15155
d3f02e10
NS
151562011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15157 Glauber de Oliveira Costa <glommer@gmail.com>
15158
15159 * elf/elf.h: Add new ARM TLS relocs.
15160
d55fd7a5
RA
151612011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15162
15163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15164 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15165 cast from r3.
15166 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15167 'tests' variable.
15168 * sysdeps/wordsize-64/tst-writev.c: New file.
15169
2206397e
RA
151702011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15171
15172 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15173 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15174 insns in _dl_start to prevent a TOC reference before relocs are
15175 resolved.
15176
e9433893
UD
151772011-02-15 Ulrich Drepper <drepper@gmail.com>
15178
15179 [BZ #12469]
15180 * Makeconfig: Remove RANLIB definition.
15181 * Makerules: Don't use RANLIB.
15182 * aclocal.m4: Remove ranlib test.
15183 * configure.in: No need to check for ranlib.
15184 * elf/rtld-Rules: Don't use RANLIB.
15185
f75286c6
ST
151862011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15187
8e31c82d
ST
15188 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15189 protection macro.
15190 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15191 inclusion protection macro.
15192
f75286c6
ST
15193 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15194 SIGRTMIN and SIGRTMAX and print information in that case only when
15195 SIGRTMIN is defined.
15196
c1d0e639
JJ
151972011-02-11 Jakub Jelinek <jakub@redhat.com>
15198
15199 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15200 arginfo fn returning -1.
15201
15202 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15203 and thousands string is zero terminated.
15204
edf9294e
AS
152052011-02-03 Andreas Schwab <schwab@redhat.com>
15206
15207 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15208 sysdeps/unix/sysv/linux/bits/socket.h.
15209
2b7e92df
ST
152102011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15211
edf9294e
AS
15212 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15213 (__CPU_COUNT): Remove old macros.
15214 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15215 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15216 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
15217 (__sched_cpualloc, __sched_cpufree): Add declarations.
15218
a4c7ea7b
UD
152192011-02-05 Ulrich Drepper <drepper@gmail.com>
15220
15221 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15222 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15223 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15224 (readdhstai): Return value of addhstaiX call.
15225 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15226 (addgrbyX): Return value returned by cache_addgr.
15227 (readdgrbyname): Return value returned by addgrbyX.
15228 (readdgrbygid): Likewise.
15229 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15230 (addpwbyX): Return value returned by cache_addpw.
15231 (readdpwbyname): Return value returned by addhstbyX.
15232 (readdpwbyuid): Likewise.
15233 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15234 (addservbyX): Return value returned by cache_addserv.
15235 (readdservbyname): Return value returned by addservbyX:
15236 (readdservbyport): Likewise.
15237 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15238 (addhstbyX): Return value returned by cache_addhst.
15239 (readdhstbyname): Return value returned by addhstbyX.
15240 (readdhstbyaddr): Likewise.
15241 (readdhstbynamev6): Likewise.
15242 (readdhstbyaddrv6): Likewise.
15243 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15244 (readdinitgroups): Return value returned by addinitgroupsX.
15245 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15246 (prune_cache): Keep track of timeout value of re-added entries.
15247 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15248 * nscd/nscd.h: Adjust prototypes of readd* functions.
15249
a0bf67cc
RM
152502011-02-04 Roland McGrath <roland@redhat.com>
15251
15252 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15253 (nis_stats): Likewise.
15254 * nis/nis_modify.c (nis_modify): Likewise.
15255 * nis/nis_remove.c (nis_remove): Likewise.
15256 * nis/nis_add.c (nis_add): Likewise.
15257
15258 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15259
15260 * posix/fnmatch_loop.c: Add some consts.
15261
15262 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15263
435b95eb
L
152642011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15265
15266 [BZ #12460]
15267 * config.make.in (config-cflags-novzeroupper): Define.
15268 * configure.in: Substitute libc_cv_cc_novzeroupper.
15269 * elf/Makefile (AVX-CFLAGS): Define.
15270 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15271 (CFLAGS-tst-auditmod4a.c): Likewise.
15272 (CFLAGS-tst-auditmod4b.c): Likewise.
15273 (CFLAGS-tst-auditmod6b.c): Likewise.
15274 (CFLAGS-tst-auditmod6c.c): Likewise.
15275 (CFLAGS-tst-auditmod7b.c): Likewise.
15276 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15277
8517b15e
UD
152782011-02-02 Ulrich Drepper <drepper@gmail.com>
15279
15280 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15281 function to the callback.
15282 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15283
10a656fe
AS
152842011-02-02 Andreas Schwab <schwab@redhat.com>
15285
15286 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15287 of errno.
15288
968dad0a
UD
152892011-01-19 Ulrich Drepper <drepper@gmail.com>
15290
9f94d2ea 15291 [BZ #11724]
968dad0a
UD
15292 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15293 of constructors.
15294 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15295 of destructors.
15296 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15297
15298 [BZ #11724]
15299 * elf/Makefile: Add rules to build and run new test.
15300 * elf/tst-initorder.c: New file.
15301 * elf/tst-initorder.exp: New file.
15302 * elf/tst-initordera1.c: New file.
15303 * elf/tst-initordera2.c: New file.
15304 * elf/tst-initordera3.c: New file.
15305 * elf/tst-initordera4.c: New file.
15306 * elf/tst-initorderb1.c: New file.
15307 * elf/tst-initorderb2.c: New file.
15308 * elf/tst-order-a1.c: New file.
15309 * elf/tst-order-a2.c: New file.
15310 * elf/tst-order-a3.c: New file.
15311 * elf/tst-order-a4.c: New file.
15312 * elf/tst-order-b1.c: New file.
15313 * elf/tst-order-b2.c: New file.
15314 * elf/tst-order-main.c: New file.
15315 New test case by George Gensure <werkt0@gmail.com>.
15316
86e92359
UD
153172010-10-01 Andreas Schwab <schwab@redhat.com>
15318
15319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15320 decoding ACE if AI_CANONIDN.
15321
5d5732b0
UD
153222011-01-18 Ulrich Drepper <drepper@gmail.com>
15323
15324 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15325
a77e8cbc
UD
153262011-01-17 Ulrich Drepper <drepper@gmail.com>
15327
6392473f
UD
15328 * version.h (RELEASE): Bump for 2.13 release.
15329 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15330
620a0529
UD
15331 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15332
18ba70a5
UD
15333 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15334 MADV_NOHUGEPAGE.
32465c3e
UD
15335 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15336 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15337 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15338 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15339 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15340 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15341
c0dafcf1
UD
15342 * posix/getconf.c: Update copyright year.
15343 * catgets/gencat.c: Likewise.
15344 * csu/version.c: Likewise.
15345 * debug/catchsegv.sh: Likewise.
15346 * debug/xtrace.sh: Likewise.
15347 * elf/ldconfig.c: Likewise.
15348 * elf/ldd.bash.in: Likewise.
15349 * elf/sprof.c (print_version): Likewise.
15350 * iconv/iconv_prog.c: Likewise.
15351 * iconv/iconvconfig.c: Likewise.
15352 * locale/programs/locale.c: Likewise.
15353 * locale/programs/localedef.c: Likewise.
15354 * malloc/memusage.sh: Likewise.
15355 * malloc/mtrace.pl: Likewise.
15356 * nscd/nscd.c (print_version): Likewise.
15357 * nss/getent.c: Likewise.
15358
a77e8cbc
UD
15359 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15360 PF_CAIF, and PF_ALG.
15361 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15362
77e8bddf
AS
153632011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15364
1f20b93a
AS
15365 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15366 (modules-names): Use them.
15367 (ifunc-test-modules, ifunc-pie-tests): Define.
15368 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15369 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15370 (test-extras): Likewise.
15371 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15372 $(compile-command.c).
15373 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15374 (all-built-dso): Define.
15375 (check-textrel.out, check-execstack.out): Depend on it.
15376
77e8bddf
AS
15377 * configure.in: Don't override --enable-multi-arch.
15378
bc425b33
UD
153792011-01-15 Ulrich Drepper <drepper@gmail.com>
15380
15381 [BZ #6812]
15382 * nscd/hstcache.c (tryagain): Define.
15383 (cache_addhst): Return tryagain not notfound for temporary errors.
15384 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15385 failed.
15386
794c3ad3
UD
153872011-01-14 Ulrich Drepper <drepper@gmail.com>
15388
70181fdd
UD
15389 [BZ #10563]
15390 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15391 to make the syscall.
15392 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15393
794c3ad3
UD
15394 [BZ #12378]
15395 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15396 and fall back to matching as normal character if the string ends before
15397 the matching ']' is found. This is what POSIX requires.
15398 * posix/testfnm.c: Adjust test result.
15399 * posix/globtest.sh: Adjust test result. Add new test.
15400 * posix/tst-fnmatch.input: Likewise.
15401 * posix/tst-fnmatch2.c: Add new test.
15402
68dc9497
AS
154032010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15404
15405 * elf/Makefile (check-execstack): Revert last change. Depend on
15406 check-execstack.h.
15407 (check-execstack.h): New target.
15408 (generated): Add check-execstack.h.
15409 * elf/check-execstack.c: Include "check-execstack.h".
15410 (main): Revert last change.
15411 (handle_file): Return zero if GNU_STACK is absent and
15412 DEFAULT_STACK_PERMS doesn't include PF_X.
15413
451f001b
UD
154142011-01-13 Ulrich Drepper <drepper@gmail.com>
15415
cfa28e56
UD
15416 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15417 in child fails because the descriptor is already closed.
8cf8ce17
UD
15418 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15419 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15420 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 15421
1086d70d
UD
15422 [BZ #12397]
15423 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15424 syscall.
15425
451f001b
UD
15426 [BZ #10484]
15427 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15428 temporary buffer used to handle multi lookups locally.
a85b5cb4 15429 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 15430
08769175
UD
154312011-01-12 Ulrich Drepper <drepper@gmail.com>
15432
15433 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15434 loader is ld.so.
15435
5e49c52e
UD
154362011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15437
15438 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15439 alignment for SSE2.
15440
60522a5f
UD
154412011-01-12 Ulrich Drepper <drepper@gmail.com>
15442
15443 [BZ #12394]
15444 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15445 characters. When rounding increased number of integer digits recompute
15446 number of groups.
15447 * stdio-common/tst-grouping.c: New file.
15448 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15449
f257bbd7
UD
154502011-01-09 Ulrich Drepper <drepper@gmail.com>
15451
15452 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15453 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15454
15455 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15456 void.
15457 * bits/select.h: Likewise.
15458
fa9c15cb
UD
154592011-01-08 Ulrich Drepper <drepper@gmail.com>
15460
15461 * po/ja.po: Update from translation team.
15462
16c2895f
DM
154632011-01-04 David S. Miller <davem@sunset.davemloft.net>
15464
15465 [BZ #11155]
15466 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15467 implementation just like for lxstat, fxstatat, et al.
15468
2543fef2
JM
154692010-12-27 Jim Meyering <meyering@redhat.com>
15470
15471 [BZ #12348]
15472 * posix/regexec.c (build_trtable): Return failure indication upon
15473 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15474
98727dbe
UD
154752010-12-25 Ulrich Drepper <drepper@gmail.com>
15476
5bd6dc5c
UD
15477 [BZ #12201]
15478 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15479 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15480 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15481 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15482
97983464
UD
15483 [BZ #12207]
15484 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15485
98727dbe
UD
15486 [BZ #12204]
15487 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15488 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15489
4a531bb0
L
154902010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15491
15492 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15493 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15494 script has SORT_BY_INIT_PRIORITY.
15495 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15496 NO_CTORS_DTORS_SECTIONS is defined.
15497 * elf/soinit.c: Likewise.
15498 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15499 NO_CTORS_DTORS_SECTIONS is defined.
15500 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15501 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15502 * sysdeps/sh/init-first.c: Likewise.
15503 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15504
07eb4b71
UD
155052010-12-24 Ulrich Drepper <drepper@gmail.com>
15506
15507 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15508 always use the slow path.
15509
30950a5f
RA
155102010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15511
15512 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15513 similar rule which adds the sysdep directories to the header search in
15514 order to pick up the correct platform stackinfo.h.
15515 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15516 perform test if it is, otherwise return successfully without testing.
15517 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15518 DEFAULT_STACK_PERMS define in stackinfo.h.
15519 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15520 defined in stackinfo.h.
15521 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15522 DEFAULT_STACK_PERMS defined in stackinfo.h.
15523 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15524 * sysdeps/ia64/stackinfo.h: Likewise.
15525 * sysdeps/s390/stackinfo.h: Likewise.
15526 * sysdeps/sh/stackinfo.h: Likewise.
15527 * sysdeps/sparc/stackinfo.h: Likewise.
15528 * sysdeps/x86_64/stackinfo.h: Likewise.
15529 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15530 PF_X for powerpc64. Retain PF_X for powerpc32.
15531
db753e2c
UD
155322010-12-19 Ulrich Drepper <drepper@gmail.com>
15533
14b697f7
UD
15534 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15535 accurately.
db753e2c
UD
15536 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15537 GETDENTS_64BIT_ALIGNED.
15538
28300719
UD
155392010-12-14 Ulrich Drepper <dreper@gmail.com>
15540
14b697f7 15541 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 15542
4f197237
AS
155432010-12-10 Andreas Schwab <schwab@redhat.com>
15544
dbb0472f
AS
15545 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
15546 _GNU_SOURCE.
15547
4f197237
AS
15548 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
15549 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
15550 Remove __restrict.
15551 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
15552 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
15553
fb88ac72
UD
155542010-12-09 Ulrich Drepper <drepper@gmail.com>
15555
15556 [BZ #11655]
15557 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
15558 are initialized.
15559
42acbb92
JJ
155602010-12-09 Jakub Jelinek <jakub@redhat.com>
15561
15562 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
15563
c038d98d
UD
155642010-12-03 Ulrich Drepper <drepper@gmail.com>
15565
15566 * po/it.po: Update from translation team.
15567
3a4a2499
L
155682010-12-01 H.J. Lu <hongjiu.lu@intel.com>
15569
15570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
15571 unused codes.
15572
1e24cf6e
UD
155732010-11-30 Ulrich Drepper <drepper@gmail.com>
15574
15575 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
15576
a7690819
AS
155772010-11-24 Andreas Schwab <schwab@redhat.com>
15578
15579 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
15580 specially.
15581 (gaih_getanswer_slice): Likewise.
15582
3bf8d1b1
JJ
155832010-10-20 Jakub Jelinek <jakub@redhat.com>
15584
15585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
15586
6db52fbb
PB
155872010-05-31 Petr Baudis <pasky@suse.cz>
15588
15589 [BZ #11149]
15590 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
15591 silently even in the chroot mode.
15592
eaca7569
UD
155932010-11-22 Ulrich Drepper <drepper@gmail.com>
15594
15595 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
15596 last patch a bit. Pretty printing
15597
3056dcdb
UD
155982010-05-31 Petr Baudis <pasky@suse.cz>
15599
15600 [BZ #10085]
15601 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
15602 initialization of skip_initgroups_dyn.
15603
cf7c9078
UD
156042010-11-19 Ulrich Drepper <drepper@gmail.com>
15605
15606 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
15607 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15608
a1fb5e3e
UD
156092010-11-16 Ulrich Drepper <drepper@gmail.com>
15610
15611 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
15612
3540d66b
AS
156132010-11-11 Andreas Schwab <schwab@redhat.com>
15614
15615 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
15616 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
15617 (tst-fnmatch-ENV): Set MALLOC_TRACE.
15618 ($(objpfx)tst-fnmatch-mem): New rule.
15619 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
15620 * posix/tst-fnmatch.c (main): Call mtrace.
15621
13b69574
L
156222010-11-11 H.J. Lu <hongjiu.lu@intel.com>
15623
15624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15625 Support Intel processor model 6 and model 0x2c.
15626
da93d214
LM
156272010-11-10 Luis Machado <luisgpm@br.ibm.com>
15628
15629 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
15630 signed comparison.
15631
8ca52c6e
L
156322010-11-09 H.J. Lu <hongjiu.lu@intel.com>
15633
15634 [BZ #12205]
15635 * string/test-strncasecmp.c (check_result): New function.
15636 (do_one_test): Use it.
15637 (check1): New function.
15638 (test_main): Use it.
15639 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
15640 Support strcasecmp and strncasecmp.
15641
69da074d
UD
156422010-11-08 Ulrich Drepper <drepper@gmail.com>
15643
15644 [BZ #12194]
15645 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
15646 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15647
ff02d528
L
156482010-11-07 H.J. Lu <hongjiu.lu@intel.com>
15649
15650 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
15651 IFUNC support.
15652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15653 memset-x86-64.
15654 * sysdeps/x86_64/multiarch/bzero.S: New file.
15655 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
15656 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
15657 * sysdeps/x86_64/multiarch/memset.S: New file.
15658 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
15659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15660 Set bit_Prefer_SSE_for_memop for Intel processors.
15661 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
15662 Define.
15663 (index_Prefer_SSE_for_memop): Define.
15664 (HAS_PREFER_SSE_FOR_MEMOP): Define.
15665
344d0b54
LM
156662010-11-04 Luis Machado <luisgpm@br.ibm.com>
15667
15668 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
15669 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
15670
c0dde15b
UD
156712010-11-03 H.J. Lu <hongjiu.lu@intel.com>
15672
15673 [BZ #12191]
15674 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15675 (__x86_64_raw_data_cache_size_half): Likewise.
15676 (__x86_64_raw_shared_cache_size): Likewise.
15677 (__x86_64_raw_shared_cache_size_half): Likewise.
15678
15679 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
15680 (__x86_64_raw_data_cache_size_half): Likewise.
15681 (__x86_64_raw_shared_cache_size): Likewise.
15682 (__x86_64_raw_shared_cache_size_half): Likewise.
15683 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15684 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15685 and __x86_64_raw_shared_cache_size_half. Round
15686 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15687 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15688 to multiple of 256 bytes.
15689
0e516e0e
MS
156902010-11-03 Ulrich Drepper <drepper@gmail.com>
15691
15692 [BZ #12167]
15693 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15694 of inacessible symlinks. Verify result of symlink before returning it.
15695 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15696 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15697
0e012e87
ER
156982010-10-28 Erich Ritz <erichritz@gmail.com>
15699
15700 * math/math.h (isinf): Fix typo in comment.
15701
de0ff7bc
UD
157022010-11-01 Ulrich Drepper <drepper@gmail.com>
15703
15704 * po/da.po: Update from translation team.
15705
fa41c84d
UD
157062010-10-26 Ulrich Drepper <drepper@gmail.com>
15707
15708 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15709 is added to the list.
15710
f0967738
AK
157112010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15712 Ulrich Drepper <drepper@gmail.com>
15713
15714 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15715 the global list here. Move code to...
15716 (_dl_add_to_namespace_list): ...here. New function.
15717 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15718 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15719 * elf/dl-load.c (lose): Don't remove the element from the list.
15720 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15721 (_dl_map_object): Likewise.
15722
157232010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
15724
15725 [BZ #12159]
15726 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15727 into all bytes of SSE register.
15728 Patch by Richard Li <richardpku@gmail.com>.
15729
f0967738 157302010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
15731
15732 [BZ #12140]
15733 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15734 perturbing.
15735
d0b9e94f
MB
157362010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15737
15738 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15739 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15740 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15741 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15743 submachine.
15744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15745
8e9f92e9
AS
157462010-10-22 Andreas Schwab <schwab@redhat.com>
15747
15748 * include/dlfcn.h (__RTLD_SECURE): Define.
15749 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15750 mode & __RTLD_SECURE instead.
15751 (open_path): Rename preloaded parameter to secure.
15752 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15753 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15754 * elf/dl-deps.c (openaux): Likewise.
15755 * elf/rtld.c (struct map_args): Remove is_preloaded.
15756 (map_doit): Don't use it.
15757 (dl_main): Likewise.
15758 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15759 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15760
bc96fbda
AS
157612010-09-09 Andreas Schwab <schwab@redhat.com>
15762
15763 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15764 (sysd-rules-targets): Remove duplicates.
15765 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15766 rtld-%.$o dependency.
15767
22cd1c9b
AS
157682010-10-18 Andreas Schwab <schwab@redhat.com>
15769
15770 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15771 _dl_map_object do it.
15772
18edac48
UD
157732010-10-19 Ulrich Drepper <drepper@gmail.com>
15774
15775 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15776 fast fma builtins, define the macros in the C99 standard.
15777 (FP_FAST_FMAF): Likewise.
15778 (FP_FAST_FMAL): Likewise.
15779 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15780
15781 * bits/mathdef.h: Update copyright year.
15782 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15783
d2050124
MM
157842010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15785
15786 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15787 builtins, define the macros in the C99 standard.
15788 (FP_FAST_FMAF): Likewise.
15789 (FP_FAST_FMAL): Likewise.
15790 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15791 multiply/add.
15792 (FP_FAST_FMAF): Likewise.
15793
475facd1
JJ
157942010-10-15 Jakub Jelinek <jakub@redhat.com>
15795
15796 [BZ #3268]
15797 * math/libm-test.inc (fma_test): Some new testcases.
15798 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15799 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15800 y and infinite z. Do multiplication by C already in long double.
15801 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15803 y and infinite z. Do bitwise or of inexact bit into u.d.
15804 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15805 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15806 * sysdeps/i386/fpu/s_fma.S: Removed.
15807 * sysdeps/i386/fpu/s_fmal.S: Removed.
15808
7c08a05c
JJ
158092010-10-16 Jakub Jelinek <jakub@redhat.com>
15810
15811 [BZ #3268]
15812 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15814 computation is not scheduled after fetestexcept. Fix value
15815 of minimum denormal long double.
15816
f3f7372d
JJ
158172010-10-14 Jakub Jelinek <jakub@redhat.com>
15818
15819 [BZ #3268]
15820 * math/libm-test.inc (fma_test): Add some more tests.
15821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15822 correctly.
15823
14d43591
AS
158242010-10-15 Andreas Schwab <schwab@redhat.com>
15825
15826 * scripts/data/localplt-s390-linux-gnu.data: New file.
15827 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15828
5e908464
JJ
158292010-10-13 Jakub Jelinek <jakub@redhat.com>
15830
15831 [BZ #3268]
15832 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15833 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15834 instead of dbl-64.
15835 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15836 inlines.
15837 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15839 if one of x and y is very large and the other is subnormal.
15840 * sysdeps/s390/fpu/s_fmaf.c: New file.
15841 * sysdeps/s390/fpu/s_fma.c: New file.
15842 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15843 * sysdeps/powerpc/fpu/s_fma.S: New file.
15844 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15845 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15846 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15847
158482010-10-12 Jakub Jelinek <jakub@redhat.com>
15849
15850 [BZ #3268]
15851 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15852 fma tests.
15853 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15854 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15855 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15856 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15857 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15858 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15859 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15860
b833d51f
UD
158612010-10-12 Ulrich Drepper <drepper@redhat.com>
15862
15863 [BZ #12078]
15864 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15865 * posix/bug-regex31.input: Add test case.
15866
1751705d
UD
158672010-10-11 Ulrich Drepper <drepper@gmail.com>
15868
e9b9cbf5
UD
15869 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15870 * posix/bug-regex31.input: New file.
15871
15872 [BZ #12078]
15873 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15874 (parse_sub_exp): Fix last change, use postorder.
15875
ef06edbe
UD
15876 * posix/bug-regex31.c: New file.
15877 * posix/Makefile: Add rules to build and run bug-regex31.
15878
a129c80d
UD
15879 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15880
15881 [BZ #12078]
15882 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15883
b76b818e
UD
15884 [BZ #12108]
15885 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15886 to have entries in sys_siglist.
15887
1751705d
UD
15888 [BZ #12093]
15889 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15890 be NULL.
15891
9ff8d36f
JJ
158922010-10-07 Jakub Jelinek <jakub@redhat.com>
15893
15894 [BZ #3268]
15895 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15896 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15897 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15898 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15899 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15900 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15901 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15902 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15903 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15904 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15905 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15906 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15907 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15908 * math/ftestexcept.c (fetestexcept): Likewise.
15909 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15910 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15911 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15912 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15913 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15914 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15915 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15916
af325969
UD
159172010-10-11 Ulrich Drepper <drepper@gmail.com>
15918
c579b202 15919 [BZ #12107]
af325969
UD
15920 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15921 newline.
15922
67a67b95
UD
159232010-10-06 Ulrich Drepper <drepper@gmail.com>
15924
15925 * string/bug-strstr1.c: New file.
15926 * string/Makefile: Add rules to build and run bug-strstr1.
15927
5fb308bc
EB
159282010-10-05 Eric Blake <eblake@redhat.com>
15929
15930 [BZ #12092]
15931 * string/str-two-way.h (two_way_long_needle): Always clear memory
15932 when skipping input due to the shift table.
15933
45db99c7
UD
159342010-10-03 Ulrich Drepper <drepper@gmail.com>
15935
3b111893
UD
15936 [BZ #12005]
15937 * malloc/mcheck.c: Handle large requests.
15938
45db99c7
UD
15939 [BZ #12077]
15940 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15941 for strncmp and strncasecmp.
15942 * string/stratcliff.c: Add tests for strcmp and strncmp.
15943 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15944
cf7a1eb8
NI
159452010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15946
15947 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15948 __set_fpscr.
15949
6484ba5e
AJ
159502010-09-30 Andreas Jaeger <aj@suse.de>
15951
15952 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15953 (CGROUP_SUPER_MAGIC): Define.
15954 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15955 Handle btrfs and cgroup file systems.
15956 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15957 Likewise.
15958
91c42559
LM
159592010-09-27 Luis Machado <luisgpm@br.ibm.com>
15960
15961 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15962 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15963
87a97932
AK
159642010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15965
15966 [BZ #12067]
15967 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15968 trying to locate the ELF header.
15969
c21cc9bc
AS
159702010-09-27 Andreas Schwab <schwab@redhat.com>
15971
15972 [BZ #11611]
15973 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15974 Mask out sign-bit copies when constructing f_fsid.
15975
315970f6
PB
159762010-09-24 Petr Baudis <pasky@suse.cz>
15977
15978 * debug/stack_chk_fail_local.c: Add missing licence exception.
15979 * debug/warning-nop.c: Likewise.
15980
1ac7a2c7
JM
159812010-09-15 Joseph Myers <joseph@codesourcery.com>
15982
15983 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15984 implementing getdents64 using getdents syscall, set d_type if
15985 __ASSUME_GETDENTS32_D_TYPE.
15986
56801c50
AS
159872010-09-16 Andreas Schwab <schwab@redhat.com>
15988
15989 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15990 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15991
dda51327
UD
159922010-09-21 Ulrich Drepper <drepper@redhat.com>
15993
15994 [BZ #12037]
15995 * posix/unistd.h: Undo change of feature selection for ftruncate from
15996 2010-01-11.
15997
8ffcee4a
UD
159982010-09-20 Ulrich Drepper <drepper@redhat.com>
15999
a545ecd9 16000 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16001 detection.
16002
e24f0a8b
AS
160032010-09-20 Andreas Schwab <schwab@redhat.com>
16004
16005 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16006 fanotify_mark.
16007 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16008
7291c56f
AS
160092010-09-14 Andreas Schwab <schwab@redhat.com>
16010
16011 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16012 variables after CHECK_SP call.
16013 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16014
bc5fb037
AS
160152010-09-13 Andreas Schwab <schwab@redhat.com>
16016 Ulrich Drepper <drepper@redhat.com>
16017
16018 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16019 re-relocationg ld.so.
16020 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16021 _dl_init_paths call.
16022 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16023 here anymore.
16024
e66e7419
UD
160252010-09-14 Ulrich Drepper <drepper@redhat.com>
16026
16027 * resolv/res_init.c (__res_vinit): Count the default server we added.
16028
c044aa75
CLT
160292010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16030 Ulrich Drepper <drepper@redhat.com>
16031
16032 [BZ #11968]
16033 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16034 (____longjmp_chk): Use %ebx for saving value across system call.
16035 Add unwind info.
16036
32cf4069
AS
160372010-09-06 Andreas Schwab <schwab@redhat.com>
16038
16039 * manual/Makefile: Don't mix pattern rules with normal rules.
16040
817328ee
AS
160412010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16042
16043 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16044 operation.
16045 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16046 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16047 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16048 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16049 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16050 Likewise.
16051
29fddf61
UD
160522010-09-04 Ulrich Drepper <drepper@redhat.com>
16053
16054 [BZ #11979]
16055 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16056 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16057
0959ffc9
UD
160582010-09-02 Ulrich Drepper <drepper@redhat.com>
16059
16060 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16061 * sysdeps/x86_64/addmul_1.S: Likewise.
16062 * sysdeps/x86_64/lshift.S: Likewise.
16063 * sysdeps/x86_64/mul_1.S: Likewise.
16064 * sysdeps/x86_64/rshift.S: Likewise.
16065 * sysdeps/x86_64/sub_n.S: Likewise.
16066 * sysdeps/x86_64/submul_1.S: Likewise.
16067
ece29840
ST
160682010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16069
0959ffc9
UD
16070 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16071 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16072 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16073 * bits/sched.h [__need_schedparam]
ece29840 16074 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16075 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16076 (__defined_schedparam): Define to 1.
ece29840
ST
16077 (__sched_param): New structure, identical to sched_param.
16078 (__need_schedparam): Undefine.
16079
e53a31fe
MF
160802010-08-31 Mike Frysinger <vapier@gentoo.org>
16081
fdc0c10d
MF
16082 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16083 (epoll_create1): Declare.
16084
e53a31fe
MF
16085 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16086
a726d796
AS
160872010-08-31 Andreas Schwab <schwab@redhat.com>
16088
16089 [BZ #7066]
16090 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16091 shifting retval into place.
16092
2f3e3dc7
UD
160932010-09-01 Ulrich Drepper <drepper@redhat.com>
16094
f2933da9
UD
16095 * nis/rpcsvc/nis.h: Update copyright notice.
16096 * nis/rpcsvc/nis.x: Likewise.
16097 * nis/rpcsvc/nis_callback.h: Likewise.
16098 * nis/rpcsvc/nis_callback.x: Likewise.
16099 * nis/rpcsvc/nis_object.x: Likewise.
16100 * nis/rpcsvc/nis_tags.h: Likewise.
16101 * nis/rpcsvc/yp.h: Likewise.
16102 * nis/rpcsvc/yp.x: Likewise.
16103 * nis/rpcsvc/ypupd.h: Likewise.
16104 * nis/yp_xdr.c: Likewise.
16105 * nis/ypupdate_xdr.c: Likewise.
16106
2f3e3dc7
UD
16107 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16108 mainly the body of pmap_getport. Add parameters to specify timeouts.
16109 (pmap_getport): Use __libc_rpc_getport.
16110 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16111 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16112 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16113
f3dcc2f9
AS
161142010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16115
16116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16117 fanotify_mark.
16118
6d34eb5b
RM
161192010-08-27 Roland McGrath <roland@redhat.com>
16120
16121 * sysdeps/i386/i686/multiarch/Makefile
16122 (CFLAGS-varshift.c): New variable.
16123
9ea3de11
UD
161242010-08-27 Ulrich Drepper <drepper@redhat.com>
16125
c96d23fc
UD
16126 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16127 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16128
9ea3de11
UD
16129 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16130
16131 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16132
623aac7f
L
161332010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16134
16135 * sysdeps/x86_64/strlen.S: Unroll the loop.
16136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16137 strlen-sse2 strlen-sse2-bsf.
16138 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16139 __strlen_no_bsf if bit_Slow_BSF is set.
16140 (__strlen_sse42): Removed.
16141 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16142 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16143
8b2b7715
RM
161442010-08-25 Roland McGrath <roland@redhat.com>
16145
16146 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16147 * sysdeps/x86_64/multiarch/varshift.c: New file.
16148 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16149 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16150 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16151 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16152
e73015f2
L
161532010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16154
16155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16156 strlen-sse2 strlen-sse2-bsf.
16157 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16158 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16159 (__strlen_sse2): Removed.
16160 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16161 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16163 bit_Slow_BSF for Atom.
16164 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16165 (index_Slow_BSF): Define.
16166 (HAS_SLOW_BSF): Define.
16167
df24a73e
UD
161682010-08-25 Ulrich Drepper <drepper@redhat.com>
16169
16170 [BZ #10851]
16171 * resolv/res_init.c (__res_vinit): When no server address at all
16172 is given default to loopback.
16173
f2ac4868
RM
161742010-08-24 Roland McGrath <roland@redhat.com>
16175
09055553
RM
16176 * configure.in: Remove config-name.h generation.
16177 * configure: Regenerated.
16178 * config-name.in: File removed.
16179 * scripts/config-uname.sh: New file.
16180 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16181 ($(objdir)config-name.h): New target.
16182
f2ac4868
RM
16183 * sunrpc/rpc_parse.h: Avoid nested comment.
16184
73f27d5e
RH
161852010-08-24 Richard Henderson <rth@redhat.com>
16186 Ulrich Drepper <drepper@redhat.com>
16187 H.J. Lu <hongjiu.lu@intel.com>
16188
16189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16190 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16191 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16192 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16193 _mm_alignr_epi8 with _mm_loadu_si128.
16194 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16195 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16196 (__m128i_shift_right): Removed.
16197 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16198 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16199 * sysdeps/x86_64/multiarch/varshift.h: New file.
16200 * sysdeps/x86_64/multiarch/varshift.S: New file.
16201
84b9230c
MF
162022010-08-21 Mike Frysinger <vapier@gentoo.org>
16203
16204 * configure.in: Move assembler checks to before sysdep dir checking.
16205
9bbd0ddc
PB
162062010-08-20 Petr Baudis <pasky@suse.cz>
16207
16208 * LICENSES: Sync the sunrpc license.
16209
9da4bb31
UD
162102010-08-19 Ulrich Drepper <drepper@redhat.com>
16211
a7ab6ec8
UD
16212 * sunrpc/auth_des.c: Update copyright notice once again.
16213 * sunrpc/auth_none.c: Likewise.
16214 * sunrpc/auth_unix.c: Likewise.
16215 * sunrpc/authdes_prot.c: Likewise.
16216 * sunrpc/authuxprot.c: Likewise.
16217 * sunrpc/bindrsvprt.c: Likewise.
16218 * sunrpc/clnt_gen.c: Likewise.
16219 * sunrpc/clnt_perr.c: Likewise.
16220 * sunrpc/clnt_raw.c: Likewise.
16221 * sunrpc/clnt_simp.c: Likewise.
16222 * sunrpc/clnt_tcp.c: Likewise.
16223 * sunrpc/clnt_udp.c: Likewise.
16224 * sunrpc/clnt_unix.c: Likewise.
16225 * sunrpc/des_crypt.c: Likewise.
16226 * sunrpc/des_soft.c: Likewise.
16227 * sunrpc/get_myaddr.c: Likewise.
16228 * sunrpc/getrpcport.c: Likewise.
16229 * sunrpc/key_call.c: Likewise.
16230 * sunrpc/key_prot.c: Likewise.
16231 * sunrpc/openchild.c: Likewise.
16232 * sunrpc/pm_getmaps.c: Likewise.
16233 * sunrpc/pm_getport.c: Likewise.
16234 * sunrpc/pmap_clnt.c: Likewise.
16235 * sunrpc/pmap_prot.c: Likewise.
16236 * sunrpc/pmap_prot2.c: Likewise.
16237 * sunrpc/pmap_rmt.c: Likewise.
16238 * sunrpc/rpc/auth.h: Likewise.
16239 * sunrpc/rpc/auth_unix.h: Likewise.
16240 * sunrpc/rpc/clnt.h: Likewise.
16241 * sunrpc/rpc/des_crypt.h: Likewise.
16242 * sunrpc/rpc/key_prot.h: Likewise.
16243 * sunrpc/rpc/netdb.h: Likewise.
16244 * sunrpc/rpc/pmap_clnt.h: Likewise.
16245 * sunrpc/rpc/pmap_prot.h: Likewise.
16246 * sunrpc/rpc/pmap_rmt.h: Likewise.
16247 * sunrpc/rpc/rpc.h: Likewise.
16248 * sunrpc/rpc/rpc_des.h: Likewise.
16249 * sunrpc/rpc/rpc_msg.h: Likewise.
16250 * sunrpc/rpc/svc.h: Likewise.
16251 * sunrpc/rpc/svc_auth.h: Likewise.
16252 * sunrpc/rpc/types.h: Likewise.
16253 * sunrpc/rpc/xdr.h: Likewise.
16254 * sunrpc/rpc_clntout.c: Likewise.
16255 * sunrpc/rpc_cmsg.c: Likewise.
16256 * sunrpc/rpc_common.c: Likewise.
16257 * sunrpc/rpc_cout.c: Likewise.
16258 * sunrpc/rpc_dtable.c: Likewise.
16259 * sunrpc/rpc_hout.c: Likewise.
16260 * sunrpc/rpc_main.c: Likewise.
16261 * sunrpc/rpc_parse.c: Likewise.
16262 * sunrpc/rpc_parse.h: Likewise.
16263 * sunrpc/rpc_prot.c: Likewise.
16264 * sunrpc/rpc_sample.c: Likewise.
16265 * sunrpc/rpc_scan.c: Likewise.
16266 * sunrpc/rpc_scan.h: Likewise.
16267 * sunrpc/rpc_svcout.c: Likewise.
16268 * sunrpc/rpc_tblout.c: Likewise.
16269 * sunrpc/rpc_util.c: Likewise.
16270 * sunrpc/rpc_util.h: Likewise.
16271 * sunrpc/rpcinfo.c: Likewise.
16272 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16273 * sunrpc/rpcsvc/key_prot.x: Likewise.
16274 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16275 * sunrpc/rpcsvc/mount.x: Likewise.
16276 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16277 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16278 * sunrpc/rpcsvc/rex.x: Likewise.
16279 * sunrpc/rpcsvc/rstat.x: Likewise.
16280 * sunrpc/rpcsvc/rusers.x: Likewise.
16281 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16282 * sunrpc/rpcsvc/spray.x: Likewise.
16283 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16284 * sunrpc/rtime.c: Likewise.
16285 * sunrpc/svc.c: Likewise.
16286 * sunrpc/svc_auth.c: Likewise.
16287 * sunrpc/svc_authux.c: Likewise.
16288 * sunrpc/svc_raw.c: Likewise.
16289 * sunrpc/svc_run.c: Likewise.
16290 * sunrpc/svc_simple.c: Likewise.
16291 * sunrpc/svc_tcp.c: Likewise.
16292 * sunrpc/svc_udp.c: Likewise.
16293 * sunrpc/svc_unix.c: Likewise.
16294 * sunrpc/svcauth_des.c: Likewise.
16295 * sunrpc/xcrypt.c: Likewise.
16296 * sunrpc/xdr.c: Likewise.
16297 * sunrpc/xdr_array.c: Likewise.
16298 * sunrpc/xdr_float.c: Likewise.
16299 * sunrpc/xdr_mem.c: Likewise.
16300 * sunrpc/xdr_rec.c: Likewise.
16301 * sunrpc/xdr_ref.c: Likewise.
16302 * sunrpc/xdr_sizeof.c: Likewise.
16303 * sunrpc/xdr_stdio.c: Likewise.
16304
9da4bb31
UD
16305 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16306 handling.
16307
bdaa77bc
AS
163082010-08-19 Andreas Schwab <schwab@redhat.com>
16309
16310 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16311
fe2f79db
LM
163122010-08-19 Luis Machado <luisgpm@br.ibm.com>
16313
16314 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16315 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16316 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16317 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16318 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16319 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16320 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16321 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16322 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16323 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16324 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16325 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16326 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16327 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16328
b9b42ee0
AB
163292010-07-26 Anton Blanchard <anton@samba.org>
16330
16331 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16332 * malloc/arena.c (heap_trim): Likewise.
16333
1c06ba31
UD
163342010-08-16 Ulrich Drepper <drepper@redhat.com>
16335
16336 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16337 here. Not...
16338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16339 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16340
f8392f40
L
163412010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16342
16343 * sysdeps/i386/elf/Makefile: New file.
16344
3162f12e
AS
163452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16346
16347 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16348 from fanotify_init.
16349 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16350 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16351
28c90b2c
UD
163522010-08-15 Ulrich Drepper <drepper@redhat.com>
16353
16354 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16355 of strncasecmp_l.
1feccb6c 16356 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 16357
ca6bb004
UD
163582010-08-14 Ulrich Drepper <drepper@redhat.com>
16359
e9f82e0d
UD
16360 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16361 strncase_l-nonascii.
16362 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16363 Add strncase_l-ssse3.
16364 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16365 * sysdeps/x86_64/strcmp.S: Likewise.
16366 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16367 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16368 * sysdeps/x86_64/strncase.S: New file.
16369 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16370 * sysdeps/x86_64/strncase_l.S: New file.
16371 * string/Makefile (strop-tests): Add strncasecmp.
16372 * string/test-strncasecmp.c: New file.
16373
16374 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16375 warning.
16376
ca6bb004
UD
16377 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16378 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16379
052fa7b3
AS
163802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16381
16382 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16383
962dba78
UD
163842010-08-12 Ulrich Drepper <drepper@redhat.com>
16385
16386 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16387 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16388 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16389
bebff237
AM
163902010-05-01 Alan Modra <amodra@gmail.com>
16391
16392 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16393 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16394 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16395 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16396 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16397 tidying. Don't tail-call __sigjmp_save for static lib.
16398 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16399 save location.
16400 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16401 (CALL_MCOUNT): Add eh info, and nop after bl.
16402 (TAIL_CALL_SYSCALL_ERROR): New macro.
16403 (PSEUDO_RET): Use it.
16404 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16405 Correct save location of integer regs and cr.
16406 (_dl_profile_resolve): Correct cr save location. Delete nops
16407 after bl when SHARED. Reduce cfi size a little by better
16408 placement of cfi directives.
16409 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16410 make a stack frame. Instead use parm save area as a temp.
16411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16412 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16414 Don't make a stack frame for parent, use parm save area.
16415 Increase child stack frame to 112 bytes. Don't save unused reg,
16416 and adjust reg usage. Set up cfi on error recovery and
16417 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16419 (__makecontext): Add dummy nop after jump to exit.
16420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16421 Use correct parm save area and cr save, reduce stack frame.
16422 Correct cfi for possible PSEUDO_RET frame setup.
16423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16424 Branch to local label emitted by PSEUDO_RET rather than
16425 __syscall_error.
16426
02637374
AS
164272010-08-12 Andreas Schwab <schwab@redhat.com>
16428
16429 [BZ #11904]
16430 * locale/programs/locale.c (print_assignment): New function.
16431 (show_locale_vars): Use it.
16432
c3e2f19b
UD
164332010-08-11 Ulrich Drepper <drepper@redhat.com>
16434
3cdaa6ad
UD
16435 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16436 field.
16437 (struct statfs64): Likewise.
16438 (_STATFS_F_FLAGS): Define.
16439 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16440 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16441 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16442 (ST_VALID): Define locally.
16443 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16444 __statvfs_getflags, use the provided value.
16445 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16446 __ASSUME_STATFS_F_FLAGS.
16447
754f7da3
UD
16448 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16449
10b3bedc
UD
16450 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16451 Add sys/fanotify.h.
16452 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16453 fanotify_mask for GLIBC_2.13.
16454 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16455 fanotify_init and fanotify_mark.
16456 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16457 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16458
c08fb0d7
UD
16459 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16460 Add prlimit.
16461 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16462 prlimit64 for GLIBC_2.13.
16463 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16464 prlimit64.
16465 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16466 syscall.
16467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16468 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16469 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16470 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16471 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16472 add prlimit alias.
16473 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16474
15bac72b
UD
16475 [BZ #11903]
16476 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16477 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16478
c3e2f19b
UD
16479 * nss/Makefile: Add rules to build and run tst-nss-test1.
16480 * shlib-versions: Add entry for libnss_test1.
16481 * nss/nss_test1.c: New file.
16482 * nss/tst-nss-test1.c: New file.
16483
16484 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16485 (__nss_configure_lookup): Set appropriate entry in
16486 __nss_configure_lookup to true.
16487 * nss/nsswitch.h: Define enum with indeces of databases in
16488 databases and __nss_database_custom arrays. Declare
16489 __nss_database_custom.
16490 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16491 to avoid using nscd when custom rules are installed.
16492 * nss/getXXbyYY_r.c: Likewise.
16493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16494
16495 * nss/nss_files/files-parse.c: Whitespace fixes.
16496
f15ce4d8
UD
164972010-08-09 Ulrich Drepper <drepper@redhat.com>
16498
16499 [BZ #11883]
16500 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16501 * posix/fnmatch_loop.c: Likewise.
16502
d22e4cc9
AK
165032010-07-17 Andi Kleen <ak@linux.intel.com>
16504
16505 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16506 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16507 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16508 * Versions.def [GLIBC_2.13]: Add.
16509
805bc17d
UD
165102010-08-06 Ulrich Drepper <drepper@redhat.com>
16511
16512 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16513 Also fail if tpwd after pwuid call is NULL.
16514
5a42321d
ST
165152010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16516
16517 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16518 when converting to ms.
16519
fd3ebeda
ST
165202010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16521
16522 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16523 EOPNOTSUPP errors with ENOTTY.
16524 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16525 EOPNOTSUPP errors with ENOTTY.
16526
73507d3a
UD
165272010-07-31 Ulrich Drepper <drepper@redhat.com>
16528
16529 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16530 Add strcasecmp_l-ssse3.
16531 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16532 strcasecmp.
16533 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16534 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16535 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16536
fe36dd02
UD
165372010-07-30 Ulrich Drepper <drepper@redhat.com>
16538
66f6765a
UD
16539 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16540
42e08a54
UD
16541 * string/Makefile (strop-tests): Add strcasecmp.
16542 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16543 strcasecmp_l-nonascii.
16544 (gen-as-const-headers): Add locale-defines.sym.
16545 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
16546 * sysdeps/x86_64/strcasecmp.S: New file.
16547 * sysdeps/x86_64/strcasecmp_l.S: New file.
16548 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
16549 * sysdeps/x86_64/locale-defines.sym: New file.
16550 * string/test-strcasecmp.c: New file.
16551
fe36dd02
UD
16552 * string/test-strcasestr.c: Test both ends of the range of characters.
16553 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
16554
48cbc0d6
RM
165552010-07-29 Roland McGrath <roland@redhat.com>
16556
76e6d6bc 16557 [BZ #11856]
48cbc0d6
RM
16558 * manual/locale.texi (Yes-or-No Questions): Fix example code.
16559
880113d9
UD
165602010-07-27 Ulrich Drepper <drepper@redhat.com>
16561
16562 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
16563 for ld.so.
16564
deb9cabb
AS
165652010-07-27 Andreas Schwab <schwab@redhat.com>
16566
16567 * manual/memory.texi (Malloc Tunable Parameters): Document
16568 M_PERTURB.
16569
1c7570ff
RM
165702010-07-26 Roland McGrath <roland@redhat.com>
16571
16572 [BZ #11840]
16573 * configure.in (-fgnu89-inline check): Set and substitute
16574 gnu89_inline, not libc_cv_gnu89_inline.
16575 * configure: Regenerated.
16576 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
16577
24fb0f88
UD
165782010-07-26 Ulrich Drepper <drepper@redhat.com>
16579
16580 * string/test-strnlen.c: New file.
16581 * string/Makefile (strop-tests): Add strnlen.
16582 * string/tester.c (test_strnlen): Add a few more test cases.
16583 * string/tst-strlen.c: Better error reporting.
16584
16585 * sysdeps/x86_64/strnlen.S: New file.
16586
8e96b93a
UD
165872010-07-24 Ulrich Drepper <drepper@redhat.com>
16588
16589 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
16590 lower-latency instructions.
16591
dbc676d4
UD
165922010-07-23 Ulrich Drepper <drepper@redhat.com>
16593
16594 * string/test-strcasestr.c: New file.
16595 * string/test-strstr.c: New file.
16596 * string/Makefile (strop-tests): Add strstr and strcasestr.
16597 * string/str-two-way.h: Don't undefine MAX.
16598 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
16599
f6a31e0e
AS
166002010-07-21 Andreas Schwab <schwab@redhat.com>
16601
16602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16603 strcasestr-nonascii.
16604 (CFLAGS-strcasestr-nonascii.c): Define.
16605 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
16606 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
16607 Remove unused attribute.
16608
5dbc3b6c
RM
166092010-07-20 Roland McGrath <roland@redhat.com>
16610
16611 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
16612 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
16613 ld.so.cache was broken. With it, there is no way to disable dsocaps
16614 like LD_HWCAP_MASK can disable hwcaps.
16615
23d101d8
EPM
166162010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16617
16618 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
16619
cc9f2e47
UD
166202010-07-16 Ulrich Drepper <drepper@redhat.com>
16621
16622 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
16623 call in strcasestr.
16624 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
16625 __strcasestr_sse42_nonascii.
16626 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
16627 strcasestr-nonascii.c.
16628 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
16629
77c1b069
LM
166302010-06-15 Luis Machado <luisgpm@br.ibm.com>
16631
16632 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
16633 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
16634 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
16635 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
16636
440566c3
UD
166372010-07-09 Ulrich Drepper <drepper@redhat.com>
16638
16639 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
16640 fcntl.
16641
5be9d05d
AS
166422010-07-06 Andreas Schwab <schwab@redhat.com>
16643
c30b7ee2 16644 [BZ #11577]
5be9d05d
AS
16645 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
16646 dl_signal_cerror.
16647
8a492a67
UD
166482010-07-06 Ulrich Drepper <drepper@redhat.com>
16649
16650 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
16651 _PC_PIPE_BUF using F_GETPIPE_SZ.
16652
713df3d5
RM
166532010-07-05 Roland McGrath <roland@redhat.com>
16654
16655 * manual/arith.texi (Rounding Functions): Fix rint description
16656 implicit in round description.
16657
702e8f14
UD
166582010-07-02 Ulrich Drepper <drepper@redhat.com>
16659
16660 * elf/Makefile: Fix linking for a few tests to make recent linker
16661 happy.
16662
52ed8be9
AS
166632010-06-30 Andreas Schwab <schwab@redhat.com>
16664
16665 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
16666 $(common-objpfx)libc_nonshared.a.
16667
f47c9a11
LM
166682010-06-21 Luis Machado <luisgpm@br.ibm.com>
16669
16670 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
16671 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
16672 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16673 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16674 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
16675 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
16676 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16677 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
16679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
16680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
16681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
16682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16692 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16693 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16694 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16695 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16696 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16697 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16698 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16699 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16700 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16701 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16702 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16703 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16718
6fb8cbcb
L
167192010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16720
16721 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16722 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16723 * string/memmove.c (memmove): Renamed to ...
16724 (MEMMOVE): ...this. Default to memmove.
16725 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16726 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16727 (END_CHK): Define.
16728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16729 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16730 mempcpy-ssse3-back memmove-ssse3-back.
16731 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16732 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16733 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16734 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16735 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16736 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16737 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16738 * sysdeps/x86_64/multiarch/memmove.c: New file.
16739 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16740 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16741 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16742 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16743 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16744 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16745 Define.
16746 (index_Fast_Copy_Backward): Define.
16747 (HAS_ARCH_FEATURE): Define.
16748 (HAS_FAST_REP_STRING): Define.
16749 (HAS_FAST_COPY_BACKWARD): Define.
16750
4e733bac 167512010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
16752
16753 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16754 Restore proper fallback handling.
16755
63c4ed22
UD
167562010-06-19 Ulrich Drepper <drepper@redhat.com>
16757
ac2b484c
UD
16758 [BZ #11701]
16759 * posix/group_member.c (__group_member): Correct checking loop.
16760
63c4ed22
UD
16761 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16762 OOM in getpwuid_r correctly. Return error number when the caller
16763 should return, otherwise -1.
16764 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16765 call returning > 0 value.
16766 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16767
765ade4b
AS
167682010-06-07 Andreas Schwab <schwab@redhat.com>
16769
16770 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16771 libc_nonshared.a from targets in modules-names.
16772
80da2e09
KS
167732010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16774
16775 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16776 requires it.
16777
158db122
LM
167782010-06-10 Luis Machado <luisgpm@br.ibm.com>
16779
16780 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16781 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16782 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16783 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16784
caa78cf8
AS
167852010-06-02 Andreas Schwab <schwab@redhat.com>
16786
16787 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16788
b2ef2c01
UD
167892010-06-14 Ulrich Drepper <drepper@redhat.com>
16790
16791 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16792 and F_GETPIPE_SZ.
16793 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16794 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16795 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16796 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16797 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16798 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16799
fbd643b6
RM
168002010-06-14 Roland McGrath <roland@redhat.com>
16801
16802 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16803
f32f2869
JJ
168042010-06-07 Jakub Jelinek <jakub@redhat.com>
16805
16806 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16807 __REDIRECT followed by __THROW.
16808 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16809 * posix/getopt.h (getopt): Likewise.
16810
2a50c078
EPM
168112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16812
16813 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16814 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16815 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16816 in AT_FLAGS.
16817 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16818 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16819
eb5ad2eb
LM
168202010-05-28 Luis Machado <luisgpm@br.ibm.com>
16821
16822 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16823
3c88fe1e
L
168242010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16825
16826 [BZ #11640]
16827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16828 Properly check family and model.
16829
d2f73151
TY
168302010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16831
16832 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16833
ebd2e13d
LM
168342010-05-24 Luis Machado <luisgpm@br.ibm.com>
16835
16836 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16837
b32b8b45
UD
168382010-05-21 Ulrich Drepper <drepper@redhat.com>
16839
16840 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16841 symbol reference.
16842
9acbe24d
AS
168432010-05-19 Andreas Schwab <schwab@redhat.com>
16844
16845 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16846 symbol reference.
16847
f0ccf6ea
AS
168482010-05-21 Andreas Schwab <schwab@redhat.com>
16849
3d04ff3a
AS
16850 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16851 and internal_recvmmsg.
16852 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16853 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16854 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16855 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16856
f0ccf6ea
AS
16857 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16858 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16859 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16860
5b08ac57
AS
168612010-05-20 Andreas Schwab <schwab@redhat.com>
16862
16863 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16864
4828935d
LM
168652010-05-17 Luis Machado <luisgpm@br.ibm.com>
16866
16867 POWER7 optimizations.
16868 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16869 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16870
373d545e
UD
168712010-05-19 Ulrich Drepper <drepper@redhat.com>
16872
16873 * version.h: Update for 2.13 development version.
16874
21a2b1ae
AS
168752010-05-12 Andrew Stubbs <ams@codesourcery.com>
16876
16877 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16878 exceptions. Return 0.
16879
3f7dcb2b
RM
168802010-05-07 Roland McGrath <roland@redhat.com>
16881
16882 * elf/ldconfig.c (main): Add a const.
16883
5f24d53a 168842010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16885
a160f8d8
UD
16886 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16887 (args_options): Add no-idn option.
16888 (ahosts_keys_int): Add idn_flags to ai_flags.
16889 (parse_option): Handle 'i' option to clear idn_flags.
16890
5f24d53a
UD
16891 * malloc/malloc.c (_int_free): Possible race in the most recently
16892 added check. Only act on the data if no current modification
16893 happened.
265bb1ce
UD
16894
16895See ChangeLog.17 for earlier changes.