]> sourceware.org Git - glibc.git/blame - ChangeLog
[BZ #11638] has been fixed.
[glibc.git] / ChangeLog
CommitLineData
72e182e3
PT
1012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2
a20492cf
PT
3 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
4 /usr/old/bin.
5
72e182e3
PT
6 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7 instead of spaces.
8 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
9
fbeafede
JM
102012-11-03 Joseph Myers <joseph@codesourcery.com>
11
5b5b04d6
JM
12 [BZ #14796]
13 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14 FE_TONEAREST before applying Dekker multiplication and Knuth
15 addition. Clear inexact exceptions and check for exact zero
16 results afterwards.
17 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20 * math/libm-test.inc (fma_test): Add more tests.
21 (fma_test_towardzero): Likewise.
22 (fma_test_downward): Likewise.
23 (fma_test_upward): Likewise.
24 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25 function.
26 (libc_fesetround): New macro.
27 (libc_fesetroundf): Likewise.
28 (libc_fesetroundl): Likewise.
29 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30 function.
31 (libc_fesetround_387): Likewise.
32 (libc_fesetroundf): New macro.
33 (libc_fesetround): Likewise.
34 (libc_fesetroundl): Likewise.
35 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36 function.
37 (libc_fesetroundf): New macro.
38 (libc_fesetround): Likewise.
39 (libc_fesetroundl): Likewise.
40 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
43 libm_hidden_ver.
44 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
46 libm_hidden_def.
47 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
48 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
49 libm_hidden_ver.
50 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
51 libm_hidden_def.
52
fbeafede
JM
53 [BZ #3439]
54 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
55 integer constant usable in #if and use that to give value to enum
56 constant.
57 (FE_DIVBYZERO): Likewise.
58 (FE_UNDERFLOW): Likewise.
59 (FE_OVERFLOW): Likewise.
60 (FE_INVALID): Likewise.
61 (FE_INVALID_SNAN): Likewise.
62 (FE_INVALID_ISI): Likewise.
63 (FE_INVALID_IDI): Likewise.
64 (FE_INVALID_ZDZ): Likewise.
65 (FE_INVALID_IMZ): Likewise.
66 (FE_INVALID_COMPARE): Likewise.
67 (FE_INVALID_SOFTWARE): Likewise.
68 (FE_INVALID_SQRT): Likewise.
69 (FE_INVALID_INTEGER_CONVERSION): Likewise.
70 (FE_TONEAREST): Likewise.
71 (FE_TOWARDZERO): Likewise.
72 (FE_UPWARD): Likewise.
73 (FE_DOWNWARD): Likewise.
74 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75 (FE_DIVBYZERO): Likewise.
76 (FE_OVERFLOW): Likewise.
77 (FE_UNDERFLOW): Likewise.
78 (FE_INEXACT): Likewise.
79 (FE_TONEAREST): Likewise.
80 (FE_DOWNWARD): Likewise.
81 (FE_UPWARD): Likewise.
82 (FE_TOWARDZERO): Likewise.
83 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
84 (FE_UNDERFLOW): Likewise.
85 (FE_OVERFLOW): Likewise.
86 (FE_DIVBYZERO): Likewise.
87 (FE_INVALID): Likewise.
88 (FE_TONEAREST): Likewise.
89 (FE_TOWARDZERO): Likewise.
90 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
91 (FE_OVERFLOW): Likewise.
92 (FE_UNDERFLOW): Likewise.
93 (FE_DIVBYZERO): Likewise.
94 (FE_INEXACT): Likewise.
95 (FE_TONEAREST): Likewise.
96 (FE_TOWARDZERO): Likewise.
97 (FE_UPWARD): Likewise.
98 (FE_DOWNWARD): Likewise.
99 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
100 (FE_DIVBYZERO): Likewise.
101 (FE_OVERFLOW): Likewise.
102 (FE_UNDERFLOW): Likewise.
103 (FE_INEXACT): Likewise.
104 (FE_TONEAREST): Likewise.
105 (FE_DOWNWARD): Likewise.
106 (FE_UPWARD): Likewise.
107 (FE_TOWARDZERO): Likewise.
108
105ca950
CM
1092012-11-02 Chris Metcalf <cmetcalf@tilera.com>
110
111 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
112
a542b389
AS
1132012-11-03 Andreas Schwab <schwab@linux-m68k.org>
114
115 * scripts/cross-test-ssh.sh (command): Use newlines to separate
116 commands. Quote $PWD.
117 (blacklist_exports): Don't use remove_newlines. Replace "declare
118 -x" by "export".
119 (remove_newlines): Remove.
120
f62c8abc
L
1212012-11-02 H.J. Lu <hongjiu.lu@intel.com>
122
123 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
124 * stdlib/stdlib.h (atof): Moved to ...
125 * include/bits/stdlib-float.h: Here. New file.
126 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
127 * stdlib/bits/stdlib-float.h: New file.
128 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
129 -mno-sse -mno-mmx.
130 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
131 <xmmintrin.h>.
132
0155d5b2
JM
1332012-11-02 Joseph Myers <joseph@codesourcery.com>
134
a68d0680
JM
135 * conform/conformtest.pl (@headers): Add fenv.h.
136 * conform/data/fenv.h-data: New file.
137 * include/fenv.h [_ISOMAC]: Disable all contents of file except
138 include of <math/fenv.h>.
139
caf7f573
JM
140 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
141 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
142 && !UNIX98]. Enables tests for XOPEN2K8.
143 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
144 POSIX2008]: Likewise.
145
6c073ad6
JM
146 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
147 (struct rusage): Do not expect type or its members.
148
0155d5b2
JM
149 [BZ #3439]
150 * math/math.h (FP_NAN): Define macro to integer constant usable in
151 #if and use that to give value to enum constant.
152 (FP_INFINITE): Likewise.
153 (FP_ZERO): Likewise.
154 (FP_SUBNORMAL): Likewise.
155 (FP_NORMAL): Likewise.
156
b5dcacb4
AS
1572012-11-02 Andreas Schwab <schwab@linux-m68k.org>
158
159 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
160 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
161 arguments.
162
f7934be8
RM
1632012-11-02 Roland McGrath <roland@hack.frob.com>
164
165 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
166 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
167 autoconf-time if not.
168 * configure.in: Remove AC_PREREQ.
169
d7d08bde
TMQMF
1702012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
171
172 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
173 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
174 of the internal implementation.
175
dcdae19a
JM
1762012-11-02 Joseph Myers <joseph@codesourcery.com>
177
178 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
179 except include of <misc/sys/syslog.h>.
180
d6cffd3e
AS
1812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
182
183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
184 function returns with a NULL context exit with zero.
185
b3563932
TMQMF
1862012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
187
188 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
189
b288a93d
L
1902012-11-01 H.J. Lu <hongjiu.lu@intel.com>
191
192 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
193 (run_program_cmd): This.
194 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
195 (tst_langinfo): New variable. Use it.
196
a2421a68
SAS
1972012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
198
199 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
200 floating point opcodes.
201
6f796e1b
TS
2022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
203
7402596b
TS
204 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
205 variable.
206
d0d4f868
TS
207 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
208
6f796e1b
TS
209 * sysdeps/mach/hurd/powerpc: Remove directory.
210 * sysdeps/mach/powerpc: Likewise.
211
4da224a2
AS
2122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
213
214 * scripts/check-local-headers.sh: Ignore c++ headers.
215
341dd673
TS
2162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
217
218 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
219 __libc_cleanup_region_start argument.
220
473611b2
JM
2212012-11-01 Joseph Myers <joseph@codesourcery.com>
222
223 [BZ #14784]
224 [BZ #14785]
225 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
226 x * y using scaling, not as x * y + z.
227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
228 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
229 * math/libm-test.inc (fma_test): Add more tests.
230 (fma_test_towardzero): Likewise.
231 (fma_test_downward): Likewise.
232 (fma_test_upward): Likewise.
233
4078da3d
TS
2342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
235
236 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
237
903252aa
JM
2382012-10-31 Joseph Myers <joseph@codesourcery.com>
239
240 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
241 New variable.
242
cbc818d0
TS
2432012-10-31 Thomas Schwinge <thomas@codesourcery.com>
244
245 * rt/tst-shm.c (worker): Correct checking for mmap failure.
246
5a03cb1e
AS
2472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
248
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
250 Fix sort order.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
252 Likewise.
253
90aff2ff
TMQMF
2542012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
255
256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
257 Fix the order of the list for glibc 2.17.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
259 Likewise.
260
1818fcb7
AS
2612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
262
263 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
264
ef82f4da
JM
2652012-10-31 Joseph Myers <joseph@codesourcery.com>
266
16a0e2ec
JM
267 [BZ #14610]
268 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
269 for low part of x being zero before using __atanl (y).
270 * math/libm-test.inc (atan2_test): Add another test.
271
0eb69512
JM
272 * manual/install.texi (Configuring and compiling): Document
273 general use of test-wrapper and test-wrapper-env.
274 * INSTALL: Regenerated.
275
ef82f4da
JM
276 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
277 (__fma): Do not extract and scale down low bits on after-rounding
278 systems when result rounded to normal precision would have normal
279 exponent.
280 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
281 (__fmal): Do not extract and scale down low bits on after-rounding
282 systems when result rounded to normal precision would have normal
283 exponent.
284 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
285 (__fmal): Do not extract and scale down low bits on after-rounding
286 systems when result rounded to normal precision would have normal
287 exponent.
288 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
289 macro.
290 (fma_test): Add more tests.
291 (fma_test_towardzero): Likewise.
292 (fma_test_downward): Likewise.
293 (fma_test_upward): Likewise.
294
954ef0d9
L
2952012-10-30 H.J. Lu <hongjiu.lu@intel.com>
296
297 * sysdeps/i386/tininess.h: Renamed to ...
298 * sysdeps/x86/tininess.h: This.
299 * sysdeps/x86_64/tininess.h: Removed.
300
df61ffb2
JM
3012012-10-30 Joseph Myers <joseph@codesourcery.com>
302
303 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
304 input. Use $(build-program-cmd).
305 ($(objpfx)tst-array1-static.out): Likewise.
306 ($(objpfx)tst-array2.out): Likewise.
307 ($(objpfx)tst-array3.out): Likewise.
308 ($(objpfx)tst-array4.out): Likewise.
309 ($(objpfx)tst-array5.out): Likewise.
310 ($(objpfx)tst-array5-static.out): Likewise.
311
01767843
CM
3122012-10-30 Chris Metcalf <cmetcalf@tilera.com>
313
47cc1490
CM
314 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
315 if defined.
316
01767843
CM
317 * nss/nsswitch.h (nss_interface_function): Provide new
318 macro for use with NSS functions.
319 * grp/initgroups.c: Use new macro.
320 * nss/getXXbyYY.c: Likewise.
321 * nss/getXXbyYY_r.c: Likewise.
322 * nss/getXXent.c: Likewise.
323 * nss/getXXent_r.c: Likewise.
324 * sysdeps/posix/getaddrinfo.c: Likewise.
325
8321aa97
AJ
3262012-10-30 Andreas Jaeger <aj@suse.de>
327
328 * po/ru.po: Update Russion translation from translation project.
329
2a27fd6d
JM
3302012-10-30 Joseph Myers <joseph@codesourcery.com>
331
8627a232
JM
332 [BZ #14152]
333 [BZ #14783]
334 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
335 result and shift together with sticky bit instead of replicating
336 round-to-nearest rounding.
337 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
338 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
339 * math/libm-test.inc (fma_test): Add more tests. Do not permit
340 missing underflow exceptions.
341 (fma_test_towardzero): Add more tests.
342 (fma_test_downward): Likewise.
343 (fma_test_upward): Likewise.
344
2a27fd6d
JM
345 [BZ #14047]
346 * sysdeps/generic/tininess.h: New file.
347 * sysdeps/i386/tininess.h: Likewise.
348 * sysdeps/sh/tininess.h: Likewise.
349 * sysdeps/x86_64/tininess.h: Likewise.
350 * stdlib/tst-strtod-underflow.c: Likewise.
351 * stdlib/tst-tininess.c: Likewise.
352 * stdlib/strtod_l.c: Include <tininess.h>.
353 (round_and_return): Do not set errno for exact underflow cases.
354 Force an underflow exception when setting errno for underflow.
355 Determine underflow based on rounding to normal precision if
356 TININESS_AFTER_ROUNDING.
357 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
358 ERANGE for exact underflow cases.
359 * stdlib/Makefile (tests): Add tst-tininess and
360 tst-strtod-underflow.
361 ($(objpfx)tst-tininess): Use $(link-libm).
362 ($(objpfx)tst-strtod-underflow): Likewise.
363
e7170363
AJ
3642012-10-30 Andreas Jaeger <aj@suse.de>
365
e5088dc6
AJ
366 [BZ#14767]
367 * elf/Makefile (tests): Remove conditional for have-initfini-array
368 since this is now always required and the variable does not exist
369 anymore.
370 (tests-static): Likewise.
371 (modules-names): Likewise.
372
e7170363 373 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
374
375 * elf/tst-array1.c (fini_array): Make writeable so that it can be
376 merged with constructor/destructor.
377 (init_array): Likewise.
378 * elf/tst-array2dep.c (fini_array): Likewise.
379 (init_array): Likewise.
380
60457d8a
MF
3812012-10-29 Mike Frysinger <vapier@gentoo.org>
382
383 * manual/message.texi: Delete @cartouche tags.
384
8bece752
PT
3852012-10-29 Pino Toscano <toscano.pino@tiscali.it>
386
94ce799f
PT
387 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
388 EOPNOTSUPP.
389 * sysdeps/mach/hurd/fsync.c: Likewise.
390
8bece752
PT
391 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
392 [_POSIX_REALTIME_SIGNALS]: Change condition to
393 [_POSIX_REALTIME_SIGNALS > 0].
394
86ebe6b1
AJ
3952012-10-27 Andreas Jaeger <aj@suse.de>
396
397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
398 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
400 [__WORDSIZE != 64]: Likewise.
401
54399c08
L
4022012-10-26 H.J. Lu <hongjiu.lu@intel.com>
403
404 * iconvdata/tst-table.sh: Remove ${SHELL}.
405 * iconvdata/tst-tables.sh: Likewise.
406
e2211bed
DM
4072012-10-25 David S. Miller <davem@davemloft.net>
408
409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
410 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
411 of strtoull.
412
f303f97c
DM
413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
414 ifunc-impl-list.c
415 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
416 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
417 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
418 file.
419
1e9d84cd
RM
4202012-10-25 Roland McGrath <roland@hack.frob.com>
421
422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
423 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
424 __getdirentries.
425
df381762
JM
4262012-10-25 Joseph Myers <joseph@codesourcery.com>
427 Jim Blandy <jimb@codesourcery.com>
428
429 * scripts/cross-test-ssh.sh: New file.
430 * manual/install.texi (Configuring and compiling): Document use of
431 cross-test-ssh.sh.
432 * INSTALL: Regenerated.
433
bff64913
PT
4342012-10-25 Pino Toscano <toscano.pino@tiscali.it>
435
436 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
437 EOPNOTSUPP.
438
25fe8932
JM
4392012-10-25 Joseph Myers <joseph@codesourcery.com>
440
441 * Makeconfig (run-program-prefix): Fix comment.
442
cc1290d0
JM
4432012-10-24 Joseph Myers <joseph@codesourcery.com>
444 Jim Blandy <jimb@codesourcery.com>
445
446 * Makeconfig (test-wrapper): New variable,
447 (test-wrapper-env): Likewise.
448 [$(cross-compiling) = yes && $(test-wrapper) != ""]
449 (run-built-tests): Define to yes.
450 (run-program-prefix): Use $(test-wrapper).
451 (built-program-cmd): Likewise.
452 * Rules (make-test-out): Use $(test-wrapper-env) and
453 $(host-built-program-cmd).
454 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
455 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
456 tst-pathopt.sh.
457 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
458 $(test-wrapper-env) to tst-rtld-load-self.sh.
459 ($(objpfx)order2.out): Use $(test-wrapper).
460 ($(objpfx)tst-initorder.out): Likewise.
461 ($(objpfx)tst-initorder2.out): Likewise.
462 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
463 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
464 (test_wrapper_env): New variable. Use it to run ld.so.
465 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
466 Use it to run ld.so.
467 (test_wrapper_env): Likewise.
468 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
469 $(test-wrapper) to run-iconv-test.sh.
470 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
471 (ICONV): Use $test_wrapper.
472 * posix/Makefile ($(objpfx)globtest.out): Pass
473 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
474 globtest.sh, not $(run-program-prefix).
475 * posix/globtest.sh (run_via_rtld_prefix): New variable.
476 (test_wrapper): Likewise.
477 (test_wrapper_env): Likewise. Use it to run globtest with HOME
478 set together with run_via_rtld_prefix.
479 (run_program_prefix): Define in terms of test_wrapper and
480 run_via_rtld_prefix.
481
6e6249d0
RM
4822012-10-24 Roland McGrath <roland@hack.frob.com>
483
484 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
485 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
486 Targets removed.
487
488 [BZ #14743]
489 * include/time.h: Remove librt_hidden_proto (clock_gettime).
490 Declare __clock_getres, __clock_gettime, __clock_settime,
491 __clock_nanosleep, and __clock_getcpuclockid.
492 * rt/clock_gettime.c: Define __clock_gettime as an alias.
493 Remove librt_hidden_def (clock_gettime).
494 * sysdeps/unix/clock_gettime.c: Likewise.
495 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
496 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
497 * rt/clock_getres.c: Define __clock_getres as an alias.
498 * sysdeps/posix/clock_getres.c: Likewise.
499 * rt/clock_settime.c: Define __clock_settime as an alias.
500 * sysdeps/unix/clock_settime.c: Likewise.
501 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
502 * sysdeps/unix/clock_nanosleep.c: Likewise.
503 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
504 * rt/clock-compat.c: New file.
505 * rt/Makefile (librt-routines): Add clock-compat and move
506 $(clock-routines) to ...
507 (routines): ... here, new variable.
508 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
509 Don't add get_clockfreq here.
510 * rt/Versions (libc: GLIBC_2.17): New version set.
511 Add clock_* symbols here.
512 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
513 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
514 (GLIBC_2.17): Add clock_* symbols.
515 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
519 Likewise.
520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
521 Likewise.
522 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
526 * NEWS: Mention the move.
527
528 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
529 Use __open, __read, __close rather than their public counterparts.
530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
531 (__get_clockfreq_via_cpuinfo): Likewise.
532 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
533 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
534
535 * config.h.in (HAVE_IFUNC): New #undef.
536 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
537 was successful.
538 * configure: Regenerated.
539
0cae3f4b
MF
5402012-10-24 Mike Frysinger <vapier@gentoo.org>
541
542 * configure.in: Move READELF check to start of file.
543 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
544 libc_cv_asm_gnu_indirect_function in the process.
545 * configure: Regenerated.
546
8175a253
MF
5472012-10-24 Mike Frysinger <vapier@gentoo.org>
548
549 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
550 send the output to /dev/null.
551 (libc_cv_cc_with_libunwind): Likewise.
552 (libc_cv_as_noexecstack): Likewise.
553 * configure: Regenerate.
554
0708a7d1
JM
5552012-10-24 Joseph Myers <joseph@codesourcery.com>
556
10b40d85
JM
557 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
558
0708a7d1
JM
559 * posix/globtest.sh (TMPDIR): Do not set.
560 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
561 (testout): Likewise.
562
9fddec1a
AJ
5632012-10-24 Andreas Jaeger <aj@suse.de>
564
3a8db22f
AJ
565 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
566 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
567 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
568 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
569 posix_fadvise64, posix_fallocate64.
570
9fddec1a
AJ
571 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
572 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
573 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
574 Likewise.
575 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
576 Likewise.
577 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
578
579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
580 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
581 <bits/fcntl-linux.h>.
582 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
583
584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
585 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
586 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
587 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
588 [__WORDSIZE != 64]: Likewise.
589
ebfd1bbd
JM
5902012-10-23 Joseph Myers <joseph@codesourcery.com>
591
03ac099f
JM
592 * Makeconfig (run-built-tests): New variable.
593 * Rules [$(cross-compiling) = yes]: Change condition to
594 [$(run-built-tests) = no].
595 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
596 to [$(run-built-tests) = yes].
597 * elf/Makefile [$(cross-compiling) = no]: Likewise
598 * grp/Makefile [$(cross-compiling) = no]: Likewise.
599 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
600 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
601 * intl/Makefile [$(cross-compiling) = no]: Likewise.
602 * io/Makefile [$(cross-compiling) = no]: Likewise.
603 * libio/Makefile [$(cross-compiling) = no]: Likewise.
604 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
605 * misc/Makefile [$(cross-compiling) = no]: Likewise.
606 * posix/Makefile [$(cross-compiling) = no]: Likewise.
607 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
608 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
609 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
610 * string/Makefile [$(cross-compiling) = no]: Likewise.
611
ebfd1bbd
JM
612 * posix/Makefile ($(objpfx)globtest.out): Pass
613 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
614 $(rtld-installed-name).
615 * posix/globtest.sh (elf_objpfx): Remove variable.
616 (rtld_installed_name): Likewise.
617 (library_path): Likewise.
618 (run_program_prefix): New variable. Use for running globtest
619 binary.
620
166bca24
JB
6212012-10-23 Jim Blandy <jimb@codesourcery.com>
622 Joseph Myers <joseph@codesourcery.com>
623
624 * Makeconfig (host-built-program-cmd): New variable.
625 * elf/Makefile (tst-stackguard1-ARGS): Use
626 $(host-built-program-cmd).
627 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
628 (tst-spawn-ARGS): Likewise.
629 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
630
88866099
JM
6312012-10-23 Joseph Myers <joseph@codesourcery.com>
632 Jim Blandy <jimb@codesourcery.com>
633
634 * Makeconfig (run-via-rtld-prefix): New variable.
635 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
636 (built-program-cmd): Likewise.
637
b4b4c296
AJ
6382012-10-22 Andreas Jaeger <aj@suse.de>
639
640 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
641 __O_RSYNC if it exists, otherwise to O_SYNC.
642
6fb54a22
JB
6432012-10-22 Jim Blandy <jimb@codesourcery.com>
644 Joseph Myers <joseph@codesourcery.com>
645
646 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
647 /dev/null.
648 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
649 from /dev/null
650 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
651 /dev/null.
652
481b90b9
AJ
6532012-10-22 Andreas Jaeger <aj@suse.de>
654
2a0e2669
AJ
655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
656 Define always.
657 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
658
76e38f9a
AJ
659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
660 bits/fcntl-linux.h.
661
7cd37b43
AJ
662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
663 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
664
481b90b9
AJ
665 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
666 to __O_LARGEFILE.
667 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
668 to __O_LARGEFILE.
669
aba75984
JB
6702012-10-21 Jim Blandy <jimb@codesourcery.com>
671 Joseph Myers <joseph@codesourcery.com>
672
673 * config.make.in (NM): New variable.
674
88d4247f
AJ
6752012-10-21 Andreas Jaeger <aj@suse.de>
676
677 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
678 definitions and declarations that are provided by
679 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
680
f2eed205
L
6812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
682
683 [BZ #14683]
684 * elf/Makefile (tests-static): Add tst-leaks1-static.
685 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
686 ($(objpfx)tst-leaks1-static): New rule.
687 ($(objpfx)tst-leaks1-static-mem): Likewise.
688 (tst-leaks1-static-ENV): New macro.
689 * elf/dl-open.c (dl_open_worker): Check the main application
690 only if SHARED is defined.
691 * elf/tst-leaks1-static.c: New file.
692
335e6931
AJ
6932012-10-20 Andreas Jaeger <aj@suse.de>
694
695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
696 generic values for Linux.
697 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
698 and declarations that are provided by <bits/fcntl-linux.h> and
699 include <bits/fcntl-linux.h>.
700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
702
ac5c94d3
RM
7032012-10-20 Roland McGrath <roland@hack.frob.com>
704
705 * io/fcntl.h: Move include of <bits/types.h> to the top and
706 include it unconditionally.
707
de54b33a
L
7082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
709
228cfb01
L
710 * wcsmbs/Makefile (tests-ifunc): New variable.
711 (tests): Add $(tests-ifunc).
712 * wcsmbs/test-wcschr-ifunc.c: New file.
713 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
714 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
715 * wcsmbs/test-wcslen-ifunc.c: Likewise.
716 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
717 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
718
69f07e5f
L
719 * string/Makefile (tests-ifunc): New variable.
720 (tests): Add $(tests-ifunc).
721 * string/test-memccpy.c (TEST_NAME): New macro.
722 * string/test-memchr.c (TEST_NAME): Likewise.
723 * string/test-memcmp.c (TEST_NAME): Likewise.
724 * string/test-memcpy.c (TEST_NAME): Likewise.
725 * string/test-memmem.c (TEST_NAME): Likewise.
726 * string/test-memmove.c (TEST_NAME): Likewise.
727 * string/test-memset.c (TEST_NAME): Likewise.
728 * string/test-rawmemchr.c (TEST_NAME): Likewise.
729 * string/test-stpcpy.c (TEST_NAME): Likewise.
730 * string/test-stpncpy.c (TEST_NAME): Likewise.
731 * string/test-strcasecmp.c (TEST_NAME): Likewise.
732 * string/test-strcasestr.c (TEST_NAME): Likewise.
733 * string/test-strcat.c (TEST_NAME): Likewise.
734 * string/test-strchr.c (TEST_NAME): Likewise.
735 * string/test-strcmp.c(TEST_NAME): Likewise.
736 * string/test-strcpy.c (TEST_NAME): Likewise.
737 * string/test-strcspn.c (TEST_NAME): Likewise.
738 * string/test-strlen.c (TEST_NAME): Likewise.
739 * string/test-strncasecmp.c (TEST_NAME): Likewise.
740 * string/test-strncmp.c (TEST_NAME): Likewise.
741 * string/test-strncpy.c (TEST_NAME): Likewise.
742 * string/test-strnlen.c (TEST_NAME): Likewise.
743 * string/test-strpbrk.c (TEST_NAME): Likewise.
744 * string/test-strrchr.c (TEST_NAME): Likewise.
745 * string/test-strspn.c (TEST_NAME): Likewise.
746 * string/test-strstr.c (TEST_NAME): Likewise.
747 * string/test-bcopy-ifunc.c: New file.
748 * string/test-bzero-ifunc.c: Likewise.
749 * string/test-memccpy-ifunc.c: Likewise.
750 * string/test-memchr-ifunc.c: Likewise.
751 * string/test-memcmp-ifunc.c: Likewise.
752 * string/test-memcpy-ifunc.c: Likewise.
753 * string/test-memmem-ifunc.c: Likewise.
754 * string/test-memmove-ifunc.c: Likewise.
755 * string/test-mempcpy-ifunc.c: Likewise.
756 * string/test-memset-ifunc.c: Likewise.
757 * string/test-rawmemchr-ifunc.c: Likewise.
758 * string/test-stpcpy-ifunc.c: Likewise.
759 * string/test-stpncpy-ifunc.c: Likewise.
760 * string/test-strcasecmp-ifunc.c: Likewise.
761 * string/test-strcasestr-ifunc.c: Likewise.
762 * string/test-strcat-ifunc.c: Likewise.
763 * string/test-strchr-ifunc.c: Likewise.
764 * string/test-strchrnul-ifunc.c: Likewise.
765 * string/test-strcmp-ifunc.c: Likewise.
766 * string/test-strcpy-ifunc.c: Likewise.
767 * string/test-strcspn-ifunc.c: Likewise.
768 * string/test-strlen-ifunc.c: Likewise.
769 * string/test-strncasecmp-ifunc.c: Likewise.
770 * string/test-strncat-ifunc.c: Likewise.
771 * string/test-strncmp-ifunc.c: Likewise.
772 * string/test-strncpy-ifunc.c: Likewise.
773 * string/test-strnlen-ifunc.c: Likewise.
774 * string/test-strpbrk-ifunc.c: Likewise.
775 * string/test-strrchr-ifunc.c: Likewise.
776 * string/test-strspn-ifunc.c: Likewise.
777 * string/test-strstr-ifunc.c: Likewise.
778
de54b33a
L
779 * debug/Makefile (tests-ifunc): New variable.
780 (tests): Add $(tests-ifunc).
781 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
782 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
783 * debug/test-stpcpy_chk-ifunc.c: New file.
784 * debug/test-strcpy_chk-ifunc.c: Likewise.
785
88481c16
SP
7862012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
787
788 [BZ #13601]
789 * elf/dl-load.c (open_verify): Retry read if the entire ELF
790 header is not read in.
791
135948bd
JM
7922012-10-19 Joseph Myers <joseph@codesourcery.com>
793
89f1c388
JM
794 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
795 script to $(SHELL) as $<. Pass $(common-objpfx) to script
796 directly. Pass built executable to script as
797 $(built-program-cmd).
798 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
799 $testprogram without using LD_LIBRARY_PATH and $ldso.
800
e40a0d21
JM
801 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
802 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
803 $(rtld-installed-name).
804 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
805 (rtld_installed_name): Likewise.
806 (library_path): Likewise.
807 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
808 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
809 $(run-program-prefix) to tst-tables.sh.
810 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
811 it to run tst-table-from and tst-table-to.
812 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
813 Pass it to tst-table.sh.
814 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
815 $(run-program-prefix) to tst-gettext.sh.
816 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
817 tst-translit.sh.
818 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
819 tst-gettext2.sh.
820 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
821 to run tst-gettext.
822 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
823 to run tst-gettext2.
824 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
825 to run tst-translit.
826 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
827 $(run-program-prefix) to tst-mtrace.sh.
828 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
829 to run tst-mtrace.
830 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
831 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
832 $(rtld-installed-name).
833 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
834 (rtld_installed_name): Likewise.
835 (run_program_prefix): New variable. Use it to run wordexp-test.
836
728e272a
JM
837 * Makeconfig (ARCH): Remove all definitions.
838 (machine): Likewise.
839 [ARCH]: Remove conditional code.
840 [!objdir]: Give error.
841 [!objdir] (objpfx): Remove.
842 [!objdir] (common-objpfx): Likewise.
843 [!objdir] (common-objdir): Likewise.
844 * configure.in (config_makefile): Remove. Hardcode Makefile in
845 AC_CONFIG_FILES call.
846 * configure: Regenerated.
847
d528cdcf
JM
848 [BZ #13888]
849 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
850 or TMPDIR.
851 (testout): Likewise.
852
135948bd
JM
853 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
854 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
855 $(rtld-installed-name).
856 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
857 (rtld_installed_name): Likwise.
858 (runit): Remove function.
859 (run_getconf): New variable, Use it for running getconf binary.
860
38c78296
L
8612012-10-18 H.J. Lu <hongjiu.lu@intel.com>
862
863 [BZ #14716]
864 * string/test-memmem.c (check_result): New function.
865 (do_one_test): Use it.
866 (check1): New function.
867 (test_main): Use it.
868
d077f65f
MT
8692012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
870
871 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
872
ced52c71
JM
8732012-10-18 Joseph Myers <joseph@codesourcery.com>
874
875 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
876 (_G_LSEEK64): Likewise.
877 (_G_MMAP64): Likewise.
878 (_G_FSTAT64): Likewise.
879 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
880 (_G_LSEEK64): Likewise.
881 (_G_MMAP64): Likewise.
882 (_G_FSTAT64): Likewise.
883 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
884 unconditional. Call __mmap64 directly.
885 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
886 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
887 __lseek64 directly.
888 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
889 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
890 __mmap64 directly.
891 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
892 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
893 __lseek64 directly.
894 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
895 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
896 __lseek64 directly.
897 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
898 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
899 __lseek64 directly.
900 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
901 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
902 __fxstat64 directly.
903 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
904 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
905 unconditional.
906 (freopen64) [!_G_OPEN64]: Remove conditional code.
907 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
908 unconditional.
909 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
910 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
911 unconditional.
912 (ftello64) [!_G_LSEEK64]: Remove conditional code.
913 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
914 unconditional.
915 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
916 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
917 unconditional.
918 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
919 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
920 unconditional.
921 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
922 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
923 unconditional.
924 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
925 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
926 unconditional.
927 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
928
b741de23
SP
9292012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
930
931 [BZ #12140]
932 * manual/memory.texi (Malloc Tunable Parameters): Add note
933 about free list pointers overwriting some perturb bytes.
934 Wording suggested by Roland McGrath.
935
f9b9d9c9
JM
9362012-10-17 Joseph Myers <joseph@codesourcery.com>
937
938 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
939 (lgamma_test): Likewise.
940 (tgamma_test): Likewise.
941
172a631a
FW
9422012-10-16 Florian Weimer <fweimer@redhat.com>
943
944 [BZ #14700]
945 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
946 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
947
e9f37252
MK
9482012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
949
950 * NEWS: Mention BZ #14716.
951 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
952 when removing AVAILABLE1_USES_J macro.
953
d394eb74
L
9542012-10-12 H.J. Lu <hongjiu.lu@intel.com>
955
956 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
957 (__bswap_64): __uint64_t for unsigned 64-bit int.
958
ca38dc17
AS
9592012-10-12 Andreas Schwab <schwab@linux-m68k.org>
960
961 * include/string.h (memmem): Declare libc hidden alias.
962 * string/memmem.c (memmem): Define libc hidden alias.
963 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
964 __read, __close instead of open, read, close.
965
9a387d1f
L
9662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
967
ac49ecaf
L
968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
969 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
970 global and hidden.
971 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
972 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
973 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
974 Likewise.
975 (__rawmemchr_sse2): Likewise.
976 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
977 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
978 (__strchr_sse2): Likewise.
979 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
980 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
981 (__strcasecmp_sse2): Likewise.
982 (__strncasecmp_sse2): Likewise.
983 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
984 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
985 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
986 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
987 (__strrchr_sse2): Likewise.
988 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
989 ifunc-impl-list.c.
990 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
991 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
992 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
993 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
994 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
995 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
996 * sysdeps/x86_64/multiarch/memset.S: Likewise.
997 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
998 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
999 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
1000 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
1001 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
1002 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
1003 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1004 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1005 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1006 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1007 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1008 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
1009 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1010 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1011 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1012 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
1013 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1014 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1015 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1016 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1017 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
1018 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1019 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1020
b090e8ea
L
1021 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
1022 global and hidden.
1023 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
1024 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
1025 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
1026 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
1027 Likewise.
1028 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
1029 Likewise.
1030 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
1031 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
1032 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
1033 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
1034 ifunc-impl-list.c.
1035 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1036 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1037 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1038 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1039 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1040 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1041 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1042 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1043 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1044 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1045 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1046 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1047 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1048 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
1049 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
1050 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1051 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
1052 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
1053 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1054 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1055 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1056 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1057 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1058 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1059 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1060 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
1061 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
1062 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
1063 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
1064 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1065 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
1066 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1067 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1068 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
1069 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1070 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1071 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1072 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1073 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1074 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1075 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
1076
11dd4af6
L
1077 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
1078 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
1079 * include/ifunc-impl-list.h: New file.
1080 * misc/ifunc-impl-list.c: Likewise.
1081 * misc/Makefile (routines): Add ifunc-impl-list.
1082 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
1083 * string/test-string.h: Include <ifunc-impl-list.h>.
1084 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
1085 impl_array): New variables.
1086 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
1087 are defined.
1088 (test_init): Call __libc_ifunc_impl_list to initialize
1089 func_list if TEST_IFUNC and TEST_NAME are defined.
1090
9a387d1f
L
1091 * string/Makefile (strop-tests): Add bcopy and bzero.
1092 * string/test-bcopy.c: New file.
1093 * string/test-bzero.c: Likewise.
1094 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
1095 defined.
1096 * string/test-memset.c: Support bzero test if TEST_BZERO is
1097 defined.
1098 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
1099 __libc_memmove.
1100 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
1101 __libc_memset.
1102 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
1103 of memset.
1104
472371b9
JM
11052012-10-10 Joseph Myers <joseph@codesourcery.com>
1106
1e4a9536
JM
1107 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
1108 * configure: Regenerated.
1109
d173d12e
JM
1110 * Makeconfig (+link-static-before-libc): Don't include
1111 $(link-static-libc).
1112
472371b9
JM
1113 * libio/libio.h (_IO_pos_t): Remove.
1114
89a3ad0b
AO
11152012-10-10 Alexandre Oliva <aoliva@redhat.com>
1116
1117 * NEWS: Add note about FIPS mode. Wording suggested by Roland
1118 McGrath.
1119
e7451425
AO
11202012-10-10 Alexandre Oliva <aoliva@redhat.com>
1121
1122 * crypt/crypt-entry.c: Include fips-private.h.
1123 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
1124 * crypt/md5c-test.c (main): Tolerate disabled MD5.
1125 * sysdeps/unix/sysv/linux/fips-private.h: New file.
1126 * sysdeps/generic/fips-private.h: New file, dummy fallback.
1127
4ba74a35
AO
11282012-10-10 Alexandre Oliva <aoliva@redhat.com>
1129
1130 * crypt/crypt-private.h: Include stdbool.h.
1131 (_ufc_setup_salt_r): Return bool.
1132 * crypt/crypt-entry.c: Include errno.h.
1133 (__crypt_r): Return NULL with EINVAL for bad salt.
1134 * crypt/crypt_util.c (bad_for_salt): New.
1135 (_ufc_setup_salt_r): Check that salt is long enough and within
1136 the specified alphabet.
1137 * crypt/badsalttest.c: New file.
1138 * crypt/Makefile (tests): Add it.
1139 ($(objpfx)badsalttest): New.
1140
f96f1242
MK
11412012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
1142
1143 * NEWS: Add entry for BZ #14602.
1144
0e8e0c1c
JM
11452012-10-09 Joseph Myers <joseph@codesourcery.com>
1146
1147 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
1148 type-generic.
1149 * math/libm-test.inc: Update comment listing what functions and
1150 macros are tested.
1151 (isgreater_test): New function.
1152 (isgreaterequal_test): Likewise.
1153 (isless_test): Likewise.
1154 (islessequal_test): Likewise.
1155 (islessgreater_test): Likewise.
1156 (isunordered_test): Likewise.
1157 (main): Call the new functions.
1158
273edc5e
RM
11592012-10-09 Roland McGrath <roland@hack.frob.com>
1160
b8493de0
RM
1161 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
1162 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
1163 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
1164 * sysdeps/i386/configure: Regenerated.
1165 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
1166 * sysdeps/mach/configure: Regenerated.
1167 * sysdeps/mach/hurd/configure: Regenerated.
1168 * sysdeps/powerpc/configure: Regenerated.
1169 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1170 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1171 * sysdeps/s390/s390-32/configure: Regenerated.
1172 * sysdeps/s390/s390-64/configure: Regenerated.
1173 * sysdeps/sh/configure: Regenerated.
1174 * sysdeps/sparc/configure: Regenerated.
1175 * sysdeps/unix/sysv/linux/configure: Regenerated.
1176 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1177 * sysdeps/x86_64/configure: Regenerated.
1178
273edc5e
RM
1179 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
1180 defined. Don't check if MAP is NULL.
1181
c8450f70
JM
11822012-10-09 Joseph Myers <joseph@codesourcery.com>
1183
1184 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
1185 (_G_stat64): Likewise.
1186 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
1187 (_G_stat64): Likewise.
1188 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
1189 instead of struct _G_stat64.
1190 * libio/fileops.c (mmap_remap_check): Likewise.
1191 (decide_maybe_mmap): Likewise.
1192 (_IO_new_file_seekoff): Likewise.
1193 (_IO_file_stat): Likewise.
1194 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
1195 _G_off64_t.
1196 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
1197 instead of struct _G_stat64.
1198 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1199
57e605ba
MK
12002012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
1201
1202 [BZ #14602]
1203 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1204 Replace with ...
1205 (CHECK_EOL): New macro.
1206 (two_way_short_needle): Check beginning of haystack for EOL. Use
1207 CHECK_EOL.
1208 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1209 Replace with CHECK_EOL.
1210 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
1211 Replace with CHECK_EOL.
1212
ef1bb361
JM
12132012-10-08 Joseph Myers <joseph@codesourcery.com>
1214
1215 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
1216 type-generic.
1217 * math/libm-test.inc: Update comment listing what functions and
1218 macros are tested.
1219 (finite_test): New function.
1220 (isinf_test): Likewise.
1221 (isnan_test): Likewise.
1222 (fpclassify_test): Test subnormal input.
1223 (isfinite_test): Likewise.
1224 (isnormal_test): Likewise.
1225 (main): Call the new functions.
1226
55f11534
JN
12272012-10-08 Jonathan Nieder <jrnieder@gmail.com>
1228
1229 [BZ #14660]
1230 * Makerules (%.dynsym): Force C locale when running
1231 $(OBJDUMP) --dynamic-syms.
1232
1ab29350
AS
12332012-10-08 Andreas Schwab <schwab@linux-m68k.org>
1234
1235 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
1236 <stdint.h>.
1237
f1ecb7ef
DM
12382012-10-06 David S. Miller <davem@davemloft.net>
1239
1240 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
1241 upper 32-bits of the length value in %o2 since we use branch-on-register
1242 tests which consider the entire 64-bit register.
1243
5d41d91a
L
12442012-10-06 H.J. Lu <hongjiu.lu@intel.com>
1245
1246 * string/test-strstr.c (check2): Add a test for page boundary.
1247
3baddb72
DM
12482012-10-05 David S. Miller <davem@davemloft.net>
1249
1250 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
1251 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
1252 file.
1253 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1254 sysdep_routines.
1255 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1256 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
1257 and bzero when HWCAP_SPARC_CRYPTO is present.
1258
9cee5585
L
12592012-10-05 H.J. Lu <hongjiu.lu@intel.com>
1260
d7e0dab9
L
1261 [BZ #14602]
1262 * string/test-strstr.c (check2): New function.
1263 (test_main): Call check2.
1264
03759f47
L
1265 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
1266 and bug-strchr1.
1267 * string/bug-strcasestr1.c (do_test): Moved to ...
1268 * string/test-strcasestr.c (check1): Here. New function.
1269 (do_one_test): Break out result checking code into ...
1270 (check_result): This. New function.
1271 (do_one_test): Call check_result.
1272 (test_main): Call check1.
1273 * string/bug-strchr1.c (do_test): Moved to ...
1274 * string/test-strchr.c (check1): Here. New function.
1275 (do_one_test): Break out result checking code into ...
1276 (check_result): This. New function.
1277 (do_one_test): Call check_result.
1278 (test_main): Call check1.
1279 * string/bug-strstr1.c (main): Moved to ...
1280 * string/test-strchr.c (check1): Here. New function.
1281 (do_one_test): Break out result checking code into ...
1282 (check_result): This. New function.
1283 (do_one_test): Call check_result.
1284 (test_main): Call check1.
1285 * string/bug-strcasestr1.c: Removed.
1286 * string/bug-strchr1.c: Likewise.
1287 * string/bug-strstr1.c: Likewise.
1288
53cea63e
L
1289 * elf/Makefile (dl-routines): Add hwcaps.
1290 * elf/dl-support.c (_dl_important_hwcaps): Removed.
1291 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
1292 (_dl_important_hwcaps): Moved to ...
1293 * elf/dl-hwcaps.c: Here. New file.
1294 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
1295
9cee5585 1296 [BZ #14557]
bb859b06
L
1297 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
1298 if IS_IN_rtld isn't defined.
1299
9cee5585
L
1300 * elf/dl-support.c (_dl_sysinfo_map): New.
1301 Include "get-dynamic-info.h" and "setup-vdso.h".
1302 (_dl_non_dynamic_init): Call setup_vdso.
1303 * elf/dynamic-link.h: Don't include <assert.h>.
1304 (elf_get_dynamic_info): Moved to ...
1305 * elf/get-dynamic-info.h: Here. New file.
1306 * elf/dynamic-link.h: Include "get-dynamic-info.h".
1307 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
1308 * elf/setup-vdso.h: Here. New file.
1309 * elf/rtld.c: Include "setup-vdso.h".
1310 (dl_main): Call setup_vdso.
1311
23c31b76
JM
13122012-10-05 Joseph Myers <joseph@codesourcery.com>
1313
28234b07
JM
1314 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
1315 creal in comment listing functions tested. List finite, isinf,
1316 isnan, isless, islessequal, isgreater, isgreaterequal,
1317 islessgreater, isunordered, lgamma_r and pow10 as functions and
1318 macros not tested. Mention which functions not tested are aliases
1319 for other functions. Fix typo. Note that signs of NaNs are not
1320 tested.
1321
23c31b76
JM
1322 * scripts/config.guess: Update from config.git.
1323 * scripts/config.sub: Likewise.
1324
9043e228
RM
13252012-10-04 Roland McGrath <roland@hack.frob.com>
1326
1327 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
1328 * misc/madvise.c (madvise): Renamed to __madvise.
1329 Make madvise a weak alias.
1330 * include/sys/mman.h: Declare __madvise.
1331 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
1332 * sysdeps/unix/syscalls.list
1333 (madvise): Make __madvise the strong name, and madvise a weak alias.
1334 * sysdeps/unix/sysv/linux/syscalls.list
1335 (madvise, mmap): Remove redundant entries.
1336 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
1337 * malloc/malloc.c (mtrim): Likewise.
1338 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
1339
f57f8055
RM
13402012-10-03 Roland McGrath <roland@hack.frob.com>
1341
1342 * sysdeps/mach/hurd/dl-cache.c: File removed.
1343 * config.h.in (USE_LDCONFIG): New #undef.
1344 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
1345 * configure: Regenerated.
1346 * elf/Makefile (dl-routines): Add dl-cache only under
1347 [$(use-ldconfig) = yes].
1348 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
1349 cache on [USE_LDCONFIG].
1350 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
1351 [USE_LDCONFIG].
1352 * elf/rtld.c (dl_main): Likewise.
1353
5bb0c10a
PT
13542012-10-03 Pino Toscano <toscano.pino@tiscali.it>
1355
1356 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
1357 _SC_LEVEL4_CACHE_LINESIZE.
1358
010188c6
RM
13592012-10-03 Roland McGrath <roland@hack.frob.com>
1360
1361 * sysdeps/unix/bsd/confstr.h: File removed.
1362
b6c5ec07
AO
13632012-10-02 Alexandre Oliva <aoliva@redhat.com>
1364
1365 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
1366 sys/sdt-config.h.
1367
408223d4
RM
13682012-10-02 Roland McGrath <roland@hack.frob.com>
1369
1370 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
1371 Make 'mapoff' field ElfW(Off) rather than off_t.
1372
bb9510dc
DL
13732012-10-02 Dmitry V. Levin <ldv@altlinux.org>
1374
fc997c6e
DL
1375 * nscd/Makefile: Remove nscd-cflags and all its users.
1376 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
1377 (CFLAGS-nonlib): Add compiler flags for nscd modules.
1378
bb9510dc
DL
1379 [BZ #10631]
1380 * malloc.c (malloc_printerr): Clarify error message.
1381
05699367
L
13822012-10-02 H.J. Lu <hongjiu.lu@intel.com>
1383
1384 [BZ #14648]
1385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1386 Set bit_FMA_Usable if FMA is supported.
1387 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
1388 macro.
1389 (bit_FMA4_Usable): Updated.
1390 (index_FMA_Usable): New macro.
1391 (CPUID_FMA): Likewise
1392 (HAS_FMA): Defined with bit_FMA_Usable.
1393
51367701
RM
13942012-10-01 Roland McGrath <roland@hack.frob.com>
1395
1396 * bits/types.h (__swblk_t): Type removed.
1397 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
1398 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
1399 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1400 (__SWBLK_T_TYPE): Likewise.
1401 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1402 (__SWBLK_T_TYPE): Likewise.
1403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1404 (__SWBLK_T_TYPE): Likewise.
1405 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1406 (__SWBLK_T_TYPE): Likewise.
1407
4d57bf63 14082012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 1409 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
1410
1411 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
1412 (xdr_mapname): Use YPMAXMAP as maxsize.
1413 (xdr_peername): Use YPMAXPEER as maxsize.
1414 (xdr_keydat): Use YPAXRECORD as maxsize.
1415 (xdr_valdat): Use YPMAXRECORD as maxsize.
1416
93c65d43
RM
14172012-10-01 Roland McGrath <roland@hack.frob.com>
1418
497a03d6
RM
1419 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
1420
93c65d43
RM
1421 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
1422 * csu/init-first.c: ... here.
1423 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
1424 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1425 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1427 * sysdeps/i386/init-first.c: File removed.
1428 * sysdeps/sh/init-first.c: File removed.
1429
bec749fd
JM
14302012-10-01 Joseph Myers <joseph@codesourcery.com>
1431
1432 [BZ #14645]
1433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
1434 if x * y might underflow to zero and z is zero.
1435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1437 * math/libm-test.inc (min_subnorm_value): New variable.
1438 (fma_test): Add more tests.
1439 (fma_test_towardzero): Likewise.
1440 (fma_test_downward): Likewise
1441 (fma_test_upward): Likewise.
1442 (initialize): Set min_subnorm_value.
1443
8ec5b013
JM
14442012-09-29 Joseph Myers <joseph@codesourcery.com>
1445
1446 [BZ #14638]
1447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
1448 0 + 0.
1449 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
1450 mode for addition resulting in exact zero.
1451 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
1452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
1453 exact 0 + 0.
1454 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1456 * math/libm-test.inc (fma_test): Add more tests.
1457 (fma_test_towardzero): New function.
1458 (fma_test_downward): Likewise.
1459 (fma_test_upward): Likewise.
1460 (main): Call the new functions.
1461
b1fa802e
DM
14622012-09-28 David S. Miller <davem@davemloft.net>
1463
1464 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
1465
d3b9fd9e
RM
14662012-09-28 Roland McGrath <roland@hack.frob.com>
1467
ea4d37b3
RM
1468 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
1469 instead of SIGALRM.
1470
ac51c949
RM
1471 * sysdeps/gnu/_G_config.h: Moved to ...
1472 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
1473 * sysdeps/mach/hurd/_G_config.h: Moved to ...
1474 * sysdeps/generic/_G_config.h: ... here.
1475
28c195f7
RM
1476 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
1477
848917f9
RM
1478 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
1479
6bacf05b
RM
1480 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
1481 Conditionalize target on [libnss_test1.so-version].
1482
91363dbb
RM
1483 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
1484
cc87f7d8
RM
1485 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
1486 (elfobjdir): Move out of conditionals.
1487
b1c608fe
RM
1488 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
1489 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
1490 (__nss_lookup_function): Conditionalize label remove_from_tree on
1491 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 1492
1d9a6d96
DM
14932012-09-28 David S. Miller <davem@davemloft.net>
1494
1495 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
1496 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
1497 file.
1498 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
1499 sysdep_routines.
1500 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
1501 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
1502 when HWCAP_SPARC_CRYPTO is present.
1503
72581615
PT
15042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1505
1506 * io/tst-mknodat.c: Create a FIFO instead of a socket.
1507
715a900c
JL
15082012-09-28 Andreas Schwab <schwab@linux-m68k.org>
1509
1510 [BZ #6530]
1511 * stdio-common/vfprintf.c (process_string_arg): Revert
1512 2000-07-22 change.
1513
15142011-09-28 Jonathan Nieder <jrnieder@gmail.com>
1515
1516 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
1517 for testcase.
1518 * stdio-common/tst-sprintf.c: Include <locale.h>
1519 (main): Test sprintf's handling of incomplete multibyte
1520 characters.
1521
9bac1d86
L
15222012-09-28 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 * elf/dl-runtime.c (VERSYMIDX): Removed.
1525 * elf/dl-version.c (VERSYMIDX): Likewise.
1526 * elf/do-rel.h (VERSYMIDX): Likewise.
1527 (VALIDX): Likewise.
1528 * elf/dynamic-link.h (VERSYMIDX): Likewise.
1529 * elf/rtld.c (VALIDX): Likewise.
1530 (ADDRIDX): Likewise.
9bac1d86
L
1531 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
1532 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
1533 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
1534 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
1535 (VALIDX): Likewise.
1536 (ADDRIDX): Likewise.
9bac1d86 1537
b31606c0
PT
15382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1539
1540 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
1541
11541177
JL
15422012-09-28 Dmitry V. Levin <ldv@altlinux.org>
1543
1544 [BZ #11438]
1545 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
1546 to global scope.
1547 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
1548 addresses are in the same scope as 192.0.2/24.
1549 * posix/gai.conf: Document new scope table defaults.
1550
adb26fae
SP
15512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1552
1553 [BZ #5298]
1554 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
1555 for ftell. Compute offsets from write pointers instead.
1556 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
1557
4573c6b0
SP
15582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1559
1560 [BZ #14543]
1561 * libio/Makefile (tests): New test case tst-fseek.
1562 * libio/tst-fseek.c: New test case to verify that fseek/ftell
1563 combination works in wide mode.
1564 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
1565 state when the external buffer state changes.
1566
aa9bbfe6
DM
15672012-09-27 David S. Miller <davem@davemloft.net>
1568
1569 [BZ #14376]
1570 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
1571 pass reloc->r_addend in as the 'high' argument to
1572 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
1573
784421e7
DM
1574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1575
c39bc8b8
PT
15762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
1577
1578 * rt/tst-aio2.c: Include <pthread.h>.
1579 * rt/tst-aio3.c: Likewise.
1580
1ccc2399
SE
15812012-09-27 Steve Ellcey <sellcey@mips.com>
1582
1583 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
1584
31ed4153
L
15852012-09-27 H.J. Lu <hongjiu.lu@intel.com>
1586
25f5f885
L
1587 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
1588 contents on [SHARED].
31ed4153 1589
b7bfe116
MP
15902012-09-26 Marek Polacek <polacek@redhat.com>
1591
1592 [BZ #14530]
1593 [BZ #13741]
1594 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
1595 for C++ and GCC <4.3 as well as for non GCC compilers.
1596
43c4edba
MT
15972012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1598
1599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1600
6a1bf82f
RM
16012012-09-25 Roland McGrath <roland@hack.frob.com>
1602
1603 * Makefile.in (all, install): Declare with .PHONY.
1604 Reported by Michael Hope <michael.hope@linaro.org>.
1605
8ad11b9a
TMQMF
16062012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1607
1608 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
1609 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
1610 system header.
1611 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
1612 Likewise.
1613 (sydep_routines): Add the new and the internal functions.
1614 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
1615 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
1616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
1617 (GLIBC_2.17): Add the new function.
1618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1619 (GLIBC_2.17): Likewise.
1620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1621 (GLIBC_2.17): Likewise.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
1623 (GLIBC_2.17): Likewise.
1624 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
1625
7e2fca8d
AM
16262012-09-25 Alan Modra <amodra@gmail.com>
1627
1628 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
1629 Add release barrier before setting once_control to say
1630 initialisation is done. Add hints on lwarx. Use macro in
1631 place of isync.
1632 (clear_once_control): Add release barrier.
1633
b87c4b24
JM
16342012-09-25 Joseph Myers <joseph@codesourcery.com>
1635
d032e0d2
JM
1636 [BZ #13629]
1637 * math/s_clog.c (__clog): Handle more values close to |z| = 1
1638 specially.
1639 * math/s_clog10.c (__clog10): Likewise.
1640 * math/s_clog10f.c (__clog10f): Likewise.
1641 * math/s_clog10l.c (__clog10l): Likewise.
1642 * math/s_clogf.c (__clogf): Likewise.
1643 * math/s_clogl.c (__clogl): Likewise.
1644 * math/Makefile (libm-calls): Add x2y2m1.
1645 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
1646 (__x2y2m1): Likewise.
1647 (__x2y2m1l): Likewise.
1648 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
1649 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1652 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1653 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
1654 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
1655 * sysdeps/i386/fpu/libm-test-ulps: Update.
1656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1657
b87c4b24
JM
1658 [BZ #14621]
1659 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
1660 int as type of variable DEPTH.
1661 (glob): Use size_t instead of int as type of variables NEWCOUNT
1662 and OLD_PATHC.
1663
6d3bf199
LD
16642012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1665
22bf5c17
LD
1666 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
1667 Add s_sincosf-sse2.
1668 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
1669 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
1670 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
1671 macros for using routine as __sincosf_ia32.
1672 Use macro for function declaration and weak_alias.
1673 * sysdeps/i386/fpu/libm-test-ulps: Update.
1674
1675 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1677
1678 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
1679 subnormal argument.
1680 * math/s_cexpf.c (__cexpf): Likewise.
1681 * math/s_csinf.c (__csinf): Likewise.
1682 * math/s_csinhf.c (__csinhf): Likewise.
1683 * math/s_ctanf.c (__ctanf): Likewise.
1684 * math/s_ctanhf.c (__ctanhf): Likewise.
1685 * math/s_ccosh.c (__ccoshf): Likewise.
1686 * math/s_cexp.c (__cexpl): Likewise.
1687 * math/s_csin.c (__csin): Likewise.
1688 * math/s_csinh.c (__csinh): Likewise.
1689 * math/s_ctan.c (__ctan): Likewise.
1690 * math/s_ctanh.c (ctanh): Likewise.
1691 * math/s_ccoshl.c (__ccoshl): Likewise.
1692 * math/s_cexpl.c (__cexpl): Likewise.
1693 * math/s_csinl.c (__csinl): Likewise.
1694 * math/s_csinhl.c (__csinhl): Likewise.
1695 * math/s_ctanl.c (__ctanl): Likewise.
1696 * math/s_ctanhl.c (__ctanhl): Likewise.
1697
203e5603
JM
16982012-09-25 Joseph Myers <joseph@codesourcery.com>
1699
1700 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
1701 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
1702 (_IO_off_t): Define to __off_t, not _G_off_t.
1703 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
1704 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
1705 (_IO_wint_t): Define to wint_t, not _G_wint_t.
1706 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
1707 type of __dummy and __dummy2 fields.
1708 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
1709 (_G_ssize_t): Likewise.
1710 (_G_off_t): Likewise.
1711 (_G_pid_t): Likewise.
1712 (_G_uid_t): Likewise.
1713 (_G_wchar_t): Likewise.
1714 (_G_wint_t): Likewise.
1715 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
1716 (_G_ssize_t): Likewise.
1717 (_G_off_t): Likewise.
1718 (_G_pid_t): Likewise.
1719 (_G_uid_t): Likewise.
1720 (_G_wchar_t): Likewise.
1721 (_G_wint_t): Likewise.
1722 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
1723 (_G_ssize_t): Likewise.
1724 (_G_off_t): Likewise.
1725 (_G_pid_t): Likewise.
1726 (_G_uid_t): Likewise.
1727 (_G_wchar_t): Likewise.
1728 (_G_wint_t): Likewise.
1729
9fab36eb
SP
17302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1731
1732 * malloc/arena.c: Include malloc-sysdep.h.
1733 (shrink_heap): Use check_may_shrink_heap to decide if madvise
1734 is sufficient to shrink the heap or an unmap is needed.
1735 * sysdeps/generic/malloc-sysdep.h: New file. Define
1736 new function check_may_shrink_heap.
1737 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
1738 new function check_may_shrink_heap.
1739
2b4f00d1
SP
17402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1741
1742 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
1743 comments.
1744
9a9028b1
DL
17452012-09-24 Dmitry V. Levin <ldv@altlinux.org>
1746
57c69bef
DL
1747 * catgets/test-gencat.sh: Add "set -e".
1748 * elf/tst-pathopt.sh: Likewise.
1749 * grp/tst_fgetgrent.sh: Likewise.
1750 * iconvdata/run-iconv-test.sh: Likewise.
1751 * intl/tst-gettext.sh: Likewise.
1752 * intl/tst-gettext2.sh: Likewise.
1753 * intl/tst-gettext4.sh: Likewise.
1754 * intl/tst-gettext6.sh: Likewise.
1755 * intl/tst-translit.sh: Likewise.
1756 * io/ftwtest-sh: Likewise.
1757 * libio/test-freopen.sh: Likewise.
1758 * malloc/tst-mtrace.sh: Likewise.
1759 * posix/globtest.sh: Likewise.
1760 * posix/tst-getconf.sh: Likewise.
1761 * posix/wordexp-tst.sh: Likewise.
1762 * stdio-common/tst-printf.sh: Likewise.
1763 * stdio-common/tst-unbputc.sh: Likewise.
1764 * stdlib/tst-fmtmsg.sh: Likewise.
1765 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1766 * catgets/Makefile: Do not specify -e option when running
1767 testsuite shell scripts.
1768 * elf/Makefile: Likewise.
1769 * grp/Makefile: Likewise.
1770 * iconvdata/Makefile: Likewise.
1771 * intl/Makefile: Likewise.
1772 * io/Makefile: Likewise.
1773 * libio/Makefile: Likewise.
1774 * malloc/Makefile: Likewise.
1775 * posix/Makefile: Likewise.
1776 * stdio-common/Makefile: Likewise.
1777 * stdlib/Makefile: Likewise.
1778 * sysdeps/x86_64/Makefile: Likewise.
1779
9a9028b1
DL
1780 * io/ftwtest-sh: Add copyright header.
1781 * posix/globtest.sh: Likewise.
1782 * posix/tst-getconf.sh: Likewise.
1783 * posix/wordexp-tst.sh: Likewise.
1784 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
1785
ced6f16e
L
17862012-09-24 H.J. Lu <hongjiu.lu@intel.com>
1787
94b32c39
L
1788 [BZ #13679]
1789 * Makeconfig (+link): Defined as $(+link-static) if
1790 $(build-shared) isn't yes.
1791 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
1792 isn't yes.
1793 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
1794
189e935b
L
1795 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
1796
ced6f16e
L
1797 [BZ #14562]
1798 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
1799 new chunk size with MALLOC_ALIGN_MASK.
1800
a9f8e53a
JM
18012012-09-24 Joseph Myers <joseph@codesourcery.com>
1802
1803 [BZ #5044]
1804 * stdio-common/printf_fphex.c: Include <stdbool.h> and
1805 <rounding-mode.h>.
1806 (__printf_fphex): Determine rounding using get_rounding_mode and
1807 round_away.
1808 * stdio-common/tst-printf-round.c (struct hex_test): New
1809 structure.
1810 (hex_tests): New variable.
1811 (test_hex_in_one_mode): New function.
1812 (do_test): Also run tests for hex float output.
1813
43153109
JM
18142012-09-21 Joseph Myers <joseph@codesourcery.com>
1815
1816 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1817 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1818 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
1819 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
1820 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
1821 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
1822 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1823 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
1824
8a26625d
JM
18252012-09-20 Joseph Myers <joseph@codesourcery.com>
1826
1827 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
1828 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
1829 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
1830 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
1831
f3fd569c
DL
18322012-09-19 Dmitry V. Levin <ldv@altlinux.org>
1833
1834 [BZ #14579]
1835 * elf/rtld.c (dl_main): Limit the check for self loading to normal
1836 mode only.
1837 * elf/tst-rtld-load-self.sh: New test.
1838 * elf/Makefile: Run it.
1839
63bbedd4
JM
18402012-09-18 Joseph Myers <joseph@codesourcery.com>
1841
1842 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
1843 (tst-writev-ENV): Remove.
1844 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
1845
626f8b6a
CM
18462012-09-17 Chris Metcalf <cmetcalf@tilera.com>
1847
1848 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
1849
b7aaa4d6
JM
18502012-09-17 Joseph Myers <joseph@codesourcery.com>
1851
1852 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
1853 unconditional.
1854 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
1855 Likewise.
1856 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
1857 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
1858 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
1859 Likewise.
1860
65513990
L
18612012-09-14 H.J. Lu <hongjiu.lu@intel.com>
1862
1863 [BZ #14587]
1864 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
1865 * config.make.in (have-cpp-asm-debuginfo): Removed.
1866 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
1867 * configure: Regenerated.
1868
784761be
JM
18692012-09-14 Joseph Myers <joseph@codesourcery.com>
1870
1871 [BZ #5044]
1872 * stdio-common/printf_fp.c: Include <stdbool.h> and
1873 <rounding-mode.h>.
1874 (___printf_fp): Determine rounding using get_rounding_mode and
1875 round_away.
1876 * stdio-common/tst-printf-round.c: New file.
1877 * stdio-common/Makefile (tests): Add tst-printf-round.
1878 (link-libm): New variable.
1879 ($(objpfx)tst-printf-round): Depend in $(link-libm).
1880
9503345f
L
18812012-09-13 H.J. Lu <hongjiu.lu@intel.com>
1882
1883 [BZ #14576]
1884 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
1885 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
1886 Likewise.
1887 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
1888 Likewise.
1889
ad35fc00
JM
18902012-09-13 Joseph Myers <joseph@codesourcery.com>
1891
1892 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
1893 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1894 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1895 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
1896
6c9b0f68
JM
18972012-09-12 Joseph Myers <joseph@codesourcery.com>
1898
1899 [BZ #14518]
1900 * include/rounding-mode.h: New file.
1901 * sysdeps/generic/get-rounding-mode.h: Likewise.
1902 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
1903 * stdlib/strtod_l.c: Include <rounding-mode.h>.
1904 (MAX_VALUE): New macro.
1905 (MIN_VALUE): Likewise.
1906 (overflow_value): New function.
1907 (underflow_value): Likewise.
1908 (round_and_return): Use overflow_value and underflow_value to
1909 determine return values in overflow and underflow cases. Use
1910 round_away to determine rounding depending on rounding mode.
1911 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
1912 determine return values in overflow and underflow cases.
1913 * stdlib/tst-strtod-round.c: Include <fenv.h>.
1914 (struct test_results): New structure.
1915 (struct test): Use struct test_results to store expected results
1916 for all rounding modes.
1917 (TEST): Include expected results for all rounding modes.
1918 (test_in_one_mode): New function.
1919 (do_test): Use test_in_one_mode to compute and check results.
1920 Check results for all rounding modes.
1921 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
1922 $(link-libm).
1923
19fcedd5
AM
19242012-12-09 Allan McRae <allan@archlinux.org>
1925
1e9d84cd 1926 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 1927
8bbfd2f1
JM
19282012-09-11 Joseph Myers <joseph@codesourcery.com>
1929
1930 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
1931 (_G_int32_t): Likewise.
1932 (_G_uint16_t): Likewise.
1933 (_G_uint32_t): Likewise.
1934 (_G_HAVE_BOOL): Likewise.
1935 (_G_HAVE_ATEXIT): Likewise.
1936 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1937 (_G_HAVE_IO_FILE_OPEN): Likewise.
1938 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
1939 (_G_int32_t): Likewise.
1940 (_G_uint16_t): Likewise.
1941 (_G_uint32_t): Likewise.
1942 (_G_HAVE_BOOL): Likewise.
1943 (_G_HAVE_ATEXIT): Likewise.
1944 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1945 (_G_HAVE_IO_FILE_OPEN): Likewise.
1946 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
1947 (_G_int32_t): Likewise.
1948 (_G_uint16_t): Likewise.
1949 (_G_uint32_t): Likewise.
1950 (_G_HAVE_BOOL): Likewise.
1951 (_G_HAVE_ATEXIT): Likewise.
1952 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
1953 (_G_HAVE_IO_FILE_OPEN): Likewise.
1954
b1dc5912
L
19552012-09-11 H.J. Lu <hongjiu.lu@intel.com>
1956
1957 * csu/libc-tls.c: Update copyright years.
1958
0e886ef9
JM
19592012-09-10 Joseph Myers <joseph@codesourcery.com>
1960
28361c5e
JM
1961 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
1962 [!_G_USING_THUNKS]: Remove conditional code.
1963 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
1964 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
1965
0e886ef9
JM
1966 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
1967 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
1968 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1969 (_G_VTABLE_LABEL_PREFIX): Likewise.
1970 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1971 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1972 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1973 (_G_VTABLE_LABEL_PREFIX): Likewise.
1974 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1975 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
1976 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
1977 (_G_VTABLE_LABEL_PREFIX): Likewise.
1978 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
1979
bcba7aa2
L
19802012-09-10 H.J. Lu <hongjiu.lu@intel.com>
1981
1982 * libio/Makefile: Include ../Makeconfig before tests.
1983 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
1984 only if $(build-shared) is yes.
1985
06585ee8
L
1986 * iconv/gconv_db.c: Update copyright years.
1987
80ccd52c
LD
19882012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1989
1990 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
1991 unwind info if defined PIC. Fix special cases description.
1992 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
1993
1994 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
1995 DP_HI_MASK entry.
1996 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
1997
691bc9c1
L
19982012-09-07 H.J. Lu <hongjiu.lu@intel.com>
1999
3d9b46b3
L
2000 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
2001
de2139a9
L
2002 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
2003 is NULL.
2004
5ca78dd0
L
2005 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
2006 (LDLIBS-tst-chk4): This.
2007 (LDFLAGS-tst-chk5): Renamed to ...
2008 (LDLIBS-tst-chk5): This.
2009 (LDFLAGS-tst-chk6): Renamed to ...
2010 (LDLIBS-tst-chk6): This.
2011 (LDFLAGS-tst-lfschk4): Renamed to ...
2012 (LDLIBS-tst-lfschk4): This.
2013 (LDFLAGS-tst-lfschk5): Renamed to ...
2014 (LDLIBS-tst-lfschk5): This.
2015 (LDFLAGS-tst-lfschk6): Renamed to ...
2016 (LDLIBS-tst-lfschk6): This.
2017
691bc9c1
L
2018 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
2019 on $(common-objpfx)soversions.mk.
2020
65cafb1c
JM
20212012-09-07 Joseph Myers <joseph@codesourcery.com>
2022
2023 [BZ #10014]
2024 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
2025 example host name.
2026
c78ab094
SP
20272012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2028
2029 * malloc/arena.c (arena_get_retry): New function that gets
2030 another arena for the caller to try its request on.
2031 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
2032 current arena cannot fulfill the request.
2033 (__libc_memalign): Likewise.
2034 (__libc_memalign): Likewise.
2035 (__libc_pvalloc): Likewise.
2036 (__libc_calloc): Likewise.
2037
01f49f59
JT
20382012-09-05 John Tobey <john.tobey@gmail.com>
2039
2040 [BZ #13542]
2041 * manual/arith.texi (Operations on Complex): Fix description
2042 of carg branch cut.
2043
4c23fed5
JM
20442012-09-06 Joseph Myers <joseph@codesourcery.com>
2045
1d3c8572
JM
2046 [BZ #10014]
2047 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
2048 host name.
2049
4c23fed5
JM
2050 [BZ #10038]
2051 * manual/memory.texi (Memory): Make order of menu items match
2052 order of sections.
2053
04570aaa
L
20542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2055
2056 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
2057 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
2058 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
2059
b80af2f4
L
20602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2061
2062 * csu/libc-tls.c (static_dtv): Renamed to ...
2063 (_dl_static_dtv): This. Make it global.
2064 (_dl_initial_dtv): Removed.
2065 (__libc_setup_tls): Updated.
2066 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
2067 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
2068 DL_INITIAL_DTV.
2069
2abe9f15
PM
20702012-09-06 Petr Machata <pmachata@redhat.com>
2071
2072 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
2073 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
2074 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
2075 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
2076
0948c3af
L
20772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2078
2079 [BZ #14545]
2080 * csu/libc-tls.c (_dl_initial_dtv): New variable.
2081 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
2082 freeing dtv[-1].
2083
a5055ad1
L
20842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
2085
2086 [BZ #14544]
2087 * Makeconfig (link-static-before-libc): Replace $(+prector)
2088 with $(+prectorT).
2089 (link-static-after-libc): Replace $(+postctor) with
2090 $(+postctorT).
2091 (link-bounded): Replace $(+prector)/$(+postctor) with
2092 $(+prectorT)/$(+postctorT).
2093 (+prectorT): New macro.
2094 (+postctorT): Likewise.
2095
ed8c2ecd
JM
20962012-09-06 Joseph Myers <joseph@codesourcery.com>
2097
2098 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
2099 (round_str): Handle values above the maximum for IBM long double
2100 as inexact.
2101 * stdlib/tst-strtod-round.c (tests): Regenerated.
2102
14c996c8
AK
21032012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2104
2105 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
2106 assembler flag.
2107 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
2108 zarch_nohighgprs around the zarch optimized routines.
2109 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2110 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2111 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
2112 for zarch.
2113
430d6ce6
DM
21142012-09-05 David S. Miller <davem@davemloft.net>
2115
2116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2117
ff04dda4
DM
2118 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
2119 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
2120 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
2121 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
2122 entries.
2123
24d4e01b
AO
21242012-09-05 Alexandre Oliva <aoliva@redhat.com>
2125
2126 * malloc/arena.c: Fold copyright years.
2127 * malloc/mcheck.c, malloc/memusage.c: Likewise.
2128
61d58174
AO
21292012-09-05 Alexandre Oliva <aoliva@redhat.com>
2130
2131 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
2132
20196a5e
AO
21332012-09-05 Alexandre Oliva <aoliva@redhat.com>
2134
2135 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
2136
5c447383
AO
21372012-09-05 Alexandre Oliva <aoliva@redhat.com>
2138
2139 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
2140 change internal state upon failure.
2141
fad64255
AO
21422012-09-05 Alexandre Oliva <aoliva@redhat.com>
2143
2144 * malloc/mcheck.c (mcheck_check_all): Fix typo.
2145 * malloc/memusage.c (mmap): Likewise.
2146 (mmap64, mremap): Likewise. Adjust name in comment.
2147
1ffb8c90
SP
21482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2149
2150 * libio/fileops.c: Fix typos in comments.
2151 * libio/oldfileops.c: Likewise.
2152 * libio/wfileops.c: Likewise.
2153
6ef9cc37
SP
21542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2155
2156 [BZ #1349]
2157 * malloc/Makefile (tests): Add tst-malloc-usable test case.
2158 (tst-malloc-usable-ENV): Set environment for test case.
2159 * malloc/hooks.c (malloc_check_get_size): New function to get
2160 requested size.
2161 * malloc/malloc.c (musable): Use malloc_check_get_size.
2162 * malloc/tst-malloc-usable.c: New test case.
2163
4d038ae3
AS
21642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2165
2166 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
2167
c4e85184
AM
21682012-09-05 Allan McRae <allan@archlinux.org>
2169
b9dafc56 2170 [BZ #13966]
c4e85184
AM
2171 * configure.in (CXX_SYSINCLUDES): Use compiler output to
2172 determine header location.
2173 * configure: Regenerated.
2174
e1343020
AS
21752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
2176
2177 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
2178 float format.
2179 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
2180 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
2181 format.
e1343020
AS
2182 (test): Regenerate.
2183
0a9f1987
DM
21842012-09-04 David S. Miller <davem@davemloft.net>
2185
2186 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
2187 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
2188 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
2189
29237804
FW
21902012-09-04 Florian Weimer <fweimer@redhat.com>
2191
2192 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
2193 failures.
2194
edb3cb88
FW
2195 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
2196
60160d83
JM
21972012-09-04 Joseph Myers <joseph@codesourcery.com>
2198
2199 [BZ #9914]
2200 * libio/iogetdelim.c: Include <limits.h>.
2201 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
2202 + len + 1 would overflow.
2203
bcd6c8dc
AJ
22042012-09-03 Andreas Jaeger <aj@suse.de>
2205
2206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2207 * sysdeps/i386/fpu/libm-test-ulps: Update.
2208
4ffffbd2
LD
22092012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2210
2211 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
2212 Add s_sinf-sse2, s_conf-sse2.
2213
2214 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
2215 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
2216 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
2217 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
2218
2219 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
2220 for using routine as __sinf_ia32.
2221 Use macro for function declaration and weak_alias.
2222 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
2223 for using routine as __cosf_ia32.
2224 Use macro for function declaration and weak_alias.
2225
2226 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
2227 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
2228
2229 * sysdeps/x86_64/fpu/s_sinf.S: New file.
2230 * sysdeps/x86_64/fpu/s_cosf.S: New file.
2231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2232
2233 * math/libm-test.inc (cos_test): Add more test cases.
2234 (sin_test): Likewise.
2235 (sincos_test): Likewise.
2236
511fa286
AK
22372012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2238
2239 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2240 (IFUNC_RESOLVE): Make pointers to the specialized implementations
2241 hidden.
2242 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2243
5f30cfec
L
22442012-09-02 H.J. Lu <hongjiu.lu@intel.com>
2245
2246 [BZ #14538]
2247 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
2248 first element of the GOT.
2249 (elf_machine_load_address): Return the difference between
2250 the runtime address of _DYNAMIC and elf_machine_dynamic ().
2251
0786794f
AM
22522012-09-01 Allan McRae <allan@archlinux.org>
2253
5f30cfec
L
2254 [BZ #13412]
2255 * configure.in (AWK): Require gawk version 3.0 or later.
2256 * configure: Regenerated.
0786794f 2257
26889eac
JM
22582012-09-01 Joseph Myers <joseph@codesourcery.com>
2259
2260 * sysdeps/unix/sysv/linux/kernel-features.h
2261 (__ASSUME_POSIX_CPU_TIMERS): Remove.
2262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2263 [__NR_clock_getres]: Make code unconditional.
2264 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
2265 (clock_getcpuclockid): Remove code left unreachable by removal of
2266 conditionals.
2267 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
2268 code unconditional.
2269 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2270 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2271 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
2272 Make code unconditional.
2273 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
2274 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2275 * sysdeps/unix/sysv/linux/clock_settime.c
2276 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
2277 conditional code.
2278 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
2279 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
2280
d22e28b0
L
22812012-08-29 H.J. Lu <hongjiu.lu@intel.com>
2282
2283 [BZ #14476]
2284 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
2285 scripts/test-installation.pl.
2286
2287 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
2288 and $ld_so_version if it is set.
2289
050af9c4
SP
22902012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2291
2292 [BZ #14516]
2293 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
2294 failure if reading from procfs failed.
2295 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
2296
ad845c0b
JM
22972012-08-27 Joseph Myers <joseph@codesourcery.com>
2298
2299 * sysdeps/unix/sysv/linux/kernel-features.h
2300 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
2301 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2302 Remove conditional code.
2303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2304 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
2305 Remove conditional code.
2306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2307 * sysdeps/unix/sysv/linux/i386/fxstat.c
2308 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2310 * sysdeps/unix/sysv/linux/i386/fxstatat.c
2311 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2313 * sysdeps/unix/sysv/linux/i386/lxstat.c
2314 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
2315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2316 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
2317 Remove conditional code.
2318 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2319 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
2320 Remove conditional code.
2321 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2322 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
2323 <kernel-features.h>.
2324 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
2325 Remove.
2326 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
2327 Remove conditional code.
2328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
2329 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
2330 Remove conditional.
2331
5dbf56af
MF
23322012-08-27 Mike Frysinger <vapier@gentoo.org>
2333
2334 [BZ #5400]
2335 * NEWS: Add fixed bug number.
2336
d6e70f43
JM
23372012-08-27 Joseph Myers <joseph@codesourcery.com>
2338
7efb4737
JM
2339 [BZ #14519]
2340 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
2341 underflowing exponent in case of negative sign.
2342 * stdlib/tst-strtod-round-data: Add more tests.
2343 * stdlib/tst-strtod-round.c (tests): Regenerated.
2344
af92131a
JM
2345 [BZ #3479]
2346 * stdlib/strtod_l.c (NDIG): Remove.
2347 (HEXNDIG): Likewise.
2348 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
2349 smallest representable value.
2350 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
2351 lie within an exact representation of 1/2 ulp of the result.
2352 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
2353 unconditionally.
2354 (TENS_P9_IDX): Define unconditionally.
2355 (TENS_P9_SIZE): Likewise.
2356 (TENS_P10_IDX): Likewise.
2357 (TENS_P10_SIZE): Likewise.
2358 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
2359 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
2360 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
2361 entries for 10^2^13 and 10^2^14.
2362 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
2363 (TENS_P13_IDX): Define.
2364 (TENS_P13_SIZE): Likewise.
2365 (TENS_P14_IDX): Likewise.
2366 (TENS_P14_SIZE): Likewise.
2367 (_fpioconst_pow10): Change array size to
2368 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
2369 unconditional.
2370 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
2371 1024]: Add entries for 10^2^13 and 10^2^14.
2372 [LAST_POW10 > _LAST_POW10]: Remove #error.
2373 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
2374 (_fpioconst_pow10): Change array size to
2375 FPIOCONST_POW10_ARRAY_SIZE.
2376 * stdlib/gen-fpioconst.c: New file.
2377 * stdlib/gen-tst-strtod-round.c: Likewise.
2378 * stdlib/tst-strtod-round-data: Likewise.
2379 * stdlib/tst-strtod-round.c: Likewise.
2380 * stdlib/Makefile (tests): Add tst-strtod-round.
2381
d6e70f43
JM
2382 [BZ #14459]
2383 * stdlib/strtod_l.c: Include <stdint.h>.
2384 (NDEBUG): Do not define.
2385 (round_and_return): Change EXPONENT parameter to type intmax_t.
2386 Rearrange calculations to avoid internal overflow possibilities.
2387 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
2388 Rearrange calculations to avoid internal overflow possibilities.
2389 Assert that number fits inside MPNSIZE limbs.
2390 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
2391 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
2392 calculations and add assertions to avoid internal overflow
2393 possibilities. Add casts to avoid signed/unsigned operations.
2394 * stdlib/tst-strtod-overflow.c: New file.
2395 * stdlib/Makefile (tests): Add tst-strtod-overflow.
2396
1f529f7d
MP
23972012-08-25 Marek Polacek <polacek@redhat.com>
2398
2399 * time/time.h: Fix some typos in comments.
2400
59a629f1
RM
24012012-08-23 Roland McGrath <roland@hack.frob.com>
2402
2403 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
2404 * posix/tst-rfc3484-2.c: Likewise.
2405 * posix/tst-rfc3484-3.c: Likewise.
2406
d3bafbc9
SM
24072012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
2408
2409 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
2410 (EF_ARM_ABI_FLOAT_HARD): Likewise.
2411
4efcc022
JM
24122012-08-23 Joseph Myers <joseph@codesourcery.com>
2413
2414 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
2415 #include of fxstatat64.c.
2416
3cc3ef96
RM
24172012-08-22 Roland McGrath <roland@hack.frob.com>
2418
f04e2132
RM
2419 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
2420 * shadow/getspent_r.c: Likewise.
2421 * shadow/getspnam.c: Likewise.
2422 * shadow/getspnam_r.c: Likewise.
2423 * gshadow/getsgent.c: Likewise.
2424 * gshadow/getsgent_r.c: Likewise.
2425 * gshadow/getsgnam.c: Likewise.
2426 * gshadow/getsgnam_r.c: Likewise.
2427 * inet/getnetbyad.c: Likewise.
2428 * inet/getnetbyad_r.c: Likewise.
2429 * inet/getnetbynm.c: Likewise.
2430 * inet/getnetbynm_r.c: Likewise.
2431 * inet/getnetent.c: Likewise.
2432 * inet/getnetent_r.c: Likewise.
2433 * inet/getproto.c: Likewise.
2434 * inet/getproto_r.c: Likewise.
2435 * inet/getprtent.c: Likewise.
2436 * inet/getprtent_r.c: Likewise.
2437 * inet/getprtname.c: Likewise.
2438 * inet/getprtname_r.c: Likewise.
2439 * inet/getrpcbyname.c: Likewise.
2440 * inet/getrpcbyname_r.c: Likewise.
2441 * inet/getrpcbynumber.c: Likewise.
2442 * inet/getrpcbynumber_r.c: Likewise.
2443 * inet/getrpcent.c: Likewise.
2444 * inet/getrpcent_r.c: Likewise.
2445 * inet/getaliasent.c: Likewise.
2446 * inet/getaliasent_r.c: Likewise.
2447 * inet/getaliasname.c: Likewise.
2448 * inet/getaliasname_r.c: Likewise.
2449 * nscd/getgrgid_r.c: Likewise.
2450 * nscd/getgrnam_r.c: Likewise.
2451 * nscd/gethstbyad_r.c: Likewise.
2452 * nscd/gethstbynm3_r.c: Likewise.
2453 * nscd/getpwnam_r.c: Likewise.
2454 * nscd/getpwuid_r.c: Likewise.
2455 * nscd/getsrvbynm_r.c: Likewise.
2456 * nscd/getsrvbypt_r.c: Likewise.
2457 * nscd/gai.c: Likewise.
2458
c53d909c
RM
2459 * configure.in (build_nscd): New substituted variable, set
2460 by --disable-build-nscd and defaults to $use_nscd.
2461 * configure: Regenerated.
2462 * config.make.in (build-nscd): New substituted variable.
2463 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
2464 Change conditional to require [$(build-nscd) = yes] as well.
2465 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
2466
3cc3ef96
RM
2467 [BZ# 13696]
2468 * configure.in (use_nscd): New substituted variable, set by
2469 --disable-nscd. If enabled, define USE_NSCD.
2470 * configure: Regenerated.
2471 * config.h.in: Add USE_NSCD.
2472 * config.make.in (use-nscd): New substituted variable.
2473 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
2474 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
2475 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
2476 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
2477 (CFLAGS-getgrnam_r.c): Likewise.
2478 (CFLAGS-initgroups.c): Likewise.
2479 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
2480 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
2481 Variables removed.
2482 * inet/getnetgrent_r.c
2483 (nscd_setnetgrent): New function, broken out of ...
2484 (setnetgrent): ... here. Call it.
2485 (innetgr): Conditionalize nscd bits on [USE_NSCD].
2486 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
2487 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
2488 * nscd/Makefile (routines, aux): Move definitions after include of
2489 Makeconfig. Conditionalize on [$(use-nscd) != no].
2490 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
2491 Conditionalize on [USE_NSCD].
2492 (is_nscd, nscd_init_cb): Likewise.
2493 (nss_load_library): Conditionalize init callback on [USE_NSCD].
2494 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
2495 * nss/nss_db/db-init.c: Likewise.
2496 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
2497 [USE_NSCD].
2498 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
2499 (make_request): Use it.
2500 (cache_valid_p): New function.
2501 (__check_pf): Use it.
2502 * NEWS: Add item for --disable-nscd.
2503
07e51550
DL
25042012-08-22 Dmitry V. Levin <ldv@altlinux.org>
2505
2506 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
2507 to support sed >= 4.2.1-20-ga9bf076.
2508 * configure: Regenerated.
2509
35a5b08b
RM
25102012-08-22 Roland McGrath <roland@hack.frob.com>
2511
2512 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
2513 Conditionalize whole body on [IREL].
2514
8479f23a
JL
25152012-08-22 Jeff Law <law@redhat.com>
2516
2517 [BZ #14505]
2518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
2519 if the family is PF_UNSPEC.
2520
48da0b21
MF
25212012-08-22 Mike Frysinger <vapier@gentoo.org>
2522
2523 * Makerules (lib-version): Rename from V.
2524 (install-lib-nosubdir): Change V to lib-version.
2525
15d0da8c
WS
25262012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
2527
2528 [BZ #14252]
2529 * powerpc32/power6/wcschr.c: New file.
2530 * powerpc32/power6/wcscpy.c: New file.
2531 * powerpc32/power6/wcsrchr.c: New file.
2532 * powerpc64/power6/wcschr.c: New file.
2533 * powerpc64/power6/wcscpy.c: New file.
2534 * powerpc64/power6/wcsrchr.c: New file.
2535
bcca0895
MK
25362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2537
2538 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
2539 (two_way_short_needle): Use it.
5a4aaa33
RM
2540 * string/strstr.c (AVAILABLE1_USES_J): Define.
2541 * string/strcasestr.c: Likewise.
99677e57
MK
2542
2543 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
2544 array references.
2545 * string/strcasestr.c (TOLOWER): Make side-effect safe.
2546
400726de
MK
2547 [BZ #11607]
2548 * NEWS: Add an entry.
2549 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
2550 define their defaults.
2551 (two_way_short_needle): Detect end-of-string on-the-fly.
2552 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
2553 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
2554 * string/bug-strcasestr1.c: New test.
2555 * string/Makefile: Run it.
2556
20a71f2c
MK
25572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
2558
2559 [BZ #11607]
2560 * string/str-two-way.h (two_way_short_needle): Optimize matching of
2561 the first character.
2562
21ad0558
RM
25632012-08-21 Roland McGrath <roland@hack.frob.com>
2564
2565 * csu/elf-init.c (__libc_csu_irel): Function removed.
2566 * csu/libc-start.c (apply_irel): New function.
2567 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
2568
0e1d9911
JM
25692012-08-21 Joseph Myers <joseph@codesourcery.com>
2570
2571 * sysdeps/unix/sysv/linux/kernel-features.h
2572 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
2573 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
2574 <kernel-features.h>.
2575 [__NR_fadvise64_64]: Make code unconditional.
2576 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
2577 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2578 !__NR_fadvise64_64)]: Likewise.
2579 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
2580 !__NR_fadvise64_64))]: Likewise.
2581 [__NR_fadvise64]: Make code unconditional.
2582 [!__NR_fadvise64]: Remove conditional code.
2583 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
2584 <kernel-features.h>.
2585 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2586 unconditional.
2587 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2588 conditional code.
2589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
2590 not include <kernel-features.h>.
2591 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2592 unconditional.
2593 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2594 conditional code.
2595 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
2596 include <kernel-features.h>.
2597 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
2598 unconditional.
2599 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
2600 conditional code.
2601
14a50c9d
WS
26022012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
2603
2604 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
2605 slight instruction rearrangements per scrollpipe analysis.
2606 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2607
c0f4faf0
RM
26082012-08-20 Roland McGrath <roland@hack.frob.com>
2609
696da859
RM
2610 * manual/syslog.texi (syslog; vsyslog, closelog):
2611 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
2612 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
2613
c0f4faf0
RM
2614 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
2615 DSOCAPS to match condition on defining it.
2616
348363b2
JM
26172012-08-20 Joseph Myers <joseph@codesourcery.com>
2618
a35cbf28
JM
2619 * sysdeps/unix/sysv/linux/kernel-features.h
2620 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
2621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
2622 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2623 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
2625 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2626 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
2628 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
2629 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
2630
445f7ecd
JM
2631 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
2632 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
2633
348363b2
JM
2634 * sysdeps/unix/sysv/linux/kernel-features.h
2635 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
2636 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
2637 unconditional.
2638 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2639 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
2640 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2641 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2642 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
2643 Make code unconditional.
2644 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2645 (__mmap64) [!__NR_mmap2]: Likewise.
2646 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
2647 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
2648 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2649 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
2650 [__NR_mmap2]: Make code unconditional.
2651 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
2652 (__mmap64) [!__NR_mmap2]: Likewise.
2653
bc5bc0e5
AK
26542012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2655
2656 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
2657
88d506de
AJ
26582012-08-18 Andreas Jaeger <aj@suse.de>
2659
2660 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
2661
493387d2
MF
26622012-08-18 Mike Frysinger <vapier@gentoo.org>
2663
2664 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
2665 * include/unistd.h (__have_sock_cloexec): Likewise.
2666 (__have_pipe2): Likewise.
2667 (__have_dup3): Likewise.
2668
a277af22
MF
26692012-08-18 Mike Frysinger <vapier@gentoo.org>
2670
2671 [BZ #9685]
2672 * include/unistd.h (__have_pipe2): Change define into an extern int.
2673 (__have_dup3): Likewise.
2674 * socket/have_sock_cloexec.c: Include fcntl.h.
2675 (__have_pipe2): New variable.
2676 (__have_dup3): Likewise.
2677
fdab8fd3
MF
26782012-08-17 Mike Frysinger <vapier@gentoo.org>
2679
2680 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
2681
31035e80
MP
26822012-08-17 Marek Polacek <polacek@redhat.com>
2683
2684 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
2685 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
2686
3bd9e993
RM
26872012-08-17 Roland McGrath <roland@hack.frob.com>
2688
c91c505f
RM
2689 * configure.in: Add AC_SUBST for sysheaders.
2690 * configure: Regenerated.
2691 * config.make.in (sysheaders): New substituted variable.
2692
7c6f9d53
RM
2693 * sysdeps/unix/mkfifo.c: Moved ...
2694 * sysdeps/posix/mkfifo.c: ... here.
2695 * sysdeps/unix/mkfifoat.c: Moved ...
2696 * sysdeps/posix/mkfifoat.c: ... here.
2697
2698 * sysdeps/unix/utime.c: Moved ...
2699 * sysdeps/posix/utime.c: ... here.
2700
2701 * sysdeps/unix/time.c: Moved ...
2702 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
2703 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
2704 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
2705
2706 * sysdeps/unix/nice.c: Moved ...
2707 * sysdeps/posix/nice.c: ... here.
2708
2709 * sysdeps/unix/alarm.c: Moved ...
2710 * sysdeps/posix/alarm.c: ... here.
2711
3bd9e993
RM
2712 * intl/Makefile ($(codeset_mo)): Depend on the input file.
2713
d1f09384
JL
27142012-08-17 Jeff Law <law@redhat.com>
2715
2716 * intl/Makefile (codeset_mo): New variable.
2717 ($(codeset_mo)): New target.
2718 (tst-codeset.out): Depend on that. Remove explicit rule.
2719 (tst-gettext3.out, tst-gettext5.out): Likewise.
2720 (LOCPATH-ENV, tst-codeset-ENV): New variables.
2721 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
2722 * intl/tst-codeset.sh: Remove.
2723 * intl/tst-gettext3.sh: Likewise.
2724 * intl/tst-gettext5.sh: Likewise.
2725
2ae1ae5c
RM
27262012-08-17 Roland McGrath <roland@hack.frob.com>
2727
c31fdb83
RM
2728 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
2729 * sysdeps/unix/syscalls.list: ... here.
2730
a0844057
RM
2731 * sysdeps/posix/getaddrinfo.c
2732 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
2733 (gaiconf_init, gaiconf_reload): Use them.
2734 [!_STATBUF_ST_NSEC]
2735 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
2736 Define using time_t rather than struct timespec.
2737
750c1f2a
RM
2738 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
2739 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
2740 Macros removed.
2741 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
2742 [!NO_THREADS].
2743 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
2744 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
2745 Likewise.
2746
2ae1ae5c
RM
2747 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
2748 __libc_cleanup_push argument.
2749
e66a42f5
RM
2750 * bits/param.h: New file.
2751 * misc/sys/param.h: New file.
2752 * include/sys/param.h: New file.
2753 * misc/Makefile (headers): Add bits/param.h.
2754 * sysdeps/generic/sys/param.h: File removed.
2755 * sysdeps/unix/sysv/linux/bits/param.h: New file.
2756 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
2757 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 2758 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 2759
b7c08a66
RM
2760 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
2761 last change.
2762
b2e1c562
RM
2763 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
2764 [_IO_MTSAFE_IO].
2765 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
2766 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
2767 New macros.
2768
c75ccd4c
RM
2769 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
2770 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
2771 rather than -D_IO_MTSAFE_IO conditionally.
2772 * stdio-common/Makefile (CPPFLAGS): Likewise.
2773 * wcsmbs/Makefile (CPPFLAGS): Likewise.
2774 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
2775 Use $(libio-mtsafe).
2776 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
2777 of -D_IO_MTSAFE_IO.
2778 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
2779 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
2780 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
2781 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
2782 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
2783 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
2784 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
2785 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
2786 (CFLAGS-fread_u_chk.c): Likewise.
2787 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
2788 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
2789 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
2790 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
2791 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
2792 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
2793 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
2794 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
2795 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
2796
2797 * libio/Makefile: Test [$(libc-reentrant) = yes]
2798 instead of [$(filter %REENTRANT, $(defines)) nonempty].
2799
2800 * Makeconfig
2801 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
2802 * sysdeps/pthread/configure: File removed.
2803 * sysdeps/pthread/Makeconfig: New file.
2804 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
2805 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
2806
d9195db8
GB
28072012-08-16 Gary Benson <gbenson@redhat.com>
2808
2809 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
2810 unmapping the first object in a namespace.
2811
86466cd9
RM
28122012-08-16 Roland McGrath <roland@hack.frob.com>
2813
2814 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
2815 (__internal_setnetgrent): ... this. Add internal_function to
2816 definition. Add libc_hidden_def.
2817 (setnetgrent): Update caller.
2818 (internal_endnetgrent): Renamed to ...
2819 (__internal_endnetgrent): ... this. Add internal_function to
2820 definition. Add libc_hidden_def.
2821 (endnetgrent): Update caller.
2822 (internal_getnetgrent_r): Renamed to ...
2823 (__internal_getnetgrent_r): ... this. Add internal_function to
2824 definition. Add libc_hidden_def.
2825 (__getnetgrent_r): Update caller.
2826 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
2827
c3c8283c
JM
28282012-08-16 Joseph Myers <joseph@codesourcery.com>
2829
2830 * stdlib/longlong.h: Update from GCC.
2831
db1ee0a8
RM
28322012-08-16 Roland McGrath <roland@hack.frob.com>
2833
2834 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
2835 on _QL, which is set by umul_ppmm but never used.
2836 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
2837 variables, which are set by GMP macros but never used.
2838 * stdio-common/_itowa.c (_itowa): Likewise.
2839 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
2840 * stdlib/mod_1.c (mpn_mod_1): Likewise.
2841
30f69637
CD
28422012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
2843
2844 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
2845 struct La_sh_regs is not constant.
2846 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
2847 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
2848 and struct La_sparc64_regs are not constant.
2849
93a78ac4
JM
28502012-08-16 Joseph Myers <joseph@codesourcery.com>
2851
2852 * sysdeps/unix/sysv/linux/kernel-features.h
2853 (__ASSUME_POSIX_TIMERS): Remove.
2854 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2855 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2856 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
2857 Make code unconditional.
2858 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2859 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
2860 Make code unconditional.
2861 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2862 * sysdeps/unix/sysv/linux/clock_nanosleep.c
2863 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
2864 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2865 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
2866 Make code unconditional.
2867 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
2868 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
2869 (__libc_missing_posix_timers): Remove.
2870
dd924cd7
RM
28712012-08-15 Roland McGrath <roland@hack.frob.com>
2872
4b4f2771
RM
2873 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
2874 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
2875
601c888b
RM
2876 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
2877
176790a7
RM
2878 * elf/dl-sym.c: Include <stdlib.h>.
2879
329bc018
RM
2880 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
2881 constants, which avoids warnings in 32-bit builds.
2882
e04e272d
RM
2883 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
2884 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
2885
952bf94a
RM
2886 * misc/lseek.c: File moved to ...
2887 * io/lseek.c: ... here.
2888
7c99b50a
RM
2889 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
2890
dd924cd7
RM
2891 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
2892 shifting LEN more than 31 bits at once.
2893
b3f479a8
LD
28942012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2895
2896 [BZ #14195]
8c4ae0d4
RM
2897 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
2898 segmentation fault for a case of two empty input strings.
b3f479a8
LD
2899 * string/test-strncasecmp.c (check1): Renamed to...
2900 (bz12205): ...this.
2901 (bz14195): Add new testcase for two empty input strings and N > 0.
2902 (test_main): Call new testcase, adapt for renamed function.
2903
9c55864e
AJ
29042012-08-15 Andreas Jaeger <aj@suse.de>
2905
2906 [BZ #14090]
2907 * crypt/md5test2.c: New test, based on test supplied by Serge
2908 Belyshev <belyshev@depni.sinp.msu.ru>.
2909 * crypt/Makefile (xtests): Add md5test-giant..
2910 * crypt/Makefile ($(objpfx)md5test-giant): Add.
2911
02dcb6c5
PE
29122012-08-15 Paul Eggert <eggert@cs.ucla.edu>
2913
2914 [BZ #14090]
2915 * crypt/md5.c (md5_process_block): Don't assume the buffer
2916 length is less than 2**32.
2917 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
2918 length is less than 2**64.
2919
a3f95dcc
RM
29202012-08-15 Roland McGrath <roland@hack.frob.com>
2921
be75d758
RM
2922 * string/str-two-way.h: Include <sys/param.h>.
2923 (MAX): Macro removed.
2924
7312ca90
RM
2925 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
2926 Move #define and #undef of memmove to just before and after
2927 including <string.h>.
2928
9a0a5486
RM
2929 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
2930 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
2931 and after including <string.h>. Move declarations of
2932 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
2933 to before #include "string/memmove.c".
2934
67cc348d
RM
2935 * include/dirent.h: Declare __getdirentries.
2936
a3f95dcc
RM
2937 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
2938 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
2939
ca98e171
MF
29402012-08-14 Mike Frysinger <vapier@gentoo.org>
2941
2942 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
2943 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
2944 * sysdeps/i386/configure: Regenerated.
2945 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
2946 STABS_CURRENT_FILE, and STABS_FUN.
2947 (END): Remove call to STABS_FUN_END.
2948 (STABS_CURRENT_FILE1): Delete.
2949 (STABS_CURRENT_FILE): Likewise.
2950 (STABS_FUN): Likewise.
2951 (STABS_FUN_END): Likewise.
2952 (STABS_FUN2): Likewise.
2953 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
2954 * sysdeps/x86_64/configure: Regenerated.
2955
5908bf46
RM
29562012-08-14 Roland McGrath <roland@hack.frob.com>
2957
2958 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 2959 * elf/dl-lookup.c: Likewise.
5908bf46 2960
f2c05b9e
JM
29612012-08-14 Joseph Myers <joseph@codesourcery.com>
2962
2963 * sysdeps/unix/sysv/linux/kernel-features.h
2964 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
2965 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
2966 unconditionally.
2967 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
2968 unconditionally.
2969 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
2970 condition on __ASSUME_CLONE_THREAD_FLAGS.
2971
e11f5155
AJ
29722012-08-14 Andreas Jaeger <aj@suse.de>
2973
2974 * sysdeps/i386/fpu/libm-test-ulps: Update.
2975
51a9ba86
MK
29762012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
2977
2fdd4f78
AJ
2978 * include/atomic.h (atomic_exchange_and_add): Split into ...
2979 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
2980 New atomic macros.
51a9ba86 2981
ba6cba9e
MT
29822012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
2983
2984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2985
42443a47
JL
29862012-08-13 Jeff Law <law@redhat.com>
2987
2988 * manual/stdio.texi (snprintf): Clarify handling of the trailing
2989 null byte in the output string.
2990
121dce05
JM
29912012-08-10 Joseph Myers <joseph@codesourcery.com>
2992
2993 * sysdeps/unix/sysv/linux/kernel-features.h
2994 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
2995 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
2996 (__ASSUME_ARG_MAX_STACK_BASED): Define.
2997 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2998 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
2999 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
3000 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
3001
bf51f568
JL
30022012-08-09 Jeff Law <law@redhat.com>
3003
3004 [BZ #13939]
3005 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
3006 When avoid_arena is set, don't retry in the that arena. Pick the
3007 next one, whatever it might be.
3008 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
3009 (arena_lock): Pass in new parameter to arena_get2.
3010 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
3011 arena_get2.
3012 (__libc_malloc): Unify retrying after main arena failure with
3013 __libc_memalign version.
3014 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
3015
f85fa270
L
30162012-08-09 H.J. Lu <hongjiu.lu@intel.com>
3017
3018 [BZ #14166]
3019 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
3020 to __redirect_strstr.
3021 (__strstr_sse42): Use typeof __redirect_strstr.
3022 (__strstr_ia32): Likewise.
3023 (__libc_strstr): New prototype.
3024 (strstr): Renamed to ...
3025 (__libc_strstr): This.
3026 (strstr): New strong alias of __libc_strstr.
3027 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3028 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
3029 __redirect_time.
3030 Include <time.h>.
3031 (__libc_time): New prototype.
3032 (time_ifunc): Replace time with __libc_time.
3033 (time): New strong alias and hidden definition of __libc_time.
3034 (__GI_time): Remove strong alias.
3035 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
3036 Include <stddef.h>.
3037 (memmove): Redefined to __redirect_memmove.
3038 (__memmove_sse2): Use typeof __redirect_memmove.
3039 (__memmove_ssse3): Likewise.
3040 (__memmove_ssse3_back): Likewise.
3041 (__libc_memmove): New prototype.
3042 (memmove): Renamed to ...
3043 (__libc_memmove): This.
3044 (memmove): New strong alias of __libc_memmove.
3045
33b4a91e
MS
30462012-08-08 Mark Salter <msalter@redhat.com>
3047
3048 * elf/elf.h
3049 (R_MN10300_TLS_GD): Define.
3050 (R_MN10300_TLS_LD): Likewise.
3051 (R_MN10300_TLS_LDO): Likewise.
3052 (R_MN10300_TLS_GOTIE): Likewise.
3053 (R_MN10300_TLS_IE): Likewise.
3054 (R_MN10300_TLS_LE): Likewise.
3055 (R_MN10300_TLS_DTPMOD): Likewise.
3056 (R_MN10300_TLS_DTPOFF): Likewise.
3057 (R_MN10300_TLS_TPOFF): Likewise.
3058 (R_MN10300_SYM_DIFF): Likewise.
3059 (R_MN10300_ALIGN): Likewise.
3060 (R_MN10300_NUM): Update.
3061
b36137f1
JM
30622012-08-08 Joseph Myers <joseph@codesourcery.com>
3063
3064 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
3065 Remove.
3066
cdd915fd
RM
30672012-08-08 Roland McGrath <roland@hack.frob.com>
3068
a2433aac
RM
3069 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
3070
cdd915fd
RM
3071 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
3072 sysdeps/unix -> sysdeps/posix move.
3073 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3074
bf9b740a
AM
30752012-08-07 Allan McRae <allan@archlinux.org>
3076
3077 [BZ #14303]
3078 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
3079 (SUNOS_CPP): Likewise.
3080 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
3081 not found.
3082 (open_input): Call CPP using execvp.
3083
93df14ee
JM
30842012-08-07 Joseph Myers <joseph@codesourcery.com>
3085
3086 * sysdeps/unix/sysv/linux/kernel-features.h
3087 (__ASSUME_PROT_GROWSUPDOWN): Remove.
3088 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3089 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3090 (__ASSUME_WAITID_SYSCALL): Likewise.
3091 * sysdeps/unix/sysv/linux/dl-execstack.c
3092 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
3093 code unconditional.
3094 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
3095 conditional code.
3096 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
3097 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
3098 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
3099 code.
3100 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
3101 unconditional.
3102 [__ASSUME_WAITID_SYSCALL]: Likewise.
3103 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
3104
d34689de
RM
31052012-08-07 Roland McGrath <roland@hack.frob.com>
3106
a281decc
RM
3107 * sysdeps/unix/closedir.c: Renamed to ...
3108 * sysdeps/posix/closedir.c: ... here.
3109 * sysdeps/unix/dirfd.c: Renamed to ...
3110 * sysdeps/posix/dirfd.c: ... here.
3111 * sysdeps/unix/dirstream.h: Renamed to ...
3112 * sysdeps/posix/dirstream.h: ... here.
3113 * sysdeps/unix/fdopendir.c: Renamed to ...
3114 * sysdeps/posix/fdopendir.c: ... here.
3115 * sysdeps/unix/opendir.c: Renamed to ...
3116 * sysdeps/posix/opendir.c: ... here.
3117 * sysdeps/unix/readdir.c: Renamed to ...
3118 * sysdeps/posix/readdir.c: ... here.
3119 * sysdeps/unix/readdir_r.c: Renamed to ...
3120 * sysdeps/posix/readdir_r.c: ... here.
3121 * sysdeps/unix/rewinddir.c: Renamed to ...
3122 * sysdeps/posix/rewinddir.c: ... here.
3123 * sysdeps/unix/seekdir.c: Renamed to ...
3124 * sysdeps/posix/seekdir.c: ... here.
3125 * sysdeps/unix/telldir.c: Renamed to ...
3126 * sysdeps/posix/telldir.c: ... here.
3127 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
3128 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
3129 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
3130 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
3131
22895b47
RM
3132 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
3133 * bits/fcntl.h: ... here.
3134
707a53b6
RM
3135 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
3136 not 0.
3137 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
3138 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
3139 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
3140 (struct flock): Move l_start, l_len to the beginning.
3141 Use __pid_t for l_pid.
3142 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
3143 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
3144 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
3145 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
3146 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
3147 [__USE_LARGEFILE64] (struct flock64): New type.
3148 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
3149
f0bd3e25
RM
3150 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
3151 * bits/dirent.h: ... here.
3152
d34689de
RM
3153 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
3154 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
3155
6dad2c06
JM
31562012-08-07 Joseph Myers <joseph@codesourcery.com>
3157
3158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3159 Change from 2.6.0 to 2.6.16.
3160 * sysdeps/unix/sysv/linux/configure: Regenerated.
3161 * sysdeps/unix/sysv/linux/kernel-features.h
3162 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
3163 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
3164 version.
3165 (__ASSUME_UTIMES): Likewise.
3166 (__ASSUME_CLONE_STOPPED): Remove.
3167 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
3168 architectures, not kernel version.
3169 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
3170 (__ASSUME_NO_CLONE_DETACHED): Likewise.
3171 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
3172 (__ASSUME_WAITID_SYSCALL): Likewise.
3173 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
3174 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
3175 * README: State 2.6.16 as minimum Linux kernel version. Do not
3176 refer to older versions.
3177
03af9520
RM
31782012-08-06 Roland McGrath <roland@hack.frob.com>
3179
8e49df1d
RM
3180 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
3181 Define alphasort64 as an alias.
3182 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
3183 Define versionsort64 as an alias.
3184 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
3185 Define scandir64 as an alias.
3186 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
3187 Define scandirat64 as an alias.
3188 * dirent/alphasort64.c (alphasort64):
3189 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
3190 * dirent/versionsort64.c: Likewise.
3191 * dirent/scandir64.c: Likewise.
3192 * dirent/scandirat64.c: Likewise.
3193 * sysdeps/wordsize-64/alphasort.c: File removed.
3194 * sysdeps/wordsize-64/alphasort64.c: File removed.
3195 * sysdeps/wordsize-64/scandir.c: File removed.
3196 * sysdeps/wordsize-64/scandir64.c: File removed.
3197 * sysdeps/wordsize-64/scandirat.c: File removed.
3198 * sysdeps/wordsize-64/scandirat64.c: File removed.
3199 * sysdeps/wordsize-64/versionsort.c: File removed.
3200 * sysdeps/wordsize-64/versionsort64.c: File removed.
3201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
3202 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
3203 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
3204 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
3205 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
3206 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
3207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
3208 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
3209
3210 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
3211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3212 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
3213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3214 [defined __arch64__ || defined __sparcv9]
3215 (__INO_T_MATCHES_INO64_T): New macro.
3216 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3217 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
3218 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
3219 * sysdeps/unix/sysv/linux/bits/dirent.h
3220 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
3221 (_DIRENT_MATCHES_DIRENT64): New macro.
3222
03af9520
RM
3223 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
3224 Define lockf64 as an alias.
3225 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
3226 Define fseeko64 as an alias.
3227 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
3228 Define ftello64 as an alias.
3229 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
3230 Define _IO_fgetpos64 and fgetpos64 as aliases.
3231 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
3232 Define _IO_fsetpos64 and fsetpos64 as aliases.
3233 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
3234 Conditionalize body on this.
3235 * libio/fseeko64.c: Likewise.
3236 * libio/ftello64.c: Likewise.
3237 * libio/iofgetpos64.c: Likewise.
3238 * libio/iofsetpos64.c: Likewise.
3239 * sysdeps/wordsize-64/lockf.c: File removed.
3240 * sysdeps/wordsize-64/lockf64.c: File removed.
3241 * sysdeps/wordsize-64/fseeko.c: File removed.
3242 * sysdeps/wordsize-64/fseeko64.c: File removed.
3243 * sysdeps/wordsize-64/ftello.c: File removed.
3244 * sysdeps/wordsize-64/ftello64.c: File removed.
3245 * sysdeps/wordsize-64/iofgetpos.c: File removed.
3246 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
3247 * sysdeps/wordsize-64/iofsetpos.c: File removed.
3248 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
3249 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
3250 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
3251 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
3252 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
3253 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
3254 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
3255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
3256 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
3257 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
3258 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
3259
3260 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
3262 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
3263 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3264 [defined __arch64__ || defined __sparcv9]
3265 (__OFF_T_MATCHES_OFF64_T): New macro.
3266 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3267 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
3268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3269 (__OFF_T_MATCHES_OFF64_T): New macro.
3270
c5757acd
L
32712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3272
3273 * stdlib/secure-getenv.c (__secure_getenv): Replace
3274 GLIBC_2_16 with GLIBC_2_17.
3275
3a31811e
L
32762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
3277
3278 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
3279 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3280
faa2bccb
DM
32812012-08-03 David S. Miller <davem@davemloft.net>
3282
3283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3284
85fe1997
JM
32852012-08-03 Joseph Myers <joseph@codesourcery.com>
3286
3287 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
3288 Remove.
3289 (__ASSUME_CORRECT_SI_PID): Likewise.
3290 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
3291 (__ASSUME_TMPFS_NAME): Likewise.
3292 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
3293 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
3294 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
3295 (HAVE_AUX_SECURE): Make definition unconditional.
3296 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
3297 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
3298
4f75b7a0
RM
32992012-08-03 Roland McGrath <roland@hack.frob.com>
3300
3301 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
3302 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
3303 * sysdeps/mach/hurd/eloop-threshold.h: New file.
3304 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3305 __eloop_threshold instead of SYMLOOP_MAX.
3306
3307 * sysdeps/generic/eloop-threshold.h: New file.
3308 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
3309 of MAXSYMLINKS.
3310 * elf/chroot_canon.c (chroot_canon): Likewise.
3311
7aab07e4
JM
33122012-08-03 Joseph Myers <joseph@codesourcery.com>
3313
3314 [BZ #13717]
3315 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3316 Change to 2.6.0 everywhere.
3317 * sysdeps/unix/sysv/linux/configure: Regenerated.
3318 * sysdeps/unix/sysv/linux/kernel-features.h
3319 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
3320 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
3321 kernel versions.
3322 (__ASSUME_POSIX_TIMERS): Define unconditionally.
3323 (__ASSUME_FUTEX_REQUEUE): Remove.
3324 (__ASSUME_STATFS64): Define unconditionally.
3325 (__ASSUME_AT_SECURE): Likewise.
3326 (__ASSUME_CORRECT_SI_PID): Likewise.
3327 (__ASSUME_TGKILL): Define without depending on kernel version for
3328 i386.
3329 (__ASSUME_UTIMES): Likewise.
3330 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
3331 kernel version.
3332 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
3333 (__ASSUME_TMPFS_NAME): Likewise.
3334 * README: Update reference to Linux kernel versions.
3335
b67e9372
MP
33362012-08-02 Marek Polacek <polacek@redhat.com>
3337
1f529f7d 3338 [BZ# 14150]
b67e9372
MP
3339 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
3340 libc_cv_asm_type_prefix with %.
3341 * configure: Regenerated.
d2441631
RM
3342 * include/libc-symbols.h: Remove comment about
3343 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
3344 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
3345 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
3346 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
3347 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
3348 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
3349 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
3350 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
3351 * elf/tst-unique2mod1.c: Likewise.
3352 * elf/tst-unique1mod2.c: Likewise.
3353 * elf/tst-unique1mod1.c: Likewise.
3354 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
3355 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
3356 Replace ASM_TYPE_DIRECTIVE with .type.
3357 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3358 * sysdeps/i386/sysdep.h: Likewise.
3359 * sysdeps/x86_64/sysdep.h: Likewise.
3360 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
3362 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 3363 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
3364 * sysdeps/powerpc/powerpc32/sysdep.h:
3365 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
3366 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
3367 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3368 * sysdeps/i386/fpu/e_powf.S: Likewise.
3369 * sysdeps/i386/fpu/e_expl.S: Likewise.
3370 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3371 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3372 * sysdeps/i386/fpu/e_pow.S: Likewise.
3373 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3374 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3375 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3376 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3377 * sysdeps/i386/fpu/e_log2.S: Likewise.
3378 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3379 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3380 * sysdeps/i386/fpu/e_powl.S: Likewise.
3381 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3382 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3383 * sysdeps/i386/fpu/e_logl.S: Likewise.
3384 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3385 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3386 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3387 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3388 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3389 * sysdeps/i386/fpu/e_log.S: Likewise.
3390 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3391 * sysdeps/i386/fpu/e_logf.S: Likewise.
3392 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3393 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3394 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3395 * sysdeps/i386/fpu/e_log10.S: Likewise.
3396 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3397 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3398 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3399 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3400 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3401 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
3402 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3403 * sysdeps/i386/i686/strtok.S: Likewise.
3404 * sysdeps/i386/i386-mcount.S: Likewise.
3405 * sysdeps/i386/strtok.S: Likewise.
3406 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
3407 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3408 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3409 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3410 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3411 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3412 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3413 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3414 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3415 * sysdeps/x86_64/_mcount.S: Likewise.
3416 * sysdeps/x86_64/strtok.S: Likewise.
3417 * sysdeps/sh/_mcount.S: Likewise.
3418
2747bf9a
RM
34192012-08-01 Roland McGrath <roland@hack.frob.com>
3420
3421 * libio/iofopen.c: Include <fcntl.h>.
3422 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
3423 (_IO_fopen64, fopen64): Define as aliases.
3424 * libio/iofopen64.c: Include <fcntl.h>.
3425 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
3426 Conditionalize body on this.
3427 * sysdeps/wordsize-64/iofopen.c: File removed.
3428 * sysdeps/wordsize-64/iofopen64.c: File removed.
3429
3fb791b8
MP
34302012-08-01 Marek Polacek <polacek@redhat.com>
3431
3432 * libc/Makeconfig: Use elf in place of binfmt-subdir.
3433 Use dlfcn directly instead of a variable.
3434 (binfmt-subdir): Do not define.
3435 (dlfcn): Likewise.
3436
a9f1039f
JM
34372012-08-01 Joseph Myers <joseph@codesourcery.com>
3438
23bddc06
JM
3439 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
3440 Remove all definitions.
3441 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
3442 <kernel-features.h>.
3443 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3444 (miss_F_GETOWN_EX): Remove all definitions.
3445 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
3446 macro definition.
3447 [!__ASSUME_FCNTL64]: Remove conditional code.
3448 [__ASSUME_FCNTL64]: Make code unconditional.
3449 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
3450 <kernel-features.h>.
3451 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
3452 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
3453 (lockf64) [__NR_fcntl64]: Make code unconditional.
3454 (lockf64) [__ASSUME_FCNTL64]: Likewise.
3455
a9f1039f
JM
3456 * sysdeps/unix/sysv/linux/kernel-features.h
3457 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
3458 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
3459 Make code unconditional.
3460 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3461 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
3463 [__NR_vfork]: Make code unconditional.
3464 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3465 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
3467 [__NR_vfork]: Make code unconditional.
3468 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
3469 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
3470
09c0ee5f
RM
34712012-08-01 Roland McGrath <roland@hack.frob.com>
3472
48aec5b9
RM
3473 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
3474 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
3475
cd97c966
RM
3476 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3477 Define mkstemp64 as an alias.
3f55550c
RM
3478 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3479 Define mkstemps64 as an alias.
cd97c966
RM
3480 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3481 Define mkostemp64 as an alias.
b8625cfc
RM
3482 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
3483 Define mkostemps64 as an alias.
cd97c966
RM
3484 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
3485 Conditionalize body on this.
3486 * misc/mkostemp64.c: Likewise.
b8625cfc 3487 * misc/mkostemps64.c: Likewise.
3f55550c 3488 * misc/mkstemps64.c: Likewise.
cd97c966
RM
3489 * sysdeps/wordsize-64/mkstemp64.c: File removed.
3490 * sysdeps/wordsize-64/mkostemp64.c: File removed.
3491 * sysdeps/wordsize-64/mkostemp.c: File removed.
3492 * sysdeps/wordsize-64/mkstemp.c: File removed.
3493 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
3494 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
3495 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
3496 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
3497
09c0ee5f
RM
3498 [BZ #14138]
3499 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
3500 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
3501 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
3502 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
3503
3504 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
3505 compat_symbol macros from <shlib-compat.h> rather than the underlying
3506 default_symbol_version and symbol_version macros, so that DEFAULT
3507 lines in shlib-versions are respected.
3508 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
3509
7e66ee51
FW
35102012-08-01 Florian Weimer <fweimer@redhat.com>
3511
3512 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
3513 Declare with warn_unused_result.
3514 (setgid, setregid, setegid, setresgid): Likewise.
3515 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
3516 Likewise.
3517 * WUR-REPORT: Remove set*id functions.
3518
d2a54255
PT
35192012-07-31 Pino Toscano <toscano.pino@tiscali.it>
3520
3521 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
3522
7ecdb005
RM
35232012-07-31 Roland McGrath <roland@hack.frob.com>
3524
789bd351
RM
3525 * include/sys/socket.h (__libc_accept, __libc_accept4):
3526 Add attribute_hidden.
3527 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
3528
40ce302d
RM
3529 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
3530 use of PTR_MANGLE.
3531 * inet/getnetgrent_r.c (setup): Likewise.
3532
7ecdb005
RM
3533 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
3534
e2eabb2c
DM
35352012-07-31 David S. Miller <davem@davemloft.net>
3536
3537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3538
d0419dbf
JM
35392012-07-31 Joseph Myers <joseph@codesourcery.com>
3540
3541 [BZ #13629]
3542 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
3543 value between 1.0 and 2.0 and smaller part has absolute value less
3544 than 1.0.
3545 * math/s_clog10.c (__clog10): Likewise.
3546 * math/s_clog10f.c (__clog10f): Likewise.
3547 * math/s_clog10l.c (__clog10l): Likewise.
3548 * math/s_clogf.c (__clogf): Likewise.
3549 * math/s_clogl.c (__clogl): Likewise.
3550 * math/libm-test.inc (clog_test): Add more tests.
3551 (clog10_test): Likewise.
3552 * sysdeps/i386/fpu/libm-test-ulps: Update.
3553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3554
2bc13872
FW
35552012-07-31 Florian Weimer <fweimer@redhat.com>
3556
3557 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
3558 Exit with zero in case no suitable GID is found, and write a
3559 message to standard error.
3560
bea9b193
RM
35612012-07-30 Roland McGrath <roland@hack.frob.com>
3562
3563 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
3564 rather than to 1.
3565 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
3566 (MAXPATHLEN): Removed.
3567 (NOGROUP, NODEV): New macros.
3568 (setbit, clrbit, isset, isclr): New macros.
3569 (howmany, roundup, powerof2): New macros.
3570 (DEV_BSIZE): New macro.
3571
3572 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
3573 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
3574
3575 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
3576 definition on [!__NO_LONG_DOUBLE_MATH].
3577
3578 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
3579 PTR_MANGLE and PTR_DEMANGLE.
3580
3581 * socket/accept4.c (accept4): Rename to __libc_accept4.
3582 Define accept4 as a weak alias.
3583
3584 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
3585 on [_DIRENT_HAVE_D_TYPE].
3586 * io/ftw.c (ftw_dir): Likewise.
3587
3588 * io/xmknod.c (__xmknod): Don't check PATH for being null.
3589
3590 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
3591
3592 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
3593 Use the BSD numbers rather than the arbitrary ones we had.
3594 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
3595 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
3596 (SIGXCPU, SIGXFSZ): New macros.
3597 (_NSIG): Now 32.
3598
3599 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
3600 initializer on [_LIBC_REENTRANT].
3601
3602 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
3603 definitions inside [_POSIX_MAPPED_FILES].
3604
3605 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
3606
3607 * dirent/opendir.c: Include <fcntl.h>.
3608
3609 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
3610 (__libc_getspecific): Likewise.
3611 (__libc_key_create): Likewise.
3612
3613 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
3614 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
3615 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
3616 (tmpfile64): Define as alias.
3617 * sysdeps/wordsize-64/tmpfile.c: File removed.
3618 * sysdeps/wordsize-64/tmpfile64.c: File removed.
3619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
3620 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
3621
3622 * stdio-common/vfscanf.c: Include <stdbool.h>.
3623 * nss/makedb.c: Likewise.
3624 * stdio-common/_i18n_number.h: Likewise.
3625 * argp/argp-help.c: Likewise.
3626 * posix/wordexp.c: Likewise.
3627 * sysdeps/posix/spawni.c: Likewise.
3628 * nss/nss_files/files-initgroups.c: Likewise.
3629 * stdio-common/reg-modifier.c: Include <stdlib.h>.
3630 * nss/nss_files/files-initgroups.c: Likewise.
3631 * nss/nss_db/db-netgrp.c: Likewise.
3632 * nss/nss_db/db-initgroups.c: Likewise.
3633 * io/fchmodat.c: Include <sys/stat.h>.
3634
3635 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
3636 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
3637
3638 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
3639 [HAVE_MMAP].
3640
3641 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
3642 Add multiple inclusion protection.
3643
e5abc686
DM
36442012-07-27 David S. Miller <davem@davemloft.net>
3645
3646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3647
815e6fa3
GB
36482012-07-27 Gary Benson <gbenson@redhat.com>
3649
3650 [BZ #14298]
3651 * elf/rtld.c: Include <stap-probe.h>.
3652 (dl_main): Added static probes "init_start" and "init_complete".
3653 * elf/dl-load.c: Include <stap-probe.h>.
3654 (lose): Take new parameter "nsid".
3655 Added static probe "map_failed".
3656 (_dl_map_object_from_fd): Pass namespace id to lose.
3657 Added static probe "map_start".
3658 (open_verify): Pass namespace id to lose.
3659 * elf/dl-open.c: Include <stap-probe.h>.
3660 (dl_open_worker) Added static probes "map_complete", "reloc_start"
3661 and "reloc_complete".
3662 * elf/dl-close.c: Include <stap-probe.h>.
3663 (_dl_close_worker): Added static probes "unmap_start" and
3664 "unmap_complete".
3665 * elf/rtld-debugger-interface.txt: New file documenting the above.
3666
9f98c16c
RM
36672012-07-26 Roland McGrath <roland@hack.frob.com>
3668
3669 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
3670 rather than a string variable.
3671 * sunrpc/rpc_main.c (h_output): Likewise.
3672 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
3673
f3c22df3
PT
36742012-07-26 Pino Toscano <toscano.pino@tiscali.it>
3675
3676 * inet/check_native.c: New file.
3677
3129cfc6
JM
36782012-07-26 Joseph Myers <joseph@codesourcery.com>
3679
da865e95
JM
3680 [BZ #13629]
3681 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
3682 if larger part has absolute value 1.0.
3683 * math/s_clog10.c (__clog10): Likewise.
3684 * math/s_clog10f.c (__clog10f): Likewise.
3685 * math/s_clog10l.c (__clog10l): Likewise.
3686 * math/s_clogf.c (__clogf): Likewise.
3687 * math/s_clogl.c (__clogl): Likewise.
3688 * math/libm-test.inc (clog_test): Add more tests.
3689 (clog10_test): Likewise.
3690 * sysdeps/i386/fpu/libm-test-ulps: Update.
3691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3692
3129cfc6
JM
3693 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
3694 (pltexit): Likewise.
3695 (La_regs): Likewise.
3696 (La_retval): Likewise.
3697 (int_retval): Likewise.
3698 Update #error for removed macros to refer only to definitions in
3699 tst-audit.h.
3700 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
3701 macro.
3702 (pltexit): Likewise.
3703 (La_regs): Likewise.
3704 (La_retval): Likewise.
3705 (int_retval): Likewise.
3706 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
3707 macro.
3708 (pltexit): Likewise.
3709 (La_regs): Likewise.
3710 (La_retval): Likewise.
3711 (int_retval): Likewise.
3712 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
3713 macro.
3714 (pltexit): Likewise.
3715 (La_regs): Likewise.
3716 (La_retval): Likewise.
3717 (int_retval): Likewise.
3718 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
3719 macro.
3720 (pltexit): Likewise.
3721 (La_regs): Likewise.
3722 (La_retval): Likewise.
3723 (int_retval): Likewise.
3724 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
3725 macro.
3726 (pltexit): Likewise.
3727 (La_regs): Likewise.
3728 (La_retval): Likewise.
3729 (int_retval): Likewise.
3730 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
3731 macro.
3732 (pltexit): Likewise.
3733 (La_regs): Likewise.
3734 (La_retval): Likewise.
3735 (int_retval): Likewise.
3736 * sysdeps/generic/tst-audit.h: Update comment to refer only to
3737 macro definitions in tst-audit.h.
3738 * sysdeps/i386/tst-audit.h: New file.
3739 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
3740 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
3741 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
3742 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
3743 * sysdeps/sh/tst-audit.h: Likewise.
3744 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
3745 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
3746 * sysdeps/x86_64/tst-audit.h: Likewise.
3747
bfc07087
AJ
37482012-07-26 Andreas Jaeger <aj@suse.de>
3749
b1b2aaf8
AJ
3750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
3751 ptrace.
3752
3753 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
3754 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
3755 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
3756 PTRACE_O_MASK.
3757 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
3758 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
3759 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
3760
bfc07087
AJ
3761 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
3762 value.
3763
3764 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
3765 _sigsys.
3766 (si_call_addr, si_syscall, si_arch): Define new macro.
3767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
3768 _sigsys.
3769 (si_call_addr, si_syscall, si_arch): Define new marcro.
3770 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
3771 _sigsys.
3772 (si_call_addr, si_syscall, si_arch): Define new macro.
3773 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
3774 _sigsys.
3775 (si_call_addr, si_syscall, si_arch): Define new macro.
3776
89b4b02f
JM
37772012-07-25 Joseph Myers <joseph@codesourcery.com>
3778
3779 [BZ #13717]
3780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
3781 Change to 2.4.21 where previously 2.4.1.
3782 * sysdeps/unix/sysv/linux/configure: Regenerated.
3783 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
3784 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
3785 Linux kernel version.
3786 (__ASSUME_STD_AUXV): Remove.
3787 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
3788 kernel version.
3789 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
3790 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
3791 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
3792 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
3793 (__ASSUME_NETLINK_SUPPORT): Likewise.
3794 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
3795 (__no_netlink_support): Remove conditional definition.
3796 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
3797 Remove.
3798 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3799 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
3800 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
3801 (if_nameindex_ioctl): Remove.
3802 (if_nameindex_netlink): Do not handle __no_netlink_support.
3803 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3804 code.
3805 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
3806 Remove conditional code.
3807 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
3808 code.
3809 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
3810 unconditional.
3811 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
3812 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
3813 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
3814 Remove.
3815 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
3816 [!__ASSUME_STD_AUXV]: Remove conditional code.
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
3818 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
3819 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
3821 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
3822 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3823 code.
3824 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3826 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
3827 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3828 conditional code.
3829 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3831 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
3832 code.
3833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3834 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
3835 conditional code.
3836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
3837 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3838 code unconditional.
3839 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3840 conditional code.
3841 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3842 unconditional.
3843 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3844 conditional code.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3846 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3847 unconditional.
3848 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3849 conditional code.
3850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
3851 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3852 code unconditional.
3853 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3854 conditional code.
3855 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3856 unconditional.
3857 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3858 conditional code.
3859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
3860 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
3861 code unconditional.
3862 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3863 conditional code.
3864 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
3865 unconditional.
3866 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
3867 conditional code.
3868
842a39cd
AS
38692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3870
3871 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
3872 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
3873 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3874 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
3875 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
3876 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
3877 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
3878 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
3879 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
3880 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3881 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
3882 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
3883 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
3884 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3885 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3886 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
3887 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
3888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
3889 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
3890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
3891 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
3892 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3893 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3894
84b3fd84
FW
38952012-07-25 Florian Weimer <fweimer@redhat.com>
3896
3897 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
3898 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
3899 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
3900 Introduce __libc_secure_getenv.
0c7936d5
FW
3901 * stdlib/Versions (2.17): Add secure_getenv
3902 (GLIBC_PRIVATE): Add __libc_secure_getenv.
3903 * stdlib/secure-getenv.c: Rename __secure_getenv to
3904 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
3905 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
3906 * stdlib/tst-secure-getenv.c: New.
3907 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
3908 * manual/startup.texi (Environment Access): Document
3909 secure_getenv.
84b3fd84
FW
3910 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
3911 __libc_secure_getenv.
3912 * inet/ruserpass.c (ruserpass): Likewise.
3913 * malloc/mtrace.c (mtrace): Likewise.
3914 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 3915 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
3916 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
3917 * sysdeps/posix/tempname.c: Likewise. Evaluate
3918 HAVE_SECURE_GETENV.
3919 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 3920 __secure_getenv to __libc_secure_getenv.
84b3fd84 3921 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3923 Likewise.
3924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3925 Likewise.
3926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 3933
56e49b71
JM
39342012-07-25 Joseph Myers <joseph@codesourcery.com>
3935
3936 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
3937 (struct La_i86_retval): Likewise.
3938 (struct La_x86_64_regs): Likewise.
3939 (struct La_x86_64_retval): Likewise.
3940 (struct La_x32_regs): Likewise.
3941 (struct La_x32_retval): Likewise.
3942 (struct La_ppc32_regs): Likewise.
3943 (struct La_ppc32_retval): Likewise.
3944 (struct La_ppc64_regs): Likewise.
3945 (struct La_ppc64_retval): Likewise.
3946 (struct La_sh_regs): Likewise.
3947 (struct La_sh_retval): Likewise.
3948 (struct La_s390_32_regs): Likewise.
3949 (struct La_s390_32_retval): Likewise.
3950 (struct La_s390_64_regs): Likewise.
3951 (struct La_s390_64_retval): Likewise.
3952 (struct La_sparc32_regs): Likewise.
3953 (struct La_sparc32_retval): Likewise.
3954 (struct La_sparc64_regs): Likewise.
3955 (struct La_sparc64_retval): Likewise.
3956 (struct audit_ifaces): Remove architecture-specific pltenter and
3957 pltexit members.
3958 * sysdeps/i386/ldsodefs.h: New file.
3959 * sysdeps/powerpc/ldsodefs.h: Likewise.
3960 * sysdeps/s390/ldsodefs.h: Likewise.
3961 * sysdeps/sh/ldsodefs.h: Likewise.
3962 * sysdeps/sparc/ldsodefs.h: Likewise.
3963 * sysdeps/x86_64/ldsodefs.h: Likewise.
3964
354691b7
MP
39652012-07-25 Marek Polacek <polacek@redhat.com>
3966
3967 [BZ #6808]
3968 * math/libm-test.inc (yn_test): Add another test.
3969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
3970 to ERANGE when the result is +-Inf.
3971 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3972 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
3973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
3974 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
3975
bf9e2071
JM
39762012-07-24 Joseph Myers <joseph@codesourcery.com>
3977
3978 * conform/data/time.h-data (NULL): Use macro-constant. Require
3979 equal to 0.
3980 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
3981 clock_t.
3982 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
3983
57633811
TS
39842012-07-23 Thomas Schwinge <thomas@codesourcery.com>
3985
3986 * configure.in <sysdeps resolving>: Correct printing
3987 Implies_before.
3988 * configure: Regenerate.
3989
c23c33b0
TS
39902012-07-22 Thomas Schwinge <thomas@codesourcery.com>
3991
3992 * math/w_ilogb.c: Include <limits.h>.
3993 * math/w_ilogbl.c: Likewise.
3994
b5982523
JM
39952012-07-20 Joseph Myers <joseph@codesourcery.com>
3996
3997 * manual/lang.texi (__va_copy): Document primarily as ISO C99
3998 va_copy. Document allowing for unavailable va_copy only as
3999 pre-C99 compatibility.
4000 * manual/string.texi (Copying and Concatenation): Use va_copy
4001 instead of __va_copy in concat example.
4002
ac4ea442
PT
40032012-07-20 Pino Toscano <toscano.pino@tiscali.it>
4004
4005 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
4006 (__sendto): Use create_address_port. Initialize APORT and deallocate
4007 it if not null.
4008
f98eafbd
PT
4009 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
4010 with O_NOLINK passed to __file_name_lookup.
4011
898c7aab
PT
4012 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
4013 with O_NOLINK passed to __file_name_lookup.
4014
0ced335a
PT
4015 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
4016 negative N or less than NGIDS.
4017
b3404dbd
PT
4018 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
4019 type to string_t. Set ERANGE as errno and return it if NAME is not big
4020 enough. Use memcpy instead of strncpy.
4021
0f48659e
JM
40222012-07-20 Joseph Myers <joseph@codesourcery.com>
4023
4024 * elf/Makefile (check-data): Remove.
4025 (localplt.data): New vpath directive.
4026 ($(objpfx)check-localplt.out): Use localplt.data from vpath
4027 instead of $(check-data).
4028 * scripts/data/localplt-generic.data: Move to ...
4029 * sysdeps/generic/localplt.data: ... here.
4030 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
4031 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
4032 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
4033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4034 ... here.
4035 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4037 ... here.
4038 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
4039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
4040 ... here.
4041 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
4042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4043 ... here.
4044 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
4045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
4046 ... here.
4047 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
4048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
4049 ... here.
4050
d37cbdaa
AZ
40512012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4052
4053 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
4054 PPC32 and PPC64 files.
4055 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
4056 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
4057
46f85fc2
AK
40582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4059
4060 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
4061 __makecontext_ret to ...
4062 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
4063 ... here and call exit if uc_link is NULL. New file.
4064 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
4065 __makecontext_ret.S.
4066 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
4067 __makecontext_ret to ...
4068 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
4069 ... here and call exit if uc_link is NULL. New file.
4070 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
4071 __makecontext_ret.S.
4072
08f43f9b
AK
40732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4074
4075 * elf/elf.h (R_390_IRELATIVE): New definition.
4076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
4077 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
4078 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
4079 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4080 (elf_machine_lazy_rel): Likewise.
4081 * sysdeps/s390/dl-irel.h: New file.
4082 * sysdeps/s390/s390-64/memcpy.S: New asm code.
4083 * sysdeps/s390/s390-64/memset.S: New asm code.
4084 * sysdeps/s390/s390-64/memcmp.S: New asm code.
4085 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
4086 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
4087 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
4088 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
4089 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
4090 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
4091 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
4092 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
4093 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
4094 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
4095 * sysdeps/s390/s390-32/memcpy.S: New asm code.
4096 * sysdeps/s390/s390-32/memset.S: New asm code.
4097 * sysdeps/s390/s390-32/memcmp.S: New asm code.
4098
3b05db33
MP
40992012-07-17 Marek Polacek <polacek@redhat.com>
4100
4101 [BZ #14349]
4102 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
4103 * sysdeps/s390/s390-64/configure.in: Likewise.
4104 * sysdeps/sparc/configure.in: Likewise.
4105 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
4106 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
4107 * sysdeps/i386/configure.in: Likewise.
4108 * sysdeps/x86_64/configure.in: Likewise.
4109 * sysdeps/sh/configure.in: Likewise.
4110 * sysdeps/s390/s390-32/configure: Regenerated.
4111 * sysdeps/s390/s390-64/configure: Likewise.
4112 * sysdeps/x86_64/configure: Likewise.
4113 * sysdeps/sh/configure: Likewise.
4114 * sysdeps/powerpc/powerpc64/configure: Likewise.
4115 * sysdeps/powerpc/powerpc32/configure: Likewise.
4116 * sysdeps/sparc/configure: Likwise.
4117 * sysdeps/i386/configure: Likewise.
4118
a66877c6
MP
4119 * elf/dl-open.c: Comment fixes.
4120
cfc82fd8
JM
41212012-07-17 Joseph Myers <joseph@codesourcery.com>
4122
bd29910a
JM
4123 * Makefile [CXX] (check-data): Remove.
4124 [CXX] (c++-types.data): New vpath directive.
4125 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
4126 vpath. Do not allow for C++ type data being missing.
4127 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
4128 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
4129 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
4130 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
4131 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
4132 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
4133 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
4134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4135 ... here.
4136 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4138 ... here.
4139 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
4140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
4141 ... here.
4142 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
4143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
4144 ... here.
4145 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
4146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
4147 ... here.
4148 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
4149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
4150 ... here.
4151 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
4152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
4153 ... here.
4154 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
4155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
4156
cfc82fd8
JM
4157 * elf/tls-macros.h (TLS_LE): Move architecture-specific
4158 definitions to architecture-specific files.
4159 (TLS_IE): Likewise.
4160 (TLS_LD): Likewise.
4161 (TLS_GD): Likewise.
4162 * sysdeps/i386/tls-macros.h: New file.
4163 * sysdeps/powerpc/tls-macros.h: Likewise.
4164 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4165 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
4166 * sysdeps/sh/tls-macros.h: Likewise.
4167 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
4168 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
4169 * sysdeps/x86_64/tls-macros.h: Likewise.
4170
f7db3170
TS
41712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4172
07cbfc23
TS
4173 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
4174 zero value for regular exit case.
4175
f7db3170
TS
4176 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4177 (__start_context): Preserve zero value for regular exit case.
4178
dc97c227
TS
41792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
4180 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4181
4182 * manual/setjmp.texi (setcontext): Clarify normal process
4183 termination when uc_link is the null pointer.
4184 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
4185 exit call.
4186
d0cd7d02
AS
41872012-07-16 Andreas Schwab <schwab@linux-m68k.org>
4188
4189 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
4190 preprocessor. Test for each exception mask separately.
4191
dd318934
AJ
41922012-07-16 Andreas Jaeger <aj@suse.de>
4193
4194 * po/ru.po: Update from translation team.
4195
8048311a
JM
41962012-07-15 Joseph Myers <joseph@codesourcery.com>
4197
4198 * conform/data/string.h-data (NULL): Use macro-constant. Require
4199 equal to 0.
4200 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
4201 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
4202 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
4203 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
4204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4205
b637d46e
AJ
42062012-07-13 Andreas Jaeger <aj@suse.de>
4207
4208 * po/fr.po: Update from translation team.
4209
541428fe
MP
42102012-07-12 Marek Polacek <polacek@redhat.com>
4211
4212 [BZ #14173]
4213 * math/libm-test.inc (yn_test): Add test for BZ #14173.
4214 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
4215 loop condition.
4216
ec332e94
JM
42172012-07-12 Joseph Myers <joseph@codesourcery.com>
4218
4219 [BZ #13717]
4220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
4221 Change to 2.4.1 where previously 2.4.0.
4222 * sysdeps/unix/sysv/linux/configure: Regenerated.
4223 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
4224 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
4225 version.
4226 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
4227 (__ASSUME_AT_CLKTCK): Remove.
4228 (__ASSUME_AT_PAGESIZE): Likewise.
4229 (__ASSUME_AT_XID): Likewise.
4230 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
4231 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
4232 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
4233 unconditionally.
4234 (HAVE_AUX_PAGESIZE): Likewise.
4235 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
4236 [__ASSUME_AT_CLKTCK]: Make code unconditional.
4237 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
4238
7b6e99be
JB
42392012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
4240
4241 [BZ #14307]
4242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
4243 the temporary buffer used to invoke __gethostbyname2_r,
4244 __gethostbyaddr_r and gethostbyname4_r to make room for struct
4245 host_data / struct gaih_addrtuple.
4246 * resolv/nss_dns/dns-host.c (global scope): Move definition of
4247 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
4248 header file nss/nsswitch.h.
4249 * nss/nsswitch.h (global scope): Add definition of implementation
4250 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
4251 resolv/nss_dns/dns-host.c).
4252
608404eb
AJ
42532012-07-11 Andreas Jaeger <aj@suse.de>
4254
4255 * po/fr.po: Update from translation team.
4256
71220aca
AJ
4257 * po/sv.po: Update from translation team
4258 * po/fr.po: Another update from translation team.
4259
28cfe843
AZ
42602012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4261
4262 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
4263 for subnormals or multiply small sinh result by itself.
4264 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4266
6b90f981
DM
42672012-07-11 David S. Miller <davem@davemloft.net>
4268
4269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4270
c6825772
AS
42712012-07-10 Andreas Schwab <schwab@linux-m68k.org>
4272
4273 [BZ #14347]
4274 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
4275 (INTERNAL_MARK): Shift it here.
4276
7b8e0d49
MP
42772012-07-10 Marek Polacek <polacek@redhat.com>
4278
4279 [BZ #14151]
4280 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
4281 libc_cv_asm_global_directive with .globl.
4282 * configure: Regenerated.
4283 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
4284 with .globl.
4285 * sysdeps/i386/configure: Regenerated.
4286 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
4287 with .globl.
4288 * sysdeps/x86_64/configure: Regenerated.
4289 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
4290 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
4291 * elf/tst-unique2mod2.c: Likewise.
4292 * elf/tst-unique2mod1.c: Likewise.
4293 * elf/tst-unique1mod2.c: Likewise.
4294 * elf/tst-unique1mod1.c: Likewise.
4295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4296 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4297 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4298 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4299 * sysdeps/mach/sysdep.h: Likewise.
4300 * sysdeps/i386/sysdep.h: Likewise.
4301 * sysdeps/i386/i386-mcount.S: Likewise.
4302 * sysdeps/x86_64/_mcount.S: Likewise.
4303 * sysdeps/x86_64/sysdep.h: Likewise.
4304 * sysdeps/sh/_mcount.S: Likewise.
4305 * sysdeps/sh/sysdep.h: Likewise.
4306 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
4307 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
4308 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
4309 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4310 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
4311 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
4312 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
4313 * locale/localeinfo.h: Likewise.
4314 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
4315 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
4316
6c55cda3
RM
43172012-07-09 Roland McGrath <roland@hack.frob.com>
4318
4319 [BZ #14336]
4320 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
4321 system".
4322 * manual/message.texi (The Uniforum approach): Likewise.
4323 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
4324 (glibc iconv Implementation): Likewise.
4325
638a572e
JM
43262012-07-09 Joseph Myers <joseph@codesourcery.com>
4327
4328 [BZ #14337]
4329 * math/s_clog.c (__clog): Avoid scaling a value down where that
4330 could result in underflow.
4331 * math/s_clog10.c (__clog10): Likewise.
4332 * math/s_clog10f.c (__clog10f): Likewise.
4333 * math/s_clog10l.c (__clog10l): Likewise.
4334 * math/s_clogf.c (__clogf): Likewise.
4335 * math/s_clogl.c (__clogl): Likewise.
4336 * math/libm-test.inc (clog_test): Add more tests.
4337 (clog10_test): Likewise.
4338 * sysdeps/i386/fpu/libm-test-ulps: Update.
4339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4340
261f4859
AS
43412012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4342
0abaf3e4
AS
4343 [BZ #14283]
4344 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
4345 by 7 not 8 to examine high bit of fractional part.
4346
261f4859
AS
4347 [BZ #14042]
4348 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
4349 for call to __mcount_internal.
4350 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
4351 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
4352 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
4353
f17ac40d
JM
43542012-07-06 Joseph Myers <joseph@codesourcery.com>
4355
9ad63c23
JM
4356 [BZ #14154]
4357 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
4358 approximation for values within 0x1p-13f of an odd multiple of
4359 pi/4.
4360 * math/libm-test.inc (tan_test): Do not allow spurious underflow
4361 exception. Add more tests.
4362 * sysdeps/i386/fpu/libm-test-ulps: Update.
4363
f17ac40d
JM
4364 [BZ #6778]
4365 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
4366 inputs and return -1 for them. Do not check for +Inf in case not
4367 reachable for +Inf.
4368 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4369 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
4370 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4371 and return -1 for them. Do not check for +Inf in case not
4372 reachable for +Inf.
4373 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
4374 define.
4375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
4376 and return -1 for them. Do not check for +Inf in case not
4377 reachable for +Inf.
4378 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
4379 spurious underflow.
4380 * sysdeps/i386/fpu/libm-test-ulps: Update.
4381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4382
fb21f89b
MF
43832012-07-06 Mike Frysinger <vapier@gentoo.org>
4384
4385 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
4386
cdfe2c5e
JM
43872012-07-05 Joseph Myers <joseph@codesourcery.com>
4388
4389 [BZ #14157]
4390 [BZ #14331]
4391 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
4392 could result in spurious underflow. Scale down values above
4393 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
4394 * math/s_csqrtf.c (__csqrtf): Likewise.
4395 * math/s_csqrtl.c (__csqrtl): Likewise.
4396 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
4397 spurious underflow.
4398 * sysdeps/i386/fpu/libm-test-ulps: Update.
4399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4400
70d35b67
AS
44012012-07-04 Andreas Schwab <schwab@linux-m68k.org>
4402
704bc459
AS
4403 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
4404 xopen-msg.sed.
4405 * catgets/xopen-msg.awk: New file.
4406 * catgets/xopen-msg.sed: Removed.
4407
70d35b67
AS
4408 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
4409 po2text.sed.
4410 * intl/po2test.awk: New file.
4411 * intl/po2test.sed: Removed.
4412
ca61cf32
JM
44132012-07-04 Joseph Myers <joseph@codesourcery.com>
4414
4415 [BZ #14328]
4416 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
4417 or multiply small sinh result by itself.
4418 * math/s_ctanf.c (__ctanf): Likewise.
4419 * math/s_ctanh.c (__ctanh): Likewise.
4420 * math/s_ctanhf.c (__ctanhf): Likewise.
4421 * math/s_ctanhl.c (__ctanhl): Likewise.
4422 * math/s_ctanl.c (__ctanl): Likewise.
4423 * math/libm-test.inc (ctan_test_tonearest): New function.
4424 (ctan_test_towardzero): Likewise.
4425 (ctan_test_downward): Likewise.
4426 (ctan_test_upward): Likewise.
4427 (ctanh_test_tonearest): Likewise.
4428 (ctanh_test_towardzero): Likewise.
4429 (ctanh_test_downward): Likewise.
4430 (ctanh_test_upward): Likewise.
4431 (main): Call these new functions.
4432 * sysdeps/i386/fpu/libm-test-ulps: Update.
4433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4434
ca48a46a
MF
44352012-07-03 Mike Frysinger <vapier@gentoo.org>
4436
4437 * .gitignore: Delete /ports entry.
4438
9d63d37d
AJ
44392012-07-03 Andreas Jaeger <aj@suse.de>
4440
4441 * po/bg.po: Update from translation team.
4442 * po/cs.po: Likewise.
4443 * po/de.po: Likewise.
4444 * po/hr.po: Likewise.
4445 * po/nl.pl: Likewise.
4446 * po/pl.po: Likewise.
4447 * po/vi.po: Likewise.
4448
370ca3d2
JM
44492012-07-03 Joseph Myers <joseph@codesourcery.com>
4450
95f5a9a8
JM
4451 * Makeconfig [!+link] (+link-before-libc): New variable.
4452 [!+link] (+link-after-libc): Likewise.
4453 [!+link] (+link-tests): Likewise.
4454 [!+link] (+link): Define in terms of $(+link-before-libc) and
4455 $(+link-after-libc).
4456 [!+link-static] (+link-static-before-libc): New variable.
4457 [!+link-static] (+link-static-after-libc): Likewise.
4458 [!+link-static] (+link-static-tests): Likewise.
4459 [!+link-static] (+link-static): Define in terms of
4460 $(+link-static-before-libc) and $(+link-static-after-libc).
4461 [build-shared] (link-libc-before-gnulib): New variable.
4462 [build-shared] (link-libc-tests): Likewise.
4463 [build-shared] (link-libc): Define in terms of
4464 $(link-libc-before-gnulib).
4465 [!build-shared] (link-libc-tests): New variable.
4466 (link-libc-static-tests): New variable.
4467 [!gnulib] (gnulib-arch): New variable.
4468 [!gnulib] (gnulib-tests): Likewise.
4469 [!gnulib] (static-gnulib-arch): Likewise.
4470 [!gnulib] (static-gnulib-tests): Likewise.
4471 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
4472 Define with "=" instead of ":=".
4473 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
4474 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
4475 * Rules (binaries-all-notests): New variable.
4476 (binaries-all-tests): Likewise.
4477 (binaries-static-notests): Likewise.
4478 (binaries-static-tests): Likewise.
4479 (binaries-all): Define using $(binaries-all-notests) and
4480 $(binaries-all-tests).
4481 (binaries-static): Define using $(binaries-static-notests) and
4482 $(binaries-static-tests).
4483 (binaries-shared-tests): New variable.
4484 (binaries-shared-notests): Likewise.
4485 (binaries-shared): Remove variable.
4486 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
4487 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
4488 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
4489 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
4490 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
4491 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
4492 * elf/Makefile (sln-modules): New variable.
4493 (extra-objs): Add $(sln-modules:=.o).
4494 (ldconfig-modules): Add static-stubs.
4495 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
4496 * elf/static-stubs.c: New file.
4497
7a845b2c
JM
4498 [BZ #14283]
4499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
4500 by 7 not 8 to examine high bit of fractional part. Use volatile
4501 variables when splitting into final array of floats if
4502 __FLT_EVAL_METHOD__ != 0.
4503 * math/libm-test.inc (cos_test): Add another test.
4504 (sin_test): Likewise.
4505 * sysdeps/i386/fpu/libm-test-ulps: Update.
4506
e2283f38
JM
4507 [BZ #14273]
4508 * math/libm-test.inc (cosh_test): Add more tests.
4509
370ca3d2
JM
4510 * version.h (RELEASE): Set to "development".
4511 (VERSION): Set to "2.16.90".
4512
ee9247c3
CD
45132012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
4514
4515 * NEWS: Update copyright. Remove last-updated date.
4516 Mention math library bug fixes and timezone data changes.
4517 * README: Mention GNU/Hurd, x32, and HPPA support status.
4518
4648c381
TS
45192012-06-28 Thomas Schwinge <thomas@codesourcery.com>
4520
4521 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
4522
aac78a43
AJ
45232012-06-27 Andreas Jaeger <aj@suse.de>
4524
4525 * manual/contrib.texi (Contributors): Add Samuel Thibault.
4526
ed3dbfad
AJ
45272012-06-25 Andreas Jaeger <aj@suse.de>
4528
4529 * sysdeps/s390/fpu/libm-test-ulps: Update.
4530
4d0ee855
AS
45312012-06-23 Andreas Schwab <schwab@linux-m68k.org>
4532 Thomas Schwinge <thomas@codesourcery.com>
4533
4534 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
4535 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
4536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
4537 fanotify_mark.
4538
af1bce34
TS
45392012-06-23 Thomas Schwinge <thomas@codesourcery.com>
4540
a9fa33ba
TS
4541 * sysdeps/mach/start.c: Remove file.
4542 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
4543 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
4544 * sysdeps/sh/init-first.c: Likewise.
4545
58f902b8
TS
4546 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
4547 registers for frame unwinding purposes, add CFI directives.
4548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4549 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
4550 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
4551 Likewise.
4552
1518f58b
TS
4553 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
4554 __fortify_fail returning.
4555 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
4556
db9b5059
TS
4557 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
4558 sysdeps/sh/____longjmp_chk.S.
4559 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
4560 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
4561 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
4562 (gen-as-const-headers): Append sigaltstack-offsets.sym.
4563
967705fe
TS
4564 * sysdeps/sh/abort-instr.h: New file.
4565 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
4566 process in case exit returns.
4567
a9def8c4
TS
4568 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
4569 initialize the GOT register before use.
4570
2a649725
TS
4571 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
4572 calculation of ARGC > 4.
4573
af1bce34
TS
4574 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
4575 meaningful names to some local labels.
4576
d230f50a
KK
45772012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4578 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4579
4580 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
4581 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
4582 (__arch_compare_and_exchange_val_16_acq): Likewise.
4583 (__arch_compare_and_exchange_val_32_acq): Likewise.
4584 (atomic_exchange_and_add): Fix gUSA sequence.
4585 (atomic_add): Likewise.
4586 (atomic_add_negative): Likewise.
4587 (atomic_add_zero): Likewise.
4588 (atomic_bit_test_set): Likewise.
4589
0479b305
AS
45902012-06-22 Andreas Schwab <schwab@redhat.com>
4591
4592 [BZ #13579]
4593 * include/link.h (struct link_map): Add l_free_initfini.
4594 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
4595 l_initfini.
4596 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
4597 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
4598 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
4599 set.
4600
0e3933b9
CD
46012012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
4602
4603 * configure.in: Use AC_LANG_SOURCE.
4604 * configure: Regenerate.
4605
4248b1b1
RM
46062012-06-22 Roland McGrath <roland@hack.frob.com>
4607
4608 * configure.in (libc_cv_localstatedir): New substituted variable.
4609 * configure: Regenerated.
4610 * config.make.in (localstatedir): New variable, substituted from
4611 libc_cv_localstatedir.
4612 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
4613 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
4614 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
4615 * sysdeps/gnu/configure: Regenerated.
4616
006dd861
JL
46172012-06-21 Jeff Law <law@redhat.com>
4618
4619 [BZ #14277]
4620 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
4621 free. Simplify list management for _LIBC case.
4622
79662d42
JM
46232012-06-21 Joseph Myers <joseph@codesourcery.com>
4624
b7abb4bf
JM
4625 [BZ #14273]
4626 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4627 Clear sign bit of 64-bit integer value before comparing against
4628 overflow value.
4629
79662d42
JM
4630 * sysdeps/mach/configure: Regenerated.
4631
1f150908
L
46322012-06-21 H.J. Lu <hongjiu.lu@intel.com>
4633
4634 [BZ #14278]
4635 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
4636
28363bbf
JL
46372012-06-21 Jeff Law <law@redhat.com>
4638
4639 [BZ #13882]
4640 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
4641 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 4642 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
4643 * elf/dl-open.c (dl_open_worker): Likewise.
4644
09615db4
CD
46452012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
4646
4647 * scripts/list-sources.sh: Scan PORTS for translations.
4648 * po/libc.pot: Regenerated.
4649
2174c6dd
AJ
46502012-06-21 Andreas Jaeger <aj@suse.de>
4651
4652 [BZ #12194]
4653 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
4654 warning.
4655 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
4656 * bits/byteswap-16.h (__bswap_16): Likewise.
4657 * bits/byteswap.h (__bswap_constant_16): Likewise.
4658
3ee947b1
L
46592012-06-18 H.J. Lu <hongjiu.lu@intel.com>
4660
4661 [BZ #14117]
a2f34833
L
4662 * sysdeps/i386/fpu_control.h: Removed.
4663 * sysdeps/x86_64/fpu_control.h: Moved to ...
4664 * sysdeps/x86/fpu_control.h: Here.
4665
3ee947b1
L
4666 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
4667 (_FPU_SETCW): Likewise.
4668
ed1825f8
L
46692012-06-15 H.J. Lu <hongjiu.lu@intel.com>
4670
25f1282a
L
4671 [BZ #14117]
4672 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
4673 * sysdeps/x86/fpu/bits/mathinline.h: This.
4674 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
4675
ed1825f8
L
4676 [BZ #14050]
4677 [BZ #14117]
4678 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
4679 functions if __x86_64__ is defined.
4680
36d54b74
CLT
46812012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
4682
4683 * string/endian.h: Add !__ASSEMBLER__ condition for including
4684 conversion interfaces.
4685
10285c21
JM
46862012-06-15 Joseph Myers <joseph@codesourcery.com>
4687
4688 [BZ #14241]
4689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
4690 of ABS(x) in calculating zero to negative powers other than odd
4691 integers.
4692 * math/libm-test.inc (pow_test): Add more tests.
4693
06c5abbd
AJ
46942012-06-15 Andreas Jaeger <aj@suse.de>
4695
4696 * manual/contrib.texi (Contributors): Update entry of Liubov
4697 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
4698 Machado Filho.
4699
a3aeac40
CH
47002012-06-15 Cyril Hrubis <metan@ucw.cz>
4701
4702 * string/string.h: Add __wur to GNU version of strerror_r.
4703
49bdf4c1
L
47042012-06-14 H.J. Lu <hongjiu.lu@intel.com>
4705
4706 [BZ #14229]
4707 * string/Makefile (tests): Add tst-strtok_r.
4708 * string/tst-strtok_r.c: New file.
4709 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
4710 RAX_LP/RDX_LP on SAVE_PTR.
4711
834f9b8d
RM
47122012-06-14 Roland McGrath <roland@hack.frob.com>
4713
4714 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
4715
75fa1921
JM
47162012-06-14 Joseph Myers <joseph@codesourcery.com>
4717
4718 * libm_test.inc (csqrt_test): Allow more spurious underflow
4719 exceptions.
4720 (j0_test): Likewise.
4721 (j1_test): Likewise.
4722 (y0_test): Likewise.
4723 (y1_test): Likewise.
4724
771766df
CD
47252012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
4726
4727 * po/Makefile (libc.pot): Use UTF-8 charset.
4728
ceb9e56b
PP
47292012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4730
4731 [BZ #14210]
4732 Suppress sign-conversion warning from FD_SET.
4733 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
4734 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
4735 not unsigned long int.
4736 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
4737
ddb28975
L
47382012-06-12 H.J. Lu <hongjiu.lu@intel.com>
4739
4740 [BZ #14050]
4741 [BZ #14117]
4742 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
4743 __extern_always_inline instead of __extern_inline.
4744 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
4745 (__signbit): Likewise.
4746 (__signbitl): Support C++ namespace.
4747 (lrintf): New inline function.
4748 (lrint): Likewise.
4749 (llrintf): Likewise.
4750 (llrint): Likewise.
4751 (fmaxf): Likewise.
4752 (fmax): Likewise.
4753 (fminf): Likewise.
4754 (fmin): Likewise.
4755 (rint): Likewise.
4756 (rintf): Likewise.
4757 (ceil): Likewise.
4758 (ceilf): Likewise.
4759 (floor): Likewise.
4760 (floorf): Likewise.
4761 (nearbyint): Likewise.
4762 (nearbyintf): Likewise.
4763
d7b4fb26
TS
47642012-06-12 Thomas Schwinge <thomas@codesourcery.com>
4765
4766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
4767 non-default versions.
4768
eb55f5c2
RM
47692012-06-11 Roland McGrath <roland@hack.frob.com>
4770
4771 [BZ #14218]
4772 * manual/argp.texi (Argp): Reword argp_parse description slightly.
4773
366af02c
TS
47742012-06-09 Thomas Schwinge <thomas@codesourcery.com>
4775
99ff6e5c
TS
4776 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
4777 (FE_UPWARD, FE_DOWNWARD): Don't define.
4778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
4779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4780
366af02c
TS
4781 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
4782 reading it.
4783 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
4784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4785
793ea851
KK
47862012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4787
4788 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
4790 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
4791 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
4792
a728a38f
L
47932012-06-06 H.J. Lu <hongjiu.lu@intel.com>
4794
4795 [BZ #14117]
c08010c7
L
4796 * sysdeps/i386/fpu/bits/fenv.h: Removed.
4797 * sysdeps/i386/fpu/Implies: New file.
4798 * sysdeps/x86_64/fpu/Implies: Likewise.
4799 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
4800 * sysdeps/x86/fpu/bits/fenv.h: This.
4801
a728a38f
L
4802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
4803 __SSE_MATH__.
4804
6e230d11
SP
48052012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4806
4807 [BZ #14134]
4808 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
4809 character 0xffff that matches the last element of the
4810 conversion table.
4811
1b671feb
AZ
48122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4813
4814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
4815 fmodl commit.
4816
6043738b
AZ
48172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4818
4819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
4820 values higher than 25.6283.
4821
34ae0b32
AZ
48222012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4823
4824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
4825 subnormal exponent extraction and add some __builtin_expect.
4826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
4827 Fix for subnormal mantissa calculation.
4828
1214ec8f
MF
48292012-06-04 Mike Frysinger <vapier@gentoo.org>
4830
4831 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
4832 cpu2 is -1 and errno is not ENOSYS.
4833
f3d1f93c
L
48342012-06-04 H.J. Lu <hongjiu.lu@intel.com>
4835
4836 [BZ #14117]
0e4a3cd7
L
4837 * sysdeps/i386/i486/bits/string.h: Renamed to ...
4838 * sysdeps/x86/bits/string.h: This.
4839 * sysdeps/x86_64/bits/string.h: Removed.
4840
6704c645
L
4841 * sysdeps/i386/i486/bits/string.h: Define inline functions only
4842 if not compiling for x86-64, but compiling for >= i486.
4843
48495318
L
4844 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
4845 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
4846
14adcbfc
L
4847 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
4848 New macro from Linux kernel 3.4.0.
4849 (FP_XSTATE_MAGIC2): Likewise.
4850 (FP_XSTATE_MAGIC2_SIZE): Likewise.
4851 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
4852 (struct _fpx_sw_bytes): New struct.
4853 (struct _xsave_hdr): Likewise.
4854 (struct _ymmh_state): Likewise.
4855 (struct _xstate): Likewise.
4856
68e408ab
L
4857 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
4858 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
4859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
4860 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
4861 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
4862 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
4863
f3d1f93c
L
4864 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
4865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
4866 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
4867 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
4868 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
4869 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
4870
d9dc34cd
TMQMF
48712012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4872
4873 [BZ #13743]
4874 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
4875 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
4876 (sysdep_headers): Include sys/platform/ppc.h.
4877 * sysdeps/powerpc/test-gettimebase.c: Test for
4878 __ppc_get_timebase() to catch future ISA opcode/insn changes.
4879 * manual/Makefile (appendices): Include platform.texi.
4880 * manual/contrib.texi (Contributors): Update @node pointers.
4881 * manual/maint.texi (Maintenance): Likewise.
4882 (Platform): New node.
4883 * manual/platform.texi: New file. Document the new features.
4884
4af3879c
SP
48852012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4886 Jakub Jelinek <jakub@redhat.com>
4887
4888 [BZ #14188]
4889 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
4890 where __builtin_expect is unavailable.
4891
2fd6ff13
DM
48922012-06-03 David S. Miller <davem@davemloft.net>
4893
4894 * stdlib/longlong.h: Updated from GCC.
4895
173f7220
AS
48962012-06-02 Andreas Schwab <schwab@linux-m68k.org>
4897
4898 [BZ #14042]
4899 * sysdeps/powerpc/powerpc32/mcount.c: New file.
4900 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
4901 __mcount_internal.
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4903 (GLIBC_2.16): Likewise.
4904
f34a1c6f
L
49052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4906
4907 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
4908
88a4576f
JM
49092012-06-01 Joseph Myers <joseph@codesourcery.com>
4910
ea32bcdd
JM
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4912 (default-abi): New variable.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
4914 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
4915 variable.
4916 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
4917 Likewise.
4918 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
4919 Likewise.
4920 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
4921 Likewise.
4922
88a4576f
JM
4923 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
4924 definition. Document in comment.
4925
402fe938
DM
49262012-06-01 David S. Miller <davem@davemloft.net>
4927
4928 * stdlib/longlong.h: Updated from GCC.
4929
3553723f
L
49302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4931
4932 [BZ #14117]
3bd872c4
L
4933 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
4934 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
4935 sys/debugreg.h sys/io.h here.
4936 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
4937 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
4938 sys/io.h.
4939 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
4940 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
4941 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
4942 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
4943 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
4944 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
4945
3553723f
L
4946 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
4947 Define only if __x86_64__ is defined.
4948
4842e4fe
JM
49492012-06-01 Joseph Myers <joseph@codesourcery.com>
4950
c5bfe3d5
JM
4951 [BZ #14048]
4952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
4953 Use int64_t for variable i.
4954 * math/libm-test.inc (fmod_test): Add more tests.
4955
4842e4fe
JM
4956 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
4957 z computation is not scheduled after fetestexcept.
4958 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
4959 Use math_force_eval instead of asm to ensure calculation scheduled
4960 before exception test.
4961 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
4962 Ensure a1 + u.d computation is not scheduled after fetestexcept.
4963
efb73488
AJ
49642012-06-01 Aurelien Jarno <aurelien@aurel32.net>
4965
4966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
4967 computation is not scheduled after fetestexcept.
4968
29bcce7c
L
49692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
4970
4971 [BZ #14117]
4972 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
4973 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
4974
73a68f94
AZ
49752012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4976
4977 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
4978 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4979
67b6df78
L
49802012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4981
edf2933a 4982 [BZ #14117]
ebc64a18
L
4983 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
4984 <bits/wordsize.h>.
4985 (__WCHAR_MIN): Support __WORDSIZE == 64.
4986 (__WCHAR_MAX): Likewise.
4987
edf2933a
L
4988 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
4989 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
4990
57c6cf40
L
4991 [BZ #14183]
4992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
4993 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
4994
67b6df78 4995 [BZ #14117]
8eb6281e
L
4996 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
4997 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
4998
aac639f4
L
4999 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
5000 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
5001
67b6df78
L
5002 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
5003 Defined to 1 if __x86_64__ isn't defined.
5004 (_STAT_VER_LINUX_OLD): New.
5005 (st_atime): Remove duplicate.
5006 (st_mtime): Likewise.
5007 (st_ctime): Likewise.
5008
1c2cfe81
DM
50092012-05-31 David S. Miller <davem@davemloft.net>
5010
5011 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
5012 entries.
5013
5be8418c
AS
50142012-06-01 Andreas Schwab <schwab@linux-m68k.org>
5015
e7725326
AS
5016 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
5017 gen-libm-test.pl.
5018
5be8418c
AS
5019 [BZ #14132]
5020 * elf/dl-reloc.c: Include <_itoa.h>.
5021 (_dl_reloc_bad_type): Remove use of INTUSE.
5022 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
5023 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
5024 * stdio-common/psiginfo.c (psiginfo): Likewise.
5025 * stdio-common/psignal.c (psignal): Likewise.
5026 * string/strsignal.c (strsignal): Likewise.
5027 * include/signal.h (_sys_siglist): Declare hidden proto.
5028 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
5029 INTVARDEF with libc_hidden_data_def.
5030 * stdio-common/itoa-udigits.c: Likewise.
5031 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
5032 (_itoa_lower_digits_internal): Remove declaration.
5033 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
5034 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
5035 (_sys_sigabbrev_internal): Remove aliases.
5036 (_sys_siglist): Define hidden alias.
5037
507352f1
MT
50382012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
5039
5040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5041 bits/sysctl.h.
5042
42bbb1c3
L
50432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
5044
5045 [BZ #14117]
6bd784b6
L
5046 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
5047 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
5048
8bca20f0
L
5049 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
5050 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
5051 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
5052 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
5053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
5054 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
5055
f9e890a9
L
5056 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
5057 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
5058 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
5059
471101a1
L
5060 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
5061 with __addr.
5062 (insw): Likewise.
5063 (insl): Likewise.
5064 (outsb): Likewise.
5065 (outsw): Likewise.
5066 (outsl): Likewise.
5067
6451c862
L
5068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5069 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
5070 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
5071
a254b8c9
L
5072 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5073 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
5074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
5075 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
5076 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
5077 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
5078
b8dfdd92
L
5079 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
5080 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
5081
578cd270
L
5082 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
5083 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
5084
de662f5f
L
5085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
5086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
5087 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
5088
25653439
L
5089 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
5090 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
5091 to ...
5092 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
5093
6bad24a0
L
5094 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
5095 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
5096 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
5097
42bbb1c3
L
5098 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
5099 for x86-64.
5100 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
5101
2d10d547
JM
51022012-05-31 Joseph Myers <joseph@codesourcery.com>
5103
5104 * math/math.h (M_El): Use two more decimal places.
5105 (M_LOG2El): Likewise.
5106 (M_LOG10El): Likewise.
5107 (M_LN2l): Likewise.
5108 (M_LN10l): Likewise.
5109 (M_PIl): Likewise.
5110 (M_PI_2l): Likewise.
5111 (M_PI_4l): Likewise.
5112 (M_1_PIl): Likewise.
5113 (M_2_PIl): Likewise.
5114 (M_2_SQRTPIl): Likewise.
5115 (M_SQRT2l): Likewise.
5116 (M_SQRT1_2l): Likewise.
5117
f230c29b
DM
51182012-05-31 David S. Miller <davem@davemloft.net>
5119
5120 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
5121 values between float registers.
5122 * sysdeps/sparc/sparc64/memset.S: Likewise.
5123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5124
fed806c3
MF
51252012-05-31 Mike Frysinger <vapier@gentoo.org>
5126
5127 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
5128 -D_FORTIFY_SOURCE=1.
5129 (CPPFLAGS-tst-longjmp_chk.c): Define.
5130 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
5131 (CPPFLAGS-tst-longjmp_chk2.c): Define.
5132 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
5133 CFLAGS-tst-wchar-h.c.
5134
30917259
MP
51352012-05-31 Marek Polacek <polacek@redhat.com>
5136
5137 [BZ #14132]
5138 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
5139 __endmntent_internal): Remove declaration.
5140 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
5141 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
5142 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
5143
1c58d5dc
DM
51442012-05-30 David S. Miller <davem@davemloft.net>
5145
5146 * sysdeps/sparc/sparc32/soft-fp/q_util.c
5147 (___Q_simulate_exceptions): Use real FP ops rather than writing
5148 into the %fsr.
5149 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
5150 Likewise.
5151
7dc00e0d
L
51522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5153
5154 [BZ #14117]
0bd53985
L
5155 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
5156 * sysdeps/x86/bits/xtitypes.h: This.
5157
3a257e66
L
5158 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
5159 * sysdeps/x86/bits/wordsize.h: This.
5160
62f62904
L
5161 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
5162 * sysdeps/x86/bits/huge_vall.h: This.
5163
404fe9d9
L
5164 * sysdeps/i386/bits/select.h: Removed.
5165 * sysdeps/x86_64/bits/select.h: Renamed to ...
5166 * sysdeps/x86/bits/select.h: This.
5167
d48d0446
L
5168 * sysdeps/i386/bits/setjmp.h: Removed.
5169 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
5170 * sysdeps/x86/bits/setjmp.h: This.
5171
7dc00e0d
L
5172 * sysdeps/i386/bits/mathdef.h: Removed.
5173 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
5174 * sysdeps/x86/bits/mathdef.h: This.
5175
03277f8f
AS
51762012-05-30 Andreas Schwab <schwab@linux-m68k.org>
5177
5178 [BZ #14132]
5179 * include/sys/socket.h (__connect_internal)
5180 (__libc_sa_len_internal): Remove declaration.
5181 (__connect, __libc_sa_len): Declare hidden_proto.
5182 (SA_LEN): Remove use of INTUSE.
5183 * socket/connect.c: Add libc_hidden_def.
5184 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
5185 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
5186 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
5187 alias.
5188 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5189 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
5190 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
5191 of adding _internal alias.
5192
13764867
L
51932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5194
5195 [BZ #14117]
6bd97696
L
5196 * sysdeps/i386/bits/link.h: Removed.
5197 * sysdeps/i386/bits/linkmap.h: Likewise.
5198 * sysdeps/x86_64/bits/link.h: Renamed to ...
5199 * sysdeps/x86/bits/link.h: This.
5200 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
5201 * sysdeps/x86/bits/linkmap.h: This.
5202
f726f0bb
L
5203 * sysdeps/i386/bits/endian.h: Removed.
5204 * sysdeps/x86_64/bits/endian.h: Renamed to ...
5205 * sysdeps/x86/bits/endian.h: This.
5206
13764867
L
5207 * sysdeps/i386/bits/byteswap.h: Removed.
5208 * sysdeps/i386/bits/byteswap-16.h: Likewise.
5209 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
5210 * sysdeps/x86/bits/byteswap.h: This.
5211 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
5212 * sysdeps/x86/bits/byteswap-16.h: This.
5213 * sysdeps/i386/Implies: Add x86.
5214 * sysdeps/x86_64/Implies: Likewise.
5215
ae251b0b
DM
52162012-05-30 David S. Miller <davem@davemloft.net>
5217
5218 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
5219 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
5220 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5221 (FP_TRAPPING_EXCEPTIONS): Define.
5222 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5223 (FP_TRAPPING_EXCEPTIONS): Define.
5224 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
5225 subnormals only when inexact has been signalled or underflow
5226 exceptions are enabled.
5227 (_FP_PACK_CANONICAL): Likewise.
5228
d5c90867
L
52292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5230
5231 [BZ #14183]
5232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
5233 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
5234
63f1549e
RH
52352012-05-30 Richard Henderson <rth@twiddle.net>
5236
8d8f2279
RH
5237 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
5238 with #ifndef NOT_IN_libc.
5239
63f1549e
RH
5240 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
5241 marked to avoid plt entry.
5242
0ab0291b
L
52432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
5244
5245 [BZ #14112]
5246 * Makeconfig (default-abi): New macro.
5247 (abi-includes): Likewise.
5248 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
5249 $(abi-$(default-abi)-lib-soname) for soname if defined.
5250 ($(common-objpfx)gnu/lib-names.stmp): Generate from
5251 abi-variants.
5252 * Makefile (installed-stubs): Likewise.
5253 * include/stubs-biarch.h: Removed.
5254 * scripts/lib-names.awk: Only handle one library at a time.
5255 * scripts/soversions.awk: Remove WORDSIZE support.
5256 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
5257 entries.
5258 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
5259 Removed.
5260 (syscall-list-default-condition): Likewise.
5261 (syscall-list-default-condition): Likewise.
5262 (syscall-list-includes): Likewise.
5263 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
5264 syscall-list-* with abi-*. Handle undefined abi-variants.
5265 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
5266 * sysdeps/unix/sysv/linux/i386/Implies: New file.
5267 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
5268 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
5269 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
5270 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
5271 Removed.
5272 (syscall-list-32-options): Likewise.
5273 (syscall-list-32-condition): Likewise.
5274 (syscall-list-64-options): Likewise.
5275 (syscall-list-64-condition): Likewise.
5276 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
5277 macro.
5278 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
5279 Renamed to ...
5280 (abi-*): This.
5281 (abi-64-ld-soname): New macro.
5282 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
5283 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
5284 Renamed to ...
5285 (abi-*): This.
5286 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
5287 * sysdeps/x86_64/x32/shlib-versions: Likewise.
5288
4da0431d
JM
52892012-05-30 Joseph Myers <joseph@codesourcery.com>
5290
3a85279c
JM
5291 * sysdeps/unix/sysv/linux/kernel-features.h
5292 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
5293 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
5294 include <kernel-features.h>.
5295 [!__NR_ftruncate64]: Remove conditional code.
5296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5297 [__NR_ftruncate64]: Make code unconditional.
5298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5299 * sysdeps/unix/sysv/linux/truncate64.c: Do not
5300 include <kernel-features.h>.
5301 [!__NR_ftruncate64]: Remove conditional code.
5302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5303 [__NR_ftruncate64]: Make code unconditional.
5304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
5306 include <kernel-features.h>.
5307 [!__NR_ftruncate64]: Remove conditional code.
5308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5309 [__NR_ftruncate64]: Make code unconditional.
5310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
5312 include <kernel-features.h>.
5313 [!__NR_ftruncate64]: Remove conditional code.
5314 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5315 [__NR_ftruncate64]: Make code unconditional.
5316 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
5317
4da0431d
JM
5318 * configure.in (libc_cv_fpie): Weaken to a compile test using
5319 LIBC_TRY_CC_OPTION.
5320 * configure: Regenerated.
5321
11ef492c
AK
53222012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5323
5324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
5325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
5327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5328 Refreshed.
5329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
5330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
5331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
5332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
5333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
5334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5335 Refreshed.
5336
d66ef399
DM
53372012-05-27 David S. Miller <davem@davemloft.net>
5338
5339 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
5340 (___Q_zero): New.
5341 (__Q_simulate_exceptions): Return void. Change to simulate
5342 exceptions by writing into the %fsr.
5343 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
5344 (__Qp_handle_exceptions): Likewise.
5345 (numbers): Delete.
5346 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
5347 __Qp_handle_exceptions.
5348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
5349 __Qp_handle_exceptions.
5350 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5351 as unused and give dummy FP_RND_NEAREST initializer.
5352 (FP_INHIBIT_RESULTS): Define.
5353 (___Q_simulate_exceptions): Update declaration.
5354 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
5355 formatting.
5356 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
5357 as unused and give dummy FP_RND_NEAREST initializer.
5358 (__Qp_handle_exceptions): Update declaration.
5359 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
5360 formatting.
5361
04fb54b5
TS
53622012-05-27 Thomas Schwinge <thomas@codesourcery.com>
5363
5364 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
5365 the temporary FPU control word.
5366 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5367 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
5368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5369 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
5370 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5371 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5372 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5374 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5375 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
5376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
5377
3f99608f
KK
53782012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5379
5380 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
5381 fields.
5382
65a4de4e
CLT
53832012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
5384
5385 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
5386 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
5387 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
5388 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
5389 Likewise.
5390 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
5391 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
5392 Likewise.
5393
15749d40
UD
53942012-05-27 Ulrich Drepper <drepper@gmail.com>
5395
5396 * po/h.po: Update from translation team.
5397
25dbcb27
AS
53982012-05-26 Andreas Schwab <schwab@linux-m68k.org>
5399
3d3f8e55
AS
5400 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
5401
25dbcb27
AS
5402 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
5403 handling of denormals.
5404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5405 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5406 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5407 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
5410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
5411 Likewise.
5412
7ad47a80 54132012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
5414
5415 [BZ #14152]
5416 * math/libm-test.inc (fma_test): Don't always expect underflow
5417 exception.
5418
9c6ea9fa
SP
54192012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5420
5421 [BZ #12416]
5422 * elf/tst-execstack.c: Include stackinfo.h.
5423 (do_test): Adjust test case to ensure that pthread_getattr_np
5424 behaviour remains the same after marking stack executable.
5425
a8239222
JM
54262012-05-25 Joseph Myers <joseph@codesourcery.com>
5427
5428 * sysdeps/unix/sysv/linux/kernel-features.h
5429 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
5430 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
5431 kernel-features.h.
5432 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5433 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5434 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
5435 kernel-features.h.
5436 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
5437 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
5438
918b5606
L
54392012-05-25 H.J. Lu <hongjiu.lu@intel.com>
5440
5441 * configure.in: Define the default includes to being none.
5442 * configure: Regenerated.
5443
3a097cc7
RM
54442012-05-25 Roland McGrath <roland@hack.frob.com>
5445
8422c9a5
RM
5446 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
5447 * sysdeps/x86_64/setjmp.S: Likewise.
5448 * sysdeps/i386/bsd-setjmp.S: Likewise.
5449 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5450 * sysdeps/i386/setjmp.S: Likewise.
5451 * sysdeps/i386/__longjmp.S: Likewise.
5452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
5453 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
5454
3a097cc7
RM
5455 * include/stap-probe.h: New file.
5456 * configure.in: Handle --enable-systemtap.
5457 * configure: Regenerated.
5458 * config.h.in (USE_STAP_PROBE): New #undef.
5459 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
5460 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
5461 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5462
21708942
JM
54632012-05-25 Joseph Myers <joseph@codesourcery.com>
5464
5465 [BZ #13717]
5466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
5467 to 2.4.0 where earlier.
5468 * sysdeps/unix/sysv/linux/configure: Regenerated.
5469 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
5470 <kernel-features.h>.
5471 [__ASSUME_32BITUIDS]: Make code unconditional.
5472 [!__ASSUME_32BITUIDS]: Remove conditional code.
5473 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
5474 <kernel-features.h>.
5475 [__ASSUME_32BITUIDS]: Make code unconditional.
5476 [!__ASSUME_32BITUIDS]: Remove conditional code.
5477 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
5478 [__ASSUME_32BITUIDS]: Make code unconditional.
5479 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
5480 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
5481 <kernel-features.h>.
5482 [__ASSUME_32BITUIDS]: Make code unconditional.
5483 [!__ASSUME_32BITUIDS]: Remove conditional code.
5484 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
5485 <kernel-features.h>.
5486 [__ASSUME_32BITUIDS]: Make code unconditional.
5487 [!__ASSUME_32BITUIDS]: Remove conditional code.
5488 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
5489 <kernel-features.h>.
5490 [__ASSUME_32BITUIDS]: Make code unconditional.
5491 [!__ASSUME_32BITUIDS]: Remove conditional code.
5492 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
5493 <kernel-features.h>.
5494 [__ASSUME_32BITUIDS]: Make code unconditional.
5495 [!__ASSUME_32BITUIDS]: Remove conditional code.
5496 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
5497 <kernel-features.h>.
5498 [__ASSUME_32BITUIDS]: Make code unconditional.
5499 [!__ASSUME_32BITUIDS]: Remove conditional code.
5500 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
5501 <kernel-features.h>.
5502 [__ASSUME_32BITUIDS]: Make code unconditional.
5503 [!__ASSUME_32BITUIDS]: Remove conditional code.
5504 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
5505 <kernel-features.h>.
5506 [__ASSUME_32BITUIDS]: Make code unconditional.
5507 [!__ASSUME_32BITUIDS]: Remove conditional code.
5508 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
5509 <kernel-features.h>.
5510 [__ASSUME_32BITUIDS]: Make code unconditional.
5511 [!__ASSUME_32BITUIDS]: Remove conditional code.
5512 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
5513 <kernel-features.h>.
5514 [__ASSUME_32BITUIDS]: Make code unconditional.
5515 [!__ASSUME_32BITUIDS]: Remove conditional code.
5516 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
5517 <kernel-features.h>.
5518 [__ASSUME_32BITUIDS]: Make code unconditional.
5519 [!__ASSUME_32BITUIDS]: Remove conditional code.
5520 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
5521 <kernel-features.h>.
5522 [__NR_setresgid] (__setresgid): Do not declare.
5523 [__ASSUME_32BITUIDS]: Make code unconditional.
5524 [!__ASSUME_32BITUIDS]: Remove conditional code.
5525 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
5526 <kernel-features.h>.
5527 [__NR_setresuid] (__setresuid): Do not declare.
5528 [__ASSUME_32BITUIDS]: Make code unconditional.
5529 [!__ASSUME_32BITUIDS]: Remove conditional code.
5530 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
5531 <kernel-features.h>.
5532 [__ASSUME_32BITUIDS]: Make code unconditional.
5533 [!__ASSUME_32BITUIDS]: Remove conditional code.
5534 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
5535 <kernel-features.h>.
5536 [__ASSUME_32BITUIDS]: Make code unconditional.
5537 [!__ASSUME_32BITUIDS]: Remove conditional code.
5538 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
5539 <kernel-features.h>.
5540 [__ASSUME_32BITUIDS]: Make code unconditional.
5541 [!__ASSUME_32BITUIDS]: Remove conditional code.
5542 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
5543 <kernel-features.h>.
5544 [__ASSUME_32BITUIDS]: Make code unconditional.
5545 [!__ASSUME_32BITUIDS]: Remove conditional code.
5546 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
5547 <kernel-features.h>.
5548 [__ASSUME_32BITUIDS]: Make code unconditional.
5549 [!__ASSUME_32BITUIDS]: Remove conditional code.
5550 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
5551 <kernel-features.h>.
5552 [__ASSUME_32BITUIDS]: Make code unconditional.
5553 [!__ASSUME_32BITUIDS]: Remove conditional code.
5554 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
5555 <kernel-features.h>.
5556 [__ASSUME_32BITUIDS]: Make code unconditional.
5557 [!__ASSUME_32BITUIDS]: Remove conditional code.
5558 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
5559 <kernel-features.h>.
5560 [__ASSUME_32BITUIDS]: Make code unconditional.
5561 [!__ASSUME_32BITUIDS]: Remove conditional code.
5562 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
5563 <kernel-features.h>.
5564 [__ASSUME_32BITUIDS]: Make code unconditional.
5565 [!__ASSUME_32BITUIDS]: Remove conditional code.
5566 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
5567 <kernel-features.h>.
5568 [__ASSUME_32BITUIDS]: Make code unconditional.
5569 [!__ASSUME_32BITUIDS]: Remove conditional code.
5570 * sysdeps/unix/sysv/linux/kernel-features.h
5571 (__ASSUME_SETRESUID_SYSCALL): Remove.
5572 (__ASSUME_SETRESGID_SYSCALL): Likewise.
5573 (__ASSUME_32BITUIDS): Likewise.
5574 (__ASSUME_LDT_WORKS): Likewise.
5575 (__ASSUME_O_DIRECTORY): Likewise.
5576 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
5577 architecture but not kernel version.
5578 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5579 (__ASSUME_MMAP2_SYSCALL): Likewise.
5580 (__ASSUME_STAT64_SYSCALL): Likewise.
5581 (__ASSUME_IPC64): Likewise.
5582 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
5583 <kernel-features.h>.
5584 [__ASSUME_32BITUIDS]: Make code unconditional.
5585 [!__ASSUME_32BITUIDS]: Remove conditional code.
5586 * sysdeps/unix/sysv/linux/opendir.c: Do not include
5587 <kernel-features.h>.
5588 [__ASSUME_O_DIRECTORY]: Make code unconditional.
5589 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
5590 132096]: Remove conditional code.
5591 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
5592 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
5593 <kernel-features.h>.
5594 [__ASSUME_32BITUIDS]: Make code unconditional.
5595 [!__ASSUME_32BITUIDS]: Remove conditional code.
5596 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
5597 <kernel-features.h>.
5598 [__ASSUME_32BITUIDS]: Make code unconditional.
5599 [!__ASSUME_32BITUIDS]: Remove conditional code.
5600 * sysdeps/unix/sysv/linux/setegid.c: Do not include
5601 <kernel-features.h>.
5602 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
5603 unconditional.
5604 (__setresgid): Do not declare.
5605 [__ASSUME_32BITUIDS]: Make code unconditional.
5606 [!__ASSUME_32BITUIDS]: Remove conditional code.
5607 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
5608 <kernel-features.h>.
5609 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
5610 unconditional.
5611 (__setresuid): Do not declare.
5612 [__ASSUME_32BITUIDS]: Make code unconditional.
5613 [!__ASSUME_32BITUIDS]: Remove conditional code.
5614 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
5615 <kernel-features.h>.
5616 [__ASSUME_32BITUIDS]: Make code unconditional.
5617 [!__ASSUME_32BITUIDS]: Remove conditional code.
5618 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
5619 <kernel-features.h>.
5620 [__ASSUME_32BITUIDS]: Make code unconditional.
5621 [!__ASSUME_32BITUIDS]: Remove conditional code.
5622
a386f1cc
RH
56232012-05-25 Richard Henderson <rth@twiddle.net>
5624
5625 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
5626 dl_hwcap to ifunc resolver.
5627 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
5628 elf_ifunc_invoke.
5629 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
5630 dl_hwcap to ifunc resolver.
5631 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
5632
b6550497
JM
56332012-05-24 Joseph Myers <joseph@codesourcery.com>
5634
5635 [BZ #14153]
5636 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
5637 for |x| <= 2**-26, not 2**-57.
5638 * math/libm-test.inc (acos_test): Do not allow spurious underflow
5639 exception.
5640
b0bc23a1
JL
56412012-05-24 Jeff Law <law@redhat.com>
5642
5643 * stdio-common/Makefile (tests): Add bug25.
5644 * stdio-common/bug25.c: New test.
5645
347c92e9
L
56462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5647
5648 [BZ #13576]
5649 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
5650 multiple of MALLOC_ALIGNMENT in size.
5651 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
5652
6bcc8b3f
JM
56532012-05-24 Joseph Myers <joseph@codesourcery.com>
5654
5655 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
5656 Require >= 256.
5657 (FILENAME_MAX): Use macro-int-constant.
5658 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
5659 (_IOFBF): Use macro-int-constant.
5660 (_IOLBF): Likewise.
5661 (_IONBF): Likewise.
5662 (SEEK_CUR): Likewise.
5663 (SEEK_END): Likewise.
5664 (SEEK_SET): Likewise.
5665 (TMP_MAX): Likewise.
5666 (EOF): Use macro-int-constant. Require < 0.
5667 (NULL): Use macro-constant. Require == 0.
5668 (stdin): Require type to be FILE *.
5669 (stdout): Likewise.
5670 (stderr): Likewise.
5671 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
5672 macro-int-constant.
5673 (EXIT_SUCCESS): Likewise.
5674 (NULL): Use macro-constant. Require == 0.
5675 (RAND_MAX): Use macro-int-constant.
5676 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
5677 [C99-based standards] (strtof): Require function.
5678 [C99-based standards] (strtold): Likewise.
5679 [C99-based standards] (strtoll): Likewise.
5680 [C99-based standards] (strtoull): Likewise.
5681 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
5682 [ISO || ISO99 || ISO11] (limits.h): Likewise.
5683 [ISO || ISO99 || ISO11] (math.h): Likewise.
5684 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
5685 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
5686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5687
d18ea0c5
AS
56882012-05-24 Andreas Schwab <schwab@linux-m68k.org>
5689
5690 [BZ #14132]
56d25bb8
AS
5691 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
5692 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
5693 * intl/dgettext.c (DCGETTEXT): Likewise.
5694 * intl/gettext.c (DCGETTEXT): Likewise.
5695 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
5696 * posix/regex_internal.h (gettext): Likewise.
5697 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
5698 Remove declaration.
5699 * include/argz.h (__argz_count_internal)
5700 (__argz_stringify_internal): Remove declaration.
5701 (__argz_count, __argz_stringify): Declare hidden proto.
5702 * intl/dcgettext.c: Remove use of INTDEF.
5703 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
5704 * string/argz-stringify.c: Likewise.
5705 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5706 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5707 Declare hidden proto.
d18ea0c5
AS
5708 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
5709 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
5710 Declare hidden proto.
5711 * include/stdio.h (__asprintf_internal): Don't declare.
5712 (__asprintf): Don't define as macro. Declare hidden proto.
5713 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
5714 (__fsetlocking): Declare hidden proto.
5715 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
5716 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
5717 hidden proto.
5718 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
5719 (_IO_setlinebuf): Remove use of INTUSE.
5720 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
5721 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
5722 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
5723 Remove declaration.
5724 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
5725 (_IO_do_flush): Remove use of INTUSE.
5726 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
5727 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
5728 (_IO_adjust_column, _IO_least_wmarker)
5729 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
5730 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
5731 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
5732 (_IO_default_doallocate, _IO_wdefault_doallocate)
5733 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
5734 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
5735 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
5736 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
5737 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
5738 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
5739 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
5740 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
5741 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
5742 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
5743 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
5744 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
5745 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
5746 proto.
5747 (_IO_flush_all_internal, _IO_adjust_column_internal)
5748 (_IO_default_uflow_internal, _IO_default_finish_internal)
5749 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
5750 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
5751 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
5752 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
5753 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
5754 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
5755 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
5756 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
5757 (_IO_file_close_internal, _IO_file_close_it_internal)
5758 (_IO_file_underflow_internal, _IO_file_overflow_internal)
5759 (_IO_file_init_internal, _IO_file_attach_internal)
5760 (_IO_file_fopen_internal, _IO_file_read_internal)
5761 (_IO_file_sync_internal, _IO_file_seek_internal)
5762 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
5763 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
5764 (_IO_str_underflow_internal, _IO_str_overflow_internal)
5765 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
5766 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
5767 (_IO_list_all_internal, _IO_link_in_internal)
5768 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
5769 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
5770 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
5771 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
5772 (_IO_do_write_internal, _IO_padn_internal)
5773 (_IO_getline_info_internal, _IO_getline_internal)
5774 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
5775 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
5776 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
5777 (_IO_vfscanf_internal, _IO_vfprintf_internal)
5778 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
5779 (_IO_init_internal, _IO_un_link_internal): Don't declare.
5780 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
5781 with libc_hidden_ver, remove use of INTUSE.
5782 * libio/genops.c: Likewise.
5783 * libio/freopen.c: Likewise.
5784 * libio/freopen64.c: Likewise.
5785 * libio/iofclose.c: Likewise.
5786 * libio/iofdopen.c: Likewise.
5787 * libio/iofflush.c: Likewise.
5788 * libio/iofflush_u.c: Likewise.
5789 * libio/iofgets.c: Likewise.
5790 * libio/iofgets_u.c: Likewise.
5791 * libio/iofopen.c: Likewise.
5792 * libio/iofopncook.c: Likewise.
5793 * libio/iofread.c: Likewise.
5794 * libio/iofread_u.c: Likewise.
5795 * libio/ioftell.c: Likewise.
5796 * libio/iofwrite.c: Likewise.
5797 * libio/iogetline.c: Likewise.
5798 * libio/iogets.c: Likewise.
5799 * libio/iogetwline.c: Likewise.
5800 * libio/iopadn.c: Likewise.
5801 * libio/iopopen.c: Likewise.
5802 * libio/ioseekoff.c: Likewise.
5803 * libio/ioseekpos.c: Likewise.
5804 * libio/iosetbuffer.c: Likewise.
5805 * libio/iosetvbuf.c: Likewise.
5806 * libio/ioungetc.c: Likewise.
5807 * libio/ioungetwc.c: Likewise.
5808 * libio/iovdprintf.c: Likewise.
5809 * libio/iovsprintf.c: Likewise.
5810 * libio/iovsscanf.c: Likewise.
5811 * libio/memstream.c: Likewise.
5812 * libio/obprintf.c: Likewise.
5813 * libio/oldfileops.c: Likewise.
5814 * libio/oldiofclose.c: Likewise.
5815 * libio/oldiofdopen.c: Likewise.
5816 * libio/oldiofopen.c: Likewise.
5817 * libio/oldiopopen.c: Likewise.
5818 * libio/oldstdfiles.c: Likewise.
5819 * libio/putc.c: Likewise.
5820 * libio/setbuf.c: Likewise.
5821 * libio/setlinebuf.c: Likewise.
5822 * libio/stdfiles.c: Likewise.
5823 * libio/strops.c: Likewise.
5824 * libio/vasprintf.c: Likewise.
5825 * libio/vscanf.c: Likewise.
5826 * libio/vsnprintf.c: Likewise.
5827 * libio/vswprintf.c: Likewise.
5828 * libio/wfiledoalloc.c: Likewise.
5829 * libio/wfileops.c: Likewise.
5830 * libio/wgenops.c: Likewise.
5831 * libio/wmemstream.c: Likewise.
5832 * libio/wstrops.c: Likewise.
5833 * libio/__fpurge.c: Likewise.
5834 * libio/__fsetlocking.c: Likewise.
5835 * assert/assert.c: Likewise.
5836 * debug/fgets_chk.c: Likewise.
5837 * debug/fgets_u_chk.c: Likewise.
5838 * debug/fread_chk.c: Likewise.
5839 * debug/fread_u_chk.c: Likewise.
5840 * debug/gets_chk.c: Likewise.
5841 * debug/obprintf_chk.c: Likewise.
5842 * debug/vasprintf_chk.c: Likewise.
5843 * debug/vdprintf_chk.c: Likewise.
5844 * debug/vsnprintf_chk.c: Likewise.
5845 * debug/vsprintf_chk.c: Likewise.
5846 * malloc/mtrace.c: Likewise.
5847 * misc/error.c: Likewise.
5848 * misc/syslog.c: Likewise.
5849 * stdio-common/asprintf.c: Likewise.
5850 * stdio-common/fxprintf.c: Likewise.
5851 * stdio-common/getw.c: Likewise.
5852 * stdio-common/isoc99_fscanf.c: Likewise.
5853 * stdio-common/isoc99_scanf.c: Likewise.
5854 * stdio-common/isoc99_vfscanf.c: Likewise.
5855 * stdio-common/isoc99_vscanf.c: Likewise.
5856 * stdio-common/isoc99_vsscanf.c: Likewise.
5857 * stdio-common/printf-prs.c: Likewise.
5858 * stdio-common/printf_fp.c: Likewise.
5859 * stdio-common/printf_fphex.c: Likewise.
5860 * stdio-common/printf_size.c: Likewise.
5861 * stdio-common/putw.c: Likewise.
5862 * stdio-common/scanf.c: Likewise.
5863 * stdio-common/sprintf.c: Likewise.
5864 * stdio-common/tmpfile.c: Likewise.
5865 * stdio-common/vfprintf.c: Likewise.
5866 * stdio-common/vfscanf.c: Likewise.
5867 * stdlib/strfmon_l.c: Likewise.
5868 * sunrpc/openchild.c: Likewise.
5869 * sunrpc/xdr_stdio.c: Likewise.
5870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5871 * sysdeps/mach/hurd/tmpfile.c: Likewise.
5872
d6c33fda
RM
58732012-05-24 Roland McGrath <roland@hack.frob.com>
5874
c1487492
RM
5875 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
5876
5877 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
5878 in the third column, to generate for the shared library an IFUNC
5879 that uses _dl_vdso_vsym.
5880 * Makerules (COMPILE.c, compile-stdin.c): New variables.
5881 * Makeconfig (object-suffixes-noshared): New variable.
5882
5883 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
5884 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
5885 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
5886 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
5887
d6c33fda
RM
5888 [BZ #14132]
5889 * include/sys/time.h (__gettimeofday): Remove macro.
5890 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
5891 * time/gettimeofday.c (__gettimeofday): Remove #undef.
5892 Remove INTDEF.
5893 (__gettimeofday): Add libc_hidden_def.
5894 (gettimeofday): Add libc_hidden_weak.
5895 * sysdeps/mach/gettimeofday.c: Likewise.
5896 * sysdeps/posix/gettimeofday.c: Likewise.
5897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5898 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
5900 (__gettimeofday_internal): Remove strong_alias.
5901 (__gettimeofday): Add libc_hidden_def.
5902 (gettimeofday): Add libc_hidden_weak.
5903 * sysdeps/unix/syscalls.list (gettimeofday):
5904 Remove __gettimeofday_internal alias.
5905
b5a2bbe6
L
59062012-05-24 Daniel Jacobowitz <drow@false.org>
5907 H.J. Lu <hongjiu.lu@intel.com>
5908
5909 [BZ #12495]
5910 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
5911 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
5912 (largebin_index_32_big): New.
5913 (largebin_index): Use it for 16-byte alignment.
5914 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
5915 correction with front_misalign.
5916
cfba4fda
L
59172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
5918
7f907421
L
5919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
5920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5921 Likewise.
5922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
5923 Likewise.
5924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
5925 Likewise.
5926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
5927 Likewise.
5928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
5929 Likewise.
5930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
5931 Likewise.
5932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
5933 Likewise.
5934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5935 Likewise.
5936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
5937 Likewise.
5938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
5939 Likewise.
5940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5941 Likewise.
5942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
5943 Likewise.
5944
cfba4fda
L
5945 * scripts/data/c++-types-x32-linux-gnu.data: New file.
5946 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
5947
80bad0cc
JM
59482012-05-24 Joseph Myers <joseph@codesourcery.com>
5949
7a25eb06
JM
5950 [BZ #10846]
5951 [BZ #14036]
5952 * math/libm-test.inc (exp_test): Add test from bug 14036.
5953 (pow_test): Add test from bug 10846.
5954
795405f9
JM
5955 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
5956 and other flags.
5957 (special_function): Do not include flags in test name.
5958 (parse_args): Likewise.
5959 * sysdeps/i386/fpu/libm-test-ulps: Update.
5960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5961 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5962 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5964
80bad0cc
JM
5965 * math/gen-libm-test.pl (%beautify): Add entries for underflow
5966 exceptions.
5967 * math/libm-test.inc ("Philosophy"): Update comment about
5968 exception testing.
5969 (UNDERFLOW_EXCEPTION): New macro.
5970 (UNDERFLOW_EXCEPTION_OK): Likewise.
5971 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5972 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5973 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5974 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5975 (INVALID_EXCEPTION_OK): Update value.
5976 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5977 (OVERFLOW_EXCEPTION_OK): Likewise.
5978 (IGNORE_ZERO_INF_SIGN): Likewise.
5979 (test_exceptions): Handle underflow exceptions.
5980 (acos_test): Update for underflow exception expectations.
5981 (cexp_test): Likewise.
5982 (clog_test): Likewise.
5983 (clog10_test): Likewise.
5984 (csqrt_test): Likewise.
5985 (ctan_test): Likewise.
5986 (ctanh_test): Likewise.
5987 (exp_test): Likewise.
5988 (exp10_test): Likewise.
5989 (exp2_test): Likewise.
5990 (expm1_test): Likewise.
5991 (fma_test): Likewise.
5992 (j0_test): Likewise.
5993 (jn_test): Likewise.
5994 (nexttoward_test): Likewise.
5995 (pow_test): Likewise.
5996 (scalbn_test): Likewise.
5997 (scalbln_test): Likewise.
5998 (tan_test): Likewise.
5999 (y1_test): Likewise.
6000 * sysdeps/i386/fpu/libm-test-ulps: Update.
6001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6002
9e0e3d0b
DM
60032012-05-23 David S. Miller <davem@davemloft.net>
6004
6005 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6006 (__libc_sigaction): Remove unused local variables.
6007
ccd0a08f
L
60082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6009
6010 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
6011
62bdf9a6
PE
60122012-05-23 Paul Eggert <eggert@cs.ucla.edu>
6013
f8591f80
PE
6014 mktime: avoid signed integer overflow
6015 * time/mktime.c (__mktime_internal): Do not mishandle the case
6016 where diff == INT_MIN.
6017
94c7d826
PE
6018 mktime: simplify computation of average
6019 * time/mktime.c (ranged_convert): Use new time_t_avg function
6020 instead of rolling our own (probably-slower) code.
6021
ce73d683
PE
6022 mktime: do not assume signed right shift propagates sign bit
6023 * time/mktime.c (isdst_differ): New static function.
6024 (__mktime_internal): No need to normalize tm_isdst now.
6025 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
6026 tm_isdst values.
6027
72a22e59
PE
6028 mktime: merge another wrapv change from gnulib
6029 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
6030 from some compilers.
6031
68605433
PE
6032 mktime: remove incorrect attempt at unusual arithmetics
6033 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
6034 The code didn't really work on such machines anyway.
6035 (TYPE_MINIMUM): Assume two's complement.
6036 (twos_complement_arithmetic): Verify that long_int and time_t
6037 are two's complement (or unsigned, in the latter case).
6038
03cf7fe3
PE
6039 mktime: check signed shifts on long_int and time_t, too
6040 * time/mktime.c (SHR): Check that shifts work as desired
6041 on the types long_int and time_t too, as SHR is used on
6042 such types.
6043
f04dfbc2
PE
6044 mktime: do not assume 'long' is wide enough
6045 * time/mktime.c (verify): Move decl up.
6046 (long_int): New type.
6047 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
6048 to remove assumption in the code that 'long' is wide enough to
6049 store year values. This assumption is not true on x32 and on
6050 some non-glibc platforms.
6051
62bdf9a6
PE
6052 mktime: merge wrapv change from gnulib
6053 * time/mktime.c (WRAPV): New macro.
6054 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
6055 (guess_time_tm, __mktime_internal): Do not assume that signed
6056 integer overflow wraps around; modern compilers generate code
6057 where this assumption is no longer valid.
6058
5e292e4f
L
60592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6060
6061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6062 Replace "jmp L(pseudo_end)" with "ret".
6063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
6064 Likewise.
6065
8caf8c87
AJ
60662012-05-23 Andreas Jaeger <aj@suse.de>
6067
6068 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
6069 * sysdeps/unix/sysv/linux/poll.c: Remove file.
6070
1a09dc56
AJ
60712012-05-23 Andreas Jaeger <aj@suse.de>
6072 Maximilian Attems <max@stro.at>
6073
6074 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
6075 New macros.
6076
1c87aba0
L
60772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
6078
6079 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
6080 code so that pseudo_end is just ret and the stack pointer is
6081 correct also for static library in error case.
6082
40e45bd5
JM
60832012-05-23 Joseph Myers <joseph@codesourcery.com>
6084
c2670533
JM
6085 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
6086 move to syscalls.list.
6087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6091
40e45bd5
JM
6092 * manual/install.texi (Running make install): Do not mention Linux
6093 kernel version for which pt_chown is not needed.
6094 (Linux): Do not mention problems with nscd with 2.0 kernels.
6095 * INSTALL: Regenerated.
6096
be08eda5
AJ
60972012-05-23 Andreas Jaeger <aj@suse.de>
6098
6099 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
6100 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
6101 macro.
6102 * sysdeps/unix/sysv/linux/s390/bits/mman.h
6103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6104 * sysdeps/unix/sysv/linux/sh/bits/mman.h
6105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6106 * sysdeps/unix/sysv/linux/i386/bits/mman.h
6107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
6109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
6111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
6112 * sysdeps/unix/sysv/linux/bits/in.h
6113 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
6114
a6a056bb
RM
61152012-05-22 Roland McGrath <roland@hack.frob.com>
6116
6117 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
6118 (PREPARE_VERSION): Just use assert instead, it will be elided
6119 under [NDEBUG] anyway.
6120
c9009328
L
61212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6122
6123 * sysdeps/unix/sysv/linux/Makefile: Include
6124 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 6125 (sysdep_routines): Remove sysctl.
c9009328
L
6126 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
6127 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
6128 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
6129 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
6130 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
6131
73338355
AJ
61322012-05-22 Andreas Jaeger <aj@suse.de>
6133
6134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
6135 that pseudo_end is just ret and the stack pointer is correct also
6136 for static library in error case.
6137
d44638b0
PP
61382012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6139
6140 [BZ #14122]
6141 * nss/nsswitch.c (defconfig_entries): New variable.
6142 (__nss_database_lookup): Don't leak defconfig entries.
6143 (nss_parse_service_list): Don't leak on error paths.
6144 (free_database_entries): New function.
6145 (free_defconfig): New function.
6146 (free_mem): Move common code to free_database_entries.
6147
31a39bd8
L
61482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6149
da0331a8
L
6150 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
6151 Add arch_prctl.
6152 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
6153
31a39bd8
L
6154 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6155 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
6156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
6157 New macro.
6158 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
6159 (INTERNAL_SYSCALL_TYPES): Likewise.
6160 (LOAD_ARGS_TYPES_[1-6]): Likewise.
6161 (LOAD_REGS_TYPES_[1-6]): Likewise.
6162 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
6163 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
6164
45470df3
AZ
61652012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6166
6167 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
6168 copysignl for GLIBC_2_0.
6169 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
6170 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
6171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
6172 logbl for GLIBC_2_0.
6173 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6174 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6175
98a61bcb
L
61762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6177
a4f6e481
L
6178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
6179 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6180
f63d5db6
L
6181 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
6182 Use "neg %eax".
6183
98a61bcb
L
6184 * time/mktime.c: Update copyright years.
6185
95770f14
PE
61862012-05-22 Paul Eggert <eggert@cs.ucla.edu>
6187
6226efbd
PE
6188 mktime: merge comment-quoting-style change from gnulib
6189 * time/mktime.c: Quote 'like this' in comments.
6190 The GNU coding standards suggest that we no longer quote `like this',
6191 as "`" and "'" are typically rendered asymmetrically nowadays.
6192 The typical gnulib style is to quote 'like this' when quoting
6193 code, and "like this" when quoting English.
6194
b99e4f78
PE
6195 * time/mktime.c (compile-command): Add "-I.".
6196
643e01e6
PE
6197 mktime: merge mktime-internal.h change from gnulib
6198 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
6199
2554247d
PE
6200 mktime: merge time_r change from gnulib
6201 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
6202
826dd0ab
PE
6203 mktime: merge DEBUG change from gnulib
6204 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
6205 case system <time.h> has a #define.
6206
bd83aabe
PE
6207 mktime: merge <sys/types.h> change from gnulib
6208 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
6209 since <time.t> is now guaranteed to define time_t.
6210
95770f14
PE
6211 mktime: merge HAVE_CONFIG_H change from gnulib
6212 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
6213
5e1a27a9
L
62142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
6215
0e44a77e
L
6216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6217 Use "neg %eax".
6218
5e1a27a9
L
6219 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
6220 __rlim_t cast.
6221 (struct rusage): Use anonymous union to pad each field to
6222 __syscall_slong_t.
6223
46259bec
DM
62242012-05-21 David S. Miller <davem@davemloft.net>
6225
6226 * Makefules (o-iterator): Remove .s cases.
6227 (compile-command.s): Delete.
6228 (COMPILE.s): Delete.
6229 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
6230
59f0c22e
JM
62312012-05-21 Joseph Myers <joseph@codesourcery.com>
6232
6233 * configure.in (libc_cv_predef_stack_protector): Only consider
6234 "foobar" and "__stack_chk_fail" lines in libc_undefs.
6235 * configure: Regenerated.
6236
20c07380
L
62372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6238
bbb3154b
L
6239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
6240 New macro. Use R*LP on int and pointer.
6241 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
6242 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
6243 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
6244 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
6245
20c07380
L
6246 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
6247 [__WORDSIZE_TIME64_COMPAT32] instead of
6248 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
6249 (struct utmp): Likewise.
6250 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
6251 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
6252 Renamed to ...
6253 (__WORDSIZE_TIME64_COMPAT32): This.
6254 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
6255 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
6256 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
6257 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
6258 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
6259 (__WORDSIZE_TIME64_COMPAT32): New macro.
6260
d8d1017e
AJ
62612012-05-21 Andreas Jaeger <aj@suse.de>
6262
6263 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
6264 only if [SHARED]. Add prototype for __wcschr_ia32.
6265
6c7fb145
RM
62662012-05-21 Roland McGrath <roland@hack.frob.com>
6267
6268 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
6269 of %rbp unmolested in the jmp_buf while mangling the low bits.
6270 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
6271 unmolested high bits of %rbp while demangling the low bits.
6272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
6273
66274218
AJ
62742012-05-21 Andreas Jaeger <aj@suse.de>
6275
07c58f8f
AJ
6276 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
6277 * sunrpc/svc_simple.c: Use it for registerrpc.
6278 * sunrpc/xcrypt.c: Use it for passwd2des.
6279
66274218
AJ
6280 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
6281
61f65140
L
62822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6283
6284 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
6285 Don't define if [__SYSCALL_WORDSIZE != 32].
6286 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
6287 New macro.
6288
5fefb436
AJ
62892012-05-21 Bruno Haible <bruno@clisp.org>
6290 Andreas Jaeger <aj@suse.de>
6291
6292 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
6293 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
6294 inptr and inend for must_buffer_ch.
6295 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
6296 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
6297 * stdio-common/Makefile (tests): Remove bug15.
6298 (bug15-ENV): Remove macro.
6299 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
6300 anymore.
6301
d8e272ab
AJ
63022012-05-19 Andreas Jaeger <aj@suse.de>
6303 Roland McGrath <roland@hack.frob.com>
6304
6305 * manual/contrib.texi: Completely rewritten. It contains now an
6306 alphabetical list of contributors and their contributions.
6307
4a56a162
RH
63082012-05-21 Richard Henderson <rth@twiddle.net>
6309
6310 * misc/getauxval.c (__getauxval): Use unsigned long int.
6311 * misc/sys/auxv.h: Include <sys/cdefs.h>.
6312 (getauxval): Use unsigned long int.
6313
d024d23c
L
63142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
6315
6316 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
6317
cbc00a03
RM
63182012-05-21 Roland McGrath <roland@hack.frob.com>
6319
6320 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
6321 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
6322 __alignof__ (long double).
6323
478143fa
AZ
63242012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6325
6326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6327
c7683a6d
RH
63282012-05-20 Richard Henderson <rth@twiddle.net>
6329
6330 * misc/getauxval.c: New file.
6331 * misc/sys/auxv.h: New file.
6332 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
6333 (routines): Add getauxval.
6334 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
6335 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
6336 * elf/dl-sysdep.c (_dl_auxv): Remove.
6337 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
6338 * elf/dl-support.c (_dl_auxv): New variable.
6339 (_dl_aux_init): Initialize it.
6340 * manual/startup.texi (Auxiliary Vector): New node.
6341 * sysdeps/generic/bits/hwcap.h: New file.
6342 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
6343 * sysdeps/powerpc/sysdep.h: ... here. Include it.
6344 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
6345 * sysdeps/sparc/sysdep.h: ... here. Include it.
6346 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
6347 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
6348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6349 Update.
c7683a6d
RH
6350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
6351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
6352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
6353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
6354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
6356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
6357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
6358
a6f1845d
AZ
63592012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6360
6361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6362
cbcbe830
DM
63632012-05-19 David S. Miller <davem@davemloft.net>
6364
6365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6366
e0b16cc2
JM
63672012-05-19 Joseph Myers <joseph@codesourcery.com>
6368
6369 [BZ #14123]
6370 * math/s_ccosh.c: Include <float.h>
6371 (__ccosh): Avoid internal overflow calculating sinh and cosh
6372 values before multiplying by sin and cos values.
6373 * math/s_ccoshf.c: Likewise.
6374 * math/s_ccoshl.c: Likewise.
6375 * math/s_csin.c: Likewise.
6376 * math/s_csinf.c: Likewise.
6377 * math/s_csinl.c: Likewise.
6378 * math/s_csinh.c: Likewise.
6379 * math/s_csinhf.c: Likewise.
6380 * math/s_csinhl.c: Likewise.
6381 * math/libm-test.inc (ccos_test): Add more tests.
6382 (ccosh_test): Likewise.
6383 (csin_test): Likewise.
6384 (csinh_test): Likewise.
6385 * sysdeps/i386/fpu/libm-test-ulps: Update.
6386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6387
6ad13e08
L
63882012-05-19 H.J. Lu <hongjiu.lu@intel.com>
6389
f66f0ce8
L
6390 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
6391 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6392
6ad13e08
L
6393 * sysdeps/x86_64/x32/_itoa.h: Add comment.
6394
b1d072a7
JM
63952012-05-19 Joseph Myers <joseph@codesourcery.com>
6396
6397 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
6398 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
6399 * sysdeps/powerpc/soft-fp/Versions: Likewise.
6400 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
6401 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
6402 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
6403 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
6404 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
6405 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
6406 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
6407 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
6408 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
6409 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
6410 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
6411 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
6412 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
6413 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
6414 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
6415 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
6416 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
6417 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
6418 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
6419 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
6420 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
6421 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
6422 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
6423 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
6424 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
6425 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
6426 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
6427 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
6428
9eae47cb
AJ
64292012-05-18 Andreas Jaeger <aj@suse.de>
6430
6431 * csu/.gitignore: Delete.
6432
bb07f69f
L
64332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6434
6435 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
6436 (timex): Use __syscall_slong_t.
6437
e6bdb741
AJ
64382012-05-18 Andreas Jaeger <aj@suse.de>
6439 Carlos O'Donell <carlos_odonell@mentor.com>
6440
6441 * manual/install.texi (Configuring and compiling): Update
6442 description about files modified in the source directory.
d6c33fda 6443 * INSTALL: Regenerated.
e6bdb741 6444
1b74487e
L
64452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6446
6447 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
6448 value. Use "or" to set return value to -1.
6449 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
6450 negate return value.
6451
a88b64b9
TMQMF
64522012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6453
6454 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
6455 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
6456 failure if the compiler has Graphite support disabled.
6457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
6458 Likewise.
6459 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
6460 CFLAGS-memmove.c): Likewise.
6461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
6462 Likewise.
6463
3707636e
L
64642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
6465
610b8622
L
6466 * sysdeps/x86_64/x32/_itoa.h: New file.
6467
7cd195df
L
6468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
6469 getdents system call only if kernel and user dirents have the
6470 same d_ino and d_off.
6471
94b07d20
L
6472 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6473 LLONG_MAX != LONG_MAX.
6474 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6475 (_fitoa_word): Likewise.
6476
18298070
L
6477 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
6478 years.
6479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
6480 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
6481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
6482
553c7ea4
L
6483 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
6484 include <bits/wordsize.h>. Check __x86_64__ instead of
6485 __WORDSIZE.
6486 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
6487 if __x86_64__ is defined. Use anonymous union on fpstate.
6488
3707636e
L
6489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
6490 anonymous union.
6491
b53ef01a
AS
64922012-05-18 Andreas Schwab <schwab@linux-m68k.org>
6493
37fb1dc0
AS
6494 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6495 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
6496 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
6497 Refer to _rtld_local_ro instead of _rtld_global_ro.
6498 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
6499 Likewise.
6500 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
6501 Likewise.
6502 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
6503 Likewise.
6504 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
6505 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
6506 of _rtld_global, and rtld_progname instead of _dl_argv[0].
6507
b53ef01a
AS
6508 * sysdeps/powerpc/powerpc32/dl-machine.c
6509 (__elf_machine_runtime_setup) [PROF]: Don't reference
6510 _dl_prof_resolve.
6511
7a185db2
AJ
65122012-05-18 Andreas Jaeger <aj@suse.de>
6513
6514 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
6515 function only available for GCCs before 3.4 since GCC 3.4
6516 introduced a builtin.
6517 (lrint): Likewise.
6518 (llrintf): Likewise.
6519 (llrint): Likewise.
6520 (fmaxf): Likewise.
6521 (fmax): Likewise.
6522 (fminf): Likewise.
6523 (fmin): Likewise.
6524 (rint): Likewise.
6525 (rintf): Likewise.
6526 (nearbyint): Likewise.
6527 (nearbyintf): Likewise.
6528 (ceil): Likewise.
6529 (ceilf): Likewise.
6530 (floor): Likewise.
6531 (floorf): Likewise.
6532
3e5aef87
L
65332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6534
428bd707
L
6535 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
6536 on both fields and cast pointer to __syscall_ulong_t.
6537
3e5aef87
L
6538 * bits/types.h (__fsword_t): New type.
6539 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
6540 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
6541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6542 (__FSWORD_T_TYPE): Likewise.
6543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6544 (__FSWORD_T_TYPE): Likewise.
6545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6546 (__FSWORD_T_TYPE): Likewise.
6547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
6548 (__FSWORD_T_TYPE): Likewise.
6549 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
6550 __SWORD_TYPE with __fsword_t.
6551 (statfs64): Likewise.
6552
1ba7c3dc
DM
65532012-05-17 David S. Miller <davem@davemloft.net>
6554
6555 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
6556
59910343
AJ
65572012-05-17 Andreas Jaeger <aj@suse.de>
6558
6559 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
6560 warning.
6561
2e4c1e9e
L
65622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6563
6564 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
6565
de7f5ce7
AJ
65662012-05-17 Andreas Jaeger <aj@suse.de>
6567
6568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
6569 when it is used.
6570
286abc3d
CM
65712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6572
6573 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
6574
477cc68e
L
65752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
6576
6577 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
6578 * sysdeps/x86_64/tst-mallocalign1.c: New file.
6579
1a0994f5
CD
65802012-05-17 Andreas Jaeger <aj@suse.de>
6581 Carlos O'Donell <carlos_odonell@mentor.com>
6582
6583 [BZ #14059]
6584 * sysdeps/x86_64/multiarch/init-arch.h
6585 (bit_YMM_Usable): Rename to...
6586 (bit_AVX_Usable): ... this.
6587 (bit_FMA4_Usable): New macro.
6588 (bit_XMM_state): New macro.
6589 (bit_YMM_state): New macro.
6590 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
6591 [__ASSEMBLER__] (index_AVX_Usable): ... this.
6592 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
6593 (CPUID_OSXSAVE): New macro.
6594 (CPUID_AVX): New macro.
6595 (CPUID_FMA4): New macro.
6596 (index_YMM_Usable): Rename to...
6597 (index_AVX_Usable): ... this.
6598 (HAS_AVX): Use HAS_ARCH_FEATURE.
6599 (HAS_FMA4): Likewise.
6600 (HAS_YMM_USABLE): Remove.
6601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6602 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
6603 are present.
6604 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
6605 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
6606 * sysdeps/x86_64/multiarch/Makefile: Likewise.
6607 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
6608 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
6609
0af797de
CM
66102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
6611
6612 * math/libm-test.c: Support platforms without multiple rounding modes.
6613 * math/bug-nextafter.c: Support platforms without FP exceptions.
6614 * math/bug-nexttoward.c: Likewise.
6615 * math/test-fenv.c: Likewise.
6616 * math/test-misc.c: Likewise.
6617 * stdlib/bug-getcontext.c: Likewise.
6618
e39745ff
AJ
66192012-05-17 Andreas Jaeger <aj@suse.de>
6620
6621 * manual/examples/search.c (critter_cmp): Change signature to
6622 avoid warnings.
6623 * manual/string.texi (Collation Functions): Likewise.
6624
48970aba
L
66252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6626
6627 * bits/types.h: Fold copyright years.
6628 * bits/typesizes.h: Likewise.
6629 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
6630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
6632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
6633 * time/time.h: Likewise.
6634
bedee953
PP
66352012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6636
6637 [BZ #208]
6638 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
6639 in instead of returning them. Return void.
6640 (__libc_mallinfo): Accumulate over all arenas.
6641 (__malloc_stats): Adjust for change in int_mallinfo interface.
6642
61653dfb
RM
66432012-05-16 Roland McGrath <roland@hack.frob.com>
6644
30b99d79
RM
6645 [BZ #10375]
6646 * configure.in (NM): Add AC_CHECK_TOOL for it.
6647 (libc_extra_cflags): New substituted variable.
6648 Check for -fstack-protector being used implicitly.
6649 * configure: Regenerated.
6650 * config.make.in (config-extra-cflags): New variable,
6651 gets @libc_extra_cflags@.
6652 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
6653
61653dfb
RM
6654 [BZ #10375]
6655 * configure.in: Check for _FORTIFY_SOURCE being predefined.
6656 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
6657 * configure: Regenerated.
6658 * config.make.in (CPPUNDEFS): New substituted variable.
6659 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
6660 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
6661 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
6662
661768bb
L
66632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6664
6665 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
6666 (mq_attr): Use __syscall_slong_t.
6667
d4261567
L
66682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6669
6670 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
6671 Check __x86_64__ instead of __WORDSIZE.
6672 (_STAT_VER_LINUX): Likewise.
6673 (stat): Check __x86_64__ instead of __WORDSIZE. Use
6674 __syscall_ulong_t and __syscall_slong_t.
6675 (stat64): Likewise.
6676
cf3ff365
L
66772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6678
6679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
6680
76cf3e4d
L
66812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6682
6683 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
6684
a637753a
L
66852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6686
6687 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
6688 __syscall_ulong_t.
6689
d5e05119
L
6690 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
6691 include <bits/wordsize.h>. Check __x86_64__ instead of
6692 __WORDSIZE.
6693 (greg_t): Use "__extension__ long long int" if __x86_64__ is
6694 defined.
6695 (mcontext_t): Replace "unsigned long" with "unsigned long long".
6696
f62ee380
L
6697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
6698 include <bits/wordsize.h>. Check __x86_64__ instead of
6699 __WORDSIZE.
6700 (user_regs_struct): Use "__extension__ unsigned long long"
6701 instead of "unsigned long" if __x86_64__ is defined.
6702 (user): Likewise. Pad after pointer field if __ILP32__ is
6703 defined.
6704
4e124ced
JM
67052012-05-16 Joseph Myers <joseph@codesourcery.com>
6706
6a3951a0
JM
6707 * configure.in (makeinfo): Require version 4.5 or later. Allow
6708 versions 5 to 9.
6709 * configure: Regenerated.
6710 * manual/install.texi (texinfo): Increase version requirement to
6711 4.5 or later.
6712 * INSTALL: Regenerated.
6713
4e124ced
JM
6714 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
6715
953ca31a
L
67162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
6717
6718 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
6719
617aca05
L
6720 * sysdeps/x86_64/x32/ffs.c: New file.
6721
5762f7ae
L
6722 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
6723 __syscall_ulong_t.
6724 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
6725 defined. Use __syscall_ulong_t.
6726 (shminfo): Use __syscall_ulong_t.
6727 (shm_info): Likewise.
6728
a26b6856
L
6729 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
6730 __syscall_ulong_t.
6731
cb2b9ef7
L
6732 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
6733 <bits/wordsize.h>.
6734 (msgqnum_t): Use __syscall_ulong_t.
6735 (msglen_t): Likewise.
6736 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
6737 __syscall_ulong_t.
6738
34683bb0
L
6739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
6740 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6741
84a68786
L
6742 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
6743
48baa5f1
L
6744 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
6745 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
6746
180be88b
L
6747 * sysvipc/sys/msg.h (msgbuf): Replace long int with
6748 __syscall_slong_t.
6749
5e90c8ad
L
6750 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
6751 include <bits/wordsize.h>. Check __x86_64__ instead of
6752 __WORDSIZE.
6753
23dfb58b
L
6754 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
6755 "unsigned long long int" if __x86_64__ is defined.
6756 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
6757
ce5d54b0
L
6758 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
6759 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
6760 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
6761
13dc9eac
L
6762 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
6763 <stdint.h>.
6764 (GET_PC): Cast to uintptr_t first.
6765 (GET_FRAME): Likewise.
6766 (GET_STACK): Likewise.
6767
a7895d15
L
6768 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
6769 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
6770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
6771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
6772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
6773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
6774 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
6775 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
6776 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
6777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
6778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
6779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
6780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
6782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
6783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
6784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
6785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
6786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
6787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
6788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
6789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
6790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
6791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
6792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
6793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
6794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
6795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
6796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
6797
656416c9
AS
67982012-05-16 Andreas Schwab <schwab@linux-m68k.org>
6799
5bd66283
AS
6800 * Makerules (+depfiles): Also collect depfiles from .oS in
6801 $(extra-objs).
6802 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
6803 .oS, $(libnldbl-routines)).
6804
656416c9
AS
6805 * Makerules (native-compile-mkdep-flags): Define.
6806 * sunrpc/Makefile (extra-objs): Add $(addprefix
6807 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
6808 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
6809 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
6810 calling $(make-target-directory).
6811
a46f2169
L
68122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6813
6814 * bits/types.h (__snseconds_t): Removed.
6815 * time/time.h (struct timespec): Replace __snseconds_t with
6816 __syscall_slong_t.
6817 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
6818 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
6819 Likewise.
6820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6821 (__SNSECONDS_T_TYPE): Likewise.
6822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6823 (__SNSECONDS_T_TYPE): Likewise.
6824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6825 (__SNSECONDS_T_TYPE): Likewise.
6826
6af6528b
L
68272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6828
6829 * sysdeps/mach/hurd/bits/typesizes.h
6830 (__SYSCALL_SLONG_TYPE): New macro.
6831 (__SYSCALL_ULONG_TYPE): Likewise.
6832
de986b56
L
68332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6834
6835 * bits/types.h (__syscall_slong_t): New type.
6836 (__syscall_ulong_t): Likewise.
6837
6838 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
6839 (__SYSCALL_ULONG_TYPE): Likewise.
6840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6841 (__SYSCALL_SLONG_TYPE): Likewise.
6842 (__SYSCALL_ULONG_TYPE): Likewise.
6843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6844 (__SYSCALL_SLONG_TYPE): Likewise.
6845 (__SYSCALL_ULONG_TYPE): Likewise.
6846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6847 (__SYSCALL_SLONG_TYPE): Likewise.
6848 (__SYSCALL_ULONG_TYPE): Likewise.
6849
85736dc7
L
68502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6851
6852 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
6853 Add sigaltstack-offsets.sym.
6854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
6855 <sigaltstack-offsets.h>.
6856 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
6857 longjmp_msg pointer.
6858 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
6859 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
6860 signal stack.
6861 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
6862
cc03b296
JM
68632012-05-15 Joseph Myers <joseph@codesourcery.com>
6864
a9538892
JM
6865 * elf/stackguard-macros.h: Remove file.
6866 * sysdeps/generic/stackguard-macros.h: New file.
6867 * sysdeps/i386/stackguard-macros.h: Likewise.
6868 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6869 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6870 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6871 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6872 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6873 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6874 * sysdeps/x86_64/stackguard-macros.h: Likewise.
6875 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
6876 <elf/stackguard-macros.h>.
6877
cc03b296
JM
6878 [BZ #14109]
6879 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
6880 __aligned__ in attribute.
6881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
6882 (gregset_t): Likewise.
6883
93171016
L
68842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6885
6886 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
6887 * sysdeps/x86_64/64/Implies-after: Here. New file.
6888 * sysdeps/x86_64/x32/Implies-after: New file.
6889
d86813a0
L
68902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6891
6892 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
6893 and access return value for _dl_profile_fixup. Use R10_LP to
6894 load frame size.
6895
2953ec75
L
68962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6897
6898 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
6899
3b550e9e
L
69002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6901
6902 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
6903 * sysdeps/x86_64/x32/sysdep.h: New file.
6904
eda41706
L
69052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6906
6907 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
6908 * sysdeps/x86_64/setjmp.S: Likewise.
6909
9ea01d93
AZ
69102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6911
6912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
6913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
6914 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
6915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
6916 remove unused global constant.
6917
02a91938
CM
69182012-05-15 Chris Metcalf <cmetcalf@tilera.com>
6919
6920 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
6921 include of <not-cancel.h>.
6922
6540185f
RM
69232012-05-15 Roland McGrath <roland@hack.frob.com>
6924
6925 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
6926
509072a0
AJ
69272012-05-15 Jeff Law <law@redhat.com>
6928 Andreas Jaeger <aj@suse.de>
6929
6930 [BZ #13594]
6931 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
6932 out from...
6933 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
6934 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
6935 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
6936 code changing __hst_map_handle.map.
6937
ba75122d
RM
69382012-05-15 Roland McGrath <roland@hack.frob.com>
6939
6940 * configure.in (sysnames): Look for Implies-before and Implies-after
6941 files.
6942 * configure: Regenerated.
6943
890d8bd8
L
69442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6945
6946 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
6947 8-byte data alignment with LP_SIZE alignment.
6948
f6ee6623
L
69492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6950
6951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
6952 into R10_LP.
6953
ea2626f6
L
69542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6955
6956 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
6957
085f715e
L
69582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6959
6960 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
6961 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
6962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
6963 Likewise.
6964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6965
be8498fc
L
69662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6967
6968 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
6969 (stackinfo_sub_sp): Likewise.
6970
70bc83b9
L
69712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6972
6973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
6974 RAX_LP.
6975
9bc0b730
L
69762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6977
6978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
6979 into R*_LP.
6980
6d2850e7
L
69812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6982
6983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
6984 sizes into R*_LP.
6985
3cb84561
L
69862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6987
6988 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
6989
54e2ed81
L
69902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6991
6992 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
6993 into R11_LP and load __x86_64_shared_cache_size_half into
6994 R8_LP.
6995
8a17f349
L
69962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6997
6998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
6999 R8_LP.
7000
777b1eea
AZ
70012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7002
7003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
7004 logb for POWER7.
7005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
7006 logbf for POWER7.
7007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
7008 logbl for POWER7.
7009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
7010 powerpc32/power7/fpu/s_logb.c via #include.
7011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
7012 powerpc32/power7/fpu/s_logbf.c via #include.
7013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
7014 powerpc32/power7/fpu/s_logbl.c via #include.
7015
d20d4ac2
JM
70162012-05-15 Joseph Myers <joseph@codesourcery.com>
7017
7018 * README.libm: Remove file.
7019
6cdef1ab
L
70202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7021
7022 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
7023 count for x32. Use R*_LP and omit operand-size suffix.
7024
0b254d8f
L
70252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7026
7027 * shlib-versions: Move x86_64-.*-linux.* entries to ...
7028 * sysdeps/x86_64/64/shlib-versions: Here. New file.
7029 * sysdeps/x86_64/x32/shlib-versions: New file.
7030
ceb809dc
RM
70312012-05-14 Roland McGrath <roland@hack.frob.com>
7032
7033 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
7034 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
7035 Use _dl_fatal_printf instead.
7036
37f1abd4
JM
70372012-05-14 Joseph Myers <joseph@codesourcery.com>
7038
7039 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
7040 set if not set by the user. Do not allow for being unset.
7041 * sysdeps/unix/sysv/linux/configure: Regenerated.
7042
11de3a33
L
70432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7044
7045 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
7046 the `q' suffix from lea and replace .quad with ASM_ADDR.
7047
e02f153a
L
70482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7049
7050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
7051 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
7052 instead of $17.
7053 (PTR_DEMANGLE): Likewise.
7054
520ae0fd
L
70552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7056
7057 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
7058 (LP_OP): Likewise.
7059 (ASM_ADDR): Likewise.
7060 (RAX_LP): Likewise.
7061 (RBP_LP): Likewise.
7062 (RBX_LP): Likewise.
7063 (RCX_LP): Likewise.
7064 (RDI_LP): Likewise.
7065 (RSI_LP): Likewise.
7066 (RSP_LP): Likewise.
7067 (R8_LP): Likewise.
7068 (R9_LP): Likewise.
7069 (R10_LP): Likewise.
7070 (R10_LP): Likewise.
7071 (R11_LP): Likewise.
7072 (R12_LP): Likewise.
7073 (R13_LP): Likewise.
7074 (R14_LP): Likewise.
7075 (R15_LP): Likewise.
7076
b985be81
L
70772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7078
7079 * sysdeps/x86_64/x32/dl-machine.h: New file.
7080
6a4888ff
AJ
70812012-05-14 Andreas Jaeger <aj@suse.de>
7082
7083 * manual/Makefile (subdir): Remove export of subdir.
7084 (all): Remove target.
7085 (.PHONY): Remove all from list.
7086 (mkinstalldirs): Remove.
7087 (.PHONY): Remove installdirs from list.
7088 ($(inst_infodir)/libc.info): Use make-target-directory.
7089 (installdirs): Remove.
7090 (subdir_%): Remove.
7091 (glibc-targets): Remove.
7092 (lib): Remove.
7093 (stubs): Remove.
7094 ($(objpfx)stubs ../po/manual.pot): Remove.
7095 ($(objpfx)stamp%): Remove.
7096 (make-target-directory): Remove.
7097 (subdir_install): Remove.
7098 (routines): Remove.
7099 (aux): Remove.
7100 (sources): Remove.
7101 (objects): Remove.
7102 (headers): Remove.
7103
7104 [BZ #13750]
7105 * manual/.gitignore: Remove, it's not needed anymore.
7106 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7107 all files in it.
7108 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
7109 directory.
7110 (texis): Renamed to $(objpfx)texis.
7111 (texis-path): New, contains path to generated files.
7112 (chapters.%): Use texis-path for complete path, add extra argument
7113 libc-texinfo.sh.
7114 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
7115 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
7116 (summary,texi, stamp-summary): Use complete path of
7117 files. Generate files in build dir.
7118 (dir-add.texi): Build in build dir.
7119 (libm-err.texi,stamp-libm-err): Likewise.
7120 (version.texi, stamp-version): Likewise.
7121 (.%c.texi): Likewise.
7122 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
7123 (mostlyclean): Remove target.
7124 (realclean): Remove target.
7125 (generated): Add new variable with contents from mostlyclean and
7126 realclean, remove entries duplicated in common-mostlyclean, add
7127 stamp-libm-err and stamp-version.
7128 (generated-dirs): Add libc directory.
7129 ($(inst_infodir)/libc.info): Install files from build dir.
7130
7131 * manual/install.texi (Configuring and compiling): Adjust since
7132 the info files are not part of the tar ball anymore.
7133
7ac77294
AJ
71342012-05-14 Andreas Jaeger <aj@suse.de>
7135
7136 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
7137 variable.
7138
ffb7875d
JM
71392012-05-14 Joseph Myers <joseph@codesourcery.com>
7140
7141 [BZ #13717]
7142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
7143 to 2.2.0 where earlier.
7144 * sysdeps/unix/sysv/linux/configure: Regenerated.
7145 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
7146 Remove conditional code.
7147 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
7148 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
7149 Remove conditional code.
7150 [!__NR_lchown]: Likewise.
7151 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7152 [__NR_lchown]: Likewise.
7153 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
7154 comment referencing __ASSUME_LCHOWN_SYSCALL.
7155 * sysdeps/unix/sysv/linux/i386/sigaction.c
7156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
7159 Remove conditional code.
7160 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
7161 (__protocol_available): Remove #if 0 code.
7162 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
7163 conditional code.
7164 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
7165 * sysdeps/unix/sysv/linux/kernel-features.h
7166 (__ASSUME_GETCWD_SYSCALL): Don't define.
7167 (__ASSUME_REALTIME_SIGNALS): Likewise.
7168 (__ASSUME_PREAD_SYSCALL): Likewise.
7169 (__ASSUME_PWRITE_SYSCALL): Likewise.
7170 (__ASSUME_POLL_SYSCALL): Likewise.
7171 (__ASSUME_LCHOWN_SYSCALL): Likewise.
7172 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
7173 non-SPARC.
7174 (__ASSUME_SIOCGIFNAME): Don't define.
7175 (__ASSUME_MSG_NOSIGNAL): Likewise.
7176 (__ASSUME_SENDFILE): Define unconditionally.
7177 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
7178 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
7179 conditional code.
7180 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
7181 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
7182 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7183 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7184 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
7185 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
7186 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
7188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
7194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
7200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
7204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
7206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7211 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
7212 Remove conditional code.
7213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7214 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7215 Remove conditional code.
7216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7217 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
7218 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
7219 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7220 Remove conditional code.
7221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7222 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
7223 Remove conditional code.
7224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7225 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
7226 Remove conditional code.
7227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7228 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
7229 Remove conditional code.
7230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
7231 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
7232 Remove conditional code.
7233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7234 * sysdeps/unix/sysv/linux/sh/pwrite64.c
7235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
7236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
7237 * sysdeps/unix/sysv/linux/sigaction.c
7238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7240 * sysdeps/unix/sysv/linux/sigpending.c
7241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7243 * sysdeps/unix/sysv/linux/sigprocmask.c
7244 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7245 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7246 * sysdeps/unix/sysv/linux/sigsuspend.c
7247 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
7248 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
7249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
7250 (__libc_missing_rt_sigs): Remove.
7251 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
7252 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
7253 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
7254 Remove conditional code.
7255 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
7256 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
7257 return 1.
7258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
7259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
7260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
7261 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
7262
1bfb7291
AJ
72632012-05-14 Andreas Jaeger <aj@suse.de>
7264
caae5a81
AJ
7265 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
7266 it's not used in glibc.
7267 (__coshm1): Likewise.
7268 (__acosh1p): Likewise.
7269 (__sgn): Likewise.
7270
1bfb7291
AJ
7271 * manual/string.texi (Copying and Concatenation): Add missing
7272 variable in concat example.
7273 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7274
c044d724
L
72752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7276
144c5467 7277 [BZ #14103]
c044d724
L
7278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
7279 __builtin_clzl with __builtin_clzll.
7280
2523c62b
L
72812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7282
7283 [BZ #14104]
7284 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
7285 libc_freeres_ptr.
7286
d7bb4c42
LD
72872012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7288
7289 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
7290 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
7291 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
7292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
7293
9dc4e1fb
MF
72942012-05-14 Mike Frysinger <vapier@gentoo.org>
7295
7296 * NEWS: Update ia64 info.
7297
c7df0112
AS
72982012-05-12 Andreas Schwab <schwab@linux-m68k.org>
7299
7300 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
7301 used as bcopy.
7302
dc70356c
TS
73032012-05-12 Thomas Schwinge <thomas@codesourcery.com>
7304
7305 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
7306 * sysdeps/unix/syscalls.list (dup3): Likewise.
7307 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
7308 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
7309
9fb1a21f
L
73102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7311
7312 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
7313 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
7314
4822a2a5
L
73152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
7316
7317 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
7318 thread pointer.
7319 (TLS_IE): Use mov/add instead of movq/addq to load thread
7320 pointer.
7321 (TLS_GD_PREFIX): New.
7322 (TLS_GD): Use it.
7323
842b81d6
DM
73242012-05-11 David S. Miller <davem@davemloft.net>
7325
7326 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
7327 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
7328 (_FPU_SETCW): Likewise.
7329
1cf463cd
L
73302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7331
7332 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
7333 is 32-byte aligned.
7334
60cc4a18
AS
73352012-05-11 Andreas Schwab <schwab@linux-m68k.org>
7336
7337 [BZ #11837]
7338 * iconvdata/gb18030.c: Update tables.
7339 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
7340 characters specially.
7341 (BODY for TO_LOOP): Add encoding of missing ranges.
7342
febb44a4
TS
73432012-05-11 Thomas Schwinge <thomas@codesourcery.com>
7344
7345 [BZ #13673]
7346 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
7347 * sysdeps/mach/hurd/dup3.c: Likewise.
7348 * sysdeps/mach/hurd/readlinkat.c: Likewise.
7349 * sysdeps/powerpc/memmove.c:: Likewise.
7350
0a10fb9e
L
73512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7352
7353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
7354 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
7355
df8a552f
L
73562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7357
7358 * elf/elf.h (R_X86_64_RELATIVE64): New.
7359 (R_X86_64_NUM): Updated.
7360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7361 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
7362 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
7363 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
7364 tst-quad1pie tst-quad2pie
7365 (modules-names): Add tst-quadmod1 tst-quadmod2.
7366 ($(objpfx)tst-quad1): New dependency.
7367 ($(objpfx)tst-quad2): Likewise.
7368 ($(objpfx)tst-quad1pie): Likewise.
7369 ($(objpfx)tst-quad2pie): Likewise.
7370 * sysdeps/x86_64/tst-quad1.c: New file.
7371 * sysdeps/x86_64/tst-quad1pie.c: New file.
7372 * sysdeps/x86_64/tst-quad2.c: Likewise.
7373 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
7374 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
7375 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
7376 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
7377 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
7378
f34d6f84
ST
73792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7380
f42d41d1
ST
7381 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
7382 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
7383 * streams/stropts.h (t_scalar_t): Define type.
7384
3c3571fc
ST
7385 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
7386 (_PATH_PRESERVE): Set to "/var/lib".
7387 (_PATH_RWHODIR): Set to "/var/spool/rwho".
7388
61f06bd3
ST
7389 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
7390 instead of int.
7391
918d4d71
ST
7392 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
7393 if __dir_mkfile succeeded.
7394
f34d6f84
ST
7395 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
7396 checking for _hurd_dtablesize. Unlock it right after having
7397 finished _hurd_dtable allocation.
7398
10589b4a
TS
73992012-05-10 Thomas Schwinge <thomas@schwinge.name>
7400
674cdbc7
TS
7401 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
7402 * sysdeps/mach/hurd/configure: Regenerated.
7403 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
7404 special-casing to...
7405 * sysdeps/gnu/configure.in: ... this new file.
7406 * sysdeps/unix/sysv/linux/configure: Regenerated.
7407 * sysdeps/gnu/configure: New generated file.
7408
8e41b99f
TS
7409 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
7410 for Linux: use nsec instead of usec, as well as:
7411 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
7412 members of type struct timespec.
7413 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
7414 New macros.
7415 (struct stat64): Likewise.
7416 (_STATBUF_ST_NSEC): New macro.
7417 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
7418
10589b4a
TS
7419 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
7420 __strtoul_internal rather than strtoul.
7421
63643c85
PT
74222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7423
7424 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
7425 and reject them.
7426
3faebe6a
ST
74272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7428
7429 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
7430 which preserves existing values.
7431 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
7432
c6474b07
PT
74332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7434
7435 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
7436 TIMEOUT values. Return EINVAL for NFDS values either negative or
7437 greater than FD_SETSIZE.
7438
1043890b
ST
74392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7440
7441 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
7442 allocated, call __vm_protect to finish enabling the existing space, and
7443 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
7444 allocate the remainder.
7445
37ed8b9b
PT
74462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7447
7448 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
7449 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
7450
db653660
ST
74512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7452
37ed8b9b
PT
7453 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
7454 sysdeps/mach/hurd/readlink.c.
b29d4053 7455
db653660
ST
7456 * posix/tst-sysconf.c (posix_options): Only use
7457 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
7458 _POSIX_SYNCHRONIZED_IO when they are defined
7459 * sysdeps/mach/hurd/bits/posix_opt.h:
7460 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
7461 (_XOPEN_REALTIME): Undefine macro.
7462 (_XOPEN_REALTIME_THREADS): Undefine macro.
7463 (_XOPEN_SHM): Undefine macro.
7464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
7465 macro to -1.
7466 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
7467 macro to -1.
7468 (_POSIX_ASYNC_IO): Undefine macro.
7469 (_POSIX_PRIORITIZED_IO): Undefine macro.
7470 (_POSIX_SPIN_LOCKS): Define macro to -1.
7471
ee16e894
ST
7472 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
7473 SA_NODEFER, SA_RESETHAND.
7474 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
7475 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
7476 F_DUPFD_CLOEXEC.
7477
6103ae3b
TS
74782012-05-10 Thomas Schwinge <thomas@schwinge.name>
7479
7480 * elf/Makefile (pldd-modules): Define unconditionally.
7481
80b4e5f3
TS
74822012-05-10 Thomas Schwinge <thomas@schwinge.name>
7483
7484 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
7485
edadcbd6
ST
74862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7487
7488 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
7489 Return ENOENT when name is empty.
7490 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
7491
80694780
TS
74922012-05-10 Thomas Schwinge <thomas@schwinge.name>
7493
1792c087
TS
7494 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
7495
80694780
TS
7496 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
7497
6b645f0d
ST
74982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7499
80694780
TS
7500 Fix mlock in all cases except non-readable pages.
7501 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
7502 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 7503
6b645f0d
ST
7504 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
7505 (__mkdir): When path is `/', just fail with EEXIST.
7506 * sysdeps/mach/hurd/mkdirat.c: Likewise.
7507
e468f8a3
TS
75082012-05-10 Thomas Schwinge <thomas@schwinge.name>
7509
7510 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
7511 <sys/uio.h> (for writev).
7512 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
7513 and <sys/param.h> (for MIN).
7514
a4186cff
PT
75152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
7516
7517 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
7518 REQUESTED_TIME. Properly set the remaining time and return EINTR
7519 if interrupted.
7520
510bbf14
TS
75212012-05-10 Thomas Schwinge <thomas@schwinge.name>
7522
7523 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
7524 Depend on against $(link-rpcuserlibs).
7525
5d5722e8
ST
75262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7527
a4186cff
PT
7528 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
7529 (__libc_stack_end): Do not use attribute_relro.
7530 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
7531 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 7532 to libthread-provided value.
a4186cff
PT
7533 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
7534 attribute_relro.
5d5722e8 7535
37233df9
TS
75362012-05-10 Thomas Schwinge <thomas@schwinge.name>
7537
be971a2b
TS
7538 [BZ #3748]
7539 * bits/libc-lock.h (__libc_once_get): New macro.
7540 * sysdeps/mach/bits/libc-lock.h: Likewise.
7541 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
7542 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
7543 instead of using implementation details.
7544
37233df9
TS
7545 * libio/fileops.c: Unconditionally include <kernel-features.h>.
7546 * libio/freopen.c: Likewise.
7547 * libio/freopen64.c: Likewise.
7548 * misc/syslog.c: Likewise.
7549 * nscd/connections.c: Likewise.
7550 * nscd/netgroupcache.c: Likewise.
7551 * sysdeps/posix/getcwd.c: Likewise.
7552
38de94a5
RM
75532012-05-10 Roland McGrath <roland@hack.frob.com>
7554
7555 * math/w_ilogbf.c: Add #include <limits.h>.
7556
67530489
ST
75572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7558
a4186cff 7559 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
7560 path instead of returning without unlocking.
7561
67530489
ST
7562 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
7563 immediate-write ioctls.
7564 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
7565
5aa3a74a
TS
75662012-05-10 Thomas Schwinge <thomas@schwinge.name>
7567
18bad2ae
TS
7568 * sysdeps/mach/hurd/i386/init-first.c (init): Use
7569 __builtin_frame_address instead of making assumptions about the
7570 location of the return address relative to DATA. Force early load of
7571 the return address.
7572 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
7573 __builtin_frame_address.
7574
5aa3a74a
TS
7575 dup3 for GNU Hurd.
7576 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
7577 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
7578 implement dup3 and do some further code clean-ups.
7579 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
7580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
7581
ecd0de9a
ST
75822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7583
cd9fa985
ST
7584 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
7585
a4186cff
PT
7586 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
7587 HURD_CRITICAL_END around holding _hurd_dtable_lock.
7588 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
7589 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
7590 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
7591 d->port.lock.
802ca5a5 7592
a4186cff
PT
7593 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
7594 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
7595 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 7596
bcf55240
TS
75972012-05-10 Thomas Schwinge <thomas@schwinge.name>
7598
6960eb42
TS
7599 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
7600 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
7601 definitions.
7602
eb43375f
TS
7603 accept4 for GNU Hurd.
7604 * include/sys/socket.h (__libc_accept4): New prototype.
7605 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
7606 to implement __libc_accept4.
7607 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
7608 __libc_accept4.
7609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
7610
bcf55240
TS
7611 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
7612 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
7613 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
7614 signal-defines.sym.
7615
6178c55b
ST
76162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7617
a4186cff 7618 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 7619
6f080c2f
TS
76202012-05-10 Thomas Schwinge <thomas@schwinge.name>
7621
7622 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
7623 assertion on O_CLOEXEC flag.
7624 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
7625 * hurd/intern-fd.c: Likewise.
7626 * hurd/port2fd.c: Likewise.
7627
bcfe3a54
ST
76282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7629
7630 [BZ #3906]
7631 * bits/in.h (IPV6_PKTINFO): Define new macro.
7632 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
7633
89c9aa49
AZ
76342012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7635
7636 [BZ #13954]
7637 [BZ #13955]
7638 [BZ #13956]
7639 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
7640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7641 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
7642 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7644 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7645 * math/libm-test.inc (logb_test) : Additional logb tests.
7646
021db4be
AJ
76472012-05-09 Andreas Schwab <schwab@linux-m68k.org>
7648 Andreas Jaeger <aj@suse.de>
7649
7650 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
7651 * configure: Regenerated.
7652 * config.h.in (LINK_OBSOLETE_RPC): New macro.
7653 * config.make.in (link-obsolete-rpc): New substituted variable.
7654 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
7655 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
7656 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7657 (shared-only-routines): Don't set it under [link-obsolete-rpc],
7658 so that libc.a contains the symbols.
7659 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
7660 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
7661 * sunrpc/auth_none.c: Likewise.
7662 * sunrpc/auth_unix.c: Likewise.
7663 * sunrpc/authdes_prot.c: Likewise.
7664 * sunrpc/authuxprot.c: Likewise.
7665 * sunrpc/clnt_gen.c: Likewise.
7666 * sunrpc/clnt_perr.c: Likewise.
7667 * sunrpc/clnt_raw.c: Likewise.
7668 * sunrpc/clnt_simp.c: Likewise.
7669 * sunrpc/clnt_tcp.c: Likewise.
7670 * sunrpc/clnt_udp.c: Likewise.
7671 * sunrpc/clnt_unix.c: Likewise.
7672 * sunrpc/des_crypt.c: Likewise.
7673 * sunrpc/des_soft.c: Likewise.
7674 * sunrpc/get_myaddr.c: Likewise.
7675 * sunrpc/key_call.c: Likewise.
7676 * sunrpc/key_prot.c: Likewise.
7677 * sunrpc/netname.c: Likewise.
7678 * sunrpc/pm_getmaps.c: Likewise.
7679 * sunrpc/pm_getport.c: Likewise.
7680 * sunrpc/pmap_clnt.c: Likewise.
7681 * sunrpc/pmap_prot.c: Likewise.
7682 * sunrpc/pmap_prot2.c: Likewise.
7683 * sunrpc/pmap_rmt.c: Likewise.
7684 * sunrpc/publickey.c: Likewise.
7685 * sunrpc/rpc_cmsg.c: Likewise.
7686 * sunrpc/rpc_common.c: Likewise.
7687 * sunrpc/rpc_dtable.c: Likewise.
7688 * sunrpc/rpc_prot.c: Likewise.
7689 * sunrpc/rpc_thread.c: Likewise.
7690 * sunrpc/rtime.c: Likewise.
7691 * sunrpc/svc.c: Likewise.
7692 * sunrpc/svc_auth.c: Likewise.
7693 * sunrpc/svc_raw.c: Likewise.
7694 * sunrpc/svc_run.c: Likewise.
7695 * sunrpc/svc_tcp.c: Likewise.
7696 * sunrpc/svc_udp.c: Likewise.
7697 * sunrpc/svc_unix.c: Likewise.
7698 * sunrpc/svcauth_des.c: Likewise.
7699 * sunrpc/xcrypt.c: Likewise.
7700 * sunrpc/xdr.c: Likewise.
7701 * sunrpc/xdr_array.c: Likewise.
7702 * sunrpc/xdr_float.c: Likewise.
7703 * sunrpc/xdr_intXX_t.c: Likewise.
7704 * sunrpc/xdr_mem.c: Likewise.
7705 * sunrpc/xdr_rec.c: Likewise.
7706 * sunrpc/xdr_ref.c: Likewise.
7707 * sunrpc/xdr_sizeof.c: Likewise.
7708 * sunrpc/xdr_stdio.c: Likewise.
7709
b5c086a2
RM
77102012-05-10 Roland McGrath <roland@hack.frob.com>
7711
7712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
7713 change. Update copyright years.
7714
6d74dd09
JM
77152012-05-10 Joseph Myers <joseph@codesourcery.com>
7716
7717 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
7718
28e72501
MK
77192012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
7720 Joseph Myers <joseph@codesourcery.com>
7721 Paul Pluzhnikov <ppluzhnikov@google.com>
7722
7723 [BZ #14012]
7724 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
7725 requiring rpcgen.
7726 [cross-compiling] (extra-libs): Likewise.
7727 [cross-compiling] (extra-libs-others): Likewise.
7728 [cross-compiling] (librpcsvc-routines): Likewise.
7729 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
7730 [cross-compiling] (omit-deps): Likewise.
7731 (sunrpc-CPPFLAGS): New variable.
7732 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
7733 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
7734 (cross-rpcgen-objs): New variable.
7735 (extra-objs): Append $(cross-rpcgen-objs).
7736 ($(cross-rpcgen-objs)): New rule.
7737 ($(objpfx)cross-rpcgen): Likewise.
7738 (rpcgen-cmd): Define to use $(built-program-file). Expand
7739 comment.
7740 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
7741 ($(objpfx)x%.stmp): Likewise.
7742 * sunrpc/proto.h [IS_IN_build] (_): Define.
7743 [IS_IN_build] (_libc_intl_domainname): Likewise.
7744
c8c59454
L
77452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
7746
7747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
7748 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
7749 and R_X86_64_TPOFF64.
7750
6f27cd16
JM
77512012-05-10 Joseph Myers <joseph@codesourcery.com>
7752
7753 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
7754 sysdeps/unix/sysv/syscalls.list.
7755 (stime): Likewise.
7756 (utime): Likewise.
7757 * sysdeps/unix/sysv/syscalls.list: Remove file.
7758
02467e1c
PE
77592012-05-10 Paul Eggert <eggert@cs.ucla.edu>
7760
7761 [BZ #3440]
7762 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
7763 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
7764 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
7765 (__LC_IDENTIFICATION): Make these macros useful in #if
7766 expressions, as required by C99.
7767
da392631
AS
77682012-05-10 Andreas Schwab <schwab@linux-m68k.org>
7769
7770 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
7771 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
7772 after this.
7773
8115f29b
L
77742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
7775
7776 * stdlib/longlong.h: Updated from GCC.
7777
bdd74070
AJ
77782012-05-09 Andreas Jaeger <aj@suse.de>
7779
edfe0dbe
AJ
7780 * nscd/nscd.c (run_modes): Make named enum, reorder so that
7781 default is first entry.
7782 (run_mode): Set type.
7783 (main): Remove informal message about syslog.
7784 (options): Fix typo.
7785
bcfe3a54
ST
7786 [BZ #14053]
7787 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 7788 to asm.
bcfe3a54
ST
7789 (lrint): Likewise.
7790 (llrintf): Likewise.
7791 (llrint): Likewise.
7792 (rint): Likewise.
7793 (rintf): Likewise.
7794 (nearbyint): Likewise.
7795 (nearbyintf): Likewise.
bdd74070 7796
91d8d69e
AJ
77972012-05-09 Andreas Jaeger <aj@suse.de>
7798 Pedro Alves <palves@redhat.com>
7799
7800 * nscd/nscd.c (run_mode): Use enum.
7801 (main): Cleanup coding style issue.
7802
bb90b80b
AJ
78032012-05-09 Alexandre Oliva <aoliva@redhat.com>
7804 Andreas Jaeger <aj@suse.de>
7805
bcfe3a54
ST
7806 * nscd/nscd.c (go_background): Replaced with...
7807 (run_mode): ... this.
bb90b80b 7808 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
7809 (options): Add -F --foreground.
7810 (main): Implement it.
7811 (parse_opt): Parse it.
bb90b80b 7812
1a4b75a1
AJ
78132012-05-09 Andreas Jaeger <aj@suse.de>
7814
7815 [BZ #14083]
7816 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
7817 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
7818 -Wconversion warning.
7819 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
7820 Likewise.
7821
b1cc2472
JM
78222012-05-09 Joseph Myers <joseph@codesourcery.com>
7823
7824 * conform/data/locale.h-data (NULL): Use macro-constant. Require
7825 == 0.
7826 (LC_ALL): Use macro-int-constant.
7827 (LC_COLLATE): Likewise.
7828 (LC_CTYPE): Likewise.
7829 (LC_MESSAGES): Likewise.
7830 (LC_MONETARY): Likewise.
7831 (LC_NUMERIC): Likewise.
7832 (LC_TIME): Likewise.
7833 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
7834 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7836 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
7837 Specify type.
7838 [C99-based standards] (float_t): Expect type.
7839 [C99-based standards] (double_t): Expect type.
7840 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
7841 type.
7842 [C99-based standards] (HUGE_VALL): Likewise.
7843 [C99-based standards] (INFINITY): Likewise.
7844 [C99-based standards] (NAN): Likewise.
7845 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
7846 [C99-based standards] (FP_NAN): Likewise.
7847 [C99-based standards] (FP_NORMAL): Likewise.
7848 [C99-based standards] (FP_SUBNORMAL): Likewise.
7849 [C99-based standards] (FP_ZERO): Likewise.
7850 [C99-based standards] (FP_FAST_FMA): Use
7851 optional-macro-int-constant. Specify type. Require == 1.
7852 [C99-based standards] (FP_FAST_FMAF): Likewise.
7853 [C99-based standards] (FP_FAST_FMAL): Likewise.
7854 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
7855 [C99-based standards] (FP_ILOGBNAN): Likewise.
7856 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
7857 Specify type.
7858 [C99-based standards] (MATH_ERREXCEPT): Likewise.
7859 [C99-based standards] (math_errhandling): Specify type.
7860 [ISO99 || ISO11] (signgam): Do not allow.
7861 [non-C99-based standards] (copysignf): Do not allow.
7862 [non-C99-based standards] (exp2f): Likewise.
7863 [non-C99-based standards] (log2f): Likewise.
7864 [non-C99-based standards] (modff): Allow.
7865 [non-C99-based standards] (erff): Do not allow.
7866 [non-C99-based standards] (erfcf): Likewise.
7867 [non-C99-based standards] (gammaf): Likewise.
7868 [non-C99-based standards] (hypotf): Likewise.
7869 [non-C99-based standards] (j0f): Likewise.
7870 [non-C99-based standards] (j1f): Likewise.
7871 [non-C99-based standards] (jnf): Likewise.
7872 [non-C99-based standards] (lgammaf): Likewise.
7873 [non-C99-based standards] (tgammaf): Likewise.
7874 [non-C99-based standards] (y0f): Likewise.
7875 [non-C99-based standards] (y1f): Likewise.
7876 [non-C99-based standards] (ynf): Likewise.
7877 [non-C99-based standards] (isnanf): Likewise.
7878 [non-C99-based standards] (acoshf): Likewise.
7879 [non-C99-based standards] (asinhf): Likewise.
7880 [non-C99-based standards] (atanhf): Likewise.
7881 [non-C99-based standards] (cbrtf): Likewise.
7882 [non-C99-based standards] (expm1f): Likewise.
7883 [non-C99-based standards] (ilogbf): Likewise.
7884 [non-C99-based standards] (log1pf): Likewise.
7885 [non-C99-based standards] (logbf): Likewise.
7886 [non-C99-based standards] (nextafterf): Likewise.
7887 [non-C99-based standards] (remainderf): Likewise.
7888 [non-C99-based standards] (rintf): Likewise.
7889 [non-C99-based standards] (scalbf): Likewise.
7890 [non-C99-based standards] (copysignl): Likewise.
7891 [non-C99-based standards] (exp2l): Likewise.
7892 [non-C99-based standards] (log2l): Likewise.
7893 [non-C99-based standards] (modfl): Allow.
7894 [non-C99-based standards] (erfl): Do not allow.
7895 [non-C99-based standards] (erfcl): Likewise.
7896 [non-C99-based standards] (gammal): Likewise.
7897 [non-C99-based standards] (hypotl): Likewise.
7898 [non-C99-based standards] (j0l): Likewise.
7899 [non-C99-based standards] (j1l): Likewise.
7900 [non-C99-based standards] (jnl): Likewise.
7901 [non-C99-based standards] (lgammal): Likewise.
7902 [non-C99-based standards] (tgammal): Likewise.
7903 [non-C99-based standards] (y0l): Likewise.
7904 [non-C99-based standards] (y1l): Likewise.
7905 [non-C99-based standards] (ynl): Likewise.
7906 [non-C99-based standards] (isnanl): Likewise.
7907 [non-C99-based standards] (acoshl): Likewise.
7908 [non-C99-based standards] (asinhl): Likewise.
7909 [non-C99-based standards] (atanhl): Likewise.
7910 [non-C99-based standards] (cbrtl): Likewise.
7911 [non-C99-based standards] (expm1l): Likewise.
7912 [non-C99-based standards] (ilogbl): Likewise.
7913 [non-C99-based standards] (log1pl): Likewise.
7914 [non-C99-based standards] (logbl): Likewise.
7915 [non-C99-based standards] (nextafterl): Likewise.
7916 [non-C99-based standards] (remainderl): Likewise.
7917 [non-C99-based standards] (rintl): Likewise.
7918 [non-C99-based standards] (scalbl): Likewise.
7919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7920 [non-C99-based standards] (FP_*): Do not allow.
7921 [C99-based standards] (FP_*): Change to
7922 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
7923 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7924 allow.
7925 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
7926 (SIG_ERR): Likewise.
7927 [X/Open-based standards] (SIG_HOLD): Likewise.
7928 (SIG_IGN): Likewise.
7929 (SIGABRT): Use macro-int-constant. Specify type. Require
7930 positive value.
7931 (SIGFPE): Likewise.
7932 (SIGILL): Likewise.
7933 (SIGINT): Likewise.
7934 (SIGSEGV): Likewise.
7935 (SIGTER): Likewise.
7936 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
7937 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
7938 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
7939 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
7940 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
7941 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
7942 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
7943 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
7944 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
7945 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
7946 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
7947 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
7948 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
7949 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
7950 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
7951 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
7952 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
7953 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
7954 [X/Open-based standards] (SIGTRAP): Likewise.
7955 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
7956 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
7957 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
7958 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
7959 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
7960 allow.
7961
b9f1922d
IW
79622012-05-08 Ian Wienand <ianw@vmware.com>
7963
7964 [BZ #14080]
7965 * time/tzset.c (__tzset_parse_tz): Update default rules for
7966 daylight time changes in the Energy Policy Act of 2005.
7967
1db86e88
AJ
79682012-05-09 Andreas Jaeger <aj@suse.de>
7969
7970 [BZ #13983]
7971 * elf/ldconfig.c (parse_conf): Change string to make clear that
7972 ldconfig only issued a warning if ld.so.conf does not exist.
7973
dee4a4e3
DM
79742012-05-08 David S. Miller <davem@davemloft.net>
7975
ee0db190
DM
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
7977 movxtod instead of popping the value on the stack.
7978
dee4a4e3
DM
7979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7980
6a43ec98
CD
79812012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
7982
7983 * config.h.in: Add HAVE_ARM_PCS_VFP.
7984
05c2c961
RMG
79852012-05-08 Roland Mc Grath <roland@hack.frob.com>
7986
bcfe3a54
ST
7987 [BZ #13979]
7988 * include/features.h: Warn if user requests __FORTIFY_SOURCE
7989 checking but the checks are disabled for any reason.
05c2c961 7990
4b30f61a
L
79912012-05-08 H.J. Lu <hongjiu.lu@intel.com>
7992
7993 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
7994 and ELF64_R_TYPE with ELFW(R_TYPE).
7995
eee2bc67
JM
79962012-05-08 Joseph Myers <joseph@codesourcery.com>
7997
7ea5391a
JM
7998 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
7999 (ulimit): Likewise.
8000
eee2bc67
JM
8001 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
8002 (settimeofday): Likewise.
8003
abb66a67
MF
80042012-05-08 Mike Frysinger <vapier@gentoo.org>
8005
8006 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
8007 a struct th_u2 inside the union, and move tu_block/tu_code into
8008 a new th_u3 union of tu_block/tu_code inside of that. Move
8009 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
8010 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
8011 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
8012 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
8013 (th_stuff): Change to th_u1.tu_stuff.
8014 (th_data): Define.
8015 (th_msg): Change to th_u1.th_u2.tu_data.
8016
7f18b530
DM
80172012-05-07 David S. Miller <davem@davemloft.net>
8018
05760585
DM
8019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8020
7f18b530
DM
8021 [BZ #14074]
8022 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
8023 (SETUP_PIC_REG): Use it.
8024 (SETUP_PIC_REG_LEAF): Use it.
8025
495fd99f
JM
80262012-05-07 Joseph Myers <joseph@codesourcery.com>
8027
8028 [BZ #13885]
8029 [BZ #13923]
8030 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8031 USE_AS_EXPM1L.
8032 (EXPL_FINITE): Likewise.
8033 (FLDLOG): Likewise.
8034 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8035 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8036 e_expl.S.
8037 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8038 USE_AS_EXPM1L.
8039 (EXPL_FINITE): Likewise.
8040 (FLDLOG): Likewise.
8041 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
8042 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
8043 e_expl.S.
8044 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
8045 test of -max_value argument for long double.
8046 * sysdeps/i386/fpu/libm-test-ulps: Update.
8047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8048
6693d694
DM
80492012-05-06 David S. Miller <davem@davemloft.net>
8050
8051 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
8052 quad soft-float symbols whose references which are compiler
8053 generated.
8054 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8055
6c23e11c
JM
80562012-05-06 Joseph Myers <joseph@codesourcery.com>
8057
d8b82cad
JM
8058 [BZ #13884]
8059 [BZ #13914]
8060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8061 USE_AS_EXP10L.
8062 (EXPL_FINITE): Likewise.
8063 (FLDLOG): Likewise.
8064 (c0): Likewise.
8065 (c1): Likewise.
8066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8067 Adjust comments for base varying.
8068 (__expl_finite): Change alias to EXPL_FINITE.
8069 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
8070 e_expl.S.
8071 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
8072 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
8073 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8074 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
8075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
8076 USE_AS_EXP10L.
8077 (EXPL_FINITE): Likewise.
8078 (FLDLOG): Likewise.
8079 (c0): Likewise.
8080 (c1): Likewise.
8081 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
8082 Adjust comments for base varying.
8083 (__expl_finite): Change alias to EXPL_FINITE.
8084 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
8085 tests for bugs.
8086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8087
6c23e11c
JM
8088 [BZ #14064]
8089 * math/libm-test.inc (check_float_internal): Correct ulp
8090 calculation for subnormal expected results.
8091
29ba805c
AJ
80922012-05-06 Andreas Jaeger <aj@suse.de>
8093
8094 * Makeconfig (+math-flags): New, set to -frounding-math.
8095 (+cflags): Add +math-flags so that all of glibc gets compiled with
8096 it.
8097
8098 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
8099
7b17aeda
JM
81002012-05-05 Joseph Myers <joseph@codesourcery.com>
8101
5779f134
JM
8102 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
8103 Disable one test.
8104
41498f4d
JM
8105 [BZ #13787]
8106 [BZ #13922]
8107 [BZ #14036]
8108 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
8109 (__ieee754_expl): Allow for and saturate large arguments.
8110 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
8111 (u_threshold): Likewise.
8112 (__exp): Call __ieee754_exp before checking for overflow and
8113 underflow.
8114 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
8115 (u_threshold): Likewise.
8116 (__expf): Call __ieee754_expf before checking for overflow and
8117 underflow.
8118 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
8119 (u_threshold): Likewise.
8120 (__expl): Call __ieee754_expl before checking for overflow and
8121 underflow.
8122 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
8123 (__ieee754_expl): Allow for and saturate large arguments.
8124 * math/libm-test.inc (exp_test): Add another test. Do not allow
8125 missing overflow exception on overflow.
8126 (expm1_test): Do not allow missing overflow exception on overflow.
8127
6698b8bf
JM
8128 * sysdeps/i386/fpu/e_expl.c: Move to ...
8129 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
8130 rather than using inline asm.
8131 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
8132 * sysdeps/x86_64/fpu/e_expl.S: Copy from
8133 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
8134
7b17aeda
JM
8135 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
8136 (nice): Likewise.
8137 (poll): Likewise.
8138 (signal): Likewise.
8139 (time): Likewise.
8140 (times): Likewise.
8141
f7c85819
JM
81422012-05-04 Joseph Myers <joseph@codesourcery.com>
8143
8144 * sysdeps/unix/syscalls.list (adjtime): Add entry from
8145 sysdeps/unix/common/syscalls.list.
8146 (fchmod): Likewise.
8147 (fchown): Likewise.
8148 (ftruncate): Likewise.
8149 (getrusage): Likewise.
8150 (gettimeofday): Likewise.
8151 (setpgid): Likewise.
8152 (setregid): Likewise.
8153 (setreuid): Likewise.
8154 (sigaction): Likewise.
8155 (truncate): Likewise.
8156 (vhangup): Likewise.
8157 * sysdeps/unix/common/syscalls.list: Remove file.
8158 * sysdeps/unix/bsd/Implies: Don't include unix/common.
8159 * sysdeps/unix/sysv/linux/Implies: Likewise.
8160
336270d0
L
81612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
8162
8163 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
8164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
8165 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
8166 Moved to ...
8167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8168 Here.
8169 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
8170 to ...
8171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
8172 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
8173 to ...
8174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
8175 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
8176 to ...
8177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
8178 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
8179 to ...
8180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
8181 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
8182 to ...
8183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
8184 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
8185 to ...
8186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
8187 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
8188 to ...
8189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8190 Here.
8191 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
8192 to ...
8193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
8194 Here.
8195 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
8196 to ...
8197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
8198 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
8199 Moved to ...
8200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
8201 Here.
8202 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
8203 to ...
8204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
8205
d128e450
JM
82062012-05-04 Joseph Myers <joseph@codesourcery.com>
8207
fa8ee516
JM
8208 * sysdeps/unix/common/bits/dirent.h: Remove file.
8209 * sysdeps/unix/common/bits/fcntl.h: Likewise.
8210
d128e450
JM
8211 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
8212 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
8213 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
8214 * sysdeps/unix/bsd/isatty.c: Likewise.
8215 * sysdeps/unix/bsd/tcdrain.c: Likewise.
8216 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
8217 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
8218
ff8faaf0 82192012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 8220
62881be4 8221 [BZ #13563]
31dc8730
AZ
8222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
8223 long double comparison inaccuracies.
8224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8226
6fef930c
AS
82272012-05-04 Andreas Schwab <schwab@linux-m68k.org>
8228
8229 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
8230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
8231
8f203e6c
JM
82322012-05-04 Joseph Myers <joseph@codesourcery.com>
8233
8234 [BZ #14049]
8235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
8236 nonzero digits before rounding a hex value.
8237 * stdlib/tst-strtod.c (tests): Add another test.
8238
5197d9c2
AK
82392012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8240
8241 * sysdeps/s390/fpu/libm-test-ulps: Update.
8242
f0c1dedf
AJ
82432012-05-03 Andreas Jaeger <aj@suse.de>
8244
8245 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
8246 does not get optimized out.
8247 (malloc_opt_barrier): New.
8248
a65ef2ae 82492012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 8250 Roland McGrath <roland@hack.frob.com>
a65ef2ae 8251
2b942cb7 8252 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 8253 intermediate file deletion.
2b942cb7 8254 (generated): Add .symlist files.
a65ef2ae 8255
54b71e02
JM
82562012-05-03 Joseph Myers <joseph@codesourcery.com>
8257
8258 [BZ #13775]
8259 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
8260 Redirect under this condition.
8261 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8262 [__USE_GNU] (__dprintf_chk): Not under this condition.
8263 [__USE_GNU] (__vdprintf_chk): Likewise.
8264 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
8265 under this condition.
8266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
8267 [__USE_XOPEN2K8] (dprintf): Define under this condition.
8268 [__USE_XOPEN2K8] (vdprintf): Likewise.
8269 [__USE_GNU] (__dprintf_chk): Not under this condition.
8270 [__USE_GNU] (__vdprintf_chk): Likewise.
8271 [__USE_GNU] (dprintf): Likewise.
8272 [__USE_GNU] (vdprintf): Likewise.
8273
d3dfcc41
RM
82742012-05-03 Roland McGrath <roland@hack.frob.com>
8275
8276 * elf/Makefile (common-generated): Set this instead of generated for
8277 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
8278 $(all-built-dso)-derived lists.
8279
7ac30cc5
AJ
82802012-05-03 Andreas Jaeger <aj@suse.de>
8281
0c51e550
AJ
8282 * sysdeps/i386/fpu/libm-test-ulps: Update.
8283
7ac30cc5
AJ
8284 * FAQ: Removed.
8285 * FAQ.in: Likewise.
8286 * scripts/gen-FAQ.pl: Likewise.
8287 * manual/install.texi (Installation): Point to online location of
8288 FAQ.
8289 * Makefile (files-for-dist): Remove FAQ.
8290 (FAQ): Remove.
8291
d4c2917f
AM
82922012-05-02 Allan McRae <allan@archlinux.org>
8293
8294 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
8295 (LDFLAGS-reldepmod5.so): Likewise.
8296 (LDFLAGS-reldep6mod1.so): Likewise.
8297 (LDFLAGS-reldep6mod4.so): Likewise.
8298 (LDFLAGS-reldep8mod3.so): Likewise.
8299 (LDFLAGS-unload4mod1.so): Likewise.
8300 (LDFLAGS-unload4mod2.so): Likewise.
8301 (LDFLAGS-tst-initorder): Likewise.
8302 (LDFLAGS-tst-initordera2.so): Likewise.
8303 (LDFLAGS-tst-initordera3.so): Likewise.
8304 (LDFLAGS-tst-initordera4.so): Likewise.
8305 (LDFLAGS-tst-initorderb2.so): Likewise.
8306 (LDFLAGS-noload): Likewise.
8307 (LDFLAGS-next): Likewise.
8308 (LDFLAGS-order2mod1.so): Likewise.
8309 (LDFLAGS-order2mod2.so): Likewise.
8310 (LDFLAGS-tst-initorder2): Likewise.
8311 (LDFLAGS-tst-initorder2a.so): Likewise.
8312 (LDFLAGS-tst-initorder2b.so): Likewise.
8313 (LDFLAGS-tst-initorder2c.so): Likewise.
8314 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
8315
d77f993f
DM
83162012-05-02 David S. Miller <davem@davemloft.net>
8317
8318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8319
171a70b4
PP
83202012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8321
8322 [BZ #14055]
8323 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
8324
0be196ad
AJ
83252012-05-02 Andreas Jaeger <aj@suse.de>
8326
8327 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
8328 since we manipulate rounding mode.
8329 (CPPFLAGS-test-idouble.c): Likewise.
8330 (CPPFLAGS-test-ifloat.c): Likewise.
8331 (CFLAGS-test-ldouble.c): Likewise.
8332 (CFLAGS-test-double.c): Likewise.
8333 (CFLAGS-test-float.c): Likewise.
8334 (CFLAGS-test-misc.c): Likewise.
8335 (CFLAGS-test-test-fenv.c): Likewise.
8336
4f9d04aa
AZ
83372012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8338
2b942cb7
RM
8339 [BZ #2550]
8340 [BZ #2570]
8341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
8342 comparisons to determine direction to adjust input.
4f9d04aa 8343
82a79e7d
RM
83442012-05-01 Roland McGrath <roland@hack.frob.com>
8345
f5a01ca9
RM
8346 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
8347 output to the target.
8348
90fe4186
RM
8349 * scripts/localplt.awk: New file.
8350 * elf/Makefile ($(objpfx)check-localplt): Target removed.
8351 (check-localplt-CFLAGS): Variable removed.
8352 ($(all-built-dso:=.jmprel)): New static pattern rule.
8353 (generated): Add those targets.
8354 (localplt-built-dso): New variable.
8355 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
8356
8357 * elf/check-localplt.c: File removed.
8358
82397ed6
RM
8359 * scripts/check-execstack.awk: New file.
8360 * elf/Makefile ($(objpfx)check-execstack): Target removed.
8361 (check-execstack-CFLAGS): Variable removed.
8362 ($(objpfx)check-execstack.h): Target removed.
8363 ($(objpfx)execstack-default): New target.
8364 (generated): Add that instead of check-execstack.h.
8365 ($(all-built-dso:=.phdr)): New static pattern rule.
8366 (generated): Add those targets.
8367 * elf/check-execstack.c: File removed.
8368
82a79e7d
RM
8369 * scripts/check-textrel.awk: New file.
8370 * elf/Makefile ($(objpfx)check-textrel): Target removed.
8371 (check-textrel-CFLAGS): Variable removed.
8372 (all-built-dso): Use := to define.o
8373 ($(all-built-dso:=.dyn)): New static pattern rule.
8374 (generated): Add those targets.
8375 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
8376 * config.make.in (READELF): New substituted variable.
8377 * elf/check-textrel.c: File removed.
8378
62fde54f 83792012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 8380
615605c9
JM
8381 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
8382 allow.
8383 * conform/data/ctype.h-data [C99-based standards] (isblank):
8384 Expect function.
8385 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
8386 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
8387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8388 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
8389 Specify type. Require positive value.
8390 (EILSEQ): Likewise.
8391 (ERANGE): Likewise.
8392 [ISO || POSIX] (EILSEQ): Do not expect.
8393 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
8394 Specify type. Require positive value.
8395 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
8396 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
8397 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
8398 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
8399 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
8400 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
8401 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
8402 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
8403 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
8404 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
8405 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
8406 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
8407 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
8408 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
8409 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
8410 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
8411 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
8412 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
8413 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
8414 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
8415 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
8416 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
8417 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
8418 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
8419 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
8420 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
8421 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
8422 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
8423 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
8424 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
8425 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
8426 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
8427 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
8428 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
8429 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
8430 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
8431 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
8432 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
8433 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
8434 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
8435 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
8436 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
8437 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
8438 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
8439 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
8440 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
8441 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
8442 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
8443 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
8444 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
8445 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
8446 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
8447 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
8448 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
8449 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
8450 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
8451 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
8452 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
8453 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
8454 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
8455 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
8456 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
8457 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
8458 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
8459 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
8460 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
8461 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
8462 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
8463 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
8464 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
8465 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
8466 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
8467 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
8468 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
8469 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
8470 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
8471 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
8472 Require >= 2.
8473 (FLT_ROUNDS): Expect as macro, not constant.
8474 (FLT_MANT_DIG): Use macro-int-constant.
8475 (DBL_MANT_DIG): Likewise.
8476 (LDBL_MANT_DIG): Likewise.
8477 (FLT_DIG): Likewise.
8478 (DBL_DIG): Likewise.
8479 (LDBL_DIG): Likewise.
8480 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
8481 (DBL_MIN_EXP): Likewise.
8482 (LDBL_MIN_EXP): Likewise.
8483 (FLT_MAX_EXP): Use macro-int-constant.
8484 (DBL_MAX_EXP): Likewise.
8485 (LDBL_MAX_EXP): Likewise.
8486 (FLT_MAX_10_EXP): Likewise.
8487 (DBL_MAX_10_EXP): Likewise.
8488 (LDBL_MAX_10_EXP): Likewise.
8489 (FLT_MAX): Use macro-constant.
8490 (DBL_MAX): Likewise.
8491 (LDBL_MAX): Likewise.
8492 (FLT_EPSILON): Use macro-constant. Give upper bound.
8493 (DBL_EPSILON): Likewise.
8494 (LDBL_EPSILON): Likewise.
8495 (FLT_MIN): Likewise.
8496 (DBL_MIN): Likewise.
8497 (LDBL_MIN): Likewise.
8498 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
8499 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
8500 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
8501 [ISO11] (FLT_HAS_SUBNORM): Likewise.
8502 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
8503 [ISO11] (DBL_DECIMAL_DIG): Likewise.
8504 [ISO11] (FLT_DECIMAL_DIG): Likewise.
8505 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
8506 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
8507 [ISO11] (FLT_TRUE_MIN): Likewise.
8508 [ISO11] (LDBL_TRUE_MIN): Likewise.
8509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8510 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
8511 (SCHAR_MIN): Use macro-int-constant. Specify type.
8512 (SCHAR_MAX): Likewise.
8513 (UCHAR_MAX): Likewise.
8514 (CHAR_MIN): Likewise.
8515 (CHAR_MAX): Likewise.
8516 (MB_LEN_MAX): Use macro-int-constant.
8517 (SHRT_MIN): Use macro-int-constant. Specify type.
8518 (SHRT_MAX): Likewise.
8519 (USHRT_MAX): Likewise.
8520 (INT_MAX): Likewise.
8521 (INT_MIN): Use macro-int-constant. Specify type. Make upper
8522 bound negative.
8523 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
8524 bound with "U".
8525 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8526 bound with "L".
8527 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
8528 bound negative. Suffix upper bound with "L".
8529 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
8530 bound with "UL".
8531 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
8532 Specify type.
8533 [C99-based standards] (LLONG_MAX): Likewise.
8534 [C99-based standards] (ULLONG_MAX): Likewise.
8535 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
8536 == 0.
8537 [ISO11] (max_align_t): Require type.
8538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8539
c9140a62
JM
8540 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
8541 from $CFLAGS, without defining away __attribute__ calls.
8542 (checknamespace): Use $CFLAGS_namespace.
8543
9af0bf29
JM
8544 * conform/conformtest.pl (@keywords): Only include C99 keywords
8545 for standards based on C99 or C11.
8546
343222a2
JM
8547 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
8548 Disable tests.
8549 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
8550 UNIX98]: Likewise.
8551
661f8cf0
JM
8552 * conform/conformtest.pl: Handle "macro-int-constant" and test for
8553 usability of symbols in #if.
8554
ee74b9cb
JM
8555 * conform/conformtest.pl: If macro or constant types start
8556 "promoted:", expect the symbol to be of the following type
8557 promoted by the integer promotions.
62fde54f 8558
aafc49b3
JM
8559 * conform/conformtest.pl: Parse all "constant" and "macro" lines
8560 in one place. Also handle "macro-constant".
8561
fefdf574
JM
8562 * conform/conformtest.pl: Only accept expected macro values with
8563 "==". Parse all "macro" lines in one place.
8564 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
8565
f2d922fe
JM
8566 * conform/conformtest.pl: Handle braced types on "constant" lines
8567 instead of handling "typed-constant".
8568 * conform/data/signal.h-data: Use "constant" instead of
8569 "typed-constant".
8570
d22956c9
JM
8571 * conform/conformtest.pl: Handle "optional-" at start of lines in
8572 one place rather than duplicating several cases. Handle each
8573 format of "macro" line with initial "optional-".
8574
028e2e38
JM
8575 * conform/conformtest.pl: Only accept expected constant or
8576 optional-constant values with "==". Parse all "constant" lines in
8577 one place. Parse all "optional-constant" lines in one place.
8578 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
8579 * conform/data/fmtmsg.h-data: Likewise.
8580 * conform/data/netinet/in.h-data: Likewise.
8581 * conform/data/tar.h-data: Likewise.
8582 * conform/data/limits.h-data: Use "==" form on "constant" and
8583 "optional-constant" lines.
8584
1b8f2850
JM
8585 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
8586 Use -std=c99 for XOPEN2K.
8587 (@knownproblems): Remove.
8588 (newtoken): Don't check %isknown.
8589
a05a144b
JM
8590 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
8591 Do not expect macro.
8592 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
8593 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
8594 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
8595 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
8596 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
8597 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
8598 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
8599 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
8600 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
8601 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
8602 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
8603 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
8604 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
8605 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
8606 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
8607 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
8608 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
8609 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
8610 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
8611 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
8612 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
8613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
8614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
8615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
8616 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
8617 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
8618 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
8619 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
8620 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
8621 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
8622 [XPG3] (acosh): Likewise.
8623 [XPG3] (asinh): Likewise.
8624 [XPG3] (atanh): Likewise.
8625 [XPG3] (cbrt): Likewise.
8626 [XPG3] (expm1): Likewise.
8627 [XPG3] (ilogb): Likewise.
8628 [XPG3] (log1p): Likewise.
8629 [XPG3] (logb): Likewise.
8630 [XPG3] (nextafter): Likewise.
8631 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
8632 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
8633 [XPG3] (remainder): Likewise.
8634 [XPG3] (rint): Likewise.
8635 [XPG3 || XPG4 || UNIX98] (round): Likewise.
8636 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
8637 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
8638 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
8639 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
8640 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
8641 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
8642 [UNIX98 || XOPEN2K] (scalb): Expect.
8643 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
8644 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
8645 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
8646 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
8647 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
8648 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
8649 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
8650 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
8651 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
8652 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
8653 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
8654 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
8655 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
8656 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
8657 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
8658 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
8659 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
8660 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
8661 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
8662 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
8663 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
8664 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
8665 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
8666 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
8667 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
8668 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
8669 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
8670 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
8671 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
8672 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
8673 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
8674 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
8675 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
8676 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
8677 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
8678 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
8679 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
8680 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
8681 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
8682 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
8683 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
8684 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
8685 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
8686 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
8687 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
8688 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
8689 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
8690 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
8691 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
8692 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
8693 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
8694 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
8695 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
8696 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
8697 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
8698 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
8699 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
8700 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
8701 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
8702 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
8703 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
8704 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
8705 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
8706 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
8707 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
8708 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
8709 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
8710 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
8711 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
8712 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
8713 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
8714 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
8715 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
8716 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
8717 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
8718 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
8719 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
8720 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
8721 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
8722 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
8723 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
8724 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
8725 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
8726 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
8727 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
8728 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
8729 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
8730 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
8731 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
8732 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
8733 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
8734 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
8735 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
8736 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
8737 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
8738 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
8739 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
8740 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
8741 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
8742 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
8743 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
8744 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
8745 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
8746 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
8747 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
8748 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
8749 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
8750 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
8751 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
8752 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
8753 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
8754 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
8755 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
8756 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
8757 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
8758 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
8759 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
8760 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
8761 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
8762 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
8763 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
8764 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
8765 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
8766 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
8767 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
8768 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
8769 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
8770 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
8771 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
8772 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
8773 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
8774 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
8775 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
8776 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
8777 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
8778 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
8779 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
8780
73c5ebe3
JM
8781 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
8782 _XOPEN_SOURCE_EXTENDED for XPG4.
8783
39c33b6c
JM
8784 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8785
62fde54f
JM
8786 * Makeconfig (localtime): Remove variable.
8787 (inst_localtime-file): Likewise.
8788
0741d64c
AS
87892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8790
8791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8792 Update.
8793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8794 Update.
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8796 Update.
8797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8798 Update.
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8800 Update.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
8802 Update.
8803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8804 Update.
8805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
8806 Update.
8807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8808 Update.
8809
7cb029ee
JM
88102012-05-01 Joseph Myers <joseph@codesourcery.com>
8811
8812 [BZ #2550]
8813 [BZ #2570]
8814 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
8815 comparisons to determine direction to adjust input.
8816 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8817 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
8818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8819 Likewise.
8820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8821 Likewise.
8822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8823 Likewise.
8824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8826 Likewise.
8827 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8828 Likewise.
8829 * math/libm-test.inc (nexttoward_test): Add more tests.
8830
412bd966
AS
88312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8832
8833 [BZ #14040]
8834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
8835 in version GLIBC_2.1, not GLIBC_2.0.
8836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
8837 Likewise.
8838
9568c0c2
JM
88392012-04-30 Joseph Myers <joseph@codesourcery.com>
8840
adfbc8ac
JM
8841 [BZ #13942]
8842 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
8843 (1 - x) * (1 + x).
8844 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8845 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
8846 * math/libm-test.inc (acos_test): Add more tests.
8847 (asin_test): Likewise.
8848 * sysdeps/i386/fpu/libm-test-ulps: Update.
8849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8850
5ba3cc69
JM
8851 [BZ #14034]
8852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
8853 of square root.
8854 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
8855 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
8856 * math/libm-test.inc (acos_test_tonearest): New function.
8857 (acos_test_towardzero): Likewise.
8858 (acos_test_downward): Likewise.
8859 (acos_test_upward): Likewise.
8860 (asin_test_tonearest): Likewise.
8861 (asin_test_towardzero): Likewise.
8862 (asin_test_downward): Likewise.
8863 (asin_test_upward): Likewise.
8864 (main): Call the new functions.
8865 * sysdeps/i386/fpu/libm-test-ulps: Update.
8866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8867
9568c0c2
JM
8868 [BZ #13884]
8869 [BZ #13924]
8870 * math/e_exp10.c: Include <float.h>.
8871 (__ieee754_exp10): Handle underflow here rather than multiplying
8872 large negative argument by M_LN10.
8873 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
8874 of __ieee754_expf.
8875 * math/e_exp10l.c: Include <float.h>.
8876 (__ieee754_exp10l): Handle underflow here rather than multiplying
8877 large negative argument by M_LN10l.
8878 * math/libm-test.inc (exp10_test): Add another test. Do not allow
8879 spurious overflow exception on underflow.
8880
5ac3ea17
MP
88812012-04-29 Marek Polacek <polacek@redhat.com>
8882
8883 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
8884 (__fortify_function): New macro.
8885 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
8886 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
8887 __extern_always_inline.
8888 * libio/bits/stdio2.h: Likewise.
8889 * libio/bits/stdio.h: Likewise.
8890 * string/string.h: Likewise.
8891 * string/bits/string3.h: Likewise.
8892 * include/stdio.h: Likewise.
8893 * stdlib/bits/stdlib.h: Likewise.
8894 * stdlib/stdlib.h: Likewise.
8895 * rt/bits/mqueue2.h: Likewise.
8896 * rt/mqueue.h: Likewise.
8897 * posix/bits/unistd.h: Likewise.
8898 * posix/unistd.h: Likewise.
8899 * io/bits/poll2.h: Likewise.
8900 * io/bits/fcntl2.h: Likewise.
8901 * io/fcntl.h: Likewise.
8902 * io/sys/poll.h: Likewise.
8903 * misc/bits/syslog.h: Likewise.
8904 * misc/bits/syslog-ldbl.h: Likewise.
8905 * misc/sys/syslog.h: Likewise.
8906 * socket/bits/socket2.h: Likewise.
8907 * socket/sys/socket.h: Likewise.
8908 * debug/tst-chk1.c: Likewise.
8909 * wcsmbs/bits/wchar2.h: Likewise.
8910 * wcsmbs/bits/wchar-ldbl.h: Likewise.
8911 * wcsmbs/wchar.h: Likewise.
8912
ecf0ebfb
AJ
89132012-04-29 Andreas Jaeger <aj@suse.de>
8914
8915 * Makerules (tests): Remove enable-check-abi protection.
8916 (check-abi-warn): Remove.
8917 (check-abi-%): Remove check-abi-warn usage.
8918
8919 * configure.in: Remove check-abi configure option.
8920 * configure: Regenerated.
8921 * config.make.in (enable-check-abi): Remove.
8922
6d5c57fa
AS
89232012-04-28 Andreas Schwab <schwab@linux-m68k.org>
8924
24c5d07e 8925 [BZ #14033]
ded5180a
AS
8926 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
8927 double functions to double *_finite functions.
8928
7e0d315d
AS
8929 [BZ #13941]
8930 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
8931 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
8932 LDBL_MIN_EXP.
8933 * stdio-common/Makefile (tests): Add tst-sprintf3.
8934 * stdio-common/tst-sprintf3.c: New file.
8935
6d5c57fa
AS
8936 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
8937 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
8938
0749ff8b
JM
89392012-04-28 Joseph Myers <joseph@codesourcery.com>
8940
8941 * conform/conformtest.pl: Remove duplicate typed-constant
8942 handling.
8943
8dbd5d7b
DM
89442012-04-28 David S. Miller <davem@davemloft.net>
8945
8946 * Makerules (%.abilist): Add vpath on sysdep_dirs.
8947 (check-abi-%): Remove AWK script prerequisite and explicit
8948 abilist directory.
8949 (check-abi): Rewrite to just diff the symlist with the abilist.
8950 (config-tls, config-abi-config): Delete, no longer used.
8951 (update-abi-%): Remove AWK script and explicit abilist directory.
8952 (update-abi): Rewrite to simply compare and conditionally copy the
8953 symlist and the sysdep abilist file. Remove update-abi-config
8954 checks.
8955 * abilist/ld.abilist: Remove.
8956 * abilist/libBrokenLocale.abilist: Remove.
8957 * abilist/libanl.abilist: Remove.
8958 * abilist/libcrypt.abilist: Remove.
8959 * abilist/libdl.abilist: Remove.
8960 * abilist/librt.abilist: Remove.
8961 * abilist/libthread_db.abilist: Remove.
8962 * abilist/libutil.abilist: Remove.
8963 * scripts/extract-abilist.awk: Remove.
8964 * scripts/merge-abilist.awk: Remove.
8965 * sysdeps/generic/libcidn.abilist: New file.
8966 * sysdeps/generic/libnss_compat.abilist: New file.
8967 * sysdeps/generic/libnss_db.abilist: New file.
8968 * sysdeps/generic/libnss_dns.abilist: New file.
8969 * sysdeps/generic/libnss_files.abilist: New file.
8970 * sysdeps/generic/libnss_hesiod.abilist: New file.
8971 * sysdeps/generic/libnss_nis.abilist: New file.
8972 * sysdeps/generic/libnss_nisplus.abilist: New file.
8973 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
8974 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
8975 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
8976 file.
8977 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
8978 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
8979 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
8980 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
8981 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
8982 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
8983 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
8984 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
8985 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
8986 file.
8987 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
8988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
8989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
8990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
8991 file.
8992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
8993 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
8994 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
8995 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
8996 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
8997 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
8998 file.
8999 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
9000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
9001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
9002 file.
9003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
9004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
9005 New file.
9006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
9007 New file.
9008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
9009 New file.
9010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
9011 New file.
9012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
9013 New file.
9014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
9015 New file.
9016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
9017 New file.
9018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
9019 New file.
9020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
9021 New file.
9022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
9023 New file.
9024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
9025 New file.
9026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
9027 New file.
9028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
9029 New file.
9030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
9031 file.
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9033 New file.
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9035 New file.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
9037 file.
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9039 New file.
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9041 New file.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
9043 file.
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9045 New file.
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9047 New file.
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9049 New file.
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9051 New file.
9052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9053 New file.
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9055 New file.
9056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
9057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
9058 file.
9059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9060 New file.
9061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
9062 file.
9063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
9064 file.
9065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
9066 file.
9067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
9068 file.
9069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
9070 file.
9071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9072 New file.
9073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
9074 file.
9075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
9076 file.
9077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9078 New file.
9079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
9080 file.
9081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
9082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
9083 file.
9084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9085 New file.
9086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
9087 file.
9088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
9089 file.
9090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
9091 file.
9092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
9093 file.
9094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
9095 file.
9096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9097 New file.
9098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
9099 file.
9100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
9101 file.
9102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9103 New file.
9104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
9105 file.
9106 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
9107 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
9108 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
9109 file.
9110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
9111 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
9112 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
9113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
9114 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
9115 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
9116 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
9117 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
9118 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
9119 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
9120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
9121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
9122 file.
9123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9124 New file.
9125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
9126 file.
9127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
9128 file.
9129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
9130 file.
9131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
9132 file.
9133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
9134 file.
9135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9136 New file.
9137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9138 New file.
9139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
9140 file.
9141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9142 New file.
9143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
9144 file.
9145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
9146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
9147 file.
9148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9149 New file.
9150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
9151 file.
9152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
9153 file.
9154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
9155 file.
9156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
9157 file.
9158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
9159 file.
9160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9161 New file.
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9163 New file.
9164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
9165 file.
9166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9167 New file.
9168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
9169 file.
9170
41d73a1b
JM
91712012-04-28 Joseph Myers <joseph@codesourcery.com>
9172
9173 * conform/conformtest.pl: Fix typo in handling typed-constant from
9174 allow-header.
9175
28aeeda4
JM
91762012-04-27 Joseph Myers <joseph@codesourcery.com>
9177
adae8f5e
JM
9178 * README: Cut down references to pre-2.6 Linux kernels and
9179 Linuxthreads. Update lists of configurations in libc and ports
9180 and sort alphabetically. Say "or newer" with Linux kernel version
9181 requirements.
9182
28aeeda4
JM
9183 * config.h.in [IS_IN_build]: Allow compiling without optimization.
9184
a462cb63
RA
91852012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9186
9187 [BZ #887]
9188 * math/libm-test.inc (logb_test_downward): New test to expose
9189 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
9190 rounding mode.
9191
6ad3493e
JM
91922012-04-27 Joseph Myers <joseph@codesourcery.com>
9193
9194 [BZ #14027]
9195 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
9196 to be done.
9197 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
9198 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
9199
2ce4f015
JM
92002012-04-26 Joseph Myers <joseph@codesourcery.com>
9201
5aeb141a
JM
9202 * sysdeps/unix/i386/brk.S: Remove file.
9203 * sysdeps/unix/i386/dl-brk.S: Likewise.
9204 * sysdeps/unix/i386/pipe.S: Likewise.
9205 * sysdeps/unix/i386/sigreturn.S: Likewise.
9206 * sysdeps/unix/i386/syscall.S: Likewise.
9207 * sysdeps/unix/i386/vfork.S: Likewise.
9208 * sysdeps/unix/i386/wait.S: Likewise.
9209
7143acae
JM
9210 * sysdeps/unix/common/tcsendbrk.c: Move to ...
9211 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
9212
2ce4f015
JM
9213 * configure.in (arm*-none*): Do not allow without
9214 --enable-hacker-mode.
9215 (netbsd*): Remove case setting base_os.
9216 (386bsd*): Likewise.
9217 (freebsd*): Likewise.
9218 (bsdi*): Likewise.
9219 (osf*): Likewise.
9220 (sunos*): Likewise.
9221 (ultrix*): Likewise.
9222 (newsos*): Likewise.
9223 (dynix*): Likewise.
9224 (*bsd*): Likewise.
9225 (sysv*): Likewise.
9226 (isc*): Likewise.
9227 (esix*): Likewise.
9228 (sco*): Likewise.
9229 (minix*): Likewise.
9230 (irix4*): Likewise.
9231 (irix6*): Likewise.
9232 (solaris[2-9]*): Likewise.
9233 (none): Likewise.
9234 * configure: Regenerated.
9235
0ac229c8
AZ
92362012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9237
9238 [BZ #11521]
9239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
9240 overflow or cancellation in calculating denominator.
9241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
9242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
9243 down expression to avoid unexpected rounding in newer GCCs.
9244 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
9245
33f244f4
DM
92462012-04-26 David S. Miller <davem@davemloft.net>
9247
9248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
9249 long-double compat symbols.
9250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
9254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
9255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
9256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
9257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
9258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
9261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9263
cfa1f3e8
DM
92642012-04-25 David S. Miller <davem@davemloft.net>
9265
9266 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
9267 HWCAP_* values only after the memory barriers have been defined.
9268 (atomic_full_barrier): Define.
9269 (atomic_read_barrier): Define.
9270 (atomic_write_barrier): Define.
9271
6e236b92
SP
92722012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9273
9274 * shlib-versions: Add libgcc_s version information.
9275 * sysdeps/generic/libgcc_s.h: Remove.
9276 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
9277 libgcc_s.h.
9278 * sysdeps/gnu/unwind-resume.c: Likewise.
9279 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
9280
aab39a09
DM
92812012-04-25 David S. Miller <davem@davemloft.net>
9282
9283 * sysdeps/unix/sparc/brk.S: Delete.
9284 * sysdeps/unix/sparc/dl-brk.S: Delete.
9285 * sysdeps/unix/sparc/pipe.S: Delete.
9286 * sysdeps/unix/sparc/sysdep.S: Delete.
9287 * sysdeps/unix/sparc/sysdep.h: Delete.
9288 * sysdeps/unix/sparc/vfork.S: Delete.
9289 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
9290 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
9291 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
9292 ret_ERRVAL, r0, r1, MOVE): Define.
9293 (JUMPTARGET): Remove.
9294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
9295 sysdeps/unix/sparc/sysdep.h
9296 (ENTRY, END): Remove.
9297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9298
a3cc4f48
JM
92992012-04-25 Joseph Myers <joseph@codesourcery.com>
9300
2ed8cda2
JM
9301 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
9302 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
9303 -DIS_IN_build.
9304
35d76d59
JM
9305 * timezone/README: Update upstream location and email address for
9306 tzcode and tzdata.
9307 * timezone/zdump.c: Update from tzcode 2012b.
9308 * timezone/zic.c: Likewise.
9309
a3cc4f48
JM
9310 * configure.in (libc_cv_as_needed): Remove test.
9311 * configure: Regenerated.
9312 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
9313 conditional definition.
9314 [$(have-as-needed) != yes] (no-as-needed): Likewise.
9315 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
9316 * config.make.in (have-as-needed): Remove variable.
9317
ceab42c3
SP
93182012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9319 Paul Pluzhnikov <ppluzhnikov@google.com>
9320
9321 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
9322 strings correctly.
9323
3ce2865f
CLT
93242012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
9325
9326 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
9327 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
9328 * sysdeps/sh/strlen.S: Likewise.
9329
f37e0d68
JM
93302012-04-24 Joseph Myers <joseph@codesourcery.com>
9331
ae186e9a
JM
9332 * sysdeps/unix/fork.S: Remove file.
9333 * sysdeps/unix/i386/fork.S: Likewise.
9334 * sysdeps/unix/sparc/fork.S: Likewise.
9335
b96914af
JM
9336 * sysdeps/unix/system.c: Remove file.
9337 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
9338
f37e0d68
JM
9339 * sysdeps/unix/getegid.S: Remove file.
9340 * sysdeps/unix/geteuid.S: Likewise.
9341
87ef29ca
RM
93422012-04-24 Roland McGrath <roland@hack.frob.com>
9343
83bcd236
RM
9344 * scripts/check-localplt.awk: New file.
9345 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
9346 of diff.
9347 * scripts/data/localplt-generic.data: Add a comment.
9348
87ef29ca
RM
9349 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
9350 NODE when __dir_mkfile failed.
9351 * sysdeps/mach/hurd/symlinkat.c: Likewise.
9352 Reported by Ludovic Courtès <ludo@gnu.org>.
9353
e5a6e567
AJ
93542012-04-24 Andreas Jaeger <aj@suse.de>
9355
9356 * Makerules (common-clean): Also remove gen-as-const-headers
9357 files.
9358
c1820385
JM
93592012-04-24 Joseph Myers <joseph@codesourcery.com>
9360
9361 * Makerules (native-compile): Do not change working directory for
9362 build. Use $(OUTPUT_OPTION) in command.
9363 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
9364
94e02fc4
AZ
93652012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9366
9367 [BZ #13886]
9368 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
9369 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
9370 * math/libm-test.inc (floor_test): Add more tests.
9371 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
9372
3a533ca3
JM
93732012-04-24 Joseph Myers <joseph@codesourcery.com>
9374
940ab4b3
JM
9375 * sysdeps/unix/getdents.c: Remove file.
9376 * sysdeps/unix/sysv/getdents.c: Likewise.
9377 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
9378
90e037bd
JM
9379 * sysdeps/unix/syscalls.list (madvise): Add syscall from
9380 sysdeps/unix/mman/syscalls.list.
9381 (mmap): Likewise.
9382 (mprotect): Likewise.
9383 (msync): Likewise.
9384 (munmap): Likewise.
9385 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
9386 * sysdeps/unix/mman/syscalls.list: Remove.
9387 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
9388
3a533ca3
JM
9389 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
9390 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
9391 * configure: Regenerated.
9392 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
9393 $(libgcc_s_suffix).
9394 * config.make.in (libgcc_s_suffix): Remove variable.
9395
1ad743de
JM
93962012-04-23 Joseph Myers <joseph@codesourcery.com>
9397
4ad451e2
JM
9398 * sysdeps/unix/sysv/gethostname.c: Move to ...
9399 * sysdeps/posix/gethostname.c: ... here.
9400
5e37ce39
JM
9401 * sysdeps/unix/execve.S: Remove file.
9402
1ad743de
JM
9403 * sysdeps/unix/_exit.S: Remove file.
9404
4e681b5b
AJ
94052012-04-23 Andreas Jaeger <aj@suse.de>
9406
9407 [BZ #13739]
9408 * manual/Makefile: Remove make dist support, there's no
9409 need for a stand-alone documentation tar ball.
9410 (TEXI2DVI): Define always, it's not in Makeconfig.
9411 (dist): Removed.
9412 (tar-it): Removed.
9413 (edition): Removed.
9414 (glibc-doc-$(edition).tar): Removed
9415 (%.Z): Removed.
9416 (%.gz): Removed.
9417 (%.uu): Removed.
9418 (ETAGS): Remove, it's in Makeconfig.
9419 (move-if-change): Remove, it's in Makeconfig.
9420
c0baea34
PE
94212013-04-23 Paul Eggert <eggert@cs.ucla.edu>
9422
9423 [BZ #13970]
9424 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
9425 (strtod, strtof, strtold, strtol, strtoul, strtoq)
9426 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
9427 (strtod_l, strtof_l, strtold_l): Remove __wur.
9428 It is not necessarily an error to ignore strtol's return value.
9429 One can reliably look at the stored endptr to decide whether
9430 the number had valid syntax.
9431
7c0616fa
AJ
94322012-04-21 Andreas Jaeger <aj@suse.de>
9433
803cb6b7 9434 [BZ #13739]
7c0616fa
AJ
9435 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
9436
b0fe253f
JM
94372012-04-21 Joseph Myers <joseph@codesourcery.com>
9438
9439 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
9440 * sysdeps/unix/sysv/Versions: Remove file.
9441
8280f22d
MT
94422012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
9443
9444 [BZ #13927]
9445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9446
75ce411f 94472012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
9448
9449 [BZ #7064]
9450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
9451 version from __vm86.
9452
097d59fa
JM
94532012-04-20 Joseph Myers <joseph@codesourcery.com>
9454
a90f3bcb
JM
9455 * sysdeps/unix/common/lxstat.c: Remove file.
9456 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
9457
edc7ea78
JM
9458 * sysdeps/unix/sysv/Makefile: Remove file.
9459
cb78c221
JM
9460 * sysdeps/unix/sysv/direct.h: Remove file.
9461
efa6a45f
JM
9462 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
9463 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
9464 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
9465 * sysdeps/unix/sysv/bits/signum.h: Likewise.
9466 * sysdeps/unix/sysv/bits/stat.h: Likewise.
9467 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
9468 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
9469
9c9f2d0c
JM
9470 * sysdeps/unix/sysv/setrlimit.c: Remove file.
9471
4541c83b
JM
9472 * sysdeps/unix/xmknod.c: Remove file.
9473 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
9474
f5d153a0
JM
9475 * sysdeps/unix/sysv/settimeofday.c: Remove file.
9476
aa746595
JM
9477 * sysdeps/unix/sysv/i386/time.S: Remove file.
9478
cce5905e
JM
9479 * sysdeps/unix/fxstat.c: Remove file.
9480 * sysdeps/unix/xstat.c: Likewise.
9481 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
9482
37fa3841
JM
9483 * sysdeps/unix/sysv/sigaction.c: Remove file.
9484
ff1962a3
JM
9485 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
9486 (sysdep_headers): Remove variable.
9487 [termio.h not in sysdep_headers] (generated): Likewise.
9488 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
9489 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
9490 * sysdeps/unix/sysv/tcdrain.c: Likewise.
9491 * sysdeps/unix/sysv/tcflow.c: Likewise.
9492 * sysdeps/unix/sysv/tcflush.c: Likewise.
9493 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
9494 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
9495 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
9496 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
9497 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
9498
e7740d31
JM
9499 * sysdeps/unix/siglist.c: Remove file.
9500
ee06f18b
JM
9501 * sysdeps/unix/getppid.S: Remove file.
9502
097d59fa
JM
9503 * sysdeps/unix/mkdir.c: Remove file.
9504 * sysdeps/unix/rmdir.c: Likewise.
9505
ff3d51ec
AS
95062012-04-19 Andreas Schwab <schwab@linux-m68k.org>
9507
9508 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
9509 ERR_MAX value.
9510 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
9511 errlist-compat value.
9512
50f81fd7
DM
95132012-04-18 David S. Miller <davem@davemloft.net>
9514
9515 * sysdeps/generic/memcopy.h (reg_char): Delete.
9516 * debug/strcat_chk.c: Use char, not reg_char.
9517 * debug/strcpy_chk.c: Likewise.
9518 * debug/strncat_chk.c: Likewise.
9519 * debug/strncpy_chk.c: Likewise.
9520 * string/memchr.c: Likewise.
9521 * string/memrchr.c: Likewise.
9522 * string/rawmemchr.c: Likewise.
9523 * string/strcat.c: Likewise.
9524 * string/strchr.c: Likewise.
9525 * string/strchrnul.c: Likewise.
9526 * string/strcmp.c: Likewise.
9527 * string/strcpy.c: Likewise.
9528 * string/strncat.c: Likewise.
9529 * string/strncmp.c: Likewise.
9530 * string/strncpy.c: Likewise.
9531
8ff41c46
WS
95322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9533
9534 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
9535 __builtin_memcopy is called when src and dest ranges are known to not
9536 overlap.
9537
6b652f46
WS
95382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9539
9540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
9541 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
9542 fwd_align_merge macro call.
9543 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
9544 bwd_align_merge macro call.
9545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9546
b282631e
WS
95472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
9548
9549 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
9550 bwd_align_merge macros.
9551 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
9552 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
9553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9554
95aa737c
DM
95552012-04-18 David S. Miller <davem@davemloft.net>
9556
9557 * sysdeps/sparc/sparc64/memcopy.h: Delete.
9558
7a99a614
AJ
95592012-04-18 Andreas Jaeger <aj@suse.de>
9560
9561 [BZ# 6794]
9562 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
9563 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
9564 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9565
9566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
9567 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
9568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9569
9570 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
9571 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
9572 Adjust for changed ldbl-128 files.
9573
9574 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
9575 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
9576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
9577
e5270c23
DM
95782012-04-17 David S. Miller <davem@davemloft.net>
9579
9580 * sysdeps/sparc/sparc32/memcopy.h: Delete.
9581
fb5e92c9
AS
95822012-04-17 Andreas Schwab <schwab@linux-m68k.org>
9583
9584 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
9585 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
9586 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
9587 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
9588 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9589 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
9590
76da7265
AZ
95912012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9592
9593 [BZ #6794]
9594 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
9595 * math/libm-test.inc: Add ilogb errno and exception tests.
9596 * math/w_ilogb.c: New file: ilogb wrapper.
9597 * math/w_ilogbf.c: New file: ilogbf wrapper.
9598 * math/w_ilogbl.c: New file: ilogbl wrapper.
9599 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
9600 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
9601 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
9602 exception being thrown with 0.0 as argument.
9603 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
9604 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
9605 exception being thrown with 0.0 as argument.
9606 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
9607 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9608 exception being thrown with 0.0 as argument.
9609 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
9610 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
9611 exception being thrown with 0.0 as argument.
9612 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
9613 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 9614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
9615 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
9616 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
9617 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
9618 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
9619 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
9620 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
9621
0396e69d
PB
96222012-04-17 Petr Baudis <pasky@ucw.cz>
9623
9624 * include/sys/uio.h: Change __vector to __iovec to avoid clash
9625 with altivec.
9626
750b5926
MP
96272012-04-16 Marek Polacek <polacek@redhat.com>
9628
9629 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
9630
751728a1
MP
96312012-04-16 Marek Polacek <polacek@redhat.com>
9632
9633 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
9634 operands of fdivp instruction.
9635
34a27407
L
96362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9637
9638 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
9639 * elf/tst-auditmod3b.c: Likewise.
9640 * elf/tst-auditmod4b.c: Likewise.
9641 * elf/tst-auditmod5b.c: Likewise.
9642 * elf/tst-auditmod6b.c: Likewise.
9643 * elf/tst-auditmod6c.c: Likewise.
9644 * elf/tst-auditmod7b.c: Likewise.
9645 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
9646 * sysdeps/x86_64/preconfigure.in: Likewise.
9647 * sysdeps/x86_64/preconfigure: Regenerated.
9648
7e73e17d
L
96492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
9650
9651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
9652 __ILP32__.
9653
c7a6ab72
AB
96542012-04-13 Antoine Balestrat <merkil33@gmail.com>
9655
9656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9657 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
9658
a9e8e0e0
CL
96592012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
9660
9661 [BZ #13973]
9662 * locale/iso-639.def: Fix gl language name. Spotted by
9663 Yaron Shahrabani.
9664
ec98af7d
RM
96652012-04-12 Roland McGrath <roland@hack.frob.com>
9666
9667 [BZ #2074]
9668 * libio/libio.h (__io_write_fn): Update comment.
9669
247c3ede
PB
96702012-04-12 Petr Baudis <pasky@ucw.cz>
9671
9672 [BZ #2074]
9673 * stdio.texi (Hook Functions): The user provided writer function
9674 is not allowed to return -1.
9675
55939d6d
DM
96762012-04-11 David S. Miller <davem@davemloft.net>
9677
9678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9679
90020f5a
MF
96802012-04-11 Mike Frysinger <vapier@gentoo.org>
9681
9682 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
9683 Add a leading slash to rtkaio.
9684
288f9098
JM
96852012-04-11 Jim Meyering <meyering@redhat.com>
9686
90020f5a
MF
9687 [BZ #11959]
9688 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
9689 It is not necessarily an error to ignore fwrite's return
9690 value. One can reliably use ferror to test for errors after
9691 the fact.
288f9098 9692
4be2b570
L
96932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9694
9695 * bits/types.h (__snseconds_t): New type.
9696 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
9697
9698 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
9699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9700 (__SNSECONDS_T_TYPE): Likewise.
9701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9702 (__SNSECONDS_T_TYPE): Likewise.
9703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9704 (__SNSECONDS_T_TYPE): Likewise.
9705
288f9098 97062012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
9707
9708 [BZ #2636]
9709 * manual/time.texi (Processor Time): Return type of times is
9710 elapsed real time since an arbitrary point in the past.
9711 (CPU Time): Move CLK_TCK from here...
9712 (Processor Time): ...to here. Correct description.
9713 * manual/conf.texi (Constants for Sysconf): Correct description of
9714 _SC_CLK_TCK.
9715
d7dd4413
DM
97162012-04-10 David S. Miller <davem@davemloft.net>
9717
9718 [BZ #13967]
9719 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
9720 where the is a gap between DT_REL(A) and DT_JMPREL.
9721
b46068fc
L
97222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
9723
9724 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
9725 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9726 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9727
73d65cc3
SP
97282012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9729
9730 * elf/dl-support.c (_dl_inhibit_cache): New variable.
9731 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
9732 (dl_main): Handle --inhibit-cache.
9733 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
9734 _dl_inhibit_cache.
9735 * elf/dl-load.c (_dl_map_object): Use it.
9736 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
9737
bcc8d661
JM
97382012-04-09 Joseph Myers <joseph@codesourcery.com>
9739
8f9a2fae
JM
9740 [BZ #13872]
9741 * sysdeps/i386/fpu/e_powl.S (p78): New object.
9742 (__ieee754_powl): Saturate large exponents rather than testing for
9743 overflow of y*log2(x).
9744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9745 * math/libm-test.inc (pow_test): Do not permit spurious overflow
9746 exceptions.
9747
bcc8d661
JM
9748 [BZ #11521]
9749 * math/s_ctan.c: Include <float.h>.
9750 (__ctan): Avoid internal overflow or cancellation in calculating
9751 denominator.
9752 * math/s_ctanf.c: Likewise.
9753 * math/s_ctanl.c: Likewise.
9754 * math/s_ctanh.c: Likewise.
9755 * math/s_ctanhf.c: Likewise.
9756 * math/s_ctanhl.c: Likewise.
9757 * math/libm-test.inc (ctan_test): Add more tests.
9758 (ctanh_test): Likewise.
9759 * sysdeps/i386/fpu/libm-test-ulps: Update.
9760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9761
823fbbb4
AJ
97622012-04-09 Andreas Jaeger <aj@suse.de>
9763
03879793
AJ
9764 [BZ #6894]
9765 * manual/filesys.texi (Directory Entries): Mention that d_namlen
9766 is an optional BSD extension.
9767
823fbbb4
AJ
9768 [BZ #10254]
9769 * manual/stdio.texi (Opening Streams): Document additional fopen
9770 parameters.
9771
8de131cb
RM
97722012-04-09 Roland McGrath <roland@hack.frob.com>
9773
9774 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
9775 %eax without telling the compiler.
9776
c0ed9d7d
CD
97772012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
9778
9779 [BZ # 13963]
9780 * manual/install.texi: Use sourceware.org.
9781
c483f6b4
JM
97822012-04-09 Joseph Myers <joseph@codesourcery.com>
9783
d7dd9453
JM
9784 [BZ #13873]
9785 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
9786 (__ieee754_pow): Generate overflow and underflow using huge*huge
9787 and tiny*tiny rather than just returning constant infinity or zero
9788 for large exponents.
9789 * math/libm-test.inc (pow_test): Require overflow exceptions for
9790 applicable cases of large exponents.
9791
c483f6b4
JM
9792 [BZ #706]
9793 * sysdeps/i386/fpu/e_pow.S (p10): New object.
9794 (__ieee754_pow): Use iterative multiplication algorithm only for
9795 integer exponents with absolute value below 1024. Check for odd
9796 integer exponents when using algorithm for real exponents.
9797 * math/libm-test.inc (pow_test): Add more tests.
9798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9799
d2de7579
JM
98002012-04-08 Joseph Myers <joseph@codesourcery.com>
9801
9802 [BZ #13705]
9803 * math/libm-test.inc (exp_test): Do not allow overflow exception
9804 on underflow test.
9805
f77f1232
AJ
98062012-04-08 Aurelien Jarno <aurelien@aurel32.net>
9807
9808 [BZ #13705]
9809 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
9810 instead of __kernel_standard_f.
9811
3884932b
MF
98122012-04-08 Mike Frysinger <vapier@gentoo.org>
9813
9814 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
9815 * sysdeps/x86_64/memset_chk.S: Likewise.
9816
54472e9c
AJ
98172012-04-08 Andreas Jaeger <aj@suse.de>
9818
6ab0fbfc
AJ
9819 [BZ #10153]
9820 * manual/startup.texi (Environment Access): Describe return value
9821 for putenv and setenv.
9822
61efba8c
AJ
9823 [BZ #6895]
9824 * manual/filesys.texi (Directory Entries): Add description for
9825 DT_LNK.
9826
95c3f29a
AJ
9827 [BZ #6890]
9828 * manual/filesys.texi (Directory Entries): Clarify that it's file
9829 system not operating system in the description of DT_UNKNOWN.
9830
54472e9c
AJ
9831 [BZ #6578]
9832 * manual/syslog.texi (closelog): Fix reference, it's openlog.
9833
624254b1
SC
98342012-04-08 Stephen Compall <s11@member.fsf.org>
9835
9836 [BZ #6649]
9837 * manual/llio.texi (Opening and Closing Files): Add cross
9838 reference to explain mode argument.
9839
1e4920e0
MF
98402012-04-07 Mike Frysinger <vapier@gentoo.org>
9841
9842 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
9843 * sysdeps/x86_64/memset_chk.S: Likewise.
9844
5ed848f3
DM
98452012-04-07 David S. Miller <davem@davemloft.net>
9846
9847 * elf/elf.h (R_SPARC_WDISP10): Define.
9848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
9849 R_SPARC_SIZE32.
9850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
9851 R_SPARC_SIZE64 and R_SPARC_H34.
9852
96154cd8
CD
98532012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
9854
9855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
9856 conditions and remove no longer applicable assertion.
9857
9904dc47
L
98582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9859
9860 * bits/byteswap.h: Include <features.h>.
9861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
9862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
9863
f8887d0a
L
98642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
9865
9866 * bits/byteswap.h (__bswap_16): Removed.
9867 Include <bits/byteswap-16.h> to get __bswap_16.
9868 * sysdeps/i386/bits/byteswap.h: Likewise.
9869 * sysdeps/s390/bits/byteswap.h: Likewise.
9870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9871 * bits/byteswap-16.h: New file.
9872 * sysdeps/i386/bits/byteswap-16.h: Likewise.
9873 * sysdeps/s390/bits/byteswap-16.h: Likewise.
9874 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
9875 * string/Makefile (headers): Add bits/byteswap-16.h.
9876
62470f60
PP
98772012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9878
9879 [BZ #13895]
9880 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
9881 extra indirection.
9882 * nss/Makefile (tests-static, tests): Add tst-nss-static.
9883 * nss/tst-nss-static.c: New.
9884
4dad7bab
RM
98852012-04-06 Robert Millan <rmh@gnu.org>
9886
9887 [BZ #6486]
9888 * manual/llio.texi (File Position Primitive): lseek
9889 refers to WHENCE when it really means OFFSET.
9890
e9142a17
AJ
98912012-04-06 Andreas Jaeger <aj@suse.de>
9892
2c040eff
AJ
9893 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
9894 strncmp declarations.
9895
e9142a17
AJ
9896 * abilist/libc.abilist: Add __poll and __ppoll.
9897
ff9f1c5f
DM
98982012-04-05 David S. Miller <davem@davemloft.net>
9899
dcd2ae90
DM
9900 * scripts/check-local-headers.sh: Accept a host triplet in the
9901 path matched by the exclude regexp.
9902
993eb054
DM
9903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
9904 definition.
9905 * sysdeps/powerpc/powerpc32/dl-machine.h
9906 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
9907 * sysdeps/s390/s390-32/dl-machine.h
9908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9909 * sysdeps/sparc/sparc32/dl-machine.h
9910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9911 * sysdeps/sparc/sparc64/dl-machine.h
9912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
9913
ff9f1c5f
DM
9914 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
9915 lazy binding.
48e2e132 9916 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
9917 undefined symbol errors.
9918
48e2e132 9919 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
9920 DT_NEEDED entries.
9921
e80d6f94
MM
99222012-04-05 Michael Matz <matz@suse.de>
9923
9924 [BZ #13592]
9925 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
9926
349fa79f
AJ
99272012-04-05 Andreas Jaeger <aj@suse.de>
9928
9929 [BZ #13908]
9930 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
9931 comment.
9932
f402708f
KK
99332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9934
9935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
9936 which ROUND is no valid rounding mode.
9937
2ecccfc9
KK
99382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9939
9940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9941 read again.
9942 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
9943
8a53f50f
KK
99442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9945
9946 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
9947 an exception using FPU order intentionally.
9948
99492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9950
9951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
9952 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
9953 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
9954 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
9955
d653abb7
SJ
99562012-04-05 Simon Josefsson <simon@josefsson.org>
9957
9958 [BZ #12340]
9959 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
9960 EINVAL when BUFLEN is too smal.
9961
c3b1bf7d
TS
99622012-04-05 Thomas Schwinge <thomas@codesourcery.com>
9963
9964 [BZ #13553]
9965 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
9966 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
9967
b1aa60f3
AJ
99682012-04-03 Andreas Jaeger <aj@suse.de>
9969
c3b1bf7d 9970 [BZ #13938]
67f60a26
AJ
9971 * manual/setjmp.texi (System V contexts): Fix sentence.
9972
b1aa60f3
AJ
9973 [BZ #13926]
9974 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
9975 New macro for this case.
9976 [!__GNUC__] (__bswap_64): New inline function for this case.
9977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9978 * bits/byteswap.h: Likewise.
9979 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
9980 ull, guard with __GLIBC_HAVE_LONG_LONG.
9981
9982 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
9983 __GLIBC_HAVE_LONG_LONG.
9984
9985 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
9986 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
9987
39c59c35
TMQMF
99882012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9989
9990 [BZ #13691]
9991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
9992 inptr and inend, rather than using last_ch.
9993
135ffda8
DM
99942012-04-02 David S. Miller <davem@davemloft.net>
9995
9996 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
9997 * stdio-common/printf-parse.h (read_int): Change return type to
9998 'int', return -1 on INT_MAX overflow.
9999 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
10000 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
10001 overflows INT_MAX. Check for overflow of in-format-string precision
10002 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10003 SIZE_MAX not INT_MAX for integer overflow test.
10004 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
10005 skip the construct in the format string but do not record anything.
10006 * stdio-common/bug22.c: Adjust to test both width/prevision
10007 INT_MAX overflow as well as total length INT_MAX overflow. Check
10008 explicitly for proper errno values.
10009
228c019e
TS
100102012-04-02 Thomas Schwinge <thomas@codesourcery.com>
10011
302cadd3
TS
10012 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
10013 CHAR_MAX.
10014 * string/test-strcmp.c [! WIDE]: Likewise.
10015 * time/tst-mktime2.c: Likewise for INT_MAX.
10016 * string/test-string.h: #include <sys/param.h> for MIN.
10017
228c019e
TS
10018 * csu/init-first.c (__libc_init_first): Call __ctype_init.
10019 * sysdeps/i386/init-first.c (init): Likewise.
10020 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
10021 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
10022 * sysdeps/sh/init-first.c (init): Likewise.
10023
cfa633f5
UD
100242012-04-01 Ulrich Drepper <drepper@gmail.com>
10025
10026 * po/ru.po: Update from translation team.
d1635ef8 10027 * po/vi.po: Likewise.
cfa633f5 10028
6cd0a5ea
SP
100292012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10030
10031 * resolv/nss_dns/dns-host.c: Merge copyright years.
10032
4b43400f
LD
100332012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10034
10035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10036 Optimize memcpy with prefetch if
10037 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
10038 src, dst pointers have unequal 16 byte alignments.
10039
48c41d04
SP
100402012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10041
10042 [BZ #13928]
10043 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
10044 from a CNAME entry and return the minimum ttl for the query.
10045 (gaih_getanswer_slice): Likewise.
10046
b8dc394d
JL
100472012-03-30 Jeff Law <law@redhat.com>
10048
10049 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
10050 due to long keys.
10051 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10052 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10053
2f5a5ed0
JL
10054 * resolv/nss_dns/dns-host.c: Update copyright year.
10055
1d39e359
UD
100562012-03-30 Ulrich Drepper <drepper@gmail.com>
10057
c030f70c 10058 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 10059 requests to save a system call. Fix check that all bytes are sent.
c030f70c 10060
1d39e359
UD
10061 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
10062 comments for sendmmsg.
10063
100642012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
10065
10066 [BZ #13691]
10067 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10068 with only 1 character between 0x0041 and 0x01b0.
10069 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
10070 * wcsmbs/tst-mbsnrtowcs.c: New file.
10071
20fde227
DM
100722012-03-29 David S. Miller <davem@davemloft.net>
10073
10074 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
10075 small copies by hand.
10076
984a4237
JL
100772012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10078
10079 [BZ #13761]
10080 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
10081 _nss_compat_initgroups_dyn): Fall back to malloc/free
10082 for large group memberships.
10083
18c9d62b
DM
100842012-03-28 David S. Miller <davem@davemloft.net>
10085
88d85d4f
DM
10086 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
10087 that branches into memcpy.
10088 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
10089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10091 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
10093 bits.
10094 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
10095 implementation too.
10096 * sysdeps/sparc/mempcpy.S: New file.
10097
e5aa83e1
DM
10098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
10099 the IFUNC routine in the libc case.
10100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10101
88570753
DM
10102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
10103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
10104 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
10105 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
10106 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
10107 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
10108 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
10109 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
10110
249d7567
DM
10111 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
10112 loop to 256 bytes instead of 64 bytes and fix test signedness.
10113
18c9d62b
DM
10114 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
10115 * sysdeps/sparc/sparc32/Makefile: rather than here...
10116 * sysdeps/sparc/sparc64/Makefile: and here.
10117
05f3d1f6
UD
101182012-03-28 Ulrich Drepper <drepper@gmail.com>
10119
10120 * malloc/mallocbug.c: Avoid warnings about unused variables.
10121
86ae07a8
JL
101222012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10123
10124 [BZ #13760]
10125 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
10126 in the right place. Discard and retry query if response is
10127 larger than input buffer size.
10128
41bf21a1
JM
101292012-03-28 Joseph Myers <joseph@codesourcery.com>
10130
d6270972
JM
10131 [BZ #369]
10132 [BZ #2678]
10133 [BZ #3866]
10134 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
10135 x for large integer exponent.
10136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
10138 sign of result as needed afterwards.
10139 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
10141 result for underflowing pow the same as for overflow.
10142 (__kernel_standard_l): Handle powl overflow and underflow here
10143 rather than calling __kernel_standard.
10144 * math/libm-test.inc (pow_test): Add more tests.
10145
414fca03 10146 [BZ #3868]
41bf21a1
JM
10147 [BZ #13879]
10148 [BZ #13910]
10149 [BZ #13911]
10150 [BZ #13912]
10151 [BZ #13913]
10152 [BZ #13915]
10153 [BZ #13916]
10154 [BZ #13917]
10155 [BZ #13918]
10156 [BZ #13919]
10157 [BZ #13920]
10158 [BZ #13921]
10159 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
10160 * sysdeps/ieee754/k_standard.c: Include <float.h>.
10161 (__kernel_standard_l): New function.
10162 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
10163 __kernel_standard.
10164 * math/w_acosl.c (__acosl): Likewise.
10165 * math/w_asinl.c (__asinl): Likewise.
10166 * math/w_atan2l.c (__atan2l): Likewise.
10167 * math/w_atanhl.c (__atanhl): Likewise.
10168 * math/w_coshl.c (__coshl): Likewise.
10169 * math/w_exp10l.c (__exp10l): Likewise.
10170 * math/w_exp2l.c (__exp2l): Likewise.
10171 * math/w_fmodl.c (__fmodl): Likewise.
10172 * math/w_hypotl.c (__hypotl): Likewise.
10173 * math/w_j0l.c (__j0l, __y0l): Likewise.
10174 * math/w_j1l.c (__j1l, __y1l): Likewise.
10175 * math/w_jnl.c (__jnl, __ynl): Likewise.
10176 * math/w_lgammal.c (__lgammal): Likewise.
10177 * math/w_log10l.c (__log10l): Likewise.
10178 * math/w_log2l.c (__log2l): Likewise.
10179 * math/w_logl.c (__logl): Likewise.
10180 * math/w_powl.c (__powl): Likewise.
10181 * math/w_remainderl.c (__remainderl): Likewise.
10182 * math/w_scalbl.c (sysv_scalbl): Likewise.
10183 * math/w_sinhl.c (__sinhl): Likewise.
10184 * math/w_sqrtl.c (__sqrtl): Likewise.
10185 * math/w_tgammal.c (__tgammal): Likewise.
10186 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
10187 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
10188 * math/libm-test.inc (acos_test): Add more tests.
10189 (acosh_test): Likewise.
10190 (asin_test): Likewise.
10191 (atanh_test): Likewise.
10192 (exp_test): Likewise.
10193 (exp10_test): Likewise.
10194 (exp2_test): Likewise.
10195 (expm1_test): Likewise.
10196 (lgamma_test): Likewise.
10197 (log_test): Likewise.
10198 (log10_test): Likewise.
10199 (log1p_test): Likewise.
10200 (log2_test): Likewise.
10201 (pow_test): Do not allow some spurious overflow exceptions.
10202 (sqrt_test): Add more tests.
10203 (tgamma_test): Likewise.
10204 (y0_test): Likewise.
10205 (y1_test): Likewise.
10206 (yn_test): Likewise.
10207
dd62fda6
AB
102082012-03-27 Anton Blanchard <anton@samba.org>
10209
10210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
10211 MAP_HUGETLB.
10212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10215
1e3cdfda
AJ
102162012-03-27 David S. Miller <davem@davemloft.net>
10217
b855ab85
DM
10218 * conform/Makefile: Run run-conformtest.sh using $(BASH).
10219
1e3cdfda
AJ
10220 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
10221 have-as-vis3 check.
10222
102232012-03-27 Andreas Jaeger <aj@suse.de>
10224
10225 * sysdeps/x86_64/elf/configure.in: Moved to ...
10226 * sysdeps/x86_64/configure.in: ... here.
10227 * sysdeps/x86_64/elf/start.S: Moved to ...
10228 * sysdeps/x86_64/start.S: ... here.
10229 * sysdeps/x86_64/elf/configure: Delete.
10230
10231 * sysdeps/x86_64/configure.in: Merge contents from
10232 sysdeps/i386/configure.in (without i686 check).
10233
10234 * sysdeps/i386/elf/Versions: Merge into ...
10235 * sysdeps/i386/Versions: ... this.
10236 * sysdeps/i386/elf/Versions: Delete file.
10237 * sysdeps/i386/elf/start.S: Moved to ...
10238 * sysdeps/i386/start.S: ...here.
10239 * sysdeps/i386/elf/configure.in: Merge into...
10240 * sysdeps/i386/configure.in: ...here.
10241 * sysdeps/i386/elf/configure.in: Delete file.
10242 * sysdeps/i386/elf/configure: Delete file.
10243
10244 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
10245 * debug/backtracesyms.c: ... here.
10246 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
10247 * debug/backtracesymsfd.c: ... here.
10248 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
10249 * sysdeps/generic/ifunc-sel.h: ... here.
10250
10251 * sysdeps/unix/i386/start.c: Delete file.
10252 * sysdeps/unix/sparc/start.c: Delete file.
10253 * sysdeps/unix/start.c: Delete file.
10254
10255 * sysdeps/sh/elf/configure.in: Moved to ...
10256 * sysdeps/sh/configure.in: ... here.
10257 * sysdeps/sh/elf/start.S: Moved to ...
10258 * sysdeps/sh/start.S: ... here.
10259 * sysdeps/sh/elf/configure: Delete file.
10260
10261 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
10262 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
10263 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
10264 * sysdeps/powerpc/powerpc64/entry.h: ... here.
10265 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
10266 * sysdeps/powerpc/powerpc64/start.S: here.
10267 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
10268 * sysdeps/powerpc/powerpc64/Makefile: ... this.
10269 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
10270 * sysdeps/powerpc/powerpc64/configure.in: ... this.
10271 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
10272
10273 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
10274 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
10275 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
10276 * sysdeps/powerpc/powerpc32/start.S: ... here.
10277 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
10278 * sysdeps/powerpc/powerpc32/configure.in: ... this.
10279 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
10280
10281 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
10282 * sysdeps/powerpc/ifunc-sel.h: ... here.
10283 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
10284 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
10285
10286 * sysdeps/sparc/elf/configure.in: Moved to ...
10287 * sysdeps/sparc/configure.in: ... here.
10288 * sysdeps/sparc/elf/configure: Delete file.
10289 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
10290 * sysdeps/sparc/sparc32/start.S: ... here.
10291 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
10292 * sysdeps/sparc/sparc64/start.S: ... here.
10293 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
10294 * sysdeps/sparc/sparc32/Makefile: ... this.
10295 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
10296 * sysdeps/sparc/sparc64/Makefile: ... this.
10297
10298 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
10299 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
10300 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
10301 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
10302 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
10303 * sysdeps/s390/s390-32/setjmp.S: ... here.
10304 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
10305 * sysdeps/s390/s390-32/configure.in: ... here.
10306 * sysdeps/s390/s390-32/elf/configure: Delete file.
10307 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
10308 * sysdeps/s390/s390-32/start.S: ... here.
10309
10310 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
10311 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
10312 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
10313 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
10314 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
10315 * sysdeps/s390/s390-64/setjmp.S: ... here.
10316 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
10317 * sysdeps/s390/s390-64/configure.in: ... here
10318 * sysdeps/s390/s390-64/elf/configure: Delete file.
10319 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
10320 * sysdeps/s390/s390-64/start.S: ... here.
10321 * sysdeps/s390/s390-64/elf/configure: Delete.
10322
10323 * configure.in: Remove support for elf directories in sysdeps.
10324
10325 * configure: Regenerated.
10326 * sysdeps/i386/configure: Regenerated.
10327 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10328 * sysdeps/powerpc/powerpc64/configure: Regenerated.
10329 * sysdeps/s390/s390-32/configure: Regenerated.
10330 * sysdeps/s390/s390-64/configure: Regenerated.
10331 * sysdeps/sh/configure: Regenerated.
10332 * sysdeps/sparc/configure: Regenerated.
10333 * sysdeps/x86_64/configure: Regenerated.
10334
a3f61311
AS
103352012-03-26 Andreas Schwab <schwab@linux-m68k.org>
10336
c876e002
AS
10337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10338
a3f61311
AS
10339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
10340 denormal result into account.
10341
ac4c54f0
RM
103422012-03-25 Roland McGrath <roland@hack.frob.com>
10343
10344 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
10345 Reported by Allan McRae <allan@archlinux.org>.
10346
6a9b9c02
JL
103472012-03-23 Jeff Law <law@redhat.com>
10348
10349 * nss/getnssent.c (__nss_getent): Fix typo.
10350
4c42a0c1
DM
103512012-03-23 David S. Miller <davem@davemloft.net>
10352
10353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10354
1532c7ac
L
103552012-03-23 H.J. Lu <hongjiu.lu@intel.com>
10356
10357 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
10358 to pad to uint64_t for each field.
10359 (dl_tls_index): Replace unsigned long with uint64_t.
10360
3ff42526
PP
103612012-03-23 Daniel Jacobowitz <dmj@google.com>
10362 Paul Pluzhnikov <ppluzhnikov@google.com>
10363
10364 [BZ #6528]
10365 * grp/Makefile (otherlibs): Don't set it.
10366 * inet/Makefile (otherlibs): Likewise.
10367 * login/Makefile (otherlibs): Likewise.
10368 * nscd/Makefile (otherlibs): Likewise.
10369 * posix/Makefile (otherlibs): Likewise.
10370 * pwd/Makefile (otherlibs): Likewise.
10371 * rt/Makefile (otherlibs): Likewise.
10372 * sunrpc/Makefile (otherlibs): Likewise.
10373 * nss/Makefile (otherlibs): Likewise.
10374 Add libnss_files to routines and static-only-routines.
10375 ($(objpfx)getent): Remove rule.
10376 * resolv/Makefile: Add libnss_dns and libresolv to routines and
10377 static-only-routines.
10378
7c69cd14
JM
103792012-03-22 Joseph Myers <joseph@codesourcery.com>
10380
10381 [BZ #13892]
10382 * math/s_cexp.c: Include <float.h>.
10383 (__cexp): Handle exp result overflowing not necessarily
10384 overflowing both real and imaginary parts of result.
10385 * math/s_cexpf.c: Likewise.
10386 * math/s_cexpl.c: Likewise.
10387 * math/libm-test.inc (cexp_test): Add more tests.
10388 * sysdeps/i386/fpu/libm-test-ulps: Update.
10389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10390
81b035fe
L
103912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10392
10393 * include/link.h (ELFW): New macro.
10394 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
10395 Replace ELF64_R_TYPE with ELFW(R_TYPE).
10396
1da7940c
L
103972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10398
10399 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
10400 with uint64_t.
10401
b749dbb9
L
104022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10403
10404 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
10405 declaration.
10406 (struct La_x32_retval): Likewise.
10407
2ff87f3f
L
104082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
10409
10410 * sysdeps/x86_64/preconfigure.in: New file.
10411 * sysdeps/x86_64/preconfigure: New generated file.
10412
c0df8e69
JM
104132012-03-22 Joseph Myers <joseph@codesourcery.com>
10414
48e44791
JM
10415 [BZ #13824]
10416 * math/e_exp2l.c: Include <float.h>.
10417 (__ieee754_exp2l): Handle overflow and underflow cases
10418 separately. Only pass fractional part of argument to
10419 __ieee754_expl.
10420 * math/libm-test.inc (exp2_test): Add more tests.
10421
c0df8e69
JM
10422 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
10423 negating x to take absolute value.
10424 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
10425 Likewise.
10426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
10428 Likewise.
10429 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
10430 computing low part if x was negated.
10431 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10432
c8e43ba7
L
104332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10434
10435 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
10436 la_x32_gnu_pltexit.
10437 (pltexit): Cast int_retval to ptrdiff_t.
10438 * elf/tst-auditmod3b.c: Likewise.
10439 * elf/tst-auditmod4b.c: Likewise.
10440 * elf/tst-auditmod5b.c: Likewise.
10441 * elf/tst-auditmod6b.c: Likewise.
10442 * elf/tst-auditmod6c.c: Likewise.
10443 * elf/tst-auditmod7b.c: Likewise.
10444
10445 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
10446 and x32_gnu_pltexit.
10447
10448 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
10449 __ELF_NATIVE_CLASS.
10450 (La_x32_regs): New macro.
10451 (La_x32_retval): Likewise.
10452 (la_x32_gnu_pltenter): New function prototype.
10453 (la_x32_gnu_pltexit): Likewise.
10454
7998fa78
AS
104552012-03-21 Andreas Schwab <schwab@linux-m68k.org>
10456
dcb33988
AS
10457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
10458 exponent.
10459
233fc563
AS
10460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10461
7998fa78
AS
10462 * configure.in (libc_cv_cc_nofma): Check for option to disable
10463 generation of FMA instructions.
10464 * configure: Regenerate.
10465 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
10466 * sysdeps/ieee754/dbl-64/Makefile: New file.
10467 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
10468 Remove brandred-fma4.
10469 (CFLAGS-brandred-fma4.c): Remove.
10470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
10471 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
10472 define.
10473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
10474 define.
10475
8e95c99a
L
104762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10477
10478 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
10479 LLONG_MAX != LONG_MAX.
10480 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10481 (_fitoa_word): Likewise.
10482 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
10483 LLONG_MAX != LONG_MAX.
10484 * stdio-common/_itowa.h: Include <_itoa.h>.
10485 (_itowa_word): Use _ITOA_WORD_TYPE on value.
10486 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
10487 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
10488 only if not defined.
10489 (_ITOA_WORD_TYPE): Likewise.
10490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
10491 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
10492
6f4db457
DM
104932012-03-21 David S. Miller <davem@davemloft.net>
10494
10495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10496
7785fe5a
L
104972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
10498
10499 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
10500 of x86_64 when setting libc_cv_slibdir, libdir and
10501 libc_cv_localedir.
10502 * sysdeps/unix/sysv/linux/configure: Regenerated.
10503
4535cd55
JM
105042012-03-21 Joseph Myers <joseph@codesourcery.com>
10505
10506 * manual/lang.texi (Old Varargs): Remove section.
10507 (How Variadic): Update menu.
10508 (va_start): Do not mention varargs.h.
10509
17228132
TS
105102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10511 Joseph Myers <joseph@codesourcery.com>
10512
10513 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
10514 link test.
10515 * configure: Regenerated.
10516
8149f976
TS
105172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
10518
05f3d1f6
UD
10519 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
10520 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
10521 conformtest.pl
8149f976 10522
1a4ac776
JM
105232012-03-21 Joseph Myers <joseph@codesourcery.com>
10524
be22ce65
JM
10525 * NOTES: Remove.
10526 * Makefile (files-for-dist): Remove NOTES.
10527 (NOTES): Remove rule.
10528 * README: Don't refer to NOTES.
10529 * manual/creature.texi: Don't include macros.texi.
10530 * manual/intro.texi (creature.texi): Remove comment referring to
10531 NOTES.
10532
40b601fb
JM
10533 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
10534 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
10535 * configure: Regenerated.
10536 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
10537 LIBC_TRY_CC_OPTION.
10538 (libc_cv_as_i686): Likewise.
10539 (libc_cv_cc_avx): Likewise.
10540 (libc_cv_cc_sse2avx): Likewise.
10541 (libc_cv_cc_fma4): Likewise.
10542 (libc_cv_cc_novzeroupper): Likewise.
10543 * sysdeps/i386/configure: Regenerated.
10544
1a4ac776
JM
10545 [BZ #13883]
10546 * sysdeps/i386/fpu/s_cexp.S: Remove.
10547 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10548 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
10549 * math/libm-test.inc (cexp_test): Add more tests.
10550 * sysdeps/i386/fpu/libm-test-ulps: Update.
10551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10552
a458e7fe
AM
105532012-03-21 Allan McRae <allan@archlinux.org>
10554
10555 * timezone/Makefile: Do not install iso3166.tab and zone.tab
10556
0cb7efc5
JM
105572012-03-21 Joseph Myers <joseph@codesourcery.com>
10558
10559 [BZ #13871]
10560 * math/w_exp2.c: Do not include <float.h>.
10561 (o_threshold, u_threshold): Remove.
10562 (__exp2): Calculate result before checking finiteness and calling
10563 __kernel_standard.
10564 * math/w_exp2f.c: Likewise.
10565 * math/w_exp2l.c: Likewise.
10566 * math/libm-test.inc (exp2_test): Require overflow exception for
10567 1e6 input.
2460d3aa
JM
10568
10569 [BZ #3866]
10570 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
10571 range of signed 64-bit integers before using fistpll. Remove
10572 checks for whether integers fit in mantissa bits.
10573 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
10574 the range of signed 32-bit integers before using fistpl. Remove
10575 checks for whether integers fit in mantissa bits.
10576 * sysdeps/i386/fpu/e_powl.S (p64): New object.
10577 (__ieee754_powl): Test for y outside the range of signed 64-bit
10578 integers before using fistpll. Reduce 64-bit values to 63-bit
10579 ones as needed.
10580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
10581 divide-by-zero is raised for zero to large negative powers.
10582 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
10583 (__ieee754_powl): Test for y outside the range of signed 64-bit
10584 integers before using fistpll. Reduce 64-bit values to 63-bit
10585 ones as needed.
10586 * math/libm-test.inc (pow_test): Add more tests.
10587
eb96ffb0
L
105882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10589
10590 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
10591 <stdio-common/_itoa.h>.
10592 * debug/segfault.c: Likewise.
10593 * elf/dl-cache.c: Likewise.
10594 * elf/dl-minimal.c: Likewise.
10595 * elf/dl-misc.c: Likewise.
10596 * elf/dl-sysdep.c: Likewise.
10597 * elf/dl-version.c: Likewise.
10598 * elf/rtld.c: Likewise.
10599 * hurd/hurdsock.c: Likewise.
10600 * hurd/lookup-retry.c: Likewise.
10601 * malloc/malloc.c: Likewise.
10602 * malloc/mtrace.c: Likewise.
10603 * nscd/nscd_getgr_r.c: Likewise.
10604 * nscd/nscd_getpw_r.c: Likewise.
10605 * nscd/nscd_getserv_r.c: Likewise.
10606 * posix/getopt_init.c: Likewise.
10607 * posix/wordexp.c: Likewise.
10608 * stdio-common/_itoa.c: Likewise.
10609 * stdio-common/printf_fphex.c: Likewise.
10610 * stdio-common/vfprintf.c: Likewise.
10611 * string/_strerror.c: Likewise.
10612 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
10613 * sysdeps/i386/i686/hp-timing.h: Likewise.
10614 * sysdeps/mach/_strerror.c: Likewise.
10615 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
10616 * sysdeps/mach/hurd/sethostid.c: Likewise.
10617 * sysdeps/mach/hurd/xmknodat.c: Likewise.
10618 * sysdeps/mach/xpg-strerror.c: Likewise.
10619 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10621 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
10622 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
10623 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10624 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
10625 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10626 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10627 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
10628 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
10629 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
10630 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10631 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
10632 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
10633 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
10634 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
10635 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
10636 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
10637 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10638 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10639 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
10640
10641 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
10642
10643 * stdio-common/_itoa.h: Moved to ...
10644 * sysdeps/generic/_itoa.h: Here.
10645
10646 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
10647
10648 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
10649 instead of "_itoa.h" and "_itowa.h".
10650 * stdio-common/vfprintf.: Likewise.
10651
d1af992d
L
106522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10653
10654 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
10655 <bits/wordsize.h>.
10656 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
10657 (__signbit): Likwise.
10658 (llrintf): Likwise.
10659 (llrint): Likwise.
10660
114883e0
L
106612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
10662
10663 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
10664 __WORDSIZE != 64.
10665
c135cc1b
JM
106662012-03-20 Joseph Myers <joseph@codesourcery.com>
10667
10668 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
10669 OVERFLOW_EXCEPTION_OK.
10670 * math/libm-test.inc ("Philosophy"): Update comment about
10671 exception testing.
10672 (OVERFLOW_EXCEPTION): Define.
10673 (OVERFLOW_EXCEPTION_OK): Likewise.
10674 (INVALID_EXCEPTION_OK): Renumber.
10675 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10676 (IGNORE_ZERO_INF_SIGN): Likewise.
10677 (test_exceptions): Handle FE_OVERFLOW.
10678 (exp10_test): Expect overflow exceptions.
10679 (exp2_test): Likewise.
10680 (expm1_test): Likewise.
10681 (nextafter_test): Likewise.
10682 (pow_test): Likewise.
10683 (scalbn_test): Likewise.
10684 (scalbln_test): Likewise.
10685
95443d88
L
106862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10687
10688 * sysdeps/x86_64/bits/atomic.h
10689 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
10690 64bit integer.
10691 (atomic_exchange_acq): Likewise.
10692 (__arch_exchange_and_add_body): Likewise.
10693 (__arch_add_body): Likewise.
10694 (atomic_add_negative): Likewise.
10695 (atomic_add_zero): Likewise.
10696
490df6c4
L
106972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10698
c2722551 10699 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
10700 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
10701
5e52b189
L
107022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10703
10704 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
10705 Check __x86_64__ instead of __WORDSIZE.
10706
a9879d4c
L
107072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10708
10709 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
10710
5df98260
DM
107112012-03-19 David S. Miller <davem@davemloft.net>
10712
e1497744
DM
10713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10714
5df98260
DM
10715 * sysdeps/sparc/fpu/fenv_private.h: New file.
10716 * sysdeps/sparc/fpu/math_private.h: Use it.
10717 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
10718 Remove.
10719 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
10720 (libc_feholdexcept_setroundl): Remove.
10721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
10722 Remove.
10723 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
10724 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
10725
b4c35121
L
107262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10727
10728 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
10729 int64_t instead of long int.
10730 (INSERT_WORDS64): Likwise.
10731
56965fd7
L
107322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
10733
10734 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
10735 _Unwind_GetCFA return to _Unwind_Ptr first.
10736
83d1aec8
JM
107372012-03-19 Joseph Myers <joseph@codesourcery.com>
10738
1897ad44
JM
10739 [BZ #13629]
10740 * math/s_clog.c: Include <float.h>.
10741 (__clog): Scale large or subnormal inputs.
10742 * math/s_clogf.c: Likewise.
10743 * math/s_clogl.c: Likewise.
10744 * math/s_clog10.c: Include <float.h>.
10745 (M_LOG10_2): Define.
10746 (__clog10): Scale large or subnormal inputs.
10747 * math/s_clog10f.c: Likewise.
10748 * math/s_clog10l.c: Likewise.
10749 * math/libm-test.inc (clog_test): Add more tests.
10750 (clog10_test): Likewise.
10751 * sysdeps/i386/fpu/libm-test-ulps: Update.
10752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10753
7726d6a9
JM
10754 [BZ #11451]
10755 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
10756 x and y.
10757 * math/libm-test.inc (atan2_test): Add another test.
10758
83d1aec8
JM
10759 * Makerules (common-objdir-compile): Remove.
10760 * sysdeps/unix/Makefile (config-generated): Do not add
10761 $(unix-generated) to variable.
10762 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
10763 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
10764 Remove rule.
10765 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
10766 Likewise.
10767 [generic bits/local_lim.h] (before-compile): Do not append to
10768 variable.
10769 [generic bits/local_lim.h] (common-generated): Likewise.
10770 [generic sys/param.h] (before-compile): Do not append to variable.
10771 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
10772 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
10773 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
10774 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
10775 include.
10776 [generic sys/param.h] (sys/param.h-includes): Remove variable.
10777 [generic sys/param.h] (sys/param.h-includes): Remove rule.
10778 [generic sys/param.h] ($(addprefix
10779 $(common-objpfx),$(sys/param.h-includes))): Likewise.
10780 [generic sys/param.h] (common-generated): Do not append to
10781 variable.
10782 [generic sys/param.h] (sysdep_headers): Likewise.
10783 [generic bits/errno.h] (before-compile): Do not append to
10784 variable.
10785 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
10786 rule.
10787 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
10788 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
10789 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
10790 [generic bits/errno.h] (common-generated): Do not append to
10791 variable.
10792 [generic bits/ioctls.h] (before-compile): Do not append to
10793 variable.
10794 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
10795 rule.
10796 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
10797 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
10798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
10799 rule.
10800 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
10801 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
10802 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
10803 [generic bits/ioctls.h] (common-generated): Do not append to
10804 variable.
10805 [generic sys/syscall.h] (syscall.h): Remove variable.
10806 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
10807 rule.
10808 [generic sys/syscall.h] (before-compile): Do not append to
10809 variable.
10810 [generic sys/syscall.h] (common-generated): Likewise.
10811 * sysdeps/unix/errnos-tmpl.c: Remove file.
10812 * sysdeps/unix/errnos.awk: Likewise.
10813 * sysdeps/unix/ioctls-tmpl.c: Likewise.
10814 * sysdeps/unix/ioctls.awk: Likewise.
10815 * sysdeps/unix/mk-local_lim.c: Likewise.
10816 * sysdeps/unix/snarf-ioctls: Likewise.
10817
4851a949
RH
108182012-03-19 Richard Henderson <rth@twiddle.net>
10819
bd37f2ee
RH
10820 * sysdeps/i386/fpu/fenv_private.h: New file.
10821 * sysdeps/i386/fpu/math_private.h: Use it.
10822 (math_opt_barrier, math_force_eval): Remove.
10823 (libc_feholdexcept_setround_53bit): Remove.
10824 (libc_feupdateenv_53bit): Remove.
10825 * sysdeps/x86_64/fpu/math_private.h: Likewise.
10826 (math_opt_barrier, math_force_eval): Remove.
10827 (libc_feholdexcept): Remove.
10828 (libc_feholdexcept_setround): Remove.
10829 (libc_fetestexcept, libc_fesetenv): Remove.
10830 (libc_feupdateenv_test): Remove.
10831 (libc_feupdateenv, libc_feholdsetround): Remove.
10832 (libc_feresetround): Remove.
10833
d0adc922
RH
10834 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
10835 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10836
0fe0f1f8
RH
10837 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
10838 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
10839 (libc_feupdateenv_testl): New.
10840 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
10841 (libc_feupdateenv_testf): New.
10842 (libc_feupdateenv): Use libc_feupdateenv_test.
10843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
10845
eb92c487
RH
10846 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
10847 (libc_feholdsetroundf, libc_feholdsetroundl): New.
10848 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
10849 (libc_feresetround_noex): New.
10850 (libc_feresetround_noexf): New.
10851 (libc_feresetround_noexl): New.
10852 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
10853 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
10854 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
10855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
10856 SET_RESTORE_ROUND.
10857 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
10859 (__cos): Likewise.
10860 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
10861 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
10862 SET_RESTORE_ROUND_NOEX.
10863 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
10864 SET_RESTORE_ROUND_NOEXF.
10865 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
10866 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
10867 (libc_feholdsetroundf): New.
10868 (libc_feresetround, libc_feresetroundf): New.
10869
7d2e8012
RH
10870 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
10871 (libc_feholdexcept_setround_53bit): Convert from macro to function.
10872 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
10873
b4dabbb4
RH
10874 * sysdeps/generic/math_private.h: Include <fenv.h>.
10875 (default_libc_feholdexcept): New.
10876 (default_libc_feholdexcept_setround): New.
10877 (default_libc_fesetenv, default_libc_feupdateenv): New.
10878 (libc_feholdexcept): Only define if undefined.
10879 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
10880 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
10881 (libc_feholdexcept_setroundl): Likewise.
10882 (libc_feholdexcept_setround_53bit): Likewise.
10883 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
10884 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
10885 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
10886 (libc_feupdateenv_53bit): Likewise.
10887 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
10888 (libc_feholdexcept): Convert from macro to inline function.
10889 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
10890 (libc_fesetenv, libc_feupdateenv): Likewise.
10891
4851a949
RH
10892 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
10893 not previously defined.
10894 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
10895 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
10896 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
10897 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
10898 * sysdeps/ieee754/flt-32/math_private.h: New file.
10899 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
10900 math_private.h below SET_FLOAT_WORD.
10901 (__isnan, __isinf_ns, __finite): Remove.
10902 (__isnanf, __isinf_nsf, __finitef): Remove.
10903
e79d442e
AS
109042012-03-18 Andreas Schwab <schwab@linux-m68k.org>
10905
10906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10907
90b80344
DM
109082012-03-17 David S. Miller <davem@davemloft.net>
10909
10910 [BZ #6471]
10911 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
10912 for 2.16.
10913
edc21804
DM
109142012-03-16 David S. Miller <davem@davemloft.net>
10915
77e927af
DM
10916 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
10917 warnings.
10918
374976dd
DM
10919 [BZ #6471]
10920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
10921 properly.
10922 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
10923 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
10924 sysdep_routines when subdir is sysvipc.
10925 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
10926 __getshmlba helper.
10927
edc21804
DM
10928 * sysdeps/sparc/fpu/libm-test/ulps: Update.
10929
473c3ef3
L
109302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10931
10932 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
10933 [__LP64__].
10934
eb0f39b6
L
109352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10936
10937 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
10938 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
10939 (__lround): Renamed to ...
10940 (__llround): This. Replace long int with long long int.
10941 Define lround functions as aliases of llround functions.
10942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10943
6b6cd74b
L
109442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
10947 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
10948 adresses to uintptr_t. Replace "long int" and "unsigned long
10949 int" with "greg_t" on va_arg.
10950
f1a77b01
L
109512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
10952
10953 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
10954 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
10955
10956 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
10957 Move e_machine check before EI_CLASS check. Handle x32
10958 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
10959 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
10960 SKIP_EM_IA_64 and include
10961 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
10962
10963 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
10964 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
10965 (add_system_dir): New macro.
10966
10967 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
10968 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
10969
11b90b9f
JM
109702012-03-16 Joseph Myers <joseph@codesourcery.com>
10971
c36e1d23
JM
10972 [BZ #2551]
10973 [BZ #2552]
10974 [BZ #2553]
10975 [BZ #2554]
10976 [BZ #2562]
10977 [BZ #2563]
10978 [BZ #2565]
10979 [BZ #2566]
10980 [BZ #2576]
10981 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
10982 (y0): Likewise.
10983 * math/w_j0f.c (j0f): Likewise.
10984 (y0f): Likewise.
10985 * math/w_j0l.c (__j0l): Likewise.
10986 (__y0l): Likewise.
10987 * math/w_j1.c (j1): Likewise.
10988 (y1): Likewise.
10989 * math/w_j1f.c (j1f): Likewise.
10990 (y1f): Likewise.
10991 * math/w_j1l.c (__j1l): Likewise.
10992 (__y1l): Likewise.
10993 * math/w_jn.c (jn): Likewise.
10994 (yn): Likewise.
10995 * math/w_jnf.c (jnf): Likewise.
10996 (ynf): Likewise.
10997 * math/w_jnl.c (__jnl): Likewise.
10998 (__ynl): Likewise.
10999 * math/libm-test.inc (j0_test): Add more tests.
11000 (j1_test): Likewise.
11001 (jn_test): Likewise. Add trailing semicolon to existing test.
11002 (y0_test): Likewise.
11003 (y1_test): Likewise.
11004 * sysdeps/i386/fpu/libm-test-ulps: Update.
11005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11006
11b90b9f
JM
11007 [BZ #13851]
11008 [BZ #13854]
11009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
11010 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
11011 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
11012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
11013 (__tanl): Set errno for infinite argument.
11014 * sysdeps/i386/fpu/mptan.c: Remove.
11015 * sysdeps/i386/fpu/s_tan.S: Likewise.
11016 * sysdeps/i386/fpu/s_tanl.S: Likewise.
11017 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
11018 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
11019 * math/libm-test.inc (tan_test): Add more tests and enable more
11020 tests for double and long double.
11021 * sysdeps/i386/fpu/libm-test-ulps: Update.
11022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11023
6a1bd2a1
JK
110242012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11025
11026 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
11027 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
11028
10a803e0
RM
110292012-03-16 Roland McGrath <roland@hack.frob.com>
11030
11031 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
11032 * configure.in: Use it for both main tree and add-ons.
11033 * configure: Regenerated.
11034
f196c7f7
L
110352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
11036
11037 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
11038
8848d99d
JM
110392012-03-16 Joseph Myers <joseph@codesourcery.com>
11040
96cbe7f4
JM
11041 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
11042 in comment.
11043
8848d99d
JM
11044 [BZ #13851]
11045 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
11046 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
11047 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
11048 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
11049 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
11050 infinite argument.
11051 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
11052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
11053 != 0 for prec == 2.
11054 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
11055 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
11056 * sysdeps/i386/fpu/s_cosl.S: Likewise.
11057 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
11058 * sysdeps/i386/fpu/s_sinl.S: Likewise.
11059 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
11060 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
11061 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
11062 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
11063 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
11064 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
11065 * math/libm-test.inc (cos_test): Add more tests and enable more
11066 tests for long double.
11067 (sin_test): Likewise.
11068 (sincos_test): Likewise.
11069 * sysdeps/i386/fpu/libm-test-ulps: Update.
11070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11071
dd7f4703
DM
110722012-03-16 David S. Miller <davem@davemloft.net>
11073
11074 * sysdeps/sparc/fpu/math_private.h: New file.
11075
006f1daa
DM
110762012-03-15 David S. Miller <davem@davemloft.net>
11077
c0c83bc8
DM
11078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
11079 file.
e6a62e18 11080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
11081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
11082 file.
e6a62e18
DM
11083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
11084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
11085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
11086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
11087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
11088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
11089 sysdep routines.
11090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11091
88cb87d9
DM
11092 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
11093 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
11094
006f1daa 11095 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
11096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
11097 sparc-ifunc.h
006f1daa 11098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
11099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
11100 Likewise.
11101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
11102 Likewise.
006f1daa
DM
11103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
11104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
11105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
11106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11107 Likewise.
006f1daa
DM
11108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
11110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
11112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
11113 Likewise.
11114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
11115 Likewise.
006f1daa
DM
11116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
11118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
11123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
11124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
11127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
11128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
11129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
11130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
11131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
11132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
11133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
11134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
11135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
11136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
11137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
11138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
11139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
11140
11e0098e
AS
111412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11142
11143 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
11144 scaling.
11145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11146
e85b09d0
AJ
111472012-03-15 Andreas Jaeger <aj@suse.de>
11148
11149 [BZ #13852]
11150 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
11151 ieee754/flt-32 implementation for sin, cos and sincos.
11152 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
11153 * sysdeps/i386/fpu/s_cosf.S: Likewise.
11154 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
11155 * sysdeps/i386/fpu/s_sinf.S: Likewise.
11156 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
11157 ieee754/flt-32 implementation for tan.
11158
11159 * math/libm-test.inc (cos_test): Enable some large input tests for
11160 float as well
11161 (sin_test): Likewise.
11162 (sincos_test): Likewise.
11163 (tan_test): Add tests for large input.
11164
11165 * sysdeps/i386/fpu/libm-test-ulps: Update.
11166
81c64153
AJ
111672012-03-15 Andreas Jaeger <aj@suse.de>
11168
11169 [BZ #13658]
11170 * math/libm-test.inc (cos_test): Add more test cases.
11171 (sin_test): Likewise.
11172 (sincos_test): Likewise.
11173
7bbfa5c6
AJ
111742012-03-15 Andreas Jaeger <aj@suse.de>
11175
11176 [BZ #13837]
11177 * math/libm-test.inc (cos_test): Add a test case for large input
11178 value.
11179 (sin_test): Likewise.
11180 (sincos_test): Likewise.
11181
111822012-03-15 Andreas Jaeger <aj@suse.de>,
11183 Joseph Myers <joseph@codesourcery.com>
11184
11185 [BZ #13658]
0671f479 11186 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
11187 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
11188 * sysdeps/i386/fpu/branred.c: Likewise.
11189 * sysdeps/i386/fpu/dosincos.c: Likewise.
11190 * sysdeps/i386/fpu/mpa.c: Likewise.
11191 * sysdeps/i386/fpu/s_cos.S: Likewise.
11192 * sysdeps/i386/fpu/s_sin.S: Likewise.
11193 * sysdeps/i386/fpu/s_sincos.S: Likewise.
11194 * sysdeps/i386/fpu/sincos32.c: Likewise.
11195
11196 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
11197 Define.
11198 (libc_feupdateenv_53bit): Define.
11199 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
11200 Define.
11201 (libc_feupdateenv_53bit): Define.
11202
11203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
11204 53 bit (without extend i386 double precision).
11205
11206 * math/libm-test.inc (sincos_test): Add tests for large input.
11207 (sin): Likewise.
11208 (cos): Likewise.
11209
11210 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11211
9cad04ea
AS
112122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
11213
11214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11215
f7062b9a
DM
112162012-03-15 David S. Miller <davem@davemloft.net>
11217
11218 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
11219 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
11220 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
11221 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
11222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
11223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
11224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
11225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
11226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
11227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
11228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
11229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
11230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
11231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
11232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
11233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
11234 file.
f7062b9a 11235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
11236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
11237 file.
f7062b9a 11238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
11239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
11240 file.
f7062b9a 11241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
11242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
11243 file.
f7062b9a
DM
11244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
11245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
11246 fmin/fmax sysdep routines.
11247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11248
7bd951ff
DM
112492012-03-14 David S. Miller <davem@davemloft.net>
11250
559398ab
DM
11251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
11252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
11253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
11254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
11255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
11256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
11257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
11258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
11259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
11260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
11261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
11262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
11263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
11264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
11265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
11266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
11267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
11268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
11269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
11270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
11271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
11272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
11273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
11274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
11275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
11276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
11277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
11278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
11280 routines.
11281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
11282 file.
559398ab 11283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
11284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
11285 file.
559398ab 11286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
11287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
11288 file.
559398ab 11289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
11290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
11291 file.
559398ab 11292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
11293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
11294 file.
559398ab 11295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
11296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
11297 file.
11298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
11299 file.
11300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
11301 file.
11302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
11303 file.
11304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
11305 New file.
11306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
11307 file.
11308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
11309 file.
559398ab 11310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
11311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
11312 file.
559398ab 11313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
11314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
11315 file.
559398ab 11316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
11317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
11318 file.
559398ab 11319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
11320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
11321 VIS3 routines.
559398ab
DM
11322
11323 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11324 New file.
11325
5a1c1e32
DM
11326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11327
eae47a36
DM
11328 * sysdeps/sparc/configure.in: New file.
11329 * sysdeps/sparc/configure: Generate.
11330 * configure.in (libc_cv_sparc_as_vis3): Substitute.
11331 * configure: Regenerate.
11332 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
11333 * config.make.in (have-as-vis3): New.
11334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
11335 available use -Av9d instead of -Av9a.
11336 * sysdeps/sparc/sparc64/Makefile: Likewise.
11337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
11338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
11339 New file.
11340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
11341 file.
11342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
11343 New file.
11344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
11345 file.
eae47a36
DM
11346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
11347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
11348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
11349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
11350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
11351
c0c83bc8
DM
11352 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
11353 fzeros/fnegs to load 0x80000000 into a float register instead of
11354 using the stack.
7bd951ff
DM
11355 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
11356
bd951ccb
JM
113572012-03-14 Joseph Myers <joseph@codesourcery.com>
11358
11359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11360 bits/syscall.h.
11361 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
11362 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
11363 ($(inst_includedir)/bits/syscall.h): Remove rule.
11364 ($(objpfx)bits/syscall.d): Include instead of
11365 $(objpfx)syscall-list.d.
11366 (generated): Change syscall-list.h and syscall-list.d to
11367 bits/syscall.h and bits/syscall.d.
11368
bb4e6db2
RM
113692012-03-14 Roland McGrath <roland@hack.frob.com>
11370
11371 [BZ #13846]
11372 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
11373
aa4a2ae1
JM
113742012-03-14 Joseph Myers <joseph@codesourcery.com>
11375
e456826d
JM
11376 [BZ #13841]
11377 * math/s_csqrt.c: Include <float.h>.
11378 (__csqrt): Scale large or subnormal inputs.
11379 * math/s_csqrtf.c: Likewise.
11380 * math/s_csqrtl.c: Likewise.
11381 * math/libm-test.inc (csqrt_test): Add more tests.
11382 * sysdeps/i386/fpu/libm-test-ulps: Update.
11383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11384
aa4a2ae1
JM
11385 [BZ #13840]
11386 * math/libm-test.inc (hypot_test): Add more tests.
11387
7c10fd35
DM
113882012-03-13 David S. Miller <davem@davemloft.net>
11389
11390 [BZ #13840]
11391 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
11392 double-precision for the calculation instead of scaling.
11393
f453b98b
JM
113942012-03-13 Joseph Myers <joseph@codesourcery.com>
11395
11396 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
11397 manipulate bits before adding and subtracting TWO52[sx].
11398 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
11399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
11400 Likewise.
11401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
11402
09a3453f
DM
114032012-03-13 David S. Miller <davem@davemloft.net>
11404
8e59da90
DM
11405 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
11406 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
11407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
11408 rtld-global-offsets.h
11409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11410
2a8ab7f2
DM
11411 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
11412 large parameters.
11413
10f62770
DM
11414 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
11415
5f0bdb18
DM
11416 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
11417 'err' in the ifdef scope in which it is actually used.
11418
09a3453f
DM
11419 * nss/nss_db/db-init.c: Include string.h
11420
b4b2eb5e
DM
114212012-03-12 David S. Miller <davem@davemloft.net>
11422
98bb2f1c
DM
11423 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11424 masking out of the most significant byte of random value used.
11425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11426 Fix coding style in previous change.
11427
b4b2eb5e
DM
11428 * sysdeps/unix/sysv/linux/kernel-features.h
11429 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
11430 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
11431 expression.
11432 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
11433 later.
11434
6e226b09
DM
114352012-03-11 David S. Miller <davem@davemloft.net>
11436
a1bcbd40
DM
11437 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11438 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
11439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
11440 for 'resultvar' otherwise things get truncated on 64-bit.
11441
cb9d6174
DM
11442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11443 Fix masking out of the most significant byte of random value used.
11444
6e226b09
DM
11445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11446
058c132d
AS
114472012-03-10 Andreas Schwab <schwab@linux-m68k.org>
11448
11449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11450
2d2cd515
DM
114512012-03-09 David S. Miller <davem@davemloft.net>
11452
11453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
11454 variables with appropriate CPP guards.
11455 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
11456 frame pointer, not the stack pointer. Correct layout comments. Fix test
11457 on resulting framesize and the management of the outregs buffer for pltexit.
11458 Preserve floating point return values across _dl_call_pltexit call.
11459 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
11460 framesize and the management of the outregs buffer for pltexit.
11461 Preserve floating point return values across _dl_call_pltexit
11462 call.
11463 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
11464 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
11465 (print_exit): Fix format string for return register value.
11466
9a07f9d0
JM
114672012-03-10 Joseph Myers <joseph@codesourcery.com>
11468
11469 * sunrpc/Makefile (others): Add rpcgen.
11470 ($(objpfx)rpcgen): Remove special build rule and dependency on
11471 libc.
11472 * sunrpc/rpcgen.c: New file.
11473
547b5e30
PE
114742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
11475
c524201a
PE
11476 [BZ #13673]
11477 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
11478 * stdio-common/bug-vfprintf-nargs.c: Likewise.
11479 * sysdeps/i386/crti.S: Likewise.
11480 * sysdeps/i386/crtn.S: Likewise.
11481 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
11482 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
11483 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
11484 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
11485 * sysdeps/sh/crti.S: Likewise.
11486 * sysdeps/sh/crtn.S: Likewise.
11487 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11488
7b6235f2
PE
11489 [BZ #13673]
11490 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
11491 with URL.
11492 * locale/programs/locfile-kw.gperf: Likewise.
11493 * locale/programs/charmap-kw.h: Regenerated.
11494 * locale/programs/locfile-kw.h: Likewise.
11495
547b5e30
PE
11496 [BZ #13673]
11497 * intl/plural.y: Replace FSF snail mail address with URL.
11498 * intl/plural.c: Regenerated.
11499
5f0a5dae
RH
115002012-03-09 Richard Henderson <rth@twiddle.net>
11501
11502 * include/math_private.h: Remove file.
11503 * math/math_private.h: Move file ...
11504 * sysdeps/generic/math_private.h: ... here.
11505
b8c03620
RH
11506 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
11507 * sysdeps/powerpc/fpu/math_private.h: Likewise.
11508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
11509
4e234f5d 11510 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
11511 and <math_private.h>.
11512 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11513 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11514 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11515 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11516 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11517 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
11518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11524 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11526 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11527 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11534 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
11553 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11556 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11557 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11558 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
11559 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11562 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11563 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
11564 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11566 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11567 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11568 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11571 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
11572 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11573 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11575 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11576 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
11577 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11578 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11579 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
11581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
11599 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11600 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11603 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11605 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11606 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11607 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11612 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11613 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11614 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11615 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11617 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11618 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11619 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11620 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11622 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11623 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11625 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11626 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
11627 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11629 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11630 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11631 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11632 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11633 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11635 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
11636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11639 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
11640 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11641 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
11642 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
11643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11644 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11645 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
11646 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
11647 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11649 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11650 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
11651 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11653 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11654 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11655 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
11656 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
11657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11660 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11661 * sysdeps/ieee754/k_standard.c: Likewise.
11662 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11665 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11666 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11667 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11668 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11679 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11680 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11681 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11682 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11683 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11688 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11695 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11697 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11698 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11699 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
11700 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11701 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11702 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11703 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11704 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11713 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11715 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11718 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11724 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11729 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11743 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11744 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11745 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
11747 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11748 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
11753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11754 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11760 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11761 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
11762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11766 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
11767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11769 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11770 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
11771 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11773 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11774 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11778 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11787 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
11788 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11789 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11790 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11792 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11793 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11794 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11795 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11798 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
11799 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11801 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
11802 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
11803 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11804 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
11805 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
11806 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11808 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11811 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
11812 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11813 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11816 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
11817 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
11818 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11821 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11822 * sysdeps/ieee754/s_lib_version.c: Likewise.
11823 * sysdeps/ieee754/s_matherr.c: Likewise.
11824 * sysdeps/ieee754/s_signgam.c: Likewise.
11825 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
11828 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
11829 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
11830 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11831 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
11832 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
11833 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
11834 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
11835 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11836 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
11837 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11838 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11839 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
11840 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11841 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11842 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 11846
1991fa03
JM
118472012-03-09 Joseph Myers <joseph@codesourcery.com>
11848
11849 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
11850 * sunrpc/rpc_main.c: Likewise.
11851 * sunrpc/rpc_svcout.c: Likewise.
11852
60d6f5a6
DM
118532012-03-09 David S. Miller <davem@davemloft.net>
11854
11855 * include/math_private.h: New file.
11856
4962050e
JM
118572012-03-09 Joseph Myers <joseph@codesourcery.com>
11858
02a6f887
JM
11859 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
11860 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
11861 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
11862 from <bits/socket_type.h>.
11863 (enum __socket_type): Don't define here.
11864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
11865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11866 bits/socket_type.h.
11867
c6e013c1
JM
11868 [BZ #13566]
11869 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
11870 checking __USE_GNU.
11871
4962050e
JM
11872 * Makerules ($(inst_includedir)/%.h): New rule.
11873 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
11874 (install-others): Remove variable setting.
11875 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
11876
38842f45
RH
118772012-03-08 Richard Henderson <rth@twiddle.net>
11878
67bb6da6
RH
11879 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
11880 from macro to inline function; merge with the
11881 !__LIBC_INTERNAL_MATH_INLINES version.
11882 (__ieee754_sqrtf): Likewise.
11883
15194b4b
RH
11884 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
11885 to inline function.
11886 (__rintf, __floor, __floorf): Likewise.
11887
64e21ede
RH
11888 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
11889 macro to inline function.
11890 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
11891
38842f45
RH
11892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
11893 not <math/math_private.h>.
11894
c64bf5fe
DM
118952012-03-08 David S. Miller <davem@davemloft.net>
11896
11897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
11898 copyright year.
11899 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11900
82d86f28
TS
119012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
11902
11903 * resolv/gai_misc.c (handle_requests): Fix struct timespec
11904 normalization.
11905 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
11906 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11907
aea5d727
UD
119082012-03-08 Ulrich Drepper <drepper@gmail.com>
11909
11910 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
11911 be defined individually, they must be defined as a block. Define
11912 S for printing a string instead of hidint the different by using a
11913 macro for adding the 'l'.
11914 * stdio-common/tst-fphex-wide.c: Adjust.
11915
70bca0a3
MP
119162012-03-07 Marek Polacek <polacek@redhat.com>
11917
11918 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
11919
65b81130
MP
119202012-03-08 Marek Polacek <polacek@redhat.com>
11921
11922 [BZ #13806]
11923 * stdio-common/Makefile (tests): Add tst-fphex-wide.
11924 * stdio-common/tst-fphex.c: Define a few macros to make the
11925 test reusable. Use them.
11926 * stdio-common/tst-fphex-wide.c: New file.
11927
07037eeb
JM
119282012-03-08 Joseph Myers <joseph@codesourcery.com>
11929
a7a93d50
JM
11930 [BZ #6911]
11931 * manual/macros.texi (gnusystems): New macro.
11932 (nongnusystems): Likewise.
11933 (gnulinuxhurdsystems): Likewise.
11934 (gnuhurdsystems): Likewise..
11935 (gnulinuxsystems): Likewise.
11936 * manual/charset.texi: Use new macros or @theglibc{} to refer to
11937 variants of the GNU system, not "GNU system".
11938 * manual/conf.texi: Likewise.
11939 * manual/errno.texi: Likewise. Update example of errno macro
11940 expansion.
11941 * manual/filesys.texi: Likewise.
11942 (getumask): Document as specific to GNU/Hurd.
11943 * manual/install.texi: Likewise. Reword some references to
11944 GNU/Linux.
11945 * manual/intro.texi: Likewise.
11946 * manual/io.texi: Likewise.
11947 (File Name Portability): Detail which constraints are inapplicable
11948 to all GNU systems and which are only inapplicable to GNU/Hurd.
11949 * manual/job.texi: Likewise.
11950 * manual/llio.texi: Likewise.
11951 (O_NOCTTY): Document as present on GNU/Linux.
11952 * manual/maint.texi: Likewise.
11953 * manual/memory.texi: Likewise.
11954 * manual/pattern.texi: Likewise.
11955 * manual/pipe.texi: Likewise.
11956 * manual/process.texi: Likewise.
11957 * manual/resource.texi: Likewise.
11958 (RUSAGE_CHILDREN): Remove statement about specifying a particular
11959 child on GNU/Hurd.
11960 * manual/setjmp.texi: Likewise.
11961 * manual/signal.texi: Likewise.
11962 * manual/startup.texi: Likewise.
11963 * manual/stdio.texi: Likewise.
11964 * manual/terminal.texi: Likewise.
11965 (ONLCR): Document as POSIX.
11966 (OXTABS): Document availability on GNU/Linux as XTABS.
11967 (ONOEOT): Document availability separately from other bits.
11968 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
11969 * manual/time.texi: Likewise.
11970 * manual/users.texi: Likewise.
11971 * INSTALL: Regenerated.
11972 * sysdeps/gnu/errlist.c: Regenerated.
11973
07037eeb
JM
11974 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
11975 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
11976 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
11977 puts.
11978 * configure: Regenerated.
11979
d1d3431a
JM
119802012-03-07 Joseph Myers <joseph@codesourcery.com>
11981
af6a1e37
JM
11982 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
11983 default includes instead of AC_HEADER_CHECK.
11984 * sysdeps/i386/configure: Regenerated.
11985
d1d3431a
JM
11986 [BZ #10716]
11987 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
11988 * math/s_cacoshf.c (__cacoshf): Likewise.
11989 * math/s_cacoshl.c (__cacoshl): Likewise.
11990 * math/s_casinh.c (__casinh): Set signs of result from argument.
11991 * math/s_casinhf.c (__casinhf): Likewise.
11992 * math/s_casinhl.c (__casinhl): Likewise.
11993 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
11994 (casinh_test): Add more tests.
11995 * sysdeps/i386/fpu/libm-test-ulps: Update.
11996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11997
482ff4da
UD
119982012-03-07 Ulrich Drepper <drepper@gmail.com>
11999
872fda05
UD
12000 * po/zh_TW.po: Update from translation team.
12001
a4300c7a
UD
12002 * login/Makefile (distribute): Remove variable.
12003 * catgets/Makefile: Likewise.
12004 * mach/Makefile: Likewise.
12005 * malloc/Makefile: Likewise.
12006 * misc/Makefile: Likewise.
12007 * iconv/Makefile: Likewise.
12008 * nscd/Makefile: Likewise.
12009 * hurd/Makefile: Likewise.
12010 * manual/Makefile: Likewise.
12011 * locale/Makefile: Likewise.
12012 * intl/Makefile: Likewise.
12013 * conform/Makefile: Likewise.
12014 * nss/Makefile: Likewise.
12015 * time/Makefile: Likewise.
12016 * soft-fp/Makefile: Likewise.
12017 * dirent/Makefile: Likewise.
12018 * gmon/Makefile: Likewise.
12019 * po/Makefile: Likewise.
12020 * rt/Makefile: Likewise.
12021 * socket/Makefile: Likewise.
12022 * math/Makefile: Likewise.
12023 * signal/Makefile: Likewise.
12024 * debug/Makefile: Likewise.
12025 * elf/Makefile: Likewise.
12026 * timezone/Makefile: Likewise.
12027 * stdlib/Makefile: Likewise.
12028 * iconvdata/Makefile: Likewise.
12029 * sunrpc/Makefile: Likewise.
12030 * io/Makefile: Likewise.
12031 * argp/Makefile: Likewise.
12032 * inet/Makefile: Likewise.
12033 * hesiod/Makefile: Likewise.
12034 * grp/Makefile: Likewise.
12035 * csu/Makefile: Likewise.
12036 * wctype/Makefile: Likewise.
12037 * crypt/Makefile: Likewise.
12038 * libio/Makefile: Likewise.
12039 * string/Makefile: Likewise.
12040 * nis/Makefile: Likewise.
12041 * resolv/Makefile: Likewise.
12042 * stdio-common/Makefile: Likewise.
12043 * wcsmbs/Makefile: Likewise.
12044 * dlfcn/Makefile: Likewise.
12045 * posix/Makefile: Likewise.
12046
3b7c4e74 12047 [BZ #6959]
482ff4da
UD
12048 * timezone/Makefile: Don't install timezone files, just the programs
12049 and scripts.
12050
f72ed77d
UD
120512012-03-06 Ulrich Drepper <drepper@gmail.com>
12052
a000466f
UD
12053 * nss/databases.def: Add missing gshadow entry.
12054
f72ed77d
UD
12055 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
12056
a53b7a4e
MP
120572012-03-06 Marek Polacek <polacek@redhat.com>
12058
12059 [BZ #13726]
12060 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
12061 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12062 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
12063 * stdio-common/tst-long-dbl-fphex.c: New file.
12064
e9258400
DM
120652012-03-06 David S. Miller <davem@davemloft.net>
12066
12067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12068 (set_obp_int): New function.
12069 (get_obp_int): New function.
12070 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
12071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
12072 Avoid unused variable warnings on 'val' and use builtin_expect.
12073 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
12074 __builtin_expect.
e9258400
DM
12075 (INLINE_CLONE_SYSCALL): Likewise.
12076
3bd2c723
DM
120772012-03-05 David S. Miller <davem@davemloft.net>
12078
12079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12080
bbb78d03
AS
120812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
12082
884c5db4
AS
12083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12084
bbb78d03
AS
12085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
12086 only for |x| >= 40.
12087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12088
1c9f702a 120892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
12090
12091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
12092 Replace gettimeofday with __vdso_gettimeofday.
12093
7be16f82
RM
12094 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12095 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
12096 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
12097
12098 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
12099 time with __vdso_time.
12100
ed58a00f
JM
121012012-03-05 Joseph Myers <joseph@codesourcery.com>
12102
12103 * manual/lang.texi (size_t): Note types to which size_t may be
12104 equivalent with the GNU C Library, but do not describe when
12105 differences between them are significant.
12106
30ee4ced
AJ
121072012-03-05 Andreas Jaeger <aj@suse.de>
12108
12109 * sysdeps/i386/fpu/libm-test-ulps: Update.
12110
b7cd39e8
JM
121112012-03-05 Joseph Myers <joseph@codesourcery.com>
12112
12113 [BZ #3976]
12114 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
12115 (__ieee754_pow): Save and restore rounding mode and use
12116 round-to-nearest for main computations.
12117 * math/libm-test.inc (pow_test_tonearest): New function.
12118 (pow_test_towardzero): Likewise.
12119 (pow_test_downward): Likewise.
12120 (pow_test_upward): Likewise.
12121 (main): Call the new functions.
12122 * sysdeps/i386/fpu/libm-test-ulps: Update.
12123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
12124
12125 [BZ #3976]
12126 * math/libm-test.inc (cosh_test_tonearest): New function.
12127 (cosh_test_towardzero): Likewise.
12128 (cosh_test_downward): Likewise.
12129 (cosh_test_upward): Likewise.
12130 (sinh_test_tonearest): Likewise.
12131 (sinh_test_towardzero): Likewise.
12132 (sinh_test_downward): Likewise.
12133 (sinh_test_upward): Likewise.
12134 (main): Call the new functions.
12135 * sysdeps/i386/fpu/libm-test-ulps: Update.
12136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12137
6c6a98c9
TV
121382012-03-05 Tom de Vries <tom@codesourcery.com>
12139
12140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
12141 default stack guard is set in last bytes.
12142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
12143
21bb2d2e 121442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 12145
21bb2d2e 12146 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 12147
21bb2d2e
AJ
12148 [BZ #13656]
12149 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
12150 possibly allocate from heap instead of stack.
12151 * stdio-common/bug-vfprintf-nargs.c: New file.
12152 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 12153
c6922934
AS
121542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
12155
12156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12157
bc957d53
MP
121582012-03-03 Marek Polacek <polacek@redhat.com>
12159
12160 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
12161 * math/math_private.h: Likewise.
12162 * stdlib/tst-strtod.c: Likewise.
12163 * sysdeps/i386/i486/bits/atomic.h: Likewise.
12164 * sysdeps/x86_64/bits/atomic.h: Likewise.
12165
6358490d
DM
121662012-03-02 David S. Miller <davem@davemloft.net>
12167
12168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
12169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
12170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
12171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
12172 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
12173 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
12174 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
12175 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
12176
01ae168d
RM
121772012-03-02 Roland McGrath <roland@hack.frob.com>
12178
d9a17c07
RM
12179 [BZ #13792]
12180 * manual/examples/README: New file, says the example source files
12181 can be used under GPL>=2.
12182 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
12183 line containing just "*/".
12184 * manual/examples/add.c: Add copyright header (GPL>=2).
12185 * manual/examples/argp-ex1.c: Likewise.
12186 * manual/examples/argp-ex2.c: Likewise.
12187 * manual/examples/argp-ex3.c: Likewise.
12188 * manual/examples/argp-ex4.c: Likewise.
12189 * manual/examples/atexit.c: Likewise.
12190 * manual/examples/db.c: Likewise.
12191 * manual/examples/dir.c: Likewise.
12192 * manual/examples/dir2.c: Likewise.
12193 * manual/examples/execinfo.c: Likewise.
12194 * manual/examples/filecli.c: Likewise.
12195 * manual/examples/filesrv.c: Likewise.
12196 * manual/examples/fmtmsgexpl.c: Likewise.
12197 * manual/examples/genpass.c: Likewise.
12198 * manual/examples/inetcli.c: Likewise.
12199 * manual/examples/inetsrv.c: Likewise.
12200 * manual/examples/isockad.c: Likewise.
12201 * manual/examples/longopt.c: Likewise.
12202 * manual/examples/memopen.c: Likewise.
12203 * manual/examples/memstrm.c: Likewise.
12204 * manual/examples/mkfsock.c: Likewise.
12205 * manual/examples/mkisock.c: Likewise.
12206 * manual/examples/mygetpass.c: Likewise.
12207 * manual/examples/pipe.c: Likewise.
12208 * manual/examples/popen.c: Likewise.
12209 * manual/examples/rprintf.c: Likewise.
12210 * manual/examples/search.c: Likewise.
12211 * manual/examples/select.c: Likewise.
12212 * manual/examples/setjmp.c: Likewise.
12213 * manual/examples/sigh1.c: Likewise.
12214 * manual/examples/sigusr.c: Likewise.
12215 * manual/examples/stpcpy.c: Likewise.
12216 * manual/examples/strdupa.c: Likewise.
12217 * manual/examples/strftim.c: Likewise.
12218 * manual/examples/strncat.c: Likewise.
12219 * manual/examples/subopt.c: Likewise.
12220 * manual/examples/swapcontext.c: Likewise.
12221 * manual/examples/termios.c: Likewise.
12222 * manual/examples/testopt.c: Likewise.
12223 * manual/examples/testpass.c: Likewise.
12224 * manual/examples/timeval_subtract.c: Likewise.
12225
01ae168d
RM
12226 [BZ #13792]
12227 * manual/time.texi (Elapsed Time): Move timeval_subtract example
12228 function to ...
12229 * manual/timeval_subtract.c.texi: ... here, new file.
12230
49efa33d
DM
122312012-03-02 David S. Miller <davem@davemloft.net>
12232
12233 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
12234
28afd92d
JM
122352012-03-02 Joseph Myers <joseph@codesourcery.com>
12236
804360ed
JM
12237 [BZ #3976]
12238 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
12239 (__sin): Save and restore rounding mode and use round-to-nearest
12240 for all computations.
12241 (__cos): Save and restore rounding mode and use round-to-nearest
12242 for all computations.
12243 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
12244 <fenv.h>.
12245 (tan): Save and restore rounding mode and use round-to-nearest for
12246 all computations.
12247 * math/libm-test.inc (cos_test_tonearest): New function.
12248 (cos_test_towardzero): Likewise.
12249 (cos_test_downward): Likewise.
12250 (cos_test_upward): Likewise.
12251 (sin_test_tonearest): Likewise.
12252 (sin_test_towardzero): Likewise.
12253 (sin_test_downward): Likewise.
12254 (sin_test_upward): Likewise.
12255 (tan_test_tonearest): Likewise.
12256 (tan_test_towardzero): Likewise.
12257 (tan_test_downward): Likewise.
12258 (tan_test_upward): Likewise.
12259 (main): Call the new functions.
12260 * sysdeps/i386/fpu/libm-test-ulps: Update.
12261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12262
a6d06d7b
JM
12263 [BZ #10135]
12264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
12265 small n, then large n, before computing and testing k+n.
12266 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
12268 Likewise.
12269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
12270 Likewise.
12271 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
12272 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
12273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
12274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
12278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
12279 * math/libm-test.inc (scalbn_test): Add more tests.
12280 (scalbln_test): Likewise.
12281
07e12bb3
JM
12282 * manual/filesys.texi (mode_t): Describe constraints on size and
12283 signedness, not exact equivalence to a particular type.
12284 (ino_t): Likewise.
12285 (ino64_t): Likewise.
12286 (dev_t): Likewise.
12287 (nlink_t): Likewise.
12288 (blkcnt_t): Likewise.
12289 (blkcnt64_t): Likewise.
12290 * manual/llio.texi (off_t): Likewise.
12291
28afd92d
JM
12292 [BZ #3976]
12293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
12294 (__ieee754_exp): Save and restore rounding mode and use
12295 round-to-nearest for all computations.
12296 * math/libm-test.inc (exp_test_tonearest): New function.
12297 (exp_test_towardzero): Likewise.
12298 (exp_test_downward): Likewise.
12299 (exp_test_upward): Likewise.
12300 (main): Call the new functions.
12301 * sysdeps/i386/fpu/libm-test-ulps: Update.
12302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12303
b1eeb65d
CD
123042012-03-01 Chris Demetriou <cgd@google.com>
12305
12306 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
12307 have predictable order.
12308
53362a4b
DM
123092012-03-01 David S. Miller <davem@davemloft.net>
12310
3c969083
DM
12311 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
12312
759707de
DM
12313 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
12314 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
12315 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
12316 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
12317
dfdb8ff2
DM
12318 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
12319 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
12320 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
12321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
12322 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
12323 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
12324 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
12325 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
12326 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
12327
ead89f96
DM
12328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12329
7f66bd07
DM
12330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
12331 * sysdeps/sparc/fpu/libm-test-ulps: to here.
12332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
12333
53362a4b
DM
12334 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
12335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12337 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
12338 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
12339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
12340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
12341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12343 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
12344 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
12345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12350 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
12351 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
12352 * sysdeps/sparc/elf/configure: Regenerated.
12353
7b1902cb
JM
123542012-03-01 Joseph Myers <joseph@codesourcery.com>
12355
bec039bc
JM
12356 * configure.in (AS, LD): Require binutils 2.20 or later.
12357 * configure: Regenerated.
12358 * manual/install.texi (Tools for Compilation): Give binutils 2.20
12359 as required minimum version.
12360 * INSTALL: Regenerated.
12361
7b1902cb
JM
12362 [BZ #2541]
12363 [BZ #4108]
12364 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
12365 before squaring exponent.
12366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
12367 bottom long double and 27 bits of top long double before squaring
12368 exponent.
12369 * math/libm-test.inc (erfc_test): Add more tests.
12370 * sysdeps/i386/fpu/libm-test-ulps: Update.
12371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12373
f775c276
KT
123742012-03-01 Kai Tietz <ktietz@redhat.com>
12375
12376 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
12377 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
12378 containing bit-fields.
12379 * soft-fp/extended.h (_FP_UNION_E): Likewise.
12380 * soft-fp/single.h (_FP_UNION_S): Likewise.
12381 * soft-fp/double.h (_FP_UNION_D): Likewise.
12382
5b8a4d4a
JM
123832012-02-29 Joseph Myers <joseph@codesourcery.com>
12384
0bab47b6
JM
12385 [BZ #13786]
12386 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
12387 not include ../strcmp.S.
12388 [USE_AS_STRNCASECMP_L]: Likewise.
12389 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
12390 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
12391 * sysdeps/i386/i686/multiarch/strncase_l-c.c
12392 (__strncasecmp_l_ia32): Define as alias to
12393 __strncasecmp_l_nonascii.
12394
0fcad3e2
JM
12395 [BZ #5794]
12396 * math/libm-test.inc (expm1_test): Add test for bug 5794.
12397 * sysdeps/i386/fpu/libm-test-ulps: Update.
12398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12399
5b8a4d4a
JM
12400 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
12401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12402
8fdceb2e
JL
124032012-02-29 Jeff Law <law@redhat.com>
12404
12405 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
12406 out of bounds read.
12407
1f393a11
MP
124082012-02-29 Marek Polacek <polacek@redhat.com>
12409
12410 [BZ #13706]
12411 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
12412 * elf/Makefile: Add rules to run tst-unused-dep.out.
12413
8847f037
DM
124142012-02-28 David S. Miller <davem@davemloft.net>
12415
12416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
12417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
12418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
12419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
12420 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
12421 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
12422
169d7f11
JM
124232012-02-29 Joseph Myers <joseph@codesourcery.com>
12424
12425 * math/libm-test.inc (llround_test): Move one test from
12426 lround_test. Use TEST_f_L in moved test.
12427 (lround_test): Move misplaced test to llround_test. Add testcase
12428 from bug 2561.
12429
39adf059
UD
124302012-02-28 Ulrich Drepper <drepper@gmail.com>
12431
12432 * sysdeps/x86_64/fpu/e_expf.S: New file.
12433 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
12434
71b5d1c5
SB
124352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
12436
12437 [BZ #13637]
12438 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
12439 of remain_len that may cause incomplete multi-byte character and
12440 false match.
12441 * posix/bug-regex33.c: New file.
12442 * posix/Makefile (tests): Add bug-regex33.
12443
1f77f049
JM
124442012-02-28 Joseph Myers <joseph@codesourcery.com>
12445
12446 * manual/macros.texi: New file.
12447 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
12448 * manual/libc.texinfo: Include macros.texi.
12449 * manual/creatute.texi: Likewise.
12450 * manual/install.texi: Likewise.
12451 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
12452 @glibcadj{} in references to the GNU C Library.
12453 * manual/charset.texi: Likewise.
12454 * manual/conf.texi: Likewise.
12455 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
12456 when not using those macros.
12457 * manual/creature.texi: Likewise.
12458 * manual/crypt.texi: Likewise.
12459 * manual/errno.texi: Likewise.
12460 * manual/filesys.texi: Likewise.
12461 * manual/header.texi: Likewise.
12462 * manual/install.texi: Likewise.
12463 * manual/intro.texi: Likewise.
12464 * manual/io.texi: Likewise.
12465 * manual/job.texi: Likewise.
12466 * manual/lang.texi: Likewise.
12467 * manual/libc.texiinfo: Likewise.
12468 * manual/llio.texi: Likewise.
12469 * manual/locale.texi: Likewise.
12470 * manual/maint.texi: Likewise.
12471 * manual/math.texi: Likewise.
12472 * manual/memory.texi: Likewise.
12473 * manual/message.texi: Likewise.
12474 * manual/nss.texi: Likewise.
12475 * manual/pattern.texi: Likewise.
12476 * manual/process.texi: Likewise.
12477 * manual/resource.texi: Likewise.
12478 * manual/search.texi: Likewise.
12479 * manual/setjmp.texi: Likewise.
12480 * manual/signal.texi: Likewise.
12481 * manual/socket.texi: Likewise.
12482 * manual/startup.texi: Likewise.
12483 * manual/stdio.texi: Likewise.
12484 * manual/string.texi: Likewise.
12485 * manual/sysinfo.texi: Likewise.
12486 * manual/syslog.texi: Likewise.
12487 * manual/terminal.texi: Likewise.
12488 * manual/time.texi: Likewise.
12489 * manual/users.texi: Likewise.
12490 * INSTALL: Regenerated.
12491 * NOTES: Regenerated.
d40c5d54 12492 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 12493
450bf206
AS
124942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
12495
12496 * include/dirent.h: Include <dirstream.h> before
12497 <dirent/dirent.h>.
12498
741a235b
DM
124992012-02-28 David S. Miller <davem@davemloft.net>
12500
12501 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
12502 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
12503 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
12504 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
12505
d6b5aa58
DM
125062012-02-27 David S. Miller <davem@davemloft.net>
12507
1aff59a3
DM
12508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
12509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
12510 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
12511 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
12512
d6b5aa58
DM
12513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
12514 frame pointer instead of stack pointer relative arg slot.
12515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12518
433f48bf
CD
125192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
12520
12521 [BZ #3992]
12522 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
12523
d674b76d
DM
125242012-02-27 David S. Miller <davem@davemloft.net>
12525
12526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
12527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
12530 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12531 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12532 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
12533 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
12534
0e7727f7
JM
125352012-02-27 Joseph Myers <joseph@codesourcery.com>
12536
12537 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
12538 later. Allow versions 5-9.
43be4ca2 12539 * configure: Regenerated.
0e7727f7
JM
12540 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
12541 required minimum version and 4.6 as recommended version. Do not
12542 mention bugs in GCC 2.7 and 2.8.
43be4ca2 12543 * INSTALL: Regenerated.
0e7727f7 12544
a78bc654
DM
125452012-02-27 David S. Miller <davem@davemloft.net>
12546
428d5830
DM
12547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
12548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
12549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
12550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
12551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
12552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
12553 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
12554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
12555
a78bc654
DM
12556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
12557 manipulate bits before adding and subtracting TWO112[sx].
12558 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12559
4579f81c
RM
125602012-02-27 Roland McGrath <roland@hack.frob.com>
12561
36c8acb4
RM
12562 [BZ #13775]
12563 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
12564 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
12565 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
12566 being in POSIX, because they are in 1003.1-2008.
12567
84ad622b
RM
12568 * rt/tst-aio.c: Include <fcntl.h>.
12569 * rt/tst-aio7.c: Likewise.
12570 * rt/tst-aio64.c: Likewise.
12571
4579f81c
RM
12572 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
12573
abd923db
JM
125742012-02-27 Joseph Myers <joseph@codesourcery.com>
12575
12576 * manual/install.texi (--with-headers): Describe headers as
12577 interface headers, not private headers.
12578 (Specific advice for GNU/Linux systems): Describe use of headers
12579 from "make headers_install", not private headers from older
12580 kernels.
43be4ca2 12581 * INSTALL: Regenerated.
abd923db
JM
12582 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
12583 Change to 2.6.19.
12584 * sysdeps/unix/sysv/linux/configure: Regenerated.
12585
6664049b
JM
12586 * manual/llio.texi (fclean): Remove documentation.
12587
bb8b6697
JM
12588 * manual/Makefile (libc-texi-generated): New variable. Include
12589 version.texi.
12590 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
12591 $(libc-texi-generated), not duplicated list of files.
12592 (version.texi, stamp-version): New rules.
12593 (realclean): Remove $(libc-texi-generated), not individual files
12594 from that list. Do not remove dir-add.texinfo.
12595 * manual/libc.texinfo: Comment out uses of edition numbers and
12596 references to printed manual. Remove last-updated dates.
12597 (EDITION): Comment out.
12598 (ISBN): Likewise.
12599 (VERSION, UPDATED): Remove.
12600 (version.texi): Include.
12601
12e5c3b9
AS
126022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
12603
12604 * sysdeps/posix/spawni.c: Include <signal.h>.
12605 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
12606 * sysdeps/pthread/aio_fsync.c: Likewise.
12607
4efeffc1 126082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 12609
ba63ba08
UD
12610 * conform/Makefile (tests): Run only when not cross-compiling and
12611 when fast-check is not defined.
12612
d94a4670
UD
12613 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
12614 * conform/data/limits.h-data: Fixes for POSIX2008.
12615 * conform/run-conformtest.sh: Run all tests.
12616 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
12617 headers.
12618 * include/bits/dlfcn.h: Likewise.
12619 * include/langinfo.h: Likewise.
12620 * include/monetary.h: Likewise.
12621 * include/sys/poll.h: Likewise.
12622
12623 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
12624 for __USE_GNU.
12625 * posix/spawn.h: Define __need_sigset_t.
12626 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
12627 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
12628 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
12629 to get sigevent_t only.
12630 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
12631 only for __USE_GNU.
12632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12633 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12634 process_vm_writev only for __USE_GNU.
12635 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
12636
12637 * conform/Makefile: For now ignore errors from run-conformtest.
12638 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
12639 POSIX to avoid namespace pollution. Don't prepend headers.
12640 * conform/data/aio.h-data: Fixes for POSIX testing.
12641 * conform/data/fcntl.h-data: Likewise.
12642 * conform/data/glob.h-data: Likewise.
12643 * conform/data/grp.h-data: Likewise.
12644 * conform/data/pthread.h-data: Likewise.
12645 * conform/data/pwd.h-data: Likewise.
12646 * conform/data/signal.h-data: Likewise.
12647 * conform/data/spawn.h-data: Likewise.
12648 * conform/data/stdio.h-data: Likewise.
12649 * conform/data/stdlib.h-data: Likewise.
12650 * conform/data/stropts.h-data: Likewise.
12651 * conform/data/sys/mman.h-data: Likewise.
12652 * conform/data/sys/stat.h-data: Likewise.
12653 * conform/data/sys/types.h-data: Likewise.
12654 * conform/data/sys/wait.h-data: Likewise.
12655 * conform/data/time.h-data: Likewise.
12656 * conform/data/unistd.h-data: Likewise.
12657 * conform/data/utime.h-data: Likewise.
12658
12659 * io/sys/stat.h: fchmod was always in POSIX.
12660 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
12661 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
12662 * rt/aio.h: Define __need_timespec before including <time.h>.
12663 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
12664 struct. Add forward declaration of pthread_attr_t and use it in
12665 sigevent.
12666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
12667 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12668 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
12669 always remove CLK_TCK definition.
12670
c20105c3
AS
126712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
12672
12673 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
12674
7a270350
UD
126752012-02-25 Ulrich Drepper <drepper@gmail.com>
12676
31341567
UD
12677 * conform/run-conformtest.sh: New file.
12678 * conform/Makefile: Run run-conformtest for tests.
12679 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
12680 support.
12681
12682 * conform/data/uchar.h-data: New file.
12683 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
12684 * conform/data/arpa/inet.h-data: Likewise.
12685 * conform/data/assert.h-data: Likewise.
12686 * conform/data/complex.h-data: Likewise.
12687 * conform/data/cpio.h-data: Likewise.
12688 * conform/data/ctype.h-data: Likewise.
12689 * conform/data/dirent.h-data: Likewise.
12690 * conform/data/dlfcn.h-data: Likewise.
12691 * conform/data/errno.h-data: Likewise.
12692 * conform/data/fcntl.h-data: Likewise.
12693 * conform/data/float.h-data: Likewise.
12694 * conform/data/fmtmsg.h-data: Likewise.
12695 * conform/data/fnmatch.h-data: Likewise.
12696 * conform/data/ftw.h-data: Likewise.
12697 * conform/data/glob.h-data: Likewise.
12698 * conform/data/grp.h-data: Likewise.
12699 * conform/data/iconv.h-data: Likewise.
12700 * conform/data/inttypes.h-data: Likewise.
12701 * conform/data/langinfo.h-data: Likewise.
12702 * conform/data/libgen.h-data: Likewise.
12703 * conform/data/limits.h-data: Likewise.
12704 * conform/data/locale.h-data: Likewise.
12705 * conform/data/math.h-data: Likewise.
12706 * conform/data/monetary.h-data: Likewise.
12707 * conform/data/mqueue.h-data: Likewise.
12708 * conform/data/ndbm.h-data: Likewise.
12709 * conform/data/net/if.h-data: Likewise.
12710 * conform/data/netdb.h-data: Likewise.
12711 * conform/data/netinet/in.h-data: Likewise.
12712 * conform/data/nl_types.h-data: Likewise.
12713 * conform/data/poll.h-data: Likewise.
12714 * conform/data/pthread.h-data: Likewise.
12715 * conform/data/pwd.h-data: Likewise.
12716 * conform/data/regex.h-data: Likewise.
12717 * conform/data/sched.h-data: Likewise.
12718 * conform/data/search.h-data: Likewise.
12719 * conform/data/semaphore.h-data: Likewise.
12720 * conform/data/setjmp.h-data: Likewise.
12721 * conform/data/signal.h-data: Likewise.
12722 * conform/data/spawn.h-data: Likewise.
12723 * conform/data/stdarg.h-data: Likewise.
12724 * conform/data/stdio.h-data: Likewise.
12725 * conform/data/stdlib.h-data: Likewise.
12726 * conform/data/string.h-data: Likewise.
12727 * conform/data/strings.h-data: Likewise.
12728 * conform/data/stropts.h-data: Likewise.
12729 * conform/data/sys/ipc.h-data: Likewise.
12730 * conform/data/sys/mman.h-data: Likewise.
12731 * conform/data/sys/msg.h-data: Likewise.
12732 * conform/data/sys/resource.h-data: Likewise.
12733 * conform/data/sys/select.h-data: Likewise.
12734 * conform/data/sys/sem.h-data: Likewise.
12735 * conform/data/sys/shm.h-data: Likewise.
12736 * conform/data/sys/socket.h-data: Likewise.
12737 * conform/data/sys/stat.h-data: Likewise.
12738 * conform/data/sys/statvfs.h-data: Likewise.
12739 * conform/data/sys/time.h-data: Likewise.
12740 * conform/data/sys/timeb.h-data: Likewise.
12741 * conform/data/sys/times.h-data: Likewise.
12742 * conform/data/sys/types.h-data: Likewise.
12743 * conform/data/sys/uio.h-data: Likewise.
12744 * conform/data/sys/un.h-data: Likewise.
12745 * conform/data/sys/utsname.h-data: Likewise.
12746 * conform/data/sys/wait.h-data: Likewise.
12747 * conform/data/syslog.h-data: Likewise.
12748 * conform/data/tar.h-data: Likewise.
12749 * conform/data/termios.h-data: Likewise.
12750 * conform/data/utime.h-data: Likewise.
12751 * conform/data/utmpx.h-data: Likewise.
12752 * conform/data/varargs.h-data: Likewise.
12753 * conform/data/wchar.h-data: Likewise.
12754 * conform/data/wctype.h-data: Likewise.
12755 * conform/data/wordexp.h-data: Likewise.
12756
12757 * include/stropts.h: New file.
12758 * include/uchar.h: New file.
12759 * include/aio.h: Changes to allow conformtest.pl to use the headers.
12760 * include/assert.h: Likewise.
12761 * include/ctype.h: Likewise.
12762 * include/dirent.h: Likewise.
12763 * include/dlfcn.h: Likewise.
12764 * include/fcntl.h: Likewise.
12765 * include/fnmatch.h: Likewise.
12766 * include/glob.h: Likewise.
12767 * include/grp.h: Likewise.
12768 * include/libio.h: Likewise.
12769 * include/locale.h: Likewise.
12770 * include/math.h: Likewise.
12771 * include/net/if.h: Likewise.
12772 * include/netdb.h: Likewise.
12773 * include/netinet/in.h: Likewise.
12774 * include/pthread.h: Likewise.
12775 * include/pwd.h: Likewise.
12776 * include/regex.h: Likewise.
12777 * include/sched.h: Likewise.
12778 * include/search.h: Likewise.
12779 * include/setjmp.h: Likewise.
12780 * include/signal.h: Likewise.
12781 * include/stdio.h: Likewise.
12782 * include/stdlib.h: Likewise.
12783 * include/string.h: Likewise.
12784 * include/sys/cdefs.h: Likewise.
12785 * include/sys/mman.h: Likewise.
12786 * include/sys/msg.h: Likewise.
12787 * include/sys/resource.h: Likewise.
12788 * include/sys/select.h: Likewise.
12789 * include/sys/socket.h: Likewise.
12790 * include/sys/stat.h: Likewise.
12791 * include/sys/statvfs.h: Likewise.
12792 * include/sys/time.h: Likewise.
12793 * include/sys/times.h: Likewise.
12794 * include/sys/uio.h: Likewise.
12795 * include/sys/utsname.h: Likewise.
12796 * include/sys/wait.h: Likewise.
12797 * include/termios.h: Likewise.
12798 * include/time.h: Likewise.
12799 * include/ulimit.h: Likewise.
12800 * include/unistd.h: Likewise.
12801 * include/utime.h: Likewise.
12802 * include/wchar.h: Likewise.
12803 * include/wctype.h: Likewise.
12804 * include/wordexp.h: Likewise.
12805
12806 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
12807
7a270350
UD
12808 * time/time.h: TIME_UTC must be a macro.
12809 Make timespec_get available for ISO C11 only as well.
12810
7724defc
UD
128112012-02-24 Ulrich Drepper <drepper@gmail.com>
12812
12813 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
12814 Reported by Peng Haitao <penght@cn.fujitsu.com>.
12815
6b1d1d46
JM
128162012-02-24 Joseph Myers <joseph@codesourcery.com>
12817
12818 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 12819
0f8bbd69
JM
128202012-02-24 Joseph Myers <joseph@codesourcery.com>
12821
12822 * manual/texinfo.tex: Update to version 2012-01-19.16.
12823
66ab80bc
JM
128242012-02-24 Joseph Myers <joseph@codesourcery.com>
12825
12826 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
12827
74981cc5
RM
128282012-02-24 Roland McGrath <roland@hack.frob.com>
12829
ee968201
RM
12830 [BZ #13738]
12831 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
12832 * manual/fdl-1.3.texi: New file.
12833 * manual/fdl-1.1.texi: File removed.
12834
74981cc5
RM
12835 [BZ #13738]
12836 * manual/libc.texinfo (FDL_VERSION): New @set.
12837 Use it for mention of FDL in cover text.
12838 (Documentation License): Use it in @include file name.
12839
7bb764bc
JM
128402012-02-22 Joseph Myers <joseph@codesourcery.com>
12841 Roland McGrath <roland@hack.frob.com>
12842
12843 [BZ #5461]
12844 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
12845 not LONG_LONG_MAX and LONG_LONG_MIN.
12846 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
12847 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
12848 name.
12849 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
12850
6cbeae47
JM
128512012-02-22 Joseph Myers <joseph@codesourcery.com>
12852
12853 [BZ #2547]
12854 [BZ #11365]
12855 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
12856 manipulate bits before adding and subtracting TWO23[sx].
12857 * math/libm-test.inc (nearbyint_test): Add more tests.
12858
fe45ce09
JM
128592012-02-22 Joseph Myers <joseph@codesourcery.com>
12860
12861 [BZ #2548]
12862 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
12863 bits before adding and subtracting TWO23[sx].
12864 * math/libm-test.inc (rint_test): Add more tests.
12865 (rint_test_tonearest): Likewise.
12866 (rint_test_towardzero): Likewise.
12867 (rint_test_downward): Likewise.
12868 (rint_test_upward: Likewise.
12869
ff3b3d82
JM
128702012-02-22 Joseph Myers <joseph@codesourcery.com>
12871
12872 [BZ #10110]
12873 * include/stdc-predef.h: New file. Extracted from features.h.
12874 * include/features.h: Include stdc-predef.h.
12875 * Makefile (headers): Add stdc-predef.h.
12876 * CONFORMANCE (Compiler limitations): Update.
12877
ef0aab35
JM
128782012-02-22 Joseph Myers <joseph@codesourcery.com>
12879
12880 * manual/libc.texinfo (VERSION, UPDATED): Revert.
12881
58639409
DM
128822012-02-21 David S. Miller <davem@davemloft.net>
12883
12884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
12885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
12886
c0e70b25
DM
128872012-02-20 David S. Miller <davem@davemloft.net>
12888
12889 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
12890 using a normal save/restore sequence, rather than allocating a
12891 dummy stack frame just to store a frame pointer and restore.
12892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12893
fb06851d
JM
128942012-02-21 Joseph Myers <joseph@codesourcery.com>
12895
12896 * manual/install.texi: Fix stray word in line-wrapped comment.
12897
7a8b71c3
DM
128982012-02-20 David S. Miller <davem@davemloft.net>
12899
d510c123
DM
12900 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
12901 both binutils and gcc support GOTDATA.
12902
0722d7c2
DM
12903 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
12904 "rd %pc" in the PIC register setup sequences.
12905
3d2b3019
DM
12906 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
12907 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12908 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
12909 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12910 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
12911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
12914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
12915 (SYSCALL_ERROR_HANDLER): Likewise.
12916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
12917 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
12919 (SYSCALL_ERROR_HANDLER): Likewise.
12920
c80098a9
DM
12921 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
12922 (HAVE_GCC_GOTDATA): New.
12923 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
12924 relocation support in both binutils and gcc.
12925 * sysdeps/sparc/elf/configure: Regenerate.
12926
3a2545a0
DM
12927 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
12928 * sysdeps/sparc/sparc32/elf/configure: Delete.
12929 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
12930 * sysdeps/sparc/sparc64/elf/configure: Delete.
12931 * sysdeps/sparc/elf/configure.in: New file.
12932 * sysdeps/sparc/elf/configure: Generate.
12933
7a8b71c3
DM
12934 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
12935 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
12936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12937 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
12938 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
12939
f1e86fca
JM
129402012-02-21 Joseph Myers <joseph@codesourcery.com>
12941
12942 * manual/install.texi: Do not mention specific glibc version
12943 numbers.
12944 * manual/libc.texinfo (VERSION, UPDATED): Update.
12945 (@copying): Use @copyright{} and range of years.
12946
0e7dfaef
JM
129472012-02-21 Joseph Myers <joseph@codesourcery.com>
12948
12949 [BZ #13695]
12950 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
12951 [crti.S not in sysdirs] (generated): Do not append.
12952 [crti.S not in sysdirs] (omit-deps): Likewise.
12953 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
12954 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
12955 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
12956 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
12957 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
12958 Likewise.
12959 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
12960 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
12961 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
12962 * csu/defs.awk: Remove file.
12963 * sysdeps/generic/initfini.c: Likewise.
12964 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
12965 variable.
12966 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
12967 Likewise.
12968
599af3ca
JM
129692012-02-20 Joseph Myers <joseph@codesourcery.com>
12970
12971 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
12972 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
12973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
12974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
12975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12976 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
12977 <bits/epoll.h>.
12978 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
12979 (__EPOLL_PACKED): Define to empty if not defined by
12980 <bits/epoll.h>.
12981 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
12982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12983 bits/epoll.h.
12984
0e499750
JM
129852012-02-20 Joseph Myers <joseph@codesourcery.com>
12986
12987 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
12988 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
12989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
12990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
12991 <bits/timerfd.h>.
12992 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
12993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12994 bits/timerfd.h.
12995
5ad91f6e
JM
129962012-02-20 Joseph Myers <joseph@codesourcery.com>
12997
12998 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
12999 in C locale.
13000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
13003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13004
06b99b02
AJ
130052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
13006
13007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
13009
7638c0fd
AS
130102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
13011
13012 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
13013 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
13014 defined.
13015 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
13016 Likewise.
13017 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
13018 entry for 2.16.
13019
92221550
AJ
130202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
13021
13022 * math/w_acos.c: Use non-signaling floating-point comparisons.
13023 * math/w_acosf.c: Likewise.
13024 * math/w_acosh.c: Likewise.
13025 * math/w_acoshf.c: Likewise.
13026 * math/w_acoshl.c: Likewise.
13027 * math/w_acosl.c: Likewise.
13028 * math/w_asin.c: Likewise.
13029 * math/w_asinf.c: Likewise.
13030 * math/w_asinl.c: Likewise.
13031 * math/w_atanh.c: Likewise.
13032 * math/w_atanhf.c: Likewise.
13033 * math/w_atanhl.c: Likewise.
13034 * math/w_exp2.c: Likewise.
13035 * math/w_exp2f.c: Likewise.
13036 * math/w_exp2l.c: Likewise.
13037 * math/w_j0.c: Likewise.
13038 * math/w_j0f.c: Likewise.
13039 * math/w_j0l.c: Likewise.
13040 * math/w_j1.c: Likewise.
13041 * math/w_j1f.c: Likewise.
13042 * math/w_j1l.c: Likewise.
13043 * math/w_jn.c: Likewise.
13044 * math/w_jnf.c: Likewise.
13045 * math/w_log.c: Likewise.
13046 * math/w_log10.c: Likewise.
13047 * math/w_log10f.c: Likewise.
13048 * math/w_log10l.c: Likewise.
13049 * math/w_log2.c: Likewise.
13050 * math/w_log2f.c: Likewise.
13051 * math/w_log2l.c: Likewise.
13052 * math/w_logf.c: Likewise.
13053 * math/w_logl.c: Likewise.
13054 * math/w_sqrt.c: Likewise.
13055 * math/w_sqrtf.c: Likewise.
13056 * math/w_sqrtl.c: Likewise.
13057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13058 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13060 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13061 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13062
ebaf36eb
JM
130632012-02-19 Joseph Myers <joseph@codesourcery.com>
13064
13065 [BZ #9739]
13066 * manual/string.texi (strnlen): Use correct parameter name in
13067 equivalent expression.
13068
71c254a6
JM
130692012-02-19 Joseph Myers <joseph@codesourcery.com>
13070
13071 [BZ #11174]
13072 * manual/users.texi (seteuid): Consistently use neweuid for
13073 argument name.
13074
16d2c631
JM
130752012-02-19 Joseph Myers <joseph@codesourcery.com>
13076
13077 [BZ #13704]
13078 * manual/nss.texi (Services in the NSS configuration): Correct
13079 list of services in example configuration file.
13080
cd837b09
NB
130812012-02-19 Nick Bowler <nbowler@draconx.ca>
13082
13083 [BZ #11322]
13084 * manual/arith.texi: Remove statements about negative zero
13085 behaving identically to zero.
13086
02c4bbad
JM
130872012-02-18 Joseph Myers <joseph@codesourcery.com>
13088
13089 [BZ #5993]
13090 * manual/install.texi: Do not document upgrading from libc5.
13091
366842e7
JM
130922012-02-18 Joseph Myers <joseph@codesourcery.com>
13093
13094 [BZ #4596]
13095 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
13096
dd54084d
DM
130972012-02-18 David S. Miller <davem@davemloft.net>
13098
13099 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
13100 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
13101 %o7 across the call.
13102 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
13103 instead.
13104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
13105 SETUP_PIC_REG_LEAF.
13106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13107 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
13108 * sysdeps/sparc/crtn.S: Likewise.
13109
2bcc53a3
UD
131102012-02-17 Ulrich Drepper <drepper@gmail.com>
13111
13112 * aout/Makefile: Remove.
13113
09c093b5
RK
131142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
13115
13116 [BZ #13058]
13117 * manual/examples/argp-ex1.c (main): Format definition in GNU
13118 style.
13119 * manual/examples/argp-ex2.c (main): Likewise.
13120 * manual/examples/argp-ex3.c (main): Likewise.
13121 * manual/examples/argp-ex4.c (main): Likewise.
13122 * manual/examples/longopt.c (main): Use new-style prototype
13123 definition.
13124 * manual/examples/strncat.c (main): Specify return type and use
13125 (void) for arguments.
13126 * manual/examples/subopt.c (main): Use char **argv argument.
13127
2ee633a2
JM
131282012-02-17 Joseph Myers <joseph@codesourcery.com>
13129
13130 [BZ #5077]
13131 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
13132 rounding modes.
13133
0520adde
FB
131342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
13135
13136 [BZ #6907]
13137 * manual/string.texi (strchr): Change when strchrnul is
13138 recommended.
13139
3f4081cd
DGM
131402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
13141
13142 [BZ #174]
13143 * manual/locale.texi (setlocale): Document LOCPATH.
13144
d1b10e78
JM
131452012-02-17 Joseph Myers <joseph@codesourcery.com>
13146
13147 [BZ #10210]
13148 * manual/process.texi (execle): Move @dots{} before last argument.
13149
79c6869c
PB
131502012-02-17 Paul Bolle <pebolle@tiscali.nl>
13151
13152 [BZ #12047]
13153 * manual/charset.texi (Generic Charset Conversion): Fix typo
13154 (LC_TYPE -> LC_CTYPE).
13155
cc6e48bc
NB
131562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
13157
13158 [BZ #5805]
13159 * manual/arith.texi (scalbn): Use @var{} on parameter names.
13160 (scalbnf): Likewise.
13161 (scalbnl): Likewise.
13162 (scalbln): Likewise.
13163 (scalblnf): Likewise.
13164 (scalblnl): Likewise.
13165 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
13166 (vwarnx): Likewise.
13167 (verr): Likewise.
13168 (verrx): Likewise.
13169 * manual/filesys.texi (telldir): Use braces around return type.
13170 * manual/llio.texi (mmap): Add space after comma.
13171 (mmap64): Likewise.
13172 * manual/math.texi (jn): Use @var{} on parameter names.
13173 (jnf): Likewise.
13174 (jnl): Likewise.
13175 (yn): Likewise.
13176 (ynf): Likewise.
13177 (ynl): Likewise.
13178 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
13179 line.
13180 * manual/resource.texi (ulimit): Use @dots{} instead of literal
13181 "...".
13182 (sched_get_priority_min): Remove semicolon on @deftypefun line.
13183 (sched_get_priority_max): Likewise.
13184 * manual/signal.texi (sigvec): Add space after comma.
13185 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
13186 names.
13187 (if_indextoname): Likewise.
13188 (if_freenameindex): Likewise.
13189 (sendto): Use ',' instead of '.' in prototype.
13190 * manual/startup.texi (syscall): Use @dots{} instead of literal
13191 "...".
13192 * manual/stdio.texi (__fpending): Separate initial words of
13193 paragraph from @deftypefun line.
13194 * manual/syslog.texi (syslog): Use @dots{} instead of literal
13195 "...".
13196 (vsyslog): Use @var{} on parameter names.
13197 * manual/terminal.texi (stty): Use @var{} on parameter names.
13198 * manual/users.texi (getutmp): Use @var{} on parameter names.
13199 (getutmpx): Likewise.
13200
5b23062f
JM
132012012-02-17 Joseph Myers <joseph@codesourcery.com>
13202
13203 [BZ #6884]
13204 * manual/stdio.texi (fopen): Fix typos in description of
13205 ",ccs=STRING".
13206
8dee4833
AJ
132072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
13208
13209 [BZ #4026]
13210 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
13211 get clock_id definition.
13212
9078ce93
TS
132132012-02-17 Thomas Schwinge <thomas@schwinge.name>
13214
13215 [BZ #4822]
13216 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
13217 (madvise): Cast every argument to void on its own.
13218
3835c55f
JM
132192012-02-17 Joseph Myers <joseph@codesourcery.com>
13220
13221 [BZ #9902]
13222 * manual/startup.texi (Exit Status): Fix typo.
13223
35c47e37
JM
132242012-02-17 Joseph Myers <joseph@codesourcery.com>
13225
13226 [BZ #10140]
13227 * manual/examples/argp-ex1.c: Include <stdlib.h>.
13228 * manual/examples/argp-ex2.c: Likewise.
13229 * manual/examples/argp-ex3.c: Likewise.
13230
e3b69ca7
RH
132312012-02-16 Richard Henderson <rth@redhat.com>
13232
13233 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
13234 * sysdeps/s390/s390-32/initfini.c: Remove.
13235 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
13236 * sysdeps/s390/s390-64/initfini.c: Remove.
13237
df83af67
KK
132382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13239
13240 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
13241 compiler output for sysdeps/generic/initfini.c.
13242 * sysdeps/sh/elf/initfini.c: Remove file.
13243
f63f3380
DM
132442012-02-16 David S. Miller <davem@davemloft.net>
13245
fb59b3a4
DM
13246 [BZ #11494]
13247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
13248
f63f3380
DM
13249 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
13250 * sysdeps/sparc/crti.S: New file.
13251 * sysdeps/sparc/crtn.S: New file.
13252 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
13253 * sysdeps/sparc/sparc64/Makefile: Likewise.
13254
df6a4a4a
MF
132552012-02-15 Mike Frysinger <vapier@gentoo.org>
13256
6dd8f3dc 13257 [BZ #3335]
df6a4a4a
MF
13258 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
13259
1cac7236
RM
132602012-02-15 Roland McGrath <roland@hack.frob.com>
13261
d2c736f8
RM
13262 [BZ #4822]
13263 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
13264
1cac7236
RM
13265 * mach/devstream.c (cookie_io_functions_t): Macro removed.
13266 (write, read, close): Likewise.
13267 Patch by Aurelien Jarno <aurelien@aurel32.net>.
13268
8e475601
JM
132692012-02-15 Joseph Myers <joseph@codesourcery.com>
13270
13271 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
13272 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
13273 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
13274 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
13275 <bits/signalfd.h>.
13276 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
13277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13278 bits/signalfd.h.
13279
ed656b40
MP
132802012-02-14 Marek Polacek <polacek@redhat.com>
13281
13282 * sysdeps/x86_64/crti.S: New file.
13283 * sysdeps/x86_64/crtn.S: New file.
13284 * sysdeps/x86_64/elf/initfini.c: Remove file.
13285
2a979d3a
JM
132862012-02-13 Joseph Myers <joseph@codesourcery.com>
13287
13288 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
13289 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
13290 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
13291 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
13292 <bits/inotify.h>.
13293 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
13294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13295 bits/inotify.h.
13296
2a418ac3
JM
132972012-02-13 Joseph Myers <joseph@codesourcery.com>
13298
13299 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
13300 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
13301 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
13302 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
13303 <bits/eventfd.h>.
13304 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
13305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13306 bits/eventfd.h.
13307
fb779be7
TS
133082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
13309
e19e83c5
RM
13310 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
13311 __feraiseexcept instead of feraiseexcept.
7c35ffed 13312
fb779be7
TS
13313 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
13314 nanosleep invocations.
13315 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
13316 strings, and add error checking for a nanosleep invocations.
13317
59ba27a6
PE
133182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
13319
13320 Replace FSF snail mail address with URLs, as per GNU coding standards.
13321 Most of the snail mail addresses were wrong anyway, and omitting
13322 them makes the source code easier to maintain. Almost all of the
13323 changes are to license notices and to locale LC_IDENTIFICATION
13324 addresses, except for this one:
13325 * manual/libc.texinfo: In "Published by", give the FSF's URL,
13326 not its snail mail address.
13327
57b957eb
RH
133282012-02-09 Richard Henderson <rth@twiddle.net>
13329
af850b1c
RH
13330 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
13331 of kernel-features.h.
13332
57b957eb
RH
13333 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
13334
6b73181a
MP
133352012-02-08 Marek Polacek <polacek@redhat.com>
13336
13337 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
13338 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
13339 * sysdeps/gnu/_G_config.h: Likewise.
13340 * sysdeps/generic/_G_config.h: Likewise.
13341
26ecc33a
AS
133422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
13343
6c6dbc63
AS
13344 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
13345 tests.
13346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13347
e216c012
AS
13348 * sysdeps/powerpc/powerpc32/crti.S: New file.
13349 * sysdeps/powerpc/powerpc32/crtn.S: New file.
13350 * sysdeps/powerpc/powerpc64/crti.S: New file.
13351 * sysdeps/powerpc/powerpc64/crtn.S: New file.
13352
26ecc33a
AS
13353 * Makeconfig (have-initfini): Don't set.
13354 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
13355 * configure.in (nopic_initfini): Don't substitute.
13356 * config.h.in (HAVE_INITFINI): Don't #undef.
13357 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
13358 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
13359
3add8e13
JM
133602012-02-08 Joseph Myers <joseph@codesourcery.com>
13361
13362 Support crti.S and crtn.S provided directly by architectures.
13363 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
13364 [crti.S in sysdirs] (omit-deps): Likewise.
13365 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
13366 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
13367 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
13368 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
13369 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
13370 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
13371 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
13372 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
13373 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
13374 compiler output for sysdeps/generic/initfini.c.
13375 * sysdeps/i386/elf/Makefile: Remove file.
13376 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
13377
a22f12b4
MP
133782012-02-07 Marek Polacek <polacek@redhat.com>
13379
13380 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
13381 * sysdeps/gnu/_G_config.h: Likewise.
13382 * sysdeps/mach/hurd/_G_config.h: Likewise.
13383
148cf100
MP
133842012-02-07 Marek Polacek <polacek@redhat.com>
13385
13386 * math/Makefile (tests): Add tst-CMPLX2.
13387 * math/tst-CMPLX2.c: New file.
13388
cfdc0dd7
AS
133892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
13390
84ba42c4
AS
13391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13392
cfdc0dd7
AS
13393 * math/libm-test.inc (jn_test): Add missing L suffix.
13394
622c86f4
MP
133952012-02-06 Marek Polacek <polacek@redhat.com>
13396
13397 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
13398 * sysdeps/i386/fpu/e_powf.S: Likewise.
13399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13400 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13402 * sysdeps/i386/fpu/e_pow.S: Likewise.
13403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13407 * sysdeps/i386/fpu/e_log2.S: Likewise.
13408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13410 * sysdeps/i386/fpu/e_powl.S: Likewise.
13411 * sysdeps/i386/fpu/s_log1p.S: Likewise.
13412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13414 * sysdeps/i386/fpu/e_logl.S: Likewise.
13415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13416 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
13417 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13418 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13419 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13421 * sysdeps/i386/fpu/e_log.S: Likewise.
13422 * sysdeps/i386/fpu/s_cexp.S: Likewise.
13423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13424 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
13425 * sysdeps/i386/fpu/e_logf.S: Likewise.
13426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13427 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13428 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
13429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13431 * sysdeps/i386/fpu/e_log10.S: Likewise.
13432 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13434 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13435 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13438 * sysdeps/i386/asm-syntax.h: Likewise.
13439 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13442 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
13443 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
13444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13448 * sysdeps/powerpc/sysdep.h: Likewise.
13449 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
13450 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13451
d4a54ac6
JM
134522012-02-06 Joseph Myers <joseph@codesourcery.com>
13453
13454 [BZ #411]
13455 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
13456
314054ea
JM
134572012-02-06 Joseph Myers <joseph@codesourcery.com>
13458
13459 * sysdeps/i386/sysdep.h: Include <features.h>.
13460 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
13461 version.
13462
d8e0ca50
JM
134632012-02-05 Joseph Myers <joseph@codesourcery.com>
13464
13465 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
13466 Define.
13467 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
13468 LOAD_PIC_REG_STR.
13469
b1da7dd9
JM
134702012-02-03 Joseph Myers <joseph@codesourcery.com>
13471
13472 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
13473 (SETUP_PIC_REG): Use GET_PC_THUNK.
13474 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
13475 macro.
13476
9a1d9254
JM
134772012-02-03 Joseph Myers <joseph@codesourcery.com>
13478
13479 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
13480 for non-PIC compilation.
13481 (SETUP_PIC_REG): Add .p2align directive.
13482 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
13483 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13490 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13491 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13492 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13493 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13494 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13495 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13514 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13517 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13518 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13519 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13520 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13521 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13522 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13523
65dc3b75
JM
135242012-02-03 Joseph Myers <joseph@codesourcery.com>
13525
13526 * math/tst-CMPLX.c: Include <stdio.h>.
13527
d55bf177
JM
135282012-01-31 Joseph Myers <joseph@codesourcery.com>
13529
13530 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
13531 float.
13532 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13533 * sysdeps/sparc/bits/mathdef.h: Likewise.
13534
69db4f8f
MP
135352012-01-31 Marek Polacek <polacek@redhat.com>
13536
13537 * libio/libio.h: Don't define _PARAMS.
13538 * locale/programs/config.h: Don't define PARAMS.
13539 * stdlib/strtol_l.c: Likewise.
13540 (__strtol_l): Remove PARAMS from the prototype.
13541
41b81892
UD
135422012-01-31 Ulrich Drepper <drepper@gmail.com>
13543
3b49edc0
UD
13544 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
13545 names. Just use the correct names. Remove unnecessary wrapper
13546 functions.
13547 * malloc/arena.c: Likewise.
13548 * malloc/hooks.c: Likewise.
13549
41b81892
UD
13550 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
13551 ARENA_TEST says not to. Simplify test for creation of a new arena.
13552 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
13553
27a25b6e
UD
135542012-01-30 Ulrich Drepper <drepper@gmail.com>
13555
13556 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
13557 into tail calls.
13558 (update_get_addr): New function.
13559 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
13560 GET_ADDR_MODULE parameter.
13561
c8a89e7d
JM
135622012-01-30 Joseph Myers <joseph@codesourcery.com>
13563
13564 * crypt/cert.c: Remove __STDC__ conditionals.
13565 * crypt/crypt-entry.c: Likewise.
13566 * crypt/crypt_util.c: Likewise.
13567 * libio/filedoalloc.c: Likewise.
13568 * libio/fileops.c: Likewise.
13569 * libio/genops.c: Likewise.
13570 * libio/iofclose.c: Likewise.
13571 * libio/iofdopen.c: Likewise.
13572 * libio/iofopen.c: Likewise.
13573 * libio/iofopen64.c: Likewise.
13574 * libio/iogetdelim.c: Likewise.
13575 * libio/iopopen.c: Likewise.
13576 * libio/obprintf.c: Likewise.
13577 * libio/oldfileops.c: Likewise.
13578 * libio/oldiofclose.c: Likewise.
13579 * libio/oldiofdopen.c: Likewise.
13580 * libio/oldiofopen.c: Likewise.
13581 * libio/oldiopopen.c: Likewise.
13582 * libio/wfiledoalloc.c: Likewise.
13583 * libio/wgenops.c: Likewise.
13584 * locale/programs/xmalloc.c: Likewise.
13585 * misc/syslog.c: Likewise.
13586 * stdio-common/xbug.c: Likewise.
13587 * string/memchr.c: Likewise.
13588 * string/memcmp.c: Likewise.
13589 * string/memrchr.c: Likewise.
13590 * string/rawmemchr.c: Likewise.
13591 * sysdeps/posix/getcwd.c: Likewise.
13592 * time/strftime_l.c: Likewise.
13593
3b100462
JM
135942012-01-30 Joseph Myers <joseph@codesourcery.com>
13595
13596 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
13597 * config.make.in (config-cflags-sse2avx): Define.
13598 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
13599 Fix typo.
13600
607998af
CM
136012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
13602
13603 * scripts/config.guess: Update from upstream config git repository.
13604 * scripts/config.sub: Likewise.
13605
3601428f
CM
136062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
13607
3ac8b282
CM
13608 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
13609 (EM_NUM): Update.
13610 (R_TILEPRO_*, R_TILEGX_*): New macros.
13611
e034841e
CM
13612 * scripts/firstversions.awk: Fix bug in version range handling.
13613
540d7568
CM
13614 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
13615
3601428f
CM
13616 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
13617
463de862
CM
13618 * include/sys/epoll.h: New file.
13619 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
13620 libc_hidden_def.
13621
73139a76
UD
136222012-01-28 Ulrich Drepper <drepper@gmail.com>
13623
96bc5b45
UD
13624 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
13625 Avoid unnecessary __WORDSIZE == 64 test.
13626 (fmaxf): Use VEX format if possible.
13627 (fmax): Likewise.
13628 (fminf): Likewise.
13629 (fmin): Likewise.
13630
56f6f6a2
UD
13631 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
13632 * math/math_private.h: Remove libc_fegetround* and
13633 libc_fesetround*.
13634 * sysdeps/i386/configure.in: Check for -msse2avx.
13635 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
13636 also if SSE2AVX is defined.
13637 Remove libc_fegetround* and libc_fesetround*.
13638 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
13639 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
13640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
13641 of HAS_YMM_USABLE.
13642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13647
73139a76
UD
13648 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
13649
d73f93a4
AZ
136502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13651
13652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
13653 size is not set.
13654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13655
6ee65ed6
UD
136562012-01-27 Ulrich Drepper <drepper@gmail.com>
13657
13658 [BZ #13618]
13659 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
13660 relocation.
13661 * Makeconfig (libm): Define.
13662 * elf/Makefile: Add rules to build and run tst-relsort1.
13663 * elf/tst-relsort1.c: New file.
13664 * elf/tst-relsort1mod1.c: New file.
13665 * elf/tst-relsort1mod2.c: New file.
13666
8db21882
JM
136672012-01-27 Joseph Myers <joseph@codesourcery.com>
13668
13669 * math/s_ldexp.c: Remove __STDC__ conditionals.
13670 * math/s_ldexpf.c: Likewise.
13671 * math/s_ldexpl.c: Likewise.
13672 * math/s_nextafter.c: Likewise.
13673 * math/s_nexttowardf.c: Likewise.
13674 * math/s_significand.c: Likewise.
13675 * math/s_significandf.c: Likewise.
13676 * math/s_significandl.c: Likewise.
13677 * math/w_jnl.c: Likewise.
13678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
13679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
13680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
13681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
13682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
13683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13684 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
13685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13687 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13688 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13690 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
13692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13706 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
13707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13709 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
13710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
13712 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
13713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13714 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
13715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
13716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
13717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
13718 * sysdeps/ieee754/k_standard.c: Likewise.
13719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
13722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
13723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
13724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
13725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13726 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
13727 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
13728 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
13729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
13730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
13731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
13732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
13733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
13734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
13735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
13739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
13742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
13743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
13749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
13750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
13751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
13763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
13764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13765 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
13769 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
13770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
13776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
13780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
13781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
13782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
13784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
13785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
13786 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
13787 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
13788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
13789 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
13790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
13791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
13792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
13793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
13794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
13795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
13796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
13797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
13798 * sysdeps/ieee754/s_matherr.c: Likewise.
13799 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
13800 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
13801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13803
965a54a4
JM
138042012-01-26 Joseph Myers <joseph@codesourcery.com>
13805
13806 * crypt/md5.h: Remove __STDC__ conditionals.
13807 * libio/libioP.h: Likewise.
13808 * locale/programs/config.h: Likewise.
13809 * sysdeps/generic/sysdep.h: Likewise.
13810 * sysdeps/i386/asm-syntax.h: Likewise.
13811 * sysdeps/s390/asm-syntax.h: Likewise.
13812 * sysdeps/unix/sysdep.h: Likewise.
13813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13815
7071ad79
JM
138162012-01-26 Joseph Myers <joseph@codesourcery.com>
13817
13818 * libio/libio.h: Remove __STDC__ conditionals.
13819 * malloc/obstack.h: Likewise.
13820 * math/complex.h: Likewise.
13821 * math/math.h: Likewise.
13822 * sysdeps/generic/_G_config.h: Likewise.
13823 * sysdeps/gnu/_G_config.h: Likewise.
13824 * sysdeps/mach/hurd/_G_config.h: Likewise.
13825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13827 * sysdeps/sparc/bits/mathdef.h: Likewise.
13828
afc5ed09
UD
138292012-01-26 Ulrich Drepper <drepper@gmail.com>
13830
13831 [BZ #13583]
13832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 13833 Clean up HAS_* macros.
afc5ed09 13834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
13835 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
13836 possible.
13837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
13838 HAS_AVX.
13839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 13844
bdb6de1d
JM
138452012-01-25 Joseph Myers <joseph@codesourcery.com>
13846
13847 * elf/tst-unique3.cc (gets): Remove declaration.
13848 * elf/tst-unique3lib.cc (gets): Likewise.
13849 * elf/tst-unique3lib2.cc (gets): Likewise.
13850 * elf/tst-unique4.cc (gets): Likewise.
13851
b15549e6
UD
138522012-01-24 Ulrich Drepper <drepper@gmail.com>
13853
13854 * include/stdio.h: Add C++ protection. Add gets declarations and
13855 definitions.
13856 * debug/tst-chk1.c: Don't declare gets here.
13857 * stdio-common/tst-gets.c: Likewise.
13858
a037381f
JM
138592012-01-24 Joseph Myers <joseph@codesourcery.com>
13860
13861 * posix/glob: Remove directory.
13862
f1d4aa75
JM
138632012-01-24 Joseph Myers <joseph@codesourcery.com>
13864
13865 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
13866
81c0c964
PT
138672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
13868
13869 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
13870 of the non-standard EPFNOSUPPORT.
13871
0ea698ae
ST
138722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
13873
13874 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
13875 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
13876 ANYWHERE set to 1 only on KERN_NO_SPACE error.
13877
d220b117
UD
138782012-01-21 Ulrich Drepper <drepper@gmail.com>
13879
13880 * wcsmbs/uchar.h: Test __STDC_VERSION__.
13881
3e1aa84e
UD
138822012-01-20 Ulrich Drepper <drepper@gmail.com>
13883
13884 * nscd/aicache.c (addhstaiX): Do not cache negative results of
13885 transient errors.
13886 * nscd/grpcache.c (cache_addgr): Likewise.
13887 * nscd/hstcache.c (cache_addhst): Likewise.
13888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13889 * nscd/pwdcache.c (cache_addpw): Likewise.
13890 * nscd/servicescache.c (cache_addserv): Likewise.
13891
400aa020
UD
138922012-01-16 Ulrich Drepper <drepper@gmail.com>
13893
d77e7869
UD
13894 * malloc/malloc.c: Various cleanups.
13895 * malloc/hooks.c: Likewise.
13896
400aa020
UD
13897 * stdlib/Makefile (tests): Add bug-fmtmsg1.
13898 * stdlib/bug-fmtmsg1.c: New file.
13899
13900 * stdlib/fmtmsg.c (init): Add missing unlock.
13901 Patch by Peng Haitao <penght@cn.fujitsu.com>.
13902
e0a309cf
MP
139032012-01-12 Marek Polacek <polacek@redhat.com>
13904
13905 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
13906 and _GNU_SOURCE.
13907
929d11c7
WS
139082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13909
13910 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
13911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
13912 macro to ensure uniqueness of label name.
13913 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
13914 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
13915
41d0e869
UD
139162012-01-11 Ulrich Drepper <drepper@gmail.com>
13917
0cc5ed3b
UD
13918 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
13919
41d0e869
UD
13920 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
13921 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
13922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
13924
a47a831a
UD
139252012-01-10 Ulrich Drepper <drepper@gmail.com>
13926
daa891c0
UD
13927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
13928
13929 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
13930 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
13931 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
13932
e58ef0f2
UD
13933 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
13934
a47a831a 13935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
13936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
13937 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 13938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
13939
13940 * math/bits/math-finite.h: Add ldexp support.
13941
a0bfc9c7
MP
139422012-01-10 Marek Polacek <polacek@redhat.com>
13943
13944 * locale/programs/localedef.h (show_archive_content): Add noreturn
13945 attribute.
13946
d6e97a1d
UD
139472012-01-09 Ulrich Drepper <drepper@gmail.com>
13948
13949 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
13950
d5835c26
UD
139512012-01-08 Ulrich Drepper <drepper@gmail.com>
13952
e5f484c6
UD
13953 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
13954
d5835c26
UD
13955 * io/Makefile (headers): Add bits/poll2.h.
13956
d1f741e9
WS
139572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
13958
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
13960 typo #include statement.
13961
ec09c1c4
UD
139622012-01-08 Ulrich Drepper <drepper@gmail.com>
13963
13964 * include/sys/cdefs.h: Define __attribute_alloc_size.
13965 * catgets/gencat.c: Add alloc_size attribute and apply consistently
13966 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
13967 * elf/pldd.c: Likewise.
13968 * iconv/iconv_charmap.c: Likewise.
13969 * iconv/iconvconfig.c: Likewise.
13970 * iconv/strtab.c: Likewise.
13971 * locale/programs/locale.c: Likewise.
13972 * locale/programs/localedef.h: Likewise.
13973 * locale/programs/simple-hash.c: Likewise.
13974 * nscd/nscd.h: Likewise.
13975 * nss/makedb.c: Likewise.
13976 * sysdeps/generic/ldconfig.h: Likewise.
13977 * locale/programs/localedef.c: Remove xmalloc prototype.
13978 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
13979
20b38e03
PP
139802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13981
13982 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
13983 appropriate.
13984
a0da5fe1
UD
139852012-01-08 Ulrich Drepper <drepper@gmail.com>
13986
1d5a644a 13987 * math/Makefile (tests): Add tst-CMPLX.
669704fd 13988 * math/tst-CMPLX.c: New file.
1d5a644a 13989
8784a6db
UD
13990 * math/complex.h (CMPLXL): Fix typo.
13991
d9a216c0
UD
13992 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
13993 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
13994 GLIBC_2.16.
13995 * debug/tst-chk1.c: Add poll and ppoll tests.
13996 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
13997 * include/sys/poll.h: Add hidden proto for ppoll.
13998 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
13999 * sysdeps/mach/hurd/ppoll.c: Likewise.
14000 * io/ppoll.c: Likewise.
14001 * debug/poll_chk.c: New file.
14002 * debug/ppoll_chk.c: New file.
14003 * include/bits/poll2.h: New file.
14004 * io/bits/poll2.h: New file.
14005
ac097f5c
UD
14006 [BZ #1350]
14007 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
14008
2119dcfa
UD
14009 * configure.in: static is always set to yes. Remove.
14010 * config.make.in: Don't set build-static.
14011 * Makeconfig: Remove use of build-static.
14012 * dlfcn/Makefile: Likewise.
14013 * elf/Makefile: Likewise.
14014 * math/Makefile: Likewise.
14015 * misc/Makefile: Likewise.
14016 * nptl/Makefile: Likewise.
14017 * sysdeps/mach/hurd/Makefile: Likewise.
14018
121766a9
UD
14019 * configure.in: PWD_P is not used anymore.
14020 * config.make.in: Remove PWD_P entry.
14021
51a1d39c 14022 * configure.in: Remove last remnants of RANLIB.
8720d066 14023 No need to check for signed size_t anymore.
215f4bdc
UD
14024 Don't set libc_commonpagesize and libc_relro_required here for Alpha
14025 and IA-64.
3857022a 14026 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
14027 * aclocal.m4: Likewise.
14028
d3ed7225
UD
14029 * wcsmbs/mbrtoc16.c: Implement using towc function.
14030 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
14031 * wcsmbs/wcsmbsload.c: Likewise.
14032 * iconv/gconv_simple.c: Likewise.
14033 * iconv/gconv_int.h: Likewise.
14034 * iconv/gconv_builtin.h: Likewise.
14035 * iconv/iconv_prog.c: Remove CHAR16 handling.
14036
14037 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
14038
14039 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
14040
a0da5fe1
UD
14041 * configure.in: Remove --with-elf and --enable-bounded options.
14042 Dont set base_machine for ia64. More non-ELF conditions removed.
14043 Remove testing and setting of leading underscore information.
14044 * config.make.in (build-bounded): Set to no.
14045 * config.h.in: Remove NO_UNDERSCORES entry.
14046 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
14047 them.
14048 * csu/start.c: Remove !NO_UNDERSCORE code.
14049 * locale/localeinfo.h: Likewise.
14050 * sysdeps/generic/machine-gmon.h: Likewise.
14051 * sysdeps/generic/sysdep.h: Likewise.
14052 * sysdeps/i386/sysdep.h: Likewise.
14053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14054 * sysdeps/mach/sysdep.h: Likewise.
14055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14057 * sysdeps/sh/sysdep.h: Likewise.
14058 * sysdeps/sparc/sparc32/alloca.S: Likewise.
14059 * sysdeps/unix/i386/sysdep.S: Likewise.
14060 * sysdeps/unix/sparc/start.c: Likewise.
14061 * sysdeps/unix/sparc/sysdep.S: Likewise.
14062 * sysdeps/unix/sparc/sysdep.h: Likewise.
14063 * sysdeps/unix/start.c: Likewise.
14064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14065 * sysdeps/x86_64/sysdep.h: Likewise.
14066
df78418a
UD
140672012-01-07 Ulrich Drepper <drepper@gmail.com>
14068
a784e502
UD
14069 [BZ #13553]
14070 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
14071 for non-gcc.
14072 * argp/argp-fmtstream.h: Use const instead __const.
14073 * argp/argp.h: Likewise.
14074 * assert/assert.h: Likewise.
14075 * bits/fenv.h: Likewise.
14076 * bits/sched.h: Likewise.
14077 * bits/sigset.h: Likewise.
14078 * bits/sigthread.h: Likewise.
14079 * catgets/nl_types.h: Likewise.
14080 * conform/data/pthread.h-data: Likewise.
14081 * crypt/crypt-private.h: Likewise.
14082 * crypt/crypt.h: Likewise.
14083 * crypt/crypt_util.c: Likewise.
14084 * ctype/ctype.h: Likewise.
14085 * debug/execinfo.h: Likewise.
14086 * debug/mbsnrtowcs_chk.c: Likewise.
14087 * debug/mbsrtowcs_chk.c: Likewise.
14088 * debug/wcsnrtombs_chk.c: Likewise.
14089 * debug/wcsrtombs_chk.c: Likewise.
14090 * debug/wcstombs_chk.c: Likewise.
14091 * dirent/dirent.h: Likewise.
14092 * dlfcn/dlfcn.h: Likewise.
14093 * elf/neededtest4.c: Likewise.
14094 * grp/grp.h: Likewise.
14095 * gshadow/gshadow.h: Likewise.
14096 * iconv/gconv.h: Likewise.
14097 * iconv/gconv_int.h: Likewise.
14098 * iconv/gconv_simple.c: Likewise.
14099 * iconv/iconv.h: Likewise.
14100 * iconv/loop.c: Likewise.
14101 * iconv/skeleton.c: Likewise.
14102 * include/aio.h: Likewise.
14103 * include/aliases.h: Likewise.
14104 * include/argz.h: Likewise.
14105 * include/arpa/inet.h: Likewise.
14106 * include/assert.h: Likewise.
14107 * include/dirent.h: Likewise.
14108 * include/dlfcn.h: Likewise.
14109 * include/execinfo.h: Likewise.
14110 * include/fcntl.h: Likewise.
14111 * include/fenv.h: Likewise.
14112 * include/glob.h: Likewise.
14113 * include/grp.h: Likewise.
14114 * include/libintl.h: Likewise.
14115 * include/mntent.h: Likewise.
14116 * include/netdb.h: Likewise.
14117 * include/pwd.h: Likewise.
14118 * include/rpc/netdb.h: Likewise.
14119 * include/sched.h: Likewise.
14120 * include/search.h: Likewise.
14121 * include/shadow.h: Likewise.
14122 * include/signal.h: Likewise.
14123 * include/stdio.h: Likewise.
14124 * include/stdlib.h: Likewise.
14125 * include/string.h: Likewise.
14126 * include/sys/socket.h: Likewise.
14127 * include/sys/stat.h: Likewise.
14128 * include/sys/statfs.h: Likewise.
14129 * include/sys/statvfs.h: Likewise.
14130 * include/sys/syslog.h: Likewise.
14131 * include/sys/time.h: Likewise.
14132 * include/sys/uio.h: Likewise.
14133 * include/time.h: Likewise.
14134 * include/unistd.h: Likewise.
14135 * include/utmp.h: Likewise.
14136 * include/wchar.h: Likewise.
14137 * include/wctype.h: Likewise.
14138 * inet/aliases.h: Likewise.
14139 * inet/arpa/inet.h: Likewise.
14140 * inet/netinet/ether.h: Likewise.
14141 * inet/netinet/in.h: Likewise.
14142 * intl/libintl.h: Likewise.
14143 * io/bits/fcntl2.h: Likewise.
14144 * io/fcntl.h: Likewise.
14145 * io/ftw.h: Likewise.
14146 * io/sys/poll.h: Likewise.
14147 * io/sys/stat.h: Likewise.
14148 * io/sys/statfs.h: Likewise.
14149 * io/sys/statvfs.h: Likewise.
14150 * io/utime.h: Likewise.
14151 * libio/bits/stdio.h: Likewise.
14152 * libio/bits/stdio2.h: Likewise.
14153 * libio/libio.h: Likewise.
14154 * libio/libioP.h: Likewise.
14155 * libio/stdio.h: Likewise.
14156 * locale/lc-ctype.c: Likewise.
14157 * locale/locale.h: Likewise.
14158 * login/utmp.h: Likewise.
14159 * malloc/arena.c: Likewise.
14160 * malloc/malloc.c: Likewise.
14161 * malloc/malloc.h: Likewise.
14162 * malloc/mcheck.c: Likewise.
14163 * malloc/mtrace.c: Likewise.
14164 * math/bits/mathcalls.h: Likewise.
14165 * math/fenv.h: Likewise.
14166 * math/math_private.h: Likewise.
14167 * misc/bits/error.h: Likewise.
14168 * misc/bits/syslog.h: Likewise.
14169 * misc/err.h: Likewise.
14170 * misc/error.h: Likewise.
14171 * misc/fstab.h: Likewise.
14172 * misc/mntent.h: Likewise.
14173 * misc/regexp.h: Likewise.
14174 * misc/search.h: Likewise.
14175 * misc/sgtty.h: Likewise.
14176 * misc/sys/mman.h: Likewise.
14177 * misc/sys/syslog.h: Likewise.
14178 * misc/sys/uio.h: Likewise.
14179 * misc/sys/xattr.h: Likewise.
14180 * misc/ttyent.h: Likewise.
14181 * nis/rpcsvc/ypclnt.h: Likewise.
14182 * nss/nss.h: Likewise.
14183 * posix/bits/unistd.h: Likewise.
14184 * posix/fnmatch.h: Likewise.
14185 * posix/glob.h: Likewise.
14186 * posix/sched.h: Likewise.
14187 * posix/spawn.h: Likewise.
14188 * posix/sys/wait.h: Likewise.
14189 * posix/unistd.h: Likewise.
14190 * posix/wordexp.h: Likewise.
14191 * pwd/pwd.h: Likewise.
14192 * resolv/netdb.h: Likewise.
14193 * resource/sys/resource.h: Likewise.
14194 * rt/aio.h: Likewise.
14195 * rt/bits/mqueue2.h: Likewise.
14196 * rt/mqueue.h: Likewise.
14197 * shadow/shadow.h: Likewise.
14198 * signal/signal.h: Likewise.
14199 * socket/send.c: Likewise.
14200 * socket/sendto.c: Likewise.
14201 * socket/sys/socket.h: Likewise.
14202 * stdio-common/printf.h: Likewise.
14203 * stdlib/bits/stdlib.h: Likewise.
14204 * stdlib/fmtmsg.h: Likewise.
14205 * stdlib/monetary.h: Likewise.
14206 * stdlib/stdlib.h: Likewise.
14207 * stdlib/ucontext.h: Likewise.
14208 * streams/stropts.h: Likewise.
14209 * string/argz.h: Likewise.
14210 * string/bits/string2.h: Likewise.
14211 * string/string.h: Likewise.
14212 * string/strings.h: Likewise.
14213 * sunrpc/rpc/auth.h: Likewise.
14214 * sunrpc/rpc/auth_des.h: Likewise.
14215 * sunrpc/rpc/clnt.h: Likewise.
14216 * sunrpc/rpc/netdb.h: Likewise.
14217 * sunrpc/rpc/pmap_clnt.h: Likewise.
14218 * sunrpc/rpc/xdr.h: Likewise.
14219 * sysdeps/generic/inttypes.h: Likewise.
14220 * sysdeps/generic/net/if.h: Likewise.
14221 * sysdeps/generic/sys/swap.h: Likewise.
14222 * sysdeps/gnu/net/if.h: Likewise.
14223 * sysdeps/gnu/utmpx.h: Likewise.
14224 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
14225 * sysdeps/i386/i486/bits/string.h: Likewise.
14226 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
14227 * sysdeps/s390/bits/string.h: Likewise.
14228 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
14229 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
14230 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
14231 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
14232 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
14233 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
14234 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
14235 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
14236 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
14237 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
14238 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
14239 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14240 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
14241 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14242 * sysdeps/unix/sysv/linux/readv.c: Likewise.
14243 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
14244 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
14247 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
14248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14249 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
14250 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
14251 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
14252 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
14253 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
14254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
14255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14256 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
14257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
14258 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
14259 * sysvipc/sys/ipc.h: Likewise.
14260 * sysvipc/sys/msg.h: Likewise.
14261 * sysvipc/sys/sem.h: Likewise.
14262 * sysvipc/sys/shm.h: Likewise.
14263 * termios/termios.h: Likewise.
14264 * time/sys/time.h: Likewise.
14265 * time/time.h: Likewise.
14266 * wcsmbs/bits/wchar2.h: Likewise.
14267 * wcsmbs/uchar.h: Likewise.
14268 * wcsmbs/wchar.h: Likewise.
14269 * wctype/wctype.h: Likewise.
14270
0269750c
UD
14271 [BZ #13551]
14272 * Makeconfig: Remove all but ELF support including AIX support.
14273 * Makerules: Likewise.
14274 * config.h.in: Likewise.
14275 * config.make.in: Likewise.
14276 * configure: Likewise.
14277 * configure.in: Likewise.
14278 * csu/Makefile: Likewise.
14279 * csu/version.c: Likewise.
14280 * debug/Makefile: Likewise.
14281 * dlfcn/Makefile: Likewise.
14282 * elf/Makefile: Likewise.
14283 * extra-lib.mk: Likewise.
14284 * iconv/Makefile: Likewise.
14285 * include/libc-symbols.h: Likewise.
14286 * include/shlib-compat.h: Likewise.
14287 * resolv/Makefile: Likewise.
14288 * resolv/res_libc.c: Likewise.
14289 * rt/Makefile: Likewise.
14290 * sysdeps/i386/asm-syntax.h: Likewise.
14291 * sysdeps/i386/sysdep.h: Likewise.
14292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
14293 * sysdeps/mach/sysdep.h: Likewise.
14294 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
14295 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
14296 * sysdeps/s390/asm-syntax.h: Likewise.
14297 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14299 * sysdeps/sh/sysdep.h: Likewise.
14300 * sysdeps/unix/sparc/sysdep.h: Likewise.
14301 * sysdeps/wordsize-32/divdi3.c: Likewise.
14302 * sysdeps/x86_64/sysdep.h: Likewise.
14303
00bbd29b
UD
14304 * argp/Versions: Remove _argp_unlock_xxx.
14305
14306 [BZ #13559]
14307 * abilist/ld.abilist: Update. Adjust for removal of tls option.
14308 * abilist/libBrokenLocale.abilist: Likewise.
14309 * abilist/libanl.abilist: Likewise.
14310 * abilist/libc.abilist: Likewise.
14311 * abilist/libcrypt.abilist: Likewise.
14312 * abilist/libdl.abilist: Likewise.
14313 * abilist/libm.abilist: Likewise.
14314 * abilist/libnsl.abilist: Likewise.
14315 * abilist/libpthread.abilist: Likewise.
14316 * abilist/libresolv.abilist: Likewise.
14317 * abilist/librt.abilist: Likewise.
14318 * abilist/libthread_db.abilist: Likewise.
14319 * abilist/libutil.abilist: Likewise.
14320 * abilist/libnss_db.abilist: New file.
14321
14322 * scripts/abilist.awk: Add support for indirect functions.
14323
a2693a0e
UD
14324 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
14325
3f05895f
UD
14326 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
14327
ecb6fb48
UD
14328 * shlib-versions: Remove entries for ports architectures.
14329
664f8cb9
UD
14330 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
14331 files in ports.
14332 * elf/stackguard-macros.h: Remove support for IA-64.
14333 * elf/tst-auditmod1.c: Likewise.
14334 * sysdeps/generic/ldsodefs.h: Likewise.
14335
7ae81d88
UD
14336 * sysdeps/unix/sysv/linux/configure.in: Ports should define
14337 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
14338 configure files.
14339
bdeba135
UD
14340 [BZ #13552]
14341 * configure.in: Remove --enable-omitfp support.
14342 * FAQ.in: Adjust.
14343 * config.make.in: Likewise.
14344 * Makeconfig: Likewise.
14345 * manual/install.texi: Likewise.
14346
d75a0a62
UD
14347 In case anyone cares, the IA-64 architecture could move to ports.
14348 * sysdeps/ia64/*: Removed.
14349 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 14350 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 14351
dcc9756b
UD
14352 [BZ #13555]
14353 * configure.in: Remove entries for unsupported architectures.
14354
d3761ebc 14355 [BZ #13533]
9954432e
UD
14356 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
14357 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
14358 routines.
14359 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
14360 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
14361 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
14362 fall back to using wcrtomb.
14363 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
14364 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
14365 renaming.
14366 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
14367 * wcsmbs/tst-c16c32-1.c: New file.
14368
14369 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
14370 local variable.
14371
c3a87236
UD
14372 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
14373
28926a1b
UD
14374 * elf/tst-unique3.cc: Add explicit declaration of gets.
14375 * elf/tst-unique3lib.cc: Likewise.
14376 * elf/tst-unique3lib2.cc: Likewise.
14377 * elf/tst-unique4.cc: Likewise.
14378
df78418a
UD
14379 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
14380
8ecd6b2a
JM
143812012-01-06 Joseph Myers <joseph@codesourcery.com>
14382
14383 [BZ #13566]
14384 * assert/assert.h (static_assert): Don't define for C++.
14385 * libio/stdio.h (gets): Do declare for C++ <= C++11.
14386 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
14387
9f115170
UD
143882012-01-03 Ulrich Drepper <drepper@gmail.com>
14389
5e0d0300
UD
14390 * iconv/loop.c (single loop): Fix assertion in storing of
14391 remaining bytes.
14392
9f115170
UD
14393 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
14394
81fb02b0
UD
143952012-01-01 Ulrich Drepper <drepper@gmail.com>
14396
14397 * posix/getconf.c: Update copyright year.
14398 * nss/getent.c: Likewise.
a316c1f6 14399 * nss/makedb.c: Likewise.
81fb02b0
UD
14400 * iconv/iconvconfig.c: Likewise.
14401 * iconv/iconv_prog.c: Likewise.
14402 * elf/ldconfig.c: Likewise.
a316c1f6
UD
14403 * elf/pldd.c: Likewise.
14404 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
14405 * catgets/gencat.c: Likewise.
14406 * csu/version.c: Likewise.
14407 * elf/ldd.bash.in: Likewise.
14408 * elf/sprof.c (print_version): Likewise.
14409 * locale/programs/locale.c: Likewise.
14410 * locale/programs/localedef.c: Likewise.
a316c1f6 14411 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
14412 * nscd/nscd.c (print_version): Likewise.
14413 * debug/xtrace.sh: Likewise.
14414 * malloc/memusage.sh: Likewise.
14415 * malloc/mtrace.pl: Likewise.
14416 * debug/catchsegv.sh: Likewise.
14417
2ba92745
JJ
144182011-12-30 Jakub Jelinek <jakub@redhat.com>
14419
14420 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
14421 pure attribute.
14422
dadebdae
UD
144232011-12-24 Ulrich Drepper <drepper@gmail.com>
14424
d3761ebc 14425 [BZ #13533]
db6af3eb
UD
14426 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
14427 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
14428 transformations.
14429 * iconv/gconv_int.h: Likewise.
14430 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
14431 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
14432 from libc for GLIBC_2.16.
14433 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
14434 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
14435 * wcsmbs/uchar.h: Really define mbstate_t.
14436 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
14437 * wcsmbs/c16rtomb.c: New file.
14438 * wcsmbs/mbrtoc16.c: New file.
14439 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
14440 for C/POSIX locale.
14441 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
14442 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
14443
dadebdae
UD
14444 * wcsmbs/wchar.h: Add missing __restrict.
14445
67371b56
UD
144462011-12-23 Ulrich Drepper <drepper@gmail.com>
14447
74033a25
UD
14448 [BZ #13532]
14449 * time/Makefile (routines): Add timespec_get.
14450 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
14451 * time/time.h: Define TIME_UTC and declare timespec_get. Define
14452 timespec for ISO C11.
14453 * time/timespec_get.c: New file.
14454 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
14455 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
14456
380d7e87
UD
14457 [BZ #13531]
14458 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
14459 * stdlib/stdlib.h: Declare aligned_alloc.
14460 * Versions.def: Add GLIBC_2.16 for libc.
14461 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
14462
4e9e7a35
UD
14463 [BZ 13527]
14464 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
14465 ISO C11.
14466
380d7e87 14467 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
14468 code.
14469
03a71829
UD
14470 [BZ #13528]
14471 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
14472
839e283e
UD
14473 [BZ #13529]
14474 * assert/assert.h (static_assert): Define.
14475
ce5294e2 14476 * version.h: Update for 2.16 development version.
90fa7312 14477
8d44e150 14478 [BZ #13526]
d7809905
UD
14479 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
14480 _ISOC11_SOURCE.
14481
c0da14cd
UD
14482 * version.h (RELEASE): Bump for 2.15 release.
14483 * include/features.h (__GLIBC_MINOR__): Bump to 15.
14484
530a3249
MP
14485 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
14486 Patch by Marek Polacek <mpolacek@redhat.com>.
14487
67371b56
UD
14488 * bits/byteswap.h: Protect long long constants with __extension__.
14489 * sysdeps/i386/bits/byteswap.h: Likewise.
14490 * sysdeps/ia64/bits/byteswap.h: Likewise.
14491 * sysdeps/s390/bits/byteswap.h: Likewise.
14492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14493
15db4de1
LD
144942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14495
14496 [BZ #13540]
bbe315ea
LD
14497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
14498 destination buffer.
15db4de1
LD
14499 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14500
2b2596b1
MP
145012011-12-23 Marek Polacek <polacek@redhat.com>
14502
14503 * elf/dl-addr.c (determine_info): Add inline keyword.
14504 * elf/tst-auditmod4b.c (check_avx): Likewise.
14505 * elf/tst-auditmod6b.c (check_avx): Likewise.
14506 * elf/tst-auditmod6c.c (check_avx): Likewise.
14507 * elf/tst-auditmod7b.c (check_avx): Likewise.
14508
70c6c246
UD
145092011-12-23 Ulrich Drepper <drepper@gmail.com>
14510
14511 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
14512 !__SSE_MATH__.
14513
c044cf14
LD
145142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14515
15db4de1 14516 [BZ #13540]
c044cf14
LD
14517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
14518 processing for last bytes.
14519
6b13d9d9
BH
145202011-08-06 Bruno Haible <bruno@clisp.org>
14521
d455f537
BH
14522 [BZ #13061]
14523 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
14524 U+0385, not to U+1FEE.
14525
6b13d9d9
BH
14526 [BZ #13062]
14527 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
14528 entry for U+00A5 U+0301.
14529
db910efd
UD
145302011-12-22 Ulrich Drepper <drepper@gmail.com>
14531
27deeafc
UD
14532 [BZ #13166]
14533 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
14534 buffer for the output is too small.
14535
aed9d171
UD
14536 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
14537 optimization.
14538
db910efd
UD
14539 [BZ #13185]
14540 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
14541 SSE flags if possible.
14542
2bd779ae
LD
145432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14544
e7f9dac3 14545 [BZ #13540]
2bd779ae
LD
14546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
14547 processing for last bytes.
14548
154bfc16
JM
145492011-12-22 Joseph Myers <joseph@codesourcery.com>
14550
14551 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
14552 (syscall-list-default-options, syscall-list-default-condition)
14553 (syscall-list-includes): Define.
14554 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
14555 list of ABIs and options and #if conditions for each ABI. Do not
14556 handle common syscalls between ABIs specially.
14557 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
14558 Remove.
14559 (syscall-list-variants, syscall-list-32bit-options)
14560 (syscall-list-32bit-condition, syscall-list-64bit-options)
14561 (syscall-list-64bit-condition): Define.
14562 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
14563 (syscall-list-variants, syscall-list-32bit-options)
14564 (syscall-list-32bit-condition, syscall-list-64bit-options)
14565 (syscall-list-64bit-condition): Define.
14566 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
14567 Remove.
14568 (syscall-list-variants, syscall-list-32bit-options)
14569 (syscall-list-32bit-condition, syscall-list-64bit-options)
14570 (syscall-list-64bit-condition): Define.
14571 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
14572 Remove.
14573 (syscall-list-variants, syscall-list-32bit-options)
14574 (syscall-list-32bit-condition, syscall-list-64bit-options)
14575 (syscall-list-64bit-condition): Define.
14576
21eaf3a5
UD
145772011-12-22 Ulrich Drepper <drepper@gmail.com>
14578
16c6f992
UD
14579 * locale/iso-639.def: Add brx entry.
14580
41043168
UD
14581 [BZ #13328]
14582 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
14583 Proposed by Mariusz_Cukr <marcukr@op.pl>.
14584
21eaf3a5
UD
14585 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
14586 __feraiseexcept_renamed.
14587
e3a851a2
UD
145882011-12-21 Ulrich Drepper <drepper@gmail.com>
14589
4920765e
UD
14590 [BZ #13538]
14591 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
14592 EPOLLET with unsigned values.
14593 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
14594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
14595
e3a851a2
UD
14596 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
14597 to large cancellation.
14598 * math/s_cacoshf.c: Likewise.
14599 * math/s_cacoshl.c: Likewise.
14600
b27e24b8
RK
146012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
14602
14603 [BZ #13305]
aebefeee 14604 [BZ #12786]
b27e24b8
RK
14605 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
14606 * math/s_cacoshf.c: Likewise.
14607 * math/s_cacoshl.c: Likewise.
14608
ee190f67
UD
146092011-12-21 Ulrich Drepper <drepper@gmail.com>
14610
14611 [BZ #13439]
14612 * iconv/gconv.h: Define __GCONV_SWAP.
14613 * iconvdata/unicode.c: The swap bit must be stored in __flags.
14614 * iconvdata/utf-16.c: Likewise.
14615 * iconvdata/utf-32.c: Likewise.
14616
707f25df
AS
146172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
14618
14619 [BZ #13524]
14620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
14621 numerator after shifting it by one limb.
14622
d2daaa1e
RÁE
146232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
14624
14625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
14626 under [__USE_EXTERN_INLINES].
14627
a4647e72
UD
146282011-12-17 Ulrich Drepper <drepper@gmail.com>
14629
14630 [BZ #13446]
14631 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
14632
f0b264f1
AZ
146332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14634
14635 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
14636 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
14637 optimized code.
14638 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
14639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
14640 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
14641 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
14642 for strncasecmp/strncasecmp_l compilation.
14643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
14644 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
14645
8ef4f244
MP
146462011-12-08 Marek Polacek <mpolacek@redhat.com>
14647
14648 [BZ #13484]
14649 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
14650 of __asm__.
14651
97ac2654
UD
146522011-12-17 Ulrich Drepper <drepper@gmail.com>
14653
14654 [BZ #13506]
14655 * time/tzfile.c (__tzfile_read): Check values from file header.
14656
91d2a845
WS
146572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14658
14659 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
14660 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
14661 * powerpc/powerpc32/dl-start.S: Likewise.
14662 * powerpc/powerpc32/elf/start.S: Likewise.
14663 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14664 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
14665 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
14666 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
14667 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14668 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
14669 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
14670 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14671 * powerpc/powerpc32/fpu/s_round.S: Likewise.
14672 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14673 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14674 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14675 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14676 * powerpc/powerpc32/memset.S: Likewise.
14677 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14678 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14679 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14680 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14681 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14682 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14683 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14684 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14685 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
14686 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
14687 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
14688 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
14689 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
14690
a1267ba1
AZ
146912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14692
14693 * math/libm-test.inc: Added more nearbyint tests.
14694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
14695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
14696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
14697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
14698
ad8ac1bd
RL
146992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
14700
14701 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
14702 FD_CLOEXEC.
14703
1d3e4b61
UD
147042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14705
14706 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
14707 Add wcscpy-ssse3 wcscpy-c.
14708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
14709 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
14710 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
14711 * sysdeps/x86_64/wcschr.S: New file.
14712 * sysdeps/x86_64/wcsrchr.S: New file.
14713 * string/test-strcmp.c: Remove checking of wcscmp function for
14714 wrong alignments.
14715 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
14716 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
14717 wcsrchr-sse2 wcsrchr-c.
14718 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
14719 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
14720 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
14721 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
14722 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
14723 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
14724 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
14725 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
14726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
14727 * wcsmbc/wcschr.c (WCSCHR): New macro.
14728
5b330a2d
UD
147292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14730
14731 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
14732 * wcsmbs/test-wcsrchr.c: New file.
14733 * string/test-strrchr.c: Add wcsrchr support.
14734 (WIDE): New macro.
14735 * wcsmbs/test-wcscpy.c: New file.
14736 * string/test-strcpy.c: Add wcscpy support.
14737 (WIDE): New macro.
26428b7c 14738
f039c043
UD
147392011-12-10 Ulrich Drepper <drepper@gmail.com>
14740
14741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
14742 the inner loop.
14743
850fb039
AS
147442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
14745
14746 [BZ #13472]
14747 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
14748
4efbd5cb
UD
147492011-12-04 Ulrich Drepper <drepper@gmail.com>
14750
52ff5dd0 14751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 14752 Minor optimizations.
52ff5dd0 14753
4efbd5cb
UD
14754 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
14755 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
14756 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14757
8a426e12
UD
147582011-12-03 Ulrich Drepper <drepper@gmail.com>
14759
aff2453d
UD
14760 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
14761 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
14762 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
14763 for gcc to avoid warnings.
14764 * inet/Makefile (tests): Add tst-checks.
14765 * inet/tst-checks.c: New file.
14766
14767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
14768 warning.
14769
14770 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
14771 __wmemcmp_sse2.
14772
14773 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
14774 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
14775
8a426e12
UD
14776 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
14777
9bea3473
UD
147782011-12-02 Ulrich Drepper <drepper@gmail.com>
14779
3a965496
UD
14780 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
14781 problem.
14782
9bea3473
UD
14783 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
14784
f101631b
UD
147852011-11-29 Joseph Myers <joseph@codesourcery.com>
14786
14787 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
14788 conditional on GCC version.
14789 (__arch_compare_and_exchange_val_8_acq)
14790 (__arch_compare_and_exchange_val_16_acq)
14791 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
14792 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
14793 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
14794
a98275aa
UD
147952011-12-02 Joseph Myers <joseph@codesourcery.com>
14796
14797 * sysdeps/sh/backtrace.c: New file.
14798
d4cc29a2
AS
147992011-12-02 Andreas Schwab <schwab@redhat.com>
14800
14801 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
14802 parenthesis.
14803
6257af2d
AS
148042011-12-01 Andreas Schwab <schwab@redhat.com>
14805
14806 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
14807 falling back to utime.
14808
b5f44c1a
AS
148092011-11-30 Andreas Schwab <schwab@redhat.com>
14810
14811 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
14812 expectations for float.
14813
f3a6cc0a
AS
148142011-11-29 Andreas Schwab <schwab@redhat.com>
14815
14816 * locale/weight.h (findidx): Add parameter len.
14817 * locale/weightwc.h (findidx): Likewise.
14818 * posix/fnmatch_loop.c (FCT): Adjust caller.
14819 * posix/regcomp.c (build_equiv_class): Likewise.
14820 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
14821 * posix/regexec.c (check_node_accept_bytes): Likewise.
14822 * string/strcoll_l.c (STRCOLL): Likewise.
14823 * string/strxfrm_l.c (STRXFRM): Likewise.
14824
9d65ea3a
UD
148252011-11-17 Ulrich Drepper <drepper@gmail.com>
14826
14827 * Makefile.in: Remove CVSOPT handling.
14828 * configure.in: Remove use of AC_REVISION.
14829 * iconvdata/Makefile (distribute): No need to filter out CVS.
14830 * scripts/list-sources.sh: Remove CVS, subversion and monotone
14831 handling.
14832
5583a086
AS
148332011-11-16 Andreas Schwab <schwab@redhat.com>
14834
14835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
14836 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
14837 [USE_AS_STRNCASECMP_L]: Likewise.
14838 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
14839 NO_TLS_DIRECT_SEG_REFS.
14840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
14841 Fix argument offsets for non-PIC.
14842 [USE_AS_STRNCASECMP_L]: Likewise.
14843 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
14844 NO_TLS_DIRECT_SEG_REFS.
14845
d62a8200
UD
148462011-11-15 Ulrich Drepper <drepper@gmail.com>
14847
9d65ea3a 14848 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
14849 O_CLOEXEC.
14850 * locale/loadlocale.c (_nl_load_locale): Likewise.
14851
09f93bd3
AS
148522011-11-15 Andreas Schwab <schwab@redhat.com>
14853
446514f9
AS
14854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
14855 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
14856 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
14857 (SYSCALL_GETTIME): Set errno on error.
14858
09f93bd3
AS
14859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
14860 count references to noai6ai_cached.
14861
312be3f9
UD
148622011-11-15 Ulrich Drepper <drepper@gmail.com>
14863
14864 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
14865
14866 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
14867 FD_CLOEXEC for /proc/self/maps.
14868
14869 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
14870 FD_CLOEXEC for /proc/meminfo.
14871
14872 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
14873 gai.conf.
14874
14875 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
14876 FD_CLOEXEC for given file.
14877
14878 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
14879
14880 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
14881 FD_CLOEXEC for /etc/hosts.
14882 (_gethtent): Likewise.
14883
14884 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
14885
14886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
14887 cancellation and set FD_CLOEXEC for /etc/netgroup.
14888
14889 * nss/nss_files/files-key.c (search): Don't allow cancellation when
14890 reading /etc/publickey.
14891
14892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
14893 allow cancellation when reading /etc/group.
14894
14895 * nss/nss_files/files-alias.c (internal_setent): Don't allow
14896 cancellation.
14897 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
14898
14899 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
14900 when using data file.
14901
14902 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
14903
14904 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
14905 (write_nis_obj): Use "c" and "e" in fopen.
14906
14907 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
14908
14909 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
14910
14911 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
14912
14913 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
14914
14915 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
14916 locale.alias.
14917
14918 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
14919
14920 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
14921
14922 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
14923
14924 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
14925 file parsing and set FD_CLOEXEC.
14926
82af0fa8
UD
149272011-11-14 Ulrich Drepper <drepper@gmail.com>
14928
14929 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
14930
a5fb313c
AS
149312011-11-14 Andreas Schwab <schwab@redhat.com>
14932
14933 * malloc/arena.c (arena_get2): Don't call reused_arena when
14934 _int_new_arena failed.
14935
6abf3465
UD
149362011-11-14 Ulrich Drepper <drepper@gmail.com>
14937
14938 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
14939 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
14940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
14941 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14942 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
14944 to compile strcasecmp and strncasecmp.
14945 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
14946 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
14947
14948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
14949
76e3966e
UD
149502011-11-13 Ulrich Drepper <drepper@gmail.com>
14951
14952 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
14953 locale-defines.sym to gen-as-const-headers.
14954 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
14955 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
14956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
14957 to compile strcasecmp and strncasecmp.
14958 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
14959 strcasecmp_l and strncasecmp_l.
14960 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
14961 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
14962 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
14963 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
14964 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
14965 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
14966 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
14967 * sysdeps/i386/i686/multiarch/strncase.S: New file.
14968 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
14969 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
14970 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
14971
ab26144e
UD
149722011-11-12 Ulrich Drepper <drepper@gmail.com>
14973
7edb22ef
UD
14974 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
14975 result of SYSDEP_GETTIME_CPU to retval.
14976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
14977 parameter list to macro. Remove trailing semicolon. Adjust users.
14978
9694fc44
UD
14979 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
14980 variable.
14981
8ad89ef8
UD
14982 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
14983 mantissa words.
14984 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14985
0c822ef9
UD
14986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
14987 from unused variable.
14988
874e0564
UD
14989 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
14990 DWARF definitions.
14991 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
14992 for assembling.
14993
3a2edc79
UD
14994 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
14995 over namespaces.
14996
f3c2577f
UD
14997 * sunrpc/rpc_prot.c (rejected): Fix case value.
14998
294ce126
UD
14999 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
15000 unsigned long long int to avoid warnings in shift.
15001
5e2b63c6
UD
15002 * posix/regex_internal.c (re_string_reconstruct): Actually use result
15003 of use of trans.
15004 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
15005 variable tmp.
15006
e7f4b08e
UD
15007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
15008 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
15009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
15010
ab26144e
UD
15011 * nis/nis_table.c (nis_list): Use variable of correct type for
15012 result of __follow_path call.
15013
8a6d5255
AZ
150142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15015
15016 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
15017 of math functions ceil, trunc, floor, round, and sqrt, when
15018 avaliable on the platform.
15019 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
15020 name clash.
15021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
15023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
15024
aaddc98c
MP
150252011-10-30 Marek Polacek <mpolacek@redhat.com>
15026
15027 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
15028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15029
95b7042b
RM
150302011-11-11 Roland McGrath <roland@hack.frob.com>
15031
15032 * include/unistd.h: Fix __readlink return type.
15033 Reported by Chris Metcalf <cmetcalf@tilera.com>.
15034
57769839
UD
150352011-11-11 Ulrich Drepper <drepper@gmail.com>
15036
15037 * stdlib/ucontext.h: Undo last change for makecontext.
15038
edc5984d
AS
150392011-11-11 Andreas Schwab <schwab@redhat.com>
15040
98591e58
AS
15041 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
15042
edc5984d
AS
15043 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
15044 * setjmp/setjmp.h: Mark functions as non-leaf.
15045 * setjmp/bits/setjmp2.h: Likewise.
15046 * stdlib/ucontext.h: Likewise.
15047
77cdc054
AS
150482011-11-10 Andreas Schwab <schwab@redhat.com>
15049
15050 * malloc/arena.c (_int_new_arena): Don't increment narenas.
15051 (reused_arena): Don't check arena limit.
15052 (arena_get2): Atomically check arena limit.
15053
fe72eebd
UD
150542011-11-08 Ulrich Drepper <drepper@gmail.com>
15055
5f078c32
UD
15056 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
15057 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
15058
fe72eebd
UD
15059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
15060 instructions.
15061
ae1bc2fa
AS
150622011-11-07 Andreas Schwab <schwab@redhat.com>
15063
7583a88d
AS
15064 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
15065 handler when locking.
15066
ae1bc2fa
AS
15067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
15068 Fix size of allocated buffer.
15069
10fb0bfa
AS
150702011-11-04 Andreas Schwab <schwab@redhat.com>
15071
998832a4
AS
15072 [BZ #10103]
15073 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
15074 declarations for long double functions.
15075 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
15076
10fb0bfa
AS
15077 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
15078
3d7ba52b
AS
150792011-11-03 Andreas Schwab <schwab@redhat.com>
15080
a9ae54a1
AS
15081 * nscd/nscd.c (main): Don't start AVC thread until credentials are
15082 installed.
15083
3d7ba52b
AS
15084 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
15085 is disabled.
15086
bc8db248
ST
150872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15088
15089 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
15090
45b96dd6
AS
150912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
15092
647776f6
AS
15093 * include/alloca.h (stackinfo_alloca_round): Define.
15094 (extend_alloca): Use it.
15095 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
15096 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
15097 here.
15098
d91a8b93
AS
15099 * scripts/check-local-headers.sh: Ignore libaudit.h.
15100
45b96dd6
AS
15101 * nscd/Makefile (extra-objs): Make recursively expanded.
15102
432d41ce
UD
151032011-11-01 Ulrich Drepper <drepper@gmail.com>
15104
34372fc6
UD
15105 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
15106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15107
fadb59f8
UD
15108 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
15109 * posix/tst-rfc3484-2.c: Likewise.
15110 * posix/tst-rfc3484-3.c: Likewise.
15111
78239589
UD
15112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15113 process_vm_writev.
15114 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
15115 process_vm_writev.
15116 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
15117 process_vm_writev from libc using GLIBC_2.15 version.
15118
432d41ce
UD
15119 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
15120
02f9c6cf
PP
151212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
15122
15123 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
15124 stack usage.
15125
3a2c0242
UD
151262011-10-31 Ulrich Drepper <drepper@gmail.com>
15127
f4ec4833
UD
15128 [BZ #13367]
15129 * nss/getent.c (initgroups_keys): Show error message in case no group
15130 names are given.
15131
3a2c0242
UD
15132 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
15133 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
15134 __bump_nl_timestamp.
15135 * nscd/connections (nscd_init): When host database is served open
15136 netlink socket and request notification about configuration changes.
15137 (main_loop_poll): Track netlink file descriptor and bump timestamp
15138 in case data becomes available.
15139 (main_loop_epoll): Likewise.
15140 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
15141 (database_pers_head): Add extra_data fileds.
15142 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
15143 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
15144 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
15145 Adjust caller.
15146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
15147 in6ai data, call __free_in6ai.
15148 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
15149 Add -DHAVE_NETLINK.
15150 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
15151 interface information. Reuse previous data if netlink timestamp
15152 is not changed.
15153 (__bump_nl_timestamp): New function.
15154 (__free_in6ai): New function.
15155
636064eb
UD
151562011-10-30 Ulrich Drepper <drepper@gmail.com>
15157
15158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
15159 close_not_cancel_no_status here.
15160 (__check_pf): Reorganize code a bit to not call close twice if OOM.
15161
9beb2334
UD
151622011-10-29 Ulrich Drepper <drepper@gmail.com>
15163
6ef76f3b
UD
15164 [BZ #13276]
15165 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
15166 return value.
15167
0ffc4f3e 15168 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
15169 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
15170 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
15171
cb95113e
UD
151722011-07-03 Andreas Jaeger <aj@suse.de>
15173
15174 [BZ #10709]
15175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
15176 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
15177 * math/libm-test.inc (sin_test): Add test case.
15178
a1b560ff
UD
151792011-10-29 Ulrich Drepper <drepper@gmail.com>
15180
c9aaface
UD
15181 [BZ #13337]
15182 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
15183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15184
d272e7f1
UD
15185 * elf/chroot_canon.c (chroot_canon): Cleanups.
15186
1bc33071
UD
15187 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
15188
1760874d
TJ
15189 [BZ #13335]
15190 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
15191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
15192
51d91b18
UD
15193 * string/test-strchr.c: Make usable for strchrnul testing.
15194 * string/test-strchrnul.c: New file.
15195 * string/Makefile (strop-tests): Add strchrnul.
15196
a1b560ff 15197 * po/it.po: Update from translation team.
b611fb81 15198 * po/es.po: Likewise.
a1b560ff 15199
a5b81e1f
UD
152002011-10-28 Ulrich Drepper <drepper@gmail.com>
15201
fd52bc6d
UD
15202 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
15203 the three constants needed as parameters. Drop the others.
15204 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
15205 __m128i_strloadu_tolower.
52e4b9eb
UD
15206 Create and initialize variable zero and use it in all the places
15207 where _mm_setzero_si128 was used.
fd52bc6d 15208
a5b81e1f
UD
15209 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
15210 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
15211 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
15212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
15213 anymore.
15214 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
15215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
15216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
15217 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
15218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
15219 __mpranred, __mptan.
15220 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
15221 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
15222 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
15223 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
15224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
15225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
15226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
15227 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
15228 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
15229
b4343346
AS
152302011-10-28 Andreas Schwab <schwab@redhat.com>
15231
0c92d8a8
AS
15232 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
15233 redefine if SHARED.
15234 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
15235
b4343346
AS
15236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
15237 wide char related routines to wcsmbs subdir.
15238
3871f58f
AS
152392011-10-27 Andreas Schwab <schwab@redhat.com>
15240
15241 [BZ #13344]
15242 * misc/sys/cdefs.h (__THROWNL): Define.
15243 * posix/unistd.h: Use __THREADNL instead of __THREAD
15244 for memory synchronization functions.
15245
94d44d9f
RM
152462011-10-26 Roland McGrath <roland@hack.frob.com>
15247
21b64b15 15248 [BZ #13349]
94d44d9f
RM
15249 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
15250 doesn't exist.
15251 * manual/stdio.texi (Obstack Streams): Node removed.
15252
f6ce9294
AS
152532011-10-26 Andreas Schwab <schwab@redhat.com>
15254
80479147
AS
15255 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
15256 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15258
f6ce9294
AS
15259 * math/math_private.h (math_force_eval): Allow non-addressable
15260 arguments.
15261 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
15262
618280a1
UD
152632011-10-25 Ulrich Drepper <drepper@gmail.com>
15264
e0016b11
UD
15265 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
15266 file is not needed.
15267
15268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
15269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15275 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
15276 Add AVX variants.
15277 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
15278 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
15279 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
15280 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
15281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
15282 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
15283 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
15284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
15285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
15286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
15287 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
15288 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
15289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
15290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
15291 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
15292 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
15293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
15294 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
15295 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
15296
15297 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
15298 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
15299
618280a1
UD
15300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
15301 place. Use VEX encoding when compiling for AVX.
15302
37822576
AS
153032011-10-25 Andreas Schwab <schwab@redhat.com>
15304
1f1e1947
AS
15305 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
15306 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15307
37822576
AS
15308 * string/test-strchr.c (do_test): Don't generate NUL bytes.
15309
31ea014d
UD
153102011-10-25 Ulrich Drepper <drepper@gmail.com>
15311
d7826aa1 15312 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 15313 useless if() expression.
d7826aa1
UD
15314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15326 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15328 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15329 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15331 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15333
31ea014d
UD
15334 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
15335
16437fec
AS
153362011-10-25 Andreas Schwab <schwab@redhat.com>
15337
15338 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
15339 condition.
15340 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15341
31d3cc00
UD
153422011-10-25 Ulrich Drepper <drepper@gmail.com>
15343
15344 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
15345 .text section. Avoid duplicate constants.
15346 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15354 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15355 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
15356 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15358 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15359 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15360 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15362 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15364 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15366 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15367 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15368 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
15370 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
15371 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
15372 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
15373 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
15374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
15375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
15376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
15377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
15378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
15380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
15381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
15382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
15383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
15384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
15385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
15386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
15387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
15388 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
15389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
15390 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
15391
58985aa9
UD
153922011-10-24 Ulrich Drepper <drepper@gmail.com>
15393
202c9deb
UD
15394 * sysdeps/x86_64/dla.h: Move to ...
15395 * sysdeps/x86_64/fpu/dla.h: ...here.
15396 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
15397 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 15398
af968f62
UD
15399 * config.make.in: Add have-mfma4 entry.
15400 * configure.in: Substitute libc_cv_cc_fma4.
15401 * math/Makefile (dbl-only-routines): Add sincostab.
15402 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
15403 Use __sincostab not sincos.
15404 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
15405 name is a macro.
15406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
15410 using __copysign.
15411 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
15412 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
15413 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
15414 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
15415 and __inv.
15416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
15417 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
15418 __copysign.
15419 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
15420 define aliases when function name is a macro.
15421 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
15422 sysdeps/ieee754/dbl-64/sincos.tbl.
15423 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
15424 fma4-enabled routines.
15425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
15426 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
15427 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
15428 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
15429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
15430 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
15431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
15432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
15433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
15434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
15435 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
15436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
15437 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
15438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
15439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
15440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
15441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
15442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
15443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
15444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
15445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
15446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
15447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
15448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
15449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
15450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
15451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
15452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
15453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
15454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
15455
58985aa9
UD
15456 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
15457 rename.
15458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15466
a201fbcf
AS
154672011-10-24 Andreas Schwab <schwab@redhat.com>
15468
15469 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
15470
fc2ee42a
LD
154712011-10-23 Ulrich Drepper <drepper@gmail.com>
15472
bb3129bd
UD
15473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
15474
0275fff8
UD
15475 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
15476 prediction.
15477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
15478
2fa2ae85
UD
15479 * string/strnlen.c: Don't define STRNLEN, reverse logic.
15480 Remove unused variable magic_bits.
15481 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
15482
fc2ee42a
LD
15483 * string/strnlen.c: Define and use STRNLEN macro.
15484 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
15485 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
15486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
15487 * wcsmbs/wcslen.c: Define and use WCSLEN.
15488 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
15489 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
15490 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
15491 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
15492 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
15493 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
15494 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
15495
ce7dd29f
LD
154962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15497
15498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15499 strnlen-sse2-no-bsf.
15500 Rename strlen-no-bsf to strlen-sse2-no-bsf.
15501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
15502 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
15503 Add strnlen support.
15504 (USE_AS_STRNLEN): New macro.
15505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
15506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
15507 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
15508 * sysdeps/x86_64/wcslen.S: New file.
15509
979c70a3
MZ
155102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
15511
15512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15513 XMM-moves are used for copying on small sizes.
15514
2d09f82f
LD
155152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15516
15517 * wcsmbs/Makefile (strop-tests): Add wcschr.
15518 * wcsmbs/test-wcschr.c: New file.
15519 * string/test-strchr.c: Update.
15520 Add wcschr support.
15521 (WIDE): New macro.
15522
619fccca
LD
155232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15524
2d09f82f 15525 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
15526 * wcsmbs/test-wcslen.c: New file.
15527 * string/test-strlen.c: Update.
15528 Add wcslen support.
15529 (WIDE): New macro.
15530
09f699ea
UD
155312011-10-23 Ulrich Drepper <drepper@gmail.com>
15532
15533 * po/it.po: Update from translation team.
15534
95584d3b
LD
155352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15536
15537 * sysdeps/x86_64/wcscmp.S: Update.
15538 Fix wrong comparison semantics.
15539 wcscmp shall use signed comparison not unsigned.
15540 Don't use substraction to avoid overflow bug.
15541 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
15542 * wcsmbc/wcscmp.c: Likewise.
15543 * string/test-strcmp.c: Likewise.
15544 Add new tests to check cases with negative values.
15545
c8b3296b
UD
155462011-10-23 Ulrich Drepper <drepper@gmail.com>
15547
15548 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
15549 * sysdeps/x86_64/dla.h: ...here. New file.
15550 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
15551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15559
246ad57a
AS
155602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
15561
15562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
15563 __ynl_finite aliases.
15564
a1a87169
UD
155652011-10-22 Ulrich Drepper <drepper@gmail.com>
15566
0d355eb7
UD
15567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15568
a1a87169
UD
15569 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
15570 define DLA_FMA.
15571 [DLA_FMA] (EMULV): Use DLA_FMA.
15572 [DLA_FMA] (MUL12): Use EMULV.
15573 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
15574 that are not needed.
15575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15582
ee2aafe0
AS
155832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
15584
15585 * math/s_nan.c: Undef __nan.
15586 * math/s_nanf.c: Undef __nanf.
15587 * math/s_nanl.c: Undef __nanl.
15588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
15589 "math_private.h".
15590
bc62c2fb
UD
155912011-10-22 Ulrich Drepper <drepper@gmail.com>
15592
77425c63
UD
15593 * math/s_catan.c: Add branch predictions.
15594 * math/s_catanf.c: Likewise.
15595 * math/s_catanh.c: Likewise.
15596 * math/s_catanhf.c: Likewise.
15597 * math/s_catanhl.c: Likewise.
15598 * math/s_catanl.c: Likewise.
15599 * math/s_cexp.c: Likewise.
15600 * math/s_cexpf.c: Likewise.
15601 * math/s_cexpl.c: Likewise.
15602 * math/s_clog.c: Likewise.
15603 * math/s_clog10.c: Likewise.
15604 * math/s_clog10f.c: Likewise.
15605 * math/s_clog10l.c: Likewise.
15606 * math/s_clogf.c: Likewise.
15607 * math/s_clogl.c: Likewise.
15608 * math/s_csqrt.c: Likewise.
15609 * math/s_csqrtf.c: Likewise.
15610 * math/s_csqrtl.c: Likewise.
15611 * math/s_ctanf.c: Likewise.
15612 * math/s_ctanh.c: Likewise.
15613 * math/s_ctanhf.c: Likewise.
15614 * math/s_ctanhl.c: Likewise.
15615 * math/s_ctanl.c: Likewise.
15616
bc62c2fb
UD
15617 * math/math_private.h: Define __nan, __nanf, __nanl.
15618 * math/s_cacosh.c: Include <math_private.h>.
15619 * math/s_cacoshl.c: Likewise.
15620 * math/s_casinh.c: Likewise.
15621 * math/s_casinhf.c: Likewise.
15622 * math/s_casinhl.c: Likewise.
15623 * math/s_ccos.c: Rely entire on ccosh.
15624 * math/s_ccosf.c: Rely entire on ccoshf.
15625 * math/s_ccosl.c: Rely entirely on ccoshl.
15626 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
15627 Remove tests for FE_INVALID.
15628 * math/s_ccoshf.c: Likewise.
15629 * math/s_ccoshl.c: Likewise.
15630 * math/s_csin.c: Likewise.
15631 * math/s_csinf.c: Likewise.
15632 * math/s_csinh.c Likewise.
15633 * math/s_csinhf.c: Likewise.
15634 * math/s_csinhl.c: Likewise.
15635 * math/s_csinl.c: Likewise.
15636 * math/s_ctan.c: Likewise.
15637 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
15638 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
15639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
15640
8ec250a4
UD
156412011-10-21 Ulrich Drepper <drepper@gmail.com>
15642
c196fed8
UD
15643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
15644 compilation problems.
15645
8ec250a4
UD
15646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
15647 __builtin_expect.
15648
8d4f46c6
UD
156492011-10-20 Ulrich Drepper <drepper@gmail.com>
15650
ed72b654
UD
15651 * sysdeps/i386/configure.in: Test for -mfma4 option.
15652 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
15653 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
15654 COMMON_CPUID_INDEX_80000001.
15655 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
15656 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
15657 use it if FMA3 is not supported.
15658 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15659
8d4f46c6
UD
15660 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
15661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15662
d45c60c2
AS
156632011-10-20 Andreas Schwab <schwab@redhat.com>
15664
15665 [BZ #12892]
15666 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
15667 it would create a cycle with a link time dependency.
15668
d9a4d2ab
UD
156692011-10-19 Ulrich Drepper <drepper@gmail.com>
15670
855d1560
UD
15671 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
15672 instruction.
15673 * string/Makefile (strop-tests): Add rawmemchr.
15674 * string/test-rawmemchr.c: New file.
15675
d9a4d2ab
UD
15676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
15677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
15678 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
15679 when compiling str{,n}casecmp and when AVX is available. Hook up
15680 new optimized code in initializers.
15681
8f3b1ffe
AS
156822011-10-19 Andreas Schwab <schwab@redhat.com>
15683
15684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
15685 __feraiseexcept instead of feraiseexcept.
15686
d38f1dba
UD
156872011-10-18 Ulrich Drepper <drepper@gmail.com>
15688
d9a8d0ab
UD
15689 * math/math_private.h: Define defaults for libc_fetestexcept and
15690 libc_feupdateenv.
15691 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
15692 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
15693 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
15694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15697 libc_fetestexcept and libc_feupdateenv.
15698
4855e3dd
UD
15699 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
15700 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
15701 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
15702 * sysdeps/x86_64/fpu/math_private.h: Define special version of
15703 libc_feholdexcept_setround.
15704
581d30e3
UD
15705 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
15706 Add s_nearbyint-c and s_nearbyintf-c.
15707 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
15708 nearbyintf inlines.
15709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
15710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
15711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
15712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
15713
d38f1dba
UD
15714 * math/math_private.h: Define defaults for libc_fegetround,
15715 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
15716 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
15717 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
15718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
15719 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
15720 standard functions.
15721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15722 Remove comments and hacks for old compiler versions.
15723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
15724 libc_fegetround, libc_fesetround, libc_feholdexcept, and
15725 libc_feholdexceptl.
15726
caa6c9d8
AS
157272011-10-18 Andreas Schwab <schwab@redhat.com>
15728
15729 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
15730 (__feraiseexcept_renamed): Add __NTH.
15731 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
15732 namespace violations.
15733
97c066e6
UD
157342011-10-17 Ulrich Drepper <drepper@gmail.com>
15735
99ce7b04
UD
15736 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
15737
1004d182
UD
15738 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
15739
228a984d
UD
15740 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
15741 recently added interfaces.
15742 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
15743
c8553a6a
UD
15744 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
15745 about macro parameter expansion.
15746
ed22dcf6
UD
15747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
15748 __NO_MATH_INLINES is defined. Cleanups.
15749
15750 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
15751 and __floorf is target has SSE4.1.
15752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
15753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
15754 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
15755 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
15756
b171c137
UD
15757 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
15758 name.
15759 (floorf): Likewise.
15760
97c066e6
UD
15761 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
15762
629f62ef
AS
157632011-10-17 Andreas Schwab <schwab@redhat.com>
15764
49a43d80
AS
15765 * misc/sys/cdefs.h: Fix last change.
15766
629f62ef
AS
15767 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
15768 database lookup.
15769
e453f6cd
UD
157702011-10-16 Ulrich Drepper <drepper@gmail.com>
15771
aa78043a
UD
15772 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
15773
ad0f5cad
UD
15774 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
15775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15783 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
15784 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
15785 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
15786 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
15787 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
15788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
15789 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
15790 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
15791 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
15792 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
15793 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
15794 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
15795 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
15796
15797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
15798 ceil, ceilf, floor, floorf.
15799
15800 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
15801 Perform IRELATIVE relocations last.
15802
e453f6cd
UD
15803 * elf/do-rel.h: Add another parameter nrelative, replacing the
15804 local variable with the same name. Change name of the function
15805 to end in Rel or Rela (uppercase).
15806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
15807 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
15808 elf_dynamic_do_##reloc function.
15809
fd5bdc09
UD
158102011-10-15 Ulrich Drepper <drepper@gmail.com>
15811
79b195b5
UD
15812 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
15813 is sufficient, at least on modern CPUs.
15814
d4a28569
UD
15815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
15816
b61099b5
UD
15817 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
15818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
15819
bcf01e6d
UD
15820 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
15821 __expl_finite.
15822 * math/bits/math-finite.h: Add entries for exp.
15823 * math/e_expl.c: Add __*_finite alias.
15824 * sysdeps/i386/fpu/e_exp.S: Likewise.
15825 * sysdeps/i386/fpu/e_expf.S: Likewise.
15826 * sysdeps/i386/fpu/e_expl.c: Likewise.
15827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15828 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15831 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
15832 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15833 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15834
ba1a0d59
UD
15835 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
15836 is sufficient, at least on modern CPUs.
15837
fd5bdc09
UD
15838 * ctype/ctype-info.c (__ctype_init): Define.
15839 * include/ctype.h (__ctype_init): Declare.
15840 (__ctype_b_loc): The variable is always initialized.
15841 (__ctype_toupper_loc): Likewise.
15842 (__ctype_tolower_loc): Likewise.
15843 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
15844 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
15845
7872cfb0
AS
158462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
15847
b468825a
AS
15848 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
15849
7872cfb0
AS
15850 * configure.in: Also look in $cxxmachine/include for C++ system
15851 headers.
15852
be13f7bf
LD
158532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15854
15855 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
15856 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
15857 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
15858 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
15859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
15860 (USE_AS_WMEMCMP): New macro.
15861 Fixing indents.
15862 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
15863 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
15864 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
15865 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
15866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15867 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
15868 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
15869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
15870 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
15871 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
15872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
15873 (USE_AS_WMEMCMP): New macro.
15874 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
15875 * sysdeps/string/test-memcmp.c: Update.
15876 Fix simple_wmemcmp.
15877 Add new tests.
15878 * wcsmbs/wmemcmp.c: Update.
15879 (WMEMCMP): New macro.
15880 Fix overflow bug.
15881
556a2007
AJ
158822011-10-12 Andreas Jaeger <aj@suse.de>
15883
15884 [BZ #13268]
15885 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
15886
538faaa7
UD
158872011-10-15 Ulrich Drepper <drepper@gmail.com>
15888
ab6737ff
UD
15889 * libio/iofwide.c (do_length): Avoid warning.
15890
538faaa7
UD
15891 * ctype/ctype.h (__isctype_f): Add missing __THROW.
15892
396a21b1
UD
158932011-10-14 Ulrich Drepper <drepper@gmail.com>
15894
cdf2901f
UD
15895 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
15896
38ad40ce
UD
15897 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
15898 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
15899 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
15900 * sysdeps/i386/i686/fpu/e_log.S: New file.
15901 * sysdeps/i386/i686/fpu/e_logf.S: New file.
15902 * sysdeps/i386/i686/fpu/e_logl.S: New file.
15903
396a21b1
UD
15904 * ctype/ctype.h: Add support for inlined isXXX functions when
15905 compiling C++ code.
15906
6b1f68c9
AS
159072011-10-14 Andreas Schwab <schwab@redhat.com>
15908
349290c0
AS
15909 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15910
6b1f68c9
AS
15911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
15912
f2282d42
RM
159132011-10-13 Roland McGrath <roland@hack.frob.com>
15914
15915 [BZ #13291]
15916 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
15917
5298ffa8
AS
159182011-10-13 Andreas Schwab <schwab@redhat.com>
15919
714fad23
AS
15920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
15921 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
15922 feraiseexcept.
15923
81dcc7fb
AS
15924 * sysdeps/x86_64/memrchr.S: Check for zero size.
15925
5298ffa8
AS
15926 * string/stratcliff.c: Add memrchr tests.
15927
951fbcec
LD
159282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15929
15930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15931 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
15932 rawmemchr-sse2 rawmemchr-sse2-bsf.
15933 * sysdeps/i386/i686/multiarch/memchr.S: New file.
15934 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
15935 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
15936 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
15937 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
15938 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
15939 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
15940 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
15941 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
15942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
15943 * string/memrchr.c (MEMRCHR): New macro.
15944
0ac5ae23
UD
159452011-10-12 Ulrich Drepper <drepper@gmail.com>
15946
15947 Add integration with gcc's -ffinite-math-only and optimize wrapper
15948 functions in libm.
15949 * Versions.def: Define GLIBC_2.15 version for libm.
15950 * math/Makefile (headers): Add bits/math-finite.h.
15951 * math/bits/math-finite.h: New file.
15952 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
15953 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
15954 * math/e_acoshl.c: Add __*_finite alias.
15955 * math/e_acosl.c: Likewise.
15956 * math/e_asinl.c: Likewise.
15957 * math/e_atan2l.c: Likewise.
15958 * math/e_atanhl.c: Likewise.
15959 * math/e_coshl.c: Likewise.
15960 * math/e_exp10.c: Likewise.
15961 * math/e_exp10f.c: Likewise.
15962 * math/e_exp10l.c: Likewise.
15963 * math/e_exp2l.c: Likewise.
15964 * math/e_fmodl.c: Likewise.
15965 * math/e_gammal_r.c: Likewise.
15966 * math/e_hypotl.c: Likewise.
15967 * math/e_j0l.c: Likewise.
15968 * math/e_j1l.c: Likewise.
15969 * math/e_jnl.c: Likewise.
15970 * math/e_lgammal_r.c: Likewise.
15971 * math/e_log10l.c: Likewise.
15972 * math/e_log2l.c: Likewise.
15973 * math/e_logl.c: Likewise.
15974 * math/e_powl.c: Likewise.
15975 * math/e_sinhl.c: Likewise.
15976 * math/e_sqrtl.c: Likewise.
15977 * math/e_scalb.c: Completely rewritten and optimized.
15978 * math/e_scalbf.c: Likewise.
15979 * math/e_scalbl.c: Likewise.
15980 * math/w_acos.c: Likewise.
15981 * math/w_acosf.c: Likewise.
15982 * math/w_acosl.c: Likewise.
15983 * math/w_acosh.c: Likewise.
15984 * math/w_acoshf.c: Likewise.
15985 * math/w_acoshl.c: Likewise.
15986 * math/w_asin.c: Likewise.
15987 * math/w_asinf.c: Likewise.
15988 * math/w_asinl.c: Likewise.
15989 * math/w_atan2.c: Likewise.
15990 * math/w_atan2f.c: Likewise.
15991 * math/w_atan2l.c: Likewise.
15992 * math/w_atanh.c: Likewise.
15993 * math/w_atanhf.c: Likewise.
15994 * math/w_atanhl.c: Likewise.
15995 * math/w_exp10.c: Likewise.
15996 * math/w_exp10f.c: Likewise.
15997 * math/w_exp10l.c: Likewise.
15998 * math/w_fmod.c: Likewise.
15999 * math/w_fmodf.c: Likewise.
16000 * math/w_fmodl.c: Likewise.
16001 * math/w_j0.c: Likewise.
16002 * math/w_j0f.c: Likewise.
16003 * math/w_j0l.c: Likewise.
16004 * math/w_j1.c: Likewise.
16005 * math/w_j1f.c: Likewise.
16006 * math/w_j1l.c: Likewise.
16007 * math/w_jn.c: Likewise.
16008 * math/w_jnf.c: Likewise.
16009 * math/w_log.c: Likewise.
16010 * math/w_logf.c: Likewise.
16011 * math/w_logl.c: Likewise.
16012 * math/w_log10.c: Likewise.
16013 * math/w_log10f.c: Likewise.
16014 * math/w_log10l.c: Likewise.
16015 * math/w_log2.c: Likewise.
16016 * math/w_log2f.c: Likewise.
16017 * math/w_log2l.c: Likewise.
16018 * math/w_pow.c: Likewise.
16019 * math/w_powf.c: Likewise.
16020 * math/w_powl.c: Likewise.
16021 * math/w_remainder.c: Likewise.
16022 * math/w_remainderf.c: Likewise.
16023 * math/w_remainderl.c: Likewise.
16024 * math/w_scalb.c: Likewise.
16025 * math/w_scalbf.c: Likewise.
16026 * math/w_scalbl.c: Likewise.
16027 * math/w_sqrt.c: Likewise.
16028 * math/w_sqrtf.c: Likewise.
16029 * math/w_sqrtl.c: Likewise.
16030 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
16031 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
16032 used.
16033 * math/math_private.h: Declare __kernel_standard_f.
16034 * math/w_cosh.c: Remove cruft and optimize a bit.
16035 * math/w_coshf.c: Likewise.
16036 * math/w_coshl.c: Likewise.
16037 * math/w_exp2.c: Likewise.
16038 * math/w_exp2f.c: Likewise.
16039 * math/w_exp2l.c: Likewise.
16040 * math/w_hypot.c: Likewise.
16041 * math/w_hypotf.c: Likewise.
16042 * math/w_hypotl.c: Likewise.
16043 * math/w_lgamma.c: Likewise.
16044 * math/w_lgamma_r.c: Likewise.
16045 * math/w_lgammaf.c: Likewise.
16046 * math/w_lgammaf_r.c: Likewise.
16047 * math/w_lgammal.c: Likewise.
16048 * math/w_lgammal_r.c: Likewise.
16049 * math/w_sinh.c: Likewise.
16050 * math/w_sinhf.c: Likewise.
16051 * math/w_sinhl.c: Likewise.
16052 * math/w_tgamma.c: Likewise.
16053 * math/w_tgammaf.c: Likewise.
16054 * math/w_tgammal.c: Likewise.
16055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16057 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
16058 Minor optimizations. Pretty printing. Remove cruft.
16059 * sysdeps/i386/fpu/e_acosf.S: Likewise.
16060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16061 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16063 * sysdeps/i386/fpu/e_acosl.c: Likewise.
16064 * sysdeps/i386/fpu/e_asin.S: Likewise.
16065 * sysdeps/i386/fpu/e_asinf.S: Likewise.
16066 * sysdeps/i386/fpu/e_atan2.S: Likewise.
16067 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
16068 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
16069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16072 * sysdeps/i386/fpu/e_exp10.S: Likewise.
16073 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
16074 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
16075 * sysdeps/i386/fpu/e_exp2.S: Likewise.
16076 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
16077 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
16078 * sysdeps/i386/fpu/e_fmod.S: Likewise.
16079 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
16080 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
16081 * sysdeps/i386/fpu/e_hypot.S: Likewise.
16082 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
16083 * sysdeps/i386/fpu/e_log.S: Likewise.
16084 * sysdeps/i386/fpu/e_log10.S: Likewise.
16085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16086 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16087 * sysdeps/i386/fpu/e_log2.S: Likewise.
16088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16090 * sysdeps/i386/fpu/e_logf.S: Likewise.
16091 * sysdeps/i386/fpu/e_logl.S: Likewise.
16092 * sysdeps/i386/fpu/e_pow.S: Likewise.
16093 * sysdeps/i386/fpu/e_powf.S: Likewise.
16094 * sysdeps/i386/fpu/e_powl.S: Likewise.
16095 * sysdeps/i386/fpu/e_remainder.S: Likewise.
16096 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
16097 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
16098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16101 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
16102 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
16103 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
16104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
16105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
16106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
16107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
16108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
16109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
16110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
16111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
16112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
16113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
16115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
16116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
16117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
16118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
16119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
16120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
16121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
16122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
16123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
16124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
16125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
16126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
16129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
16130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
16131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
16132 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
16133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
16134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
16135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
16136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
16138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
16139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
16140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
16141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
16142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
16143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
16144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
16145 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
16146 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
16147 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16149 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16150 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16151 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16152 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16154 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16159 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16160 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16161 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16162 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16163 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16164 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
16166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
16169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
16170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
16171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
16172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
16173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
16174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
16175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
16176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
16177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
16178 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
16179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
16180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
16181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
16182 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16183 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
16184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
16185 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
16186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
16187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
16189 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
16190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
16192 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16193 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
16194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16197 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
16200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
16201 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16202 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16203 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16204 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
16205 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
16206 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
16207 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
16208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16212 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
16213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16214 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
16215 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
16216 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
16217 (__isnanf): Likewise.
16218 (__isinf_ns): Likewise.
16219 (__isinf_nsf): Likewise.
16220 (__finite): Likewise.
16221 (__finitef): Likewise.
16222 (__ieee754_sqrt): Define as macro.
16223 (__ieee754_sqrtf): Define as macro.
16224 (__ieee754_sqrtl): Define as macro.
16225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
16226 inlined copy.
16227 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
16228 __FINITE_MATH_ONLY__ consistent.
16229 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
16230
12cc2fcd
AS
162312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
16232
a843a204
AS
16233 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
16234 of rawmemchr.
16235
12cc2fcd
AS
16236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
16237
c853acd5
UD
162382011-10-09 Ulrich Drepper <drepper@gmail.com>
16239
16240 * po/ja.po: Update from translation team.
16241
c658d255
RM
162422011-10-08 Roland McGrath <roland@hack.frob.com>
16243
110946e4
RM
16244 * locale/programs/locarchive.c (prepare_address_space): New function.
16245 (create_archive, enlarge_archive, open_archive): Use it.
16246
50604220
RM
16247 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
16248 inside [SHARED], where it is used.
16249
c658d255
RM
16250 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
16251
16252 * nss/getent.c (netgroup_keys): Remove unused variable.
16253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
16254
6a621eb7
UD
162552011-10-08 Ulrich Drepper <drepper@gmail.com>
16256
7edb55ce
UD
16257 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
16258 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
16259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
16260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
16261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
16262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
16263 * math/Makefile (libm-calls): Add s_isinf_ns.
16264 * math/divtc3.c: Use __isinf_nsl instead of isinf.
16265 * math/multc3.c: Likewise.
16266 * math/s_casin.c: Likewise.
16267 * math/s_casinf.c: Likewise.
16268 * math/s_casinl.c: Likewise.
16269 * math/s_ccos.c: Likewise.
16270 * math/s_ccosf.c: Likewise.
16271 * math/s_ccosl.c: Likewise.
16272 * math/s_ctan.c: Likewise.
16273 * math/s_ctanf.c: Likewise.
16274 * math/s_ctanh.c: Likewise.
16275 * math/s_ctanhf.c: Likewise.
16276 * math/s_ctanhl.c: Likewise.
16277 * math/s_ctanl.c: Likewise.
16278 * math/w_fmod.c: Likewise.
16279 * math/w_fmodf.c: Likewise.
16280 * math/w_fmodl.c: Likewise.
16281 * math/w_remainder.c: Likewise.
16282 * math/w_remainderf.c: Likewise.
16283 * math/w_remainderl.c: Likewise.
16284 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
16285 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
16286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
16287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
16288 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
16289 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
16290 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
16291 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
16292
187da0ae
UD
16293 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
16294 of the number.
16295 * stdio-common/printf_fphex.c: Likewise.
16296 * stdio-common/printf_size.c: Likewise.
16297
9277c064
UD
16298 * math/e_exp10.c: Include math_private.h using <...> not "...".
16299 * math/e_exp10f.c: Likewise.
16300 * math/e_exp10l.c: Likewise.
16301 * math/e_exp2l.c: Likewise.
16302 * math/e_j0l.c: Likewise.
16303 * math/e_j1l.c: Likewise.
16304 * math/e_jnl.c: Likewise.
16305 * math/e_lgammal_r.c: Likewise.
16306 * math/e_rem_pio2l.c: Likewise.
16307 * math/e_scalb.c: Likewise.
16308 * math/e_scalbf.c: Likewise.
16309 * math/e_scalbl.c: Likewise.
16310 * math/k_cosl.c: Likewise.
16311 * math/k_sinl.c: Likewise.
16312 * math/k_tanl.c: Likewise.
16313 * math/s_cacoshf.c: Likewise.
16314 * math/s_catan.c: Likewise.
16315 * math/s_catanf.c: Likewise.
16316 * math/s_catanh.c: Likewise.
16317 * math/s_catanhf.c: Likewise.
16318 * math/s_catanhl.c: Likewise.
16319 * math/s_catanl.c: Likewise.
16320 * math/s_ccosh.c: Likewise.
16321 * math/s_ccoshf.c: Likewise.
16322 * math/s_ccoshl.c: Likewise.
16323 * math/s_cexp.c: Likewise.
16324 * math/s_cexpf.c: Likewise.
16325 * math/s_cexpl.c: Likewise.
16326 * math/s_clog.c: Likewise.
16327 * math/s_clog10.c: Likewise.
16328 * math/s_clog10f.c: Likewise.
16329 * math/s_clog10l.c: Likewise.
16330 * math/s_clogf.c: Likewise.
16331 * math/s_clogl.c: Likewise.
16332 * math/s_csin.c: Likewise.
16333 * math/s_csinf.c: Likewise.
16334 * math/s_csinh.c: Likewise.
16335 * math/s_csinhf.c: Likewise.
16336 * math/s_csinhl.c: Likewise.
16337 * math/s_csinl.c: Likewise.
16338 * math/s_csqrt.c: Likewise.
16339 * math/s_csqrtf.c: Likewise.
16340 * math/s_csqrtl.c: Likewise.
16341 * math/s_ctan.c: Likewise.
16342 * math/s_ctanf.c: Likewise.
16343 * math/s_ctanh.c: Likewise.
16344 * math/s_ctanhf.c: Likewise.
16345 * math/s_ctanhl.c: Likewise.
16346 * math/s_ctanl.c: Likewise.
16347 * math/s_ldexp.c: Likewise.
16348 * math/s_ldexpf.c: Likewise.
16349 * math/s_ldexpl.c: Likewise.
16350 * math/s_significand.c: Likewise.
16351 * math/s_significandf.c: Likewise.
16352 * math/s_significandl.c: Likewise.
16353 * math/w_acos.c: Likewise.
16354 * math/w_acosf.c: Likewise.
16355 * math/w_acosh.c: Likewise.
16356 * math/w_acoshf.c: Likewise.
16357 * math/w_acoshl.c: Likewise.
16358 * math/w_acosl.c: Likewise.
16359 * math/w_asin.c: Likewise.
16360 * math/w_asinf.c: Likewise.
16361 * math/w_asinl.c: Likewise.
16362 * math/w_atan2.c: Likewise.
16363 * math/w_atan2f.c: Likewise.
16364 * math/w_atan2l.c: Likewise.
16365 * math/w_atanh.c: Likewise.
16366 * math/w_atanhf.c: Likewise.
16367 * math/w_atanhl.c: Likewise.
16368 * math/w_cosh.c: Likewise.
16369 * math/w_coshf.c: Likewise.
16370 * math/w_coshl.c: Likewise.
16371 * math/w_dremf.c: Likewise.
16372 * math/w_exp10.c: Likewise.
16373 * math/w_exp10f.c: Likewise.
16374 * math/w_exp10l.c: Likewise.
16375 * math/w_exp2.c: Likewise.
16376 * math/w_exp2f.c: Likewise.
16377 * math/w_fmod.c: Likewise.
16378 * math/w_fmodf.c: Likewise.
16379 * math/w_fmodl.c: Likewise.
16380 * math/w_hypot.c: Likewise.
16381 * math/w_hypotf.c: Likewise.
16382 * math/w_hypotl.c: Likewise.
16383 * math/w_j0.c: Likewise.
16384 * math/w_j0f.c: Likewise.
16385 * math/w_j0l.c: Likewise.
16386 * math/w_j1.c: Likewise.
16387 * math/w_j1f.c: Likewise.
16388 * math/w_j1l.c: Likewise.
16389 * math/w_jn.c: Likewise.
16390 * math/w_jnf.c: Likewise.
16391 * math/w_jnl.c: Likewise.
16392 * math/w_lgamma.c: Likewise.
16393 * math/w_lgamma_r.c: Likewise.
16394 * math/w_lgammaf.c: Likewise.
16395 * math/w_lgammaf_r.c: Likewise.
16396 * math/w_lgammal.c: Likewise.
16397 * math/w_lgammal_r.c: Likewise.
16398 * math/w_log.c: Likewise.
16399 * math/w_log10.c: Likewise.
16400 * math/w_log10f.c: Likewise.
16401 * math/w_log10l.c: Likewise.
16402 * math/w_log2.c: Likewise.
16403 * math/w_log2f.c: Likewise.
16404 * math/w_log2l.c: Likewise.
16405 * math/w_logf.c: Likewise.
16406 * math/w_logl.c: Likewise.
16407 * math/w_pow.c: Likewise.
16408 * math/w_powf.c: Likewise.
16409 * math/w_powl.c: Likewise.
16410 * math/w_remainder.c: Likewise.
16411 * math/w_remainderf.c: Likewise.
16412 * math/w_remainderl.c: Likewise.
16413 * math/w_scalb.c: Likewise.
16414 * math/w_scalbf.c: Likewise.
16415 * math/w_scalbl.c: Likewise.
16416 * math/w_sinh.c: Likewise.
16417 * math/w_sinhf.c: Likewise.
16418 * math/w_sinhl.c: Likewise.
16419 * math/w_sqrt.c: Likewise.
16420 * math/w_sqrtf.c: Likewise.
16421 * math/w_sqrtl.c: Likewise.
16422 * math/w_tgamma.c: Likewise.
16423 * math/w_tgammaf.c: Likewise.
16424 * math/w_tgammal.c: Likewise.
16425
6a621eb7
UD
16426 * po/ja.po: Update from translation team.
16427
bf582445
AJ
164282011-09-29 Andreas Jaeger <aj@suse.de>
16429
f9efbf3a
AJ
16430 [BZ #13179]
16431 * sunrpc/netname.c (netname2host): Fix logic.
16432
bf582445
AJ
16433 [BZ #6779]
16434 [BZ #6783]
16435 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
16436 correctly.
16437 * math/w_remainder.c (__remainder): Likewise.
16438 * math/w_remainderf.c (__remainderf): Likewise.
16439 * math/libm-test.inc (remainder_test): Add test cases.
16440
48693bea
AK
164412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16442
16443 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
16444 sdiv_qrnnd.
16445
42622229
LD
164462011-10-07 Ulrich Drepper <drepper@gmail.com>
16447
16448 * string/test-memcmp.c: Avoid unncessary #defines.
16449 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
16450
093ecf92
LD
164512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16452
16453 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
16454 Use new sse2 version for core i3 - i7 as it's faster
16455 than sse42 version.
16456 (bit_Prefer_PMINUB_for_stringop): New.
16457 * sysdeps/x86_64/rawmemchr.S: Update.
16458 Replace with faster SSE2 version.
16459 * sysdeps/x86_64/memrchr.S: New file.
16460 * sysdeps/x86_64/memchr.S: Update.
16461 Replace with faster SSE2 version.
16462
fde56e5c
MP
164632011-09-12 Marek Polacek <mpolacek@redhat.com>
16464
16465 * elf/dl-load.c (lose): Add cast to avoid warning.
16466
21fd49a9
UD
164672011-10-07 Ulrich Drepper <drepper@gmail.com>
16468
5a06e643
UD
16469 * po/ca.po: Update from translation team.
16470
684ae515
UD
16471 * inet/getnetgrent_r.c: Hook up nscd.
16472 * nscd/Makefile (routines): Add nscd_netgroup.
16473 (nscd-modules): Add netgroupcache.
16474 (CFLAGS-netgroupcache.c): Define.
16475 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
16476 (cache_search): Add const to second parameter.
16477 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
16478 INNETGR.
16479 (dbs): Add netgrdb entry.
16480 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
16481 (verify_persistent_db): Handle netgrdb.
16482 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
16483 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
16484 GETFDNETGR.
16485 (netgroup_response_header): Define.
16486 (innetgroup_response_header): Define.
16487 (datahead): Add netgroup_response_header and innetgroup_response_header
16488 elements.
16489 * nscd/nscd.conf: Add entries for netgroup cache.
16490 * nscd/nscd.h (dbtype): Add netgrdb.
16491 (_PATH_NSCD_NETGROUP_DB): Define.
16492 (netgroup_iov_disabled): Declare.
16493 (xmalloc, xcalloc, xrealloc): Move declarations here.
16494 (cache_search): Adjust prototype.
16495 Add netgroup-related prototypes.
16496 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
16497 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
16498 (__nscd_innetgr): Declare.
16499 * nscd/selinux.c (perms): Use access_vector_t as element type and
16500 add netgroup-related initializers.
16501 * nscd/netgroupcache.c: New file.
16502 * nscd/nscd_netgroup.c: New file.
16503 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
16504 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
16505 For four parameters use innetgr.
16506 * nss/nss_files/files-init.c: Add definition and callback for netgr.
16507 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
16508 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
16509 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
16510
21fd49a9
UD
16511 * nscd/connections.c (register_traced_file): Don't register file
16512 for disabled databases.
16513
054c0457
UD
165142011-10-06 Ulrich Drepper <drepper@gmail.com>
16515
32b63198
UD
16516 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
16517
054c0457
UD
16518 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
16519 from tree and freeing node.
16520
64031225
JO
165212011-09-25 Jiri Olsa <jolsa@redhat.com>
16522
16523 * nss/nsswitch.c (__nss_database_lookup): Handle
16524 nss_parse_service_list out of memory case.
16525
0490345c
JO
165262011-09-15 Jiri Olsa <jolsa@redhat.com>
16527
16528 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
16529 out of memory case.
16530
3a62d00d
AS
165312011-10-04 Andreas Schwab <schwab@redhat.com>
16532
16533 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
16534 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
16535 pass it down.
16536 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
16537 elf_machine_rela, elf_machine_lazy_rel.
16538 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
16539 (ELF_DYNAMIC_DO_REL): Likewise.
16540 (ELF_DYNAMIC_DO_RELA): Likewise.
16541 (ELF_DYNAMIC_RELOCATE): Likewise.
16542 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
16543 to ELF_DYNAMIC_DO_REL.
16544 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
16545 (dl_main): In trace mode always set __RTLD_NOIFUNC.
16546 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
16547 elf_machine_rela.
16548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
16549 skip_ifunc, don't call ifunc function if non-zero.
16550 (elf_machine_rela): Likewise.
16551 (elf_machine_lazy_rel): Likewise.
16552 (elf_machine_lazy_rela): Likewise.
16553 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
16554 (elf_machine_lazy_rel): Likewise.
16555 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
16556 Likewise.
16557 (elf_machine_lazy_rel): Likewise.
16558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16559 Likewise.
16560 (elf_machine_lazy_rel): Likewise.
16561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
16562 (elf_machine_lazy_rel): Likewise.
16563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
16564 (elf_machine_lazy_rel): Likewise.
16565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16566 (elf_machine_lazy_rel): Likewise.
16567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
16568 (elf_machine_lazy_rel): Likewise.
16569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
16570 (elf_machine_lazy_rel): Likewise.
16571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16572 (elf_machine_lazy_rel): Likewise.
16573
68577918
UD
165742011-09-28 Ulrich Drepper <drepper@gmail.com>
16575
16576 * nss/nss_files/files-init.c (_nss_files_init): Use static
16577 initialization for all the *_traced_file variables.
16578
68822d74
AS
165792011-09-28 Andreas Schwab <schwab@redhat.com>
16580
16581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16582
2056100b
RM
165832011-09-27 Roland McGrath <roland@hack.frob.com>
16584
16585 [BZ #13226]
16586 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
16587
32c76b63
AS
165882011-09-27 Andreas Schwab <schwab@redhat.com>
16589
16590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
16591 Reread the line before reparsing it.
16592
bf972c9d
AS
165932011-09-26 Andreas Schwab <schwab@redhat.com>
16594
16595 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
16596
e057a1b5
JM
165972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
16598 Maxim Kuvyrkov <maxim@codesourcery.com>
16599 Joseph Myers <joseph@codesourcery.com>
16600
16601 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
16602 if needed for __stack_chk_guard.
16603
bc7e1c36
RM
166042011-09-19 Roland McGrath <roland@hack.frob.com>
16605
ecb1482f
RM
16606 * sysdeps/posix/spawni.c (script_execute): Always define it.
16607 It will be optimized away if unused.
16608 (maybe_script_execute): New function.
16609 (__spawni): Call it.
16610
bc7e1c36
RM
16611 * Makerules: Don't include tls.make.
16612 (config-tls): Always set to thread.
16613 * tls.make.c: File removed.
16614
1c3b002b
MF
166152011-09-19 Mike Frysinger <vapier@gentoo.org>
16616
16617 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
16618 * config.make.in (CPPFLAGS-config): New substituted variable.
16619
2840865d
UD
166202011-09-15 Ulrich Drepper <drepper@gmail.com>
16621
88738eb6
UD
16622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
16623
cbf645a6 16624 [BZ #13192]
2840865d
UD
16625 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
16626 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
16627
b402e91a
RM
166282011-09-15 Roland McGrath <roland@hack.frob.com>
16629
16630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
16631 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
16632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16633 (CALL_FAIL): Likewise.
16634 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
16635 (CALL_FAIL): Macro removed.
16636 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
16637
4c1a1f71
UD
166382011-09-15 Ulrich Drepper <drepper@gmail.com>
16639
16640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
16641 for __FINITE_MATH_ONLY__ == 1.
16642
edc121be
AS
166432011-09-15 Andreas Schwab <schwab@redhat.com>
16644
16645 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
16646 __ieee754_sqrt instead of sqrt.
16647 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
16648 __ieee754_sqrtf instead of sqrtf.
16649 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
16650 __floorf instead of floorf.
16651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
16652 __floorf, __truncf instead of floorf, truncf.
16653
cd205654
UD
166542011-09-14 Ulrich Drepper <drepper@gmail.com>
16655
ee4d0315
UD
16656 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
16657
cd205654
UD
16658 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
16659 __extern_always_inline.
16660 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
16661 32-bit.
16662
48b67d71
AS
166632011-09-14 Andreas Schwab <schwab@redhat.com>
16664
16665 * elf/rtld.c (dl_main): Also relocate in dependency order when
16666 doing symbol dependency testing.
16667
1ae12c75
AS
166682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
16669
16670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16671 Always define `refsym'.
16672
995a80df
AS
166732011-09-13 Andreas Schwab <schwab@redhat.com>
16674
e529793b
AS
16675 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
16676 (__FD_ELT): Renamed from __FDELT.
16677 * misc/bits/select2.h (__FD_ELT): Likewise.
16678 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
16679 __FD_MASK instead of __FDELT, __FDMASK.
16680 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16681 Likewise.
16682 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
16683 Likewise.
16684
52d4fef8
AS
16685 * elf/Makefile (gen-ldd): Fix pattern.
16686
995a80df
AS
16687 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
16688 (init_tls): Likewise.
16689
8682f8b0
UD
166902011-09-12 Ulrich Drepper <drepper@gmail.com>
16691
16692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
16693
de82006d
AS
166942011-09-12 Andreas Schwab <schwab@redhat.com>
16695
a7c8e6a1
AS
16696 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
16697 `struct cmsghdr *' instead of `void *'.
16698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
16699 Likewise.
16700
0f31fe77
AS
167012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
16702
16703 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
16704 if non-absolute.
16705 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
16706 ldd_rewrite_script.
0f31fe77 16707
32b4c839
UD
167082011-09-11 Ulrich Drepper <drepper@gmail.com>
16709
83cd1420
UD
16710 * configure.in: Remove --with-tls option.
16711 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
16712 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
16713 out in case it is missing.
16714 * sysdeps/ia64/elf/configure.in: Likewise.
16715 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
16716 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
16717 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
16718 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
16719 * sysdeps/sh/elf/configure.in: Likewise.
16720 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
16721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16722 * sysdeps/x86_64/elf/configure.in: Likewise.
16723 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
16724 * sysdeps/mach/hurd/tls.h: Likewise.
16725
633f745d
UD
16726 [BZ #13067]
16727 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
16728
f318beb8
UD
16729 [BZ #13090]
16730 * configure.in: Fix use of AC_INIT.
16731
32b4c839
UD
16732 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
16733
3ce1f295
UD
167342011-09-10 Ulrich Drepper <drepper@gmail.com>
16735
bb016596
UD
16736 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
16737 __set_errno.
8e58439c
UD
16738 * malloc/hooks.c: Likewise.
16739
aebae053 16740 [BZ #11929]
02d46fc4
UD
16741 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
16742 variables statically.
16743 (narenas): Initialize.
16744 (list_lock): Initialize.
bb016596
UD
16745 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
16746 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
16747 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
16748 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
16749 Add initializers to main_arena and mp_.
16750 (malloc_state): Remove pagesize member. Change all users to use
16751 GLRO(dl_pagesize).
16752
16753 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
16754 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
16755 is always initialized.
16756
22a89187
UD
16757 * malloc/malloc.c: Removed unused configurations and dead code.
16758 * malloc/arena.c: Likewise.
16759 * malloc/hooks.c: Likewise.
02d46fc4 16760 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 16761
d063d164
UD
16762 * include/tls.h: Removed. USE___THREAD must always be defined.
16763 * bits/libc-tsd.h: Don't handle !USE___THREAD.
16764 * elf/dl-libc.c: Likewise.
16765 * elf/dl-tsd.c: Likewise.
16766 * include/errno.h: Likewise.
16767 * include/netdb.h: Likewise.
16768 * include/resolv.h: Likewise.
16769 * inet/herrno-loc.c: Likewise.
16770 * inet/herrno.c: Likewise.
16771 * malloc/arena.c: Likewise.
16772 * malloc/hooks.c: Likewise.
16773 * malloc/malloc.c: Likewise.
16774 * resolv/res-state.c: Likewise.
16775 * resolv/res_libc.c: Likewise.
16776 * sysdeps/i386/dl-machine.h: Likewise.
16777 * sysdeps/ia64/dl-machine.h: Likewise.
16778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16782 * sysdeps/sh/dl-machine.h: Likewise.
16783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16785 * sysdeps/unix/i386/sysdep.S: Likewise.
16786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16787 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
16788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
16789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
16791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16792 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
16794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16797 * sysdeps/x86_64/dl-machine.h: Likewise.
16798 * tls.make.c: Likewise.
16799
3ce1f295
UD
16800 * configure.in: Remove --with-__thread option. Make tests for
16801 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
16802 tls_model attribute fail if no support is available. Remove
16803 USE_IN_LIBIO.
16804 * Makeconfig: Adjust for dropped configure option. All features are
16805 now mandatory.
16806 * Makerules: Likewise.
16807 * Versions.def: Likewise.
16808 * argp/argp-fmtstream.c: Likewise.
16809 * argp/argp-fmtstream.h: Likewise.
16810 * argp/argp-help.c: Likewise.
16811 * assert/assert.c: Likewise.
16812 * config.h.in: Likewise.
16813 * config.make.in: Likewise.
16814 * configure: Likewise.
16815 * configure.in: Likewise.
16816 * csu/Versions: Likewise.
16817 * csu/init.c: Likewise.
16818 * elf/tst-audit2.c: Likewise.
16819 * elf/tst-tls10.c: Likewise.
16820 * elf/tst-tls10.h: Likewise.
16821 * elf/tst-tls11.c: Likewise.
16822 * elf/tst-tls12.c: Likewise.
16823 * elf/tst-tls14.c: Likewise.
16824 * elf/tst-tlsmod11.c: Likewise.
16825 * elf/tst-tlsmod12.c: Likewise.
16826 * elf/tst-tlsmod13.c: Likewise.
16827 * elf/tst-tlsmod13a.c: Likewise.
16828 * elf/tst-tlsmod14a.c: Likewise.
16829 * elf/tst-tlsmod15b.c: Likewise.
16830 * elf/tst-tlsmod16a.c: Likewise.
16831 * elf/tst-tlsmod16b.c: Likewise.
16832 * elf/tst-tlsmod7.c: Likewise.
16833 * elf/tst-tlsmod8.c: Likewise.
16834 * elf/tst-tlsmod9.c: Likewise.
16835 * gmon/gmon.c: Likewise.
16836 * grp/fgetgrent_r.c: Likewise.
16837 * grp/putgrent.c: Likewise.
16838 * hurd/fopenport.c: Likewise.
16839 * include/libc-symbols.h: Likewise.
16840 * include/tls.h: Likewise.
16841 * intl/gettextP.h: Likewise.
16842 * intl/loadinfo.h: Likewise.
16843 * locale/global-locale.c: Likewise.
16844 * locale/localeinfo.h: Likewise.
16845 * mach/devstream.c: Likewise.
16846 * malloc/arena.c: Likewise.
16847 * malloc/set-freeres.c: Likewise.
16848 * misc/err.c: Likewise.
16849 * misc/getttyent.c: Likewise.
16850 * misc/mntent_r.c: Likewise.
16851 * posix/getopt.c: Likewise.
16852 * posix/wordexp.c: Likewise.
16853 * pwd/fgetpwent_r.c: Likewise.
16854 * resolv/Versions: Likewise.
16855 * resolv/res_hconf.c: Likewise.
16856 * shadow/fgetspent_r.c: Likewise.
16857 * shadow/putspent.c: Likewise.
16858 * stdio-common/printf_fphex.c: Likewise.
16859 * stdio-common/tmpfile.c: Likewise.
16860 * stdlib/abort.c: Likewise.
16861 * stdlib/fmtmsg.c: Likewise.
16862 * sunrpc/auth_unix.c: Likewise.
16863 * sunrpc/clnt_perr.c: Likewise.
16864 * sunrpc/clnt_tcp.c: Likewise.
16865 * sunrpc/clnt_udp.c: Likewise.
16866 * sunrpc/clnt_unix.c: Likewise.
16867 * sunrpc/openchild.c: Likewise.
16868 * sunrpc/svc_simple.c: Likewise.
16869 * sunrpc/svc_tcp.c: Likewise.
16870 * sunrpc/svc_udp.c: Likewise.
16871 * sunrpc/svc_unix.c: Likewise.
16872 * sunrpc/xdr.c: Likewise.
16873 * sunrpc/xdr_array.c: Likewise.
16874 * sunrpc/xdr_rec.c: Likewise.
16875 * sunrpc/xdr_ref.c: Likewise.
16876 * sunrpc/xdr_stdio.c: Likewise.
16877
1248c1c4
PB
168782011-09-09 Ulrich Drepper <drepper@gmail.com>
16879
16880 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16881
168822011-07-03 Andreas Jaeger <aj@suse.de>
16883
16884 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
16885 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
16886 regenerate with gen-libm-tests.pl.
16887
168882010-05-12 Petr Baudis <pasky@suse.cz>
16889
16890 [BZ #11589]
16891 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
16892 around j0() zero points by switching to j1().
16893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
16894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16896 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
16897
f22e1074
UD
168982011-09-09 Ulrich Drepper <drepper@gmail.com>
16899
f19009c1
UD
16900 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
16901 instead of 0.
16902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
16903 instead of 0. .
16904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16905 Patch in part by Pavel Roskin <proski@gnu.org>.
16906
3f8cc204
UD
16907 [BZ #13138]
16908 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
16909 realloc.
16910 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
16911 Free memory block if necessary.
16912
f22e1074
UD
16913 [BZ #12847]
16914 * libio/genops.c (INTDEF): For string streams the _lock pointer can
16915 be NULL. Don't lock in this case.
16916
0a2349f9
RM
169172011-09-09 Roland McGrath <roland@hack.frob.com>
16918
16919 * elf/elf.h (ELFOSABI_GNU): New macro.
16920 (ELFOSABI_LINUX): Define to that.
16921
f3cdd467
DZ
169222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
16923
16924 * string/strncat.c (strncat): Undef the symbol in case it has been
16925 defined in bits/string.h.
16926
74718d13
UD
169272011-09-09 Ulrich Drepper <drepper@gmail.com>
16928
633e9e0f
UD
16929 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
16930
0a2349f9 16931 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
16932 link map.
16933
f9924780
AJ
169342011-08-17 Andreas Jaeger <aj@suse.de>
16935
16936 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
16937
7f5517aa
PP
169382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16939 Ian Lance Taylor <iant@google.com>
16940
16941 * math/libm-test.inc (lround_test): New testcase.
16942 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
16943
762011fe
UD
169442011-09-08 Ulrich Drepper <drepper@gmail.com>
16945
92963737
UD
16946 * Makefile: Remove support for automatic cvs check-ins.
16947 * Makerules: Likewise.
16948 * config.make.in: Likewise.
16949 * configure.in: Likewise.
16950 * intl/Makefile: Likewise.
16951 * locale/Makefile: Likewise.
16952 * po/Makefile: Likewise.
16953 * posix/Makefile: Likewise.
16954 * sysdeps/gnu/Makefile: Likewise.
16955 * sysdeps/mach/hurd/Makefile: Likewise.
16956 * sysdeps/sparc/sparc32/Makefile: Likewise.
16957
b0727fd8
JS
16958 [BZ #13118]
16959 * posix/Makefile (bug-regex32-ENV): Define.
16960 Patch by John Stanley <jpsinthemix@verizon.net>.
16961
a0f33f99
UD
16962 * misc/Makefile (headers): Add bits/select2.h.
16963 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
16964 * misc/bits/select2.h: New file.
16965 * include/bits/select2.h: New file.
16966 * debug/Makefile (routines): Add fdelt_chk.
16967 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
16968 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
16969 FD_ISSET.
16970 * debug/fdelt_chk.c: New file.
16971
762011fe
UD
16972 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
16973 * wcsmbs/test-wmemcmp.c: Likewise.
16974 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 16975 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
16976
169772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16978
16979 * string/Makefile (strop-tests): Add memcmp.
16980 * string/test-wmemcmp.c: New file.
16981 * string/test-memcmp.c: Add wmemcmp support.
16982
7f513ec8
RM
169832011-09-08 Roland McGrath <roland@hack.frob.com>
16984
0442afb4
RM
16985 [BZ #13153]
16986 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
16987 2011-07-19 change.
16988
7f513ec8
RM
16989 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
16990 garbage value in a __mach_port_mod_refs call in the cases of the
16991 task-self and thread-self ports.
16992
a12b2239
ST
169932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16994
16995 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
16996
610f9ab4
AS
169972011-09-08 Andreas Schwab <schwab@redhat.com>
16998
7f513ec8 16999 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 17000
48882a1a
LD
170012011-09-07 Ulrich Drepper <drepper@gmail.com>
17002
b49865be
UD
17003 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
17004
fdc86bc9
UD
17005 * elf/dl-libc.c (dlerror_run): Pass back error code from
17006 dl_catch_error.
17007
c966526a
UD
17008 [BZ #13123]
17009 * elf/dl-load.c (lose): Free l_origin if it is valid.
17010
48882a1a
LD
17011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
17012 names.
17013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
17014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
17018 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
17019
77a2a8b4
AZ
170202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17021
17022 * sysdeps/powerpc/fpu/e_hypot.c: New file.
17023 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
17024 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
17025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
17026 * sysdeps/powerpc/fpu/k_cosf.c: New file.
17027 * sysdeps/powerpc/fpu/k_sinf.c: New file.
17028 * sysdeps/powerpc/fpu/s_cosf.c: New file.
17029 * sysdeps/powerpc/fpu/s_sinf.c: New file.
17030 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
17031 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
17032
24f579d8
AM
170332011-08-15 Alan Modra <amodra@gmail.com>
17034
17035 [BZ #13092]
17036 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
17037 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
17038 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
17039 ppc_mcount to static-only-routines.
17040 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
17041 __mcount_internal.
17042 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
17043 __mcount_internal with usual JUMPTARGET. Remove useless nop.
17044
3d4837df
UD
170452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
17046
17047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
17048 for finite and infinity parameters.
17049
22700377
WS
170502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17051
17052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
17053 and add nop instructions for throughput optimization.
17054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
17055
5025581e
WS
170562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
17057
17058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
17059 aligned copy for power7 with vector-scalar instructions.
17060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
17061
08a300c9
L
170622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
17063
17064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
17065 AVX check.
17066
59178ef9
AS
170672011-09-07 Andreas Schwab <schwab@redhat.com>
17068
17069 [BZ #13144]
17070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
17071 last change.
17072
e38ba7ab
UD
170732011-09-07 Ulrich Drepper <drepper@gmail.com>
17074
17075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17076 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
17077 syscall wrapper around clock_gettime in __vdso_clock_gettime.
17078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
17079 clock_gettime.
17080
d53a73ac
UD
170812011-09-06 Ulrich Drepper <drepper@gmail.com>
17082
fc8bffcc
UD
17083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
17084 Forgot to demangle the pointer.
17085
ceaa0c5d
UD
17086 * sysdeps/i386/sysdep.h: Define atom_text_section.
17087 * sysdeps/x86_64/sysdep.h: Likewise.
17088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
17089 section with atom_text_section.
17090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
17091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
17092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17094 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
17095
a77d3c17
UD
17096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
17097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
17098 already be defined. Change to take two parameters and don't assign
17099 result to variable. Adjust all users.
17100 Define INTERNAL_GETTIME if not already defined.
17101 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
17102 call.
17103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
17104 HAVE_CLOCK_GETTIME_VSYSCALL.
17105 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
17106
d53a73ac
UD
17107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
17108 gettimeofday vsyscall, just use time.
17109
a8f84144
AS
171102011-09-06 Andreas Schwab <schwab@redhat.com>
17111
17112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
17113 <errno.h>.
17114
ef606249
UD
171152011-09-06 Ulrich Drepper <drepper@gmail.com>
17116
17117 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
17118 syscall on x86-64.
17119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
17120 syscall.
17121 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
17123 syscall if possible.
17124
6585cb60
UD
171252011-09-05 Ulrich Drepper <drepper@gmail.com>
17126
17127 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
17128 e_ident. Don't pass to find_mapsXX.
17129 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
17130
a5f524e4
LD
171312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17132
17133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17134 strchr-sse2-no-bsf strrchr-sse2-no-bsf
17135 * sysdeps/x86_64/multiarch/strchr.S: Update.
17136 Check bit_slow_BSF bit.
17137 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17138 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
17139 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
17140
554881ef
UD
171412011-09-05 Ulrich Drepper <drepper@gmail.com>
17142
d96de963
UD
17143 [BZ #13134]
17144 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
17145 before glibc 2.15.
17146 (tryshell): Define.
17147 (__spawni): Change last parameter to be flag. Test
17148 SPAWN_XFLAGS_USE_PATH flag to use path or not.
17149 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
17150 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
17151 * posix/spawni.c: Likewise.
17152 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
17153 * posix/spawnp.c: Likewise. Change normal version to use
17154 SPAWN_XFLAGS_USE_PATH.
17155 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
17156 SPAWN_XFLAGS_TRY_SHELL.
17157
d48e5868
UD
17158 [BZ #13150]
17159 * posix/glob.h: Remove gcc 1.x support.
17160
554881ef
UD
17161 [BZ #13068]
17162 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
17163
693fb948
LD
171642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17165
17166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17167 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
17168 strrchr-sse2-bsf
17169 * sysdeps/i386/i686/multiarch/strchr.S: New file.
17170 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
17171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
17172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
17173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
17174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
17175
1b48c537
UD
171762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17177
49d42c37
UD
17178 * sysdeps/x86_64/wcscmp.S: New file.
17179
1b48c537
UD
17180 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
17181 wcscmp-c wcscmp-sse2
17182 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
17183 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
17184 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
17185 * wcsmbs/wcscmp.c: Allow renaming.
17186
15c95c5d
DM
171872011-09-05 David S. Miller <davem@davemloft.net>
17188
17189 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
17190 stack slot, rather than the struct return pointer slot.
17191 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
17192 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
17193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
17194 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
17195
2f0ad8f3
UD
171962011-09-05 Ulrich Drepper <drepper@gmail.com>
17197
d88ae418
UD
17198 * po/ja.po: Update from translation team.
17199
2f0ad8f3
UD
17200 [BZ #13144]
17201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
17202 kernel in 64-bit binaries.
17203
5f4318d1
DM
172042011-09-01 David S. Miller <davem@davemloft.net>
17205
17206 * elf/elf.h (HWCAP_SPARC_*): Move to..
17207 * sysdeps/sparc/sysdep.h: this new file and add new values.
17208 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
17209 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
17210 _DL_HWCAP_COUNT to 24.
17211 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17212 entries.
17213 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
17214 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
17215 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
17216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
17217 instead of magic constants.
17218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17219
3ba57516
DM
172202011-08-31 David S. Miller <davem@davemloft.net>
17221
17222 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
17223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
17224 Reimplement to do errno handling inline.
17225 (SYSCALL_ERROR_HANDLER): New macro.
17226 (__SYSCALL_STRING): Do not do errno handling in asm.
17227 (__CLONE_SYSCALL_STRING): Delete.
17228 (__INTERNAL_SYSCALL_STRING): Delete.
17229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
17230 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
17231 (PSEUDO): Reimplement to do errno handling inline.
17232 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
17233 (SYSCALL_ERROR_HANDLER): New macro.
17234 (__SYSCALL_STRING): Do not do errno handling in asm.
17235 (__CLONE_SYSCALL_STRING): Delete.
17236 (__INTERNAL_SYSCALL_STRING): Delete.
17237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
17238 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
17239 i386.
17240 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
17241 (inline_syscall*): Add 'err' argument.
17242 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
17243 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
17244 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
17245 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
17246
17247 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
17248 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
17249
2bc17433
AS
172502011-08-30 Andreas Schwab <schwab@redhat.com>
17251
17252 * elf/rtld.c (dl_main): Relocate objects in dependency order.
17253
fbeb5f4d
JO
172542011-08-29 Jiri Olsa <jolsa@redhat.com>
17255
17256 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
17257 directive.
17258
ad69cc26
DM
172592011-08-24 David S. Miller <davem@davemloft.net>
17260
17261 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
17262
39dd69df
AS
172632011-08-24 Andreas Schwab <schwab@redhat.com>
17264
17265 * elf/Makefile: Add rules to build and run unload8 test.
17266 * elf/unload8.c: New file.
17267 * elf/unload8mod1.c: New file.
17268 * elf/unload8mod1x.c: New file.
17269 * elf/unload8mod2.c: New file.
17270 * elf/unload8mod3.c: New file.
17271
17272 * elf/dl-close.c (_dl_close_worker): Reset private search list if
17273 it wasn't used.
17274
2c0b250a
DM
172752011-08-23 David S. Miller <davem@davemloft.net>
17276
17277 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
17278 subtract stack bias.
17279 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
17280 %sp not %fp in calculations.
17281 (_JMPBUF_UNWINDS_ADJ): Likewise.
17282
22044b48
DM
17283 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
17284 (aio_suspend): Call it to force an exception region around the
17285 AIO_MISC_WAIT() invocation.
17286
2cae4995
AS
172872011-08-23 Andreas Schwab <schwab@redhat.com>
17288
17289 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
17290 backslash.
17291
873a772e
AJ
172922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
17293
17294 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
17295 protection macro.
17296 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
17297 and <dl-machine.h>.
17298 (Elf64_FuncDesc): Remove.
17299
25ad0df1
DM
173002011-08-22 David S. Miller <davem@davemloft.net>
17301
17302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
17303 sigaltstack check, add missing cfi directives.
17304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
17305 missing cfi directives, and sigaltstack handling.
17306
e888bcbe
AS
173072011-08-16 Andreas Schwab <schwab@redhat.com>
17308
17309 [BZ #11724]
17310 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
17311 object is seen twice.
17312 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17313
17314 * elf/Makefile (distribute): Add tst-initorder2.c.
17315 (tests): Add tst-initorder2.
17316 (modules-names): Add tst-initorder2a tst-initorder2b
17317 tst-initorder2c tst-initorder2d. Add rules to build them.
17318 ($(objpfx)tst-initorder2.out): New rule.
17319 * elf/tst-initorder2.c: New file.
17320 * elf/tst-initorder2.exp: New file.
17321
87162f46
AS
173222011-08-22 Andreas Schwab <schwab@redhat.com>
17323
70538b7f
AS
17324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
17325
f55ffe58
AS
17326 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
17327 dependencies back to end of function.
17328
87162f46
AS
17329 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17330 $(elfobjdir)/ld.so.
17331
91b392a4
UD
173322011-08-21 Ulrich Drepper <drepper@gmail.com>
17333
17334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
17335 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
17336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
17337 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
17338 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
17339 of __vdso_gettimeofday.
17340 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
17341 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
17342 attribute_hidden.
17343 (_libc_vdso_platform_setup): Remove initialization of
17344 __vdso_gettimeofday and __vdso_time.
17345
5c43483f
UD
173462011-08-20 Ulrich Drepper <drepper@gmail.com>
17347
775a77e7
UD
17348 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
17349 and fgetc_unlocked.
17350 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
17351 getc_unlocked.
89f447ed 17352
49c74ba9
UD
17353 * elf/dl-open.c (add_to_global): Report additions to the global scope
17354 for LD_DEBUG=scopes.
17355 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 17356 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 17357
5c43483f
UD
17358 [BZ #13114]
17359 * stdio-common/Makefile (tests): Add bug24.
17360 * stdio-common/bug24.c: New file.
17361
a101b025
AJ
173622011-08-19 Andreas Jaeger <aj@suse.de>
17363
17364 [BZ #13114]
17365 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
17366 non-existant file when using close-on-exec mode.
17367
c88f1766
UD
173682011-08-20 Ulrich Drepper <drepper@gmail.com>
17369
0276a718
UD
17370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
17371 the very first instruction.
17372
c88f1766
UD
17373 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
17374 the CFI state in the end.
17375 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
17376 inclusion of dl-trampoline.h.
17377 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
17378
51ccffa0
AS
173792011-08-19 Andreas Schwab <schwab@redhat.com>
17380
94d7165f
AS
17381 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
17382 expectations for long double.
17383
51ccffa0
AS
17384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
17385 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
17386
fd708658 173872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
17388
17389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
17390 artificual limit depends upon the system page size.
17391
44f0a71e
UD
173922011-08-17 Ulrich Drepper <drepper@gmail.com>
17393
17394 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
17395 * resolv/Makefile: Define CFLAGS-libresolv.
17396
8de79a24
AS
173972011-08-17 Andreas Schwab <schwab@redhat.com>
17398
17399 * nss/makedb.c (compute_tables): Make variables used in nested
17400 function static.
17401
27724598
UD
174022011-08-17 Ulrich Drepper <drepper@gmail.com>
17403
c5305d88
UD
17404 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
17405 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
17406 if buffer was too small.
17407
27724598
UD
17408 * elf/pldd.c (main): Attach to all threads in the process.
17409 Rewrite /proc handling to use *at functions.
17410
076fe015
UD
174112011-08-16 Ulrich Drepper <drepper@gmail.com>
17412
174baab3
UD
17413 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
17414 specifies first scope to show.
17415 (dl_open_worker): Update callers. Move printing scope of new
17416 object to before the relocation.
44f0a71e 17417 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
17418 * sysdeps/generic/ldsodefs.h: Update declaration.
17419
076fe015
UD
17420 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
17421 string for the scope number.
17422
a60df2c3
UD
174232011-08-14 Ulrich Drepper <drepper@gmail.com>
17424
17425 * nscd/servicescache.c (cache_addserv): Make sure written is always
17426 initialized.
17427
5e4287d1
RM
174282011-08-14 Roland McGrath <roland@hack.frob.com>
17429
85ae0589
RM
17430 * sysdeps/i386/i486/bits/atomic.h
17431 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
17432 statement expression, so as to suppress "set but not used" warning.
17433 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
17434
69f63097
RM
17435 * string/strncat.c (STRNCAT): Use prototype definition.
17436
675456ef
RM
17437 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
17438 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
17439 -Iprograms here.
17440 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
17441 (localedef-modules): Add localedef.
17442 (locale-modules): Add locale.
17443
5e4287d1
RM
17444 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
17445 * elf/rtld.c (dl_main): Invert order of assignment in last change,
17446 to avoid a warning.
17447
9c96ff23
DM
174482011-08-14 David S. Miller <davem@davemloft.net>
17449
17450 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
17451 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
17452
f9ddf089
UD
174532011-08-13 Ulrich Drepper <drepper@gmail.com>
17454
44f0a71e 17455 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
17456 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
17457 * elf/rtld.c (dl_main): Set l_name of vDSO.
17458 Call _dl_show_scope when DL_DEBUG_SCOPES.
17459 (process_dl_debug): Recognize scopes flag and also set it for all.
17460 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
17461 Declare _dl_show_scope.
17462
1dc27704
UD
17463 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
17464 (do_dlopen): Pass caller_dlopen to dl_open.
17465 (__libc_dlopen_mode): Initialize caller_dlopen.
17466
f9ddf089
UD
17467 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
17468 of libc. Make tolower call locale-independent. Optimize a bit by
17469 using isdigit instead of isalnum.
17470 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
17471
9ac533d3
UD
174722011-08-12 Ulrich Drepper <drepper@gmail.com>
17473
17474 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
17475 was a dependency or dynamically loaded.
17476
89edf2e9
UD
174772011-08-11 Ulrich Drepper <drepper@gmail.com>
17478
8e999d29
UD
17479 * intl/l10nflist.c: Allow architecture-specific pop function.
17480 * sysdeps/x86_64/l10nflist.c: New file.
17481
89edf2e9
UD
17482 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
17483 classification.
17484
14d96785
AS
174852011-08-10 Andreas Schwab <schwab@redhat.com>
17486
17487 * include/dirent.h: Add libc_hidden_proto for scandirat and
17488 scandirat64. Don't declare __scandirat64.
17489 * dirent/scandirat.c: Add libc_hidden_def.
17490 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
17491 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
17492
6761ac04
DM
174932011-08-10 David S. Miller <davem@davemloft.net>
17494
17495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
17496 enum.
17497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17500
c55fbd1e
UD
175012011-08-09 Ulrich Drepper <drepper@gmail.com>
17502
17503 * Versions.def [libc]: Add GLIBC_2.15.
17504 * dirent/Makefile (routines): Add scandirat and scandirat64.
17505 * dirent/Versions [libc]: Export scandirat and scandirat64 for
17506 GLIBC_2.15.
17507 * dirent/dirent.h: Declare scandirat and scandirat64.
17508 * dirent/scandirat.c: New file.
17509 * dirent/scandirat64.c: New file.
17510 * sysdeps/wordsize-64/scandirat.c: New file.
17511 * sysdeps/wordsize-64/scandirat64.c: New file.
17512 * dirent/opendir.c: Define opendirat.
17513 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
17514 using scandirat.
17515 * dirent/scandir64.c: Adjust for scandir.c change.
17516 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
17517 __scandirat64, and __scandir_cancel_handler.
17518 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
17519 additional parameter and use openat instead of open (outside of ld.so).
17520 Add new __opendir as wrapper around __opendirat.
17521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
17522 here without requiring old scandirat implementation.
17523
879165f2
UD
175242011-08-08 Ulrich Drepper <drepper@gmail.com>
17525
17526 * dirent/scandir.c (cancel_handler): Renamed to
17527 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
17528 defined. Adjust users.
17529 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
17530 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
17531
cb7e923b
UD
175322011-08-04 Ulrich Drepper <drepper@gmail.com>
17533
16292edd
UD
17534 * string/test-string.h (IMPL): Use __STRING to expand name and then
17535 stringify it.
17536
cb7e923b
UD
17537 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
17538 of cleanups.
17539
cff82933
LD
175402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17541
17542 * string/Makefile: Update.
17543 (strop-tests): Append strncat.
17544 * string/test-wcscmp.c: New file.
17545 New comprehensive test for wcscmp.
17546 * string/test-strcmp.c: Update.
17547 (WIDE): New define.
17548
9be9bfcc
AS
175492011-07-22 Andreas Schwab <schwab@redhat.com>
17550
17551 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
17552 line.
17553
2e96f1c7
AS
175542011-07-26 Andreas Schwab <schwab@redhat.com>
17555
17556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17557 encoding to ACE if AI_IDN.
17558
85188888
JJ
175592011-08-01 Jakub Jelinek <jakub@redhat.com>
17560
17561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
17562 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
17563
5fa16e9b
LD
175642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17565
17566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
17567 Fix overflow bug in strncat.
17568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
17569
17570 * string/test-strncat.c: Update.
17571 Add new tests for checking overflow bugs.
17572
175732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17574
17575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17576 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
17577 * sysdeps/i386/i686/multiarch/strcat.S: New file.
17578 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
17579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
17580 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
17581 * sysdeps/i386/i686/multiarch/strncat.S: New file.
17582 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
17583 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
17584
17585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
17586 (USE_AS_STRCAT): Define.
17587 Add strcat and strncat support.
17588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
17589
8c1a459f
AS
175902011-07-25 Andreas Schwab <schwab@redhat.com>
17591
17592 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
17593 __n bigger than INT_MAX+1.
17594 (__strncmp_g): Likewise.
17595
bba33c28
UD
175962011-07-23 Ulrich Drepper <drepper@gmail.com>
17597
798be72d
UD
17598 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
17599 * libio/stido.h: Likewise.
17600
8accd4dc
UD
17601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
17602 (AF_NFC): Define.
17603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
17604 (AF_NFC): Define.
17605
cbff0d96
UD
17606 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
17607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17609 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
17610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17611
9191c04a
UD
17612 [BZ #13021]
17613 * scripts/test-installation.pl: Don't expect libnss_test1 to be
17614 installed.
17615
bba33c28
UD
17616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
17617 typo.
17618 (_dl_x86_64_save_sse): Likewise.
17619
90f139dd
UD
176202011-07-22 Ulrich Drepper <drepper@gmail.com>
17621
1aae088a
UD
17622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
17623 OSXSAVE.
17624 (_dl_x86_64_save_sse): Likewise.
17625
8e2045f5
UD
17626 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
17627
90f139dd
UD
17628 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
17629
1d002f25
AS
176302011-07-21 Andreas Schwab <schwab@redhat.com>
17631
17632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
17633 change.
17634 (_dl_x86_64_save_sse): Use correct AVX check.
17635
21137f89
UD
176362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17637
17638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
17639 bug in strncpy/strncat.
17640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17641
a65c0b7a
UD
176422011-07-21 Ulrich Drepper <drepper@gmail.com>
17643
17644 * string/tester.c (test_strcat): Add tests for different alignments
17645 of source and destination.
17646 (test_strncat): Likewise.
17647
6986b98a
UD
176482011-07-20 Ulrich Drepper <drepper@gmail.com>
17649
90bb2039
UD
17650 [BZ #12852]
17651 * posix/glob.c (glob): Check passed in values before using them in
17652 expressions to avoid some overflows.
17653 (glob_in_dir): Likewise.
17654
5644ef54
UD
17655 [BZ #13007]
17656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
17657 check for AVX enablement so that we don't crash with old kernels and
17658 new hardware.
17659 * elf/tst-audit4.c: Add same checks here.
17660 * elf/tst-audit6.c: Likewise.
17661
17662 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 17663
bfc9dc9b
AS
176642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
17665
17666 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
17667
702e64bb
UD
176682011-07-20 Ulrich Drepper <drepper@gmail.com>
17669
17670 * po/cs.po: Update from translation team.
17671 * po/bg.po: Likewise.
17672
295e904f
MP
176732011-07-12 Marek Polacek <mpolacek@redhat.com>
17674
17675 * misc/sys/cdefs.h: Add support for const attribute.
17676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
17677 to gnu_dev_{major,minor,makedev} functions.
17678
3ff94596
MP
176792011-07-20 Marek Polacek <mpolacek@redhat.com>
17680
17681 * intl/dcigettext.c (get_output_charset): Add missing bracket.
17682
28b59fca
AS
176832011-07-20 Andreas Schwab <schwab@redhat.com>
17684
17685 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
17686 strlen results.
17687
19df733e
AK
176882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17689
17690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
17691 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
17692 register in order to avoid conflicts with the soft frame pointer
17693 being held in r11 when necessary.
17694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
17695 (INTERNAL_VSYSCALL_NCS): Likewise.
17696
c8835729
MP
176972011-07-14 Marek Polacek <mpolacek@redhat.com>
17698
17699 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
17700 * elf/dl-fini.c (_dl_fini): Adjust caller.
17701 * elf/dl-close.c (_dl_close_worker): Likewise.
17702 * sysdeps/generic/ldsodefs.h: Adjust declaration.
17703
b902330c
MP
177042011-07-15 Marek Polacek <mpolacek@redhat.com>
17705
8991e135
MP
17706 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
17707 "aux_cache->nlibs < 0".
17708
b902330c
MP
17709 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
17710 in the reload-count case.
17711
99710781
LD
177122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17713
17714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17715 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
17716 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
17717 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
17718 * sysdeps/x86_64/multiarch/strcat.S: New file.
17719 * sysdeps/x86_64/multiarch/strncat.S: New file.
17720 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
17721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
17722 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
17723 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
17724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
17725 (USE_AS_STRCAT): Define.
17726 Add strcat and strncat support.
17727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
17728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17729 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
17730 * string/strncat.c: Update.
17731 (USE_AS_STRNCAT): Define.
17732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17733 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
17734 and i7.
17735 * sysdeps/x86_64/multiarch/init-arch.h
17736 (bit_Prefer_PMINUB_for_stringop): New.
17737 (index_Prefer_PMINUB_for_stringop): Likewise.
17738 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
17739 bit_Prefer_PMINUB_for_stringop.
17740
7dc6bd90
UD
177412011-07-19 Ulrich Drepper <drepper@gmail.com>
17742
17743 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
17744 buffer64.
17745 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
17746 of casting of buffer.
17747 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
17748 buffer32 and buffer64.
17749 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
17750 writes instead of casting of buffer.
17751 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
17752 buffer32.
17753 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
17754 casting of buffer.
17755
e0e72284
AS
177562011-07-19 Andreas Schwab <schwab@redhat.com>
17757
17758 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
17759
feb1eb0b
UD
177602011-07-19 Ulrich Drepper <drepper@gmail.com>
17761
17762 * nscd/nscd.c (termination_handler): Don't do anything for a database
17763 if it has not yet been initialized.
17764
298711ff
UD
177652011-07-18 Ulrich Drepper <drepper@gmail.com>
17766
17767 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17768
177692011-07-15 Marek Polacek <mpolacek@redhat.com>
17770
17771 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
17772
f9d68389
UD
177732011-07-18 Ulrich Drepper <drepper@gmail.com>
17774
17775 * po/nl.po: Update from translation team.
17776 * po/sv.po: Likewise.
17777
db290cf5
RM
177782011-07-16 Roland McGrath <roland@hack.frob.com>
17779
17780 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
17781 now disallowed by GCC.
5c550700 17782
fd5e21c7
RM
17783 * configure.in (use-default-link): Default to yes if a test -shared
17784 link meets our qualifications.
17785 * configure: Regenerated.
17786
5c550700
RM
17787 * config.make.in (output-format): New variable.
17788 * configure.in: Check for ld --print-output-format support.
17789 * configure: Regenerated.
17790 * Makerules ($(common-objpfx)format.lds)
17791 [$(output-format) != unknown]: Just use $(output-format),
17792 instead of the linker-script munging.
17793
9fa2c032
RM
177942011-07-14 Roland McGrath <roland@hack.frob.com>
17795
a6928d51
RM
17796 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
17797 of $(common-objpfx)shlib.lds.
17798 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
17799
661607b3
RM
17800 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
17801 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
17802
9fa2c032
RM
17803 * configure.in (-z relro check): Adjust test code to add a large
17804 writable data section after it.
17805 * configure: Regenerated.
17806
defe9061
RM
178072011-07-11 Roland McGrath <roland@hack.frob.com>
17808
17809 * configure.in (-z relro check): Fix test code to make the variable
17810 truly const.
17811 * configure: Regenerated.
17812
319b9ad4
UD
178132011-07-11 Ulrich Drepper <drepper@gmail.com>
17814
17815 * nscd/nscd.h (struct traced_file): Define.
17816 (struct database_dyn): Remove inotify_descr, reset_res, and filename
17817 elements. Add traced_files.
17818 (inotify_fd): Declare.
17819 (register_traced_file): Declare.
17820 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
17821 (inotify_fd): Export.
17822 (resolv_conf_descr): Remove.
17823 (nscd_init): Move inotify descriptor creation to main.
17824 Don't register files for notification here.
17825 (register_traced_file): New function.
17826 (invalidate_cache): Don't use reset_res to determine whether to call
17827 res_init, go through the list of registered files.
17828 (main_loop_poll): The inotify descriptors are now stored in the
17829 structures for the traced files.
17830 (main_loop_epoll): Likewise
17831 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
17832 to __nss_disable_nscd.
17833 * nscd/cache.c (prune_cache): There is no single inotify descriptor
17834 for a database anymore. Check the records for all the registered
17835 files instead.
17836 * nss/Makefile (libnss_files-routines): Add files-init.
17837 (libnss_db-routines): Add db-init.
17838 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
17839 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
17840 * nss/nss_db/db-init.c: New file.
17841 * nss/nss_files/files-init.c: New file.
17842 * nss/nsswitch.c (nss_load_library): New function. Broken out of
17843 __nss_lookup_function.
17844 (__nss_lookup_function): Call nss_load_library.
17845 (nss_load_all_libraries): New function.
17846 (__nss_disable_nscd): Take parameter with callback function for files
17847 to register. Set is_nscd. Load all the DSOs for the NSS modules
17848 used for the cached services.
17849 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
17850 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
17851 options for features to all the files in nscd.
17852
17853 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
17854
23bee3e8
RM
178552011-07-10 Roland McGrath <roland@hack.frob.com>
17856
17857 * csu/elf-init.c (__libc_csu_init): Comment typo.
17858
46a5b7f0
UD
178592011-07-09 Ulrich Drepper <drepper@gmail.com>
17860
17861 * po/pl.po: Update from translation team.
17862 * po/ja.po: Likewise.
17863 * po/ru.po: Likewise.
17864 * po/ko.po: Likewise.
17865 * po/fr.po: Likewise.
17866
d30cf5bb
RM
178672011-07-09 Roland McGrath <roland@hack.frob.com>
17868
113ddea4
RM
17869 * configure.in (.ctors/.dtors header and trailer check):
17870 Use an empirical test on a built program.
17871 * configure: Regenerated.
17872
574920b4
RM
17873 * configure.in (-z relro check): Use an empirical test on a built DSO.
17874 Detect, but do not require, on ia64.
17875 * configure: Regenerated.
17876
d30cf5bb
RM
17877 * configure.in (READELF): Find it with AC_CHECK_TOOL.
17878 Update tests that use readelf to use $READELF instead.
17879 * configure: Regenerated.
17880
8538fdb3
UD
178812011-07-08 Ulrich Drepper <drepper@gmail.com>
17882
17883 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
17884 if the result is not used.
17885
04d08991
AJ
178862011-07-05 Andreas Jaeger <aj@suse.de>
17887
17888 [BZ#9696]
17889 * stdlib/tst-strtod.c: Add testcase.
17890
de283087
AD
178912011-07-07 Ulrich Drepper <drepper@gmail.com>
17892
4e5f31c8 17893 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 17894 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
17895 The latter has a higher limit. Take additional parameter to pass to
17896 the new function.
17897 (__pathconf): Pass file to __statfs_link_max.
17898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
17899 __statfs_link_max.
17900 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
17901 __statfs_link_max.
17902
de283087
AD
17903 [BZ #12868]
17904 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
17905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17906 Handle Lustre.
17907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
17908 (__statfs_filesize_max): Likewise.
17909 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
17910
c75fa153
AJ
179112011-07-05 Andreas Jaeger <aj@suse.de>
17912
17913 * resolv/res_comp.c (dn_skipname): Remove unused variable.
17914
1a544854
UD
179152011-07-06 Marek Polacek <mpolacek@redhat.com>
17916
17917 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
17918 `status' variable.
17919 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
17920 Likewise.
17921
6f0eec67
UD
179222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
17923
17924 * Makefile (strop-tests): Add strncat.
17925 * string/test-strncat.c: New file.
17926
aae30307
UD
179272011-06-30 Marek Polacek <mpolacek@redhat.com>
17928
17929 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
17930
c0cfb5eb
UD
179312011-06-21 Andreas Jaeger <aj@suse.de>
17932
17933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
17934 Copy rule from iconvdata/Makefile.
17935
01636b21
UD
179362011-07-06 Ulrich Drepper <drepper@gmail.com>
17937
17938 [BZ #12922]
17939 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
17940 but no long options are defined, just return 'W'.
17941
9895c8bc
UD
179422011-06-22 Marek Polacek <mpolacek@redhat.com>
17943
17944 [BZ #9696]
17945 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
17946
5d4cf042
UD
179472011-07-06 Ulrich Drepper <drepper@gmail.com>
17948
17949 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
17950 netgroups to read.
960e5535 17951 (innetgr): Likewise.
5d4cf042 17952
751eb97e
RM
179532011-07-05 Roland McGrath <roland@hack.frob.com>
17954
17955 * config.make.in (install_root): Default to $(DESTDIR).
17956
f15f1e45
UD
179572011-07-05 Ulrich Drepper <drepper@gmail.com>
17958
17959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
17960
4e34ac6a
RM
179612011-07-02 Roland McGrath <roland@hack.frob.com>
17962
5e9b6af4
RM
17963 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
17964
84f9ea0f
RM
17965 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
17966 containing directory rather than embedding absolute directory names.
17967
ea5ee9f7
RM
17968 * scripts/check-local-headers.sh: Rewritten using awk.
17969 Match by word, not by line. Print error messages for matches.
17970 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
17971
1b74661a
RM
17972 * Makerules [shlib-lds-flags empty]:
17973 ($(common-objpfx)libc_pic.opts): New target.
17974 ($(common-objpfx)libc_pic.os.clean): New target.
17975 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
17976
17977 * config.make.in (OBJCOPY): New variable.
17978 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
17979 * configure: Regenerated.
17980
f781ef40
RM
17981 * config.make.in (use-default-link): New variable.
17982 * configure.in (use_default_link): Grok --with-default-link to set it.
17983 * configure: Regenerated.
17984 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
17985 (shlib-lds, shlib-lds-flags): Define to empty.
17986
2d4fa81e
RM
17987 * Makerules (shlib-lds): New variable.
17988 (shlib-lds-flags): New variable.
17989 (build-shlib, build-moduile, build-module-asneeded): Use it.
17990 ($(common-objpfx)libc.so): Use $(shlib-lds).
17991 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
17992 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
17993
31fffa6b
RM
17994 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
17995 DT_FLAGS/DT_FLAGS_1 with zero flags.
17996
4e34ac6a
RM
17997 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
17998 linker script munging.
17999
fcfc776b
UD
180002011-07-02 Ulrich Drepper <drepper@gmail.com>
18001
18002 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
18003 as 128-bit value.
18004 * crypt/sha512.c (sha512_process_block): Perform total addition using
18005 128-bit if possible.
18006 (__sha512_finish_ctx): Likewise.
18007 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
18008 as 64-bit value.
18009 * crypt/sha256.c (SWAP64): Define.
18010 (sha256_process_block): Perform total addition using 64-bit if
18011 possible.
18012 (__sha256_finish_ctx): Likewise.
18013
99231d9a
UD
180142011-07-01 Ulrich Drepper <drepper@gmail.com>
18015
18016 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
18017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18018 * nscd/hstcache.c (cache_addhst): Likewise.
18019 * nscd/grpcache.c (cache_addgr): Likewise.
18020 * nscd/aicache.c (addhstaiX): Likewise
18021 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
18022
445b4a53
TK
180232011-07-01 Thorsten Kukuk <kukuk@suse.de>
18024
18025 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
18026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18027 * nscd/hstcache.c (cache_addhst): Likewise.
18028 * nscd/grpcache.c (cache_addgr): Likewise.
18029 * nscd/aicache.c (addhstaiX): Likewise
18030
6d4d8e8e
AS
180312011-07-01 Andreas Schwab <schwab@redhat.com>
18032
18033 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
18034 domain only when needed.
18035
89f654c5
AS
180362011-06-30 Andreas Schwab <schwab@redhat.com>
18037
18038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
18039 is always restored.
18040
cf3b23ff
UD
180412011-06-29 Ulrich Drepper <drepper@gmail.com>
18042
18043 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
18044 are re-adding the entry.
18045 * nscd/servicescache.c (cache_addserv): Likewise.
18046
751626f9
AJ
180472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
18048
18049 * sysdeps/generic/dl-irel.h: fix protection against multiple
18050 inclusions.
18051 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
18052
9113ea1f
UD
180532011-06-28 Ulrich Drepper <drepper@gmail.com>
18054
5c0b8d90
UD
18055 [BZ #12935]
18056 * malloc/memusage.sh: Fix quoting in message.
18057 * debug/xtrace.sh: Likewise.
18058
9113ea1f
UD
18059 * configure.in: Remove support for --experimental-malloc option, make
18060 it the default.
18061 * config.make.in: Likewise.
18062 * malloc/Makefile: Likewise.
18063
a4172181
AS
180642011-06-27 Andreas Schwab <schwab@redhat.com>
18065
18066 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
18067 two-byte characters.
18068
78a7eee7
RM
180692011-06-27 Roland McGrath <roland@hack.frob.com>
18070
62bede13
RM
18071 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
18072 AC_CACHE_CHECK invocation.
18073 * configure: Regenerated.
18074
78a7eee7
RM
18075 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
18076
5ce33a62
UD
180772011-06-27 Ulrich Drepper <drepper@gmail.com>
18078
034807a9
UD
18079 [BZ #12350]
18080 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
18081 bit from old_res_options.
18082
4902da17
UD
18083 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
18084
5ce33a62
UD
18085 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
18086 value type for setfct.
18087
c2344f56
L
180882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
18089
18090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18091 __gettimeofday instead of gettimeofday.
18092
68468076
UD
180932011-06-26 Ulrich Drepper <drepper@gmail.com>
18094
18095 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
18096
acb0d739
L
180972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
18098
18099 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
18100
18101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
18102 info.
18103
8912479f
L
181042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18105
18106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18107 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18108 strcpy-sse2-unaligned strncpy-sse2-unaligned
18109 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
18110 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
18111 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
18112 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
18113 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
18114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
18115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
18116 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
18117 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
18118 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
18119 (STRCPY): Support SSE2 and SSSE3 versions.
18120
d5495a11
UD
181212011-06-24 Ulrich Drepper <drepper@gmail.com>
18122
18123 [BZ #12874]
18124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
18125 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
18126 kernels which artificially limit size of requests.
18127
0b1cbaae
L
181282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
18129
18130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18131 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
18132 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
18133 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
18134 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
18135 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
18136 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
18137 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
18138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
18139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
18140 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
18141 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
18142 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
18143 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
18144 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
18145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18146 Enable unaligned load optimization for Intel Core i3, i5 and i7
18147 processors.
18148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
18149 Define.
18150 (index_Fast_Unaligned_Load): Define.
18151 (HAS_FAST_UNALIGNED_LOAD): Define.
18152
07f494a0
MP
181532011-06-23 Marek Polacek <mpolacek@redhat.com>
18154
18155 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
18156
fa3fc0fe
UD
181572011-06-22 Ulrich Drepper <drepper@gmail.com>
18158
18159 [BZ #12907]
18160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
18161 until it is clear that the information is realy needed.
18162 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
18163
e12df166
AS
181642011-06-22 Andreas Schwab <schwab@redhat.com>
18165
18166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
18167
852eb34d
UD
181682011-06-22 Ulrich Drepper <drepper@gmail.com>
18169
84e2a551
UD
18170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
18171 /sys/devices/system/cpu/online if it is usable.
18172
852eb34d
UD
18173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
18174 reading the information from the /proc filesystem to once a second.
18175
6e502e19
UD
181762011-06-21 Andreas Jaeger <aj@suse.de>
18177
18178 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
18179 NULL after inclusion of kernel headers.
18180
75d39ff2
UD
181812011-06-21 Ulrich Drepper <drepper@gmail.com>
18182
51f9aa6a
UD
18183 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
18184 calls to internal_setent.
18185
c0244a9d
UD
18186 [BZ #12885]
18187 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
18188 addresses using gethostbyname4_r ignore IPv4 addresses.
18189
c5e3c2ae
UD
18190 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
18191 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
18192
75d39ff2
UD
18193 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
18194
42675c6f
DM
181952011-06-20 David S. Miller <davem@davemloft.net>
18196
18197 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
18198 inclusions.
18199 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
18200
18201 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
18202 (elf_irel): Use it.
18203 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
18204 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
18205 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
18206 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
18207 * sysdeps/x86_64/dl-irel.h: Likewise.
18208
18209 * elf/dl-runtime.c: Use elf_ifunc_invoke.
18210 * elf/dl-sym.c: Likewise.
18211
57912a71
UD
182122011-06-15 Ulrich Drepper <drepper@gmail.com>
18213
18214 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
18215 need to dereference resplen2.
18216
ee22793d
AS
182172011-06-14 Andreas Schwab <schwab@redhat.com>
18218
18219 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
18220
a9e836b0
UD
182212011-06-15 Ulrich Drepper <drepper@gmail.com>
18222
77fb9117
UD
18223 * Makeconfig: Define vardbdir and inst_vardbdir.
18224 * nss/Makefile: Add rules to install db-Makefile.
18225
40c1b22c
UD
18226 * nss/nss_db/db-XXX.c: Cleanup.
18227
9f2da732
UD
18228 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
18229 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
18230 GLIBC_PRIVATE.
18231 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
18232 * nss/makedb.c: Implement -g option to specify that value strings
18233 are generated and should not be added to table iterated over for
18234 get*ent calls.
18235 * nss/nss_db/db-initgroups.c: New file.
18236
82e9a1f7
UD
18237 * nss/getent.c: Add support for initgroups lookups through getgrouplist
18238 interface.
18239
c41af17e
UD
18240 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
18241 (internal_getgrouplist): Adjust to name change.
18242 Update use_initgroups_entry if this is not the first call.
18243 * nss/databases.def: Add initgroups entry.
18244
a9e836b0
UD
18245 * nss/makedb.c (compute_tables): Check result of multiple hash table
18246 sizes to minimize maximum chain length.
18247
2666d441
UD
182482011-06-14 Ulrich Drepper <drepper@gmail.com>
18249
18250 * Versions.def: Add entry for libnss_db.
18251 * shlib-versions: Likewise.
18252 * nss/Makefile: Add rules to build libnss_db.
18253 * nss/Versions: Add libnss_db information. Organize libnss_files
18254 entries better.
18255 * nss/db-Makefile: Add gshadow support. Change rules for the new
18256 makedb progra. Some minor improvements to generate smaller files.
18257 * nss/nss_db/nss_db.h: Move NSS database header data structures to
18258 here from...
18259 * nss/makedb.c: ...here.
18260 Improve database format to be smaller and require less memory at
18261 runtime.
18262 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
18263 db anymore.
18264 * nss/nss_db/db-netgrp.c: Likewise.
18265 * nss/nss_db/db-open.c: Likewise.
18266 * nss/nss_files/flies-XXX.x: Adjust comments.
18267 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
18268 * nss/nss_files/files-grp.c: Likewise.
18269 * nss/nss_files/files-hosts.c: Likewise.
18270 * nss/nss_files/files-network.c: Likewise.
18271 * nss/nss_files/files-proto.c: Likewise.
18272 * nss/nss_files/files-pwd.c: Likewise.
18273 * nss/nss_files/files-rpc.c: Likewise.
18274 * nss/nss_files/files-service.c: Likewise.
18275 * nss/nss_files/files-sgrp.c: Likewise.
18276 * nss/nss_files/files-spwd.c: Likewise.
18277 * nss/nss_db/db-alias.c: Removed.
18278 * nss/nss_db/dummy-db.h: Removed.
18279
9ee76b5a
UD
182802011-06-02 Ulrich Drepper <drepper@gmail.com>
18281
18282 * nss/makedb.c: Rewritten to not use database library.
18283 * nss/Makefile: Update to build new makedb program.
18284
c71ca1f8
AJ
182852011-06-14 Andreas Jaeger <aj@suse.de>
18286
18287 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
18288 memset declaration.
18289
3154bfb8
UD
182902011-06-10 Andreas Schwab <schwab@redhat.com>
18291
18292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
18293 tmpbuf.
18294
b350afab
RM
182952011-06-10 Roland McGrath <roland@hack.frob.com>
18296
decd4e50
RM
18297 * Makerules (shlib.lds): Fail if the linker script comes out empty.
18298 * elf/Makefile ($(objpfx)ld.so): Likewise.
18299
5615eaf2
RM
18300 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
18301 Don't list ld.so twice in dependencies.
18302
18303 * posix/bug-regex31.c: Include <stdlib.h>.
18304
18305 * nscd/hstcache.c (cache_addhst): Remove unused variable.
18306
18307 * nis/nss_compat/compat-spwd.c
18308 (getspent_next_nss_netgr): Remove unused variable.
18309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
18310
18311 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
18312 nonmembers" output to use the right array.
18313
18314 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
18315
18316 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
18317
18318 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
18319 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
18320 * catgets/gencat.c (read_input_file): Likewise.
18321 * locale/programs/locarchive.c (enlarge_archive): Likewise.
18322
18323 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
18324 variable definition inside #if's controlling its use.
18325
18326 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
18327
18328 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
18329
18330 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
18331
18332 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
18333 unreachable code.
18334
18335 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
18336
b68e08db
RM
18337 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
18338 * configure: Regenerated.
18339
b350afab
RM
18340 * Makerules: Revert last change.
18341 * elf/Makefile: Likewise.
18342
28368601
RM
183432011-06-09 Roland McGrath <roland@hack.frob.com>
18344
18345 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
18346 * elf/Makefile ($(objpfx)librtld.os): Likewise.
18347 (reloc-link): Likewise.
18348
11988f8f
UD
183492011-06-09 Ulrich Drepper <drepper@gmail.com>
18350
18351 * elf/Makefile: Add rules to build pldd.
18352 * elf/pldd.c: New file.
18353 * elf/pldd-xx.c: New file.
18354
e80fab37
UD
183552011-06-07 Ulrich Drepper <drepper@gmail.com>
18356
18357 * version.h: Update for 2.15 development version.
18358
9b849836
DM
183592011-06-07 David S. Miller <davem@davemloft.net>
18360
18361 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
18362 ifuncs.
18363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
18364 elf_machine_lazy_rel): Likewise.
18365 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
18367 elf_machine_lazy_rel): Likewise.
18368 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
18369 dl_hwcap via passed in argument.
18370 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
18371 Likewise.
18372
5a31b283
AK
183732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18374
18375 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
18376
069e52f8
RM
183772011-06-06 Roland McGrath <roland@hack.frob.com>
18378
18379 [BZ #12849]
18380 * manual/fdl-1.1.texi: New file, verbatim from:
18381 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
18382 * manual/lgpl-2.1.texi: New file, verbatim from:
18383 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
18384 * manual/Makefile (licenses): New variable, list those new file names.
18385 (texis): Use it.
18386 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
18387
18388 * manual/fdl.texi: File removed.
18389 * manual/lesser.texi: File removed.
18390 * manual/libc.texinfo (Copying, Documentation License):
18391 Use new @include file names, put @appendix directive before @include.
18392
f16846a5
JJ
183932011-06-04 Jakub Jelinek <jakub@redhat.com>
18394
18395 [BZ #12841]
18396 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
18397 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
18398 (mq_open): Add __NTH.
18399
3d29045b
L
184002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
18401
18402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18403 Assume Intel Core i3/i5/i7 processor if AVX is available.
18404
8c297311
UD
184052011-05-31 Ulrich Drepper <drepper@gmail.com>
18406
18407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18408 typo.
18409
c8fc0c91
UD
184102011-05-31 Andreas Schwab <schwab@redhat.com>
18411
18412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
18413 memory. Use alloca_account. Fix memory leak when retrying.
18414
5b27a807
UD
184152011-05-31 Ulrich Drepper <drepper@gmail.com>
18416
356f8bc6
UD
18417 * version.h (RELEASE): Bump for 2.14 release.
18418 * include/features.h (__GLIBC_MINOR__): Bump to 14.
18419
5b27a807
UD
18420 * config.make.in (RANLIB): Remove entry.
18421
01f16ab0
UD
184222011-05-30 Ulrich Drepper <drepper@gmail.com>
18423
41fce8bd
UD
18424 * po/Makefile (po-sed-cmd): Add ksh to extensions.
18425 (libc.pot): Work around missing support for .ksh extension in xgettext.
18426
4769ae77
UD
18427 [BZ #12684]
18428 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
18429 if both request failed.
18430 (send_dg): In case of server errors clear resplen or *resplen2.
18431
6b1e7d19
UD
18432 [BZ #12454]
18433 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
18434 when there are multiple maps.
18435 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
18436 (_dl_fini): Remove test here.
18437
01f16ab0
UD
18438 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
18439
b1ebd700
UD
184402011-05-29 Ulrich Drepper <drepper@gmail.com>
18441
7ae22829
UD
18442 [BZ #12350]
18443 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
18444 bit from old_res_options.
18445 (gaih_inet): Likewise.
18446
553149f6 18447 [BZ #11099]
18a84741 18448 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
18449 as signed.
18450
652ffab1
UD
18451 * resolv/res_init.c (res_setoptions): Make the code more compact.
18452
16985fd0
UD
18453 [BZ #11558]
18454 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
18455 set RES_USEVC.
18456
0464f746
UD
18457 [BZ #11634]
18458 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
18459
7d17596c
UD
18460 * malloc/malloc.h: Mark malloc hook variables as deprecated.
18461
cf6bbbd7
UD
18462 [BZ #11781]
18463 * malloc/malloc.h: Declare malloc hook variables as volatile.
18464
13f1ab36
UD
18465 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
18466 in last patch.
18467
b1ebd700
UD
18468 [BZ #11799]
18469 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 18470 raise in the comment.
80e2212d
UD
18471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18473 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 18474
ce67228d
UD
184752011-05-28 Ulrich Drepper <drepper@gmail.com>
18476
8887a920
UD
18477 [BZ #12811]
18478 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
18479 grow the buffers more if it already has to be sufficient.
18480 (build_wcs_upper_buffer): Likewise.
18481 * posix/regexec.c (check_matching): Likewise.
18482 (clean_state_log_if_needed): Likewise.
18483 (extend_buffers): Don't enlarge buffers beyond size of the input
18484 buffer.
18485 Patches mostly by Emil Wojak <emil@wojak.eu>.
18486 * posix/bug-regex32.c: New file.
18487 * posix/Makefile (tests): Add bug-regex32.
18488
4f031072
UD
18489 * locale/findlocale.c (_nl_find_locale): Return right away if
18490 _nl_explode_name failed.
18491 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
18492
d0478f0c
UD
18493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
18494
de81b246
UD
18495 * debug/xtrace.sh: Unify messages.
18496 * malloc/memusage.sh: Likewise.
18497
c738465a
UD
18498 [BZ #12813]
18499 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
18500 time symbol from vDSO. Substitute with vsyscall if not available.
18501 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
18502 __vdso_time.
18503
f1f929d7
UD
18504 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
18505 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
18506 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
18507 Add sendmmsg and internal_sendmmsg.
18508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
18509 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
18510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
18511
ce67228d
UD
18512 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
18513 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
18514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
18515
e57420c6
UD
185162011-05-27 Ulrich Drepper <drepper@gmail.com>
18517
a8509ca5
UD
18518 [BZ #12813]
18519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
18520 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
18521 available.
18522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
18523 __vdso_getcpu.
18524
e57420c6
UD
18525 [BZ #12814]
18526 * iconvdata/Makefile (tests): Add bug-iconv9.
18527 * iconvdata/bug-iconv9.c: New file.
18528
4d07db15
AS
185292011-05-27 Andreas Schwab <schwab@redhat.com>
18530
18531 [BZ #12814]
18532 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
18533
ea486f69
JJ
185342011-05-25 Jakub Jelinek <jakub@redhat.com>
18535
18536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18537 (struct user_regs_struct): Change intcs field back to cs.
18538
6f038433
UD
185392011-05-25 Ulrich Drepper <drepper@gmail.com>
18540
18541 * po/ja.po: Update from translation team.
18542
67f86a25
UD
185432011-05-23 Ulrich Drepper <drepper@gmail.com>
18544
18545 [BZ #12795]
18546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
18547 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
18548
def7fbd6
AS
185492011-05-20 Andreas Schwab <schwab@redhat.com>
18550
18551 * stdlib/longlong.h: Update from GCC.
18552
f50ef8f1
AS
185532011-05-23 Andreas Schwab <schwab@redhat.com>
18554
18555 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
18556 parameter name.
18557 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
18558 Add parameter name.
18559 (__sysconf): Pass it down.
18560
de7ce8f1
UD
185612011-05-22 Ulrich Drepper <drepper@gmail.com>
18562
f2962a71
UD
18563 [BZ #12671]
18564 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
18565 some situations.
18566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18567 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
18568 add in in __libc_use_alloca calls. Adjust callers.
18569 (glob): Use malloc in some situations.
18570
de7ce8f1
UD
18571 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
18572 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
18573 pltexit.
18574
aec84f53
UD
185752011-05-21 Ulrich Drepper <drepper@gmail.com>
18576
05bb4a68
UD
18577 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
18578 and CLOCK_BOOTTIME_ALARM.
18579
7ea72f99
UD
18580 [BZ #12782]
18581 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
18582 is returned.
18583
7e4afad5
UD
18584 * string/_strerror.c (__strerror_r): Print negative errors as signed
18585 numbers.
18586
8e211fec
UD
18587 [BZ #12777]
18588 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
18589 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
18590 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
18591
f7d82dc9
UD
18592 * configure.in: Fix typo in redirection and correct removal of test
18593 files in two cases.
18594
cc9e536d
UD
18595 [BZ #12788]
18596 * locale/setlocale.c (new_composite_name): Fix test to check for
18597 identical name of all categories.
18598
aec84f53
UD
18599 [BZ #12792]
18600 * libio/filedoalloc.c (local_isatty): New function.
18601 (_IO_file_doallocate): Use local_isatty.
18602 * stdio-common/perror.c (perror): In case a new stream is used
18603 forward the stream error.
18604 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
18605 error flag.
18606
78e64fdc
RT
186072011-05-20 Ulrich Drepper <drepper@gmail.com>
18608
34a9094f
UD
18609 [BZ #11869]
18610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
18611 alloca.
18612 * include/alloca.h (extend_alloca_account): Define.
18613
78e64fdc
RT
18614 [BZ #11857]
18615 * posix/regex.h: Fix comments with documentation of user-accessible
18616 fields after compilation and describe correct free'ing of pattern
18617 after re_compile_pattern.
18618 Patch by Reuben Thomas <rrt@sc3d.org>.
18619
457bddfc
RA
186202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
18621
18622 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
18623 and -mno-altivec to prevent the compiler from using Altivec and/or
18624 VSX instructions when the corresponding registers are not available.
18625
a4527b51
AS
186262011-05-19 Andreas Schwab <schwab@redhat.com>
18627
18628 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
18629
ed690b2f
UD
186302011-05-19 Ulrich Drepper <drepper@gmail.com>
18631
18632 * libio/freopen.c (freopen): Use __dup2, not dup2.
18633 * libio/freopen64.c (freopen64): Likewise.
18634
8db73634
L
186352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
18636
18637 [BZ #12775]
18638 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
18639 * math/Makefile (tests): Add test-powl.
18640 (CFLAGS-test-powl.c): Define.
18641 * math/test-powl.c: New file.
18642
0a197a9d
L
186432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18644
18645 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
18646
ee30c380
UD
186472011-05-17 Ulrich Drepper <drepper@gmail.com>
18648
18649 [BZ #11837]
18650 * iconvdata/gb18030.c: Update to GB18020-2005.
18651
6ce75379
UD
186522011-05-16 Ulrich Drepper <drepper@gmail.com>
18653
a4b89fd8
AR
18654 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
18655 RE_SYNTAX_POSIX_AWK): Update to match recent development.
18656 Patch by Aharon Robbins <arnold@skeeve.com>.
18657
ea389b12
UD
18658 [BZ #11892]
18659 * stdlib/putenv.c (putenv): Don't always create copy of the variable
18660 on the stack.
18661
68a3f91f
UD
18662 [BZ #11895]
18663 * misc/pselect.c (__pselect): Handle timeout value errors hidden
18664 through underflows.
18665
15cc7dd1
UD
18666 [BZ #12766]
18667 * misc/error.c (error_at_line): Ensure file_name and old_file_name
18668 point to strings before performing equality test for error_one_per_line
18669 mode.
18670
f3799213
UD
18671 [BZ #11697]
18672 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
18673
d79a9c94
UD
18674 [BZ #11820]
18675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
18676 (struct user_fpregs_struct): Avoid __uint*_t types.
18677
56e5eb46
UD
18678 [BZ #6420]
18679 * malloc/mtrace.c (tr_where): Add additional parameter to point to
18680 symbol info. Use it instead of calling _dl_addr locally.
18681 (lock_and_info): New function.
18682 (tr_freehook): Call lock_and_info and pass symbol info as additional
18683 parameter to tr_where.
18684 (tr_mallochook): Likewise.
18685 (tr_reallochook): Likewise.
18686 (tr_memalignhook): Likewise.
18687
6ce75379
UD
18688 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
18689 used and couldn't be at all thread-safe.
18690
f8a3b5bf
UD
186912011-05-15 Ulrich Drepper <drepper@gmail.com>
18692
94b7cc37
UD
18693 * libio/freopen.c (freopen): Don't close old file descriptor
18694 before the new one is opened. Instead dup the new file descriptor
18695 to the old one after the new stream is created.
18696 * libio/freopen64.c (freopen64): Likewise.
18697 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
18698 * libio/fileops.c (_IO_new_file_close_it): Handle new
18699 _IO_FLAGS2_NOCLOSE flag.
18700 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
18701 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
18702 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
18703 _IO_FLAGS2_NOCLOSE flag.
18704 * include/unistd.h: Add hidden_proto for dup3.
18705 Define __have_dup3.
18706 * io/dup3.c: Define hidden symbol.
18707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
18708
bd25564e
UD
18709 [BZ #7101]
18710 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
18711 when an incomplete long option is used.
18712 * posix/tst-getopt_long1.c: New file.
18713 * posix/Makefile (tests): Add tst-getopt_long1.
18714
c84cfef4
UD
18715 [BZ #10138]
18716 * scripts/config.guess: Update from autoconf-2.68.
18717 * scripts/config.sub: Likewise.
18718
3b85df27
UD
18719 [BZ #10157]
18720 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
18721 tests into ...
18722 (has_cpuclock): ...this. New function.
18723 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
18724 macro here based on has_cpuclock code.
18725
15a856b1
UD
18726 [BZ #10149]
18727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18728 First byte (not low byte) is now always NUL.
18729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
18730
05f399e6
UD
18731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18732 Use non-cancelable interfaces.
18733
10a52685 18734 [BZ #9809]
94ecc67d
UD
18735 * locale/iso-639.def: Add entry for Sorani.
18736
f8a3b5bf
UD
18737 [BZ #11901]
18738 * include/stdlib.h: Move include protection to the right place.
18739 Define abort_msg_s. Declare __abort_msg with it.
18740 * stdlib/abort.c (__abort_msg): Adjust type.
18741 * assert/assert.c (__assert_fail_base): New function. Majority
18742 of code from __assert_fail. Allocate memory for __abort_msg with
18743 mmap.
18744 (__assert_fail): Now call __assert_fail_base.
18745 * assert/assert-perr.c: Remove bulk of implementation. Use
18746 __assert_fail_base.
18747 * include/assert.hL Declare __assert_fail_base.
18748 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
18749 mmap.
18750 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
18751
1af4e298
UD
187522011-05-14 Ulrich Drepper <drepper@gmail.com>
18753
f8a3b5bf 18754 [BZ #11952]
d26dfc60
MG
18755 [BZ #12453]
18756 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
18757 until all modules are registered in the DTV.
18758 * elf/Makefile: Add rules to build and run tst-tls19.
18759 * elf/tst-tls19.c: New file.
18760 * elf/tst-tls19mod1.c: New file.
18761 * elf/tst-tls19mod2.c: New file.
18762 * elf/tst-tls19mod3.c: New file.
18763 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
18764
2fc54d6f
UD
18765 [BZ #12083]
18766 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
18767 correctly.
18768
98d76b46
UD
18769 [BZ #12601]
18770 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
18771 two-byte sequence errors.
18772 * iconvdata/Makefile (tests): Add bug-iconv8.
18773 * iconvdata/bug-iconv8.c: New file.
18774
da3c19ef
UD
18775 [BZ #12626]
18776 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
18777 buf2 definition.
18778
ca408c15
UD
18779 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
18780
d6f67f7d
UD
18781 [BZ #12432]
18782 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
18783 (dummy_getcfa): New function.
18784 (init): Get _Unwind_GetCFA address, use dummy if not found.
18785 (backtrace_helper): In recursion check, also check whether CFA changes.
18786 (__backtrace): Completely initialize arg.
18787
1af4e298 18788 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
18789 storing incomplete byte sequence in state object. Avoid testing for
18790 guaranteed too small input if we know there is enough data available.
1af4e298 18791
da62f81b
AS
187922011-05-11 Andreas Schwab <schwab@redhat.com>
18793
18794 * Makeconfig (+link-pie): Indent.
18795 * Rules (binaries-pie): Define if $(have-fpie) and
18796 $(build-shared).
18797 (binaries-shared): Also filter out $(binaries-pie).
18798 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
18799 * nscd/Makefile (others-pie): Add nscd.
18800 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
18801 ($(objpfx)nscd): Remove command override.
18802 * login/Makefile (others-pie): Add pt_chown.
18803 ($(objpfx)pt_chown): Remove command override.
18804 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
18805 remove command overrides.
18806
fcabc0f8
UD
188072011-05-13 Ulrich Drepper <drepper@gmail.com>
18808
20030ae6
UD
18809 * libio/tst_putwc.c: Fix error messages.
18810
fcabc0f8
UD
18811 [BZ #12724]
18812 * libio/fileops.c (_IO_new_file_close_it): Always flush when
18813 currently writing and seek to current position when not.
18814 * libio/Makefile (tests): Add bug-fclose1.
18815 * libio/bug-fclose1.c: New file.
18816
320a5dc0
PB
188172011-05-12 Ulrich Drepper <drepper@gmail.com>
18818
18819 [BZ #12511]
18820 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
18821 don't set DF_1_NODELETE here.
18822 (do_lookup_x): When entering new entry test for copy relocation
18823 and if necessary set DF_1_NODELETE flag.
18824 * elf/tst-unique4.cc: New file.
18825 * elf/tst-unique4.h: New file.
18826 * elf/tst-unique4lib.cc: New file.
18827 * elf/Makefile: Add rules to build and run tst-unique4.
18828 Patch by Piotr Bury <pbury@goahead.com>.
18829
22836f52
UD
188302011-05-11 Ulrich Drepper <drepper@gmail.com>
18831
f574184a
UD
18832 [BZ #12052]
18833 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
18834
e1fb097f
UD
18835 [BZ #12625]
18836 * misc/mntent_r.c (addmntent): Flush the stream after the output
18837
22836f52
UD
18838 [BZ #12393]
18839 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
18840 (is_trusted_path_normalize): Skip initial colon. Append slash
18841 to empty buffer. Duplicate is_trusted_path code but allow
18842 constructed patch to be prefix.
18843 (is_dst): Allow $ORIGIN followed by /.
18844 (_dl_dst_substitute): Correct clearing of check_for_trusted.
18845 Correct testing of result of is_trusted_path_normalize
18846 (decompose_rpath): Fix warning.
18847
7b3b0b2a
UD
188482011-05-10 Ulrich Drepper <drepper@gmail.com>
18849
18850 [BZ #11257]
18851 * grp/initgroups.c (internal_getgrouplist): When we found the service
18852 list through the initgroups entry in nsswitch.conf do not always
18853 continue on a successful lookup. Don't always use the
eac80ce2 18854 __nss_group_database value if it is set.
7b3b0b2a
UD
18855 * nss/nsswitch.conf (initgroups): Change action for successful db
18856 lookup to continue for compatibility.
18857
2a81eaa5
UD
188582011-05-09 Ulrich Drepper <drepper@gmail.com>
18859
be97a69e
UD
18860 [BZ #11532]
18861 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
18862 and CP774 modules.
18863 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
18864 and CP774 modules.
18865 * iconvdata/tst-tables.sh: Likewise.
18866 * iconvdata/cp770.c: New file.
18867 * iconvdata/cp771.c: New file.
18868 * iconvdata/cp772.c: New file.
18869 * iconvdata/cp773.c: New file.
18870 * iconvdata/cp774.c: New file.
18871 * iconvdata/testdata/CP770: New file.
18872 * iconvdata/testdata/CP770..UTF8: New file.
18873 * iconvdata/testdata/CP771: New file.
18874 * iconvdata/testdata/CP771..UTF8: New file.
18875 * iconvdata/testdata/CP772: New file.
18876 * iconvdata/testdata/CP772..UTF8: New file.
18877 * iconvdata/testdata/CP773: New file.
18878 * iconvdata/testdata/CP773..UTF8: New file.
18879 * iconvdata/testdata/CP774: New file.
18880 * iconvdata/testdata/CP774..UTF8: New file.
18881
18882 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
18883 END CHARMAP line.
18884 * iconvdata/gen-8bit-gap.sh: Likewise.
18885 * iconvdata/gen-8bit.sh: Likewise.
18886
c1e9e399
UD
18887 * locale/iso-639.def: Add ary entry.
18888
24c55fb3 18889 [BZ #11258]
96b4b1b0
UD
18890 * locale/C-translit.h.in: Add U20A1 transliteration.
18891
bdc2f971
KB
18892 [BZ #12178]
18893 * locale/iso-639.def: Add wae entry.
18894 Patch by Kevin Bortis <bortis@translate-wae.ch>.
18895
2952b117
UD
18896 [BZ #12545]
18897 * locale/programs/localedef.c (construct_output_path): Use ssize_t
18898 for n.
18899
2a81eaa5
UD
18900 [BZ #12711]
18901 * locale/C-translit.h.in: Add entry for U20B9.
18902 Patch by pravin.d.s@gmail.com.
18903
28377d1b
UD
189042011-05-08 Ulrich Drepper <drepper@gmail.com>
18905
7fb90fb8
UD
18906 [BZ #12713]
18907 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
18908 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
18909 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
18910 in rtld. Use *stat64.
7fb90fb8 18911 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 18912 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 18913 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
18914 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
18915 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
18916 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
18917 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
18918 __fstatat64 macros.
7fb90fb8
UD
18919 * include/dirent.h: Add libc_hidden_proto for rewinddir.
18920 * dirent/rewinddir.c: Add libc_hidden_def.
18921 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 18922 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 18923
28377d1b
UD
18924 * include/dirent.h (__alloc_dir): Add flags parameter.
18925 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
18926 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
18927 __alloc_dir.
18928 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
18929 from fdopendir if O_CLOEXEC is already set.
18930
66bdbaa4
AM
189312011-03-15 Alan Modra <amodra@gmail.com>
18932
18933 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
18934 l_tls_firstbyte_offset non-zero. Save padding offset in
18935 l_tls_firstbyte_offset for later use.
18936 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
18937 freeing static tls block.
18938
95721191
JN
189392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
18940
18941 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
18942 where #ifdef was intended. The intent is to prevent ARG_MAX from
18943 being defined by the kernel headers.
18944
f87dfb1f
UD
189452011-05-07 Ulrich Drepper <drepper@gmail.com>
18946
18947 [BZ #12734]
18948 * resolv/resolv.h: Define RES_NOTLDQUERY.
18949 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
18950 no-tld-query and set RES_NOTLDQUERY.
18951 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
18952 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
18953 modern BIND to search name as TLD unless forbidden.
18954
47c3cd7a
UD
189552011-05-07 Petr Baudis <pasky@suse.cz>
18956 Ulrich Drepper <drepper@gmail.com>
18957
18958 [BZ #12393]
18959 * elf/dl-load.c (fillin_rpath): Move trusted path check...
18960 (is_trusted_path): ...to here.
c1e9ea35 18961 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 18962 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 18963 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 18964
8a35c912
PP
189652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
18966
18967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
18968 __BEGIN/__END_DECLS.
18969
acd41f47
UD
189702011-05-06 Ulrich Drepper <drepper@gmail.com>
18971
18972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
18973 NSS_STATUS_NOTFOUND if no record was found.
18974
597df647
AS
189752011-05-05 Andreas Schwab <schwab@redhat.com>
18976
18977 * sunrpc/Makefile (headers): Add rpc/netdb.h.
18978 (headers-not-in-tirpc): Remove rpc/netdb.h
18979 * resolv/netdb.h: Revert last change.
18980
b9af1301
PP
189812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18982
18983 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
18984 circular dependency between libgcc.a and libc.a.
18985
4e34d5f5
AS
189862011-05-05 Andreas Schwab <schwab@redhat.com>
18987
18988 * resolv/netdb.h: Don't include <rpc/netdb.h>.
18989 * nis/Makefile: Don't install rpcsvc/*.
18990 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
18991 instead of <rpc/types.h>.
18992 (MAXHOSTNAMELEN): Define.
18993
00ee369c
AS
189942011-05-03 Andreas Schwab <schwab@redhat.com>
18995
18996 * elf/ldconfig.c (add_dir): Don't crash on empty path.
18997
0b592a30
MB
189982011-04-28 Maciej Babinski <mbabinski@google.com>
18999
19000 [BZ #12714]
19001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
19002 gethostbyname4_r when IPv6 results are possible.
19003
6e04cbbe
UD
190042011-05-02 Ulrich Drepper <drepper@gmail.com>
19005
19006 [BZ #12723]
19007 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
19008 _PC_PIPE_BUF handling.
19009
e4ecafe0
BH
190102011-04-30 Bruno Haible <bruno@clisp.org>
19011
19012 [BZ #12717]
19013 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
19014 * resolv/netdb.h (getnameinfo): Change type of flags parameter
19015 to 'int'.
19016 * inet/getnameinfo.c (getnameinfo): Likewise.
19017
125ee683
UD
190182011-04-29 Ulrich Drepper <drepper@gmail.com>
19019
19020 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
19021 to groups setting in database lookup.
19022 * nss/nsswitch.conf: Add initgroups entry.
19023
b722481a
EB
190242011-04-22 Ulrich Drepper <drepper@gmail.com>
19025
19026 [BZ #12685]
19027 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
19028 mode string.
19029 Patch by Eric Blake <eblake@redhat.com>.
19030
4df46dbd
L
190312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
19032
19033 * sunrpc/Makefile (need-export-routines): Add svc_run.
19034 (routines): Remove svc_run.
19035 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
19036 * sunrpc/clnt_perr.c (clnt_perrno): Export.
19037 * sunrpc/svc_run.c (svc_run): Likewise.
19038 * sunrpc/svc_udp.c (svcudp_create): Likewise.
19039
e84142d2
UD
190402011-04-21 Ulrich Drepper <drepper@gmail.com>
19041
19042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
19043 problem in reallocation in last patch.
19044
877175d8
UD
190452011-04-20 Ulrich Drepper <drepper@gmail.com>
19046
19047 * sunrpc/Makefile: Move inclusion of Rules.
19048
ab8eed78
UD
190492011-04-19 Ulrich Drepper <drepper@gmail.com>
19050
19051 * nss/nss_files/files-initgroups.c: New file.
19052 * nss/Makefile (libnss_files-routines): Add files-initgroups.
19053 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
19054 _nss_files_initgroups_dyn.
19055
e3d8f584
RS
190562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
19057
19058 * elf/elf.h (R_ARM_IRELATIVE): Define.
19059
af190f45
UD
190602011-04-19 Ulrich Drepper <drepper@gmail.com>
19061
19062 * po/ru.po: Update from translation team.
19063
53cf59ef
UD
190642011-04-17 Ulrich Drepper <drepper@gmail.com>
19065
19066 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
19067 dependencies.
19068
4c559bcd
MF
190692011-02-06 Mike Frysinger <vapier@gentoo.org>
19070
19071 [BZ #12653]
19072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
19073 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
19074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19077
4420675c
AS
190782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
19079
19080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
19081 differing bytes.
19082 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19085
75ea32ab
UD
190862011-04-17 Ulrich Drepper <drepper@gmail.com>
19087
19088 [BZ #12420]
19089 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
19090 storing it.
19091 * stdlib/bug-getcontext.c: New file.
19092 * stdlib/Makefile: Add rules to build and run bug-getcontext.
19093
27390476
AK
190942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19095
19096 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
19097 instructions into .machine "z9-109".
19098 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19099 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19100
10442705
AK
191012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19102
19103 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
19104 between environment variables and auxiliary vector.
19105
7b57bfe5
UD
191062011-04-16 Ulrich Drepper <drepper@gmail.com>
19107
19108 * Makefile: Add rules to build linkobj/libc.so.
19109 * include/libc-symbols.h: Define libc_hidden_nolink.
19110 * include/rpc/auth.h: Mark functions which are to be hidden.
19111 * include/rpc/auth_des.h: Likewise.
19112 * include/rpc/auth_unix.h: Likewise.
19113 * include/rpc/clnt.h: Likewise.
19114 * include/rpc/des_crypt.h: Likewise.
19115 * include/rpc/key_prot.h: Likewise.
19116 * include/rpc/pmap_clnt.h: Likewise.
19117 * include/rpc/pmap_prot.h: Likewise.
19118 * include/rpc/pmap_rmt.h: Likewise.
19119 * include/rpc/rpc_msg.h: Likewise.
19120 * include/rpc/svc.h: Likewise.
19121 * include/rpc/svc_auth.h: Likewise.
19122 * include/rpc/xdr.h: Likewise.
19123 * nis/Makefile: Link all DSOs against linkobj/libc.so.
19124 * nss/Makefile: Likewise.
19125 * sunrpc/Makefile: Don't install headers. Build library with normal
19126 entry points. Don't build rpcinfo. Link RPC tests appropriately.
19127 * sunrpc/auth_des.c: Hide exported symbols by default, export some
19128 for the compat linking library. Remove use of INTDEF/INTUSE.
19129 * sunrpc/auth_none.c: Likewise.
19130 * sunrpc/auth_unix.c: Likewise.
19131 * sunrpc/authdes_prot.c: Likewise.
19132 * sunrpc/authuxprot.c: Likewise.
19133 * sunrpc/clnt_gen.c: Likewise.
19134 * sunrpc/clnt_perr.c: Likewise.
19135 * sunrpc/clnt_raw.c: Likewise.
19136 * sunrpc/clnt_simp.c: Likewise.
19137 * sunrpc/clnt_tcp.c: Likewise.
19138 * sunrpc/clnt_udp.c: Likewise.
19139 * sunrpc/clnt_unix.c: Likewise.
19140 * sunrpc/des_crypt.c: Likewise.
19141 * sunrpc/des_soft.c: Likewise.
19142 * sunrpc/get_myaddr.c: Likewise.
19143 * sunrpc/key_call.c: Likewise.
19144 * sunrpc/key_prot.c: Likewise.
19145 * sunrpc/netname.c: Likewise.
19146 * sunrpc/pm_getmaps.c: Likewise.
19147 * sunrpc/pm_getport.c: Likewise.
19148 * sunrpc/pmap_clnt.c: Likewise.
19149 * sunrpc/pmap_prot.c: Likewise.
19150 * sunrpc/pmap_prot2.c: Likewise.
19151 * sunrpc/pmap_rmt.c: Likewise.
19152 * sunrpc/publickey.c: Likewise.
19153 * sunrpc/rpc_cmsg.c: Likewise.
19154 * sunrpc/rpc_common.c: Likewise.
19155 * sunrpc/rpc_dtable.c: Likewise.
19156 * sunrpc/rpc_prot.c: Likewise.
19157 * sunrpc/rpc_thread.c: Likewise.
19158 * sunrpc/rtime.c: Likewise.
19159 * sunrpc/svc.c: Likewise.
19160 * sunrpc/svc_auth.c: Likewise.
19161 * sunrpc/svc_authux.c: Likewise.
19162 * sunrpc/svc_raw.c: Likewise.
19163 * sunrpc/svc_run.c: Likewise.
19164 * sunrpc/svc_simple.c: Likewise.
19165 * sunrpc/svc_tcp.c: Likewise.
19166 * sunrpc/svc_udp.c: Likewise.
19167 * sunrpc/svc_unix.c: Likewise.
19168 * sunrpc/svcauth_des.c: Likewise.
19169 * sunrpc/xcrypt.c: Likewise.
19170 * sunrpc/xdr.c: Likewise.
19171 * sunrpc/xdr_array.c: Likewise.
19172 * sunrpc/xdr_float.c: Likewise.
19173 * sunrpc/xdr_intXX_t.c: Likewise.
19174 * sunrpc/xdr_mem.c: Likewise.
19175 * sunrpc/xdr_rec.c: Likewise.
19176 * sunrpc/xdr_ref.c: Likewise.
19177 * sunrpc/xdr_sizeof.c: Likewise.
19178 * sunrpc/xdr_stdio.c: Likewise.
19179
e6c61494
UD
191802011-04-10 Ulrich Drepper <drepper@gmail.com>
19181
19182 [BZ #12650]
19183 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
19184 * sysdeps/ia64/dl-tls.h: Likewise.
19185 * sysdeps/powerpc/dl-tls.h: Likewise.
19186 * sysdeps/s390/dl-tls.h: Likewise.
19187 * sysdeps/sh/dl-tls.h: Likewise.
19188 * sysdeps/sparc/dl-tls.h: Likewise.
19189 * sysdeps/x86_64/dl-tls.h: Likewise.
19190 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
19191
34fe483e
AS
191922011-03-14 Andreas Schwab <schwab@redhat.com>
19193
19194 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
19195 rpath element also skip the following colon.
19196 (expand_dynamic_string_token): Add is_path parameter and pass
19197 down to DL_DST_REQUIRED and _dl_dst_substitute.
19198 (decompose_rpath): Call expand_dynamic_string_token with
19199 non-zero is_path. Ignore empty rpaths.
19200 (_dl_map_object_from_fd): Call expand_dynamic_string_token
19201 with zero is_path.
19202
f12a32e6
AS
192032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
19204
19205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19206 Make cancelable.
19207
38a7d692
UD
192082011-04-09 Ulrich Drepper <drepper@gmail.com>
19209
19210 [BZ #12655]
19211 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
19212 Patch by Filipe David Manana <fdmanana@apache.org>.
19213
e451d22b
AS
192142011-04-07 Andreas Schwab <schwab@redhat.com>
19215
19216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
19217 Maintain aligned stack.
19218 (CHECK_RSP): Remove unused macro.
19219
dedc7c7b
UD
192202011-04-03 Ulrich Drepper <drepper@gmail.com>
19221
19222 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
19223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
19224
94521213
UD
192252011-04-02 Ulrich Drepper <drepper@gmail.com>
19226
19227 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
19228
8cb700c0 19229 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 19230
0354e355
L
192312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
19232
19233 [BZ #12518]
19234 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
19235 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
19236 * sysdeps/x86_64/memmove.c: New file.
19237 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
19238 (memcpy): Renamed to ...
19239 (__new_memcpy): This.
19240 (memcpy): Provide GLIBC_2_14 memcpy.
19241 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
19242 (memcpy): Provide GLIBC_2_2_5 memcpy.
19243
8593482f
UD
192442011-04-01 Ulrich Drepper <drepper@gmail.com>
19245
19246 [BZ #12631]
19247 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
19248
81a5726b
AS
192492011-03-30 Andreas Schwab <schwab@redhat.com>
19250
19251 * misc/syncfs.c: New file.
19252 * misc/Makefile (routines): Add syncfs.
19253 * posix/unistd.h: Declare syncfs.
19254 * sysdeps/unix/syscalls.list: Add syncfs.
19255
00e5419f
AS
192562011-04-01 Andreas Schwab <schwab@redhat.com>
19257
19258 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
19259 open_by_handle_at.
19260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
19261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19265 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
19266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19267
748876bf
UD
192682011-04-01 Ulrich Drepper <drepper@gmail.com>
19269
658e451d
UD
19270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
19271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
19273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19277
748876bf
UD
19278 * io/Makefile: Compile fallocate.c, fallocate64.c, and
19279 sync_file_range.c with -fexceptions.
19280 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
19281 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
19282 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19283 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19284 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
19285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
19287 sync_file_range as cancellation point
19288 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
19289 now a wrapper around __call_sync_file_range with cancellation handling.
19290 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
19291 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
19292 function name to __call_sync_file_range.
19293 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
19294 Add call_sync_file_range.
748876bf 19295
6e63d5e1
AS
192962011-04-01 Andreas Schwab <schwab@redhat.com>
19297
19298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 19299 bits/timex.h.
6e63d5e1 19300
46998f74
UD
193012011-04-01 Ulrich Drepper <drepper@gmail.com>
19302
4c1423ed
UD
19303 * iconv/iconv.h: Fix typo in comment.
19304 * io/fcntl.h: Likewise.
19305 * libio/stdio.h: Likewise.
19306 * posix/spawn.h: Likewise.
19307 * posix/unistd.h: Likewise.
19308 * stdlib/stdlib.h: Likewise.
19309 * time/time.h: Likewise.
19310 * wcsmbs/wchar.h: Likewise.
19311
158648c0
UD
19312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
19313 open_by_handle): Add.
19314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
19315 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
19316 Augment a few comments.
19317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
19318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
19319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
19320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
19322 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
19323 open_by_handle.
19324
46998f74
UD
19325 * io/fcntl.h (AT_EMPTY_PATH): Define.
19326
83fe108b
UD
193272011-03-30 Ulrich Drepper <drepper@gmail.com>
19328
19329 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
19330 * sysdeps/unix/sysv/linux/bits/time.h: New file.
19331 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
19332 to...
19333 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
19334 * Versions.def: Add GLIBC_2.14.
19335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
19336 Export.
83fe108b 19337
bb242059
UD
193382011-03-22 Ulrich Drepper <drepper@gmail.com>
19339
19340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
19341 round counter.
19342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19343
c97a1282
L
193442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
19345
19346 [BZ #12597]
19347 * string/test-strncmp.c (do_page_test): New function.
19348 (check2): Likewise.
19349 (test_main): Call check2.
19350 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
19351
2a115601
UD
193522011-03-20 Ulrich Drepper <drepper@gmail.com>
19353
19354 [BZ #12587]
19355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
19356 Handle cache information in CPU leaf 4.
19357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
19358
8126d904
UD
193592011-03-18 Ulrich Drepper <drepper@gmail.com>
19360
042c49c6 19361 [BZ #12583]
8126d904
UD
19362 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
19363 character representation.
19364 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
19365
ccfe366e
RA
193662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
19367
19368 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
19369 END(__isnan) to END(__isnanf) to match function entry point/label
19370 EALIGN(__isnanf,...).
19371
c6e13027
JJ
193722011-03-10 Jakub Jelinek <jakub@redhat.com>
19373
19374 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
19375
33f85a3f
UD
193762011-03-10 Ulrich Drepper <drepper@gmail.com>
19377
028478fa
UD
19378 [BZ #12510]
19379 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
19380 copy from the symbol referenced in the relocation to initialize the
19381 used variable.
19382 Patch by Piotr Bury <pbury@goahead.com>.
19383 * elf/Makefile: Add rules to build and tst-unique3.
19384 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
19385 * elf/tst-unique3.cc: New file.
19386 * elf/tst-unique3.h: New file.
19387 * elf/tst-unique3lib.cc: New file.
19388 * elf/tst-unique3lib2.cc: New file.
19389
33f85a3f
UD
19390 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
19391
03592fc7
MF
193922011-03-10 Mike Frysinger <vapier@gentoo.org>
19393
19394 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
19395 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
19396 to _start.
03592fc7 19397
6a5ee102
UD
193982011-03-06 Ulrich Drepper <drepper@gmail.com>
19399
19400 * elf/dl-load.c (_dl_map_object): If we are looking for the first
19401 to-be-loaded object along a path to loader is ld.so.
19402
7e4ba49c
HJ
194032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19404 Ulrich Drepper <drepper@gmail.com>
19405
19406 * sysdeps/x86_64/memset.S: After aligning destination, code
19407 branches to different locations depending on the value of
19408 misalignment, when multiarch is enabled. Fix this.
19409
194102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
19411
19412 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
19413 Set _x86_64_preferred_memory_instruction for AMD processsors.
19414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19415 Set bit_Prefer_SSE_for_memop for AMD processors.
19416
13a804de
UD
194172011-03-04 Ulrich Drepper <drepper@gmail.com>
19418
19419 * libio/fmemopen.c (fmemopen): Optimize a bit.
19420
9d25c392
AS
194212011-03-03 Andreas Schwab <schwab@redhat.com>
19422
19423 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
19424
a5543c6a
RM
194252011-03-03 Roland McGrath <roland@redhat.com>
19426
19427 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
19428
012d35f7
DM
194292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
19430
7e4ba49c 19431 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
19432 __bzero_ultra1 instead of __memset_ultra1.
19433
4bff6e01
AS
194342011-02-23 Andreas Schwab <schwab@redhat.com>
19435 Ulrich Drepper <drepper@gmail.com>
19436
19437 [BZ #12509]
19438 * include/link.h (struct link_map): Add l_orig_initfini.
19439 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
19440 returning unsuccessfully.
19441 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
19442 close of a file loaded at startup, restore the original l_initfini
19443 list.
19444 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
19445 list, store the pointer.
19446 * elf/Makefile ($(objpfx)noload-mem): New rule.
19447 (noload-ENV): Define.
19448 (tests): Add $(objpfx)noload-mem.
19449 * elf/noload.c: Include <memcheck.h>.
19450 (main): Call mtrace. Close all opened handles.
19451
f2092faf
AS
194522011-02-17 Andreas Schwab <schwab@redhat.com>
19453
19454 [BZ #12454]
19455 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
19456 dependencies are missing.
19457
6c8a2e88
ST
194582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19459
f2092faf 19460 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
19461 Hurd needs munmap.
19462 * sysdeps/mach/hurd/ifreq.h: New file.
19463
84a42118
PB
194642011-01-27 Petr Baudis <pasky@suse.cz>
19465 Ulrich Drepper <drepper@gmail.com>
19466
071f805e 19467 [BZ 12445]#
84a42118
PB
19468 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
19469 to extend_alloca().
19470 * stdio-common/bug23.c: New file.
19471 * stdio-common/Makefile (tests): Add bug23.
19472
e23fe25b
AS
194732010-09-28 Andreas Schwab <schwab@redhat.com>
19474 Ulrich Drepper <drepper@gmail.com>
19475
19476 [BZ #12489]
19477 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
19478 before performing relro protection. At old place add assertion
19479 to make sure nothing changed.
19480
d3f02e10
NS
194812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
19482 Glauber de Oliveira Costa <glommer@gmail.com>
19483
19484 * elf/elf.h: Add new ARM TLS relocs.
19485
d55fd7a5
RA
194862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
19487
19488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19489 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
19490 cast from r3.
19491 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
19492 'tests' variable.
19493 * sysdeps/wordsize-64/tst-writev.c: New file.
19494
2206397e
RA
194952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
19496
19497 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
19498 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
19499 insns in _dl_start to prevent a TOC reference before relocs are
19500 resolved.
19501
e9433893
UD
195022011-02-15 Ulrich Drepper <drepper@gmail.com>
19503
19504 [BZ #12469]
19505 * Makeconfig: Remove RANLIB definition.
19506 * Makerules: Don't use RANLIB.
19507 * aclocal.m4: Remove ranlib test.
19508 * configure.in: No need to check for ranlib.
19509 * elf/rtld-Rules: Don't use RANLIB.
19510
f75286c6
ST
195112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19512
8e31c82d
ST
19513 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
19514 protection macro.
19515 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
19516 inclusion protection macro.
19517
f75286c6
ST
19518 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
19519 SIGRTMIN and SIGRTMAX and print information in that case only when
19520 SIGRTMIN is defined.
19521
c1d0e639
JJ
195222011-02-11 Jakub Jelinek <jakub@redhat.com>
19523
19524 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
19525 arginfo fn returning -1.
19526
19527 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
19528 and thousands string is zero terminated.
19529
edf9294e
AS
195302011-02-03 Andreas Schwab <schwab@redhat.com>
19531
19532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
19533 sysdeps/unix/sysv/linux/bits/socket.h.
19534
2b7e92df
ST
195352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
19536
edf9294e
AS
19537 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
19538 (__CPU_COUNT): Remove old macros.
19539 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
19540 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
19541 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
19542 (__sched_cpualloc, __sched_cpufree): Add declarations.
19543
a4c7ea7b
UD
195442011-02-05 Ulrich Drepper <drepper@gmail.com>
19545
19546 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
19547 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
19548 * nscd/aicache.c (addhstaiX): Return timeout of added value.
19549 (readdhstai): Return value of addhstaiX call.
19550 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
19551 (addgrbyX): Return value returned by cache_addgr.
19552 (readdgrbyname): Return value returned by addgrbyX.
19553 (readdgrbygid): Likewise.
19554 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
19555 (addpwbyX): Return value returned by cache_addpw.
19556 (readdpwbyname): Return value returned by addhstbyX.
19557 (readdpwbyuid): Likewise.
19558 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
19559 (addservbyX): Return value returned by cache_addserv.
19560 (readdservbyname): Return value returned by addservbyX:
19561 (readdservbyport): Likewise.
19562 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
19563 (addhstbyX): Return value returned by cache_addhst.
19564 (readdhstbyname): Return value returned by addhstbyX.
19565 (readdhstbyaddr): Likewise.
19566 (readdhstbynamev6): Likewise.
19567 (readdhstbyaddrv6): Likewise.
19568 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
19569 (readdinitgroups): Return value returned by addinitgroupsX.
19570 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
19571 (prune_cache): Keep track of timeout value of re-added entries.
19572 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
19573 * nscd/nscd.h: Adjust prototypes of readd* functions.
19574
a0bf67cc
RM
195752011-02-04 Roland McGrath <roland@redhat.com>
19576
19577 * nis/nis_server.c (nis_servstate): Use the right name for 0.
19578 (nis_stats): Likewise.
19579 * nis/nis_modify.c (nis_modify): Likewise.
19580 * nis/nis_remove.c (nis_remove): Likewise.
19581 * nis/nis_add.c (nis_add): Likewise.
19582
19583 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
19584
19585 * posix/fnmatch_loop.c: Add some consts.
19586
19587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
19588
435b95eb
L
195892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
19590
19591 [BZ #12460]
19592 * config.make.in (config-cflags-novzeroupper): Define.
19593 * configure.in: Substitute libc_cv_cc_novzeroupper.
19594 * elf/Makefile (AVX-CFLAGS): Define.
19595 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
19596 (CFLAGS-tst-auditmod4a.c): Likewise.
19597 (CFLAGS-tst-auditmod4b.c): Likewise.
19598 (CFLAGS-tst-auditmod6b.c): Likewise.
19599 (CFLAGS-tst-auditmod6c.c): Likewise.
19600 (CFLAGS-tst-auditmod7b.c): Likewise.
19601 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
19602
8517b15e
UD
196032011-02-02 Ulrich Drepper <drepper@gmail.com>
19604
19605 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
19606 function to the callback.
19607 Patch partly by Jiri Olsa <jolsa@redhat.com>.
19608
10a656fe
AS
196092011-02-02 Andreas Schwab <schwab@redhat.com>
19610
19611 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
19612 of errno.
19613
968dad0a
UD
196142011-01-19 Ulrich Drepper <drepper@gmail.com>
19615
9f94d2ea 19616 [BZ #11724]
968dad0a
UD
19617 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
19618 of constructors.
19619 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
19620 of destructors.
19621 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
19622
19623 [BZ #11724]
19624 * elf/Makefile: Add rules to build and run new test.
19625 * elf/tst-initorder.c: New file.
19626 * elf/tst-initorder.exp: New file.
19627 * elf/tst-initordera1.c: New file.
19628 * elf/tst-initordera2.c: New file.
19629 * elf/tst-initordera3.c: New file.
19630 * elf/tst-initordera4.c: New file.
19631 * elf/tst-initorderb1.c: New file.
19632 * elf/tst-initorderb2.c: New file.
19633 * elf/tst-order-a1.c: New file.
19634 * elf/tst-order-a2.c: New file.
19635 * elf/tst-order-a3.c: New file.
19636 * elf/tst-order-a4.c: New file.
19637 * elf/tst-order-b1.c: New file.
19638 * elf/tst-order-b2.c: New file.
19639 * elf/tst-order-main.c: New file.
19640 New test case by George Gensure <werkt0@gmail.com>.
19641
86e92359
UD
196422010-10-01 Andreas Schwab <schwab@redhat.com>
19643
19644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
19645 decoding ACE if AI_CANONIDN.
19646
5d5732b0
UD
196472011-01-18 Ulrich Drepper <drepper@gmail.com>
19648
19649 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
19650
a77e8cbc
UD
196512011-01-17 Ulrich Drepper <drepper@gmail.com>
19652
6392473f
UD
19653 * version.h (RELEASE): Bump for 2.13 release.
19654 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
19655
620a0529
UD
19656 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
19657
18ba70a5
UD
19658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
19659 MADV_NOHUGEPAGE.
32465c3e
UD
19660 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
19661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
19664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19666
c0dafcf1
UD
19667 * posix/getconf.c: Update copyright year.
19668 * catgets/gencat.c: Likewise.
19669 * csu/version.c: Likewise.
19670 * debug/catchsegv.sh: Likewise.
19671 * debug/xtrace.sh: Likewise.
19672 * elf/ldconfig.c: Likewise.
19673 * elf/ldd.bash.in: Likewise.
19674 * elf/sprof.c (print_version): Likewise.
19675 * iconv/iconv_prog.c: Likewise.
19676 * iconv/iconvconfig.c: Likewise.
19677 * locale/programs/locale.c: Likewise.
19678 * locale/programs/localedef.c: Likewise.
19679 * malloc/memusage.sh: Likewise.
19680 * malloc/mtrace.pl: Likewise.
19681 * nscd/nscd.c (print_version): Likewise.
19682 * nss/getent.c: Likewise.
19683
a77e8cbc
UD
19684 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
19685 PF_CAIF, and PF_ALG.
19686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19687
77e8bddf
AS
196882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
19689
1f20b93a
AS
19690 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
19691 (modules-names): Use them.
19692 (ifunc-test-modules, ifunc-pie-tests): Define.
19693 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
19694 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
19695 (test-extras): Likewise.
19696 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
19697 $(compile-command.c).
19698 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
19699 (all-built-dso): Define.
19700 (check-textrel.out, check-execstack.out): Depend on it.
19701
77e8bddf
AS
19702 * configure.in: Don't override --enable-multi-arch.
19703
bc425b33
UD
197042011-01-15 Ulrich Drepper <drepper@gmail.com>
19705
19706 [BZ #6812]
19707 * nscd/hstcache.c (tryagain): Define.
19708 (cache_addhst): Return tryagain not notfound for temporary errors.
19709 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
19710 failed.
19711
794c3ad3
UD
197122011-01-14 Ulrich Drepper <drepper@gmail.com>
19713
70181fdd
UD
19714 [BZ #10563]
19715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
19716 to make the syscall.
19717 * sysdeps/unix/sysv/linux/setgroups.c: New file.
19718
794c3ad3
UD
19719 [BZ #12378]
19720 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
19721 and fall back to matching as normal character if the string ends before
19722 the matching ']' is found. This is what POSIX requires.
19723 * posix/testfnm.c: Adjust test result.
19724 * posix/globtest.sh: Adjust test result. Add new test.
19725 * posix/tst-fnmatch.input: Likewise.
19726 * posix/tst-fnmatch2.c: Add new test.
19727
68dc9497
AS
197282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
19729
19730 * elf/Makefile (check-execstack): Revert last change. Depend on
19731 check-execstack.h.
19732 (check-execstack.h): New target.
19733 (generated): Add check-execstack.h.
19734 * elf/check-execstack.c: Include "check-execstack.h".
19735 (main): Revert last change.
19736 (handle_file): Return zero if GNU_STACK is absent and
19737 DEFAULT_STACK_PERMS doesn't include PF_X.
19738
451f001b
UD
197392011-01-13 Ulrich Drepper <drepper@gmail.com>
19740
cfa28e56
UD
19741 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
19742 in child fails because the descriptor is already closed.
8cf8ce17
UD
19743 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
19744 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
19745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 19746
1086d70d
UD
19747 [BZ #12397]
19748 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
19749 syscall.
19750
451f001b
UD
19751 [BZ #10484]
19752 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
19753 temporary buffer used to handle multi lookups locally.
a85b5cb4 19754 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 19755
08769175
UD
197562011-01-12 Ulrich Drepper <drepper@gmail.com>
19757
19758 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
19759 loader is ld.so.
19760
5e49c52e
UD
197612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
19762
19763 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
19764 alignment for SSE2.
19765
60522a5f
UD
197662011-01-12 Ulrich Drepper <drepper@gmail.com>
19767
19768 [BZ #12394]
19769 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
19770 characters. When rounding increased number of integer digits recompute
19771 number of groups.
19772 * stdio-common/tst-grouping.c: New file.
19773 * stdio-common/Makefile: Add rules to build and run tst-grouping.
19774
f257bbd7
UD
197752011-01-09 Ulrich Drepper <drepper@gmail.com>
19776
19777 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
19778 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
19779
19780 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
19781 void.
19782 * bits/select.h: Likewise.
19783
fa9c15cb
UD
197842011-01-08 Ulrich Drepper <drepper@gmail.com>
19785
19786 * po/ja.po: Update from translation team.
19787
16c2895f
DM
197882011-01-04 David S. Miller <davem@sunset.davemloft.net>
19789
19790 [BZ #11155]
19791 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
19792 implementation just like for lxstat, fxstatat, et al.
19793
2543fef2
JM
197942010-12-27 Jim Meyering <meyering@redhat.com>
19795
19796 [BZ #12348]
19797 * posix/regexec.c (build_trtable): Return failure indication upon
19798 calloc failure. Otherwise, re_search_internal could infloop on OOM.
19799
98727dbe
UD
198002010-12-25 Ulrich Drepper <drepper@gmail.com>
19801
5bd6dc5c
UD
19802 [BZ #12201]
19803 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
19804 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
19805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
19806 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
19807
97983464
UD
19808 [BZ #12207]
19809 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
19810
98727dbe
UD
19811 [BZ #12204]
19812 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
19813 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
19814
4a531bb0
L
198152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
19816
19817 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
19818 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
19819 script has SORT_BY_INIT_PRIORITY.
19820 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
19821 NO_CTORS_DTORS_SECTIONS is defined.
19822 * elf/soinit.c: Likewise.
19823 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
19824 NO_CTORS_DTORS_SECTIONS is defined.
19825 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
19826 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
19827 * sysdeps/sh/init-first.c: Likewise.
19828 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
19829
07eb4b71
UD
198302010-12-24 Ulrich Drepper <drepper@gmail.com>
19831
19832 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
19833 always use the slow path.
19834
30950a5f
RA
198352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
19836
19837 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
19838 similar rule which adds the sysdep directories to the header search in
19839 order to pick up the correct platform stackinfo.h.
19840 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
19841 perform test if it is, otherwise return successfully without testing.
19842 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
19843 DEFAULT_STACK_PERMS define in stackinfo.h.
19844 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
19845 defined in stackinfo.h.
19846 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
19847 DEFAULT_STACK_PERMS defined in stackinfo.h.
19848 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
19849 * sysdeps/ia64/stackinfo.h: Likewise.
19850 * sysdeps/s390/stackinfo.h: Likewise.
19851 * sysdeps/sh/stackinfo.h: Likewise.
19852 * sysdeps/sparc/stackinfo.h: Likewise.
19853 * sysdeps/x86_64/stackinfo.h: Likewise.
19854 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
19855 PF_X for powerpc64. Retain PF_X for powerpc32.
19856
db753e2c
UD
198572010-12-19 Ulrich Drepper <drepper@gmail.com>
19858
14b697f7
UD
19859 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
19860 accurately.
db753e2c
UD
19861 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
19862 GETDENTS_64BIT_ALIGNED.
19863
28300719
UD
198642010-12-14 Ulrich Drepper <dreper@gmail.com>
19865
14b697f7 19866 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 19867
4f197237
AS
198682010-12-10 Andreas Schwab <schwab@redhat.com>
19869
dbb0472f
AS
19870 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
19871 _GNU_SOURCE.
19872
4f197237
AS
19873 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
19874 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
19875 Remove __restrict.
19876 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
19877 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
19878
fb88ac72
UD
198792010-12-09 Ulrich Drepper <drepper@gmail.com>
19880
19881 [BZ #11655]
19882 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
19883 are initialized.
19884
42acbb92
JJ
198852010-12-09 Jakub Jelinek <jakub@redhat.com>
19886
19887 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
19888
c038d98d
UD
198892010-12-03 Ulrich Drepper <drepper@gmail.com>
19890
19891 * po/it.po: Update from translation team.
19892
3a4a2499
L
198932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
19894
19895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
19896 unused codes.
19897
1e24cf6e
UD
198982010-11-30 Ulrich Drepper <drepper@gmail.com>
19899
19900 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
19901
a7690819
AS
199022010-11-24 Andreas Schwab <schwab@redhat.com>
19903
19904 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
19905 specially.
19906 (gaih_getanswer_slice): Likewise.
19907
3bf8d1b1
JJ
199082010-10-20 Jakub Jelinek <jakub@redhat.com>
19909
19910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
19911
6db52fbb
PB
199122010-05-31 Petr Baudis <pasky@suse.cz>
19913
19914 [BZ #11149]
19915 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
19916 silently even in the chroot mode.
19917
eaca7569
UD
199182010-11-22 Ulrich Drepper <drepper@gmail.com>
19919
19920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
19921 last patch a bit. Pretty printing
19922
3056dcdb
UD
199232010-05-31 Petr Baudis <pasky@suse.cz>
19924
19925 [BZ #10085]
19926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
19927 initialization of skip_initgroups_dyn.
19928
cf7c9078
UD
199292010-11-19 Ulrich Drepper <drepper@gmail.com>
19930
19931 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
19932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
19933
a1fb5e3e
UD
199342010-11-16 Ulrich Drepper <drepper@gmail.com>
19935
19936 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
19937
3540d66b
AS
199382010-11-11 Andreas Schwab <schwab@redhat.com>
19939
19940 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
19941 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
19942 (tst-fnmatch-ENV): Set MALLOC_TRACE.
19943 ($(objpfx)tst-fnmatch-mem): New rule.
19944 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
19945 * posix/tst-fnmatch.c (main): Call mtrace.
19946
13b69574
L
199472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
19948
19949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19950 Support Intel processor model 6 and model 0x2c.
19951
da93d214
LM
199522010-11-10 Luis Machado <luisgpm@br.ibm.com>
19953
19954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
19955 signed comparison.
19956
8ca52c6e
L
199572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
19958
19959 [BZ #12205]
19960 * string/test-strncasecmp.c (check_result): New function.
19961 (do_one_test): Use it.
19962 (check1): New function.
19963 (test_main): Use it.
19964 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
19965 Support strcasecmp and strncasecmp.
19966
69da074d
UD
199672010-11-08 Ulrich Drepper <drepper@gmail.com>
19968
19969 [BZ #12194]
19970 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
19971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
19972
ff02d528
L
199732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
19974
19975 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
19976 IFUNC support.
19977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19978 memset-x86-64.
19979 * sysdeps/x86_64/multiarch/bzero.S: New file.
19980 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
19981 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
19982 * sysdeps/x86_64/multiarch/memset.S: New file.
19983 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
19984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19985 Set bit_Prefer_SSE_for_memop for Intel processors.
19986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
19987 Define.
19988 (index_Prefer_SSE_for_memop): Define.
19989 (HAS_PREFER_SSE_FOR_MEMOP): Define.
19990
344d0b54
LM
199912010-11-04 Luis Machado <luisgpm@br.ibm.com>
19992
19993 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
19994 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
19995
c0dde15b
UD
199962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
19997
19998 [BZ #12191]
19999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20000 (__x86_64_raw_data_cache_size_half): Likewise.
20001 (__x86_64_raw_shared_cache_size): Likewise.
20002 (__x86_64_raw_shared_cache_size_half): Likewise.
20003
20004 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
20005 (__x86_64_raw_data_cache_size_half): Likewise.
20006 (__x86_64_raw_shared_cache_size): Likewise.
20007 (__x86_64_raw_shared_cache_size_half): Likewise.
20008 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
20009 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
20010 and __x86_64_raw_shared_cache_size_half. Round
20011 __x86_64_data_cache_size_half, __x86_64_data_cache_size
20012 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
20013 to multiple of 256 bytes.
20014
0e516e0e
MS
200152010-11-03 Ulrich Drepper <drepper@gmail.com>
20016
20017 [BZ #12167]
20018 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
20019 of inacessible symlinks. Verify result of symlink before returning it.
20020 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20021 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
20022
0e012e87
ER
200232010-10-28 Erich Ritz <erichritz@gmail.com>
20024
20025 * math/math.h (isinf): Fix typo in comment.
20026
de0ff7bc
UD
200272010-11-01 Ulrich Drepper <drepper@gmail.com>
20028
20029 * po/da.po: Update from translation team.
20030
fa41c84d
UD
200312010-10-26 Ulrich Drepper <drepper@gmail.com>
20032
20033 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
20034 is added to the list.
20035
f0967738
AK
200362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20037 Ulrich Drepper <drepper@gmail.com>
20038
20039 * elf/dl-object.c (_dl_new_object): Don't append the new object to
20040 the global list here. Move code to...
20041 (_dl_add_to_namespace_list): ...here. New function.
20042 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
20043 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
20044 * elf/dl-load.c (lose): Don't remove the element from the list.
20045 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
20046 (_dl_map_object): Likewise.
20047
200482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
20049
20050 [BZ #12159]
20051 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
20052 into all bytes of SSE register.
20053 Patch by Richard Li <richardpku@gmail.com>.
20054
f0967738 200552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
20056
20057 [BZ #12140]
20058 * malloc/malloc.c (_int_free): Fill correct number of bytes when
20059 perturbing.
20060
d0b9e94f
MB
200612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
20062
20063 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
20064 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
20065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
20066 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
20068 submachine.
20069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
20070
8e9f92e9
AS
200712010-10-22 Andreas Schwab <schwab@redhat.com>
20072
20073 * include/dlfcn.h (__RTLD_SECURE): Define.
20074 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
20075 mode & __RTLD_SECURE instead.
20076 (open_path): Rename preloaded parameter to secure.
20077 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
20078 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
20079 * elf/dl-deps.c (openaux): Likewise.
20080 * elf/rtld.c (struct map_args): Remove is_preloaded.
20081 (map_doit): Don't use it.
20082 (dl_main): Likewise.
20083 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
20084 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
20085
bc96fbda
AS
200862010-09-09 Andreas Schwab <schwab@redhat.com>
20087
20088 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
20089 (sysd-rules-targets): Remove duplicates.
20090 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
20091 rtld-%.$o dependency.
20092
22cd1c9b
AS
200932010-10-18 Andreas Schwab <schwab@redhat.com>
20094
20095 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
20096 _dl_map_object do it.
20097
18edac48
UD
200982010-10-19 Ulrich Drepper <drepper@gmail.com>
20099
20100 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
20101 fast fma builtins, define the macros in the C99 standard.
20102 (FP_FAST_FMAF): Likewise.
20103 (FP_FAST_FMAL): Likewise.
20104 * sysdeps/x86_64/bits/mathdef.h: Likewise.
20105
20106 * bits/mathdef.h: Update copyright year.
20107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20108
d2050124
MM
201092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
20110
20111 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
20112 builtins, define the macros in the C99 standard.
20113 (FP_FAST_FMAF): Likewise.
20114 (FP_FAST_FMAL): Likewise.
20115 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
20116 multiply/add.
20117 (FP_FAST_FMAF): Likewise.
20118
475facd1
JJ
201192010-10-15 Jakub Jelinek <jakub@redhat.com>
20120
20121 [BZ #3268]
20122 * math/libm-test.inc (fma_test): Some new testcases.
20123 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
20124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
20125 y and infinite z. Do multiplication by C already in long double.
20126 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
20127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
20128 y and infinite z. Do bitwise or of inexact bit into u.d.
20129 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
20130 * sysdeps/i386/fpu/s_fmaf.S: Removed.
20131 * sysdeps/i386/fpu/s_fma.S: Removed.
20132 * sysdeps/i386/fpu/s_fmal.S: Removed.
20133
7c08a05c
JJ
201342010-10-16 Jakub Jelinek <jakub@redhat.com>
20135
20136 [BZ #3268]
20137 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
20138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
20139 computation is not scheduled after fetestexcept. Fix value
20140 of minimum denormal long double.
20141
f3f7372d
JJ
201422010-10-14 Jakub Jelinek <jakub@redhat.com>
20143
20144 [BZ #3268]
20145 * math/libm-test.inc (fma_test): Add some more tests.
20146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
20147 correctly.
20148
14d43591
AS
201492010-10-15 Andreas Schwab <schwab@redhat.com>
20150
20151 * scripts/data/localplt-s390-linux-gnu.data: New file.
20152 * scripts/data/localplt-s390x-linux-gnu.data: New file.
20153
5e908464
JJ
201542010-10-13 Jakub Jelinek <jakub@redhat.com>
20155
20156 [BZ #3268]
20157 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
20158 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
20159 instead of dbl-64.
20160 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
20161 inlines.
20162 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
20163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
20164 if one of x and y is very large and the other is subnormal.
20165 * sysdeps/s390/fpu/s_fmaf.c: New file.
20166 * sysdeps/s390/fpu/s_fma.c: New file.
20167 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
20168 * sysdeps/powerpc/fpu/s_fma.S: New file.
20169 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
20170 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
20171 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
20172
201732010-10-12 Jakub Jelinek <jakub@redhat.com>
20174
20175 [BZ #3268]
20176 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
20177 fma tests.
20178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
20179 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
20180 * sysdeps/i386/i686/multiarch/s_fma.c: Include
20181 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
20182 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
20183 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
20184 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
20185
b833d51f
UD
201862010-10-12 Ulrich Drepper <drepper@redhat.com>
20187
20188 [BZ #12078]
20189 * posix/regcomp.c (parse_branch): One more memory leak plugged.
20190 * posix/bug-regex31.input: Add test case.
20191
1751705d
UD
201922010-10-11 Ulrich Drepper <drepper@gmail.com>
20193
e9b9cbf5
UD
20194 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
20195 * posix/bug-regex31.input: New file.
20196
20197 [BZ #12078]
20198 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
20199 (parse_sub_exp): Fix last change, use postorder.
20200
ef06edbe
UD
20201 * posix/bug-regex31.c: New file.
20202 * posix/Makefile: Add rules to build and run bug-regex31.
20203
a129c80d
UD
20204 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
20205
20206 [BZ #12078]
20207 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
20208
b76b818e
UD
20209 [BZ #12108]
20210 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
20211 to have entries in sys_siglist.
20212
1751705d
UD
20213 [BZ #12093]
20214 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
20215 be NULL.
20216
9ff8d36f
JJ
202172010-10-07 Jakub Jelinek <jakub@redhat.com>
20218
20219 [BZ #3268]
20220 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
20221 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
20222 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
20223 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
20224 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
20225 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
20226 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
20227 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
20228 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
20229 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
20230 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
20231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
20232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20233 * math/ftestexcept.c (fetestexcept): Likewise.
20234 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
20235 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
20236 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
20237 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
20238 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
20239 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
20240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20241
af325969
UD
202422010-10-11 Ulrich Drepper <drepper@gmail.com>
20243
c579b202 20244 [BZ #12107]
af325969
UD
20245 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
20246 newline.
20247
67a67b95
UD
202482010-10-06 Ulrich Drepper <drepper@gmail.com>
20249
20250 * string/bug-strstr1.c: New file.
20251 * string/Makefile: Add rules to build and run bug-strstr1.
20252
5fb308bc
EB
202532010-10-05 Eric Blake <eblake@redhat.com>
20254
20255 [BZ #12092]
20256 * string/str-two-way.h (two_way_long_needle): Always clear memory
20257 when skipping input due to the shift table.
20258
45db99c7
UD
202592010-10-03 Ulrich Drepper <drepper@gmail.com>
20260
3b111893
UD
20261 [BZ #12005]
20262 * malloc/mcheck.c: Handle large requests.
20263
45db99c7
UD
20264 [BZ #12077]
20265 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
20266 for strncmp and strncasecmp.
20267 * string/stratcliff.c: Add tests for strcmp and strncmp.
20268 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
20269
cf7a1eb8
NI
202702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20271
20272 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
20273 __set_fpscr.
20274
6484ba5e
AJ
202752010-09-30 Andreas Jaeger <aj@suse.de>
20276
20277 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
20278 (CGROUP_SUPER_MAGIC): Define.
20279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20280 Handle btrfs and cgroup file systems.
20281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20282 Likewise.
20283
91c42559
LM
202842010-09-27 Luis Machado <luisgpm@br.ibm.com>
20285
20286 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
20287 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
20288
87a97932
AK
202892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20290
20291 [BZ #12067]
20292 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
20293 trying to locate the ELF header.
20294
c21cc9bc
AS
202952010-09-27 Andreas Schwab <schwab@redhat.com>
20296
20297 [BZ #11611]
20298 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
20299 Mask out sign-bit copies when constructing f_fsid.
20300
315970f6
PB
203012010-09-24 Petr Baudis <pasky@suse.cz>
20302
20303 * debug/stack_chk_fail_local.c: Add missing licence exception.
20304 * debug/warning-nop.c: Likewise.
20305
1ac7a2c7
JM
203062010-09-15 Joseph Myers <joseph@codesourcery.com>
20307
20308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
20309 implementing getdents64 using getdents syscall, set d_type if
20310 __ASSUME_GETDENTS32_D_TYPE.
20311
56801c50
AS
203122010-09-16 Andreas Schwab <schwab@redhat.com>
20313
20314 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
20315 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
20316
dda51327
UD
203172010-09-21 Ulrich Drepper <drepper@redhat.com>
20318
20319 [BZ #12037]
20320 * posix/unistd.h: Undo change of feature selection for ftruncate from
20321 2010-01-11.
20322
8ffcee4a
UD
203232010-09-20 Ulrich Drepper <drepper@redhat.com>
20324
a545ecd9 20325 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
20326 detection.
20327
e24f0a8b
AS
203282010-09-20 Andreas Schwab <schwab@redhat.com>
20329
20330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
20331 fanotify_mark.
20332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20333
7291c56f
AS
203342010-09-14 Andreas Schwab <schwab@redhat.com>
20335
20336 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
20337 variables after CHECK_SP call.
20338 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
20339
bc5fb037
AS
203402010-09-13 Andreas Schwab <schwab@redhat.com>
20341 Ulrich Drepper <drepper@redhat.com>
20342
20343 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
20344 re-relocationg ld.so.
20345 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
20346 _dl_init_paths call.
20347 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
20348 here anymore.
20349
e66e7419
UD
203502010-09-14 Ulrich Drepper <drepper@redhat.com>
20351
20352 * resolv/res_init.c (__res_vinit): Count the default server we added.
20353
c044aa75
CLT
203542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
20355 Ulrich Drepper <drepper@redhat.com>
20356
20357 [BZ #11968]
20358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20359 (____longjmp_chk): Use %ebx for saving value across system call.
20360 Add unwind info.
20361
32cf4069
AS
203622010-09-06 Andreas Schwab <schwab@redhat.com>
20363
20364 * manual/Makefile: Don't mix pattern rules with normal rules.
20365
817328ee
AS
203662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
20367
20368 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
20369 operation.
20370 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
20371 * libio/iofopncook.c (_IO_cookie_init): Likewise.
20372 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
20373 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20375 Likewise.
20376
29fddf61
UD
203772010-09-04 Ulrich Drepper <drepper@redhat.com>
20378
20379 [BZ #11979]
20380 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
20381 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
20382
0959ffc9
UD
203832010-09-02 Ulrich Drepper <drepper@redhat.com>
20384
20385 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
20386 * sysdeps/x86_64/addmul_1.S: Likewise.
20387 * sysdeps/x86_64/lshift.S: Likewise.
20388 * sysdeps/x86_64/mul_1.S: Likewise.
20389 * sysdeps/x86_64/rshift.S: Likewise.
20390 * sysdeps/x86_64/sub_n.S: Likewise.
20391 * sysdeps/x86_64/submul_1.S: Likewise.
20392
ece29840
ST
203932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
20394
0959ffc9
UD
20395 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
20396 Define __sched_param instead of SCHED_* and sched_param when
ece29840 20397 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 20398 * bits/sched.h [__need_schedparam]
ece29840 20399 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
20400 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
20401 (__defined_schedparam): Define to 1.
ece29840
ST
20402 (__sched_param): New structure, identical to sched_param.
20403 (__need_schedparam): Undefine.
20404
e53a31fe
MF
204052010-08-31 Mike Frysinger <vapier@gentoo.org>
20406
fdc0c10d
MF
20407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
20408 (epoll_create1): Declare.
20409
e53a31fe
MF
20410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
20411
a726d796
AS
204122010-08-31 Andreas Schwab <schwab@redhat.com>
20413
20414 [BZ #7066]
20415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
20416 shifting retval into place.
20417
2f3e3dc7
UD
204182010-09-01 Ulrich Drepper <drepper@redhat.com>
20419
f2933da9
UD
20420 * nis/rpcsvc/nis.h: Update copyright notice.
20421 * nis/rpcsvc/nis.x: Likewise.
20422 * nis/rpcsvc/nis_callback.h: Likewise.
20423 * nis/rpcsvc/nis_callback.x: Likewise.
20424 * nis/rpcsvc/nis_object.x: Likewise.
20425 * nis/rpcsvc/nis_tags.h: Likewise.
20426 * nis/rpcsvc/yp.h: Likewise.
20427 * nis/rpcsvc/yp.x: Likewise.
20428 * nis/rpcsvc/ypupd.h: Likewise.
20429 * nis/yp_xdr.c: Likewise.
20430 * nis/ypupdate_xdr.c: Likewise.
20431
2f3e3dc7
UD
20432 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
20433 mainly the body of pmap_getport. Add parameters to specify timeouts.
20434 (pmap_getport): Use __libc_rpc_getport.
20435 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
20436 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
20437 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
20438
f3dcc2f9
AS
204392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
20440
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
20442 fanotify_mark.
20443
6d34eb5b
RM
204442010-08-27 Roland McGrath <roland@redhat.com>
20445
20446 * sysdeps/i386/i686/multiarch/Makefile
20447 (CFLAGS-varshift.c): New variable.
20448
9ea3de11
UD
204492010-08-27 Ulrich Drepper <drepper@redhat.com>
20450
c96d23fc
UD
20451 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
20452 * sysdeps/i386/i686/multiarch/varshift.c: New file.
20453
9ea3de11
UD
20454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
20455
20456 * sysdeps/x86_64/strlen.S: Minimal code improvement.
20457
623aac7f
L
204582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
20459
20460 * sysdeps/x86_64/strlen.S: Unroll the loop.
20461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20462 strlen-sse2 strlen-sse2-bsf.
20463 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
20464 __strlen_no_bsf if bit_Slow_BSF is set.
20465 (__strlen_sse42): Removed.
20466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
20467 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
20468
8b2b7715
RM
204692010-08-25 Roland McGrath <roland@redhat.com>
20470
20471 * sysdeps/x86_64/multiarch/varshift.S: File removed.
20472 * sysdeps/x86_64/multiarch/varshift.c: New file.
20473 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
20474 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
20475 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
20476 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20477
e73015f2
L
204782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
20479
20480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20481 strlen-sse2 strlen-sse2-bsf.
20482 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
20483 __strlen_sse2_bsf if bit_Slow_BSF is unset.
20484 (__strlen_sse2): Removed.
20485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
20486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
20487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20488 bit_Slow_BSF for Atom.
20489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
20490 (index_Slow_BSF): Define.
20491 (HAS_SLOW_BSF): Define.
20492
df24a73e
UD
204932010-08-25 Ulrich Drepper <drepper@redhat.com>
20494
20495 [BZ #10851]
20496 * resolv/res_init.c (__res_vinit): When no server address at all
20497 is given default to loopback.
20498
f2ac4868
RM
204992010-08-24 Roland McGrath <roland@redhat.com>
20500
09055553
RM
20501 * configure.in: Remove config-name.h generation.
20502 * configure: Regenerated.
20503 * config-name.in: File removed.
20504 * scripts/config-uname.sh: New file.
20505 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
20506 ($(objdir)config-name.h): New target.
20507
f2ac4868
RM
20508 * sunrpc/rpc_parse.h: Avoid nested comment.
20509
73f27d5e
RH
205102010-08-24 Richard Henderson <rth@redhat.com>
20511 Ulrich Drepper <drepper@redhat.com>
20512 H.J. Lu <hongjiu.lu@intel.com>
20513
20514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
20515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
20516 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
20517 Replace _mm_srli_si128 with __m128i_shift_right. Replace
20518 _mm_alignr_epi8 with _mm_loadu_si128.
20519 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
20520 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
20521 (__m128i_shift_right): Removed.
20522 * sysdeps/i386/i686/multiarch/varshift.h: New file.
20523 * sysdeps/i386/i686/multiarch/varshift.S: New file.
20524 * sysdeps/x86_64/multiarch/varshift.h: New file.
20525 * sysdeps/x86_64/multiarch/varshift.S: New file.
20526
84b9230c
MF
205272010-08-21 Mike Frysinger <vapier@gentoo.org>
20528
20529 * configure.in: Move assembler checks to before sysdep dir checking.
20530
9bbd0ddc
PB
205312010-08-20 Petr Baudis <pasky@suse.cz>
20532
20533 * LICENSES: Sync the sunrpc license.
20534
9da4bb31
UD
205352010-08-19 Ulrich Drepper <drepper@redhat.com>
20536
a7ab6ec8
UD
20537 * sunrpc/auth_des.c: Update copyright notice once again.
20538 * sunrpc/auth_none.c: Likewise.
20539 * sunrpc/auth_unix.c: Likewise.
20540 * sunrpc/authdes_prot.c: Likewise.
20541 * sunrpc/authuxprot.c: Likewise.
20542 * sunrpc/bindrsvprt.c: Likewise.
20543 * sunrpc/clnt_gen.c: Likewise.
20544 * sunrpc/clnt_perr.c: Likewise.
20545 * sunrpc/clnt_raw.c: Likewise.
20546 * sunrpc/clnt_simp.c: Likewise.
20547 * sunrpc/clnt_tcp.c: Likewise.
20548 * sunrpc/clnt_udp.c: Likewise.
20549 * sunrpc/clnt_unix.c: Likewise.
20550 * sunrpc/des_crypt.c: Likewise.
20551 * sunrpc/des_soft.c: Likewise.
20552 * sunrpc/get_myaddr.c: Likewise.
20553 * sunrpc/getrpcport.c: Likewise.
20554 * sunrpc/key_call.c: Likewise.
20555 * sunrpc/key_prot.c: Likewise.
20556 * sunrpc/openchild.c: Likewise.
20557 * sunrpc/pm_getmaps.c: Likewise.
20558 * sunrpc/pm_getport.c: Likewise.
20559 * sunrpc/pmap_clnt.c: Likewise.
20560 * sunrpc/pmap_prot.c: Likewise.
20561 * sunrpc/pmap_prot2.c: Likewise.
20562 * sunrpc/pmap_rmt.c: Likewise.
20563 * sunrpc/rpc/auth.h: Likewise.
20564 * sunrpc/rpc/auth_unix.h: Likewise.
20565 * sunrpc/rpc/clnt.h: Likewise.
20566 * sunrpc/rpc/des_crypt.h: Likewise.
20567 * sunrpc/rpc/key_prot.h: Likewise.
20568 * sunrpc/rpc/netdb.h: Likewise.
20569 * sunrpc/rpc/pmap_clnt.h: Likewise.
20570 * sunrpc/rpc/pmap_prot.h: Likewise.
20571 * sunrpc/rpc/pmap_rmt.h: Likewise.
20572 * sunrpc/rpc/rpc.h: Likewise.
20573 * sunrpc/rpc/rpc_des.h: Likewise.
20574 * sunrpc/rpc/rpc_msg.h: Likewise.
20575 * sunrpc/rpc/svc.h: Likewise.
20576 * sunrpc/rpc/svc_auth.h: Likewise.
20577 * sunrpc/rpc/types.h: Likewise.
20578 * sunrpc/rpc/xdr.h: Likewise.
20579 * sunrpc/rpc_clntout.c: Likewise.
20580 * sunrpc/rpc_cmsg.c: Likewise.
20581 * sunrpc/rpc_common.c: Likewise.
20582 * sunrpc/rpc_cout.c: Likewise.
20583 * sunrpc/rpc_dtable.c: Likewise.
20584 * sunrpc/rpc_hout.c: Likewise.
20585 * sunrpc/rpc_main.c: Likewise.
20586 * sunrpc/rpc_parse.c: Likewise.
20587 * sunrpc/rpc_parse.h: Likewise.
20588 * sunrpc/rpc_prot.c: Likewise.
20589 * sunrpc/rpc_sample.c: Likewise.
20590 * sunrpc/rpc_scan.c: Likewise.
20591 * sunrpc/rpc_scan.h: Likewise.
20592 * sunrpc/rpc_svcout.c: Likewise.
20593 * sunrpc/rpc_tblout.c: Likewise.
20594 * sunrpc/rpc_util.c: Likewise.
20595 * sunrpc/rpc_util.h: Likewise.
20596 * sunrpc/rpcinfo.c: Likewise.
20597 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
20598 * sunrpc/rpcsvc/key_prot.x: Likewise.
20599 * sunrpc/rpcsvc/klm_prot.x: Likewise.
20600 * sunrpc/rpcsvc/mount.x: Likewise.
20601 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
20602 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
20603 * sunrpc/rpcsvc/rex.x: Likewise.
20604 * sunrpc/rpcsvc/rstat.x: Likewise.
20605 * sunrpc/rpcsvc/rusers.x: Likewise.
20606 * sunrpc/rpcsvc/sm_inter.x: Likewise.
20607 * sunrpc/rpcsvc/spray.x: Likewise.
20608 * sunrpc/rpcsvc/yppasswd.x: Likewise.
20609 * sunrpc/rtime.c: Likewise.
20610 * sunrpc/svc.c: Likewise.
20611 * sunrpc/svc_auth.c: Likewise.
20612 * sunrpc/svc_authux.c: Likewise.
20613 * sunrpc/svc_raw.c: Likewise.
20614 * sunrpc/svc_run.c: Likewise.
20615 * sunrpc/svc_simple.c: Likewise.
20616 * sunrpc/svc_tcp.c: Likewise.
20617 * sunrpc/svc_udp.c: Likewise.
20618 * sunrpc/svc_unix.c: Likewise.
20619 * sunrpc/svcauth_des.c: Likewise.
20620 * sunrpc/xcrypt.c: Likewise.
20621 * sunrpc/xdr.c: Likewise.
20622 * sunrpc/xdr_array.c: Likewise.
20623 * sunrpc/xdr_float.c: Likewise.
20624 * sunrpc/xdr_mem.c: Likewise.
20625 * sunrpc/xdr_rec.c: Likewise.
20626 * sunrpc/xdr_ref.c: Likewise.
20627 * sunrpc/xdr_sizeof.c: Likewise.
20628 * sunrpc/xdr_stdio.c: Likewise.
20629
9da4bb31
UD
20630 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
20631 handling.
20632
bdaa77bc
AS
206332010-08-19 Andreas Schwab <schwab@redhat.com>
20634
20635 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
20636
fe2f79db
LM
206372010-08-19 Luis Machado <luisgpm@br.ibm.com>
20638
20639 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
20640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
20641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
20642 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
20643 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
20644 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
20645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
20646 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
20647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
20648 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
20649 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
20650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
20651 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
20652 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
20653
b9b42ee0
AB
206542010-07-26 Anton Blanchard <anton@samba.org>
20655
20656 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
20657 * malloc/arena.c (heap_trim): Likewise.
20658
1c06ba31
UD
206592010-08-16 Ulrich Drepper <drepper@redhat.com>
20660
20661 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
20662 here. Not...
20663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
20664 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
20665
f8392f40
L
206662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
20667
20668 * sysdeps/i386/elf/Makefile: New file.
20669
3162f12e
AS
206702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20671
20672 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
20673 from fanotify_init.
20674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
20675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20676
28c90b2c
UD
206772010-08-15 Ulrich Drepper <drepper@redhat.com>
20678
20679 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
20680 of strncasecmp_l.
1feccb6c 20681 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 20682
ca6bb004
UD
206832010-08-14 Ulrich Drepper <drepper@redhat.com>
20684
e9f82e0d
UD
20685 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20686 strncase_l-nonascii.
20687 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20688 Add strncase_l-ssse3.
20689 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
20690 * sysdeps/x86_64/strcmp.S: Likewise.
20691 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
20692 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
20693 * sysdeps/x86_64/strncase.S: New file.
20694 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
20695 * sysdeps/x86_64/strncase_l.S: New file.
20696 * string/Makefile (strop-tests): Add strncasecmp.
20697 * string/test-strncasecmp.c: New file.
20698
20699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
20700 warning.
20701
ca6bb004
UD
20702 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
20703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
20704
052fa7b3
AS
207052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
20706
20707 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
20708
962dba78
UD
207092010-08-12 Ulrich Drepper <drepper@redhat.com>
20710
20711 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
20712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
20713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
20714
bebff237
AM
207152010-05-01 Alan Modra <amodra@gmail.com>
20716
20717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
20718 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
20719 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
20720 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
20721 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
20722 tidying. Don't tail-call __sigjmp_save for static lib.
20723 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
20724 save location.
20725 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
20726 (CALL_MCOUNT): Add eh info, and nop after bl.
20727 (TAIL_CALL_SYSCALL_ERROR): New macro.
20728 (PSEUDO_RET): Use it.
20729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20730 Correct save location of integer regs and cr.
20731 (_dl_profile_resolve): Correct cr save location. Delete nops
20732 after bl when SHARED. Reduce cfi size a little by better
20733 placement of cfi directives.
20734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
20735 make a stack frame. Instead use parm save area as a temp.
20736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
20737 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
20738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20739 Don't make a stack frame for parent, use parm save area.
20740 Increase child stack frame to 112 bytes. Don't save unused reg,
20741 and adjust reg usage. Set up cfi on error recovery and
20742 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
20743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20744 (__makecontext): Add dummy nop after jump to exit.
20745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
20746 Use correct parm save area and cr save, reduce stack frame.
20747 Correct cfi for possible PSEUDO_RET frame setup.
20748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
20749 Branch to local label emitted by PSEUDO_RET rather than
20750 __syscall_error.
20751
02637374
AS
207522010-08-12 Andreas Schwab <schwab@redhat.com>
20753
20754 [BZ #11904]
20755 * locale/programs/locale.c (print_assignment): New function.
20756 (show_locale_vars): Use it.
20757
c3e2f19b
UD
207582010-08-11 Ulrich Drepper <drepper@redhat.com>
20759
3cdaa6ad
UD
20760 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
20761 field.
20762 (struct statfs64): Likewise.
20763 (_STATFS_F_FLAGS): Define.
20764 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
20765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20766 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
20767 (ST_VALID): Define locally.
20768 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
20769 __statvfs_getflags, use the provided value.
20770 * sysdeps/unix/sysv/linux/kernel-features.h: Define
20771 __ASSUME_STATFS_F_FLAGS.
20772
754f7da3
UD
20773 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
20774
10b3bedc
UD
20775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
20776 Add sys/fanotify.h.
20777 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
20778 fanotify_mask for GLIBC_2.13.
20779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
20780 fanotify_init and fanotify_mark.
20781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
20782 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
20783
c08fb0d7
UD
20784 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
20785 Add prlimit.
20786 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
20787 prlimit64 for GLIBC_2.13.
20788 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
20789 prlimit64.
20790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
20791 syscall.
20792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
20793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
20794 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
20795 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
20796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
20797 add prlimit alias.
20798 * sysdeps/unix/sysv/linux/prlimit.c: New file.
20799
15bac72b
UD
20800 [BZ #11903]
20801 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
20802 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
20803
c3e2f19b
UD
20804 * nss/Makefile: Add rules to build and run tst-nss-test1.
20805 * shlib-versions: Add entry for libnss_test1.
20806 * nss/nss_test1.c: New file.
20807 * nss/tst-nss-test1.c: New file.
20808
20809 * nss/nsswitch.c (__nss_database_custom): Define new variable.
20810 (__nss_configure_lookup): Set appropriate entry in
20811 __nss_configure_lookup to true.
20812 * nss/nsswitch.h: Define enum with indeces of databases in
20813 databases and __nss_database_custom arrays. Declare
20814 __nss_database_custom.
20815 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
20816 to avoid using nscd when custom rules are installed.
20817 * nss/getXXbyYY_r.c: Likewise.
20818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20819
20820 * nss/nss_files/files-parse.c: Whitespace fixes.
20821
f15ce4d8
UD
208222010-08-09 Ulrich Drepper <drepper@redhat.com>
20823
20824 [BZ #11883]
20825 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
20826 * posix/fnmatch_loop.c: Likewise.
20827
d22e4cc9
AK
208282010-07-17 Andi Kleen <ak@linux.intel.com>
20829
20830 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
20831 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
20832 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
20833 * Versions.def [GLIBC_2.13]: Add.
20834
805bc17d
UD
208352010-08-06 Ulrich Drepper <drepper@redhat.com>
20836
20837 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20838 Also fail if tpwd after pwuid call is NULL.
20839
5a42321d
ST
208402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
20841
20842 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
20843 when converting to ms.
20844
fd3ebeda
ST
208452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20846
20847 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
20848 EOPNOTSUPP errors with ENOTTY.
20849 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
20850 EOPNOTSUPP errors with ENOTTY.
20851
73507d3a
UD
208522010-07-31 Ulrich Drepper <drepper@redhat.com>
20853
20854 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
20855 Add strcasecmp_l-ssse3.
20856 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
20857 strcasecmp.
20858 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
20859 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
20860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
20861
fe36dd02
UD
208622010-07-30 Ulrich Drepper <drepper@redhat.com>
20863
66f6765a
UD
20864 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
20865
42e08a54
UD
20866 * string/Makefile (strop-tests): Add strcasecmp.
20867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
20868 strcasecmp_l-nonascii.
20869 (gen-as-const-headers): Add locale-defines.sym.
20870 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
20871 * sysdeps/x86_64/strcasecmp.S: New file.
20872 * sysdeps/x86_64/strcasecmp_l.S: New file.
20873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
20874 * sysdeps/x86_64/locale-defines.sym: New file.
20875 * string/test-strcasecmp.c: New file.
20876
fe36dd02
UD
20877 * string/test-strcasestr.c: Test both ends of the range of characters.
20878 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
20879
48cbc0d6
RM
208802010-07-29 Roland McGrath <roland@redhat.com>
20881
76e6d6bc 20882 [BZ #11856]
48cbc0d6
RM
20883 * manual/locale.texi (Yes-or-No Questions): Fix example code.
20884
880113d9
UD
208852010-07-27 Ulrich Drepper <drepper@redhat.com>
20886
20887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
20888 for ld.so.
20889
deb9cabb
AS
208902010-07-27 Andreas Schwab <schwab@redhat.com>
20891
20892 * manual/memory.texi (Malloc Tunable Parameters): Document
20893 M_PERTURB.
20894
1c7570ff
RM
208952010-07-26 Roland McGrath <roland@redhat.com>
20896
20897 [BZ #11840]
20898 * configure.in (-fgnu89-inline check): Set and substitute
20899 gnu89_inline, not libc_cv_gnu89_inline.
20900 * configure: Regenerated.
20901 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
20902
24fb0f88
UD
209032010-07-26 Ulrich Drepper <drepper@redhat.com>
20904
20905 * string/test-strnlen.c: New file.
20906 * string/Makefile (strop-tests): Add strnlen.
20907 * string/tester.c (test_strnlen): Add a few more test cases.
20908 * string/tst-strlen.c: Better error reporting.
20909
20910 * sysdeps/x86_64/strnlen.S: New file.
20911
8e96b93a
UD
209122010-07-24 Ulrich Drepper <drepper@redhat.com>
20913
20914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
20915 lower-latency instructions.
20916
dbc676d4
UD
209172010-07-23 Ulrich Drepper <drepper@redhat.com>
20918
20919 * string/test-strcasestr.c: New file.
20920 * string/test-strstr.c: New file.
20921 * string/Makefile (strop-tests): Add strstr and strcasestr.
20922 * string/str-two-way.h: Don't undefine MAX.
20923 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
20924
f6a31e0e
AS
209252010-07-21 Andreas Schwab <schwab@redhat.com>
20926
20927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20928 strcasestr-nonascii.
20929 (CFLAGS-strcasestr-nonascii.c): Define.
20930 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
20931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
20932 Remove unused attribute.
20933
5dbc3b6c
RM
209342010-07-20 Roland McGrath <roland@redhat.com>
20935
20936 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
20937 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
20938 ld.so.cache was broken. With it, there is no way to disable dsocaps
20939 like LD_HWCAP_MASK can disable hwcaps.
20940
23d101d8
EPM
209412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
20942
20943 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
20944
cc9f2e47
UD
209452010-07-16 Ulrich Drepper <drepper@redhat.com>
20946
20947 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
20948 call in strcasestr.
20949 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
20950 __strcasestr_sse42_nonascii.
20951 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
20952 strcasestr-nonascii.c.
20953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
20954
77c1b069
LM
209552010-06-15 Luis Machado <luisgpm@br.ibm.com>
20956
20957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
20958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
20959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
20960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
20961
440566c3
UD
209622010-07-09 Ulrich Drepper <drepper@redhat.com>
20963
20964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
20965 fcntl.
20966
5be9d05d
AS
209672010-07-06 Andreas Schwab <schwab@redhat.com>
20968
c30b7ee2 20969 [BZ #11577]
5be9d05d
AS
20970 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
20971 dl_signal_cerror.
20972
8a492a67
UD
209732010-07-06 Ulrich Drepper <drepper@redhat.com>
20974
20975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
20976 _PC_PIPE_BUF using F_GETPIPE_SZ.
20977
713df3d5
RM
209782010-07-05 Roland McGrath <roland@redhat.com>
20979
20980 * manual/arith.texi (Rounding Functions): Fix rint description
20981 implicit in round description.
20982
702e8f14
UD
209832010-07-02 Ulrich Drepper <drepper@redhat.com>
20984
20985 * elf/Makefile: Fix linking for a few tests to make recent linker
20986 happy.
20987
52ed8be9
AS
209882010-06-30 Andreas Schwab <schwab@redhat.com>
20989
20990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20991 $(common-objpfx)libc_nonshared.a.
20992
f47c9a11
LM
209932010-06-21 Luis Machado <luisgpm@br.ibm.com>
20994
20995 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
20996 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
20997 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
20998 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
20999 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
21000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
21001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21002 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
21004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
21005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
21008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
21010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
21011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
21012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
21013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
21014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
21015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
21016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
21017 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
21018 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
21019 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
21020 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
21021 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
21022 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
21023 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
21024 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
21025 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
21026 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
21027 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
21028 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
21030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
21031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
21032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
21033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
21034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
21035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
21036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
21038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
21039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
21040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
21041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
21042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
21043
6fb8cbcb
L
210442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
21045
21046 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
21047 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
21048 * string/memmove.c (memmove): Renamed to ...
21049 (MEMMOVE): ...this. Default to memmove.
21050 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
21051 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
21052 (END_CHK): Define.
21053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21054 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
21055 mempcpy-ssse3-back memmove-ssse3-back.
21056 * sysdeps/x86_64/multiarch/bcopy.S: New file .
21057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
21058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
21059 * sysdeps/x86_64/multiarch/memcpy.S: New file.
21060 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
21061 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
21062 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
21063 * sysdeps/x86_64/multiarch/memmove.c: New file.
21064 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
21065 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
21066 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
21067 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
21068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
21069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
21070 Define.
21071 (index_Fast_Copy_Backward): Define.
21072 (HAS_ARCH_FEATURE): Define.
21073 (HAS_FAST_REP_STRING): Define.
21074 (HAS_FAST_COPY_BACKWARD): Define.
21075
4e733bac 210762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
21077
21078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21079 Restore proper fallback handling.
21080
63c4ed22
UD
210812010-06-19 Ulrich Drepper <drepper@redhat.com>
21082
ac2b484c
UD
21083 [BZ #11701]
21084 * posix/group_member.c (__group_member): Correct checking loop.
21085
63c4ed22
UD
21086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
21087 OOM in getpwuid_r correctly. Return error number when the caller
21088 should return, otherwise -1.
21089 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
21090 call returning > 0 value.
21091 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
21092
765ade4b
AS
210932010-06-07 Andreas Schwab <schwab@redhat.com>
21094
21095 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
21096 libc_nonshared.a from targets in modules-names.
21097
80da2e09
KS
210982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
21099
21100 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
21101 requires it.
21102
158db122
LM
211032010-06-10 Luis Machado <luisgpm@br.ibm.com>
21104
21105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
21106 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
21107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
21108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
21109
caa78cf8
AS
211102010-06-02 Andreas Schwab <schwab@redhat.com>
21111
21112 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
21113
b2ef2c01
UD
211142010-06-14 Ulrich Drepper <drepper@redhat.com>
21115
21116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
21117 and F_GETPIPE_SZ.
21118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
21124
fbd643b6
RM
211252010-06-14 Roland McGrath <roland@redhat.com>
21126
21127 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
21128
f32f2869
JJ
211292010-06-07 Jakub Jelinek <jakub@redhat.com>
21130
21131 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
21132 __REDIRECT followed by __THROW.
21133 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
21134 * posix/getopt.h (getopt): Likewise.
21135
2a50c078
EPM
211362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
21137
21138 * hurd/lookup-at.c (__file_name_lookup_at): Accept
21139 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
21140 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
21141 in AT_FLAGS.
21142 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
21143 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
21144
eb5ad2eb
LM
211452010-05-28 Luis Machado <luisgpm@br.ibm.com>
21146
21147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
21148
3c88fe1e
L
211492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
21150
21151 [BZ #11640]
21152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21153 Properly check family and model.
21154
d2f73151
TY
211552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
21156
21157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
21158
ebd2e13d
LM
211592010-05-24 Luis Machado <luisgpm@br.ibm.com>
21160
21161 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
21162
b32b8b45
UD
211632010-05-21 Ulrich Drepper <drepper@redhat.com>
21164
21165 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
21166 symbol reference.
21167
9acbe24d
AS
211682010-05-19 Andreas Schwab <schwab@redhat.com>
21169
21170 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
21171 symbol reference.
21172
f0ccf6ea
AS
211732010-05-21 Andreas Schwab <schwab@redhat.com>
21174
3d04ff3a
AS
21175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
21176 and internal_recvmmsg.
21177 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
21178 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
21179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
21180 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
21181
f0ccf6ea
AS
21182 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
21183 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21184 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21185
5b08ac57
AS
211862010-05-20 Andreas Schwab <schwab@redhat.com>
21187
21188 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
21189
4828935d
LM
211902010-05-17 Luis Machado <luisgpm@br.ibm.com>
21191
21192 POWER7 optimizations.
21193 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
21194 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
21195
373d545e
UD
211962010-05-19 Ulrich Drepper <drepper@redhat.com>
21197
21198 * version.h: Update for 2.13 development version.
21199
21a2b1ae
AS
212002010-05-12 Andrew Stubbs <ams@codesourcery.com>
21201
21202 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
21203 exceptions. Return 0.
21204
3f7dcb2b
RM
212052010-05-07 Roland McGrath <roland@redhat.com>
21206
21207 * elf/ldconfig.c (main): Add a const.
21208
5f24d53a 212092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 21210
a160f8d8
UD
21211 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
21212 (args_options): Add no-idn option.
21213 (ahosts_keys_int): Add idn_flags to ai_flags.
21214 (parse_option): Handle 'i' option to clear idn_flags.
21215
5f24d53a
UD
21216 * malloc/malloc.c (_int_free): Possible race in the most recently
21217 added check. Only act on the data if no current modification
21218 happened.
265bb1ce
UD
21219
21220See ChangeLog.17 for earlier changes.
This page took 2.619859 seconds and 5 git commands to generate.