]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove unmaintained and unused localedata/CHECKSUMS
[thirdparty/glibc.git] / ChangeLog
CommitLineData
e782a927
JM
12013-02-01 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #13550]
4 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
5 (BOUNDED_1): Remove macro.
6 * debug/backtrace.c: Don't include <bp-checks.h>.
7 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8 (__backtrace): Likewise.
9 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10 <bp-checks.h>.
11 (__backtrace): Don't use BOUNDED_1.
12 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13 <bp-checks.h>.
14 (__backtrace): Don't use BOUNDED_1.
15 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
16 (__backtrace): Don't use BOUNDED_1.
17 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18 (shmat): Don't use BOUNDED_N.
19
8cf28c5e
JM
202013-01-31 Joseph Myers <joseph@codesourcery.com>
21
3a7ac8a0
JM
22 [BZ #13550]
23 * sysdeps/generic/bp-start.h: Remove file.
24 * csu/libc-start.c: Don't include <bp-start.h>.
25 (LIBC_START_MAIN): Set up __environ directly instead of using
26 INIT_ARGV_and_ENVIRON.
27 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28 <bp-start.h>.
29
f3499f95
JM
30 [BZ #13550]
31 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32 definitions.
33 (CHECK_FCNTL): Likewise.
34 (CHECK_N_PAGES): Likewise.
35
32a45bea
JM
36 [BZ #13550]
37 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
38 definitions.
39 (CHECK_SIGSET_NULL_OK): Likewise.
40 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
41 <bp-checks.h>.
42 (sigpending): Don't use CHECK_SIGSET.
43 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
44 <bp-checks.h>.
45 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
47 <bp-checks.h>.
48 (do_sigsuspend): Don't use CHECK_SIGSET.
49 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50 use CHECK_SIGSET.
51 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
52 (do_sigwait): Don't use CHECK_SIGSET.
53 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54 use CHECK_SIGSET.
55 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56 include <bp-checks.h>.
57 (sigpending): Don't use CHECK_SIGSET.
58 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
59 include <bp-checks.h>.
60 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
62 <bp-checks.h>.
63 (sigpending): Don't use CHECK_SIGSET.
64 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65 <bp-checks.h>.
66 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
67
2e8a5c8c
JM
68 [BZ #13550]
69 * sysdeps/generic/bp-semctl.h: Remove file.
70 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71 <bp-checks.h> and <bp-semctl.h>.
72 (__old_semctl): Don't use CHECK_SEMCTL.
73 (__new_semctl): Likewise.
74 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
75 and <bp-semctl.h>.
76 (__old_semctl): Don't use CHECK_SEMCTL.
77 (__new_semctl): Likewise.
78 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
79 <bp-checks.h> and <bp-semctl.h>.
80 (__old_semctl): Don't use CHECK_SEMCTL.
81 (__new_semctl): Likewise.
82 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
83 <bp-checks.h> and <bp-semctl.h>.
84 (semctl): Don't use CHECK_SEMCTL.
85
c2d54929
JM
86 [BZ #13550]
87 * Makerules (elide-bp-thunks): Remove variable.
88 (elide-routines.oS): Don't use $(elide-bp-thunks).
89 (elide-routines.os): Likewise.
90 (elide-routines.o): Likewise.
91 (elide-routines.op): Likewise.
92 (elide-routines.og): Likewise.
93 (objects): Don't use $(bp-thunks).
94 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
95 include.
96 (common-generated): Do not add s-proto-bp.d.
97 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
98 (int): Likewise.
99 (typ): Likewise.
100 Do not generate makefile rules for bounded-pointer thunks.
101 * sysdeps/generic/bp-thunks.h: Remove file.
102 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
103 * sysdeps/unix/s-proto-bp.S: Likewise.
104
8cf28c5e
JM
105 [BZ #15062]
106 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
107 parts of result separately when argument is not close to line from
108 -i to i and one part of argument is small.
109 * math/k_casinhf.c (__kernel_casinhf): Likewise.
110 * math/k_casinhl.c (__kernel_casinhl): Likewise.
111 * math/libm-test.inc (cacos_test): Add more tests.
112 (casin_test): Likewise.
113 (casinh_test): Likewise.
114 * sysdeps/i386/fpu/libm-test-ulps: Update.
115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
116
c4e33b8d
DM
1172013-01-31 David S. Miller <davem@davemloft.net>
118
119 * po/de.po: Update from translation team.
120
3b60b421
MK
1212013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
122
123 * time/tzfile.c: Include stdint.h for SIZE_MAX.
124
bb931195
TS
1252013-01-25 Thomas Schwinge <thomas@codesourcery.com>
126
b5a5da23
TS
127 * configure.in (_AC_PROG_CC_C89): New definition.
128 * configure: Regenerate.
129
bb931195
TS
130 * configure.in (AC_PROG_CPP): New definition.
131 * configure: Regenerate.
132
8c53a12c
JM
1332013-01-23 Joseph Myers <joseph@codesourcery.com>
134
135 * debug/tst-backtrace.h: New file.
136 * debug/tst-backtrace2.c: Include tst-backtrace.h.
137 (ret): Remove variable.
138 (x): Likewise.
139 (FAIL): Remove macro.
140 (NO_INLINE): Likewise.
141 (fn1): Use match function instead of strstr.
142 * debug/tst-backtrace3.c: Include tst-backtrace.h.
143 (ret): Remove variable.
144 (x): Likewise.
145 (FAIL): Remove macro.
146 (NO_INLINE): Likewise.
147 (fn): Use match function instead of strstr.
148 * debug/tst-backtrace4.c: Include tst-backtrace.h.
149 (ret): Remove variable.
150 (x): Likewise.
151 (FAIL): Remove macro.
152 (NO_INLINE): Likewise.
153 (handle_signal): Use match function instead of strstr.
154 * debug/tst-backtrace5.c: Include tst-backtrace.h.
155 (ret): Remove variable.
156 (x): Likewise.
157 (FAIL): Remove macro.
158 (NO_INLINE): Likewise.
159 (handle_signal): Use match function instead of strstr.
160
4858fa2a
RM
1612013-01-23 Roland McGrath <roland@hack.frob.com>
162
163 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
164
bae8e7f5
DM
1652013-01-23 David S. Miller <davem@davemloft.net>
166
167 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
168 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
169 argument of CAS if possible.
170 * sysdeps/sparc/sparc64/bits/atomic.h
171 (__arch_compare_and_exchange_val_32_acq): Likewise.
172 (__arch_compare_and_exchange_val_64_acq): Likewise.
173
9cbbc4ae
PT
1742013-01-23 Pino Toscano <toscano.pino@tiscali.it>
175
176 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
177 * sysdeps/posix/ulimit.c: ... this.
92a601b8 178 Include <limits.h>.
67b3f58c 179 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 180
5655a0b5
AC
1812013-01-23 Adam Conrad <adconrad@0c3.net>
182
183 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
184 (LDFLAGS-tst-array5): Likewise.
185
052aff95
JM
1862013-01-23 Joseph Myers <joseph@codesourcery.com>
187
188 [BZ #15036]
189 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
190 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
191 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
192 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
193
7c1e01aa
DM
1942013-01-21 David S. Miller <davem@davemloft.net>
195
196 * sysdeps/sparc/backtrace.c: New file.
197 * sysdeps/sparc/sparc32/backtrace.h: New file.
198 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
199 * sysdeps/sparc/sparc64/backtrace.h: New file.
200 * sysdeps/sparc/sparc64/backtrace.c: Delete.
201 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
202 -funwind-tables.
203
ab087e0a
AS
2042013-01-21 Andreas Schwab <schwab@suse.de>
205
206 [BZ #15020]
207 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
208 closed its stdout.
209
ed689c2f
AS
2102013-01-20 Andreas Schwab <schwab@linux-m68k.org>
211
212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
213 "mpa2.h".
214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
215
31d470ac
JM
2162013-01-18 Joseph Myers <joseph@codesourcery.com>
217 Mark Mitchell <mark@codesourcery.com>
218 Tom de Vries <tom@codesourcery.com>
219 Paul Pluzhnikov <ppluzhnikov@google.com>
220
221 * debug/tst-backtrace2.c: New file.
222 * debug/tst-backtrace3.c: Likewise.
223 * debug/tst-backtrace4.c: Likewise.
224 * debug/tst-backtrace5.c: Likewise.
225 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
226 (CFLAGS-tst-backtrace3.c): Likewise.
227 (CFLAGS-tst-backtrace4.c): Likewise.
228 (CFLAGS-tst-backtrace5.c): Likewise.
229 (LDFLAGS-tst-backtrace2): Likewise.
230 (LDFLAGS-tst-backtrace3): Likewise.
231 (LDFLAGS-tst-backtrace4): Likewise.
232 (LDFLAGS-tst-backtrace5): Likewise.
233 (tests): Add new tests tst-backtrace2, tst-backtrace3,
234 tst-backtrace4 and tst-backtrace5.
235
90567f30 2362013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
237 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
238
239 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
240 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
241 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
242 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
244 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
245 "+r" and remove output regs list as redundant. Add explicit inline
246 asm to specify register of return val to work around compiler codegen
247 bug. Remove (int) cast on return value. Add return type parameter to
248 use in macro so that this macro does not truncate return value for
249 64-bit values.
250 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
251 pass to INTERNAL_VSYSCALL_NCS.
252 (INLINE_VSYSCALL): Add 'long int' as return type to
253 INTERNAL_VSYSCALL_NCS macro invocation.
254 (INTERNAL_VSYSCALL): Add 'long int' as return type to
255 INTERNAL_VSYSCALL_NCS macro invocation.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
257
d3b9ea61
SP
2582013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
259
0b57daeb
SP
260 [BZ #14496]
261 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
262 Fix application of SIMD FP exception mask.
263
caa99d06
SP
264 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
265 mp_no from a power of two.
266 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
267 __mpexp_twomm1. Use __pow_mp.
268
d3b9ea61
SP
269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
270 multiplication.
271
1dbaee3c
DM
2722013-01-17 David S. Miller <davem@davemloft.net>
273
274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
275
728d7b43
JM
2762013-01-17 Joseph Myers <joseph@codesourcery.com>
277
278 [BZ #15023]
279 * include/complex.h: Condition contents on [!_COMPLEX_H].
280 (__kernel_casinhf): New prototype.
281 (__kernel_casinh): Likewise.
282 (__kernel_casinhl): Likewise.
283 * math/Makefile (libm_calls): Add k_casinh.
284 * math/k_casinh.c: New file.
285 * math/k_casinhf.c: Likewise.
286 * math/k_casinhl.c: Likewise.
287 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
288 finite nonzero arguments.
289 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
290 finite nonzero arguments.
291 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
292 finite nonzero arguments.
293 * math/s_casinh.c: Do not include <float.h>.
294 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
295 * math/s_casinhf.c: Do not include <float.h>.
296 (__casinhf): Move code for finite nonzero arguments to
297 k_casinhf.c.
298 * math/s_casinhl.c: Do not include <float.h>.
299 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
300 redefine.
301 (__casinhl): Move code for finite nonzero arguments to
302 k_casinhl.c.
303 * math/libm-test.inc (cacos_test): Add more tests.
304 * sysdeps/i386/fpu/libm-test-ulps: Update.
305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
306
2a26ef3a
PT
3072013-01-17 Pino Toscano <toscano.pino@tiscali.it>
308
309 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
310 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
311 [!HAVE_MREMAP]: Remove [defined linux] case.
312 * malloc/arena.c: Do not include <malloc-sysdep.h>.
313
a897655d
SP
3142013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
315
316 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
317
881ebe89 3182013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
319
320 * elf/elf.h (R_386_SIZE32): New relocation.
321 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
322 R_386_SIZE32.
323 (elf_machine_rela): Likewise.
324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
325 R_X86_64_SIZE64 and R_X86_64_SIZE32.
326
59981e9b
JM
3272013-01-17 Joseph Myers <joseph@codesourcery.com>
328
329 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
330 (FP_FAST_FMA): Do not define.
331 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
332 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
333 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
334 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
335 !_SOFT_FLOAT]: Likewise.
336 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
337 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
338 value.
339 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
340 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
341 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
342 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
343 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
344 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
345 file.
346
cfa8054f
AS
3472013-01-16 Andreas Schwab <schwab@suse.de>
348
349 [BZ #14327]
350 * include/stdlib.h (__mktemp): Add declaration.
351 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
352 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
353
dd930cc5
SP
3542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
355
881ebe89
SP
356 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
357 definitions.
358 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
359 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
360 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
361 definitions here.
362 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
363 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
364 definitions.
365 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
366 and ONE.
367 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
368 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
369 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
370 definitions.
371 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
372 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
373 definitions.
374 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 375
dd930cc5
SP
376 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
377
c19a9f89
DM
3782013-01-15 David S. Miller <davem@davemloft.net>
379
1aa61767
DM
380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
381 trunc{,f} to libm-sysdep_routes.
382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
384 file.
385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
387 file.
388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
389 file.
390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
392 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
393 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
394 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
395 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
396 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
397 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
398
c42d5e98
DM
399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
400 nearbyint{,f} to libm-sysdep_routes.
401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
403 New file.
404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
405 file.
406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
407 New file.
408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
409 file.
410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
412 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
413 file.
414 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
415 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
416 file.
417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
418 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
419 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
420
c19a9f89
DM
421 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
422 libc_feholdexcept and libc_fesetenv.
423
357679d2
MF
4242013-01-15 Mike Frysinger <vapier@gentoo.org>
425
426 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
427
65a82e3d
DM
4282013-01-14 David S. Miller <davem@davemloft.net>
429
8b954ab9
DM
430 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
431 (SPARC_ASM_VIS2_IFUNC): Likewise.
432 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
434 use of 'siam' instruction.
435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
436 Likewise.
437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
438 Likewise.
439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
440 Likewise.
441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
446 file.
447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
448 file.
449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
450 file.
451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
452 file.
453 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
454 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
455 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
456 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
458 new VIS2 routines.
459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
462 Likewise.
463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
468 routines to libm-sysdep_routines.
469 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
470
65a82e3d
DM
471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
472 fdim/fdimf to libm-sysdep_routines.
473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
474 file.
475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
477 file.
478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
481 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
482 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
483 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
484 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
485
e34ab705
SP
4862013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
487
2a91b573
SP
488 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
489 to optimize copies.
490
1066a534
SP
491 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
494
e34ab705
SP
495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
496 local variable MPTWO.
497 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
498 Likewise.
499
aba5e596
MF
5002013-01-13 Mike Frysinger <vapier@gentoo.org>
501
502 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
503 GLOB_NOESCAPE.
504
e557e9e5
MF
5052013-01-13 Mike Frysinger <vapier@gentoo.org>
506
507 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
508
0428cec9
MF
5092013-01-13 Mike Frysinger <vapier@gentoo.org>
510
511 * manual/pattern.texi (glob_t): Document gl_flags.
512 (glob64_t): Likewise.
513
8794a964
DM
5142013-01-11 David S. Miller <davem@davemloft.net>
515
66438c3f
RM
516 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
517 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
518 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
519 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
520 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
521 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
522 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
523 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
524 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
525 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
526 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
527 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
528 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
529
4ae4244d
DM
530 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
531 sparc V9 rather than using V8 code.
532 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
533 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
534
8794a964
DM
535 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
536 Move to...
537 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
538 Here.
539
6270516e
RM
5402013-01-11 Roland McGrath <roland@hack.frob.com>
541
542 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
543 not in the main loop.
544 * configure: Regenerated.
545
6a57d931
JM
5462013-01-11 Joseph Myers <joseph@codesourcery.com>
547
548 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
549 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
550 to just #else.
551 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
552 [!__GLIBC_HAVE_LONG_LONG] case.
553 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
554 condition to just #else.
555 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
556 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
557 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
558 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
559 unconditional.
560 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
561 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
562 #elif condition to just #else.
563 * sysdeps/unix/sysv/linux/sys/sysmacros.h
564 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
565 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
566 #elif condition to just #else.
567
0e8529e9
SE
5682013-01-11 Steve Ellcey <sellcey@mips.com>
569
570 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
571 (EF_MIPS_ARCH_64): Fix value.
572 (EF_MIPS_ARCH_32R2): New.
573 (EF_MIPS_ARCH_64R2): New.
574
740b3dbe
L
5752013-01-11 H.J. Lu <hongjiu.lu@intel.com>
576
577 * Makeconfig (+link-pie-before-libc): New.
578 (+link-pie-after-libc): Likewise.
579 (+link-pie-tests): Likewise.
580 (+link-pie): Rewritten.
581 (link-before-libc): Remove $(config-LDFLAGS).
582 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
583 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
584 (config-LDFLAGS): Renamed to ...
585 (rtld-LDFLAGS): This.
586 (rtld-tests-LDFLAGS): New macro.
587 (link-libc-rpath-link): Likewise.
588 (link-libc-tests-rpath-link): Likewise.
589 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
590 (link-libc): Prepand $(link-libc-rpath-link).
591 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
592 (test-program-prefix): New macro.
593 (test-via-rtld-prefix): Likewise.
594 (test-program-cmd): Likewise.
595 (host-test-program-cmd): Likewise.
596 * Makefile ($(common-objpfx)testrun.sh): Replace
597 $(run-program-prefix) with $(test-program-prefix).
598 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
599 $(rtld-LDFLAGS).
600 ($(common-objpfx)shlib.lds): Likewise.
601 (build-module-helper): Likewise.
602 ($(common-objpfx)format.lds): Likewise.
603 * Rules (binaries-pie-tests): New.
604 (binaries-pie-notests): Likewise.
605 (binaries-pie): Rewritten.
606 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
607 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
608 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
609 (make-test-out): Replace $(host-built-program-cmd) with
610 $(host-test-program-cmd).
611 * config.make.in (build-hardcoded-path-in-tests): New variable.
612 * configure.in (--enable-hardcoded-path-in-tests): New configure
613 option.
614 (hardcoded_path_in_tests): New AC_SUBST.
615 * configure: Regenerated.
616 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
617 $(built-program-cmd) with $(test-program-cmd).
618 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
619 (test_program_cmd): This.
620 * elf/Makefile ($(objpfx)order.out): Run test with
621 $(test-program-prefix).
622 ($(objpfx)order2.out): Likewise.
623 ($(objpfx)tst-initorder.out): Likewise.
624 ($(objpfx)tst-initorder2.out): Likewise.
625 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
626 $(test-program-cmd).
627 ($(objpfx)tst-array1-static.out): Likewise.
628 ($(objpfx)tst-array2.out): Likewise.
629 ($(objpfx)tst-array3.out): Likewise.
630 ($(objpfx)tst-array4.out): Likewise.
631 ($(objpfx)tst-array5.out): Likewise.
632 ($(objpfx)tst-array5-static.out): Likewise.
633 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
634 $(test-program-cmd).
635 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
636 $(run-program-prefix) with $(test-program-prefix).
637 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
638 (test_program_prefix): This.
639 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
640 $(run-program-prefix) with $(test-program-prefix).
641 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
642 (test_program_prefix): This.
643 * iconvdata/tst-tables.sh: Likewise.
644 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
645 $(run-program-prefix) with $(test-program-prefix).
646 ($(objpfx)tst-translit.out): Likewise.
647 ($(objpfx)tst-gettext2.out): Likewise.
648 ($(objpfx)tst-gettext4.out): Likewise.
649 ($(objpfx)tst-gettext6.out): Likewise.
650 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
651 (test_program_prefix): This.
652 * intl/tst-gettext2.sh: Likewise.
653 * intl/tst-gettext4.sh Likewise.
654 * intl/tst-gettext6.sh: Likewise.
655 * intl/tst-translit.sh: Likewise.
656 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
657 with $(test-program-cmd).
658 * libio/Makefile ($(objpfx)test-freopen.out): Replace
659 $(run-program-prefix) with $(test-program-prefix).
660 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
661 (test_program_prefix): This.
662 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
663 $(run-program-prefix) with $(test-program-prefix).
664 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
665 (test_program_prefix): This.
666 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
667 * posix/Makefile ($(objpfx)globtest.out): Replace
668 $(run-via-rtld-prefix) and $(test-wrapper) with
669 $(test-program-prefix) and $(test-via-rtld-prefix).
670 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
671 $(test-program-prefix).
672 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
673 $(host-test-program-cmd).
674 (tst-spawn-ARGS): Likewise.
675 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
676 $(test-program-prefix).
677 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
678 (test_via_rtld_prefix): This.
679 (test_wrapper): Renamed to ...
680 (test_program_prefix): This.
681 (run_program_prefix): Replaced by test_program_prefix.
682 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
683 (test_program_prefix): This.
684 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
685 with $(host-test-program-cmd).
686 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
687 $(run-program-prefix) with $(test-program-prefix).
688 ($(objpfx)tst-printf.out): Likewise.
689 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
690 $(test-program-cmd).
691 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
692 (test_program_prefix): This.
693 * stdio-common/tst-unbputc.sh: Likewise.
694 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
695 $(run-program-prefix) with $(test-program-prefix).
696 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
697 (test_program_prefix): This.
698 * string/Makefile ($(objpfx)tst-svc.out): Replace
699 $(built-program-cmd) with $(test-program-cmd).
700
c6fe55cf
AJ
7012013-01-11 Andreas Jaeger <aj@suse.de>
702
703 [BZ #15003]
704 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
705 value. Sync with Linux 3.7.
706
9e6919c8
DM
7072013-01-10 David S. Miller <davem@davemloft.net>
708
709 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
710 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
711 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
712
1c9f1a02
RM
7132013-01-10 Roland McGrath <roland@hack.frob.com>
714
715 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
716 never set.
717 * configure: Regenerated.
718
b9de2dde
DM
7192013-01-10 David S. Miller <davem@davemloft.net>
720
721 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
722 sparc V9 rather than using V8 code.
723 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
724 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
725
e7f68ef4
RM
7262013-01-10 Roland McGrath <roland@hack.frob.com>
727
728 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
729 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
730 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
731 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
732 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
733 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
734 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
735 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
736 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
737 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
738 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
739 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
740 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
741 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
742 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
743 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
744 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
745 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
746 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
747 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
748 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
749 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
750 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
751 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
752 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
753 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
754 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
755
5a47cc9c
DM
7562013-01-10 David S. Miller <davem@davemloft.net>
757
758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
759
4cf8f209
L
7602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
761
762 * posix/Makefile (tests-static): New variable.
763 (tests): Add $(tests-static).
764 (tst-exec-static-ARGS): New variable.
765 (tst-spawn-static-ARGS): Likewise.
766 * posix/tst-exec-static.c: New file.
767 * posix/tst-spawn-static.c: Likewise.
768 * posix/tst-exec.c: Support run directly.
769 * posix/tst-spawn.c: Likewise.
770
fed0faa1
JM
7712013-01-10 Joseph Myers <joseph@codesourcery.com>
772
828beb13
JM
773 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
774 long.
775 * math/bits/mathcalls.h (llrint): Likewise.
776 (llround): Likewise.
777 * stdlib/stdlib.h (struct drand48_data): Likewise.
778 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
779 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
780 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
781 Likewise.
782 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
783 Likewise.
784 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
785 (elf_greg_t): Likewise.
786 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
787 (__jmp_buf): Likewise.
788 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
789 definitions.
790 (llrint): Likewise, for all definitions.
791 (llrintl): Likewise.
792
fed0faa1
JM
793 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
794 Remove [__GNUC__] condition.
795 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
796 condition to just [__USE_ISOC99].
797 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
798
1a20cb20
L
7992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
800
801 [BZ #14200]
802 * sysdeps/unix/sysv/linux/x86/bits/environments.h
803 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
804 defined.
805 (_POSIX_V6_ILP32_OFF32): Likewise.
806 (_XBS5_ILP32_OFF32): Likewise.
807 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
808 (__ILP32_OFFBIG_LDFLAGS): Likewise.
809
751b85f7
SP
8102013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
811
7490eb81
SP
812 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
813
751b85f7
SP
814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
815 doubles __mpexp_twomm1. Adjust usage.
816 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
817 Remove.
818
988197f0
AS
8192013-01-10 Andreas Schwab <schwab@suse.de>
820
821 [BZ #14964]
822 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
823 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
824
e83d7298
DM
8252013-01-09 David S. Miller <davem@davemloft.net>
826
034ed64b 827 [BZ #15003]
e83d7298
DM
828 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
829 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
830 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
831 TCP_FASTOPEN): Define.
832 (tcp_repair_opt): New structure.
833 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
834 enum values.
835 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
836 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
837 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
838 (tcp_cookie_transactions): New structure.
839
d5e0b9bd
AB
8402013-01-09 Anton Blanchard <anton@samba.org>
841
842 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
843 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
844 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
845 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
846
0c07e3ea
JM
8472013-01-09 Joseph Myers <joseph@codesourcery.com>
848
849 * include/features.h (__USE_ANSI): Remove.
850
232f7002
RM
8512013-01-09 Roland McGrath <roland@hack.frob.com>
852
ad98e30c
RM
853 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
854
232f7002
RM
855 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
856
950c99ca
SP
8572013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
858
b5792741
SP
859 * sysdeps/s390/fpu/libm-test-ulps: Update.
860
47cf2278
SP
861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
862
950c99ca
SP
863 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
864 (__acr): Likewise.
865 (__cpy): Likewise.
866 (norm): Likewise.
867 (denorm): Likewise.
868 (__mp_dbl): Likewise.
869 (__dbl_mp): Likewise.
870 (add_magnitudes): Likewise.
871 (sub_magnitudes): Likewise.
872 (__add): Likewise.
873 (__sub): Likewise.
874 (__mul): Likewise.
875 (__inv): Likewise.
876 (__dvd): Likewise.
877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
878 (__acr): Likewise.
879 (__cpy): Likewise.
880 (norm): Likewise.
881 (denorm): Likewise.
882 (__mp_dbl): Likewise.
883 (__dbl_mp): Likewise.
884 (add_magnitudes): Likewise.
885 (sub_magnitudes): Likewise.
886 (__add): Likewise.
887 (__sub): Likewise.
888 (__mul): Likewise.
889 (__inv): Likewise.
890 (__dvd): Likewise.
891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
892 (__acr): Likewise.
893 (__cpy): Likewise.
894 (norm): Likewise.
895 (denorm): Likewise.
896 (__mp_dbl): Likewise.
897 (__dbl_mp): Likewise.
898 (add_magnitudes): Likewise.
899 (sub_magnitudes): Likewise.
900 (__add): Likewise.
901 (__sub): Likewise.
902 (__mul): Likewise.
903 (__inv): Likewise.
904 (__dvd): Likewise.
905
eede9df9
JM
9062013-01-08 Joseph Myers <joseph@codesourcery.com>
907
908 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
909 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
910 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
911 2 && __USE_EXTERN_INLINES]: Likewise.
912
c40ea3d9
AJ
9132013-01-08 Andreas Jaeger <aj@suse.de>
914
915 [BZ# 14985]
916 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
917 Remove.
918 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
919 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
920
2ccdea26
AB
9212013-01-07 Anton Blanchard <anton@samba.org>
922
923 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
924 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
925 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
926 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
927 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
928 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
929 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
930 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
932 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
933 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
934 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
936 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
937 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
938 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
940 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
941 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
942 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
943 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
944 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
945 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
946 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
947 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
948 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
949 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
950 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
952 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
953 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
955 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
956 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
957 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
958 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
959 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
960 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
961 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
963 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
964 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
965 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
966
a9708fed
JM
9672013-01-07 Joseph Myers <joseph@codesourcery.com>
968
375607b9
JM
969 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
970 (__MALLOC_PMT): Likewise.
971 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
972 [__GNUC__], only on [_LIBC].
973 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
974 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
975 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
976 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
977 forward declaration.
978 (realloc_hook_ini): Likewise.
979 (memalign_hook_ini): Likewise.
980 (__libc_memalign): Do not use __MALLOC_PMT in variable
981 declaration.
982 (__libc_valloc): Likewise.
983 (__libc_pvalloc): Likewise.
984 (__libc_calloc): Likewise.
985 (__posix_memalign): Likewise.
986
a9708fed
JM
987 [BZ #14996]
988 * math/s_casinh.c: Include <float.h>.
989 (__casinh): Do not do computation with squaring and square root
990 for large arguments.
991 * math/s_casinhf.c: Include <float.h>.
992 (__casinhf): Do not do computation with squaring and square root
993 for large arguments.
994 * math/s_casinhl.c: Include <float.h>.
995 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
996 (__casinhl): Do not do computation with squaring and square root
997 for large arguments.
998 * math/libm-test.inc (casin_test): Add more tests.
999 (casinh_test): Likewise.
1000 * sysdeps/i386/fpu/libm-test-ulps: Update.
1001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1002
afec409a
L
10032013-01-04 H.J. Lu <hongjiu.lu@intel.com>
1004
1005 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
1006 (__x86_64_raw_data_cache_size): Likewise.
1007 (__x86_64_data_cache_size_half): Likewise.
1008 (__x86_64_raw_data_cache_size_half): Likewise.
1009 (__x86_64_shared_cache_size): Likewise.
1010 (__x86_64_raw_shared_cache_size): Likewise.
1011 (__x86_64_shared_cache_size_half): Likewise.
1012 (__x86_64_raw_shared_cache_size_half): Likewise.
1013 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
1014 to ...
1015 (__x86_data_cache_size): This.
1016 (__x86_64_raw_data_cache_size): Renamed to ...
1017 (__x86_raw_data_cache_size): This.
1018 (__x86_64_data_cache_size_half): Renamed to ...
1019 (__x86_data_cache_size_half): This.
1020 (__x86_64_raw_data_cache_size_half): Renamed to ...
1021 (__x86_raw_data_cache_size_half): This.
1022 (__x86_64_shared_cache_size): Renamed to ...
1023 (__x86_shared_cache_size): This.
1024 (__x86_64_raw_shared_cache_size): Renamed to ...
1025 (__x86_raw_shared_cache_size): This.
1026 (__x86_64_shared_cache_size_half): Renamed to ...
1027 (__x86_shared_cache_size_half): This.
1028 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1029 (__x86_raw_shared_cache_size_half): This.
1030 * sysdeps/x86_64/memcpy.S: Updated.
1031 * sysdeps/x86_64/memset.S: Likewise.
1032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1034 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1035
0b3986d0
DM
10362013-01-04 David S. Miller <davem@davemloft.net>
1037
1038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1039
e47686e9
AS
10402013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1041
d643bac1
AS
1042 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1043 1 to avoid redefinition warning.
1044 (__USE_GNU): Don't define.
1045 (init_signaling_nan): Protoize.
1046
e47686e9
AS
1047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1048
b18decba
SP
10492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1050
fffb407f
SP
1051 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1053 (__cpymn): Likewise.
1054 (norm): Remove commented code.
1055 (denorm): Likewise.
1056 (__mp_dbl): Likewise.
1057 (__inv): Likewise.
1058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1059 (__cpymn): Likewise.
1060 (norm): Remove commented code.
1061 (denorm): Likewise.
1062 (__mp_dbl): Likewise.
1063 (__inv): Likewise.
1064
b18decba
SP
1065 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1066 mp_no value for 1.0 and 2.0.
1067 (norm): Use RADIXI instead of radixi.d.
1068 (denorm): Likewise.
1069 (__mul): Use 0.0 instead of zero.d.
1070 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1071 mp_no value for 1.0 and 2.0.
1072 (norm): Use RADIXI instead of radixi.d.
1073 (denorm): Likewise.
1074 (__mul): Use 0.0 instead of zero.d.
1075
cdc1c96f
JM
10762013-01-04 Joseph Myers <joseph@codesourcery.com>
1077
1078 [BZ #14994]
1079 * math/s_casinh.c (__casinh): Reduce finite argument to first
1080 quadrant then set signs of results at the end.
1081 * math/s_casinhf.c (__casinhf): Likewise.
1082 * math/s_casinhl.c (__casinhl): Likewise.
1083 * math/libm-test.inc (casin_test): Add more tests.
1084 (casinh_test): Likewise.
1085 * sysdeps/i386/fpu/libm-test-ulps: Update.
1086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1087
302913e1
SP
10882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1089
6420d207
SP
1090 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1091
a9e48ab4
SP
1092 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1093
b7837264
SP
1094 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1095 declarations.
1096 (denorm): Likewise.
1097 (__mp_dbl): Likewise.
1098 (__inv): Likewise.
1099
f8af25d2
SP
1100 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1101 and adjust the header comment.
1102
302913e1
SP
1103 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1104 variable name from declaration.
1105
5d7dd1ca
L
11062013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1107
1108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1109 Initialize COMMON_CPUID_INDEX_7 element.
1110 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1111 (CPUID_RTM): Likewise.
1112 (HAS_RTM): Likewise.
1113 (COMMON_CPUID_INDEX_7): New enum.
1114
2f5f40f4
AS
11152013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1116
1117 [BZ #14981]
1118 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1119 size is zero, record memory as freed.
1120
4056f4a0
AJ
11212013-01-03 Andreas Jaeger <aj@suse.de>
1122
1123 * po/ia.po: Add new Interlingua translation.
1124
ab15736f 11252012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1126
1127 * locale/programs/localedef.c: Fix description of '--posix' flag.
1128
568035b7
JM
11292013-01-02 Joseph Myers <joseph@codesourcery.com>
1130
e6898b8d
JM
1131 * NEWS: Update dates in second copyright notice.
1132 * README: Update copyright dates in example.
1133 * manual/libc.texinfo: Update copyright dates.
1134 * scripts/test-installation.pl: Update copyright date in --version
1135 output.
1136
0e2f9562
JM
1137 * hurd/ctty-input.c: Fix copyright notice formatting.
1138 * hurd/ctty-output.c: Likewise.
1139 * hurd/dtable.c: Likewise.
1140 * hurd/hurd-raise.c: Likewise.
1141 * hurd/hurdprio.c: Likewise.
1142 * hurd/msgportdemux.c: Likewise.
1143 * misc/sys/file.h: Likewise.
1144 * misc/sys/ioctl.h: Likewise.
1145 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1146 * sysdeps/mach/hurd/chdir.c: Likewise.
1147 * sysdeps/mach/hurd/fchdir.c: Likewise.
1148 * sysdeps/mach/hurd/rename.c: Likewise.
1149 * sysdeps/mach/hurd/rmdir.c: Likewise.
1150 * sysdeps/mach/hurd/seekdir.c: Likewise.
1151 * sysdeps/mach/hurd/setsid.c: Likewise.
1152 * sysdeps/posix/wait3.c: Likewise.
1153
568035b7
JM
1154 * All files with FSF copyright notices: Update copyright dates
1155 using scripts/update-copyrights.
1156 * intl/plural.c: Regenerated.
1157 * locale/programs/charmap-kw.h: Likewise.
1158 * locale/programs/locfile-kw.h: Likewise.
1159
da08f647
SP
11602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1161
0f5477af
SP
1162 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1163 four values.
1164
44e0d4c2
SP
1165 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1166 calculation loop and add branch prediction.
1167
4d55b4e5
SP
1168 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1169 check access beyond bounds of m1np.
1170
da08f647
SP
1171 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1172 MPTWO.
1173 (__inv): Remove local variable MPTWO to use the global
1174 constant.
1175 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1176 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1177 variable MPTWO.
1178 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1179 MP3HALFS static const.
1180
8e051029
DM
11812013-01-01 David S. Miller <davem@davemloft.net>
1182
1183 * po/ca.po: Update from translation team.
1184
f4cf5f2d
JM
11852013-01-01 Joseph Myers <joseph@codesourcery.com>
1186
1187 * scripts/update-copyrights: New file.
1188 * Makeconfig: Reformat copyright notice.
1189 * ctype/ctype.h: Likewise.
1190 * debug/swprintf_chk.c: Likewise.
1191 * elf/dl-cache.c: Likewise.
1192 * elf/dl-debug.c: Likewise.
1193 * elf/dl-object.c: Likewise.
1194 * grp/initgroups.c: Likewise.
1195 * hurd/Makefile: Likewise.
1196 * hurd/hurd/signal.h: Likewise.
1197 * hurd/hurdfault.c: Likewise.
1198 * hurd/hurdioctl.c: Likewise.
1199 * hurd/hurdlookup.c: Likewise.
1200 * hurd/intr-msg.c: Likewise.
1201 * iconv/gconv_open.c: Likewise.
1202 * libio/swprintf.c: Likewise.
1203 * locale/lc-ctype.c: Likewise.
1204 * locale/nl_langinfo.c: Likewise.
1205 * mach/Machrules: Likewise.
1206 * mach/Makefile: Likewise.
1207 * malloc/obstack.h: Likewise.
1208 * manual/Makefile: Likewise.
1209 * manual/tsort.awk: Likewise.
1210 * misc/bits/stab.def: Likewise.
1211 * nis/nis_print_group_entry.c: Likewise.
1212 * nis/nis_table.c: Likewise.
1213 * nis/nss_compat/compat-pwd.c: Likewise.
1214 * nis/nss_compat/compat-spwd.c: Likewise.
1215 * po/Makefile: Likewise.
1216 * posix/fnmatch.c: Likewise.
1217 * posix/regex.h: Likewise.
1218 * resolv/Makefile: Likewise.
1219 * resolv/nss_dns/dns-network.c: Likewise.
1220 * resolv/res_hconf.c: Likewise.
1221 * scripts/gen-sorted.awk: Likewise.
1222 * soft-fp/soft-fp.h: Likewise.
1223 * stdio-common/printf.h: Likewise.
1224 * stdlib/monetary.h: Likewise.
1225 * stdlib/random.c: Likewise.
1226 * stdlib/random_r.c: Likewise.
1227 * sysdeps/generic/Makefile: Likewise.
1228 * sysdeps/gnu/Makefile: Likewise.
1229 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1231 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1233 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1236 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1237 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1238 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1239 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1240 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1241 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1242 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1243 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1244 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1245 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1247 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1249 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1250 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1251 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1252 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1253 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1257 * sysdeps/mach/hurd/errnos.awk: Likewise.
1258 * sysdeps/mach/hurd/fork.c: Likewise.
1259 * sysdeps/mach/hurd/getcwd.c: Likewise.
1260 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1261 * sysdeps/mach/hurd/mmap.c: Likewise.
1262 * sysdeps/mach/hurd/utimes.c: Likewise.
1263 * sysdeps/mach/hurd/xmknod.c: Likewise.
1264 * sysdeps/posix/profil.c: Likewise.
1265 * sysdeps/posix/readdir_r.c: Likewise.
1266 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1267 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1268 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1269 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1271 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1272 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1273 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1274 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1275 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1276 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1277 * sysdeps/pthread/lio_listio.c: Likewise.
1278 * sysdeps/sparc/dl-procinfo.h: Likewise.
1279 * sysdeps/unix/i386/sysdep.S: Likewise.
1280 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1281 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1282 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1283 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1285 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1286 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1287 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1288 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1289 * sysdeps/wordsize-32/divdi3.c: Likewise.
1290 * time/sys/time.h: Likewise.
1291 * wcsmbs/Makefile: Likewise.
1292
0549fbba
DM
12932013-01-01 David S. Miller <davem@davemloft.net>
1294
a141f1a7
DM
1295 * po/fr.po: Update from translation team.
1296
0549fbba
DM
1297 * catgets/gencat.c: Update copyright year.
1298 * csu/version.c: Likewise.
1299 * debug/catchsegv.sh: Likewise.
1300 * debug/pcprofiledump.c: Likewise.
1301 * debug/xtrace.sh: Likewise.
1302 * elf/ldconfig.c: Likewise.
1303 * elf/ldd.bash.in: Likewise.
1304 * elf/pldd.c: Likewise.
1305 * elf/sotruss.ksh: Likewise.
1306 * elf/sprof.c: Likewise.
1307 * iconv/iconv_prog.c: Likewise.
1308 * iconv/iconvconfig.c: Likewise.
1309 * locale/programs/locale.c: Likewise.
1310 * locale/programs/localedef.c: Likewise.
1311 * login/programs/pt_chown.c: Likewise.
1312 * malloc/memusage.sh: Likewise.
1313 * malloc/memusagestat.c: Likewise.
1314 * malloc/mtrace.pl: Likewise.
1315 * nscd/nscd.c: Likewise.
1316 * nss/getent.c: Likewise.
1317 * nss/makedb.c: Likewise.
1318 * posix/getconf.c: Likewise.
1319
18ea052c
SP
13202012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1321
1322 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1323 numbers.
1324
9c89fca6
MF
13252012-12-30 Mike Frysinger <vapier@gentoo.org>
1326
1327 * math/bits/mathcalls.h (modf): Use __nonnull.
1328
085ec079
SP
13292012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1330
1331 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1332 (split): Use macro CN instead of the bare value.
1333 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1334 could be used.
1335 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1336 instead of the bare value.
1337 (power1): Likewise.
1338
6d9f97e1
SP
13392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1340
d63f73be
SP
1341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1342 __ATAN_TWOM.
1343 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1344
6d9f97e1
SP
1345 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1346 their values.
1347 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1348 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1349 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1350 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1351
4c4febf5
AJ
13522012-12-28 Andreas Jaeger <aj@suse.de>
1353
af5843ef
AJ
1354 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1355 values are from Linux 3.7.
1356
4c4febf5
AJ
1357 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1358 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1359
99136f82
SP
13602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1361
2f216c3c 1362 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1363 TRUE case.
1364
99136f82
SP
1365 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1366 (norm): Likewise.
1367 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1368 variables with preprocessor constants.
1369 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1370 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1371 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1372
7fffbdff
BH
13732012-12-27 Bruno Haible <bruno@clisp.org>
1374
1375 [BZ #14317]
1376 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1377 only if needed.
1378
b76eb5f0
SP
13792012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1380
31a7fe5c
SP
1381 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1382 and use variable directly.
1383 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1384
b76eb5f0
SP
1385 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1386 MPONE.
1387 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1388 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1389 variable MPONE.
1390 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1392 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1393 include directive. Remove local variable MPONE.
1394 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1395 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1396 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1397
2c8bfe7d
DM
13982012-12-25 David S. Miller <davem@davemloft.net>
1399
1400 * version.h (RELEASE): Set to "development".
1401 (VERSION): Set to "2.17.90".
1402 * NEWS: Add 2.18 section.
1403
147d03b0
DM
14042012-12-21 David S. Miller <davem@davemloft.net>
1405
1406 * po/hr.po: Update from translation team.
1407
a8ebb2b9
AK
14082012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1409
1410 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1411
95b4f1b6
SE
14122012-12-19 Steve Ellcey <sellcey@mips.com>
1413
b2d94007 1414 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1415
cedb2a90
MS
14162012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1417
1418 * manual/contrib.texi (Contributors): Spelling correction.
1419
bbf527d6
DM
14202012-12-15 David S. Miller <davem@davemloft.net>
1421
1422 * po/ru.po: Update from translation team.
1423
bc38c906
DM
14242012-12-13 David S. Miller <davem@davemloft.net>
1425
85429b1a
DM
1426 * NEWS: Mention IFUNC testsuite enhancements.
1427
d283e353
DM
1428 * po/pl.po: Update from translation team.
1429 * po/bg.po: Likewise.
1430
bc38c906
DM
1431 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1432 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1433
a181b0d7
DM
14342012-12-11 David S. Miller <davem@davemloft.net>
1435
4641d57e
DM
1436 * po/sv.po: Update from translation team.
1437
f7bc6495
DM
1438 * po/vi.po: Update from translation team.
1439
6fc9048f
DM
1440 * po/cs.po: Update from translation team.
1441
a181b0d7
DM
1442 * po/de.po: Update from translation team.
1443 * po/eo.po: Likewise.
1444 * po/nl.po: Likewise.
1445
f70bfe80
SP
14462012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1447
3c8b4190
SP
1448 [BZ #14246]
1449 * manual/argp.texi (Argp Helper Functions): Move node to follow
1450 Argp Parsing State.
1451
f70bfe80
SP
1452 [BZ #14872]
1453 * manual/conf.texi (Limits on File System Capacity): Mention if
1454 terminating null is included in the max size.
1455
188f0adf
AJ
14562012-12-10 Andreas Jaeger <aj@suse.de>
1457
1458 * po/cs.po: Update from translation team.
1459
56e7d3ad
SP
14602012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1461
1462 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1463 void pointer and cast to uintptr_t.
1464 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1465 path.
1466 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1467 * sysdeps/s390/s390-64/memset.S: Likewise.
1468
76f2d2ea 14692012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1470
1471 [BZ #14833]
1472 * menual/message.texi (Message Translation): Fix typos.
1473 (Helper programs for gettext): Likewise.
1474
67cbf9a2
AS
14752012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1476
1477 [BZ #14898]
1478 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1479 Change to -1.
1480
682d0e9a
DM
14812012-12-07 David S. Miller <davem@davemloft.net>
1482
1483 * po/libc.pot: Update.
1484
573cd484
RH
14852012-12-07 Richard Henderson <rth@redhat.com>
1486
7e9da188 1487 [BZ #10114]
573cd484
RH
1488 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1489 normal/normal case to before the switch.
1490 (_FP_DIV): Likewise.
1491
e933a943
MF
14922012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1493 Mike Frysinger <vapier@gentoo.org>
1494
1495 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1496 check for __NR_fadvise64_64.
1497
82123268
CM
14982012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1499
1500 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1501 0, not just to plain "0" as a statement.
1502 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1503 with cw.
1504
d9814526
JM
15052012-12-06 Joseph Myers <joseph@codesourcery.com>
1506
1507 * NEWS: Use sourceware.org in Bugzilla URL.
1508
7728c574
SP
15092012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1510
f16946dd
SP
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1512 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1513
5704bbcb
SP
1514 * stdio-common/tst-put-error.c (do_test): Add newline to the
1515 padded test to ensure flush.
1516
17aa0516
JL
15172012-12-05 Jeff Law <law@redhat.com>
1518
1519 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1520
363313b5
JM
15212012-12-05 Joseph Myers <joseph@codesourcery.com>
1522
effbd42a
JM
1523 * README: Don't refer to ports add-on as distributed separately.
1524 Mention AArch64 in list of systems supported in the ports add-on.
1525
87600365
JM
1526 * LICENSES: Add more non-FSF copyright and license notices.
1527
a0d7066a
JM
1528 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1529 ((unused)).
1530
66ca5a5b
JM
1531 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1532
363313b5
JM
1533 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1534 10000 as width of padded output.
1535
b37984ad
JM
15362012-12-04 Joseph Myers <joseph@codesourcery.com>
1537
9003570a
JM
1538 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1539
b37984ad
JM
1540 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1541 variable LX with __attribute__ ((unused)).
1542 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1543 Likewise.
1544 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1546 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1547 with __attribute__ ((unused)).
1548
c8df52ec
DM
15492012-12-04 David S. Miller <davem@abraco.davemloft.net>
1550
1551 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1552
b3b099af
JM
15532012-12-04 Joseph Myers <joseph@codesourcery.com>
1554
c33aa6e3
JM
1555 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1556 (CFLAGS-nldbl-acos.c): New variable.
1557 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1558 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1559 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1560 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1561 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1562 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1563 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1564 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1565 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1566 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1567 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1568 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1569 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1570 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1571 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1572 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1573 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1574 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1575 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1576 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1577 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1578 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1579 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1580 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1581 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1582 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1583 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1584 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1585 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1586 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1587 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1588 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1589 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1590 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1591 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1592 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1593 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1594 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1595 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1596 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1597 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1598 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1599 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1600 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1601 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1602 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1603 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1604 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1605 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1606 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1607 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1608 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1609 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1610 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1611 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1612 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1613 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1614 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1615 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1616 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1617 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1618 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1619 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1620 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1621 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1622 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1623 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1624 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1625 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1626 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1627 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1628 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1629 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1630 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1631 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1632 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1633 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1634 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1635 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1636 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1637 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1638 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1639 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1640 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1641 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1642 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1643 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1644 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1645 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1646 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1647 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1648 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1649 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1650 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1651 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1652 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1653 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1654
20f0018d
JM
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1656 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1657
b3b099af
JM
1658 [BZ #14914]
1659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1660 whole low double instead of just low 47 bits when splitting values
1661 into two parts.
1662
029264d1
AM
16632012-12-03 Allan McRae <allan@archlinux.org>
1664
1665 * manual/stdio.texi (Predefined Printf Handlers): Remove
1666 @hsep and @vsep usage.
1667
c9d6789e
MF
16682012-12-03 Mike Frysinger <vapier@gentoo.org>
1669
1670 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1671 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1672
4b7634a5
JL
16732012-12-03 Jeff Law <law@redhat.com>
1674
1675 * time/sys/time.h (settimeofday): Do not mark TV argument
1676 as __nonnull.
1677
eb6cbd24
MF
16782012-12-01 Mike Frysinger <vapier@gentoo.org>
1679
1680 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1681 when currently writing and seek to current position when not.
1682 * libio/Makefile (tests): Remove bug-fclose1.
1683 * libio/bug-fclose1.c: Delete.
1684
f638872a
JM
16852012-12-01 Joseph Myers <joseph@codesourcery.com>
1686
1687 * manual/arith.texi (feenableexcept): Fix typo.
1688 (fedisableexcept): Likewise.
1689
48085d14
RM
16902012-11-30 Roland McGrath <roland@hack.frob.com>
1691
1692 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1693 second, differently-typed declaration, rather than a cast.
1694
1a538b9f
SP
16952012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1696
1697 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1698 * include/rpc/svc.h: ... here.
1699
d07f2ff1 17002012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1701
1702 [BZ #13013]
1703 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1704 depending n and resplen2 to catch cases where answer
1705 equals answerp2.
1706
c93ec1f0
CD
17072012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1708
1709 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1710 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1711
37db69de
MF
17122012-11-29 Mike Frysinger <vapier@gentoo.org>
1713
1714 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1715
e10c4e4f
RM
17162012-11-29 Roland McGrath <roland@hack.frob.com>
1717
1718 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1719
2af1b328
JL
17202012-11-28 Jeff Law <law@redhat.com>
1721
1722 [BZ #13761]
1723 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1724 dataset_temporary. Track alloca usage into alloca_used.
1725 If dataset is large allocate and release it via malloc/free.
1726
111db5b1
FW
17272012-06-04 Florian Weimer <fweimer@redhat.com>
1728
f06cc227 1729 [BZ #14197]
111db5b1
FW
1730 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1731
dd694abd
DM
17322012-11-28 David S. Miller <davem@davemloft.net>
1733
1734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1735
9984dd01
JM
17362012-11-28 Joseph Myers <joseph@codesourcery.com>
1737
1738 [BZ #14803]
1739 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1740 of pi/2 rounded to nearest to 64 bits.
1741 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1742 nearest to 64 bits.
1743 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1744 bits.
1745
14bc93a9
JL
17462012-11-28 Jeff Law <law@redhat.com>
1747 Martin Osvald <mosvald@redhat.com>
1748
1749 [BZ #14889]
1750 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1751 * sunrpc/svc.c: Include time.h.
1752 (__svc_accept_failed): New function.
1753 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1754 any reason other than EINTR, call __svc_accept_failed.
1755 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1756 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1757
e3c6aa3a
AS
17582012-11-28 Andreas Schwab <schwab@suse.de>
1759
1760 * scripts/abilist.awk: Also handle indirect functions in .opd
1761 section.
1762
1bead169
JM
17632012-11-28 Joseph Myers <joseph@codesourcery.com>
1764
1765 [BZ #13881]
1766 * sysdeps/x86/fpu/powl_helper.c: New file.
1767 * sysdeps/x86/fpu/Makefile: Likewise.
1768 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1769 (p3): New object.
1770 (__ieee754_powl): Use __powl_helper for finite arguments except
1771 integer exponents below 8.
1772 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1773 (p3): New object.
1774 (__ieee754_powl): Use __powl_helper for finite arguments except
1775 integer exponents below 8.
1776 * math/libm-test.inc (pow_test): Add more tests and enable some
1777 previously disabled tests.
1778 * sysdeps/i386/fpu/libm-test-ulps: Update.
1779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1780
0817d63d
SP
17812012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1782 Carlos O'Donell <carlos_odonell@mentor.com>
1783
1784 * nss/makedb.c (is_prime): Assert that input is odd and greater
1785 than 4. Note that fact in a comment too.
1786 (next_prime): Add 4 to input.
1787
de2fd463
SP
17882012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1789
1790 [BZ #11741]
1791 * libio/Makefile (tests): Add test case tst-fwrite-error.
1792 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1793 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1794 * libio/tst-fwrite-error.c: New test case.
1795
c515fb51
L
17962012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1797
1798 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1799 before casting to void *.
1800 * include/libc-internal.h (__pointer_type): New macro.
1801 (__integer_if_pointer_type_sub): Likewise.
1802 (__integer_if_pointer_type): Likewise.
1803 (cast_to_integer): Likewise.
1804 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1805 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1806 before casting to atomic64_t.
1807 (atomic_exchange_acq): Likewise.
1808 (__arch_exchange_and_add_body): Likewise.
1809 (__arch_add_body): Likewise.
1810 (atomic_add_negative): Likewise.
1811 (atomic_add_zero): Likewise.
1812
4cf77aa9
JM
18132012-11-26 Joseph Myers <joseph@codesourcery.com>
1814
1815 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1816 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1817 (add_fdes): Likewise.
1818 (linear_search_fdes): Likewise.
1819 (binary_search_unencoded_fdes): Likewise.
1820
d260b3b4
AS
18212012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1822
1823 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1824
67060746
AC
18252012-11-24 Adam Conrad <adconrad@0c3.net>
1826
1827 * configure.in: Autodetect C++ header directories.
1828 * configure: Regenerated.
1829
800938a1
MF
18302012-11-23 Mike Frysinger <vapier@gentoo.org>
1831
1832 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1833
4e6e34e6
AS
18342012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1835
1836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1837
7c7feb47
JM
18382012-11-22 Joseph Myers <joseph@codesourcery.com>
1839
7184dcdf
JM
1840 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1841 LDBL_MANT_DIG == 106]: Disable some tests.
1842 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1843 Likewise.
1844 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1845 Likewise.
1846
0a42601f
JM
1847 [BZ #14871]
1848 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1849 input for small inputs. Return +/- pi/2 for large inputs.
1850 * math/libm-test.inc (atan_test): Add more tests.
1851
79c9b9fe
JM
1852 * sysdeps/generic/unwind-dw2-fde-glibc.c
1853 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1854 __attribute__ ((unused)).
1855
c60d3bf2
JM
1856 [BZ #14645]
1857 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1858 x * y if x and y are nonzero and z is zero.
1859
ef1e0867
JM
1860 [BZ #14811]
1861 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1862 nonzero exponents with absolute value below 0x1p-117 to +/-
1863 0x1p-117.
1864
1468ded3
JM
1865 [BZ #14869]
1866 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1867 up arguments below 2**-450, not just those below 2**-500.
1868 * math/libm-test.inc (hypot_test): Add another test.
1869
8e27e3cc
JM
1870 [BZ #14868]
1871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1872 Return a+b for ratio over 2**120, not 2**60.
1873 * math/libm-test.inc (hypot_test): Add another test.
1874
c9c0279b
JM
1875 * math/libm-test.inc (clog_test): Use
1876 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1877 (clog10_test): Likewise.
1878
7c7feb47
JM
1879 [BZ #6778]
1880 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1881
fff1530e
AS
18822012-11-22 Andreas Schwab <schwab@suse.de>
1883
1884 * sysdeps/i386/fpu/libm-test-ulps: Update.
1885
94558d30
PT
18862012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1887
1888 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1889 printf output with newline.
1890
7e1be741
L
18912012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1892
6bfea974
L
1893 [BZ #14865]
1894 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1895 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1896 -z nodlopen, -z initfirst and -z execstack support.
1897 * configure: Regenerated.
1898
7e1be741
L
1899 * elf/elf.h (DF_1_NODIRECT): New macro.
1900 (DF_1_IGNMULDEF): Likewise.
1901 (DF_1_NOKSYMS): Likewise.
1902 (DF_1_NOHDR): Likewise.
1903 (DF_1_EDITED): Likewise.
1904 (DF_1_NORELOC): Likewise.
1905 (DF_1_SYMINTPOSE): Likewise.
1906 (DF_1_GLOBAUDIT): Likewise.
1907 (DF_1_SINGLETON): Likewise.
1908 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1909 DT_1_SUPPORTED_MASK bits.
1910 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1911
105ce2ce
CD
19122012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1913
1914 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1915
123be9de
TS
19162012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1917
d072f3f7
TS
1918 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1919 macro.
1920
123be9de
TS
1921 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1922 (sendmmsg): Move declarations...
1923 * socket/sys/socket.h: ... here.
1924 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1925 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1926 include it from...
1927 * socket/recvmmsg.c: ... this new file.
1928 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1929 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1930 definition of __sendmmsg hidden.
1931 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1932 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1933 Move ENOSYS stub into and include it from...
1934 * socket/sendmmsg.c: ... this new file.
1935 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1936 (sysdep_routines): Move recvmmsg and sendmmsg...
1937 * socket/Makefile (routines): ... here.
1938 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1939 (GLIBC_PRIVATE): Add __sendmmsg.
1940 * include/sys/socket.h (__sendmmsg): Add declarations.
1941 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1942 sendmmsg.
1943
cf9a5d18
JM
19442012-11-20 Joseph Myers <joseph@codesourcery.com>
1945
1946 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1947 variable I1 with __attribute__ ((unused)).
1948 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1949
ecd4caf9
JM
19502012-11-19 Joseph Myers <joseph@codesourcery.com>
1951
be14d48f
JM
1952 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1953 DUMMY variables with __attribute__ ((unused)).
1954
ecd4caf9
JM
1955 * bits/byteswap.h: Include <bits/types.h>.
1956 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1957
986cab95
PT
19582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1959
1960 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1961 string_t. Do not manually set errno.
1962 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1963 length with __strnlen. Make sure to both set errno and return it on
1964 failure.
1965
6d33cc9d
DM
19662012-11-19 David S. Miller <davem@davemloft.net>
1967
1968 With help from Joseph Myers.
1969 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1970 very large arguments properly.
1971 * math/libm-test.inc (atan_test): New tests.
1972 (atan2_test): New tests.
1973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1974 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1975
ee663277
JM
19762012-11-19 Joseph Myers <joseph@codesourcery.com>
1977
877f2d8e
JM
1978 [BZ #14856]
1979 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1980 Define to 3.
1981
116fc08a
JM
1982 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1983 [POSIX] (EADDRNOTAVAIL): Likewise.
1984 [POSIX] (EAFNOSUPPORT): Likewise.
1985 [POSIX] (EALREADY): Likewise.
1986 [POSIX] (ECONNABORTED): Likewise.
1987 [POSIX] (ECONNREFUSED): Likewise.
1988 [POSIX] (ECONNRESET): Likewise.
1989 [POSIX] (EDESTADDRREQ): Likewise.
1990 [POSIX] (EDQUOT): Likewise.
1991 [POSIX] (EHOSTUNREACH): Likewise.
1992 [POSIX] (EIDRM): Likewise.
1993 [POSIX] (EISCONN): Likewise.
1994 [POSIX] (ELOOP): Likewise.
1995 [POSIX] (EMULTIHOP): Likewise.
1996 [POSIX] (ENETDOWN): Likewise.
1997 [POSIX] (ENETUNREACH): Likewise.
1998 [POSIX] (ENOBUFS): Likewise.
1999 [POSIX] (ENODATA): Likewise.
2000 [POSIX] (ENOLINK): Likewise.
2001 [POSIX] (ENOMSG): Likewise.
2002 [POSIX] (ENOPROTOOPT): Likewise.
2003 [POSIX] (ENOSR): Likewise.
2004 [POSIX] (ENOSTR): Likewise.
2005 [POSIX] (ENOTCONN): Likewise.
2006 [POSIX] (ENOTSOCK): Likewise.
2007 [POSIX] (EOPNOTSUPP): Likewise.
2008 [POSIX] (EOVERFLOW): Likewise.
2009 [POSIX] (EPROTO): Likewise.
2010 [POSIX] (EPROTONOSUPPORT): Likewise.
2011 [POSIX] (EPROTOTYPE): Likewise.
2012 [POSIX] (ESTALE): Likewise.
2013 [POSIX] (ETIME): Likewise.
2014 [POSIX] (ETXTBSY): Likewise.
2015 [POSIX] (EWOULDBLOCK): Likewise.
2016 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
2017 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
2018 [POSIX] (SEEK_CUR): Likewise.
2019 [POSIX] (SEEK_END): Likewise.
2020 [POSIX || UNIX98] (mode_t): Do not require.
2021 [POSIX] (off_t): Likewise.
2022 [POSIX] (pid_t): Likewise.
2023 [POSIX] (sys/stat.h): Do not allow header.
2024 [POSIX] (unistd.h): Likewise.
2025 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2026 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2027 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2028 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2029 require.
2030 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2031 sigevent): Specify elements.
2032 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2033 entry.
2034 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2035 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2036
a483863f
JM
2037 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2038 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2039 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2040 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2041 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2042 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2043 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2044 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2045 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2046 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2047 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2048 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2049 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2050 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2051 Likewise.
2052 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2053 Likewise.
2054 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2055 Likewise.
2056 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2057 Likewise.
2058 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2059 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2060 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2061 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2062 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2063 Specify lower bound on value.
2064 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2065 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2066 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2067 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2068 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2069 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2070 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2071 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2072 value.
2073 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2074 as optional.
2075 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2076 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2077 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2078 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2079 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2080 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2081 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2082 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2083 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2084 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2085 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2086 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2087 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2088 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2089 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2090 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2091 entry.
2092 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2093 optional.
2094 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2095 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2096 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2097 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2098 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2099 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2100 Likewise.
2101 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2102 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2103 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2104 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2105 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2106 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2107 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2108 as optional.
2109 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2110 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2111 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2112 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2113 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2114 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2115 specify as optional.
2116 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2117 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2118 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2119 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2120 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2121 [XPG3] (NL_LANGMAX): Likewise.
2122 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2123 [POSIX || XPG3] (NL_NMAX): Likewise.
2124 [POSIX || XPG3] (NL_SETMAX): Likewise.
2125 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2126 [XPG3] (NZERO): Likewise.
2127 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2128 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2129 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2130 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2131 (REG_ERANGE): Expect.
2132 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2133 optional-constant.
2134 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2135 Use (void) in prototype.
2136 [POSIX] (*_t): Allow.
2137 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2138 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2139 (WRDE_BADVAL): Expect.
2140
5ba924e3
JM
2141 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2142 expect.
2143 [XPG3 || XPG4] (O_RSYNC): Likewise.
2144 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2145 Likewise.
2146 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2147 [XPG3 || XPG4] (sigqueue): Likewise.
2148 [XPG3 || XPG4] (sigtimedwait): Likewise.
2149 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2150 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2151 [XPG3 || XPG4] (vsnprintf): Likewise.
2152 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2153 Likewise.
2154 [XPG3 || XPG4] (blksize_t): Likewise.
2155 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2156 Likewise.
2157 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2158 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2159 [XPG3 || XPG4] (struct itimerspec): Likewise.
2160 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2161 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2162 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2163 [XPG3 || XPG4] (clockid_t): Likewise.
2164 [XPG3 || XPG4] (timer_t): Likewise.
2165 [XPG3 || XPG4] (clock_getres): Likewise.
2166 [XPG3 || XPG4] (clock_gettime): Likewise.
2167 [XPG3 || XPG4] (clock_settime): Likewise.
2168 [XPG3 || XPG4] (nanosleep): Likewise.
2169 [XPG3 || XPG4] (timer_create): Likewise.
2170 [XPG3 || XPG4] (timer_delete): Likewise.
2171 [XPG3 || XPG4] (timer_gettime): Likewise.
2172 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2173 [XPG3 || XPG4] (timer_settime): Likewise.
2174 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2175 [XPG3 || XPG4] (getlogin_r): Likewise.
2176 [XPG3 || XPG4] (pread): Likewise.
2177 [XPG3 || XPG4] (pthread_atfork): Likewise.
2178 [XPG3 || XPG4] (pwrite): Likewise.
2179
ee663277
JM
2180 [BZ #14835]
2181 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2182 <bits/siginfo.h>.
2183
942caa16
PT
21842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2185
e19af380
PT
2186 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2187 finalizing MALLSTREAM.
2188
942caa16
PT
2189 * sysdeps/mach/hurd/syncfs.c: New file.
2190
cfde9b46
SP
21912012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2192
2193 [BZ #14719]
2194 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2195 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2196 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2197 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2198 (_nss_dns_gethostbyname4_r): Likewise.
2199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2200 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2201
f6da27e5
PH
22022012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2203
2204 [BZ #13763]
2205 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2206
6665d4a2
SM
22072012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2208
1f51ee92
SM
2209 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2210 * elf/cache.c (print_entry): Print ",AArch64" for
2211 FLAG_AARCH64_LIB64
2212
6665d4a2
SM
2213 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2214 * elf/cache.c (print_entry): Print ",hard-float" for
2215 FLAG_ARM_LIBHF.
2216
05b227bd
DM
22172012-11-18 David S. Miller <davem@davemloft.net>
2218
2219 With help from Joseph Myers.
2220 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2221 cutoff to 2**-13.
2222 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2223 cutoff to 2**-25.
2224 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2225 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2226 small.
2227 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2228 * math/libm-test.inc (y0_test): New tests.
2229 (y1_test): New tests.
2230 * sysdeps/i386/fpu/libm-test-ulps: Update.
2231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2233
786b0b67
AS
22342012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2235
2236 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2237 64-bit targets.
2238 * configure: Regenerated.
2239
8e18b86d
DM
22402012-11-17 David S. Miller <davem@davemloft.net>
2241
2242 [BZ #14811]
2243 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2244 nonzero exponents with absolute value below 0x1p-128 to +/-
2245 0x1p-128.
2246
531f1ae0
JM
22472012-11-17 Joseph Myers <joseph@codesourcery.com>
2248
12df29e2
JM
2249 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2250
150dc1a0
JM
2251 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2252
531f1ae0
JM
2253 * posix/getconf-speclist.c: New file.
2254 * posix/posix-envs.def: Likewise.
2255 * posix/confstr.c (START_ENV_GROUP): New macro.
2256 (END_ENV_GROUP): Likewise.
2257 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2258 (KNOWN_PRESENT_ENV_STRING): Likewise.
2259 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2260 (UNKNOWN_ENVIRONMENT): Likewise.
2261 (confstr): Include posix-envs.def instead of handling
2262 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2263 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2264 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2265 (END_ENV_GROUP): Likewise.
2266 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2267 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2268 (UNKNOWN_ENVIRONMENT): Likewise.
2269 (__sysconf): Include posix-envs.def instead of handling associated
2270 cases directly here.
2271 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2272 preprocessing getconf-speclist.c rather than running getconf or
2273 generating empty file.
2274
a93f9cbc
PT
22752012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2276
2277 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2278
d64d9f87
AL
22792012-11-16 Andrej Lajovic <natrij@gmail.com>
2280
2281 [BZ #14672]
2282 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2283
447885eb
DM
22842012-11-16 David S. Miller <davem@davemloft.net>
2285
2286 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2287 smaller than LDBL_EPSILON/2.0L, just return xm1.
2288
bcbf9830
L
22892012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2290
2291 * elf/tst-array1.c (init): Set constructor priority to 1000.
2292 (fini): Set destructor priority to 1000.
2293 * elf/tst-array2dep.c: Likewise.
2294
2b766585
SP
22952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2296
2297 [BZ #11741]
2298 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2299 (_IO_new_file_xsputn): Also return EOF if none of the input
2300 data was written when overflow failed.
2301 * libio/iopadn.c (_IO_padn): Likewise.
2302 * libio/iowpadn.c (_IO_wpadn): Likewise.
2303 * stdio-common/tst-put-error.c: Add copyright notice.
2304 (do_test): Add case for printing padded string.
2305 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2306 _IO_padn returned error.
2307 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2308 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2309 return EOF.
2310
b1848fde
SP
23112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2312
2313 * libio/libioP.h: Add comment note that the references to C++
2314 bits are now obsolete.
2315
2fd89785
MS
23162012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2317
2318 * math/libm-test.inc (check_complex): Use asprintf.
2319
e3ea5409
JM
23202012-11-14 Joseph Myers <joseph@codesourcery.com>
2321
2322 * debug/pcprofiledump.c (print_version): Update copyright year.
2323 * malloc/memusagestat.c (print_version): Likewise.
2324
2e64d265
L
23252012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2326
2327 [BZ #14831]
2328 * elf/Makefile (tests): Add tst-audit8.
2329 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2330 ($(objpfx)tst-audit8.out): New target.
2331 (tst-audit8-ENV): New variable.
2332 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2333 audit if l_reloc_result is NULL.
2334 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2335 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2336 * elf/tst-audit8.c: New file.
2337
c485e4d2
MS
23382012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2339
2340 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2341 * misc/Makefile (CFLAGS-select.c): Define.
2342 * posix/Makefile (CFLAGS-pause.c): Define.
2343
3a0d900a
DM
23442012-11-13 David S. Miller <davem@davemloft.net>
2345
2346 * crypt/Makefile: Move test targets after toplevel Rules
2347 inclusion. Grab any necessary sysdep routines when linking.
2348 * crypt/md5.c (md5_process_block): Remove define, we will always
2349 name it __md5_process_block.
2350 (md5_finish_ctx): Update md5_process_block call.
2351 (md5_stream): Likewise.
2352 (md5_process_bytes): Likewise.
2353 (md5_process_block): Rename to __md5_process_block and move to ...
2354 * crypt/md5-block.c: ... here.
2355 * crypt/sha256.c (sha256_process_block): Move to ...
2356 * crypt/sha256-block.c: ... here.
2357 * crypt/sha512.c (sha512_process_block): Move to ...
2358 * crypt/sha512-block.c: ... here.
2359 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2360 path.
2361 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2362 * sysdeps/sparc/sparc64/multiarch/Makefile
2363 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2364 crypt subdir.
2365 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2366 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2367 multiarch changes.
2368 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2369 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2370 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2371 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2372 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2373 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2374 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2375 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2376 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2377 file.
2378 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2379 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2380 file.
2381 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2382
8ca89318
JM
23832012-11-13 Joseph Myers <joseph@codesourcery.com>
2384
e27d476a
JM
2385 * timezone/tzselect.ksh: Update from tzcode git revision
2386 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2387 * timezone/zdump.c: Likewise.
2388 * timezone/zic.c: Likewise.
2389 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2390 in TZVERSION setting, not $(PKGVERSION).
2391 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2392 REPORT_BUGS_TO settings.
2393
8ca89318
JM
2394 [BZ #14838]
2395 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2396 macro.
2397
47594329
MS
23982012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2399
2400 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2401 detection to immediately after _FP_ROUND().
2402 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2403 bits are 0.
2404
640ac3f1
DM
24052012-11-11 David S. Miller <davem@davemloft.net>
2406
2407 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2408 inttypes.h
2409 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2410 __close rather than their public counterparts.
2411
3d2577bb
JM
24122012-11-10 Joseph Myers <joseph@codesourcery.com>
2413
2414 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2415 file.
2416 [UNIX98] (sem_timedwait): Do not expect.
2417 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2418 [XPG4 || UNIX98] (sockatmark): Do not expect.
2419 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2420 (clock_getcpuclockid): Do not expect.
2421 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2422 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2423 Do not expect.
2424 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2425 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2426 [UNIX98] (vwscanf): Likewise.
2427 [UNIX98] (vswscanf): Likewise.
2428
fb1ae1ee
JM
24292012-11-09 Joseph Myers <joseph@codesourcery.com>
2430
9ec6f8bd
JM
2431 * timezone/version.h: Remove file.
2432 * timezone/README: Do not refer to version.h.
2433 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2434 $(objpfx)version.h.
2435 ($(objpfx)zdump.o): Likewise.
c3f81911 2436 ($(objpfx)version.h): New target.
9ec6f8bd 2437
0aa8f8a1
JM
2438 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2439 2012i.
2440 * timezone/README: Don't mention modification to tzselect.ksh.
2441 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2442 work on unmodified tzselect.ksh. Substitute version numbers in
2443 tzselect.ksh.
2444
4e87147f
JM
2445 * Makefile (format-me): Remove.
2446 (INSTALL): Adjust indentation. Use commands directly instead of
2447 using $(format-me).
2448
8b748aed
JM
2449 * aclocal.m4 (ACX_PKGVERSION): New macro.
2450 (ACX_BUGURL): Likewise.
2451 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2452 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2453 (REPORT_BUGS_TO): Likewise.
2454 * configure: Regenerated.
2455 * config.h.in (PKGVERSION): New macro.
2456 (REPORT_BUGS_TO): Likewise.
2457 * config.make.in (PKGVERSION): New variable.
2458 (PKGVERSION_TEXI): Likewise.
2459 (REPORT_BUGS_TO): Likewise.
2460 (REPORT_BUGS_TEXI): Likewise.
2461 * Makefile (format-me): Use -I$(common-objpfx)manual.
2462 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2463 ($(common-objpfx)manual/%): New target.
2464 (manual/%): Remove target.
2465 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2466 (print_version): Use PKGVERSION.
2467 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2468 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2469 and REPORT_BUGS_TO.
2470 ($(objpfx)xtrace): Likewise.
2471 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2472 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2473 (print_version): Use PKGVERSION.
2474 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2475 (do_version): Use PKGVERSION.
2476 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2477 REPORT_BUGS_TO.
2478 (common-ldd-rewrite): Likewise.
2479 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2480 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2481 (print_version): Use PKGVERSION.
2482 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2483 * elf/pldd.c (argp_program_bug_address): Remove variable.
2484 (more_help): New function.
2485 (argp): Use more_help.
2486 (print_version): Use PKGVERSION.
2487 * elf/sln.c (main): Use PKGVERSION.
2488 (usage): Use REPORT_BUGS_TO.
2489 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2490 (top level): Use PKGVERSION.
2491 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2492 (print_version): Use PKGVERSION.
2493 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2494 (print_version): Use PKGVERSION.
2495 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2496 (print_version): Use PKGVERSION.
2497 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2498 (print_version): Use PKGVERSION.
2499 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2500 (print_version): Use PKGVERSION.
2501 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2502 (print_version): Use PKGVERSION.
2503 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2504 and BUGURL.
2505 ($(objpfx)memusage): Likewise.
2506 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2507 (do_version): Use PKGVERSION.
2508 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2509 (print_version): Use PKGVERSION.
2510 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2511 ($PKGVERSION): New variable.
2512 ($REPORT_BUGS_TO): Likewise.
2513 (usage): Use $REPORT_BUGS_TO.
2514 (top level): Use $PKGVERSION.
2515 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2516 ($(objpfx)pkgvers.texi): New rule.
2517 ($(objpfx)stamp-pkgvers): Likewise.
2518 * manual/install.texi: Include pkgvers.texi.
2519 (--with-pkgversion): Document new configure option.
2520 (--with-bugurl): Likewise.
2521 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2522 than necessarily for this particular distribution. Use
2523 REPORT_BUGS_TO for where to report bugs.
2524 * INSTALL: Regenerated.
2525 * manual/libc.texinfo: Include pkgvers.texi.
2526 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2527 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2528 (print_version): Use PKGVERSION.
2529 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2530 (print_version): Use PKGVERSION.
2531 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2532 (print_version): Use PKGVERSION.
2533 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2534 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2535 macro.
2536 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2537 (print_version): Use PKGVERSION.
2538 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2539 (print_version): Use PKGVERSION.
2540 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2541 and PKGVERSION.
2542
92e4b6a9
JM
2543 * timezone/checktab.awk: Update from tzcode 2012i.
2544 * timezone/ialloc.c: Likewise.
2545 * timezone/private.h: Likewise.
2546 * timezone/scheck.c: Likewise.
2547 * timezone/tzfile.h: Likewise.
2548 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2549 (TZVERSION): Hardcode tzcode version number.
2550 * timezone/zdump.c: Update from tzcode 2012i.
2551 * timezone/zic.c: Likewise.
2552 * timezone/version.h: New file.
2553 * timezone/README: Describe version.h. Update upstream location.
2554
9bde902c
JM
2555 [BZ #14824]
2556 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2557 (mktemp): Enable declaration.
2558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2559 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2562 Likewise.
2563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2564 Likewise.
2565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2566 Likewise.
2567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2568 Likewise.
2569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2570 Likewise.
2571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2572 Likewise.
2573
fb1ae1ee
JM
2574 [BZ #14821]
2575 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2576 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2577 for copies of such integer values.
2578 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2579 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2580
2c1adbcb
AJ
25812012-11-09 Andreas Jaeger <aj@suse.de>
2582
2583 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2584 definitions and declarations that are provided by
2585 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2586
d0f8457e
AK
25872012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2588
3a235abb 2589 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2590 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2591 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2592 definition.
2593
57241e26
MS
25942012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2595
2596 * elf/elf.h: Update comment before AArch64 relocations.
2597
60e8270d
DM
25982012-11-07 David S. Miller <davem@davemloft.net>
2599
2600 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2601 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2602 (__start_context): Declare.
2603 (__makecontext_ret): Delete.
2604 (__makecontext): Hook up __start_context instead of
2605 __makecontext_ret.
2606 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2607 (sysdep_routines): Add __start_context when in stdlib.
2608
0fbb0fbc
JM
26092012-11-07 Joseph Myers <joseph@codesourcery.com>
2610
2611 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2612 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2613 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2614 hardcoded "nm".
2615 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2616 (READELF): New variable. Use it instead of hardcoded "readelf".
2617
eb48db7e
L
26182012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2619
2620 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2621 * sysdeps/x86/Makefile: Here.
2622 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2623 * sysdeps/x86/tst-xmmymm.sh: This.
2624
05bcf62a
JM
26252012-11-07 Joseph Myers <joseph@codesourcery.com>
2626
c4b6cf53
JM
2627 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2628 expectations.
2629 [UNIX98] (pthread_barrier_t): Do not expect.
2630 [UNIX98] (pthread_barrierattr_t): Likewise.
2631 [UNIX98] (pthread_spinlock_t): Likewise.
2632 [UNIX98] (pthread_barrier_destroy): Likewise.
2633 [UNIX98] (pthread_barrier_init): Likewise.
2634 [UNIX98] (pthread_barrier_wait): Likewise.
2635 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2636 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2637 [UNIX98] (pthread_barrierattr_init): Likewise.
2638 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2639 [UNIX98] (pthread_getcpuclockid): Likewise.
2640 [UNIX98] (pthread_mutex_timedlock): Likewise.
2641 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2642 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2643 [UNIX98] (pthread_sigmask): Likewise.
2644 [UNIX98] (pthread_spin_destroy): Likewise.
2645 [UNIX98] (pthread_spin_init): Likewise.
2646 [UNIX98] (pthread_spin_lock): Likewise.
2647 [UNIX98] (pthread_spin_trylock): Likewise.
2648 [UNIX98] (pthread_spin_unlock): Likewise.
2649 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2650 Do not expect.
2651 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2652 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2653 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2654 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2655 [XPG3 || XPG4] (pthread_key_t): Likewise.
2656 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2657 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2658 [XPG3 || XPG4] (pthread_once_t): Likewise.
2659 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2660 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2661 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2662 [XPG3 || XPG4] (pthread_t): Likewise.
2663
cbe6e120
JM
2664 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2665 not expect.
2666 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2667
1b126443
JM
2668 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2669 Change function return type to int.
2670
b961a573
JM
2671 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2672 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2673 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2674 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2675 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2676 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2677 [!POSIX] (posix_madvise): Likewise.
2678 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2679 && !UNIX98].
2680 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2681 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2682 (mode_t): Likewise.
2683 (posix_mem_offset): Likewise.
2684 (posix_typed_mem_get_info): Likewise.
2685 (posix_typed_mem_open): Likewise.
2686
9e188909
JM
2687 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2688 Change condition to [XOPEN2K8].
2689
05bcf62a
JM
2690 * conform/conformtest.pl: Preprocess allow-header data with -x c
2691 instead of from stdin.
2692 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2693 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2694 [C99-based standards] (cerfc): Likewise.
2695 [C99-based standards] (cexp2): Likewise.
2696 [C99-based standards] (cexpm1): Likewise.
2697 [C99-based standards] (clog10): Likewise.
2698 [C99-based standards] (clog1p): Likewise.
2699 [C99-based standards] (clog2): Likewise.
2700 [C99-based standards] (clgamma): Likewise.
2701 [C99-based standards] (ctgamma): Likewise.
2702 [C99-based standards] (cerff): Likewise.
2703 [C99-based standards] (cerfcf): Likewise.
2704 [C99-based standards] (cexp2f): Likewise.
2705 [C99-based standards] (cexpm1f): Likewise.
2706 [C99-based standards] (clog10f): Likewise.
2707 [C99-based standards] (clog1pf): Likewise.
2708 [C99-based standards] (clog2f): Likewise.
2709 [C99-based standards] (clgammaf): Likewise.
2710 [C99-based standards] (ctgammaf): Likewise.
2711 [C99-based standards] (cerfl): Likewise.
2712 [C99-based standards] (cerfcl): Likewise.
2713 [C99-based standards] (cexp2l): Likewise.
2714 [C99-based standards] (cexpm1l): Likewise.
2715 [C99-based standards] (clog10l): Likewise.
2716 [C99-based standards] (clog1pl): Likewise.
2717 [C99-based standards] (clog2l): Likewise.
2718 [C99-based standards] (clgammal): Likewise.
2719 [C99-based standards] (ctgammal): Likewise.
2720 * conform/data/inttypes.h-data [C99-based standards]: Include
2721 stdint.h-data. Remove all expectations for stdint.h contents.
2722 [C99-based standards] (PRI*): Do not allow.
2723 [C99-based standards] (SCN*): Likewise.
2724 [C99-based standards] (*_t): Likewise.
2725 [C99-based-standards] (PRId8): Expect macro.
2726 [C99-based-standards] (PRIi8): Likewise.
2727 [C99-based-standards] (PRIo8): Likewise.
2728 [C99-based-standards] (PRIu8): Likewise.
2729 [C99-based-standards] (PRIx8): Likewise.
2730 [C99-based-standards] (PRIX8): Likewise.
2731 [C99-based-standards] (SCNd8): Likewise.
2732 [C99-based-standards] (SCNi8): Likewise.
2733 [C99-based-standards] (SCNo8): Likewise.
2734 [C99-based-standards] (SCNu8): Likewise.
2735 [C99-based-standards] (SCNx8): Likewise.
2736 [C99-based-standards] (PRIdLEAST8): Likewise.
2737 [C99-based-standards] (PRIiLEAST8): Likewise.
2738 [C99-based-standards] (PRIoLEAST8): Likewise.
2739 [C99-based-standards] (PRIuLEAST8): Likewise.
2740 [C99-based-standards] (PRIxLEAST8): Likewise.
2741 [C99-based-standards] (PRIXLEAST8): Likewise.
2742 [C99-based-standards] (SCNdLEAST8): Likewise.
2743 [C99-based-standards] (SCNiLEAST8): Likewise.
2744 [C99-based-standards] (SCNoLEAST8): Likewise.
2745 [C99-based-standards] (SCNuLEAST8): Likewise.
2746 [C99-based-standards] (SCNxLEAST8): Likewise.
2747 [C99-based-standards] (PRIdFAST8): Likewise.
2748 [C99-based-standards] (PRIiFAST8): Likewise.
2749 [C99-based-standards] (PRIoFAST8): Likewise.
2750 [C99-based-standards] (PRIuFAST8): Likewise.
2751 [C99-based-standards] (PRIxFAST8): Likewise.
2752 [C99-based-standards] (PRIXFAST8): Likewise.
2753 [C99-based-standards] (SCNdFAST8): Likewise.
2754 [C99-based-standards] (SCNiFAST8): Likewise.
2755 [C99-based-standards] (SCNoFAST8): Likewise.
2756 [C99-based-standards] (SCNuFAST8): Likewise.
2757 [C99-based-standards] (SCNxFAST8): Likewise.
2758 [C99-based-standards] (PRId16): Likewise.
2759 [C99-based-standards] (PRIi16): Likewise.
2760 [C99-based-standards] (PRIo16): Likewise.
2761 [C99-based-standards] (PRIu16): Likewise.
2762 [C99-based-standards] (PRIx16): Likewise.
2763 [C99-based-standards] (PRIX16): Likewise.
2764 [C99-based-standards] (SCNd16): Likewise.
2765 [C99-based-standards] (SCNi16): Likewise.
2766 [C99-based-standards] (SCNo16): Likewise.
2767 [C99-based-standards] (SCNu16): Likewise.
2768 [C99-based-standards] (SCNx16): Likewise.
2769 [C99-based-standards] (PRIdLEAST16): Likewise.
2770 [C99-based-standards] (PRIiLEAST16): Likewise.
2771 [C99-based-standards] (PRIoLEAST16): Likewise.
2772 [C99-based-standards] (PRIuLEAST16): Likewise.
2773 [C99-based-standards] (PRIxLEAST16): Likewise.
2774 [C99-based-standards] (PRIXLEAST16): Likewise.
2775 [C99-based-standards] (SCNdLEAST16): Likewise.
2776 [C99-based-standards] (SCNiLEAST16): Likewise.
2777 [C99-based-standards] (SCNoLEAST16): Likewise.
2778 [C99-based-standards] (SCNuLEAST16): Likewise.
2779 [C99-based-standards] (SCNxLEAST16): Likewise.
2780 [C99-based-standards] (PRIdFAST16): Likewise.
2781 [C99-based-standards] (PRIiFAST16): Likewise.
2782 [C99-based-standards] (PRIoFAST16): Likewise.
2783 [C99-based-standards] (PRIuFAST16): Likewise.
2784 [C99-based-standards] (PRIxFAST16): Likewise.
2785 [C99-based-standards] (PRIXFAST16): Likewise.
2786 [C99-based-standards] (SCNdFAST16): Likewise.
2787 [C99-based-standards] (SCNiFAST16): Likewise.
2788 [C99-based-standards] (SCNoFAST16): Likewise.
2789 [C99-based-standards] (SCNuFAST16): Likewise.
2790 [C99-based-standards] (SCNxFAST16): Likewise.
2791 [C99-based-standards] (PRId32): Likewise.
2792 [C99-based-standards] (PRIi32): Likewise.
2793 [C99-based-standards] (PRIo32): Likewise.
2794 [C99-based-standards] (PRIu32): Likewise.
2795 [C99-based-standards] (PRIx32): Likewise.
2796 [C99-based-standards] (PRIX32): Likewise.
2797 [C99-based-standards] (SCNd32): Likewise.
2798 [C99-based-standards] (SCNi32): Likewise.
2799 [C99-based-standards] (SCNo32): Likewise.
2800 [C99-based-standards] (SCNu32): Likewise.
2801 [C99-based-standards] (SCNx32): Likewise.
2802 [C99-based-standards] (PRIdLEAST32): Likewise.
2803 [C99-based-standards] (PRIiLEAST32): Likewise.
2804 [C99-based-standards] (PRIoLEAST32): Likewise.
2805 [C99-based-standards] (PRIuLEAST32): Likewise.
2806 [C99-based-standards] (PRIxLEAST32): Likewise.
2807 [C99-based-standards] (PRIXLEAST32): Likewise.
2808 [C99-based-standards] (SCNdLEAST32): Likewise.
2809 [C99-based-standards] (SCNiLEAST32): Likewise.
2810 [C99-based-standards] (SCNoLEAST32): Likewise.
2811 [C99-based-standards] (SCNuLEAST32): Likewise.
2812 [C99-based-standards] (SCNxLEAST32): Likewise.
2813 [C99-based-standards] (PRIdFAST32): Likewise.
2814 [C99-based-standards] (PRIiFAST32): Likewise.
2815 [C99-based-standards] (PRIoFAST32): Likewise.
2816 [C99-based-standards] (PRIuFAST32): Likewise.
2817 [C99-based-standards] (PRIxFAST32): Likewise.
2818 [C99-based-standards] (PRIXFAST32): Likewise.
2819 [C99-based-standards] (SCNdFAST32): Likewise.
2820 [C99-based-standards] (SCNiFAST32): Likewise.
2821 [C99-based-standards] (SCNoFAST32): Likewise.
2822 [C99-based-standards] (SCNuFAST32): Likewise.
2823 [C99-based-standards] (SCNxFAST32): Likewise.
2824 [C99-based-standards] (PRId64): Likewise.
2825 [C99-based-standards] (PRIi64): Likewise.
2826 [C99-based-standards] (PRIo64): Likewise.
2827 [C99-based-standards] (PRIu64): Likewise.
2828 [C99-based-standards] (PRIx64): Likewise.
2829 [C99-based-standards] (PRIX64): Likewise.
2830 [C99-based-standards] (SCNd64): Likewise.
2831 [C99-based-standards] (SCNi64): Likewise.
2832 [C99-based-standards] (SCNo64): Likewise.
2833 [C99-based-standards] (SCNu64): Likewise.
2834 [C99-based-standards] (SCNx64): Likewise.
2835 [C99-based-standards] (PRIdLEAST64): Likewise.
2836 [C99-based-standards] (PRIiLEAST64): Likewise.
2837 [C99-based-standards] (PRIoLEAST64): Likewise.
2838 [C99-based-standards] (PRIuLEAST64): Likewise.
2839 [C99-based-standards] (PRIxLEAST64): Likewise.
2840 [C99-based-standards] (PRIXLEAST64): Likewise.
2841 [C99-based-standards] (SCNdLEAST64): Likewise.
2842 [C99-based-standards] (SCNiLEAST64): Likewise.
2843 [C99-based-standards] (SCNoLEAST64): Likewise.
2844 [C99-based-standards] (SCNuLEAST64): Likewise.
2845 [C99-based-standards] (SCNxLEAST64): Likewise.
2846 [C99-based-standards] (PRIdFAST64): Likewise.
2847 [C99-based-standards] (PRIiFAST64): Likewise.
2848 [C99-based-standards] (PRIoFAST64): Likewise.
2849 [C99-based-standards] (PRIuFAST64): Likewise.
2850 [C99-based-standards] (PRIxFAST64): Likewise.
2851 [C99-based-standards] (PRIXFAST64): Likewise.
2852 [C99-based-standards] (SCNdFAST64): Likewise.
2853 [C99-based-standards] (SCNiFAST64): Likewise.
2854 [C99-based-standards] (SCNoFAST64): Likewise.
2855 [C99-based-standards] (SCNuFAST64): Likewise.
2856 [C99-based-standards] (SCNxFAST64): Likewise.
2857 [C99-based-standards] (PRIdMAX): Likewise.
2858 [C99-based-standards] (PRIiMAX): Likewise.
2859 [C99-based-standards] (PRIoMAX): Likewise.
2860 [C99-based-standards] (PRIuMAX): Likewise.
2861 [C99-based-standards] (PRIxMAX): Likewise.
2862 [C99-based-standards] (PRIXMAX): Likewise.
2863 [C99-based-standards] (SCNdMAX): Likewise.
2864 [C99-based-standards] (SCNiMAX): Likewise.
2865 [C99-based-standards] (SCNoMAX): Likewise.
2866 [C99-based-standards] (SCNuMAX): Likewise.
2867 [C99-based-standards] (SCNxMAX): Likewise.
2868 [C99-based-standards] (PRIdPTR): Likewise.
2869 [C99-based-standards] (PRIiPTR): Likewise.
2870 [C99-based-standards] (PRIoPTR): Likewise.
2871 [C99-based-standards] (PRIuPTR): Likewise.
2872 [C99-based-standards] (PRIxPTR): Likewise.
2873 [C99-based-standards] (PRIXPTR): Likewise.
2874 [C99-based-standards] (SCNdPTR): Likewise.
2875 [C99-based-standards] (SCNiPTR): Likewise.
2876 [C99-based-standards] (SCNoPTR): Likewise.
2877 [C99-based-standards] (SCNuPTR): Likewise.
2878 [C99-based-standards] (SCNxPTR): Likewise.
2879 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2880 allow.
2881 * conform/data/stdint.h-data: Update comments to clarify
2882 requirements.
2883 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2884 type.
2885 [C99-based standards] (INT8_MAX): Likewise.
2886 [C99-based standards] (INT16_MIN): Likewise.
2887 [C99-based standards] (INT16_MAX): Likewise.
2888 [C99-based standards] (INT32_MIN): Likewise.
2889 [C99-based standards] (INT32_MAX): Likewise.
2890 [C99-based standards] (INT64_MIN): Likewise.
2891 [C99-based standards] (INT64_MAX): Likewise.
2892 [C99-based standards] (UINT8_MAX): Likewise.
2893 [C99-based standards] (UINT16_MAX): Likewise.
2894 [C99-based standards] (UINT32_MAX): Likewise.
2895 [C99-based standards] (UINT64_MAX): Likewise.
2896 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2897 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2898 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2899 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2900 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2901 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2902 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2903 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2904 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2905 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2906 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2907 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2908 [C99-based standards] (INT_FAST8_MIN): Likewise.
2909 [C99-based standards] (INT_FAST8_MAX): Likewise.
2910 [C99-based standards] (INT_FAST16_MIN): Likewise.
2911 [C99-based standards] (INT_FAST16_MAX): Likewise.
2912 [C99-based standards] (INT_FAST32_MIN): Likewise.
2913 [C99-based standards] (INT_FAST32_MAX): Likewise.
2914 [C99-based standards] (INT_FAST64_MIN): Likewise.
2915 [C99-based standards] (INT_FAST64_MAX): Likewise.
2916 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2917 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2918 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2919 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2920 [C99-based standards] (INTPTR_MIN): Likewise.
2921 [C99-based standards] (INTPTR_MAX): Likewise.
2922 [C99-based standards] (UINTPTR_MAX): Likewise.
2923 [C99-based standards] (INTMAX_MIN): Likewise.
2924 [C99-based standards] (INTMAX_MAX): Likewise.
2925 [C99-based standards] (UINTMAX_MAX): Likewise.
2926 [C99-based standards] (PTRDIFF_MIN): Likewise.
2927 [C99-based standards] (PTRDIFF_MAX): Likewise.
2928 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2929 [C99-based standards] (SIZE_MAX): Likewise.
2930 [C99-based standards] (WCHAR_MAX): Likewise.
2931 [C99-based standards] (WINT_MAX): Likewise.
2932 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2933 constraint on value.
2934 [C99-based standards] (WCHAR_MIN): Likewise.
2935 [C99-based standards] (WINT_MIN): Likewise.
2936 [C99-based standards] (*_t): Allow.
2937 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2938 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2939 Include math.h-data and complex.h-data. Remove all expectations
2940 of math.h and complex.h contents.
2941 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2942 at end of line.
2943 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2944 (struct tm): Expect tag.
2945 [C99-based-standards] (wcstof): Expect function.
2946 [C99-based-standards] (wcstold): Likewise.
2947 [C99-based-standards] (wcstoll): Likewise.
2948 [C99-based-standards] (wcstoull): Likewise.
2949 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2950 macro-int-constant. Specify type.
2951 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2952 constraint on value.
2953 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2954 Specify type.
2955 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2956 Specify value.
2957 [ISO C standards]: Do not allow headers.
2958 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2959 wcs[abcdefghijklmnopqrstuvwxyz]*.
2960 [ISO C standards] (*_t): Do not allow.
2961 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2962 Expect function.
2963 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2964 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2965 Specify type.
2966 [ISO C standards]: Do not allow headers.
2967 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2968 is[abcdefghijklmnopqrstuvwxyz]*.
2969 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2970 to[abcdefghijklmnopqrstuvwxyz]*.
2971 [ISO C standards] (*_t): Do not allow.
2972 * conform/data/stdalign.h-data: New file.
2973 * conform/data/stdbool.h-data: Likewise.
2974 * conform/data/stdnoreturn.h-data: Likewise.
2975
7514feb8
RM
29762012-11-07 Roland McGrath <roland@hack.frob.com>
2977
2978 [BZ #14815]
2979 * manual/filesys.texi (Directory Entries): Typo fix.
2980 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2981
19b2ecfc
MS
29822012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2983
2984 * elf/elf.h (EM_AARCH64): New macro.
2985 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2986 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2987 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2988 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2989 (R_AARCH64_TLSDESC): Likewise.
2990 (NT_ARM_TLS): Likewise.
2991 (NT_ARM_HW_BREAK): Likewise.
2992 (NT_ARM_HW_WATCH): Likewise.
2993
60e235ee
JM
29942012-11-07 Joseph Myers <joseph@codesourcery.com>
2995
2996 [BZ #14811]
2997 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2998 (__ieee754_powl): Saturate nonzero exponents with absolute value
2999 below 0x1p-79 to +/- 0x1p-79.
3000 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
3001 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
3002 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
3003 nonzero exponents with absolute value below 0x1p-32 to +/-
3004 0x1p-32.
3005 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
3006 (__ieee754_powl): Saturate nonzero exponents with absolute value
3007 below 0x1p-79 to +/- 0x1p-79.
3008 * math/libm-test.inc (pow_test): Add more tests.
3009
0ab234b7
AK
30102012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3011
3012 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
3013 _dl_s390_cap_flags with kernel. Increase string length.
3014 (_dl_s390_platforms): Add z196 and zEC12.
3015
45832f74
JM
30162012-11-07 Joseph Myers <joseph@codesourcery.com>
3017
3018 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3019 Change XOPEN21K to XOPEN2K.
3020
19218757
MK
30212012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3022
3023 * string/memmove.c: Use memcpy when possible.
3024
c5f45721
AJ
30252012-11-06 Andreas Jaeger <aj@suse.de>
3026
3027 * po/eo.po: Update from translation team.
3028
82477c28
JM
30292012-11-06 Joseph Myers <joseph@codesourcery.com>
3030
3031 [BZ #14793]
3032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3033 exponent and small x and y exponents, scale x or y up. Increase
3034 by 2 the exponent used in scaling up.
3035 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3036 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3037 * math/libm-test.inc (fma_test): Add more tests.
3038 (fma_test_towardzero): Likewise.
3039 (fma_test_downward): Likewise.
3040 (fma_test_upward): Likewise.
3041
99252c8c
JM
30422012-11-05 Joseph Myers <joseph@codesourcery.com>
3043
acfa885f
JM
3044 [BZ #14805]
3045 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3046 fenv_t *.
3047
99252c8c
JM
3048 [BZ #14801]
3049 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3050 namespace for names of struct fields.
3051 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3052 fenv_t fields.
3053 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3054 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3055
d6d98dea
ST
30562012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3057
3058 [BZ #3665]
3059 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3060
e10bb107
TS
30612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3062
3063 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3064 PTR_DEMANGLE.
3065
3066 [BZ #5246]
3067 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3068 PTR_DEMANGLE.
3069
a0c2940d
JM
30702012-11-04 Joseph Myers <joseph@codesourcery.com>
3071
3072 [BZ #14797]
3073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3074 definitely overflow as x * y not x * y + z.
3075 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3076 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3077 * math/libm-test.inc (fma_test): Add more tests.
3078 (fma_test_towardzero): Likewise.
3079 (fma_test_downward): Likewise.
3080 (fma_test_upward): Likewise.
3081
b830319d
TS
30822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3083
3084 [BZ #157]
3085
3086 * include/stub-tag.h: Remove file.
3087 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3088 '#include' of it.
3089 * manual/maint.texi (Porting): Don't reference it.
3090 * Makerules ($(objpfx)stubs): Likewise.
3091 * dirent/closedir.c: Don't include <stub-tag.h>.
3092 * dirent/dirfd.c: Likewise.
3093 * dirent/fdopendir.c: Likewise.
3094 * dirent/getdents.c: Likewise.
3095 * dirent/getdents64.c: Likewise.
3096 * dirent/opendir.c: Likewise.
3097 * dirent/readdir.c: Likewise.
3098 * dirent/readdir64.c: Likewise.
3099 * dirent/readdir64_r.c: Likewise.
3100 * dirent/readdir_r.c: Likewise.
3101 * dirent/rewinddir.c: Likewise.
3102 * dirent/seekdir.c: Likewise.
3103 * dirent/telldir.c: Likewise.
3104 * gmon/profil.c: Likewise.
3105 * grp/setgroups.c: Likewise.
3106 * inet/if_index.c: Likewise.
3107 * io/access.c: Likewise.
3108 * io/chdir.c: Likewise.
3109 * io/chmod.c: Likewise.
3110 * io/chown.c: Likewise.
3111 * io/close.c: Likewise.
3112 * io/dup.c: Likewise.
3113 * io/dup2.c: Likewise.
3114 * io/dup3.c: Likewise.
3115 * io/euidaccess.c: Likewise.
3116 * io/faccessat.c: Likewise.
3117 * io/fchdir.c: Likewise.
3118 * io/fchmod.c: Likewise.
3119 * io/fchmodat.c: Likewise.
3120 * io/fchown.c: Likewise.
3121 * io/fchownat.c: Likewise.
3122 * io/fcntl.c: Likewise.
3123 * io/flock.c: Likewise.
3124 * io/fstatfs.c: Likewise.
3125 * io/fstatfs64.c: Likewise.
3126 * io/fstatvfs.c: Likewise.
3127 * io/fstatvfs64.c: Likewise.
3128 * io/futimens.c: Likewise.
3129 * io/fxstat.c: Likewise.
3130 * io/fxstat64.c: Likewise.
3131 * io/fxstatat.c: Likewise.
3132 * io/fxstatat64.c: Likewise.
3133 * io/getcwd.c: Likewise.
3134 * io/isatty.c: Likewise.
3135 * io/lchmod.c: Likewise.
3136 * io/lchown.c: Likewise.
3137 * io/link.c: Likewise.
3138 * io/linkat.c: Likewise.
3139 * io/lseek.c: Likewise.
3140 * io/lseek64.c: Likewise.
3141 * io/lxstat64.c: Likewise.
3142 * io/mkdir.c: Likewise.
3143 * io/mkdirat.c: Likewise.
3144 * io/mkfifo.c: Likewise.
3145 * io/mkfifoat.c: Likewise.
3146 * io/open.c: Likewise.
3147 * io/open64.c: Likewise.
3148 * io/openat.c: Likewise.
3149 * io/openat64.c: Likewise.
3150 * io/pipe.c: Likewise.
3151 * io/pipe2.c: Likewise.
3152 * io/poll.c: Likewise.
3153 * io/posix_fadvise.c: Likewise.
3154 * io/posix_fadvise64.c: Likewise.
3155 * io/posix_fallocate.c: Likewise.
3156 * io/posix_fallocate64.c: Likewise.
3157 * io/read.c: Likewise.
3158 * io/readlink.c: Likewise.
3159 * io/readlinkat.c: Likewise.
3160 * io/rmdir.c: Likewise.
3161 * io/sendfile.c: Likewise.
3162 * io/sendfile64.c: Likewise.
3163 * io/statfs.c: Likewise.
3164 * io/statfs64.c: Likewise.
3165 * io/statvfs.c: Likewise.
3166 * io/statvfs64.c: Likewise.
3167 * io/symlink.c: Likewise.
3168 * io/symlinkat.c: Likewise.
3169 * io/ttyname.c: Likewise.
3170 * io/ttyname_r.c: Likewise.
3171 * io/umask.c: Likewise.
3172 * io/unlink.c: Likewise.
3173 * io/unlinkat.c: Likewise.
3174 * io/utime.c: Likewise.
3175 * io/utimensat.c: Likewise.
3176 * io/write.c: Likewise.
3177 * io/xmknod.c: Likewise.
3178 * io/xmknodat.c: Likewise.
3179 * io/xstat.c: Likewise.
3180 * io/xstat64.c: Likewise.
3181 * login/getpt.c: Likewise.
3182 * login/grantpt.c: Likewise.
3183 * login/unlockpt.c: Likewise.
3184 * math/e_acoshl.c: Likewise.
3185 * math/e_acosl.c: Likewise.
3186 * math/e_asinl.c: Likewise.
3187 * math/e_atan2l.c: Likewise.
3188 * math/e_atanhl.c: Likewise.
3189 * math/e_coshl.c: Likewise.
3190 * math/e_expl.c: Likewise.
3191 * math/e_fmodl.c: Likewise.
3192 * math/e_gammal_r.c: Likewise.
3193 * math/e_hypotl.c: Likewise.
3194 * math/e_j0l.c: Likewise.
3195 * math/e_j1l.c: Likewise.
3196 * math/e_jnl.c: Likewise.
3197 * math/e_lgammal_r.c: Likewise.
3198 * math/e_log10l.c: Likewise.
3199 * math/e_log2l.c: Likewise.
3200 * math/e_logl.c: Likewise.
3201 * math/e_powl.c: Likewise.
3202 * math/e_rem_pio2l.c: Likewise.
3203 * math/e_sinhl.c: Likewise.
3204 * math/e_sqrtl.c: Likewise.
3205 * math/fclrexcpt.c: Likewise.
3206 * math/fedisblxcpt.c: Likewise.
3207 * math/feenablxcpt.c: Likewise.
3208 * math/fegetenv.c: Likewise.
3209 * math/fegetexcept.c: Likewise.
3210 * math/fegetround.c: Likewise.
3211 * math/feholdexcpt.c: Likewise.
3212 * math/fesetenv.c: Likewise.
3213 * math/fesetround.c: Likewise.
3214 * math/feupdateenv.c: Likewise.
3215 * math/fgetexcptflg.c: Likewise.
3216 * math/fraiseexcpt.c: Likewise.
3217 * math/fsetexcptflg.c: Likewise.
3218 * math/ftestexcept.c: Likewise.
3219 * math/k_cosl.c: Likewise.
3220 * math/k_rem_pio2l.c: Likewise.
3221 * math/k_sinl.c: Likewise.
3222 * math/k_tanl.c: Likewise.
3223 * math/s_asinhl.c: Likewise.
3224 * math/s_atanl.c: Likewise.
3225 * math/s_cbrtl.c: Likewise.
3226 * math/s_erfl.c: Likewise.
3227 * math/s_expm1l.c: Likewise.
3228 * math/s_log1pl.c: Likewise.
3229 * math/s_tanhl.c: Likewise.
3230 * misc/acct.c: Likewise.
3231 * misc/brk.c: Likewise.
3232 * misc/chflags.c: Likewise.
3233 * misc/chroot.c: Likewise.
3234 * misc/fchflags.c: Likewise.
3235 * misc/fgetxattr.c: Likewise.
3236 * misc/flistxattr.c: Likewise.
3237 * misc/fremovexattr.c: Likewise.
3238 * misc/fsetxattr.c: Likewise.
3239 * misc/fsync.c: Likewise.
3240 * misc/ftruncate.c: Likewise.
3241 * misc/futimes.c: Likewise.
3242 * misc/futimesat.c: Likewise.
3243 * misc/getdomain.c: Likewise.
3244 * misc/getdtsz.c: Likewise.
3245 * misc/gethostid.c: Likewise.
3246 * misc/gethostname.c: Likewise.
3247 * misc/getloadavg.c: Likewise.
3248 * misc/getpagesize.c: Likewise.
3249 * misc/getsysstats.c: Likewise.
3250 * misc/getxattr.c: Likewise.
3251 * misc/gtty.c: Likewise.
3252 * misc/ioctl.c: Likewise.
3253 * misc/lgetxattr.c: Likewise.
3254 * misc/listxattr.c: Likewise.
3255 * misc/llistxattr.c: Likewise.
3256 * misc/lremovexattr.c: Likewise.
3257 * misc/lsetxattr.c: Likewise.
3258 * misc/lutimes.c: Likewise.
3259 * misc/madvise.c: Likewise.
3260 * misc/mincore.c: Likewise.
3261 * misc/mlock.c: Likewise.
3262 * misc/mlockall.c: Likewise.
3263 * misc/mmap.c: Likewise.
3264 * misc/mprotect.c: Likewise.
3265 * misc/msync.c: Likewise.
3266 * misc/munlock.c: Likewise.
3267 * misc/munlockall.c: Likewise.
3268 * misc/munmap.c: Likewise.
3269 * misc/preadv.c: Likewise.
3270 * misc/preadv64.c: Likewise.
3271 * misc/ptrace.c: Likewise.
3272 * misc/pwritev.c: Likewise.
3273 * misc/pwritev64.c: Likewise.
3274 * misc/readv.c: Likewise.
3275 * misc/reboot.c: Likewise.
3276 * misc/remap_file_pages.c: Likewise.
3277 * misc/removexattr.c: Likewise.
3278 * misc/revoke.c: Likewise.
3279 * misc/select.c: Likewise.
3280 * misc/setdomain.c: Likewise.
3281 * misc/setegid.c: Likewise.
3282 * misc/seteuid.c: Likewise.
3283 * misc/sethostid.c: Likewise.
3284 * misc/sethostname.c: Likewise.
3285 * misc/setregid.c: Likewise.
3286 * misc/setreuid.c: Likewise.
3287 * misc/setxattr.c: Likewise.
3288 * misc/sstk.c: Likewise.
3289 * misc/stty.c: Likewise.
3290 * misc/swapoff.c: Likewise.
3291 * misc/swapon.c: Likewise.
3292 * misc/sync.c: Likewise.
3293 * misc/syncfs.c: Likewise.
3294 * misc/syscall.c: Likewise.
3295 * misc/truncate.c: Likewise.
3296 * misc/ualarm.c: Likewise.
3297 * misc/usleep.c: Likewise.
3298 * misc/ustat.c: Likewise.
3299 * misc/utimes.c: Likewise.
3300 * misc/vhangup.c: Likewise.
3301 * misc/writev.c: Likewise.
3302 * posix/_exit.c: Likewise.
3303 * posix/alarm.c: Likewise.
3304 * posix/execve.c: Likewise.
3305 * posix/fexecve.c: Likewise.
3306 * posix/fork.c: Likewise.
3307 * posix/fpathconf.c: Likewise.
3308 * posix/getaddrinfo.c: Likewise.
3309 * posix/getegid.c: Likewise.
3310 * posix/geteuid.c: Likewise.
3311 * posix/getgid.c: Likewise.
3312 * posix/getgroups.c: Likewise.
3313 * posix/getlogin.c: Likewise.
3314 * posix/getlogin_r.c: Likewise.
3315 * posix/getpgid.c: Likewise.
3316 * posix/getpid.c: Likewise.
3317 * posix/getppid.c: Likewise.
3318 * posix/getresgid.c: Likewise.
3319 * posix/getresuid.c: Likewise.
3320 * posix/getsid.c: Likewise.
3321 * posix/getuid.c: Likewise.
3322 * posix/glob64.c: Likewise.
3323 * posix/nanosleep.c: Likewise.
3324 * posix/pathconf.c: Likewise.
3325 * posix/pause.c: Likewise.
3326 * posix/posix_madvise.c: Likewise.
3327 * posix/pread.c: Likewise.
3328 * posix/pread64.c: Likewise.
3329 * posix/pwrite.c: Likewise.
3330 * posix/pwrite64.c: Likewise.
3331 * posix/sched_getaffinity.c: Likewise.
3332 * posix/sched_getp.c: Likewise.
3333 * posix/sched_gets.c: Likewise.
3334 * posix/sched_primax.c: Likewise.
3335 * posix/sched_primin.c: Likewise.
3336 * posix/sched_rr_gi.c: Likewise.
3337 * posix/sched_setaffinity.c: Likewise.
3338 * posix/sched_setp.c: Likewise.
3339 * posix/sched_sets.c: Likewise.
3340 * posix/sched_yield.c: Likewise.
3341 * posix/setgid.c: Likewise.
3342 * posix/setlogin.c: Likewise.
3343 * posix/setpgid.c: Likewise.
3344 * posix/setresgid.c: Likewise.
3345 * posix/setresuid.c: Likewise.
3346 * posix/setsid.c: Likewise.
3347 * posix/setuid.c: Likewise.
3348 * posix/sleep.c: Likewise.
3349 * posix/spawni.c: Likewise.
3350 * posix/sysconf.c: Likewise.
3351 * posix/times.c: Likewise.
3352 * posix/wait.c: Likewise.
3353 * posix/wait3.c: Likewise.
3354 * posix/wait4.c: Likewise.
3355 * posix/waitpid.c: Likewise.
3356 * resolv/gai_sigqueue.c: Likewise.
3357 * resource/getpriority.c: Likewise.
3358 * resource/getrlimit.c: Likewise.
3359 * resource/getrusage.c: Likewise.
3360 * resource/nice.c: Likewise.
3361 * resource/setpriority.c: Likewise.
3362 * resource/setrlimit.c: Likewise.
3363 * resource/ulimit.c: Likewise.
3364 * rt/aio_cancel.c: Likewise.
3365 * rt/aio_fsync.c: Likewise.
3366 * rt/aio_read.c: Likewise.
3367 * rt/aio_sigqueue.c: Likewise.
3368 * rt/aio_suspend.c: Likewise.
3369 * rt/aio_write.c: Likewise.
3370 * rt/clock_getres.c: Likewise.
3371 * rt/clock_gettime.c: Likewise.
3372 * rt/clock_nanosleep.c: Likewise.
3373 * rt/clock_settime.c: Likewise.
3374 * rt/lio_listio.c: Likewise.
3375 * rt/mq_close.c: Likewise.
3376 * rt/mq_getattr.c: Likewise.
3377 * rt/mq_notify.c: Likewise.
3378 * rt/mq_open.c: Likewise.
3379 * rt/mq_receive.c: Likewise.
3380 * rt/mq_send.c: Likewise.
3381 * rt/mq_setattr.c: Likewise.
3382 * rt/mq_timedreceive.c: Likewise.
3383 * rt/mq_timedsend.c: Likewise.
3384 * rt/mq_unlink.c: Likewise.
3385 * rt/shm_open.c: Likewise.
3386 * rt/shm_unlink.c: Likewise.
3387 * rt/timer_create.c: Likewise.
3388 * rt/timer_delete.c: Likewise.
3389 * rt/timer_getoverr.c: Likewise.
3390 * rt/timer_gettime.c: Likewise.
3391 * rt/timer_settime.c: Likewise.
3392 * setjmp/__longjmp.c: Likewise.
3393 * setjmp/setjmp.c: Likewise.
3394 * signal/kill.c: Likewise.
3395 * signal/killpg.c: Likewise.
3396 * signal/raise.c: Likewise.
3397 * signal/sigaction.c: Likewise.
3398 * signal/sigaltstack.c: Likewise.
3399 * signal/sigblock.c: Likewise.
3400 * signal/sigignore.c: Likewise.
3401 * signal/sigintr.c: Likewise.
3402 * signal/signal.c: Likewise.
3403 * signal/sigpause.c: Likewise.
3404 * signal/sigpending.c: Likewise.
3405 * signal/sigqueue.c: Likewise.
3406 * signal/sigreturn.c: Likewise.
3407 * signal/sigset.c: Likewise.
3408 * signal/sigsetmask.c: Likewise.
3409 * signal/sigstack.c: Likewise.
3410 * signal/sigsuspend.c: Likewise.
3411 * signal/sigtimedwait.c: Likewise.
3412 * signal/sigvec.c: Likewise.
3413 * signal/sigwait.c: Likewise.
3414 * signal/sigwaitinfo.c: Likewise.
3415 * signal/sysv_signal.c: Likewise.
3416 * socket/accept.c: Likewise.
3417 * socket/accept4.c: Likewise.
3418 * socket/bind.c: Likewise.
3419 * socket/connect.c: Likewise.
3420 * socket/getpeername.c: Likewise.
3421 * socket/getsockname.c: Likewise.
3422 * socket/getsockopt.c: Likewise.
3423 * socket/isfdtype.c: Likewise.
3424 * socket/listen.c: Likewise.
3425 * socket/recv.c: Likewise.
3426 * socket/recvfrom.c: Likewise.
3427 * socket/recvmsg.c: Likewise.
3428 * socket/send.c: Likewise.
3429 * socket/sendmsg.c: Likewise.
3430 * socket/sendto.c: Likewise.
3431 * socket/setsockopt.c: Likewise.
3432 * socket/shutdown.c: Likewise.
3433 * socket/sockatmark.c: Likewise.
3434 * socket/socket.c: Likewise.
3435 * socket/socketpair.c: Likewise.
3436 * stdio-common/ctermid.c: Likewise.
3437 * stdio-common/cuserid.c: Likewise.
3438 * stdio-common/remove.c: Likewise.
3439 * stdio-common/rename.c: Likewise.
3440 * stdio-common/renameat.c: Likewise.
3441 * stdio-common/tempname.c: Likewise.
3442 * stdlib/getcontext.c: Likewise.
3443 * stdlib/makecontext.c: Likewise.
3444 * stdlib/setcontext.c: Likewise.
3445 * stdlib/swapcontext.c: Likewise.
3446 * stdlib/system.c: Likewise.
3447 * streams/fattach.c: Likewise.
3448 * streams/fdetach.c: Likewise.
3449 * streams/getmsg.c: Likewise.
3450 * streams/getpmsg.c: Likewise.
3451 * streams/putmsg.c: Likewise.
3452 * streams/putpmsg.c: Likewise.
3453 * sysdeps/unix/bsd/getpt.c: Likewise.
3454 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3455 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3456 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3458 Likewise.
3459 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3460 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3461 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3462 * sysvipc/msgctl.c: Likewise.
3463 * sysvipc/msgget.c: Likewise.
3464 * sysvipc/msgrcv.c: Likewise.
3465 * sysvipc/msgsnd.c: Likewise.
3466 * sysvipc/semctl.c: Likewise.
3467 * sysvipc/semget.c: Likewise.
3468 * sysvipc/semop.c: Likewise.
3469 * sysvipc/semtimedop.c: Likewise.
3470 * sysvipc/shmat.c: Likewise.
3471 * sysvipc/shmctl.c: Likewise.
3472 * sysvipc/shmdt.c: Likewise.
3473 * sysvipc/shmget.c: Likewise.
3474 * termios/tcdrain.c: Likewise.
3475 * termios/tcflow.c: Likewise.
3476 * termios/tcflush.c: Likewise.
3477 * termios/tcgetattr.c: Likewise.
3478 * termios/tcgetpgrp.c: Likewise.
3479 * termios/tcsendbrk.c: Likewise.
3480 * termios/tcsetattr.c: Likewise.
3481 * termios/tcsetpgrp.c: Likewise.
3482 * time/adjtime.c: Likewise.
3483 * time/clock.c: Likewise.
3484 * time/getitimer.c: Likewise.
3485 * time/gettimeofday.c: Likewise.
3486 * time/setitimer.c: Likewise.
3487 * time/settimeofday.c: Likewise.
3488 * time/stime.c: Likewise.
3489 * time/time.c: Likewise.
3490
34912012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3492
a20492cf
PT
3493 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3494 /usr/old/bin.
3495
72e182e3
PT
3496 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3497 instead of spaces.
3498 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3499
fbeafede
JM
35002012-11-03 Joseph Myers <joseph@codesourcery.com>
3501
5b5b04d6
JM
3502 [BZ #14796]
3503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3504 FE_TONEAREST before applying Dekker multiplication and Knuth
3505 addition. Clear inexact exceptions and check for exact zero
3506 results afterwards.
3507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3508 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3510 * math/libm-test.inc (fma_test): Add more tests.
3511 (fma_test_towardzero): Likewise.
3512 (fma_test_downward): Likewise.
3513 (fma_test_upward): Likewise.
3514 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3515 function.
3516 (libc_fesetround): New macro.
3517 (libc_fesetroundf): Likewise.
3518 (libc_fesetroundl): Likewise.
3519 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3520 function.
3521 (libc_fesetround_387): Likewise.
3522 (libc_fesetroundf): New macro.
3523 (libc_fesetround): Likewise.
3524 (libc_fesetroundl): Likewise.
3525 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3526 function.
3527 (libc_fesetroundf): New macro.
3528 (libc_fesetround): Likewise.
3529 (libc_fesetroundl): Likewise.
3530 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3531 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3532 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3533 libm_hidden_ver.
3534 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3535 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3536 libm_hidden_def.
3537 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3538 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3539 libm_hidden_ver.
3540 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3541 libm_hidden_def.
3542
fbeafede
JM
3543 [BZ #3439]
3544 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3545 integer constant usable in #if and use that to give value to enum
3546 constant.
3547 (FE_DIVBYZERO): Likewise.
3548 (FE_UNDERFLOW): Likewise.
3549 (FE_OVERFLOW): Likewise.
3550 (FE_INVALID): Likewise.
3551 (FE_INVALID_SNAN): Likewise.
3552 (FE_INVALID_ISI): Likewise.
3553 (FE_INVALID_IDI): Likewise.
3554 (FE_INVALID_ZDZ): Likewise.
3555 (FE_INVALID_IMZ): Likewise.
3556 (FE_INVALID_COMPARE): Likewise.
3557 (FE_INVALID_SOFTWARE): Likewise.
3558 (FE_INVALID_SQRT): Likewise.
3559 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3560 (FE_TONEAREST): Likewise.
3561 (FE_TOWARDZERO): Likewise.
3562 (FE_UPWARD): Likewise.
3563 (FE_DOWNWARD): Likewise.
3564 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3565 (FE_DIVBYZERO): Likewise.
3566 (FE_OVERFLOW): Likewise.
3567 (FE_UNDERFLOW): Likewise.
3568 (FE_INEXACT): Likewise.
3569 (FE_TONEAREST): Likewise.
3570 (FE_DOWNWARD): Likewise.
3571 (FE_UPWARD): Likewise.
3572 (FE_TOWARDZERO): Likewise.
3573 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3574 (FE_UNDERFLOW): Likewise.
3575 (FE_OVERFLOW): Likewise.
3576 (FE_DIVBYZERO): Likewise.
3577 (FE_INVALID): Likewise.
3578 (FE_TONEAREST): Likewise.
3579 (FE_TOWARDZERO): Likewise.
3580 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3581 (FE_OVERFLOW): Likewise.
3582 (FE_UNDERFLOW): Likewise.
3583 (FE_DIVBYZERO): Likewise.
3584 (FE_INEXACT): Likewise.
3585 (FE_TONEAREST): Likewise.
3586 (FE_TOWARDZERO): Likewise.
3587 (FE_UPWARD): Likewise.
3588 (FE_DOWNWARD): Likewise.
3589 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3590 (FE_DIVBYZERO): Likewise.
3591 (FE_OVERFLOW): Likewise.
3592 (FE_UNDERFLOW): Likewise.
3593 (FE_INEXACT): Likewise.
3594 (FE_TONEAREST): Likewise.
3595 (FE_DOWNWARD): Likewise.
3596 (FE_UPWARD): Likewise.
3597 (FE_TOWARDZERO): Likewise.
3598
105ca950
CM
35992012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3600
3601 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3602
a542b389
AS
36032012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3604
3605 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3606 commands. Quote $PWD.
3607 (blacklist_exports): Don't use remove_newlines. Replace "declare
3608 -x" by "export".
3609 (remove_newlines): Remove.
3610
f62c8abc
L
36112012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3612
3613 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3614 * stdlib/stdlib.h (atof): Moved to ...
3615 * include/bits/stdlib-float.h: Here. New file.
3616 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3617 * stdlib/bits/stdlib-float.h: New file.
3618 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3619 -mno-sse -mno-mmx.
3620 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3621 <xmmintrin.h>.
3622
0155d5b2
JM
36232012-11-02 Joseph Myers <joseph@codesourcery.com>
3624
a68d0680
JM
3625 * conform/conformtest.pl (@headers): Add fenv.h.
3626 * conform/data/fenv.h-data: New file.
3627 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3628 include of <math/fenv.h>.
3629
caf7f573
JM
3630 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3631 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3632 && !UNIX98]. Enables tests for XOPEN2K8.
3633 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3634 POSIX2008]: Likewise.
3635
6c073ad6
JM
3636 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3637 (struct rusage): Do not expect type or its members.
3638
0155d5b2
JM
3639 [BZ #3439]
3640 * math/math.h (FP_NAN): Define macro to integer constant usable in
3641 #if and use that to give value to enum constant.
3642 (FP_INFINITE): Likewise.
3643 (FP_ZERO): Likewise.
3644 (FP_SUBNORMAL): Likewise.
3645 (FP_NORMAL): Likewise.
3646
b5dcacb4
AS
36472012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3648
3649 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3650 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3651 arguments.
3652
f7934be8
RM
36532012-11-02 Roland McGrath <roland@hack.frob.com>
3654
3655 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3656 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3657 autoconf-time if not.
3658 * configure.in: Remove AC_PREREQ.
3659
d7d08bde
TMQMF
36602012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3661
3662 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3663 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3664 of the internal implementation.
3665
dcdae19a
JM
36662012-11-02 Joseph Myers <joseph@codesourcery.com>
3667
3668 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3669 except include of <misc/sys/syslog.h>.
3670
d6cffd3e
AS
36712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3672
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3674 function returns with a NULL context exit with zero.
3675
b3563932
TMQMF
36762012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3677
3678 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3679
b288a93d
L
36802012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3681
3682 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3683 (run_program_cmd): This.
3684 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3685 (tst_langinfo): New variable. Use it.
3686
a2421a68
SAS
36872012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3688
3689 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3690 floating point opcodes.
3691
6f796e1b
TS
36922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3693
7402596b
TS
3694 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3695 variable.
3696
d0d4f868
TS
3697 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3698
6f796e1b
TS
3699 * sysdeps/mach/hurd/powerpc: Remove directory.
3700 * sysdeps/mach/powerpc: Likewise.
3701
4da224a2
AS
37022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3703
3704 * scripts/check-local-headers.sh: Ignore c++ headers.
3705
341dd673
TS
37062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3707
3708 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3709 __libc_cleanup_region_start argument.
3710
473611b2
JM
37112012-11-01 Joseph Myers <joseph@codesourcery.com>
3712
3713 [BZ #14784]
3714 [BZ #14785]
3715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3716 x * y using scaling, not as x * y + z.
3717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3719 * math/libm-test.inc (fma_test): Add more tests.
3720 (fma_test_towardzero): Likewise.
3721 (fma_test_downward): Likewise.
3722 (fma_test_upward): Likewise.
3723
4078da3d
TS
37242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3725
3726 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3727
903252aa
JM
37282012-10-31 Joseph Myers <joseph@codesourcery.com>
3729
3730 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3731 New variable.
3732
cbc818d0
TS
37332012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3734
3735 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3736
5a03cb1e
AS
37372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3738
3739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3740 Fix sort order.
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3742 Likewise.
3743
90aff2ff
TMQMF
37442012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3745
3746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3747 Fix the order of the list for glibc 2.17.
3748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3749 Likewise.
3750
1818fcb7
AS
37512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3752
3753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3754
ef82f4da
JM
37552012-10-31 Joseph Myers <joseph@codesourcery.com>
3756
16a0e2ec
JM
3757 [BZ #14610]
3758 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3759 for low part of x being zero before using __atanl (y).
3760 * math/libm-test.inc (atan2_test): Add another test.
3761
0eb69512
JM
3762 * manual/install.texi (Configuring and compiling): Document
3763 general use of test-wrapper and test-wrapper-env.
3764 * INSTALL: Regenerated.
3765
ef82f4da
JM
3766 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3767 (__fma): Do not extract and scale down low bits on after-rounding
3768 systems when result rounded to normal precision would have normal
3769 exponent.
3770 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3771 (__fmal): Do not extract and scale down low bits on after-rounding
3772 systems when result rounded to normal precision would have normal
3773 exponent.
3774 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3775 (__fmal): Do not extract and scale down low bits on after-rounding
3776 systems when result rounded to normal precision would have normal
3777 exponent.
3778 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3779 macro.
3780 (fma_test): Add more tests.
3781 (fma_test_towardzero): Likewise.
3782 (fma_test_downward): Likewise.
3783 (fma_test_upward): Likewise.
3784
954ef0d9
L
37852012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3786
3787 * sysdeps/i386/tininess.h: Renamed to ...
3788 * sysdeps/x86/tininess.h: This.
3789 * sysdeps/x86_64/tininess.h: Removed.
3790
df61ffb2
JM
37912012-10-30 Joseph Myers <joseph@codesourcery.com>
3792
3793 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3794 input. Use $(build-program-cmd).
3795 ($(objpfx)tst-array1-static.out): Likewise.
3796 ($(objpfx)tst-array2.out): Likewise.
3797 ($(objpfx)tst-array3.out): Likewise.
3798 ($(objpfx)tst-array4.out): Likewise.
3799 ($(objpfx)tst-array5.out): Likewise.
3800 ($(objpfx)tst-array5-static.out): Likewise.
3801
01767843
CM
38022012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3803
47cc1490
CM
3804 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3805 if defined.
3806
01767843
CM
3807 * nss/nsswitch.h (nss_interface_function): Provide new
3808 macro for use with NSS functions.
3809 * grp/initgroups.c: Use new macro.
3810 * nss/getXXbyYY.c: Likewise.
3811 * nss/getXXbyYY_r.c: Likewise.
3812 * nss/getXXent.c: Likewise.
3813 * nss/getXXent_r.c: Likewise.
3814 * sysdeps/posix/getaddrinfo.c: Likewise.
3815
8321aa97
AJ
38162012-10-30 Andreas Jaeger <aj@suse.de>
3817
3818 * po/ru.po: Update Russion translation from translation project.
3819
2a27fd6d
JM
38202012-10-30 Joseph Myers <joseph@codesourcery.com>
3821
8627a232
JM
3822 [BZ #14152]
3823 [BZ #14783]
3824 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3825 result and shift together with sticky bit instead of replicating
3826 round-to-nearest rounding.
3827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3829 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3830 missing underflow exceptions.
3831 (fma_test_towardzero): Add more tests.
3832 (fma_test_downward): Likewise.
3833 (fma_test_upward): Likewise.
3834
2a27fd6d
JM
3835 [BZ #14047]
3836 * sysdeps/generic/tininess.h: New file.
3837 * sysdeps/i386/tininess.h: Likewise.
3838 * sysdeps/sh/tininess.h: Likewise.
3839 * sysdeps/x86_64/tininess.h: Likewise.
3840 * stdlib/tst-strtod-underflow.c: Likewise.
3841 * stdlib/tst-tininess.c: Likewise.
3842 * stdlib/strtod_l.c: Include <tininess.h>.
3843 (round_and_return): Do not set errno for exact underflow cases.
3844 Force an underflow exception when setting errno for underflow.
3845 Determine underflow based on rounding to normal precision if
3846 TININESS_AFTER_ROUNDING.
3847 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3848 ERANGE for exact underflow cases.
3849 * stdlib/Makefile (tests): Add tst-tininess and
3850 tst-strtod-underflow.
3851 ($(objpfx)tst-tininess): Use $(link-libm).
3852 ($(objpfx)tst-strtod-underflow): Likewise.
3853
e7170363
AJ
38542012-10-30 Andreas Jaeger <aj@suse.de>
3855
e5088dc6
AJ
3856 [BZ#14767]
3857 * elf/Makefile (tests): Remove conditional for have-initfini-array
3858 since this is now always required and the variable does not exist
3859 anymore.
3860 (tests-static): Likewise.
3861 (modules-names): Likewise.
3862
e7170363 3863 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3864
3865 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3866 merged with constructor/destructor.
3867 (init_array): Likewise.
3868 * elf/tst-array2dep.c (fini_array): Likewise.
3869 (init_array): Likewise.
3870
60457d8a
MF
38712012-10-29 Mike Frysinger <vapier@gentoo.org>
3872
3873 * manual/message.texi: Delete @cartouche tags.
3874
8bece752
PT
38752012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3876
94ce799f
PT
3877 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3878 EOPNOTSUPP.
3879 * sysdeps/mach/hurd/fsync.c: Likewise.
3880
8bece752
PT
3881 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3882 [_POSIX_REALTIME_SIGNALS]: Change condition to
3883 [_POSIX_REALTIME_SIGNALS > 0].
3884
86ebe6b1
AJ
38852012-10-27 Andreas Jaeger <aj@suse.de>
3886
3887 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3888 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3889 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3890 [__WORDSIZE != 64]: Likewise.
3891
54399c08
L
38922012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3893
3894 * iconvdata/tst-table.sh: Remove ${SHELL}.
3895 * iconvdata/tst-tables.sh: Likewise.
3896
e2211bed
DM
38972012-10-25 David S. Miller <davem@davemloft.net>
3898
3899 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3900 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3901 of strtoull.
3902
f303f97c
DM
3903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3904 ifunc-impl-list.c
3905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3906 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3907 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3908 file.
3909
1e9d84cd
RM
39102012-10-25 Roland McGrath <roland@hack.frob.com>
3911
3912 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3913 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3914 __getdirentries.
3915
df381762
JM
39162012-10-25 Joseph Myers <joseph@codesourcery.com>
3917 Jim Blandy <jimb@codesourcery.com>
3918
3919 * scripts/cross-test-ssh.sh: New file.
3920 * manual/install.texi (Configuring and compiling): Document use of
3921 cross-test-ssh.sh.
3922 * INSTALL: Regenerated.
3923
bff64913
PT
39242012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3925
3926 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3927 EOPNOTSUPP.
3928
25fe8932
JM
39292012-10-25 Joseph Myers <joseph@codesourcery.com>
3930
3931 * Makeconfig (run-program-prefix): Fix comment.
3932
cc1290d0
JM
39332012-10-24 Joseph Myers <joseph@codesourcery.com>
3934 Jim Blandy <jimb@codesourcery.com>
3935
3936 * Makeconfig (test-wrapper): New variable,
3937 (test-wrapper-env): Likewise.
3938 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3939 (run-built-tests): Define to yes.
3940 (run-program-prefix): Use $(test-wrapper).
3941 (built-program-cmd): Likewise.
3942 * Rules (make-test-out): Use $(test-wrapper-env) and
3943 $(host-built-program-cmd).
3944 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3945 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3946 tst-pathopt.sh.
3947 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3948 $(test-wrapper-env) to tst-rtld-load-self.sh.
3949 ($(objpfx)order2.out): Use $(test-wrapper).
3950 ($(objpfx)tst-initorder.out): Likewise.
3951 ($(objpfx)tst-initorder2.out): Likewise.
3952 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3953 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3954 (test_wrapper_env): New variable. Use it to run ld.so.
3955 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3956 Use it to run ld.so.
3957 (test_wrapper_env): Likewise.
3958 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3959 $(test-wrapper) to run-iconv-test.sh.
3960 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3961 (ICONV): Use $test_wrapper.
3962 * posix/Makefile ($(objpfx)globtest.out): Pass
3963 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3964 globtest.sh, not $(run-program-prefix).
3965 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3966 (test_wrapper): Likewise.
3967 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3968 set together with run_via_rtld_prefix.
3969 (run_program_prefix): Define in terms of test_wrapper and
3970 run_via_rtld_prefix.
3971
6e6249d0
RM
39722012-10-24 Roland McGrath <roland@hack.frob.com>
3973
3974 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3975 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3976 Targets removed.
3977
3978 [BZ #14743]
3979 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3980 Declare __clock_getres, __clock_gettime, __clock_settime,
3981 __clock_nanosleep, and __clock_getcpuclockid.
3982 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3983 Remove librt_hidden_def (clock_gettime).
3984 * sysdeps/unix/clock_gettime.c: Likewise.
3985 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3986 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3987 * rt/clock_getres.c: Define __clock_getres as an alias.
3988 * sysdeps/posix/clock_getres.c: Likewise.
3989 * rt/clock_settime.c: Define __clock_settime as an alias.
3990 * sysdeps/unix/clock_settime.c: Likewise.
3991 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3992 * sysdeps/unix/clock_nanosleep.c: Likewise.
3993 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3994 * rt/clock-compat.c: New file.
3995 * rt/Makefile (librt-routines): Add clock-compat and move
3996 $(clock-routines) to ...
3997 (routines): ... here, new variable.
3998 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3999 Don't add get_clockfreq here.
4000 * rt/Versions (libc: GLIBC_2.17): New version set.
4001 Add clock_* symbols here.
4002 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
4003 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
4004 (GLIBC_2.17): Add clock_* symbols.
4005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
4006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
4007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4009 Likewise.
4010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4011 Likewise.
4012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
4013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
4014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
4015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
4016 * NEWS: Mention the move.
4017
4018 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4019 Use __open, __read, __close rather than their public counterparts.
4020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4021 (__get_clockfreq_via_cpuinfo): Likewise.
4022 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4023 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4024
4025 * config.h.in (HAVE_IFUNC): New #undef.
4026 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4027 was successful.
4028 * configure: Regenerated.
4029
0cae3f4b
MF
40302012-10-24 Mike Frysinger <vapier@gentoo.org>
4031
4032 * configure.in: Move READELF check to start of file.
4033 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4034 libc_cv_asm_gnu_indirect_function in the process.
4035 * configure: Regenerated.
4036
8175a253
MF
40372012-10-24 Mike Frysinger <vapier@gentoo.org>
4038
4039 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4040 send the output to /dev/null.
4041 (libc_cv_cc_with_libunwind): Likewise.
4042 (libc_cv_as_noexecstack): Likewise.
4043 * configure: Regenerate.
4044
0708a7d1
JM
40452012-10-24 Joseph Myers <joseph@codesourcery.com>
4046
10b40d85
JM
4047 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4048
0708a7d1
JM
4049 * posix/globtest.sh (TMPDIR): Do not set.
4050 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4051 (testout): Likewise.
4052
9fddec1a
AJ
40532012-10-24 Andreas Jaeger <aj@suse.de>
4054
3a8db22f
AJ
4055 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4056 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4057 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4058 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4059 posix_fadvise64, posix_fallocate64.
4060
9fddec1a
AJ
4061 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4062 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4063 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4064 Likewise.
4065 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4066 Likewise.
4067 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4068
4069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4070 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4071 <bits/fcntl-linux.h>.
4072 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4073
4074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4075 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4076 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4077 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4078 [__WORDSIZE != 64]: Likewise.
4079
ebfd1bbd
JM
40802012-10-23 Joseph Myers <joseph@codesourcery.com>
4081
03ac099f
JM
4082 * Makeconfig (run-built-tests): New variable.
4083 * Rules [$(cross-compiling) = yes]: Change condition to
4084 [$(run-built-tests) = no].
4085 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4086 to [$(run-built-tests) = yes].
4087 * elf/Makefile [$(cross-compiling) = no]: Likewise
4088 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4089 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4090 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4091 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4092 * io/Makefile [$(cross-compiling) = no]: Likewise.
4093 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4094 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4095 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4096 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4097 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4098 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4099 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4100 * string/Makefile [$(cross-compiling) = no]: Likewise.
4101
ebfd1bbd
JM
4102 * posix/Makefile ($(objpfx)globtest.out): Pass
4103 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4104 $(rtld-installed-name).
4105 * posix/globtest.sh (elf_objpfx): Remove variable.
4106 (rtld_installed_name): Likewise.
4107 (library_path): Likewise.
4108 (run_program_prefix): New variable. Use for running globtest
4109 binary.
4110
166bca24
JB
41112012-10-23 Jim Blandy <jimb@codesourcery.com>
4112 Joseph Myers <joseph@codesourcery.com>
4113
4114 * Makeconfig (host-built-program-cmd): New variable.
4115 * elf/Makefile (tst-stackguard1-ARGS): Use
4116 $(host-built-program-cmd).
4117 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4118 (tst-spawn-ARGS): Likewise.
4119 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4120
88866099
JM
41212012-10-23 Joseph Myers <joseph@codesourcery.com>
4122 Jim Blandy <jimb@codesourcery.com>
4123
4124 * Makeconfig (run-via-rtld-prefix): New variable.
4125 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4126 (built-program-cmd): Likewise.
4127
b4b4c296
AJ
41282012-10-22 Andreas Jaeger <aj@suse.de>
4129
4130 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4131 __O_RSYNC if it exists, otherwise to O_SYNC.
4132
6fb54a22
JB
41332012-10-22 Jim Blandy <jimb@codesourcery.com>
4134 Joseph Myers <joseph@codesourcery.com>
4135
4136 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4137 /dev/null.
4138 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4139 from /dev/null
4140 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4141 /dev/null.
4142
481b90b9
AJ
41432012-10-22 Andreas Jaeger <aj@suse.de>
4144
2a0e2669
AJ
4145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4146 Define always.
4147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4148
76e38f9a
AJ
4149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4150 bits/fcntl-linux.h.
4151
7cd37b43
AJ
4152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4153 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4154
481b90b9
AJ
4155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4156 to __O_LARGEFILE.
4157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4158 to __O_LARGEFILE.
4159
aba75984
JB
41602012-10-21 Jim Blandy <jimb@codesourcery.com>
4161 Joseph Myers <joseph@codesourcery.com>
4162
4163 * config.make.in (NM): New variable.
4164
88d4247f
AJ
41652012-10-21 Andreas Jaeger <aj@suse.de>
4166
4167 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4168 definitions and declarations that are provided by
4169 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4170
f2eed205
L
41712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4172
4173 [BZ #14683]
4174 * elf/Makefile (tests-static): Add tst-leaks1-static.
4175 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4176 ($(objpfx)tst-leaks1-static): New rule.
4177 ($(objpfx)tst-leaks1-static-mem): Likewise.
4178 (tst-leaks1-static-ENV): New macro.
4179 * elf/dl-open.c (dl_open_worker): Check the main application
4180 only if SHARED is defined.
4181 * elf/tst-leaks1-static.c: New file.
4182
335e6931
AJ
41832012-10-20 Andreas Jaeger <aj@suse.de>
4184
4185 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4186 generic values for Linux.
4187 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4188 and declarations that are provided by <bits/fcntl-linux.h> and
4189 include <bits/fcntl-linux.h>.
4190 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4192
ac5c94d3
RM
41932012-10-20 Roland McGrath <roland@hack.frob.com>
4194
4195 * io/fcntl.h: Move include of <bits/types.h> to the top and
4196 include it unconditionally.
4197
de54b33a
L
41982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4199
228cfb01
L
4200 * wcsmbs/Makefile (tests-ifunc): New variable.
4201 (tests): Add $(tests-ifunc).
4202 * wcsmbs/test-wcschr-ifunc.c: New file.
4203 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4204 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4205 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4206 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4207 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4208
69f07e5f
L
4209 * string/Makefile (tests-ifunc): New variable.
4210 (tests): Add $(tests-ifunc).
4211 * string/test-memccpy.c (TEST_NAME): New macro.
4212 * string/test-memchr.c (TEST_NAME): Likewise.
4213 * string/test-memcmp.c (TEST_NAME): Likewise.
4214 * string/test-memcpy.c (TEST_NAME): Likewise.
4215 * string/test-memmem.c (TEST_NAME): Likewise.
4216 * string/test-memmove.c (TEST_NAME): Likewise.
4217 * string/test-memset.c (TEST_NAME): Likewise.
4218 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4219 * string/test-stpcpy.c (TEST_NAME): Likewise.
4220 * string/test-stpncpy.c (TEST_NAME): Likewise.
4221 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4222 * string/test-strcasestr.c (TEST_NAME): Likewise.
4223 * string/test-strcat.c (TEST_NAME): Likewise.
4224 * string/test-strchr.c (TEST_NAME): Likewise.
4225 * string/test-strcmp.c(TEST_NAME): Likewise.
4226 * string/test-strcpy.c (TEST_NAME): Likewise.
4227 * string/test-strcspn.c (TEST_NAME): Likewise.
4228 * string/test-strlen.c (TEST_NAME): Likewise.
4229 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4230 * string/test-strncmp.c (TEST_NAME): Likewise.
4231 * string/test-strncpy.c (TEST_NAME): Likewise.
4232 * string/test-strnlen.c (TEST_NAME): Likewise.
4233 * string/test-strpbrk.c (TEST_NAME): Likewise.
4234 * string/test-strrchr.c (TEST_NAME): Likewise.
4235 * string/test-strspn.c (TEST_NAME): Likewise.
4236 * string/test-strstr.c (TEST_NAME): Likewise.
4237 * string/test-bcopy-ifunc.c: New file.
4238 * string/test-bzero-ifunc.c: Likewise.
4239 * string/test-memccpy-ifunc.c: Likewise.
4240 * string/test-memchr-ifunc.c: Likewise.
4241 * string/test-memcmp-ifunc.c: Likewise.
4242 * string/test-memcpy-ifunc.c: Likewise.
4243 * string/test-memmem-ifunc.c: Likewise.
4244 * string/test-memmove-ifunc.c: Likewise.
4245 * string/test-mempcpy-ifunc.c: Likewise.
4246 * string/test-memset-ifunc.c: Likewise.
4247 * string/test-rawmemchr-ifunc.c: Likewise.
4248 * string/test-stpcpy-ifunc.c: Likewise.
4249 * string/test-stpncpy-ifunc.c: Likewise.
4250 * string/test-strcasecmp-ifunc.c: Likewise.
4251 * string/test-strcasestr-ifunc.c: Likewise.
4252 * string/test-strcat-ifunc.c: Likewise.
4253 * string/test-strchr-ifunc.c: Likewise.
4254 * string/test-strchrnul-ifunc.c: Likewise.
4255 * string/test-strcmp-ifunc.c: Likewise.
4256 * string/test-strcpy-ifunc.c: Likewise.
4257 * string/test-strcspn-ifunc.c: Likewise.
4258 * string/test-strlen-ifunc.c: Likewise.
4259 * string/test-strncasecmp-ifunc.c: Likewise.
4260 * string/test-strncat-ifunc.c: Likewise.
4261 * string/test-strncmp-ifunc.c: Likewise.
4262 * string/test-strncpy-ifunc.c: Likewise.
4263 * string/test-strnlen-ifunc.c: Likewise.
4264 * string/test-strpbrk-ifunc.c: Likewise.
4265 * string/test-strrchr-ifunc.c: Likewise.
4266 * string/test-strspn-ifunc.c: Likewise.
4267 * string/test-strstr-ifunc.c: Likewise.
4268
de54b33a
L
4269 * debug/Makefile (tests-ifunc): New variable.
4270 (tests): Add $(tests-ifunc).
4271 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4272 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4273 * debug/test-stpcpy_chk-ifunc.c: New file.
4274 * debug/test-strcpy_chk-ifunc.c: Likewise.
4275
88481c16
SP
42762012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4277
4278 [BZ #13601]
4279 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4280 header is not read in.
4281
135948bd
JM
42822012-10-19 Joseph Myers <joseph@codesourcery.com>
4283
89f1c388
JM
4284 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4285 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4286 directly. Pass built executable to script as
4287 $(built-program-cmd).
4288 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4289 $testprogram without using LD_LIBRARY_PATH and $ldso.
4290
e40a0d21
JM
4291 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4292 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4293 $(rtld-installed-name).
4294 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4295 (rtld_installed_name): Likewise.
4296 (library_path): Likewise.
4297 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4298 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4299 $(run-program-prefix) to tst-tables.sh.
4300 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4301 it to run tst-table-from and tst-table-to.
4302 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4303 Pass it to tst-table.sh.
4304 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4305 $(run-program-prefix) to tst-gettext.sh.
4306 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4307 tst-translit.sh.
4308 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4309 tst-gettext2.sh.
4310 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4311 to run tst-gettext.
4312 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4313 to run tst-gettext2.
4314 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4315 to run tst-translit.
4316 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4317 $(run-program-prefix) to tst-mtrace.sh.
4318 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4319 to run tst-mtrace.
4320 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4321 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4322 $(rtld-installed-name).
4323 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4324 (rtld_installed_name): Likewise.
4325 (run_program_prefix): New variable. Use it to run wordexp-test.
4326
728e272a
JM
4327 * Makeconfig (ARCH): Remove all definitions.
4328 (machine): Likewise.
4329 [ARCH]: Remove conditional code.
4330 [!objdir]: Give error.
4331 [!objdir] (objpfx): Remove.
4332 [!objdir] (common-objpfx): Likewise.
4333 [!objdir] (common-objdir): Likewise.
4334 * configure.in (config_makefile): Remove. Hardcode Makefile in
4335 AC_CONFIG_FILES call.
4336 * configure: Regenerated.
4337
d528cdcf
JM
4338 [BZ #13888]
4339 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4340 or TMPDIR.
4341 (testout): Likewise.
4342
135948bd
JM
4343 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4344 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4345 $(rtld-installed-name).
4346 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4347 (rtld_installed_name): Likwise.
4348 (runit): Remove function.
4349 (run_getconf): New variable, Use it for running getconf binary.
4350
38c78296
L
43512012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4352
4353 [BZ #14716]
4354 * string/test-memmem.c (check_result): New function.
4355 (do_one_test): Use it.
4356 (check1): New function.
4357 (test_main): Use it.
4358
d077f65f
MT
43592012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4360
4361 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4362
ced52c71
JM
43632012-10-18 Joseph Myers <joseph@codesourcery.com>
4364
4365 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4366 (_G_LSEEK64): Likewise.
4367 (_G_MMAP64): Likewise.
4368 (_G_FSTAT64): Likewise.
4369 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4370 (_G_LSEEK64): Likewise.
4371 (_G_MMAP64): Likewise.
4372 (_G_FSTAT64): Likewise.
4373 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4374 unconditional. Call __mmap64 directly.
4375 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4376 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4377 __lseek64 directly.
4378 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4379 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4380 __mmap64 directly.
4381 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4382 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4383 __lseek64 directly.
4384 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4385 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4386 __lseek64 directly.
4387 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4388 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4389 __lseek64 directly.
4390 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4391 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4392 __fxstat64 directly.
4393 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4394 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4395 unconditional.
4396 (freopen64) [!_G_OPEN64]: Remove conditional code.
4397 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4398 unconditional.
4399 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4400 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4401 unconditional.
4402 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4403 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4404 unconditional.
4405 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4406 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4407 unconditional.
4408 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4409 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4410 unconditional.
4411 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4412 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4413 unconditional.
4414 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4415 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4416 unconditional.
4417 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4418
b741de23
SP
44192012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4420
4421 [BZ #12140]
4422 * manual/memory.texi (Malloc Tunable Parameters): Add note
4423 about free list pointers overwriting some perturb bytes.
4424 Wording suggested by Roland McGrath.
4425
f9b9d9c9
JM
44262012-10-17 Joseph Myers <joseph@codesourcery.com>
4427
4428 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4429 (lgamma_test): Likewise.
4430 (tgamma_test): Likewise.
4431
172a631a
FW
44322012-10-16 Florian Weimer <fweimer@redhat.com>
4433
4434 [BZ #14700]
4435 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4436 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4437
e9f37252
MK
44382012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4439
4440 * NEWS: Mention BZ #14716.
4441 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4442 when removing AVAILABLE1_USES_J macro.
4443
d394eb74
L
44442012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4445
4446 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4447 (__bswap_64): __uint64_t for unsigned 64-bit int.
4448
ca38dc17
AS
44492012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4450
4451 * include/string.h (memmem): Declare libc hidden alias.
4452 * string/memmem.c (memmem): Define libc hidden alias.
4453 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4454 __read, __close instead of open, read, close.
4455
9a387d1f
L
44562012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4457
ac49ecaf
L
4458 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4459 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4460 global and hidden.
4461 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4462 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4463 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4464 Likewise.
4465 (__rawmemchr_sse2): Likewise.
4466 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4467 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4468 (__strchr_sse2): Likewise.
4469 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4470 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4471 (__strcasecmp_sse2): Likewise.
4472 (__strncasecmp_sse2): Likewise.
4473 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4474 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4475 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4476 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4477 (__strrchr_sse2): Likewise.
4478 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4479 ifunc-impl-list.c.
4480 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4481 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4482 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4483 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4484 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4485 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4486 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4487 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4488 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4489 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4490 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4491 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4492 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4493 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4494 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4495 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4496 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4497 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4498 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4499 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4500 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4501 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4502 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4503 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4504 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4505 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4506 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4507 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4508 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4509 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4510
b090e8ea
L
4511 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4512 global and hidden.
4513 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4514 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4515 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4516 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4517 Likewise.
4518 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4519 Likewise.
4520 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4521 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4522 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4523 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4524 ifunc-impl-list.c.
4525 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4526 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4527 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4528 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4529 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4530 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4531 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4532 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4533 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4534 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4535 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4536 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4537 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4538 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4539 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4540 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4541 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4542 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4543 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4544 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4545 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4546 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4547 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4548 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4549 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4550 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4551 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4552 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4553 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4554 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4555 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4556 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4557 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4558 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4559 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4560 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4561 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4562 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4563 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4564 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4565 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4566
11dd4af6
L
4567 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4568 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4569 * include/ifunc-impl-list.h: New file.
4570 * misc/ifunc-impl-list.c: Likewise.
4571 * misc/Makefile (routines): Add ifunc-impl-list.
4572 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4573 * string/test-string.h: Include <ifunc-impl-list.h>.
4574 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4575 impl_array): New variables.
4576 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4577 are defined.
4578 (test_init): Call __libc_ifunc_impl_list to initialize
4579 func_list if TEST_IFUNC and TEST_NAME are defined.
4580
9a387d1f
L
4581 * string/Makefile (strop-tests): Add bcopy and bzero.
4582 * string/test-bcopy.c: New file.
4583 * string/test-bzero.c: Likewise.
4584 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4585 defined.
4586 * string/test-memset.c: Support bzero test if TEST_BZERO is
4587 defined.
4588 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4589 __libc_memmove.
4590 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4591 __libc_memset.
4592 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4593 of memset.
4594
472371b9
JM
45952012-10-10 Joseph Myers <joseph@codesourcery.com>
4596
1e4a9536
JM
4597 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4598 * configure: Regenerated.
4599
d173d12e
JM
4600 * Makeconfig (+link-static-before-libc): Don't include
4601 $(link-static-libc).
4602
472371b9
JM
4603 * libio/libio.h (_IO_pos_t): Remove.
4604
89a3ad0b
AO
46052012-10-10 Alexandre Oliva <aoliva@redhat.com>
4606
4607 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4608 McGrath.
4609
e7451425
AO
46102012-10-10 Alexandre Oliva <aoliva@redhat.com>
4611
4612 * crypt/crypt-entry.c: Include fips-private.h.
4613 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4614 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4615 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4616 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4617
4ba74a35
AO
46182012-10-10 Alexandre Oliva <aoliva@redhat.com>
4619
4620 * crypt/crypt-private.h: Include stdbool.h.
4621 (_ufc_setup_salt_r): Return bool.
4622 * crypt/crypt-entry.c: Include errno.h.
4623 (__crypt_r): Return NULL with EINVAL for bad salt.
4624 * crypt/crypt_util.c (bad_for_salt): New.
4625 (_ufc_setup_salt_r): Check that salt is long enough and within
4626 the specified alphabet.
4627 * crypt/badsalttest.c: New file.
4628 * crypt/Makefile (tests): Add it.
4629 ($(objpfx)badsalttest): New.
4630
f96f1242
MK
46312012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4632
4633 * NEWS: Add entry for BZ #14602.
4634
0e8e0c1c
JM
46352012-10-09 Joseph Myers <joseph@codesourcery.com>
4636
4637 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4638 type-generic.
4639 * math/libm-test.inc: Update comment listing what functions and
4640 macros are tested.
4641 (isgreater_test): New function.
4642 (isgreaterequal_test): Likewise.
4643 (isless_test): Likewise.
4644 (islessequal_test): Likewise.
4645 (islessgreater_test): Likewise.
4646 (isunordered_test): Likewise.
4647 (main): Call the new functions.
4648
273edc5e
RM
46492012-10-09 Roland McGrath <roland@hack.frob.com>
4650
b8493de0
RM
4651 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4652 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4653 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4654 * sysdeps/i386/configure: Regenerated.
4655 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4656 * sysdeps/mach/configure: Regenerated.
4657 * sysdeps/mach/hurd/configure: Regenerated.
4658 * sysdeps/powerpc/configure: Regenerated.
4659 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4660 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4661 * sysdeps/s390/s390-32/configure: Regenerated.
4662 * sysdeps/s390/s390-64/configure: Regenerated.
4663 * sysdeps/sh/configure: Regenerated.
4664 * sysdeps/sparc/configure: Regenerated.
4665 * sysdeps/unix/sysv/linux/configure: Regenerated.
4666 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4667 * sysdeps/x86_64/configure: Regenerated.
4668
273edc5e
RM
4669 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4670 defined. Don't check if MAP is NULL.
4671
c8450f70
JM
46722012-10-09 Joseph Myers <joseph@codesourcery.com>
4673
4674 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4675 (_G_stat64): Likewise.
4676 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4677 (_G_stat64): Likewise.
4678 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4679 instead of struct _G_stat64.
4680 * libio/fileops.c (mmap_remap_check): Likewise.
4681 (decide_maybe_mmap): Likewise.
4682 (_IO_new_file_seekoff): Likewise.
4683 (_IO_file_stat): Likewise.
4684 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4685 _G_off64_t.
4686 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4687 instead of struct _G_stat64.
4688 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4689
57e605ba
MK
46902012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4691
4692 [BZ #14602]
4693 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4694 Replace with ...
4695 (CHECK_EOL): New macro.
4696 (two_way_short_needle): Check beginning of haystack for EOL. Use
4697 CHECK_EOL.
4698 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4699 Replace with CHECK_EOL.
4700 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4701 Replace with CHECK_EOL.
4702
ef1bb361
JM
47032012-10-08 Joseph Myers <joseph@codesourcery.com>
4704
4705 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4706 type-generic.
4707 * math/libm-test.inc: Update comment listing what functions and
4708 macros are tested.
4709 (finite_test): New function.
4710 (isinf_test): Likewise.
4711 (isnan_test): Likewise.
4712 (fpclassify_test): Test subnormal input.
4713 (isfinite_test): Likewise.
4714 (isnormal_test): Likewise.
4715 (main): Call the new functions.
4716
55f11534
JN
47172012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4718
4719 [BZ #14660]
4720 * Makerules (%.dynsym): Force C locale when running
4721 $(OBJDUMP) --dynamic-syms.
4722
1ab29350
AS
47232012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4724
4725 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4726 <stdint.h>.
4727
f1ecb7ef
DM
47282012-10-06 David S. Miller <davem@davemloft.net>
4729
4730 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4731 upper 32-bits of the length value in %o2 since we use branch-on-register
4732 tests which consider the entire 64-bit register.
4733
5d41d91a
L
47342012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4735
4736 * string/test-strstr.c (check2): Add a test for page boundary.
4737
3baddb72
DM
47382012-10-05 David S. Miller <davem@davemloft.net>
4739
4740 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4741 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4742 file.
4743 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4744 sysdep_routines.
4745 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4746 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4747 and bzero when HWCAP_SPARC_CRYPTO is present.
4748
9cee5585
L
47492012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4750
d7e0dab9
L
4751 [BZ #14602]
4752 * string/test-strstr.c (check2): New function.
4753 (test_main): Call check2.
4754
03759f47
L
4755 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4756 and bug-strchr1.
4757 * string/bug-strcasestr1.c (do_test): Moved to ...
4758 * string/test-strcasestr.c (check1): Here. New function.
4759 (do_one_test): Break out result checking code into ...
4760 (check_result): This. New function.
4761 (do_one_test): Call check_result.
4762 (test_main): Call check1.
4763 * string/bug-strchr1.c (do_test): Moved to ...
4764 * string/test-strchr.c (check1): Here. New function.
4765 (do_one_test): Break out result checking code into ...
4766 (check_result): This. New function.
4767 (do_one_test): Call check_result.
4768 (test_main): Call check1.
4769 * string/bug-strstr1.c (main): Moved to ...
4770 * string/test-strchr.c (check1): Here. New function.
4771 (do_one_test): Break out result checking code into ...
4772 (check_result): This. New function.
4773 (do_one_test): Call check_result.
4774 (test_main): Call check1.
4775 * string/bug-strcasestr1.c: Removed.
4776 * string/bug-strchr1.c: Likewise.
4777 * string/bug-strstr1.c: Likewise.
4778
53cea63e
L
4779 * elf/Makefile (dl-routines): Add hwcaps.
4780 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4781 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4782 (_dl_important_hwcaps): Moved to ...
4783 * elf/dl-hwcaps.c: Here. New file.
4784 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4785
9cee5585 4786 [BZ #14557]
bb859b06
L
4787 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4788 if IS_IN_rtld isn't defined.
4789
9cee5585
L
4790 * elf/dl-support.c (_dl_sysinfo_map): New.
4791 Include "get-dynamic-info.h" and "setup-vdso.h".
4792 (_dl_non_dynamic_init): Call setup_vdso.
4793 * elf/dynamic-link.h: Don't include <assert.h>.
4794 (elf_get_dynamic_info): Moved to ...
4795 * elf/get-dynamic-info.h: Here. New file.
4796 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4797 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4798 * elf/setup-vdso.h: Here. New file.
4799 * elf/rtld.c: Include "setup-vdso.h".
4800 (dl_main): Call setup_vdso.
4801
23c31b76
JM
48022012-10-05 Joseph Myers <joseph@codesourcery.com>
4803
28234b07
JM
4804 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4805 creal in comment listing functions tested. List finite, isinf,
4806 isnan, isless, islessequal, isgreater, isgreaterequal,
4807 islessgreater, isunordered, lgamma_r and pow10 as functions and
4808 macros not tested. Mention which functions not tested are aliases
4809 for other functions. Fix typo. Note that signs of NaNs are not
4810 tested.
4811
23c31b76
JM
4812 * scripts/config.guess: Update from config.git.
4813 * scripts/config.sub: Likewise.
4814
9043e228
RM
48152012-10-04 Roland McGrath <roland@hack.frob.com>
4816
4817 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4818 * misc/madvise.c (madvise): Renamed to __madvise.
4819 Make madvise a weak alias.
4820 * include/sys/mman.h: Declare __madvise.
4821 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4822 * sysdeps/unix/syscalls.list
4823 (madvise): Make __madvise the strong name, and madvise a weak alias.
4824 * sysdeps/unix/sysv/linux/syscalls.list
4825 (madvise, mmap): Remove redundant entries.
4826 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4827 * malloc/malloc.c (mtrim): Likewise.
4828 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4829
f57f8055
RM
48302012-10-03 Roland McGrath <roland@hack.frob.com>
4831
4832 * sysdeps/mach/hurd/dl-cache.c: File removed.
4833 * config.h.in (USE_LDCONFIG): New #undef.
4834 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4835 * configure: Regenerated.
4836 * elf/Makefile (dl-routines): Add dl-cache only under
4837 [$(use-ldconfig) = yes].
4838 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4839 cache on [USE_LDCONFIG].
4840 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4841 [USE_LDCONFIG].
4842 * elf/rtld.c (dl_main): Likewise.
4843
5bb0c10a
PT
48442012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4845
4846 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4847 _SC_LEVEL4_CACHE_LINESIZE.
4848
010188c6
RM
48492012-10-03 Roland McGrath <roland@hack.frob.com>
4850
4851 * sysdeps/unix/bsd/confstr.h: File removed.
4852
b6c5ec07
AO
48532012-10-02 Alexandre Oliva <aoliva@redhat.com>
4854
4855 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4856 sys/sdt-config.h.
4857
408223d4
RM
48582012-10-02 Roland McGrath <roland@hack.frob.com>
4859
4860 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4861 Make 'mapoff' field ElfW(Off) rather than off_t.
4862
bb9510dc
DL
48632012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4864
fc997c6e
DL
4865 * nscd/Makefile: Remove nscd-cflags and all its users.
4866 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4867 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4868
bb9510dc
DL
4869 [BZ #10631]
4870 * malloc.c (malloc_printerr): Clarify error message.
4871
05699367
L
48722012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4873
4874 [BZ #14648]
4875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4876 Set bit_FMA_Usable if FMA is supported.
4877 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4878 macro.
4879 (bit_FMA4_Usable): Updated.
4880 (index_FMA_Usable): New macro.
4881 (CPUID_FMA): Likewise
4882 (HAS_FMA): Defined with bit_FMA_Usable.
4883
51367701
RM
48842012-10-01 Roland McGrath <roland@hack.frob.com>
4885
4886 * bits/types.h (__swblk_t): Type removed.
4887 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4888 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4889 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4890 (__SWBLK_T_TYPE): Likewise.
4891 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4892 (__SWBLK_T_TYPE): Likewise.
4893 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4894 (__SWBLK_T_TYPE): Likewise.
4895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4896 (__SWBLK_T_TYPE): Likewise.
4897
4d57bf63 48982012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4899 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4900
4901 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4902 (xdr_mapname): Use YPMAXMAP as maxsize.
4903 (xdr_peername): Use YPMAXPEER as maxsize.
4904 (xdr_keydat): Use YPAXRECORD as maxsize.
4905 (xdr_valdat): Use YPMAXRECORD as maxsize.
4906
93c65d43
RM
49072012-10-01 Roland McGrath <roland@hack.frob.com>
4908
497a03d6
RM
4909 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4910
93c65d43
RM
4911 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4912 * csu/init-first.c: ... here.
4913 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4914 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4915 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4916 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4917 * sysdeps/i386/init-first.c: File removed.
4918 * sysdeps/sh/init-first.c: File removed.
4919
bec749fd
JM
49202012-10-01 Joseph Myers <joseph@codesourcery.com>
4921
4922 [BZ #14645]
4923 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4924 if x * y might underflow to zero and z is zero.
4925 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4926 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4927 * math/libm-test.inc (min_subnorm_value): New variable.
4928 (fma_test): Add more tests.
4929 (fma_test_towardzero): Likewise.
4930 (fma_test_downward): Likewise
4931 (fma_test_upward): Likewise.
4932 (initialize): Set min_subnorm_value.
4933
8ec5b013
JM
49342012-09-29 Joseph Myers <joseph@codesourcery.com>
4935
4936 [BZ #14638]
4937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4938 0 + 0.
4939 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4940 mode for addition resulting in exact zero.
4941 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4943 exact 0 + 0.
4944 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4945 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4946 * math/libm-test.inc (fma_test): Add more tests.
4947 (fma_test_towardzero): New function.
4948 (fma_test_downward): Likewise.
4949 (fma_test_upward): Likewise.
4950 (main): Call the new functions.
4951
b1fa802e
DM
49522012-09-28 David S. Miller <davem@davemloft.net>
4953
4954 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4955
d3b9fd9e
RM
49562012-09-28 Roland McGrath <roland@hack.frob.com>
4957
ea4d37b3
RM
4958 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4959 instead of SIGALRM.
4960
ac51c949
RM
4961 * sysdeps/gnu/_G_config.h: Moved to ...
4962 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4963 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4964 * sysdeps/generic/_G_config.h: ... here.
4965
28c195f7
RM
4966 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4967
848917f9
RM
4968 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4969
6bacf05b
RM
4970 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4971 Conditionalize target on [libnss_test1.so-version].
4972
91363dbb
RM
4973 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4974
cc87f7d8
RM
4975 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4976 (elfobjdir): Move out of conditionals.
4977
b1c608fe
RM
4978 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4979 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4980 (__nss_lookup_function): Conditionalize label remove_from_tree on
4981 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4982
1d9a6d96
DM
49832012-09-28 David S. Miller <davem@davemloft.net>
4984
4985 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4986 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4987 file.
4988 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4989 sysdep_routines.
4990 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4992 when HWCAP_SPARC_CRYPTO is present.
4993
72581615
PT
49942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4995
4996 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4997
715a900c
JL
49982012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4999
5000 [BZ #6530]
5001 * stdio-common/vfprintf.c (process_string_arg): Revert
5002 2000-07-22 change.
5003
50042011-09-28 Jonathan Nieder <jrnieder@gmail.com>
5005
5006 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
5007 for testcase.
5008 * stdio-common/tst-sprintf.c: Include <locale.h>
5009 (main): Test sprintf's handling of incomplete multibyte
5010 characters.
5011
9bac1d86
L
50122012-09-28 H.J. Lu <hongjiu.lu@intel.com>
5013
5014 * elf/dl-runtime.c (VERSYMIDX): Removed.
5015 * elf/dl-version.c (VERSYMIDX): Likewise.
5016 * elf/do-rel.h (VERSYMIDX): Likewise.
5017 (VALIDX): Likewise.
5018 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5019 * elf/rtld.c (VALIDX): Likewise.
5020 (ADDRIDX): Likewise.
9bac1d86
L
5021 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5022 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5023 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5024 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5025 (VALIDX): Likewise.
5026 (ADDRIDX): Likewise.
9bac1d86 5027
b31606c0
PT
50282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5029
5030 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5031
11541177
JL
50322012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5033
5034 [BZ #11438]
5035 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5036 to global scope.
5037 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5038 addresses are in the same scope as 192.0.2/24.
5039 * posix/gai.conf: Document new scope table defaults.
5040
adb26fae
SP
50412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5042
5043 [BZ #5298]
5044 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5045 for ftell. Compute offsets from write pointers instead.
5046 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5047
4573c6b0
SP
50482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5049
5050 [BZ #14543]
5051 * libio/Makefile (tests): New test case tst-fseek.
5052 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5053 combination works in wide mode.
5054 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5055 state when the external buffer state changes.
5056
aa9bbfe6
DM
50572012-09-27 David S. Miller <davem@davemloft.net>
5058
5059 [BZ #14376]
5060 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5061 pass reloc->r_addend in as the 'high' argument to
5062 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5063
784421e7
DM
5064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5065
c39bc8b8
PT
50662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5067
5068 * rt/tst-aio2.c: Include <pthread.h>.
5069 * rt/tst-aio3.c: Likewise.
5070
1ccc2399
SE
50712012-09-27 Steve Ellcey <sellcey@mips.com>
5072
5073 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5074
31ed4153
L
50752012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5076
25f5f885
L
5077 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5078 contents on [SHARED].
31ed4153 5079
b7bfe116
MP
50802012-09-26 Marek Polacek <polacek@redhat.com>
5081
5082 [BZ #14530]
5083 [BZ #13741]
5084 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5085 for C++ and GCC <4.3 as well as for non GCC compilers.
5086
43c4edba
MT
50872012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5088
5089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5090
6a1bf82f
RM
50912012-09-25 Roland McGrath <roland@hack.frob.com>
5092
5093 * Makefile.in (all, install): Declare with .PHONY.
5094 Reported by Michael Hope <michael.hope@linaro.org>.
5095
8ad11b9a
TMQMF
50962012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5097
5098 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5099 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5100 system header.
5101 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5102 Likewise.
5103 (sydep_routines): Add the new and the internal functions.
5104 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5105 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5107 (GLIBC_2.17): Add the new function.
5108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5109 (GLIBC_2.17): Likewise.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5111 (GLIBC_2.17): Likewise.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5113 (GLIBC_2.17): Likewise.
5114 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5115
7e2fca8d
AM
51162012-09-25 Alan Modra <amodra@gmail.com>
5117
5118 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5119 Add release barrier before setting once_control to say
5120 initialisation is done. Add hints on lwarx. Use macro in
5121 place of isync.
5122 (clear_once_control): Add release barrier.
5123
b87c4b24
JM
51242012-09-25 Joseph Myers <joseph@codesourcery.com>
5125
d032e0d2
JM
5126 [BZ #13629]
5127 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5128 specially.
5129 * math/s_clog10.c (__clog10): Likewise.
5130 * math/s_clog10f.c (__clog10f): Likewise.
5131 * math/s_clog10l.c (__clog10l): Likewise.
5132 * math/s_clogf.c (__clogf): Likewise.
5133 * math/s_clogl.c (__clogl): Likewise.
5134 * math/Makefile (libm-calls): Add x2y2m1.
5135 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5136 (__x2y2m1): Likewise.
5137 (__x2y2m1l): Likewise.
5138 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5139 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5140 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5141 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5142 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5143 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5144 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5145 * sysdeps/i386/fpu/libm-test-ulps: Update.
5146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5147
b87c4b24
JM
5148 [BZ #14621]
5149 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5150 int as type of variable DEPTH.
5151 (glob): Use size_t instead of int as type of variables NEWCOUNT
5152 and OLD_PATHC.
5153
6d3bf199
LD
51542012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5155
22bf5c17
LD
5156 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5157 Add s_sincosf-sse2.
5158 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5159 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5160 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5161 macros for using routine as __sincosf_ia32.
5162 Use macro for function declaration and weak_alias.
5163 * sysdeps/i386/fpu/libm-test-ulps: Update.
5164
5165 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5167
5168 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5169 subnormal argument.
5170 * math/s_cexpf.c (__cexpf): Likewise.
5171 * math/s_csinf.c (__csinf): Likewise.
5172 * math/s_csinhf.c (__csinhf): Likewise.
5173 * math/s_ctanf.c (__ctanf): Likewise.
5174 * math/s_ctanhf.c (__ctanhf): Likewise.
5175 * math/s_ccosh.c (__ccoshf): Likewise.
5176 * math/s_cexp.c (__cexpl): Likewise.
5177 * math/s_csin.c (__csin): Likewise.
5178 * math/s_csinh.c (__csinh): Likewise.
5179 * math/s_ctan.c (__ctan): Likewise.
5180 * math/s_ctanh.c (ctanh): Likewise.
5181 * math/s_ccoshl.c (__ccoshl): Likewise.
5182 * math/s_cexpl.c (__cexpl): Likewise.
5183 * math/s_csinl.c (__csinl): Likewise.
5184 * math/s_csinhl.c (__csinhl): Likewise.
5185 * math/s_ctanl.c (__ctanl): Likewise.
5186 * math/s_ctanhl.c (__ctanhl): Likewise.
5187
203e5603
JM
51882012-09-25 Joseph Myers <joseph@codesourcery.com>
5189
5190 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5191 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5192 (_IO_off_t): Define to __off_t, not _G_off_t.
5193 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5194 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5195 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5196 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5197 type of __dummy and __dummy2 fields.
5198 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5199 (_G_ssize_t): Likewise.
5200 (_G_off_t): Likewise.
5201 (_G_pid_t): Likewise.
5202 (_G_uid_t): Likewise.
5203 (_G_wchar_t): Likewise.
5204 (_G_wint_t): Likewise.
5205 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5206 (_G_ssize_t): Likewise.
5207 (_G_off_t): Likewise.
5208 (_G_pid_t): Likewise.
5209 (_G_uid_t): Likewise.
5210 (_G_wchar_t): Likewise.
5211 (_G_wint_t): Likewise.
5212 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5213 (_G_ssize_t): Likewise.
5214 (_G_off_t): Likewise.
5215 (_G_pid_t): Likewise.
5216 (_G_uid_t): Likewise.
5217 (_G_wchar_t): Likewise.
5218 (_G_wint_t): Likewise.
5219
9fab36eb
SP
52202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5221
5222 * malloc/arena.c: Include malloc-sysdep.h.
5223 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5224 is sufficient to shrink the heap or an unmap is needed.
5225 * sysdeps/generic/malloc-sysdep.h: New file. Define
5226 new function check_may_shrink_heap.
5227 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5228 new function check_may_shrink_heap.
5229
2b4f00d1
SP
52302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
5232 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5233 comments.
5234
9a9028b1
DL
52352012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5236
57c69bef
DL
5237 * catgets/test-gencat.sh: Add "set -e".
5238 * elf/tst-pathopt.sh: Likewise.
5239 * grp/tst_fgetgrent.sh: Likewise.
5240 * iconvdata/run-iconv-test.sh: Likewise.
5241 * intl/tst-gettext.sh: Likewise.
5242 * intl/tst-gettext2.sh: Likewise.
5243 * intl/tst-gettext4.sh: Likewise.
5244 * intl/tst-gettext6.sh: Likewise.
5245 * intl/tst-translit.sh: Likewise.
5246 * io/ftwtest-sh: Likewise.
5247 * libio/test-freopen.sh: Likewise.
5248 * malloc/tst-mtrace.sh: Likewise.
5249 * posix/globtest.sh: Likewise.
5250 * posix/tst-getconf.sh: Likewise.
5251 * posix/wordexp-tst.sh: Likewise.
5252 * stdio-common/tst-printf.sh: Likewise.
5253 * stdio-common/tst-unbputc.sh: Likewise.
5254 * stdlib/tst-fmtmsg.sh: Likewise.
5255 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5256 * catgets/Makefile: Do not specify -e option when running
5257 testsuite shell scripts.
5258 * elf/Makefile: Likewise.
5259 * grp/Makefile: Likewise.
5260 * iconvdata/Makefile: Likewise.
5261 * intl/Makefile: Likewise.
5262 * io/Makefile: Likewise.
5263 * libio/Makefile: Likewise.
5264 * malloc/Makefile: Likewise.
5265 * posix/Makefile: Likewise.
5266 * stdio-common/Makefile: Likewise.
5267 * stdlib/Makefile: Likewise.
5268 * sysdeps/x86_64/Makefile: Likewise.
5269
9a9028b1
DL
5270 * io/ftwtest-sh: Add copyright header.
5271 * posix/globtest.sh: Likewise.
5272 * posix/tst-getconf.sh: Likewise.
5273 * posix/wordexp-tst.sh: Likewise.
5274 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5275
ced6f16e
L
52762012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5277
94b32c39
L
5278 [BZ #13679]
5279 * Makeconfig (+link): Defined as $(+link-static) if
5280 $(build-shared) isn't yes.
5281 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5282 isn't yes.
5283 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5284
189e935b
L
5285 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5286
ced6f16e
L
5287 [BZ #14562]
5288 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5289 new chunk size with MALLOC_ALIGN_MASK.
5290
a9f8e53a
JM
52912012-09-24 Joseph Myers <joseph@codesourcery.com>
5292
5293 [BZ #5044]
5294 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5295 <rounding-mode.h>.
5296 (__printf_fphex): Determine rounding using get_rounding_mode and
5297 round_away.
5298 * stdio-common/tst-printf-round.c (struct hex_test): New
5299 structure.
5300 (hex_tests): New variable.
5301 (test_hex_in_one_mode): New function.
5302 (do_test): Also run tests for hex float output.
5303
43153109
JM
53042012-09-21 Joseph Myers <joseph@codesourcery.com>
5305
5306 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5307 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5308 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5309 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5310 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5311 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5312 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5313 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5314
8a26625d
JM
53152012-09-20 Joseph Myers <joseph@codesourcery.com>
5316
5317 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5318 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5319 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5320 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5321
f3fd569c
DL
53222012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5323
5324 [BZ #14579]
5325 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5326 mode only.
5327 * elf/tst-rtld-load-self.sh: New test.
5328 * elf/Makefile: Run it.
5329
63bbedd4
JM
53302012-09-18 Joseph Myers <joseph@codesourcery.com>
5331
5332 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5333 (tst-writev-ENV): Remove.
5334 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5335
626f8b6a
CM
53362012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5337
5338 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5339
b7aaa4d6
JM
53402012-09-17 Joseph Myers <joseph@codesourcery.com>
5341
5342 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5343 unconditional.
5344 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5345 Likewise.
5346 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5347 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5348 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5349 Likewise.
5350
65513990
L
53512012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5352
5353 [BZ #14587]
5354 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5355 * config.make.in (have-cpp-asm-debuginfo): Removed.
5356 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5357 * configure: Regenerated.
5358
784761be
JM
53592012-09-14 Joseph Myers <joseph@codesourcery.com>
5360
5361 [BZ #5044]
5362 * stdio-common/printf_fp.c: Include <stdbool.h> and
5363 <rounding-mode.h>.
5364 (___printf_fp): Determine rounding using get_rounding_mode and
5365 round_away.
5366 * stdio-common/tst-printf-round.c: New file.
5367 * stdio-common/Makefile (tests): Add tst-printf-round.
5368 (link-libm): New variable.
5369 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5370
9503345f
L
53712012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5372
5373 [BZ #14576]
5374 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5375 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5376 Likewise.
5377 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5378 Likewise.
5379
ad35fc00
JM
53802012-09-13 Joseph Myers <joseph@codesourcery.com>
5381
5382 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5383 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5384 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5385 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5386
6c9b0f68
JM
53872012-09-12 Joseph Myers <joseph@codesourcery.com>
5388
5389 [BZ #14518]
5390 * include/rounding-mode.h: New file.
5391 * sysdeps/generic/get-rounding-mode.h: Likewise.
5392 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5393 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5394 (MAX_VALUE): New macro.
5395 (MIN_VALUE): Likewise.
5396 (overflow_value): New function.
5397 (underflow_value): Likewise.
5398 (round_and_return): Use overflow_value and underflow_value to
5399 determine return values in overflow and underflow cases. Use
5400 round_away to determine rounding depending on rounding mode.
5401 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5402 determine return values in overflow and underflow cases.
5403 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5404 (struct test_results): New structure.
5405 (struct test): Use struct test_results to store expected results
5406 for all rounding modes.
5407 (TEST): Include expected results for all rounding modes.
5408 (test_in_one_mode): New function.
5409 (do_test): Use test_in_one_mode to compute and check results.
5410 Check results for all rounding modes.
5411 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5412 $(link-libm).
5413
19fcedd5
AM
54142012-12-09 Allan McRae <allan@archlinux.org>
5415
1e9d84cd 5416 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5417
8bbfd2f1
JM
54182012-09-11 Joseph Myers <joseph@codesourcery.com>
5419
5420 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5421 (_G_int32_t): Likewise.
5422 (_G_uint16_t): Likewise.
5423 (_G_uint32_t): Likewise.
5424 (_G_HAVE_BOOL): Likewise.
5425 (_G_HAVE_ATEXIT): Likewise.
5426 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5427 (_G_HAVE_IO_FILE_OPEN): Likewise.
5428 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5429 (_G_int32_t): Likewise.
5430 (_G_uint16_t): Likewise.
5431 (_G_uint32_t): Likewise.
5432 (_G_HAVE_BOOL): Likewise.
5433 (_G_HAVE_ATEXIT): Likewise.
5434 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5435 (_G_HAVE_IO_FILE_OPEN): Likewise.
5436 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5437 (_G_int32_t): Likewise.
5438 (_G_uint16_t): Likewise.
5439 (_G_uint32_t): Likewise.
5440 (_G_HAVE_BOOL): Likewise.
5441 (_G_HAVE_ATEXIT): Likewise.
5442 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5443 (_G_HAVE_IO_FILE_OPEN): Likewise.
5444
b1dc5912
L
54452012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5446
5447 * csu/libc-tls.c: Update copyright years.
5448
0e886ef9
JM
54492012-09-10 Joseph Myers <joseph@codesourcery.com>
5450
28361c5e
JM
5451 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5452 [!_G_USING_THUNKS]: Remove conditional code.
5453 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5454 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5455
0e886ef9
JM
5456 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5457 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5458 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5459 (_G_VTABLE_LABEL_PREFIX): Likewise.
5460 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5461 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5462 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5463 (_G_VTABLE_LABEL_PREFIX): Likewise.
5464 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5465 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5466 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5467 (_G_VTABLE_LABEL_PREFIX): Likewise.
5468 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5469
bcba7aa2
L
54702012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5471
5472 * libio/Makefile: Include ../Makeconfig before tests.
5473 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5474 only if $(build-shared) is yes.
5475
06585ee8
L
5476 * iconv/gconv_db.c: Update copyright years.
5477
80ccd52c
LD
54782012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5479
5480 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5481 unwind info if defined PIC. Fix special cases description.
5482 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5483
5484 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5485 DP_HI_MASK entry.
5486 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5487
691bc9c1
L
54882012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5489
3d9b46b3
L
5490 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5491
de2139a9
L
5492 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5493 is NULL.
5494
5ca78dd0
L
5495 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5496 (LDLIBS-tst-chk4): This.
5497 (LDFLAGS-tst-chk5): Renamed to ...
5498 (LDLIBS-tst-chk5): This.
5499 (LDFLAGS-tst-chk6): Renamed to ...
5500 (LDLIBS-tst-chk6): This.
5501 (LDFLAGS-tst-lfschk4): Renamed to ...
5502 (LDLIBS-tst-lfschk4): This.
5503 (LDFLAGS-tst-lfschk5): Renamed to ...
5504 (LDLIBS-tst-lfschk5): This.
5505 (LDFLAGS-tst-lfschk6): Renamed to ...
5506 (LDLIBS-tst-lfschk6): This.
5507
691bc9c1
L
5508 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5509 on $(common-objpfx)soversions.mk.
5510
65cafb1c
JM
55112012-09-07 Joseph Myers <joseph@codesourcery.com>
5512
5513 [BZ #10014]
5514 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5515 example host name.
5516
c78ab094
SP
55172012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5518
5519 * malloc/arena.c (arena_get_retry): New function that gets
5520 another arena for the caller to try its request on.
5521 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5522 current arena cannot fulfill the request.
5523 (__libc_memalign): Likewise.
5524 (__libc_memalign): Likewise.
5525 (__libc_pvalloc): Likewise.
5526 (__libc_calloc): Likewise.
5527
01f49f59
JT
55282012-09-05 John Tobey <john.tobey@gmail.com>
5529
5530 [BZ #13542]
5531 * manual/arith.texi (Operations on Complex): Fix description
5532 of carg branch cut.
5533
4c23fed5
JM
55342012-09-06 Joseph Myers <joseph@codesourcery.com>
5535
1d3c8572
JM
5536 [BZ #10014]
5537 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5538 host name.
5539
4c23fed5
JM
5540 [BZ #10038]
5541 * manual/memory.texi (Memory): Make order of menu items match
5542 order of sections.
5543
04570aaa
L
55442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5545
5546 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5547 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5548 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5549
b80af2f4
L
55502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5551
5552 * csu/libc-tls.c (static_dtv): Renamed to ...
5553 (_dl_static_dtv): This. Make it global.
5554 (_dl_initial_dtv): Removed.
5555 (__libc_setup_tls): Updated.
5556 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5557 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5558 DL_INITIAL_DTV.
5559
2abe9f15
PM
55602012-09-06 Petr Machata <pmachata@redhat.com>
5561
5562 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5563 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5564 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5565 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5566
0948c3af
L
55672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5568
5569 [BZ #14545]
5570 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5571 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5572 freeing dtv[-1].
5573
a5055ad1
L
55742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5575
5576 [BZ #14544]
5577 * Makeconfig (link-static-before-libc): Replace $(+prector)
5578 with $(+prectorT).
5579 (link-static-after-libc): Replace $(+postctor) with
5580 $(+postctorT).
5581 (link-bounded): Replace $(+prector)/$(+postctor) with
5582 $(+prectorT)/$(+postctorT).
5583 (+prectorT): New macro.
5584 (+postctorT): Likewise.
5585
ed8c2ecd
JM
55862012-09-06 Joseph Myers <joseph@codesourcery.com>
5587
5588 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5589 (round_str): Handle values above the maximum for IBM long double
5590 as inexact.
5591 * stdlib/tst-strtod-round.c (tests): Regenerated.
5592
14c996c8
AK
55932012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5594
5595 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5596 assembler flag.
5597 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5598 zarch_nohighgprs around the zarch optimized routines.
5599 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5600 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5601 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5602 for zarch.
5603
430d6ce6
DM
56042012-09-05 David S. Miller <davem@davemloft.net>
5605
5606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5607
ff04dda4
DM
5608 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5609 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5610 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5611 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5612 entries.
5613
24d4e01b
AO
56142012-09-05 Alexandre Oliva <aoliva@redhat.com>
5615
5616 * malloc/arena.c: Fold copyright years.
5617 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5618
61d58174
AO
56192012-09-05 Alexandre Oliva <aoliva@redhat.com>
5620
5621 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5622
20196a5e
AO
56232012-09-05 Alexandre Oliva <aoliva@redhat.com>
5624
5625 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5626
5c447383
AO
56272012-09-05 Alexandre Oliva <aoliva@redhat.com>
5628
5629 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5630 change internal state upon failure.
5631
fad64255
AO
56322012-09-05 Alexandre Oliva <aoliva@redhat.com>
5633
5634 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5635 * malloc/memusage.c (mmap): Likewise.
5636 (mmap64, mremap): Likewise. Adjust name in comment.
5637
1ffb8c90
SP
56382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5639
5640 * libio/fileops.c: Fix typos in comments.
5641 * libio/oldfileops.c: Likewise.
5642 * libio/wfileops.c: Likewise.
5643
6ef9cc37
SP
56442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5645
5646 [BZ #1349]
5647 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5648 (tst-malloc-usable-ENV): Set environment for test case.
5649 * malloc/hooks.c (malloc_check_get_size): New function to get
5650 requested size.
5651 * malloc/malloc.c (musable): Use malloc_check_get_size.
5652 * malloc/tst-malloc-usable.c: New test case.
5653
4d038ae3
AS
56542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5655
5656 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5657
c4e85184
AM
56582012-09-05 Allan McRae <allan@archlinux.org>
5659
b9dafc56 5660 [BZ #13966]
c4e85184
AM
5661 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5662 determine header location.
5663 * configure: Regenerated.
5664
e1343020
AS
56652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5666
5667 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5668 float format.
5669 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5670 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5671 format.
e1343020
AS
5672 (test): Regenerate.
5673
0a9f1987
DM
56742012-09-04 David S. Miller <davem@davemloft.net>
5675
5676 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5677 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5678 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5679
29237804
FW
56802012-09-04 Florian Weimer <fweimer@redhat.com>
5681
5682 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5683 failures.
5684
edb3cb88
FW
5685 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5686
60160d83
JM
56872012-09-04 Joseph Myers <joseph@codesourcery.com>
5688
5689 [BZ #9914]
5690 * libio/iogetdelim.c: Include <limits.h>.
5691 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5692 + len + 1 would overflow.
5693
bcd6c8dc
AJ
56942012-09-03 Andreas Jaeger <aj@suse.de>
5695
5696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5697 * sysdeps/i386/fpu/libm-test-ulps: Update.
5698
4ffffbd2
LD
56992012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5700
5701 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5702 Add s_sinf-sse2, s_conf-sse2.
5703
5704 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5705 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5706 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5707 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5708
5709 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5710 for using routine as __sinf_ia32.
5711 Use macro for function declaration and weak_alias.
5712 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5713 for using routine as __cosf_ia32.
5714 Use macro for function declaration and weak_alias.
5715
5716 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5717 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5718
5719 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5720 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5722
5723 * math/libm-test.inc (cos_test): Add more test cases.
5724 (sin_test): Likewise.
5725 (sincos_test): Likewise.
5726
511fa286
AK
57272012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5728
5729 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5730 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5731 hidden.
5732 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5733
5f30cfec
L
57342012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5735
5736 [BZ #14538]
5737 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5738 first element of the GOT.
5739 (elf_machine_load_address): Return the difference between
5740 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5741
0786794f
AM
57422012-09-01 Allan McRae <allan@archlinux.org>
5743
5f30cfec
L
5744 [BZ #13412]
5745 * configure.in (AWK): Require gawk version 3.0 or later.
5746 * configure: Regenerated.
0786794f 5747
26889eac
JM
57482012-09-01 Joseph Myers <joseph@codesourcery.com>
5749
5750 * sysdeps/unix/sysv/linux/kernel-features.h
5751 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5752 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5753 [__NR_clock_getres]: Make code unconditional.
5754 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5755 (clock_getcpuclockid): Remove code left unreachable by removal of
5756 conditionals.
5757 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5758 code unconditional.
5759 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5760 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5761 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5762 Make code unconditional.
5763 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5764 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5765 * sysdeps/unix/sysv/linux/clock_settime.c
5766 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5767 conditional code.
5768 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5769 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5770
d22e28b0
L
57712012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5772
5773 [BZ #14476]
5774 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5775 scripts/test-installation.pl.
5776
5777 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5778 and $ld_so_version if it is set.
5779
050af9c4
SP
57802012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5781
5782 [BZ #14516]
5783 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5784 failure if reading from procfs failed.
5785 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5786
ad845c0b
JM
57872012-08-27 Joseph Myers <joseph@codesourcery.com>
5788
5789 * sysdeps/unix/sysv/linux/kernel-features.h
5790 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5791 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5792 Remove conditional code.
5793 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5794 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5795 Remove conditional code.
5796 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5797 * sysdeps/unix/sysv/linux/i386/fxstat.c
5798 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5800 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5801 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5803 * sysdeps/unix/sysv/linux/i386/lxstat.c
5804 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5805 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5806 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5807 Remove conditional code.
5808 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5809 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5810 Remove conditional code.
5811 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5812 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5813 <kernel-features.h>.
5814 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5815 Remove.
5816 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5817 Remove conditional code.
5818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5819 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5820 Remove conditional.
5821
5dbf56af
MF
58222012-08-27 Mike Frysinger <vapier@gentoo.org>
5823
5824 [BZ #5400]
5825 * NEWS: Add fixed bug number.
5826
d6e70f43
JM
58272012-08-27 Joseph Myers <joseph@codesourcery.com>
5828
7efb4737
JM
5829 [BZ #14519]
5830 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5831 underflowing exponent in case of negative sign.
5832 * stdlib/tst-strtod-round-data: Add more tests.
5833 * stdlib/tst-strtod-round.c (tests): Regenerated.
5834
af92131a
JM
5835 [BZ #3479]
5836 * stdlib/strtod_l.c (NDIG): Remove.
5837 (HEXNDIG): Likewise.
5838 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5839 smallest representable value.
5840 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5841 lie within an exact representation of 1/2 ulp of the result.
5842 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5843 unconditionally.
5844 (TENS_P9_IDX): Define unconditionally.
5845 (TENS_P9_SIZE): Likewise.
5846 (TENS_P10_IDX): Likewise.
5847 (TENS_P10_SIZE): Likewise.
5848 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5849 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5850 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5851 entries for 10^2^13 and 10^2^14.
5852 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5853 (TENS_P13_IDX): Define.
5854 (TENS_P13_SIZE): Likewise.
5855 (TENS_P14_IDX): Likewise.
5856 (TENS_P14_SIZE): Likewise.
5857 (_fpioconst_pow10): Change array size to
5858 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5859 unconditional.
5860 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5861 1024]: Add entries for 10^2^13 and 10^2^14.
5862 [LAST_POW10 > _LAST_POW10]: Remove #error.
5863 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5864 (_fpioconst_pow10): Change array size to
5865 FPIOCONST_POW10_ARRAY_SIZE.
5866 * stdlib/gen-fpioconst.c: New file.
5867 * stdlib/gen-tst-strtod-round.c: Likewise.
5868 * stdlib/tst-strtod-round-data: Likewise.
5869 * stdlib/tst-strtod-round.c: Likewise.
5870 * stdlib/Makefile (tests): Add tst-strtod-round.
5871
d6e70f43
JM
5872 [BZ #14459]
5873 * stdlib/strtod_l.c: Include <stdint.h>.
5874 (NDEBUG): Do not define.
5875 (round_and_return): Change EXPONENT parameter to type intmax_t.
5876 Rearrange calculations to avoid internal overflow possibilities.
5877 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5878 Rearrange calculations to avoid internal overflow possibilities.
5879 Assert that number fits inside MPNSIZE limbs.
5880 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5881 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5882 calculations and add assertions to avoid internal overflow
5883 possibilities. Add casts to avoid signed/unsigned operations.
5884 * stdlib/tst-strtod-overflow.c: New file.
5885 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5886
1f529f7d
MP
58872012-08-25 Marek Polacek <polacek@redhat.com>
5888
5889 * time/time.h: Fix some typos in comments.
5890
59a629f1
RM
58912012-08-23 Roland McGrath <roland@hack.frob.com>
5892
5893 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5894 * posix/tst-rfc3484-2.c: Likewise.
5895 * posix/tst-rfc3484-3.c: Likewise.
5896
d3bafbc9
SM
58972012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5898
5899 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5900 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5901
4efcc022
JM
59022012-08-23 Joseph Myers <joseph@codesourcery.com>
5903
5904 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5905 #include of fxstatat64.c.
5906
3cc3ef96
RM
59072012-08-22 Roland McGrath <roland@hack.frob.com>
5908
f04e2132
RM
5909 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5910 * shadow/getspent_r.c: Likewise.
5911 * shadow/getspnam.c: Likewise.
5912 * shadow/getspnam_r.c: Likewise.
5913 * gshadow/getsgent.c: Likewise.
5914 * gshadow/getsgent_r.c: Likewise.
5915 * gshadow/getsgnam.c: Likewise.
5916 * gshadow/getsgnam_r.c: Likewise.
5917 * inet/getnetbyad.c: Likewise.
5918 * inet/getnetbyad_r.c: Likewise.
5919 * inet/getnetbynm.c: Likewise.
5920 * inet/getnetbynm_r.c: Likewise.
5921 * inet/getnetent.c: Likewise.
5922 * inet/getnetent_r.c: Likewise.
5923 * inet/getproto.c: Likewise.
5924 * inet/getproto_r.c: Likewise.
5925 * inet/getprtent.c: Likewise.
5926 * inet/getprtent_r.c: Likewise.
5927 * inet/getprtname.c: Likewise.
5928 * inet/getprtname_r.c: Likewise.
5929 * inet/getrpcbyname.c: Likewise.
5930 * inet/getrpcbyname_r.c: Likewise.
5931 * inet/getrpcbynumber.c: Likewise.
5932 * inet/getrpcbynumber_r.c: Likewise.
5933 * inet/getrpcent.c: Likewise.
5934 * inet/getrpcent_r.c: Likewise.
5935 * inet/getaliasent.c: Likewise.
5936 * inet/getaliasent_r.c: Likewise.
5937 * inet/getaliasname.c: Likewise.
5938 * inet/getaliasname_r.c: Likewise.
5939 * nscd/getgrgid_r.c: Likewise.
5940 * nscd/getgrnam_r.c: Likewise.
5941 * nscd/gethstbyad_r.c: Likewise.
5942 * nscd/gethstbynm3_r.c: Likewise.
5943 * nscd/getpwnam_r.c: Likewise.
5944 * nscd/getpwuid_r.c: Likewise.
5945 * nscd/getsrvbynm_r.c: Likewise.
5946 * nscd/getsrvbypt_r.c: Likewise.
5947 * nscd/gai.c: Likewise.
5948
c53d909c
RM
5949 * configure.in (build_nscd): New substituted variable, set
5950 by --disable-build-nscd and defaults to $use_nscd.
5951 * configure: Regenerated.
5952 * config.make.in (build-nscd): New substituted variable.
5953 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5954 Change conditional to require [$(build-nscd) = yes] as well.
5955 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5956
3cc3ef96
RM
5957 [BZ# 13696]
5958 * configure.in (use_nscd): New substituted variable, set by
5959 --disable-nscd. If enabled, define USE_NSCD.
5960 * configure: Regenerated.
5961 * config.h.in: Add USE_NSCD.
5962 * config.make.in (use-nscd): New substituted variable.
5963 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5964 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5965 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5966 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5967 (CFLAGS-getgrnam_r.c): Likewise.
5968 (CFLAGS-initgroups.c): Likewise.
5969 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5970 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5971 Variables removed.
5972 * inet/getnetgrent_r.c
5973 (nscd_setnetgrent): New function, broken out of ...
5974 (setnetgrent): ... here. Call it.
5975 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5976 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5977 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5978 * nscd/Makefile (routines, aux): Move definitions after include of
5979 Makeconfig. Conditionalize on [$(use-nscd) != no].
5980 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5981 Conditionalize on [USE_NSCD].
5982 (is_nscd, nscd_init_cb): Likewise.
5983 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5984 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5985 * nss/nss_db/db-init.c: Likewise.
5986 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5987 [USE_NSCD].
5988 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5989 (make_request): Use it.
5990 (cache_valid_p): New function.
5991 (__check_pf): Use it.
5992 * NEWS: Add item for --disable-nscd.
5993
07e51550
DL
59942012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5995
5996 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5997 to support sed >= 4.2.1-20-ga9bf076.
5998 * configure: Regenerated.
5999
35a5b08b
RM
60002012-08-22 Roland McGrath <roland@hack.frob.com>
6001
6002 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
6003 Conditionalize whole body on [IREL].
6004
8479f23a
JL
60052012-08-22 Jeff Law <law@redhat.com>
6006
6007 [BZ #14505]
6008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
6009 if the family is PF_UNSPEC.
6010
48da0b21
MF
60112012-08-22 Mike Frysinger <vapier@gentoo.org>
6012
6013 * Makerules (lib-version): Rename from V.
6014 (install-lib-nosubdir): Change V to lib-version.
6015
15d0da8c
WS
60162012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
6017
6018 [BZ #14252]
6019 * powerpc32/power6/wcschr.c: New file.
6020 * powerpc32/power6/wcscpy.c: New file.
6021 * powerpc32/power6/wcsrchr.c: New file.
6022 * powerpc64/power6/wcschr.c: New file.
6023 * powerpc64/power6/wcscpy.c: New file.
6024 * powerpc64/power6/wcsrchr.c: New file.
6025
bcca0895
MK
60262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6027
6028 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6029 (two_way_short_needle): Use it.
5a4aaa33
RM
6030 * string/strstr.c (AVAILABLE1_USES_J): Define.
6031 * string/strcasestr.c: Likewise.
99677e57
MK
6032
6033 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6034 array references.
6035 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6036
400726de
MK
6037 [BZ #11607]
6038 * NEWS: Add an entry.
6039 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6040 define their defaults.
6041 (two_way_short_needle): Detect end-of-string on-the-fly.
6042 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6043 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6044 * string/bug-strcasestr1.c: New test.
6045 * string/Makefile: Run it.
6046
20a71f2c
MK
60472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6048
6049 [BZ #11607]
6050 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6051 the first character.
6052
21ad0558
RM
60532012-08-21 Roland McGrath <roland@hack.frob.com>
6054
6055 * csu/elf-init.c (__libc_csu_irel): Function removed.
6056 * csu/libc-start.c (apply_irel): New function.
6057 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6058
0e1d9911
JM
60592012-08-21 Joseph Myers <joseph@codesourcery.com>
6060
6061 * sysdeps/unix/sysv/linux/kernel-features.h
6062 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6063 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6064 <kernel-features.h>.
6065 [__NR_fadvise64_64]: Make code unconditional.
6066 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6067 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6068 !__NR_fadvise64_64)]: Likewise.
6069 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6070 !__NR_fadvise64_64))]: Likewise.
6071 [__NR_fadvise64]: Make code unconditional.
6072 [!__NR_fadvise64]: Remove conditional code.
6073 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6074 <kernel-features.h>.
6075 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6076 unconditional.
6077 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6078 conditional code.
6079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6080 not include <kernel-features.h>.
6081 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6082 unconditional.
6083 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6084 conditional code.
6085 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6086 include <kernel-features.h>.
6087 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6088 unconditional.
6089 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6090 conditional code.
6091
14a50c9d
WS
60922012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6093
6094 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6095 slight instruction rearrangements per scrollpipe analysis.
6096 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6097
c0f4faf0
RM
60982012-08-20 Roland McGrath <roland@hack.frob.com>
6099
696da859
RM
6100 * manual/syslog.texi (syslog; vsyslog, closelog):
6101 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6102 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6103
c0f4faf0
RM
6104 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6105 DSOCAPS to match condition on defining it.
6106
348363b2
JM
61072012-08-20 Joseph Myers <joseph@codesourcery.com>
6108
a35cbf28
JM
6109 * sysdeps/unix/sysv/linux/kernel-features.h
6110 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6112 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6113 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6115 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6116 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6118 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6119 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6120
445f7ecd
JM
6121 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6122 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6123
348363b2
JM
6124 * sysdeps/unix/sysv/linux/kernel-features.h
6125 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6126 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6127 unconditional.
6128 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6129 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6130 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6131 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6132 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6133 Make code unconditional.
6134 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6135 (__mmap64) [!__NR_mmap2]: Likewise.
6136 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6137 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6138 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6139 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6140 [__NR_mmap2]: Make code unconditional.
6141 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6142 (__mmap64) [!__NR_mmap2]: Likewise.
6143
bc5bc0e5
AK
61442012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6145
6146 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6147
88d506de
AJ
61482012-08-18 Andreas Jaeger <aj@suse.de>
6149
6150 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6151
493387d2
MF
61522012-08-18 Mike Frysinger <vapier@gentoo.org>
6153
6154 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6155 * include/unistd.h (__have_sock_cloexec): Likewise.
6156 (__have_pipe2): Likewise.
6157 (__have_dup3): Likewise.
6158
a277af22
MF
61592012-08-18 Mike Frysinger <vapier@gentoo.org>
6160
6161 [BZ #9685]
6162 * include/unistd.h (__have_pipe2): Change define into an extern int.
6163 (__have_dup3): Likewise.
6164 * socket/have_sock_cloexec.c: Include fcntl.h.
6165 (__have_pipe2): New variable.
6166 (__have_dup3): Likewise.
6167
fdab8fd3
MF
61682012-08-17 Mike Frysinger <vapier@gentoo.org>
6169
6170 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6171
31035e80
MP
61722012-08-17 Marek Polacek <polacek@redhat.com>
6173
6174 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6175 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6176
3bd9e993
RM
61772012-08-17 Roland McGrath <roland@hack.frob.com>
6178
c91c505f
RM
6179 * configure.in: Add AC_SUBST for sysheaders.
6180 * configure: Regenerated.
6181 * config.make.in (sysheaders): New substituted variable.
6182
7c6f9d53
RM
6183 * sysdeps/unix/mkfifo.c: Moved ...
6184 * sysdeps/posix/mkfifo.c: ... here.
6185 * sysdeps/unix/mkfifoat.c: Moved ...
6186 * sysdeps/posix/mkfifoat.c: ... here.
6187
6188 * sysdeps/unix/utime.c: Moved ...
6189 * sysdeps/posix/utime.c: ... here.
6190
6191 * sysdeps/unix/time.c: Moved ...
6192 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6193 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6194 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6195
6196 * sysdeps/unix/nice.c: Moved ...
6197 * sysdeps/posix/nice.c: ... here.
6198
6199 * sysdeps/unix/alarm.c: Moved ...
6200 * sysdeps/posix/alarm.c: ... here.
6201
3bd9e993
RM
6202 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6203
d1f09384
JL
62042012-08-17 Jeff Law <law@redhat.com>
6205
6206 * intl/Makefile (codeset_mo): New variable.
6207 ($(codeset_mo)): New target.
6208 (tst-codeset.out): Depend on that. Remove explicit rule.
6209 (tst-gettext3.out, tst-gettext5.out): Likewise.
6210 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6211 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6212 * intl/tst-codeset.sh: Remove.
6213 * intl/tst-gettext3.sh: Likewise.
6214 * intl/tst-gettext5.sh: Likewise.
6215
2ae1ae5c
RM
62162012-08-17 Roland McGrath <roland@hack.frob.com>
6217
c31fdb83
RM
6218 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6219 * sysdeps/unix/syscalls.list: ... here.
6220
a0844057
RM
6221 * sysdeps/posix/getaddrinfo.c
6222 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6223 (gaiconf_init, gaiconf_reload): Use them.
6224 [!_STATBUF_ST_NSEC]
6225 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6226 Define using time_t rather than struct timespec.
6227
750c1f2a
RM
6228 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6229 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6230 Macros removed.
6231 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6232 [!NO_THREADS].
6233 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6234 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6235 Likewise.
6236
2ae1ae5c
RM
6237 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6238 __libc_cleanup_push argument.
6239
e66a42f5
RM
6240 * bits/param.h: New file.
6241 * misc/sys/param.h: New file.
6242 * include/sys/param.h: New file.
6243 * misc/Makefile (headers): Add bits/param.h.
6244 * sysdeps/generic/sys/param.h: File removed.
6245 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6246 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6247 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6248 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6249
b7c08a66
RM
6250 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6251 last change.
6252
b2e1c562
RM
6253 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6254 [_IO_MTSAFE_IO].
6255 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6256 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6257 New macros.
6258
c75ccd4c
RM
6259 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6260 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6261 rather than -D_IO_MTSAFE_IO conditionally.
6262 * stdio-common/Makefile (CPPFLAGS): Likewise.
6263 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6264 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6265 Use $(libio-mtsafe).
6266 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6267 of -D_IO_MTSAFE_IO.
6268 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6269 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6270 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6271 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6272 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6273 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6274 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6275 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6276 (CFLAGS-fread_u_chk.c): Likewise.
6277 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6278 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6279 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6280 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6281 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6282 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6283 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6284 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6285 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6286
6287 * libio/Makefile: Test [$(libc-reentrant) = yes]
6288 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6289
6290 * Makeconfig
6291 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6292 * sysdeps/pthread/configure: File removed.
6293 * sysdeps/pthread/Makeconfig: New file.
6294 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6295 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6296
d9195db8
GB
62972012-08-16 Gary Benson <gbenson@redhat.com>
6298
6299 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6300 unmapping the first object in a namespace.
6301
86466cd9
RM
63022012-08-16 Roland McGrath <roland@hack.frob.com>
6303
6304 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6305 (__internal_setnetgrent): ... this. Add internal_function to
6306 definition. Add libc_hidden_def.
6307 (setnetgrent): Update caller.
6308 (internal_endnetgrent): Renamed to ...
6309 (__internal_endnetgrent): ... this. Add internal_function to
6310 definition. Add libc_hidden_def.
6311 (endnetgrent): Update caller.
6312 (internal_getnetgrent_r): Renamed to ...
6313 (__internal_getnetgrent_r): ... this. Add internal_function to
6314 definition. Add libc_hidden_def.
6315 (__getnetgrent_r): Update caller.
6316 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6317
c3c8283c
JM
63182012-08-16 Joseph Myers <joseph@codesourcery.com>
6319
6320 * stdlib/longlong.h: Update from GCC.
6321
db1ee0a8
RM
63222012-08-16 Roland McGrath <roland@hack.frob.com>
6323
6324 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6325 on _QL, which is set by umul_ppmm but never used.
6326 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6327 variables, which are set by GMP macros but never used.
6328 * stdio-common/_itowa.c (_itowa): Likewise.
6329 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6330 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6331
30f69637
CD
63322012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6333
6334 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6335 struct La_sh_regs is not constant.
6336 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6337 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6338 and struct La_sparc64_regs are not constant.
6339
93a78ac4
JM
63402012-08-16 Joseph Myers <joseph@codesourcery.com>
6341
6342 * sysdeps/unix/sysv/linux/kernel-features.h
6343 (__ASSUME_POSIX_TIMERS): Remove.
6344 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6345 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6346 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6347 Make code unconditional.
6348 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6349 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6350 Make code unconditional.
6351 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6352 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6353 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6354 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6355 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6356 Make code unconditional.
6357 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6358 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6359 (__libc_missing_posix_timers): Remove.
6360
dd924cd7
RM
63612012-08-15 Roland McGrath <roland@hack.frob.com>
6362
4b4f2771
RM
6363 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6364 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6365
601c888b
RM
6366 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6367
176790a7
RM
6368 * elf/dl-sym.c: Include <stdlib.h>.
6369
329bc018
RM
6370 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6371 constants, which avoids warnings in 32-bit builds.
6372
e04e272d
RM
6373 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6374 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6375
952bf94a
RM
6376 * misc/lseek.c: File moved to ...
6377 * io/lseek.c: ... here.
6378
7c99b50a
RM
6379 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6380
dd924cd7
RM
6381 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6382 shifting LEN more than 31 bits at once.
6383
b3f479a8
LD
63842012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6385
6386 [BZ #14195]
8c4ae0d4
RM
6387 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6388 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6389 * string/test-strncasecmp.c (check1): Renamed to...
6390 (bz12205): ...this.
6391 (bz14195): Add new testcase for two empty input strings and N > 0.
6392 (test_main): Call new testcase, adapt for renamed function.
6393
9c55864e
AJ
63942012-08-15 Andreas Jaeger <aj@suse.de>
6395
6396 [BZ #14090]
6397 * crypt/md5test2.c: New test, based on test supplied by Serge
6398 Belyshev <belyshev@depni.sinp.msu.ru>.
6399 * crypt/Makefile (xtests): Add md5test-giant..
6400 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6401
02dcb6c5
PE
64022012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6403
6404 [BZ #14090]
6405 * crypt/md5.c (md5_process_block): Don't assume the buffer
6406 length is less than 2**32.
6407 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6408 length is less than 2**64.
6409
a3f95dcc
RM
64102012-08-15 Roland McGrath <roland@hack.frob.com>
6411
be75d758
RM
6412 * string/str-two-way.h: Include <sys/param.h>.
6413 (MAX): Macro removed.
6414
7312ca90
RM
6415 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6416 Move #define and #undef of memmove to just before and after
6417 including <string.h>.
6418
9a0a5486
RM
6419 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6420 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6421 and after including <string.h>. Move declarations of
6422 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6423 to before #include "string/memmove.c".
6424
67cc348d
RM
6425 * include/dirent.h: Declare __getdirentries.
6426
a3f95dcc
RM
6427 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6428 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6429
ca98e171
MF
64302012-08-14 Mike Frysinger <vapier@gentoo.org>
6431
6432 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6433 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6434 * sysdeps/i386/configure: Regenerated.
6435 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6436 STABS_CURRENT_FILE, and STABS_FUN.
6437 (END): Remove call to STABS_FUN_END.
6438 (STABS_CURRENT_FILE1): Delete.
6439 (STABS_CURRENT_FILE): Likewise.
6440 (STABS_FUN): Likewise.
6441 (STABS_FUN_END): Likewise.
6442 (STABS_FUN2): Likewise.
6443 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6444 * sysdeps/x86_64/configure: Regenerated.
6445
5908bf46
RM
64462012-08-14 Roland McGrath <roland@hack.frob.com>
6447
6448 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6449 * elf/dl-lookup.c: Likewise.
5908bf46 6450
f2c05b9e
JM
64512012-08-14 Joseph Myers <joseph@codesourcery.com>
6452
6453 * sysdeps/unix/sysv/linux/kernel-features.h
6454 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6455 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6456 unconditionally.
6457 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6458 unconditionally.
6459 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6460 condition on __ASSUME_CLONE_THREAD_FLAGS.
6461
e11f5155
AJ
64622012-08-14 Andreas Jaeger <aj@suse.de>
6463
6464 * sysdeps/i386/fpu/libm-test-ulps: Update.
6465
51a9ba86
MK
64662012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6467
2fdd4f78
AJ
6468 * include/atomic.h (atomic_exchange_and_add): Split into ...
6469 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6470 New atomic macros.
51a9ba86 6471
ba6cba9e
MT
64722012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6473
6474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6475
42443a47
JL
64762012-08-13 Jeff Law <law@redhat.com>
6477
6478 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6479 null byte in the output string.
6480
121dce05
JM
64812012-08-10 Joseph Myers <joseph@codesourcery.com>
6482
6483 * sysdeps/unix/sysv/linux/kernel-features.h
6484 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6485 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6486 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6487 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6488 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6489 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6490 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6491
bf51f568
JL
64922012-08-09 Jeff Law <law@redhat.com>
6493
6494 [BZ #13939]
6495 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6496 When avoid_arena is set, don't retry in the that arena. Pick the
6497 next one, whatever it might be.
6498 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6499 (arena_lock): Pass in new parameter to arena_get2.
6500 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6501 arena_get2.
6502 (__libc_malloc): Unify retrying after main arena failure with
6503 __libc_memalign version.
6504 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6505
f85fa270
L
65062012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6507
6508 [BZ #14166]
6509 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6510 to __redirect_strstr.
6511 (__strstr_sse42): Use typeof __redirect_strstr.
6512 (__strstr_ia32): Likewise.
6513 (__libc_strstr): New prototype.
6514 (strstr): Renamed to ...
6515 (__libc_strstr): This.
6516 (strstr): New strong alias of __libc_strstr.
6517 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6518 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6519 __redirect_time.
6520 Include <time.h>.
6521 (__libc_time): New prototype.
6522 (time_ifunc): Replace time with __libc_time.
6523 (time): New strong alias and hidden definition of __libc_time.
6524 (__GI_time): Remove strong alias.
6525 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6526 Include <stddef.h>.
6527 (memmove): Redefined to __redirect_memmove.
6528 (__memmove_sse2): Use typeof __redirect_memmove.
6529 (__memmove_ssse3): Likewise.
6530 (__memmove_ssse3_back): Likewise.
6531 (__libc_memmove): New prototype.
6532 (memmove): Renamed to ...
6533 (__libc_memmove): This.
6534 (memmove): New strong alias of __libc_memmove.
6535
33b4a91e
MS
65362012-08-08 Mark Salter <msalter@redhat.com>
6537
6538 * elf/elf.h
6539 (R_MN10300_TLS_GD): Define.
6540 (R_MN10300_TLS_LD): Likewise.
6541 (R_MN10300_TLS_LDO): Likewise.
6542 (R_MN10300_TLS_GOTIE): Likewise.
6543 (R_MN10300_TLS_IE): Likewise.
6544 (R_MN10300_TLS_LE): Likewise.
6545 (R_MN10300_TLS_DTPMOD): Likewise.
6546 (R_MN10300_TLS_DTPOFF): Likewise.
6547 (R_MN10300_TLS_TPOFF): Likewise.
6548 (R_MN10300_SYM_DIFF): Likewise.
6549 (R_MN10300_ALIGN): Likewise.
6550 (R_MN10300_NUM): Update.
6551
b36137f1
JM
65522012-08-08 Joseph Myers <joseph@codesourcery.com>
6553
6554 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6555 Remove.
6556
cdd915fd
RM
65572012-08-08 Roland McGrath <roland@hack.frob.com>
6558
a2433aac
RM
6559 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6560
cdd915fd
RM
6561 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6562 sysdeps/unix -> sysdeps/posix move.
6563 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6564
bf9b740a
AM
65652012-08-07 Allan McRae <allan@archlinux.org>
6566
6567 [BZ #14303]
6568 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6569 (SUNOS_CPP): Likewise.
6570 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6571 not found.
6572 (open_input): Call CPP using execvp.
6573
93df14ee
JM
65742012-08-07 Joseph Myers <joseph@codesourcery.com>
6575
6576 * sysdeps/unix/sysv/linux/kernel-features.h
6577 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6578 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6579 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6580 (__ASSUME_WAITID_SYSCALL): Likewise.
6581 * sysdeps/unix/sysv/linux/dl-execstack.c
6582 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6583 code unconditional.
6584 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6585 conditional code.
6586 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6587 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6588 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6589 code.
6590 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6591 unconditional.
6592 [__ASSUME_WAITID_SYSCALL]: Likewise.
6593 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6594
d34689de
RM
65952012-08-07 Roland McGrath <roland@hack.frob.com>
6596
a281decc
RM
6597 * sysdeps/unix/closedir.c: Renamed to ...
6598 * sysdeps/posix/closedir.c: ... here.
6599 * sysdeps/unix/dirfd.c: Renamed to ...
6600 * sysdeps/posix/dirfd.c: ... here.
6601 * sysdeps/unix/dirstream.h: Renamed to ...
6602 * sysdeps/posix/dirstream.h: ... here.
6603 * sysdeps/unix/fdopendir.c: Renamed to ...
6604 * sysdeps/posix/fdopendir.c: ... here.
6605 * sysdeps/unix/opendir.c: Renamed to ...
6606 * sysdeps/posix/opendir.c: ... here.
6607 * sysdeps/unix/readdir.c: Renamed to ...
6608 * sysdeps/posix/readdir.c: ... here.
6609 * sysdeps/unix/readdir_r.c: Renamed to ...
6610 * sysdeps/posix/readdir_r.c: ... here.
6611 * sysdeps/unix/rewinddir.c: Renamed to ...
6612 * sysdeps/posix/rewinddir.c: ... here.
6613 * sysdeps/unix/seekdir.c: Renamed to ...
6614 * sysdeps/posix/seekdir.c: ... here.
6615 * sysdeps/unix/telldir.c: Renamed to ...
6616 * sysdeps/posix/telldir.c: ... here.
6617 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6618 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6619 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6620 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6621
22895b47
RM
6622 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6623 * bits/fcntl.h: ... here.
6624
707a53b6
RM
6625 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6626 not 0.
6627 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6628 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6629 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6630 (struct flock): Move l_start, l_len to the beginning.
6631 Use __pid_t for l_pid.
6632 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6633 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6634 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6635 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6636 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6637 [__USE_LARGEFILE64] (struct flock64): New type.
6638 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6639
f0bd3e25
RM
6640 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6641 * bits/dirent.h: ... here.
6642
d34689de
RM
6643 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6644 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6645
6dad2c06
JM
66462012-08-07 Joseph Myers <joseph@codesourcery.com>
6647
6648 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6649 Change from 2.6.0 to 2.6.16.
6650 * sysdeps/unix/sysv/linux/configure: Regenerated.
6651 * sysdeps/unix/sysv/linux/kernel-features.h
6652 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6653 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6654 version.
6655 (__ASSUME_UTIMES): Likewise.
6656 (__ASSUME_CLONE_STOPPED): Remove.
6657 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6658 architectures, not kernel version.
6659 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6660 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6661 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6662 (__ASSUME_WAITID_SYSCALL): Likewise.
6663 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6664 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6665 * README: State 2.6.16 as minimum Linux kernel version. Do not
6666 refer to older versions.
6667
03af9520
RM
66682012-08-06 Roland McGrath <roland@hack.frob.com>
6669
8e49df1d
RM
6670 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6671 Define alphasort64 as an alias.
6672 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6673 Define versionsort64 as an alias.
6674 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6675 Define scandir64 as an alias.
6676 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6677 Define scandirat64 as an alias.
6678 * dirent/alphasort64.c (alphasort64):
6679 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6680 * dirent/versionsort64.c: Likewise.
6681 * dirent/scandir64.c: Likewise.
6682 * dirent/scandirat64.c: Likewise.
6683 * sysdeps/wordsize-64/alphasort.c: File removed.
6684 * sysdeps/wordsize-64/alphasort64.c: File removed.
6685 * sysdeps/wordsize-64/scandir.c: File removed.
6686 * sysdeps/wordsize-64/scandir64.c: File removed.
6687 * sysdeps/wordsize-64/scandirat.c: File removed.
6688 * sysdeps/wordsize-64/scandirat64.c: File removed.
6689 * sysdeps/wordsize-64/versionsort.c: File removed.
6690 * sysdeps/wordsize-64/versionsort64.c: File removed.
6691 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6692 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6693 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6694 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6695 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6696 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6697 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6698 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6699
6700 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6702 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6704 [defined __arch64__ || defined __sparcv9]
6705 (__INO_T_MATCHES_INO64_T): New macro.
6706 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6707 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6708 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6709 * sysdeps/unix/sysv/linux/bits/dirent.h
6710 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6711 (_DIRENT_MATCHES_DIRENT64): New macro.
6712
03af9520
RM
6713 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6714 Define lockf64 as an alias.
6715 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6716 Define fseeko64 as an alias.
6717 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6718 Define ftello64 as an alias.
6719 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6720 Define _IO_fgetpos64 and fgetpos64 as aliases.
6721 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6722 Define _IO_fsetpos64 and fsetpos64 as aliases.
6723 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6724 Conditionalize body on this.
6725 * libio/fseeko64.c: Likewise.
6726 * libio/ftello64.c: Likewise.
6727 * libio/iofgetpos64.c: Likewise.
6728 * libio/iofsetpos64.c: Likewise.
6729 * sysdeps/wordsize-64/lockf.c: File removed.
6730 * sysdeps/wordsize-64/lockf64.c: File removed.
6731 * sysdeps/wordsize-64/fseeko.c: File removed.
6732 * sysdeps/wordsize-64/fseeko64.c: File removed.
6733 * sysdeps/wordsize-64/ftello.c: File removed.
6734 * sysdeps/wordsize-64/ftello64.c: File removed.
6735 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6736 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6737 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6738 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6739 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6740 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6741 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6742 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6743 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6744 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6745 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6746 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6747 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6748 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6749
6750 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6752 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6753 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6754 [defined __arch64__ || defined __sparcv9]
6755 (__OFF_T_MATCHES_OFF64_T): New macro.
6756 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6757 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6759 (__OFF_T_MATCHES_OFF64_T): New macro.
6760
c5757acd
L
67612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6762
6763 * stdlib/secure-getenv.c (__secure_getenv): Replace
6764 GLIBC_2_16 with GLIBC_2_17.
6765
3a31811e
L
67662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6767
6768 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6769 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6770
faa2bccb
DM
67712012-08-03 David S. Miller <davem@davemloft.net>
6772
6773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6774
85fe1997
JM
67752012-08-03 Joseph Myers <joseph@codesourcery.com>
6776
6777 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6778 Remove.
6779 (__ASSUME_CORRECT_SI_PID): Likewise.
6780 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6781 (__ASSUME_TMPFS_NAME): Likewise.
6782 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6783 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6784 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6785 (HAVE_AUX_SECURE): Make definition unconditional.
6786 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6787 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6788
4f75b7a0
RM
67892012-08-03 Roland McGrath <roland@hack.frob.com>
6790
6791 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6792 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6793 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6794 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6795 __eloop_threshold instead of SYMLOOP_MAX.
6796
6797 * sysdeps/generic/eloop-threshold.h: New file.
6798 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6799 of MAXSYMLINKS.
6800 * elf/chroot_canon.c (chroot_canon): Likewise.
6801
7aab07e4
JM
68022012-08-03 Joseph Myers <joseph@codesourcery.com>
6803
6804 [BZ #13717]
6805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6806 Change to 2.6.0 everywhere.
6807 * sysdeps/unix/sysv/linux/configure: Regenerated.
6808 * sysdeps/unix/sysv/linux/kernel-features.h
6809 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6810 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6811 kernel versions.
6812 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6813 (__ASSUME_FUTEX_REQUEUE): Remove.
6814 (__ASSUME_STATFS64): Define unconditionally.
6815 (__ASSUME_AT_SECURE): Likewise.
6816 (__ASSUME_CORRECT_SI_PID): Likewise.
6817 (__ASSUME_TGKILL): Define without depending on kernel version for
6818 i386.
6819 (__ASSUME_UTIMES): Likewise.
6820 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6821 kernel version.
6822 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6823 (__ASSUME_TMPFS_NAME): Likewise.
6824 * README: Update reference to Linux kernel versions.
6825
b67e9372
MP
68262012-08-02 Marek Polacek <polacek@redhat.com>
6827
1f529f7d 6828 [BZ# 14150]
b67e9372
MP
6829 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6830 libc_cv_asm_type_prefix with %.
6831 * configure: Regenerated.
d2441631
RM
6832 * include/libc-symbols.h: Remove comment about
6833 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6834 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6835 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6836 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6837 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6838 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6839 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6840 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6841 * elf/tst-unique2mod1.c: Likewise.
6842 * elf/tst-unique1mod2.c: Likewise.
6843 * elf/tst-unique1mod1.c: Likewise.
6844 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6845 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6846 Replace ASM_TYPE_DIRECTIVE with .type.
6847 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6848 * sysdeps/i386/sysdep.h: Likewise.
6849 * sysdeps/x86_64/sysdep.h: Likewise.
6850 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6852 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6853 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6854 * sysdeps/powerpc/powerpc32/sysdep.h:
6855 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6856 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6857 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6858 * sysdeps/i386/fpu/e_powf.S: Likewise.
6859 * sysdeps/i386/fpu/e_expl.S: Likewise.
6860 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6861 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6862 * sysdeps/i386/fpu/e_pow.S: Likewise.
6863 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6864 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6865 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6866 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6867 * sysdeps/i386/fpu/e_log2.S: Likewise.
6868 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6869 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6870 * sysdeps/i386/fpu/e_powl.S: Likewise.
6871 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6872 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6873 * sysdeps/i386/fpu/e_logl.S: Likewise.
6874 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6875 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6876 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6877 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6878 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6879 * sysdeps/i386/fpu/e_log.S: Likewise.
6880 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6881 * sysdeps/i386/fpu/e_logf.S: Likewise.
6882 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6883 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6884 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6885 * sysdeps/i386/fpu/e_log10.S: Likewise.
6886 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6887 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6888 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6889 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6890 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6891 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6892 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6893 * sysdeps/i386/i686/strtok.S: Likewise.
6894 * sysdeps/i386/i386-mcount.S: Likewise.
6895 * sysdeps/i386/strtok.S: Likewise.
6896 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6897 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6899 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6900 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6901 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6902 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6903 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6904 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6905 * sysdeps/x86_64/_mcount.S: Likewise.
6906 * sysdeps/x86_64/strtok.S: Likewise.
6907 * sysdeps/sh/_mcount.S: Likewise.
6908
2747bf9a
RM
69092012-08-01 Roland McGrath <roland@hack.frob.com>
6910
6911 * libio/iofopen.c: Include <fcntl.h>.
6912 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6913 (_IO_fopen64, fopen64): Define as aliases.
6914 * libio/iofopen64.c: Include <fcntl.h>.
6915 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6916 Conditionalize body on this.
6917 * sysdeps/wordsize-64/iofopen.c: File removed.
6918 * sysdeps/wordsize-64/iofopen64.c: File removed.
6919
3fb791b8
MP
69202012-08-01 Marek Polacek <polacek@redhat.com>
6921
6922 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6923 Use dlfcn directly instead of a variable.
6924 (binfmt-subdir): Do not define.
6925 (dlfcn): Likewise.
6926
a9f1039f
JM
69272012-08-01 Joseph Myers <joseph@codesourcery.com>
6928
23bddc06
JM
6929 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6930 Remove all definitions.
6931 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6932 <kernel-features.h>.
6933 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6934 (miss_F_GETOWN_EX): Remove all definitions.
6935 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6936 macro definition.
6937 [!__ASSUME_FCNTL64]: Remove conditional code.
6938 [__ASSUME_FCNTL64]: Make code unconditional.
6939 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6940 <kernel-features.h>.
6941 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6942 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6943 (lockf64) [__NR_fcntl64]: Make code unconditional.
6944 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6945
a9f1039f
JM
6946 * sysdeps/unix/sysv/linux/kernel-features.h
6947 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6948 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6949 Make code unconditional.
6950 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6951 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6953 [__NR_vfork]: Make code unconditional.
6954 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6955 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6957 [__NR_vfork]: Make code unconditional.
6958 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6959 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6960
09c0ee5f
RM
69612012-08-01 Roland McGrath <roland@hack.frob.com>
6962
48aec5b9
RM
6963 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6964 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6965
cd97c966
RM
6966 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6967 Define mkstemp64 as an alias.
3f55550c
RM
6968 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6969 Define mkstemps64 as an alias.
cd97c966
RM
6970 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6971 Define mkostemp64 as an alias.
b8625cfc
RM
6972 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6973 Define mkostemps64 as an alias.
cd97c966
RM
6974 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6975 Conditionalize body on this.
6976 * misc/mkostemp64.c: Likewise.
b8625cfc 6977 * misc/mkostemps64.c: Likewise.
3f55550c 6978 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6979 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6980 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6981 * sysdeps/wordsize-64/mkostemp.c: File removed.
6982 * sysdeps/wordsize-64/mkstemp.c: File removed.
6983 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6984 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6985 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6986 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6987
09c0ee5f
RM
6988 [BZ #14138]
6989 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6990 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6991 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6992 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6993
6994 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6995 compat_symbol macros from <shlib-compat.h> rather than the underlying
6996 default_symbol_version and symbol_version macros, so that DEFAULT
6997 lines in shlib-versions are respected.
6998 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6999
7e66ee51
FW
70002012-08-01 Florian Weimer <fweimer@redhat.com>
7001
7002 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
7003 Declare with warn_unused_result.
7004 (setgid, setregid, setegid, setresgid): Likewise.
7005 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
7006 Likewise.
7007 * WUR-REPORT: Remove set*id functions.
7008
d2a54255
PT
70092012-07-31 Pino Toscano <toscano.pino@tiscali.it>
7010
7011 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
7012
7ecdb005
RM
70132012-07-31 Roland McGrath <roland@hack.frob.com>
7014
789bd351
RM
7015 * include/sys/socket.h (__libc_accept, __libc_accept4):
7016 Add attribute_hidden.
7017 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
7018
40ce302d
RM
7019 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7020 use of PTR_MANGLE.
7021 * inet/getnetgrent_r.c (setup): Likewise.
7022
7ecdb005
RM
7023 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7024
e2eabb2c
DM
70252012-07-31 David S. Miller <davem@davemloft.net>
7026
7027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7028
d0419dbf
JM
70292012-07-31 Joseph Myers <joseph@codesourcery.com>
7030
7031 [BZ #13629]
7032 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7033 value between 1.0 and 2.0 and smaller part has absolute value less
7034 than 1.0.
7035 * math/s_clog10.c (__clog10): Likewise.
7036 * math/s_clog10f.c (__clog10f): Likewise.
7037 * math/s_clog10l.c (__clog10l): Likewise.
7038 * math/s_clogf.c (__clogf): Likewise.
7039 * math/s_clogl.c (__clogl): Likewise.
7040 * math/libm-test.inc (clog_test): Add more tests.
7041 (clog10_test): Likewise.
7042 * sysdeps/i386/fpu/libm-test-ulps: Update.
7043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7044
2bc13872
FW
70452012-07-31 Florian Weimer <fweimer@redhat.com>
7046
7047 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7048 Exit with zero in case no suitable GID is found, and write a
7049 message to standard error.
7050
bea9b193
RM
70512012-07-30 Roland McGrath <roland@hack.frob.com>
7052
7053 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7054 rather than to 1.
7055 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7056 (MAXPATHLEN): Removed.
7057 (NOGROUP, NODEV): New macros.
7058 (setbit, clrbit, isset, isclr): New macros.
7059 (howmany, roundup, powerof2): New macros.
7060 (DEV_BSIZE): New macro.
7061
7062 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7063 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7064
7065 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7066 definition on [!__NO_LONG_DOUBLE_MATH].
7067
7068 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7069 PTR_MANGLE and PTR_DEMANGLE.
7070
7071 * socket/accept4.c (accept4): Rename to __libc_accept4.
7072 Define accept4 as a weak alias.
7073
7074 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7075 on [_DIRENT_HAVE_D_TYPE].
7076 * io/ftw.c (ftw_dir): Likewise.
7077
7078 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7079
7080 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7081
7082 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7083 Use the BSD numbers rather than the arbitrary ones we had.
7084 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7085 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7086 (SIGXCPU, SIGXFSZ): New macros.
7087 (_NSIG): Now 32.
7088
7089 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7090 initializer on [_LIBC_REENTRANT].
7091
7092 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7093 definitions inside [_POSIX_MAPPED_FILES].
7094
7095 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7096
7097 * dirent/opendir.c: Include <fcntl.h>.
7098
7099 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7100 (__libc_getspecific): Likewise.
7101 (__libc_key_create): Likewise.
7102
7103 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7104 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7105 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7106 (tmpfile64): Define as alias.
7107 * sysdeps/wordsize-64/tmpfile.c: File removed.
7108 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7109 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7110 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7111
7112 * stdio-common/vfscanf.c: Include <stdbool.h>.
7113 * nss/makedb.c: Likewise.
7114 * stdio-common/_i18n_number.h: Likewise.
7115 * argp/argp-help.c: Likewise.
7116 * posix/wordexp.c: Likewise.
7117 * sysdeps/posix/spawni.c: Likewise.
7118 * nss/nss_files/files-initgroups.c: Likewise.
7119 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7120 * nss/nss_files/files-initgroups.c: Likewise.
7121 * nss/nss_db/db-netgrp.c: Likewise.
7122 * nss/nss_db/db-initgroups.c: Likewise.
7123 * io/fchmodat.c: Include <sys/stat.h>.
7124
7125 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7126 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7127
7128 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7129 [HAVE_MMAP].
7130
7131 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7132 Add multiple inclusion protection.
7133
e5abc686
DM
71342012-07-27 David S. Miller <davem@davemloft.net>
7135
7136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7137
815e6fa3
GB
71382012-07-27 Gary Benson <gbenson@redhat.com>
7139
7140 [BZ #14298]
7141 * elf/rtld.c: Include <stap-probe.h>.
7142 (dl_main): Added static probes "init_start" and "init_complete".
7143 * elf/dl-load.c: Include <stap-probe.h>.
7144 (lose): Take new parameter "nsid".
7145 Added static probe "map_failed".
7146 (_dl_map_object_from_fd): Pass namespace id to lose.
7147 Added static probe "map_start".
7148 (open_verify): Pass namespace id to lose.
7149 * elf/dl-open.c: Include <stap-probe.h>.
7150 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7151 and "reloc_complete".
7152 * elf/dl-close.c: Include <stap-probe.h>.
7153 (_dl_close_worker): Added static probes "unmap_start" and
7154 "unmap_complete".
7155 * elf/rtld-debugger-interface.txt: New file documenting the above.
7156
9f98c16c
RM
71572012-07-26 Roland McGrath <roland@hack.frob.com>
7158
7159 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7160 rather than a string variable.
7161 * sunrpc/rpc_main.c (h_output): Likewise.
7162 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7163
f3c22df3
PT
71642012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7165
7166 * inet/check_native.c: New file.
7167
3129cfc6
JM
71682012-07-26 Joseph Myers <joseph@codesourcery.com>
7169
da865e95
JM
7170 [BZ #13629]
7171 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7172 if larger part has absolute value 1.0.
7173 * math/s_clog10.c (__clog10): Likewise.
7174 * math/s_clog10f.c (__clog10f): Likewise.
7175 * math/s_clog10l.c (__clog10l): Likewise.
7176 * math/s_clogf.c (__clogf): Likewise.
7177 * math/s_clogl.c (__clogl): Likewise.
7178 * math/libm-test.inc (clog_test): Add more tests.
7179 (clog10_test): Likewise.
7180 * sysdeps/i386/fpu/libm-test-ulps: Update.
7181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7182
3129cfc6
JM
7183 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7184 (pltexit): Likewise.
7185 (La_regs): Likewise.
7186 (La_retval): Likewise.
7187 (int_retval): Likewise.
7188 Update #error for removed macros to refer only to definitions in
7189 tst-audit.h.
7190 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7191 macro.
7192 (pltexit): Likewise.
7193 (La_regs): Likewise.
7194 (La_retval): Likewise.
7195 (int_retval): Likewise.
7196 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7197 macro.
7198 (pltexit): Likewise.
7199 (La_regs): Likewise.
7200 (La_retval): Likewise.
7201 (int_retval): Likewise.
7202 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7203 macro.
7204 (pltexit): Likewise.
7205 (La_regs): Likewise.
7206 (La_retval): Likewise.
7207 (int_retval): Likewise.
7208 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7209 macro.
7210 (pltexit): Likewise.
7211 (La_regs): Likewise.
7212 (La_retval): Likewise.
7213 (int_retval): Likewise.
7214 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7215 macro.
7216 (pltexit): Likewise.
7217 (La_regs): Likewise.
7218 (La_retval): Likewise.
7219 (int_retval): Likewise.
7220 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7221 macro.
7222 (pltexit): Likewise.
7223 (La_regs): Likewise.
7224 (La_retval): Likewise.
7225 (int_retval): Likewise.
7226 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7227 macro definitions in tst-audit.h.
7228 * sysdeps/i386/tst-audit.h: New file.
7229 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7230 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7231 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7232 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7233 * sysdeps/sh/tst-audit.h: Likewise.
7234 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7235 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7236 * sysdeps/x86_64/tst-audit.h: Likewise.
7237
bfc07087
AJ
72382012-07-26 Andreas Jaeger <aj@suse.de>
7239
b1b2aaf8
AJ
7240 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7241 ptrace.
7242
7243 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7244 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7245 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7246 PTRACE_O_MASK.
7247 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7248 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7249 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7250
bfc07087
AJ
7251 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7252 value.
7253
7254 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7255 _sigsys.
7256 (si_call_addr, si_syscall, si_arch): Define new macro.
7257 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7258 _sigsys.
7259 (si_call_addr, si_syscall, si_arch): Define new marcro.
7260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7261 _sigsys.
7262 (si_call_addr, si_syscall, si_arch): Define new macro.
7263 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7264 _sigsys.
7265 (si_call_addr, si_syscall, si_arch): Define new macro.
7266
89b4b02f
JM
72672012-07-25 Joseph Myers <joseph@codesourcery.com>
7268
7269 [BZ #13717]
7270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7271 Change to 2.4.21 where previously 2.4.1.
7272 * sysdeps/unix/sysv/linux/configure: Regenerated.
7273 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7274 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7275 Linux kernel version.
7276 (__ASSUME_STD_AUXV): Remove.
7277 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7278 kernel version.
7279 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7280 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7281 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7282 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7283 (__ASSUME_NETLINK_SUPPORT): Likewise.
7284 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7285 (__no_netlink_support): Remove conditional definition.
7286 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7287 Remove.
7288 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7289 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7290 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7291 (if_nameindex_ioctl): Remove.
7292 (if_nameindex_netlink): Do not handle __no_netlink_support.
7293 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7294 code.
7295 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7296 Remove conditional code.
7297 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7298 code.
7299 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7300 unconditional.
7301 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7302 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7303 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7304 Remove.
7305 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7306 [!__ASSUME_STD_AUXV]: Remove conditional code.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7308 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7309 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7311 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7312 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7313 code.
7314 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7316 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7317 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7318 conditional code.
7319 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7321 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7322 code.
7323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7324 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7325 conditional code.
7326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7327 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7328 code unconditional.
7329 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7330 conditional code.
7331 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7332 unconditional.
7333 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7334 conditional code.
7335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7336 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7337 unconditional.
7338 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7339 conditional code.
7340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7341 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7342 code unconditional.
7343 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7344 conditional code.
7345 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7346 unconditional.
7347 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7348 conditional code.
7349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7350 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7351 code unconditional.
7352 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7353 conditional code.
7354 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7355 unconditional.
7356 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7357 conditional code.
7358
842a39cd
AS
73592012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7360
7361 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7362 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7363 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7364 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7365 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7366 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7367 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7368 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7369 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7370 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7371 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7372 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7373 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7374 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7375 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7376 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7377 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7379 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7380 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7381 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7382 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7383 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7384
84b3fd84
FW
73852012-07-25 Florian Weimer <fweimer@redhat.com>
7386
7387 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7388 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7389 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7390 Introduce __libc_secure_getenv.
0c7936d5
FW
7391 * stdlib/Versions (2.17): Add secure_getenv
7392 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7393 * stdlib/secure-getenv.c: Rename __secure_getenv to
7394 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7395 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7396 * stdlib/tst-secure-getenv.c: New.
7397 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7398 * manual/startup.texi (Environment Access): Document
7399 secure_getenv.
84b3fd84
FW
7400 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7401 __libc_secure_getenv.
7402 * inet/ruserpass.c (ruserpass): Likewise.
7403 * malloc/mtrace.c (mtrace): Likewise.
7404 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7405 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7406 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7407 * sysdeps/posix/tempname.c: Likewise. Evaluate
7408 HAVE_SECURE_GETENV.
7409 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7410 __secure_getenv to __libc_secure_getenv.
84b3fd84 7411 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7413 Likewise.
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7415 Likewise.
7416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7418 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7423
56e49b71
JM
74242012-07-25 Joseph Myers <joseph@codesourcery.com>
7425
7426 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7427 (struct La_i86_retval): Likewise.
7428 (struct La_x86_64_regs): Likewise.
7429 (struct La_x86_64_retval): Likewise.
7430 (struct La_x32_regs): Likewise.
7431 (struct La_x32_retval): Likewise.
7432 (struct La_ppc32_regs): Likewise.
7433 (struct La_ppc32_retval): Likewise.
7434 (struct La_ppc64_regs): Likewise.
7435 (struct La_ppc64_retval): Likewise.
7436 (struct La_sh_regs): Likewise.
7437 (struct La_sh_retval): Likewise.
7438 (struct La_s390_32_regs): Likewise.
7439 (struct La_s390_32_retval): Likewise.
7440 (struct La_s390_64_regs): Likewise.
7441 (struct La_s390_64_retval): Likewise.
7442 (struct La_sparc32_regs): Likewise.
7443 (struct La_sparc32_retval): Likewise.
7444 (struct La_sparc64_regs): Likewise.
7445 (struct La_sparc64_retval): Likewise.
7446 (struct audit_ifaces): Remove architecture-specific pltenter and
7447 pltexit members.
7448 * sysdeps/i386/ldsodefs.h: New file.
7449 * sysdeps/powerpc/ldsodefs.h: Likewise.
7450 * sysdeps/s390/ldsodefs.h: Likewise.
7451 * sysdeps/sh/ldsodefs.h: Likewise.
7452 * sysdeps/sparc/ldsodefs.h: Likewise.
7453 * sysdeps/x86_64/ldsodefs.h: Likewise.
7454
354691b7
MP
74552012-07-25 Marek Polacek <polacek@redhat.com>
7456
7457 [BZ #6808]
7458 * math/libm-test.inc (yn_test): Add another test.
7459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7460 to ERANGE when the result is +-Inf.
7461 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7462 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7463 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7464 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7465
bf9e2071
JM
74662012-07-24 Joseph Myers <joseph@codesourcery.com>
7467
7468 * conform/data/time.h-data (NULL): Use macro-constant. Require
7469 equal to 0.
7470 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7471 clock_t.
7472 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7473
57633811
TS
74742012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7475
7476 * configure.in <sysdeps resolving>: Correct printing
7477 Implies_before.
7478 * configure: Regenerate.
7479
c23c33b0
TS
74802012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7481
7482 * math/w_ilogb.c: Include <limits.h>.
7483 * math/w_ilogbl.c: Likewise.
7484
b5982523
JM
74852012-07-20 Joseph Myers <joseph@codesourcery.com>
7486
7487 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7488 va_copy. Document allowing for unavailable va_copy only as
7489 pre-C99 compatibility.
7490 * manual/string.texi (Copying and Concatenation): Use va_copy
7491 instead of __va_copy in concat example.
7492
ac4ea442
PT
74932012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7494
7495 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7496 (__sendto): Use create_address_port. Initialize APORT and deallocate
7497 it if not null.
7498
f98eafbd
PT
7499 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7500 with O_NOLINK passed to __file_name_lookup.
7501
898c7aab
PT
7502 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7503 with O_NOLINK passed to __file_name_lookup.
7504
0ced335a
PT
7505 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7506 negative N or less than NGIDS.
7507
b3404dbd
PT
7508 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7509 type to string_t. Set ERANGE as errno and return it if NAME is not big
7510 enough. Use memcpy instead of strncpy.
7511
0f48659e
JM
75122012-07-20 Joseph Myers <joseph@codesourcery.com>
7513
7514 * elf/Makefile (check-data): Remove.
7515 (localplt.data): New vpath directive.
7516 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7517 instead of $(check-data).
7518 * scripts/data/localplt-generic.data: Move to ...
7519 * sysdeps/generic/localplt.data: ... here.
7520 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7521 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7522 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7524 ... here.
7525 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7527 ... here.
7528 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7530 ... here.
7531 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7533 ... here.
7534 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7536 ... here.
7537 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7539 ... here.
7540
d37cbdaa
AZ
75412012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7542
7543 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7544 PPC32 and PPC64 files.
7545 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7546 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7547
46f85fc2
AK
75482012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7549
7550 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7551 __makecontext_ret to ...
7552 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7553 ... here and call exit if uc_link is NULL. New file.
7554 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7555 __makecontext_ret.S.
7556 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7557 __makecontext_ret to ...
7558 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7559 ... here and call exit if uc_link is NULL. New file.
7560 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7561 __makecontext_ret.S.
7562
08f43f9b
AK
75632012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7564
7565 * elf/elf.h (R_390_IRELATIVE): New definition.
7566 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7567 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7568 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7569 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7570 (elf_machine_lazy_rel): Likewise.
7571 * sysdeps/s390/dl-irel.h: New file.
7572 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7573 * sysdeps/s390/s390-64/memset.S: New asm code.
7574 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7575 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7576 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7577 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7578 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7579 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7580 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7581 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7582 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7583 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7584 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7585 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7586 * sysdeps/s390/s390-32/memset.S: New asm code.
7587 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7588
3b05db33
MP
75892012-07-17 Marek Polacek <polacek@redhat.com>
7590
7591 [BZ #14349]
7592 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7593 * sysdeps/s390/s390-64/configure.in: Likewise.
7594 * sysdeps/sparc/configure.in: Likewise.
7595 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7596 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7597 * sysdeps/i386/configure.in: Likewise.
7598 * sysdeps/x86_64/configure.in: Likewise.
7599 * sysdeps/sh/configure.in: Likewise.
7600 * sysdeps/s390/s390-32/configure: Regenerated.
7601 * sysdeps/s390/s390-64/configure: Likewise.
7602 * sysdeps/x86_64/configure: Likewise.
7603 * sysdeps/sh/configure: Likewise.
7604 * sysdeps/powerpc/powerpc64/configure: Likewise.
7605 * sysdeps/powerpc/powerpc32/configure: Likewise.
7606 * sysdeps/sparc/configure: Likwise.
7607 * sysdeps/i386/configure: Likewise.
7608
a66877c6
MP
7609 * elf/dl-open.c: Comment fixes.
7610
cfc82fd8
JM
76112012-07-17 Joseph Myers <joseph@codesourcery.com>
7612
bd29910a
JM
7613 * Makefile [CXX] (check-data): Remove.
7614 [CXX] (c++-types.data): New vpath directive.
7615 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7616 vpath. Do not allow for C++ type data being missing.
7617 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7618 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7619 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7620 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7621 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7622 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7623 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7625 ... here.
7626 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7628 ... here.
7629 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7631 ... here.
7632 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7634 ... here.
7635 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7637 ... here.
7638 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7640 ... here.
7641 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7643 ... here.
7644 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7646
cfc82fd8
JM
7647 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7648 definitions to architecture-specific files.
7649 (TLS_IE): Likewise.
7650 (TLS_LD): Likewise.
7651 (TLS_GD): Likewise.
7652 * sysdeps/i386/tls-macros.h: New file.
7653 * sysdeps/powerpc/tls-macros.h: Likewise.
7654 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7655 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7656 * sysdeps/sh/tls-macros.h: Likewise.
7657 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7658 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7659 * sysdeps/x86_64/tls-macros.h: Likewise.
7660
f7db3170
TS
76612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7662
07cbfc23
TS
7663 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7664 zero value for regular exit case.
7665
f7db3170
TS
7666 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7667 (__start_context): Preserve zero value for regular exit case.
7668
dc97c227
TS
76692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7670 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7671
7672 * manual/setjmp.texi (setcontext): Clarify normal process
7673 termination when uc_link is the null pointer.
7674 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7675 exit call.
7676
d0cd7d02
AS
76772012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7678
7679 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7680 preprocessor. Test for each exception mask separately.
7681
dd318934
AJ
76822012-07-16 Andreas Jaeger <aj@suse.de>
7683
7684 * po/ru.po: Update from translation team.
7685
8048311a
JM
76862012-07-15 Joseph Myers <joseph@codesourcery.com>
7687
7688 * conform/data/string.h-data (NULL): Use macro-constant. Require
7689 equal to 0.
7690 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7691 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7692 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7693 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7694 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7695
b637d46e
AJ
76962012-07-13 Andreas Jaeger <aj@suse.de>
7697
7698 * po/fr.po: Update from translation team.
7699
541428fe
MP
77002012-07-12 Marek Polacek <polacek@redhat.com>
7701
7702 [BZ #14173]
7703 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7704 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7705 loop condition.
7706
ec332e94
JM
77072012-07-12 Joseph Myers <joseph@codesourcery.com>
7708
7709 [BZ #13717]
7710 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7711 Change to 2.4.1 where previously 2.4.0.
7712 * sysdeps/unix/sysv/linux/configure: Regenerated.
7713 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7714 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7715 version.
7716 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7717 (__ASSUME_AT_CLKTCK): Remove.
7718 (__ASSUME_AT_PAGESIZE): Likewise.
7719 (__ASSUME_AT_XID): Likewise.
7720 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7721 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7722 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7723 unconditionally.
7724 (HAVE_AUX_PAGESIZE): Likewise.
7725 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7726 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7727 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7728
7b6e99be
JB
77292012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7730
7731 [BZ #14307]
7732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7733 the temporary buffer used to invoke __gethostbyname2_r,
7734 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7735 host_data / struct gaih_addrtuple.
7736 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7737 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7738 header file nss/nsswitch.h.
7739 * nss/nsswitch.h (global scope): Add definition of implementation
7740 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7741 resolv/nss_dns/dns-host.c).
7742
608404eb
AJ
77432012-07-11 Andreas Jaeger <aj@suse.de>
7744
7745 * po/fr.po: Update from translation team.
7746
71220aca
AJ
7747 * po/sv.po: Update from translation team
7748 * po/fr.po: Another update from translation team.
7749
28cfe843
AZ
77502012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7751
7752 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7753 for subnormals or multiply small sinh result by itself.
7754 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7756
6b90f981
DM
77572012-07-11 David S. Miller <davem@davemloft.net>
7758
7759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7760
c6825772
AS
77612012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7762
7763 [BZ #14347]
7764 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7765 (INTERNAL_MARK): Shift it here.
7766
7b8e0d49
MP
77672012-07-10 Marek Polacek <polacek@redhat.com>
7768
7769 [BZ #14151]
7770 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7771 libc_cv_asm_global_directive with .globl.
7772 * configure: Regenerated.
7773 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7774 with .globl.
7775 * sysdeps/i386/configure: Regenerated.
7776 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7777 with .globl.
7778 * sysdeps/x86_64/configure: Regenerated.
7779 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7780 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7781 * elf/tst-unique2mod2.c: Likewise.
7782 * elf/tst-unique2mod1.c: Likewise.
7783 * elf/tst-unique1mod2.c: Likewise.
7784 * elf/tst-unique1mod1.c: Likewise.
7785 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7786 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7787 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7788 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7789 * sysdeps/mach/sysdep.h: Likewise.
7790 * sysdeps/i386/sysdep.h: Likewise.
7791 * sysdeps/i386/i386-mcount.S: Likewise.
7792 * sysdeps/x86_64/_mcount.S: Likewise.
7793 * sysdeps/x86_64/sysdep.h: Likewise.
7794 * sysdeps/sh/_mcount.S: Likewise.
7795 * sysdeps/sh/sysdep.h: Likewise.
7796 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7797 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7798 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7799 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7800 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7801 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7802 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7803 * locale/localeinfo.h: Likewise.
7804 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7805 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7806
6c55cda3
RM
78072012-07-09 Roland McGrath <roland@hack.frob.com>
7808
7809 [BZ #14336]
7810 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7811 system".
7812 * manual/message.texi (The Uniforum approach): Likewise.
7813 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7814 (glibc iconv Implementation): Likewise.
7815
638a572e
JM
78162012-07-09 Joseph Myers <joseph@codesourcery.com>
7817
7818 [BZ #14337]
7819 * math/s_clog.c (__clog): Avoid scaling a value down where that
7820 could result in underflow.
7821 * math/s_clog10.c (__clog10): Likewise.
7822 * math/s_clog10f.c (__clog10f): Likewise.
7823 * math/s_clog10l.c (__clog10l): Likewise.
7824 * math/s_clogf.c (__clogf): Likewise.
7825 * math/s_clogl.c (__clogl): Likewise.
7826 * math/libm-test.inc (clog_test): Add more tests.
7827 (clog10_test): Likewise.
7828 * sysdeps/i386/fpu/libm-test-ulps: Update.
7829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7830
261f4859
AS
78312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7832
0abaf3e4
AS
7833 [BZ #14283]
7834 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7835 by 7 not 8 to examine high bit of fractional part.
7836
261f4859
AS
7837 [BZ #14042]
7838 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7839 for call to __mcount_internal.
7840 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7841 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7842 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7843
f17ac40d
JM
78442012-07-06 Joseph Myers <joseph@codesourcery.com>
7845
9ad63c23
JM
7846 [BZ #14154]
7847 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7848 approximation for values within 0x1p-13f of an odd multiple of
7849 pi/4.
7850 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7851 exception. Add more tests.
7852 * sysdeps/i386/fpu/libm-test-ulps: Update.
7853
f17ac40d
JM
7854 [BZ #6778]
7855 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7856 inputs and return -1 for them. Do not check for +Inf in case not
7857 reachable for +Inf.
7858 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7859 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7861 and return -1 for them. Do not check for +Inf in case not
7862 reachable for +Inf.
7863 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7864 define.
7865 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7866 and return -1 for them. Do not check for +Inf in case not
7867 reachable for +Inf.
7868 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7869 spurious underflow.
7870 * sysdeps/i386/fpu/libm-test-ulps: Update.
7871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7872
fb21f89b
MF
78732012-07-06 Mike Frysinger <vapier@gentoo.org>
7874
7875 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7876
cdfe2c5e
JM
78772012-07-05 Joseph Myers <joseph@codesourcery.com>
7878
7879 [BZ #14157]
7880 [BZ #14331]
7881 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7882 could result in spurious underflow. Scale down values above
7883 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7884 * math/s_csqrtf.c (__csqrtf): Likewise.
7885 * math/s_csqrtl.c (__csqrtl): Likewise.
7886 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7887 spurious underflow.
7888 * sysdeps/i386/fpu/libm-test-ulps: Update.
7889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7890
70d35b67
AS
78912012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7892
704bc459
AS
7893 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7894 xopen-msg.sed.
7895 * catgets/xopen-msg.awk: New file.
7896 * catgets/xopen-msg.sed: Removed.
7897
70d35b67
AS
7898 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7899 po2text.sed.
7900 * intl/po2test.awk: New file.
7901 * intl/po2test.sed: Removed.
7902
ca61cf32
JM
79032012-07-04 Joseph Myers <joseph@codesourcery.com>
7904
7905 [BZ #14328]
7906 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7907 or multiply small sinh result by itself.
7908 * math/s_ctanf.c (__ctanf): Likewise.
7909 * math/s_ctanh.c (__ctanh): Likewise.
7910 * math/s_ctanhf.c (__ctanhf): Likewise.
7911 * math/s_ctanhl.c (__ctanhl): Likewise.
7912 * math/s_ctanl.c (__ctanl): Likewise.
7913 * math/libm-test.inc (ctan_test_tonearest): New function.
7914 (ctan_test_towardzero): Likewise.
7915 (ctan_test_downward): Likewise.
7916 (ctan_test_upward): Likewise.
7917 (ctanh_test_tonearest): Likewise.
7918 (ctanh_test_towardzero): Likewise.
7919 (ctanh_test_downward): Likewise.
7920 (ctanh_test_upward): Likewise.
7921 (main): Call these new functions.
7922 * sysdeps/i386/fpu/libm-test-ulps: Update.
7923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7924
ca48a46a
MF
79252012-07-03 Mike Frysinger <vapier@gentoo.org>
7926
7927 * .gitignore: Delete /ports entry.
7928
9d63d37d
AJ
79292012-07-03 Andreas Jaeger <aj@suse.de>
7930
7931 * po/bg.po: Update from translation team.
7932 * po/cs.po: Likewise.
7933 * po/de.po: Likewise.
7934 * po/hr.po: Likewise.
7935 * po/nl.pl: Likewise.
7936 * po/pl.po: Likewise.
7937 * po/vi.po: Likewise.
7938
370ca3d2
JM
79392012-07-03 Joseph Myers <joseph@codesourcery.com>
7940
95f5a9a8
JM
7941 * Makeconfig [!+link] (+link-before-libc): New variable.
7942 [!+link] (+link-after-libc): Likewise.
7943 [!+link] (+link-tests): Likewise.
7944 [!+link] (+link): Define in terms of $(+link-before-libc) and
7945 $(+link-after-libc).
7946 [!+link-static] (+link-static-before-libc): New variable.
7947 [!+link-static] (+link-static-after-libc): Likewise.
7948 [!+link-static] (+link-static-tests): Likewise.
7949 [!+link-static] (+link-static): Define in terms of
7950 $(+link-static-before-libc) and $(+link-static-after-libc).
7951 [build-shared] (link-libc-before-gnulib): New variable.
7952 [build-shared] (link-libc-tests): Likewise.
7953 [build-shared] (link-libc): Define in terms of
7954 $(link-libc-before-gnulib).
7955 [!build-shared] (link-libc-tests): New variable.
7956 (link-libc-static-tests): New variable.
7957 [!gnulib] (gnulib-arch): New variable.
7958 [!gnulib] (gnulib-tests): Likewise.
7959 [!gnulib] (static-gnulib-arch): Likewise.
7960 [!gnulib] (static-gnulib-tests): Likewise.
7961 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7962 Define with "=" instead of ":=".
7963 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7964 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7965 * Rules (binaries-all-notests): New variable.
7966 (binaries-all-tests): Likewise.
7967 (binaries-static-notests): Likewise.
7968 (binaries-static-tests): Likewise.
7969 (binaries-all): Define using $(binaries-all-notests) and
7970 $(binaries-all-tests).
7971 (binaries-static): Define using $(binaries-static-notests) and
7972 $(binaries-static-tests).
7973 (binaries-shared-tests): New variable.
7974 (binaries-shared-notests): Likewise.
7975 (binaries-shared): Remove variable.
7976 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7977 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7978 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7979 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7980 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7981 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7982 * elf/Makefile (sln-modules): New variable.
7983 (extra-objs): Add $(sln-modules:=.o).
7984 (ldconfig-modules): Add static-stubs.
7985 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7986 * elf/static-stubs.c: New file.
7987
7a845b2c
JM
7988 [BZ #14283]
7989 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7990 by 7 not 8 to examine high bit of fractional part. Use volatile
7991 variables when splitting into final array of floats if
7992 __FLT_EVAL_METHOD__ != 0.
7993 * math/libm-test.inc (cos_test): Add another test.
7994 (sin_test): Likewise.
7995 * sysdeps/i386/fpu/libm-test-ulps: Update.
7996
e2283f38
JM
7997 [BZ #14273]
7998 * math/libm-test.inc (cosh_test): Add more tests.
7999
370ca3d2
JM
8000 * version.h (RELEASE): Set to "development".
8001 (VERSION): Set to "2.16.90".
8002
ee9247c3
CD
80032012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
8004
8005 * NEWS: Update copyright. Remove last-updated date.
8006 Mention math library bug fixes and timezone data changes.
8007 * README: Mention GNU/Hurd, x32, and HPPA support status.
8008
4648c381
TS
80092012-06-28 Thomas Schwinge <thomas@codesourcery.com>
8010
8011 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
8012
aac78a43
AJ
80132012-06-27 Andreas Jaeger <aj@suse.de>
8014
8015 * manual/contrib.texi (Contributors): Add Samuel Thibault.
8016
ed3dbfad
AJ
80172012-06-25 Andreas Jaeger <aj@suse.de>
8018
8019 * sysdeps/s390/fpu/libm-test-ulps: Update.
8020
4d0ee855
AS
80212012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8022 Thomas Schwinge <thomas@codesourcery.com>
8023
8024 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8025 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8026 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8027 fanotify_mark.
8028
af1bce34
TS
80292012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8030
a9fa33ba
TS
8031 * sysdeps/mach/start.c: Remove file.
8032 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8033 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8034 * sysdeps/sh/init-first.c: Likewise.
8035
58f902b8
TS
8036 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8037 registers for frame unwinding purposes, add CFI directives.
8038 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8039 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8040 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8041 Likewise.
8042
1518f58b
TS
8043 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8044 __fortify_fail returning.
8045 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8046
db9b5059
TS
8047 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8048 sysdeps/sh/____longjmp_chk.S.
8049 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8050 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8051 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8052 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8053
967705fe
TS
8054 * sysdeps/sh/abort-instr.h: New file.
8055 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8056 process in case exit returns.
8057
a9def8c4
TS
8058 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8059 initialize the GOT register before use.
8060
2a649725
TS
8061 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8062 calculation of ARGC > 4.
8063
af1bce34
TS
8064 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8065 meaningful names to some local labels.
8066
d230f50a
KK
80672012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8068 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8069
8070 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8071 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8072 (__arch_compare_and_exchange_val_16_acq): Likewise.
8073 (__arch_compare_and_exchange_val_32_acq): Likewise.
8074 (atomic_exchange_and_add): Fix gUSA sequence.
8075 (atomic_add): Likewise.
8076 (atomic_add_negative): Likewise.
8077 (atomic_add_zero): Likewise.
8078 (atomic_bit_test_set): Likewise.
8079
0479b305
AS
80802012-06-22 Andreas Schwab <schwab@redhat.com>
8081
8082 [BZ #13579]
8083 * include/link.h (struct link_map): Add l_free_initfini.
8084 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8085 l_initfini.
8086 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8087 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8088 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8089 set.
8090
0e3933b9
CD
80912012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8092
8093 * configure.in: Use AC_LANG_SOURCE.
8094 * configure: Regenerate.
8095
4248b1b1
RM
80962012-06-22 Roland McGrath <roland@hack.frob.com>
8097
8098 * configure.in (libc_cv_localstatedir): New substituted variable.
8099 * configure: Regenerated.
8100 * config.make.in (localstatedir): New variable, substituted from
8101 libc_cv_localstatedir.
8102 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8103 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8104 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8105 * sysdeps/gnu/configure: Regenerated.
8106
006dd861
JL
81072012-06-21 Jeff Law <law@redhat.com>
8108
8109 [BZ #14277]
8110 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8111 free. Simplify list management for _LIBC case.
8112
79662d42
JM
81132012-06-21 Joseph Myers <joseph@codesourcery.com>
8114
b7abb4bf
JM
8115 [BZ #14273]
8116 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8117 Clear sign bit of 64-bit integer value before comparing against
8118 overflow value.
8119
79662d42
JM
8120 * sysdeps/mach/configure: Regenerated.
8121
1f150908
L
81222012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8123
8124 [BZ #14278]
8125 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8126
28363bbf
JL
81272012-06-21 Jeff Law <law@redhat.com>
8128
8129 [BZ #13882]
8130 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8131 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8132 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8133 * elf/dl-open.c (dl_open_worker): Likewise.
8134
09615db4
CD
81352012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8136
8137 * scripts/list-sources.sh: Scan PORTS for translations.
8138 * po/libc.pot: Regenerated.
8139
2174c6dd
AJ
81402012-06-21 Andreas Jaeger <aj@suse.de>
8141
8142 [BZ #12194]
8143 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8144 warning.
8145 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8146 * bits/byteswap-16.h (__bswap_16): Likewise.
8147 * bits/byteswap.h (__bswap_constant_16): Likewise.
8148
3ee947b1
L
81492012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8150
8151 [BZ #14117]
a2f34833
L
8152 * sysdeps/i386/fpu_control.h: Removed.
8153 * sysdeps/x86_64/fpu_control.h: Moved to ...
8154 * sysdeps/x86/fpu_control.h: Here.
8155
3ee947b1
L
8156 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8157 (_FPU_SETCW): Likewise.
8158
ed1825f8
L
81592012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8160
25f1282a
L
8161 [BZ #14117]
8162 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8163 * sysdeps/x86/fpu/bits/mathinline.h: This.
8164 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8165
ed1825f8
L
8166 [BZ #14050]
8167 [BZ #14117]
8168 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8169 functions if __x86_64__ is defined.
8170
36d54b74
CLT
81712012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8172
8173 * string/endian.h: Add !__ASSEMBLER__ condition for including
8174 conversion interfaces.
8175
10285c21
JM
81762012-06-15 Joseph Myers <joseph@codesourcery.com>
8177
8178 [BZ #14241]
8179 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8180 of ABS(x) in calculating zero to negative powers other than odd
8181 integers.
8182 * math/libm-test.inc (pow_test): Add more tests.
8183
06c5abbd
AJ
81842012-06-15 Andreas Jaeger <aj@suse.de>
8185
8186 * manual/contrib.texi (Contributors): Update entry of Liubov
8187 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8188 Machado Filho.
8189
a3aeac40
CH
81902012-06-15 Cyril Hrubis <metan@ucw.cz>
8191
8192 * string/string.h: Add __wur to GNU version of strerror_r.
8193
49bdf4c1
L
81942012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8195
8196 [BZ #14229]
8197 * string/Makefile (tests): Add tst-strtok_r.
8198 * string/tst-strtok_r.c: New file.
8199 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8200 RAX_LP/RDX_LP on SAVE_PTR.
8201
834f9b8d
RM
82022012-06-14 Roland McGrath <roland@hack.frob.com>
8203
8204 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8205
75fa1921
JM
82062012-06-14 Joseph Myers <joseph@codesourcery.com>
8207
8208 * libm_test.inc (csqrt_test): Allow more spurious underflow
8209 exceptions.
8210 (j0_test): Likewise.
8211 (j1_test): Likewise.
8212 (y0_test): Likewise.
8213 (y1_test): Likewise.
8214
771766df
CD
82152012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8216
8217 * po/Makefile (libc.pot): Use UTF-8 charset.
8218
ceb9e56b
PP
82192012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8220
8221 [BZ #14210]
8222 Suppress sign-conversion warning from FD_SET.
8223 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8224 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8225 not unsigned long int.
8226 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8227
ddb28975
L
82282012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8229
8230 [BZ #14050]
8231 [BZ #14117]
8232 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8233 __extern_always_inline instead of __extern_inline.
8234 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8235 (__signbit): Likewise.
8236 (__signbitl): Support C++ namespace.
8237 (lrintf): New inline function.
8238 (lrint): Likewise.
8239 (llrintf): Likewise.
8240 (llrint): Likewise.
8241 (fmaxf): Likewise.
8242 (fmax): Likewise.
8243 (fminf): Likewise.
8244 (fmin): Likewise.
8245 (rint): Likewise.
8246 (rintf): Likewise.
8247 (ceil): Likewise.
8248 (ceilf): Likewise.
8249 (floor): Likewise.
8250 (floorf): Likewise.
8251 (nearbyint): Likewise.
8252 (nearbyintf): Likewise.
8253
d7b4fb26
TS
82542012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8255
8256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8257 non-default versions.
8258
eb55f5c2
RM
82592012-06-11 Roland McGrath <roland@hack.frob.com>
8260
8261 [BZ #14218]
8262 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8263
366af02c
TS
82642012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8265
99ff6e5c
TS
8266 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8267 (FE_UPWARD, FE_DOWNWARD): Don't define.
8268 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8269 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8270
366af02c
TS
8271 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8272 reading it.
8273 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8274 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8275
793ea851
KK
82762012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8277
8278 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8279 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8280 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8281 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8282
a728a38f
L
82832012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8284
8285 [BZ #14117]
c08010c7
L
8286 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8287 * sysdeps/i386/fpu/Implies: New file.
8288 * sysdeps/x86_64/fpu/Implies: Likewise.
8289 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8290 * sysdeps/x86/fpu/bits/fenv.h: This.
8291
a728a38f
L
8292 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8293 __SSE_MATH__.
8294
6e230d11
SP
82952012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8296
8297 [BZ #14134]
8298 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8299 character 0xffff that matches the last element of the
8300 conversion table.
8301
1b671feb
AZ
83022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8303
8304 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8305 fmodl commit.
8306
6043738b
AZ
83072012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8308
8309 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8310 values higher than 25.6283.
8311
34ae0b32
AZ
83122012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8313
8314 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8315 subnormal exponent extraction and add some __builtin_expect.
8316 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8317 Fix for subnormal mantissa calculation.
8318
1214ec8f
MF
83192012-06-04 Mike Frysinger <vapier@gentoo.org>
8320
8321 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8322 cpu2 is -1 and errno is not ENOSYS.
8323
f3d1f93c
L
83242012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8325
8326 [BZ #14117]
0e4a3cd7
L
8327 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8328 * sysdeps/x86/bits/string.h: This.
8329 * sysdeps/x86_64/bits/string.h: Removed.
8330
6704c645
L
8331 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8332 if not compiling for x86-64, but compiling for >= i486.
8333
48495318
L
8334 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8335 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8336
14adcbfc
L
8337 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8338 New macro from Linux kernel 3.4.0.
8339 (FP_XSTATE_MAGIC2): Likewise.
8340 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8341 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8342 (struct _fpx_sw_bytes): New struct.
8343 (struct _xsave_hdr): Likewise.
8344 (struct _ymmh_state): Likewise.
8345 (struct _xstate): Likewise.
8346
68e408ab
L
8347 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8348 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8349 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8350 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8351 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8352 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8353
f3d1f93c
L
8354 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8355 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8356 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8357 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8358 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8359 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8360
d9dc34cd
TMQMF
83612012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8362
8363 [BZ #13743]
8364 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8365 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8366 (sysdep_headers): Include sys/platform/ppc.h.
8367 * sysdeps/powerpc/test-gettimebase.c: Test for
8368 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8369 * manual/Makefile (appendices): Include platform.texi.
8370 * manual/contrib.texi (Contributors): Update @node pointers.
8371 * manual/maint.texi (Maintenance): Likewise.
8372 (Platform): New node.
8373 * manual/platform.texi: New file. Document the new features.
8374
4af3879c
SP
83752012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8376 Jakub Jelinek <jakub@redhat.com>
8377
8378 [BZ #14188]
8379 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8380 where __builtin_expect is unavailable.
8381
2fd6ff13
DM
83822012-06-03 David S. Miller <davem@davemloft.net>
8383
8384 * stdlib/longlong.h: Updated from GCC.
8385
173f7220
AS
83862012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8387
8388 [BZ #14042]
8389 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8390 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8391 __mcount_internal.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8393 (GLIBC_2.16): Likewise.
8394
f34a1c6f
L
83952012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8396
8397 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8398
88a4576f
JM
83992012-06-01 Joseph Myers <joseph@codesourcery.com>
8400
ea32bcdd
JM
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8402 (default-abi): New variable.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8404 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8405 variable.
8406 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8407 Likewise.
8408 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8409 Likewise.
8410 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8411 Likewise.
8412
88a4576f
JM
8413 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8414 definition. Document in comment.
8415
402fe938
DM
84162012-06-01 David S. Miller <davem@davemloft.net>
8417
8418 * stdlib/longlong.h: Updated from GCC.
8419
3553723f
L
84202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8421
8422 [BZ #14117]
3bd872c4
L
8423 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8424 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8425 sys/debugreg.h sys/io.h here.
8426 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8427 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8428 sys/io.h.
8429 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8430 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8431 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8432 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8433 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8434 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8435
3553723f
L
8436 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8437 Define only if __x86_64__ is defined.
8438
4842e4fe
JM
84392012-06-01 Joseph Myers <joseph@codesourcery.com>
8440
c5bfe3d5
JM
8441 [BZ #14048]
8442 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8443 Use int64_t for variable i.
8444 * math/libm-test.inc (fmod_test): Add more tests.
8445
4842e4fe
JM
8446 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8447 z computation is not scheduled after fetestexcept.
8448 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8449 Use math_force_eval instead of asm to ensure calculation scheduled
8450 before exception test.
8451 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8452 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8453
efb73488
AJ
84542012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8455
8456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8457 computation is not scheduled after fetestexcept.
8458
29bcce7c
L
84592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8460
8461 [BZ #14117]
8462 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8463 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8464
73a68f94
AZ
84652012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8466
8467 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8468 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8469
67b6df78
L
84702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8471
edf2933a 8472 [BZ #14117]
ebc64a18
L
8473 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8474 <bits/wordsize.h>.
8475 (__WCHAR_MIN): Support __WORDSIZE == 64.
8476 (__WCHAR_MAX): Likewise.
8477
edf2933a
L
8478 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8479 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8480
57c6cf40
L
8481 [BZ #14183]
8482 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8483 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8484
67b6df78 8485 [BZ #14117]
8eb6281e
L
8486 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8487 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8488
aac639f4
L
8489 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8490 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8491
67b6df78
L
8492 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8493 Defined to 1 if __x86_64__ isn't defined.
8494 (_STAT_VER_LINUX_OLD): New.
8495 (st_atime): Remove duplicate.
8496 (st_mtime): Likewise.
8497 (st_ctime): Likewise.
8498
1c2cfe81
DM
84992012-05-31 David S. Miller <davem@davemloft.net>
8500
8501 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8502 entries.
8503
5be8418c
AS
85042012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8505
e7725326
AS
8506 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8507 gen-libm-test.pl.
8508
5be8418c
AS
8509 [BZ #14132]
8510 * elf/dl-reloc.c: Include <_itoa.h>.
8511 (_dl_reloc_bad_type): Remove use of INTUSE.
8512 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8513 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8514 * stdio-common/psiginfo.c (psiginfo): Likewise.
8515 * stdio-common/psignal.c (psignal): Likewise.
8516 * string/strsignal.c (strsignal): Likewise.
8517 * include/signal.h (_sys_siglist): Declare hidden proto.
8518 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8519 INTVARDEF with libc_hidden_data_def.
8520 * stdio-common/itoa-udigits.c: Likewise.
8521 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8522 (_itoa_lower_digits_internal): Remove declaration.
8523 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8524 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8525 (_sys_sigabbrev_internal): Remove aliases.
8526 (_sys_siglist): Define hidden alias.
8527
507352f1
MT
85282012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8529
8530 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8531 bits/sysctl.h.
8532
42bbb1c3
L
85332012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8534
8535 [BZ #14117]
6bd784b6
L
8536 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8537 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8538
8bca20f0
L
8539 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8540 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8541 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8542 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8543 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8544 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8545
f9e890a9
L
8546 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8547 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8548 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8549
471101a1
L
8550 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8551 with __addr.
8552 (insw): Likewise.
8553 (insl): Likewise.
8554 (outsb): Likewise.
8555 (outsw): Likewise.
8556 (outsl): Likewise.
8557
6451c862
L
8558 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8559 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8560 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8561
a254b8c9
L
8562 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8563 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8564 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8565 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8566 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8567 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8568
b8dfdd92
L
8569 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8570 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8571
578cd270
L
8572 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8573 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8574
de662f5f
L
8575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8577 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8578
25653439
L
8579 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8580 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8581 to ...
8582 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8583
6bad24a0
L
8584 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8585 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8586 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8587
42bbb1c3
L
8588 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8589 for x86-64.
8590 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8591
2d10d547
JM
85922012-05-31 Joseph Myers <joseph@codesourcery.com>
8593
8594 * math/math.h (M_El): Use two more decimal places.
8595 (M_LOG2El): Likewise.
8596 (M_LOG10El): Likewise.
8597 (M_LN2l): Likewise.
8598 (M_LN10l): Likewise.
8599 (M_PIl): Likewise.
8600 (M_PI_2l): Likewise.
8601 (M_PI_4l): Likewise.
8602 (M_1_PIl): Likewise.
8603 (M_2_PIl): Likewise.
8604 (M_2_SQRTPIl): Likewise.
8605 (M_SQRT2l): Likewise.
8606 (M_SQRT1_2l): Likewise.
8607
f230c29b
DM
86082012-05-31 David S. Miller <davem@davemloft.net>
8609
8610 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8611 values between float registers.
8612 * sysdeps/sparc/sparc64/memset.S: Likewise.
8613 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8614
fed806c3
MF
86152012-05-31 Mike Frysinger <vapier@gentoo.org>
8616
8617 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8618 -D_FORTIFY_SOURCE=1.
8619 (CPPFLAGS-tst-longjmp_chk.c): Define.
8620 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8621 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8622 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8623 CFLAGS-tst-wchar-h.c.
8624
30917259
MP
86252012-05-31 Marek Polacek <polacek@redhat.com>
8626
8627 [BZ #14132]
8628 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8629 __endmntent_internal): Remove declaration.
8630 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8631 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8632 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8633
1c58d5dc
DM
86342012-05-30 David S. Miller <davem@davemloft.net>
8635
8636 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8637 (___Q_simulate_exceptions): Use real FP ops rather than writing
8638 into the %fsr.
8639 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8640 Likewise.
8641
7dc00e0d
L
86422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8643
8644 [BZ #14117]
0bd53985
L
8645 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8646 * sysdeps/x86/bits/xtitypes.h: This.
8647
3a257e66
L
8648 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8649 * sysdeps/x86/bits/wordsize.h: This.
8650
62f62904
L
8651 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8652 * sysdeps/x86/bits/huge_vall.h: This.
8653
404fe9d9
L
8654 * sysdeps/i386/bits/select.h: Removed.
8655 * sysdeps/x86_64/bits/select.h: Renamed to ...
8656 * sysdeps/x86/bits/select.h: This.
8657
d48d0446
L
8658 * sysdeps/i386/bits/setjmp.h: Removed.
8659 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8660 * sysdeps/x86/bits/setjmp.h: This.
8661
7dc00e0d
L
8662 * sysdeps/i386/bits/mathdef.h: Removed.
8663 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8664 * sysdeps/x86/bits/mathdef.h: This.
8665
03277f8f
AS
86662012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8667
8668 [BZ #14132]
8669 * include/sys/socket.h (__connect_internal)
8670 (__libc_sa_len_internal): Remove declaration.
8671 (__connect, __libc_sa_len): Declare hidden_proto.
8672 (SA_LEN): Remove use of INTUSE.
8673 * socket/connect.c: Add libc_hidden_def.
8674 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8675 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8676 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8677 alias.
8678 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8679 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8680 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8681 of adding _internal alias.
8682
13764867
L
86832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8684
8685 [BZ #14117]
6bd97696
L
8686 * sysdeps/i386/bits/link.h: Removed.
8687 * sysdeps/i386/bits/linkmap.h: Likewise.
8688 * sysdeps/x86_64/bits/link.h: Renamed to ...
8689 * sysdeps/x86/bits/link.h: This.
8690 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8691 * sysdeps/x86/bits/linkmap.h: This.
8692
f726f0bb
L
8693 * sysdeps/i386/bits/endian.h: Removed.
8694 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8695 * sysdeps/x86/bits/endian.h: This.
8696
13764867
L
8697 * sysdeps/i386/bits/byteswap.h: Removed.
8698 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8699 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8700 * sysdeps/x86/bits/byteswap.h: This.
8701 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8702 * sysdeps/x86/bits/byteswap-16.h: This.
8703 * sysdeps/i386/Implies: Add x86.
8704 * sysdeps/x86_64/Implies: Likewise.
8705
ae251b0b
DM
87062012-05-30 David S. Miller <davem@davemloft.net>
8707
8708 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8709 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8710 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8711 (FP_TRAPPING_EXCEPTIONS): Define.
8712 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8713 (FP_TRAPPING_EXCEPTIONS): Define.
8714 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8715 subnormals only when inexact has been signalled or underflow
8716 exceptions are enabled.
8717 (_FP_PACK_CANONICAL): Likewise.
8718
d5c90867
L
87192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8720
8721 [BZ #14183]
8722 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8723 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8724
63f1549e
RH
87252012-05-30 Richard Henderson <rth@twiddle.net>
8726
8d8f2279
RH
8727 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8728 with #ifndef NOT_IN_libc.
8729
63f1549e
RH
8730 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8731 marked to avoid plt entry.
8732
0ab0291b
L
87332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8734
8735 [BZ #14112]
8736 * Makeconfig (default-abi): New macro.
8737 (abi-includes): Likewise.
8738 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8739 $(abi-$(default-abi)-lib-soname) for soname if defined.
8740 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8741 abi-variants.
8742 * Makefile (installed-stubs): Likewise.
8743 * include/stubs-biarch.h: Removed.
8744 * scripts/lib-names.awk: Only handle one library at a time.
8745 * scripts/soversions.awk: Remove WORDSIZE support.
8746 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8747 entries.
8748 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8749 Removed.
8750 (syscall-list-default-condition): Likewise.
8751 (syscall-list-default-condition): Likewise.
8752 (syscall-list-includes): Likewise.
8753 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8754 syscall-list-* with abi-*. Handle undefined abi-variants.
8755 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8756 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8757 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8758 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8759 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8760 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8761 Removed.
8762 (syscall-list-32-options): Likewise.
8763 (syscall-list-32-condition): Likewise.
8764 (syscall-list-64-options): Likewise.
8765 (syscall-list-64-condition): Likewise.
8766 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8767 macro.
8768 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8769 Renamed to ...
8770 (abi-*): This.
8771 (abi-64-ld-soname): New macro.
8772 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8773 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8774 Renamed to ...
8775 (abi-*): This.
8776 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8777 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8778
4da0431d
JM
87792012-05-30 Joseph Myers <joseph@codesourcery.com>
8780
3a85279c
JM
8781 * sysdeps/unix/sysv/linux/kernel-features.h
8782 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8783 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8784 include <kernel-features.h>.
8785 [!__NR_ftruncate64]: Remove conditional code.
8786 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8787 [__NR_ftruncate64]: Make code unconditional.
8788 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8789 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8790 include <kernel-features.h>.
8791 [!__NR_ftruncate64]: Remove conditional code.
8792 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8793 [__NR_ftruncate64]: Make code unconditional.
8794 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8796 include <kernel-features.h>.
8797 [!__NR_ftruncate64]: Remove conditional code.
8798 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8799 [__NR_ftruncate64]: Make code unconditional.
8800 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8802 include <kernel-features.h>.
8803 [!__NR_ftruncate64]: Remove conditional code.
8804 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8805 [__NR_ftruncate64]: Make code unconditional.
8806 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8807
4da0431d
JM
8808 * configure.in (libc_cv_fpie): Weaken to a compile test using
8809 LIBC_TRY_CC_OPTION.
8810 * configure: Regenerated.
8811
11ef492c
AK
88122012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8813
8814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8818 Refreshed.
8819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8825 Refreshed.
8826
d66ef399
DM
88272012-05-27 David S. Miller <davem@davemloft.net>
8828
8829 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8830 (___Q_zero): New.
8831 (__Q_simulate_exceptions): Return void. Change to simulate
8832 exceptions by writing into the %fsr.
8833 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8834 (__Qp_handle_exceptions): Likewise.
8835 (numbers): Delete.
8836 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8837 __Qp_handle_exceptions.
8838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8839 __Qp_handle_exceptions.
8840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8841 as unused and give dummy FP_RND_NEAREST initializer.
8842 (FP_INHIBIT_RESULTS): Define.
8843 (___Q_simulate_exceptions): Update declaration.
8844 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8845 formatting.
8846 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8847 as unused and give dummy FP_RND_NEAREST initializer.
8848 (__Qp_handle_exceptions): Update declaration.
8849 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8850 formatting.
8851
04fb54b5
TS
88522012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8853
8854 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8855 the temporary FPU control word.
8856 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8857 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8858 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8859 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8860 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8861 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8862 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8863 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8864 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8865 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8866 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8867
3f99608f
KK
88682012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8869
8870 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8871 fields.
8872
65a4de4e
CLT
88732012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8874
8875 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8876 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8877 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8878 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8879 Likewise.
8880 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8881 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8882 Likewise.
8883
15749d40
UD
88842012-05-27 Ulrich Drepper <drepper@gmail.com>
8885
8886 * po/h.po: Update from translation team.
8887
25dbcb27
AS
88882012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8889
3d3f8e55
AS
8890 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8891
25dbcb27
AS
8892 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8893 handling of denormals.
8894 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8895 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8896 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8897 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8898 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8899 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8900 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8901 Likewise.
8902
7ad47a80 89032012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8904
8905 [BZ #14152]
8906 * math/libm-test.inc (fma_test): Don't always expect underflow
8907 exception.
8908
9c6ea9fa
SP
89092012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8910
8911 [BZ #12416]
8912 * elf/tst-execstack.c: Include stackinfo.h.
8913 (do_test): Adjust test case to ensure that pthread_getattr_np
8914 behaviour remains the same after marking stack executable.
8915
a8239222
JM
89162012-05-25 Joseph Myers <joseph@codesourcery.com>
8917
8918 * sysdeps/unix/sysv/linux/kernel-features.h
8919 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8920 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8921 kernel-features.h.
8922 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8923 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8924 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8925 kernel-features.h.
8926 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8927 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8928
918b5606
L
89292012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8930
8931 * configure.in: Define the default includes to being none.
8932 * configure: Regenerated.
8933
3a097cc7
RM
89342012-05-25 Roland McGrath <roland@hack.frob.com>
8935
8422c9a5
RM
8936 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8937 * sysdeps/x86_64/setjmp.S: Likewise.
8938 * sysdeps/i386/bsd-setjmp.S: Likewise.
8939 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8940 * sysdeps/i386/setjmp.S: Likewise.
8941 * sysdeps/i386/__longjmp.S: Likewise.
8942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8943 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8944
3a097cc7
RM
8945 * include/stap-probe.h: New file.
8946 * configure.in: Handle --enable-systemtap.
8947 * configure: Regenerated.
8948 * config.h.in (USE_STAP_PROBE): New #undef.
8949 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8950 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8951 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8952
21708942
JM
89532012-05-25 Joseph Myers <joseph@codesourcery.com>
8954
8955 [BZ #13717]
8956 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8957 to 2.4.0 where earlier.
8958 * sysdeps/unix/sysv/linux/configure: Regenerated.
8959 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8960 <kernel-features.h>.
8961 [__ASSUME_32BITUIDS]: Make code unconditional.
8962 [!__ASSUME_32BITUIDS]: Remove conditional code.
8963 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8964 <kernel-features.h>.
8965 [__ASSUME_32BITUIDS]: Make code unconditional.
8966 [!__ASSUME_32BITUIDS]: Remove conditional code.
8967 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8968 [__ASSUME_32BITUIDS]: Make code unconditional.
8969 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8970 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8971 <kernel-features.h>.
8972 [__ASSUME_32BITUIDS]: Make code unconditional.
8973 [!__ASSUME_32BITUIDS]: Remove conditional code.
8974 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8975 <kernel-features.h>.
8976 [__ASSUME_32BITUIDS]: Make code unconditional.
8977 [!__ASSUME_32BITUIDS]: Remove conditional code.
8978 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8979 <kernel-features.h>.
8980 [__ASSUME_32BITUIDS]: Make code unconditional.
8981 [!__ASSUME_32BITUIDS]: Remove conditional code.
8982 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8983 <kernel-features.h>.
8984 [__ASSUME_32BITUIDS]: Make code unconditional.
8985 [!__ASSUME_32BITUIDS]: Remove conditional code.
8986 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8987 <kernel-features.h>.
8988 [__ASSUME_32BITUIDS]: Make code unconditional.
8989 [!__ASSUME_32BITUIDS]: Remove conditional code.
8990 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8991 <kernel-features.h>.
8992 [__ASSUME_32BITUIDS]: Make code unconditional.
8993 [!__ASSUME_32BITUIDS]: Remove conditional code.
8994 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8995 <kernel-features.h>.
8996 [__ASSUME_32BITUIDS]: Make code unconditional.
8997 [!__ASSUME_32BITUIDS]: Remove conditional code.
8998 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8999 <kernel-features.h>.
9000 [__ASSUME_32BITUIDS]: Make code unconditional.
9001 [!__ASSUME_32BITUIDS]: Remove conditional code.
9002 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9003 <kernel-features.h>.
9004 [__ASSUME_32BITUIDS]: Make code unconditional.
9005 [!__ASSUME_32BITUIDS]: Remove conditional code.
9006 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
9007 <kernel-features.h>.
9008 [__ASSUME_32BITUIDS]: Make code unconditional.
9009 [!__ASSUME_32BITUIDS]: Remove conditional code.
9010 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
9011 <kernel-features.h>.
9012 [__NR_setresgid] (__setresgid): Do not declare.
9013 [__ASSUME_32BITUIDS]: Make code unconditional.
9014 [!__ASSUME_32BITUIDS]: Remove conditional code.
9015 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
9016 <kernel-features.h>.
9017 [__NR_setresuid] (__setresuid): Do not declare.
9018 [__ASSUME_32BITUIDS]: Make code unconditional.
9019 [!__ASSUME_32BITUIDS]: Remove conditional code.
9020 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9021 <kernel-features.h>.
9022 [__ASSUME_32BITUIDS]: Make code unconditional.
9023 [!__ASSUME_32BITUIDS]: Remove conditional code.
9024 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9025 <kernel-features.h>.
9026 [__ASSUME_32BITUIDS]: Make code unconditional.
9027 [!__ASSUME_32BITUIDS]: Remove conditional code.
9028 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9029 <kernel-features.h>.
9030 [__ASSUME_32BITUIDS]: Make code unconditional.
9031 [!__ASSUME_32BITUIDS]: Remove conditional code.
9032 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9033 <kernel-features.h>.
9034 [__ASSUME_32BITUIDS]: Make code unconditional.
9035 [!__ASSUME_32BITUIDS]: Remove conditional code.
9036 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9037 <kernel-features.h>.
9038 [__ASSUME_32BITUIDS]: Make code unconditional.
9039 [!__ASSUME_32BITUIDS]: Remove conditional code.
9040 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9041 <kernel-features.h>.
9042 [__ASSUME_32BITUIDS]: Make code unconditional.
9043 [!__ASSUME_32BITUIDS]: Remove conditional code.
9044 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9045 <kernel-features.h>.
9046 [__ASSUME_32BITUIDS]: Make code unconditional.
9047 [!__ASSUME_32BITUIDS]: Remove conditional code.
9048 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9049 <kernel-features.h>.
9050 [__ASSUME_32BITUIDS]: Make code unconditional.
9051 [!__ASSUME_32BITUIDS]: Remove conditional code.
9052 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9053 <kernel-features.h>.
9054 [__ASSUME_32BITUIDS]: Make code unconditional.
9055 [!__ASSUME_32BITUIDS]: Remove conditional code.
9056 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9057 <kernel-features.h>.
9058 [__ASSUME_32BITUIDS]: Make code unconditional.
9059 [!__ASSUME_32BITUIDS]: Remove conditional code.
9060 * sysdeps/unix/sysv/linux/kernel-features.h
9061 (__ASSUME_SETRESUID_SYSCALL): Remove.
9062 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9063 (__ASSUME_32BITUIDS): Likewise.
9064 (__ASSUME_LDT_WORKS): Likewise.
9065 (__ASSUME_O_DIRECTORY): Likewise.
9066 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9067 architecture but not kernel version.
9068 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9069 (__ASSUME_MMAP2_SYSCALL): Likewise.
9070 (__ASSUME_STAT64_SYSCALL): Likewise.
9071 (__ASSUME_IPC64): Likewise.
9072 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9073 <kernel-features.h>.
9074 [__ASSUME_32BITUIDS]: Make code unconditional.
9075 [!__ASSUME_32BITUIDS]: Remove conditional code.
9076 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9077 <kernel-features.h>.
9078 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9079 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9080 132096]: Remove conditional code.
9081 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9082 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9083 <kernel-features.h>.
9084 [__ASSUME_32BITUIDS]: Make code unconditional.
9085 [!__ASSUME_32BITUIDS]: Remove conditional code.
9086 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9087 <kernel-features.h>.
9088 [__ASSUME_32BITUIDS]: Make code unconditional.
9089 [!__ASSUME_32BITUIDS]: Remove conditional code.
9090 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9091 <kernel-features.h>.
9092 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9093 unconditional.
9094 (__setresgid): Do not declare.
9095 [__ASSUME_32BITUIDS]: Make code unconditional.
9096 [!__ASSUME_32BITUIDS]: Remove conditional code.
9097 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9098 <kernel-features.h>.
9099 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9100 unconditional.
9101 (__setresuid): Do not declare.
9102 [__ASSUME_32BITUIDS]: Make code unconditional.
9103 [!__ASSUME_32BITUIDS]: Remove conditional code.
9104 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9105 <kernel-features.h>.
9106 [__ASSUME_32BITUIDS]: Make code unconditional.
9107 [!__ASSUME_32BITUIDS]: Remove conditional code.
9108 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9109 <kernel-features.h>.
9110 [__ASSUME_32BITUIDS]: Make code unconditional.
9111 [!__ASSUME_32BITUIDS]: Remove conditional code.
9112
a386f1cc
RH
91132012-05-25 Richard Henderson <rth@twiddle.net>
9114
9115 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9116 dl_hwcap to ifunc resolver.
9117 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9118 elf_ifunc_invoke.
9119 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9120 dl_hwcap to ifunc resolver.
9121 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9122
b6550497
JM
91232012-05-24 Joseph Myers <joseph@codesourcery.com>
9124
9125 [BZ #14153]
9126 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9127 for |x| <= 2**-26, not 2**-57.
9128 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9129 exception.
9130
b0bc23a1
JL
91312012-05-24 Jeff Law <law@redhat.com>
9132
9133 * stdio-common/Makefile (tests): Add bug25.
9134 * stdio-common/bug25.c: New test.
9135
347c92e9
L
91362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9137
9138 [BZ #13576]
9139 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9140 multiple of MALLOC_ALIGNMENT in size.
9141 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9142
6bcc8b3f
JM
91432012-05-24 Joseph Myers <joseph@codesourcery.com>
9144
9145 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9146 Require >= 256.
9147 (FILENAME_MAX): Use macro-int-constant.
9148 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9149 (_IOFBF): Use macro-int-constant.
9150 (_IOLBF): Likewise.
9151 (_IONBF): Likewise.
9152 (SEEK_CUR): Likewise.
9153 (SEEK_END): Likewise.
9154 (SEEK_SET): Likewise.
9155 (TMP_MAX): Likewise.
9156 (EOF): Use macro-int-constant. Require < 0.
9157 (NULL): Use macro-constant. Require == 0.
9158 (stdin): Require type to be FILE *.
9159 (stdout): Likewise.
9160 (stderr): Likewise.
9161 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9162 macro-int-constant.
9163 (EXIT_SUCCESS): Likewise.
9164 (NULL): Use macro-constant. Require == 0.
9165 (RAND_MAX): Use macro-int-constant.
9166 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9167 [C99-based standards] (strtof): Require function.
9168 [C99-based standards] (strtold): Likewise.
9169 [C99-based standards] (strtoll): Likewise.
9170 [C99-based standards] (strtoull): Likewise.
9171 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9172 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9173 [ISO || ISO99 || ISO11] (math.h): Likewise.
9174 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9175 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9176 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9177
d18ea0c5
AS
91782012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9179
9180 [BZ #14132]
56d25bb8
AS
9181 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9182 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9183 * intl/dgettext.c (DCGETTEXT): Likewise.
9184 * intl/gettext.c (DCGETTEXT): Likewise.
9185 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9186 * posix/regex_internal.h (gettext): Likewise.
9187 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9188 Remove declaration.
9189 * include/argz.h (__argz_count_internal)
9190 (__argz_stringify_internal): Remove declaration.
9191 (__argz_count, __argz_stringify): Declare hidden proto.
9192 * intl/dcgettext.c: Remove use of INTDEF.
9193 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9194 * string/argz-stringify.c: Likewise.
9195 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9196 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9197 Declare hidden proto.
d18ea0c5
AS
9198 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9199 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9200 Declare hidden proto.
9201 * include/stdio.h (__asprintf_internal): Don't declare.
9202 (__asprintf): Don't define as macro. Declare hidden proto.
9203 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9204 (__fsetlocking): Declare hidden proto.
9205 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9206 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9207 hidden proto.
9208 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9209 (_IO_setlinebuf): Remove use of INTUSE.
9210 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9211 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9212 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9213 Remove declaration.
9214 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9215 (_IO_do_flush): Remove use of INTUSE.
9216 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9217 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9218 (_IO_adjust_column, _IO_least_wmarker)
9219 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9220 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9221 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9222 (_IO_default_doallocate, _IO_wdefault_doallocate)
9223 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9224 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9225 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9226 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9227 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9228 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9229 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9230 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9231 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9232 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9233 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9234 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9235 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9236 proto.
9237 (_IO_flush_all_internal, _IO_adjust_column_internal)
9238 (_IO_default_uflow_internal, _IO_default_finish_internal)
9239 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9240 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9241 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9242 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9243 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9244 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9245 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9246 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9247 (_IO_file_close_internal, _IO_file_close_it_internal)
9248 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9249 (_IO_file_init_internal, _IO_file_attach_internal)
9250 (_IO_file_fopen_internal, _IO_file_read_internal)
9251 (_IO_file_sync_internal, _IO_file_seek_internal)
9252 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9253 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9254 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9255 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9256 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9257 (_IO_list_all_internal, _IO_link_in_internal)
9258 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9259 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9260 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9261 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9262 (_IO_do_write_internal, _IO_padn_internal)
9263 (_IO_getline_info_internal, _IO_getline_internal)
9264 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9265 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9266 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9267 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9268 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9269 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9270 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9271 with libc_hidden_ver, remove use of INTUSE.
9272 * libio/genops.c: Likewise.
9273 * libio/freopen.c: Likewise.
9274 * libio/freopen64.c: Likewise.
9275 * libio/iofclose.c: Likewise.
9276 * libio/iofdopen.c: Likewise.
9277 * libio/iofflush.c: Likewise.
9278 * libio/iofflush_u.c: Likewise.
9279 * libio/iofgets.c: Likewise.
9280 * libio/iofgets_u.c: Likewise.
9281 * libio/iofopen.c: Likewise.
9282 * libio/iofopncook.c: Likewise.
9283 * libio/iofread.c: Likewise.
9284 * libio/iofread_u.c: Likewise.
9285 * libio/ioftell.c: Likewise.
9286 * libio/iofwrite.c: Likewise.
9287 * libio/iogetline.c: Likewise.
9288 * libio/iogets.c: Likewise.
9289 * libio/iogetwline.c: Likewise.
9290 * libio/iopadn.c: Likewise.
9291 * libio/iopopen.c: Likewise.
9292 * libio/ioseekoff.c: Likewise.
9293 * libio/ioseekpos.c: Likewise.
9294 * libio/iosetbuffer.c: Likewise.
9295 * libio/iosetvbuf.c: Likewise.
9296 * libio/ioungetc.c: Likewise.
9297 * libio/ioungetwc.c: Likewise.
9298 * libio/iovdprintf.c: Likewise.
9299 * libio/iovsprintf.c: Likewise.
9300 * libio/iovsscanf.c: Likewise.
9301 * libio/memstream.c: Likewise.
9302 * libio/obprintf.c: Likewise.
9303 * libio/oldfileops.c: Likewise.
9304 * libio/oldiofclose.c: Likewise.
9305 * libio/oldiofdopen.c: Likewise.
9306 * libio/oldiofopen.c: Likewise.
9307 * libio/oldiopopen.c: Likewise.
9308 * libio/oldstdfiles.c: Likewise.
9309 * libio/putc.c: Likewise.
9310 * libio/setbuf.c: Likewise.
9311 * libio/setlinebuf.c: Likewise.
9312 * libio/stdfiles.c: Likewise.
9313 * libio/strops.c: Likewise.
9314 * libio/vasprintf.c: Likewise.
9315 * libio/vscanf.c: Likewise.
9316 * libio/vsnprintf.c: Likewise.
9317 * libio/vswprintf.c: Likewise.
9318 * libio/wfiledoalloc.c: Likewise.
9319 * libio/wfileops.c: Likewise.
9320 * libio/wgenops.c: Likewise.
9321 * libio/wmemstream.c: Likewise.
9322 * libio/wstrops.c: Likewise.
9323 * libio/__fpurge.c: Likewise.
9324 * libio/__fsetlocking.c: Likewise.
9325 * assert/assert.c: Likewise.
9326 * debug/fgets_chk.c: Likewise.
9327 * debug/fgets_u_chk.c: Likewise.
9328 * debug/fread_chk.c: Likewise.
9329 * debug/fread_u_chk.c: Likewise.
9330 * debug/gets_chk.c: Likewise.
9331 * debug/obprintf_chk.c: Likewise.
9332 * debug/vasprintf_chk.c: Likewise.
9333 * debug/vdprintf_chk.c: Likewise.
9334 * debug/vsnprintf_chk.c: Likewise.
9335 * debug/vsprintf_chk.c: Likewise.
9336 * malloc/mtrace.c: Likewise.
9337 * misc/error.c: Likewise.
9338 * misc/syslog.c: Likewise.
9339 * stdio-common/asprintf.c: Likewise.
9340 * stdio-common/fxprintf.c: Likewise.
9341 * stdio-common/getw.c: Likewise.
9342 * stdio-common/isoc99_fscanf.c: Likewise.
9343 * stdio-common/isoc99_scanf.c: Likewise.
9344 * stdio-common/isoc99_vfscanf.c: Likewise.
9345 * stdio-common/isoc99_vscanf.c: Likewise.
9346 * stdio-common/isoc99_vsscanf.c: Likewise.
9347 * stdio-common/printf-prs.c: Likewise.
9348 * stdio-common/printf_fp.c: Likewise.
9349 * stdio-common/printf_fphex.c: Likewise.
9350 * stdio-common/printf_size.c: Likewise.
9351 * stdio-common/putw.c: Likewise.
9352 * stdio-common/scanf.c: Likewise.
9353 * stdio-common/sprintf.c: Likewise.
9354 * stdio-common/tmpfile.c: Likewise.
9355 * stdio-common/vfprintf.c: Likewise.
9356 * stdio-common/vfscanf.c: Likewise.
9357 * stdlib/strfmon_l.c: Likewise.
9358 * sunrpc/openchild.c: Likewise.
9359 * sunrpc/xdr_stdio.c: Likewise.
9360 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9361 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9362
d6c33fda
RM
93632012-05-24 Roland McGrath <roland@hack.frob.com>
9364
c1487492
RM
9365 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9366
9367 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9368 in the third column, to generate for the shared library an IFUNC
9369 that uses _dl_vdso_vsym.
9370 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9371 * Makeconfig (object-suffixes-noshared): New variable.
9372
9373 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9374 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9375 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9376 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9377
d6c33fda
RM
9378 [BZ #14132]
9379 * include/sys/time.h (__gettimeofday): Remove macro.
9380 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9381 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9382 Remove INTDEF.
9383 (__gettimeofday): Add libc_hidden_def.
9384 (gettimeofday): Add libc_hidden_weak.
9385 * sysdeps/mach/gettimeofday.c: Likewise.
9386 * sysdeps/posix/gettimeofday.c: Likewise.
9387 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9388 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9389 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9390 (__gettimeofday_internal): Remove strong_alias.
9391 (__gettimeofday): Add libc_hidden_def.
9392 (gettimeofday): Add libc_hidden_weak.
9393 * sysdeps/unix/syscalls.list (gettimeofday):
9394 Remove __gettimeofday_internal alias.
9395
b5a2bbe6
L
93962012-05-24 Daniel Jacobowitz <drow@false.org>
9397 H.J. Lu <hongjiu.lu@intel.com>
9398
9399 [BZ #12495]
9400 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9401 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9402 (largebin_index_32_big): New.
9403 (largebin_index): Use it for 16-byte alignment.
9404 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9405 correction with front_misalign.
9406
cfba4fda
L
94072012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9408
7f907421
L
9409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9411 Likewise.
9412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9413 Likewise.
9414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9415 Likewise.
9416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9417 Likewise.
9418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9419 Likewise.
9420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9421 Likewise.
9422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9423 Likewise.
9424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9425 Likewise.
9426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9427 Likewise.
9428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9429 Likewise.
9430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9431 Likewise.
9432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9433 Likewise.
9434
cfba4fda
L
9435 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9436 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9437
80bad0cc
JM
94382012-05-24 Joseph Myers <joseph@codesourcery.com>
9439
7a25eb06
JM
9440 [BZ #10846]
9441 [BZ #14036]
9442 * math/libm-test.inc (exp_test): Add test from bug 14036.
9443 (pow_test): Add test from bug 10846.
9444
795405f9
JM
9445 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9446 and other flags.
9447 (special_function): Do not include flags in test name.
9448 (parse_args): Likewise.
9449 * sysdeps/i386/fpu/libm-test-ulps: Update.
9450 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9451 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9452 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9454
80bad0cc
JM
9455 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9456 exceptions.
9457 * math/libm-test.inc ("Philosophy"): Update comment about
9458 exception testing.
9459 (UNDERFLOW_EXCEPTION): New macro.
9460 (UNDERFLOW_EXCEPTION_OK): Likewise.
9461 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9462 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9463 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9464 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9465 (INVALID_EXCEPTION_OK): Update value.
9466 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9467 (OVERFLOW_EXCEPTION_OK): Likewise.
9468 (IGNORE_ZERO_INF_SIGN): Likewise.
9469 (test_exceptions): Handle underflow exceptions.
9470 (acos_test): Update for underflow exception expectations.
9471 (cexp_test): Likewise.
9472 (clog_test): Likewise.
9473 (clog10_test): Likewise.
9474 (csqrt_test): Likewise.
9475 (ctan_test): Likewise.
9476 (ctanh_test): Likewise.
9477 (exp_test): Likewise.
9478 (exp10_test): Likewise.
9479 (exp2_test): Likewise.
9480 (expm1_test): Likewise.
9481 (fma_test): Likewise.
9482 (j0_test): Likewise.
9483 (jn_test): Likewise.
9484 (nexttoward_test): Likewise.
9485 (pow_test): Likewise.
9486 (scalbn_test): Likewise.
9487 (scalbln_test): Likewise.
9488 (tan_test): Likewise.
9489 (y1_test): Likewise.
9490 * sysdeps/i386/fpu/libm-test-ulps: Update.
9491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9492
9e0e3d0b
DM
94932012-05-23 David S. Miller <davem@davemloft.net>
9494
9495 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9496 (__libc_sigaction): Remove unused local variables.
9497
ccd0a08f
L
94982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9499
9500 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9501
62bdf9a6
PE
95022012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9503
f8591f80
PE
9504 mktime: avoid signed integer overflow
9505 * time/mktime.c (__mktime_internal): Do not mishandle the case
9506 where diff == INT_MIN.
9507
94c7d826
PE
9508 mktime: simplify computation of average
9509 * time/mktime.c (ranged_convert): Use new time_t_avg function
9510 instead of rolling our own (probably-slower) code.
9511
ce73d683
PE
9512 mktime: do not assume signed right shift propagates sign bit
9513 * time/mktime.c (isdst_differ): New static function.
9514 (__mktime_internal): No need to normalize tm_isdst now.
9515 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9516 tm_isdst values.
9517
72a22e59
PE
9518 mktime: merge another wrapv change from gnulib
9519 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9520 from some compilers.
9521
68605433
PE
9522 mktime: remove incorrect attempt at unusual arithmetics
9523 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9524 The code didn't really work on such machines anyway.
9525 (TYPE_MINIMUM): Assume two's complement.
9526 (twos_complement_arithmetic): Verify that long_int and time_t
9527 are two's complement (or unsigned, in the latter case).
9528
03cf7fe3
PE
9529 mktime: check signed shifts on long_int and time_t, too
9530 * time/mktime.c (SHR): Check that shifts work as desired
9531 on the types long_int and time_t too, as SHR is used on
9532 such types.
9533
f04dfbc2
PE
9534 mktime: do not assume 'long' is wide enough
9535 * time/mktime.c (verify): Move decl up.
9536 (long_int): New type.
9537 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9538 to remove assumption in the code that 'long' is wide enough to
9539 store year values. This assumption is not true on x32 and on
9540 some non-glibc platforms.
9541
62bdf9a6
PE
9542 mktime: merge wrapv change from gnulib
9543 * time/mktime.c (WRAPV): New macro.
9544 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9545 (guess_time_tm, __mktime_internal): Do not assume that signed
9546 integer overflow wraps around; modern compilers generate code
9547 where this assumption is no longer valid.
9548
5e292e4f
L
95492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9550
9551 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9552 Replace "jmp L(pseudo_end)" with "ret".
9553 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9554 Likewise.
9555
8caf8c87
AJ
95562012-05-23 Andreas Jaeger <aj@suse.de>
9557
9558 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9559 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9560
1a09dc56
AJ
95612012-05-23 Andreas Jaeger <aj@suse.de>
9562 Maximilian Attems <max@stro.at>
9563
9564 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9565 New macros.
9566
1c87aba0
L
95672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9568
9569 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9570 code so that pseudo_end is just ret and the stack pointer is
9571 correct also for static library in error case.
9572
40e45bd5
JM
95732012-05-23 Joseph Myers <joseph@codesourcery.com>
9574
c2670533
JM
9575 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9576 move to syscalls.list.
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9581
40e45bd5
JM
9582 * manual/install.texi (Running make install): Do not mention Linux
9583 kernel version for which pt_chown is not needed.
9584 (Linux): Do not mention problems with nscd with 2.0 kernels.
9585 * INSTALL: Regenerated.
9586
be08eda5
AJ
95872012-05-23 Andreas Jaeger <aj@suse.de>
9588
9589 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9590 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9591 macro.
9592 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9594 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9595 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9596 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9597 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9598 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9599 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9600 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9601 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9602 * sysdeps/unix/sysv/linux/bits/in.h
9603 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9604
a6a056bb
RM
96052012-05-22 Roland McGrath <roland@hack.frob.com>
9606
9607 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9608 (PREPARE_VERSION): Just use assert instead, it will be elided
9609 under [NDEBUG] anyway.
9610
c9009328
L
96112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9612
9613 * sysdeps/unix/sysv/linux/Makefile: Include
9614 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9615 (sysdep_routines): Remove sysctl.
c9009328
L
9616 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9617 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9618 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9619 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9620 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9621
73338355
AJ
96222012-05-22 Andreas Jaeger <aj@suse.de>
9623
9624 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9625 that pseudo_end is just ret and the stack pointer is correct also
9626 for static library in error case.
9627
d44638b0
PP
96282012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9629
9630 [BZ #14122]
9631 * nss/nsswitch.c (defconfig_entries): New variable.
9632 (__nss_database_lookup): Don't leak defconfig entries.
9633 (nss_parse_service_list): Don't leak on error paths.
9634 (free_database_entries): New function.
9635 (free_defconfig): New function.
9636 (free_mem): Move common code to free_database_entries.
9637
31a39bd8
L
96382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9639
da0331a8
L
9640 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9641 Add arch_prctl.
9642 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9643
31a39bd8
L
9644 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9645 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9647 New macro.
9648 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9649 (INTERNAL_SYSCALL_TYPES): Likewise.
9650 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9651 (LOAD_REGS_TYPES_[1-6]): Likewise.
9652 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9653 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9654
45470df3
AZ
96552012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9656
9657 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9658 copysignl for GLIBC_2_0.
9659 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9660 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9661 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9662 logbl for GLIBC_2_0.
9663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9664 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9665
98a61bcb
L
96662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9667
a4f6e481
L
9668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9669 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9670
f63d5db6
L
9671 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9672 Use "neg %eax".
9673
98a61bcb
L
9674 * time/mktime.c: Update copyright years.
9675
95770f14
PE
96762012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9677
6226efbd
PE
9678 mktime: merge comment-quoting-style change from gnulib
9679 * time/mktime.c: Quote 'like this' in comments.
9680 The GNU coding standards suggest that we no longer quote `like this',
9681 as "`" and "'" are typically rendered asymmetrically nowadays.
9682 The typical gnulib style is to quote 'like this' when quoting
9683 code, and "like this" when quoting English.
9684
b99e4f78
PE
9685 * time/mktime.c (compile-command): Add "-I.".
9686
643e01e6
PE
9687 mktime: merge mktime-internal.h change from gnulib
9688 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9689
2554247d
PE
9690 mktime: merge time_r change from gnulib
9691 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9692
826dd0ab
PE
9693 mktime: merge DEBUG change from gnulib
9694 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9695 case system <time.h> has a #define.
9696
bd83aabe
PE
9697 mktime: merge <sys/types.h> change from gnulib
9698 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9699 since <time.t> is now guaranteed to define time_t.
9700
95770f14
PE
9701 mktime: merge HAVE_CONFIG_H change from gnulib
9702 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9703
5e1a27a9
L
97042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9705
0e44a77e
L
9706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9707 Use "neg %eax".
9708
5e1a27a9
L
9709 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9710 __rlim_t cast.
9711 (struct rusage): Use anonymous union to pad each field to
9712 __syscall_slong_t.
9713
46259bec
DM
97142012-05-21 David S. Miller <davem@davemloft.net>
9715
9716 * Makefules (o-iterator): Remove .s cases.
9717 (compile-command.s): Delete.
9718 (COMPILE.s): Delete.
9719 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9720
59f0c22e
JM
97212012-05-21 Joseph Myers <joseph@codesourcery.com>
9722
9723 * configure.in (libc_cv_predef_stack_protector): Only consider
9724 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9725 * configure: Regenerated.
9726
20c07380
L
97272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9728
bbb3154b
L
9729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9730 New macro. Use R*LP on int and pointer.
9731 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9732 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9733 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9734 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9735
20c07380
L
9736 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9737 [__WORDSIZE_TIME64_COMPAT32] instead of
9738 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9739 (struct utmp): Likewise.
9740 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9741 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9742 Renamed to ...
9743 (__WORDSIZE_TIME64_COMPAT32): This.
9744 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9745 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9746 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9747 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9748 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9749 (__WORDSIZE_TIME64_COMPAT32): New macro.
9750
d8d1017e
AJ
97512012-05-21 Andreas Jaeger <aj@suse.de>
9752
9753 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9754 only if [SHARED]. Add prototype for __wcschr_ia32.
9755
6c7fb145
RM
97562012-05-21 Roland McGrath <roland@hack.frob.com>
9757
9758 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9759 of %rbp unmolested in the jmp_buf while mangling the low bits.
9760 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9761 unmolested high bits of %rbp while demangling the low bits.
9762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9763
66274218
AJ
97642012-05-21 Andreas Jaeger <aj@suse.de>
9765
07c58f8f
AJ
9766 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9767 * sunrpc/svc_simple.c: Use it for registerrpc.
9768 * sunrpc/xcrypt.c: Use it for passwd2des.
9769
66274218
AJ
9770 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9771
61f65140
L
97722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9775 Don't define if [__SYSCALL_WORDSIZE != 32].
9776 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9777 New macro.
9778
5fefb436
AJ
97792012-05-21 Bruno Haible <bruno@clisp.org>
9780 Andreas Jaeger <aj@suse.de>
9781
9782 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9783 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9784 inptr and inend for must_buffer_ch.
9785 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9786 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9787 * stdio-common/Makefile (tests): Remove bug15.
9788 (bug15-ENV): Remove macro.
9789 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9790 anymore.
9791
d8e272ab
AJ
97922012-05-19 Andreas Jaeger <aj@suse.de>
9793 Roland McGrath <roland@hack.frob.com>
9794
9795 * manual/contrib.texi: Completely rewritten. It contains now an
9796 alphabetical list of contributors and their contributions.
9797
4a56a162
RH
97982012-05-21 Richard Henderson <rth@twiddle.net>
9799
9800 * misc/getauxval.c (__getauxval): Use unsigned long int.
9801 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9802 (getauxval): Use unsigned long int.
9803
d024d23c
L
98042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9805
9806 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9807
cbc00a03
RM
98082012-05-21 Roland McGrath <roland@hack.frob.com>
9809
9810 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9811 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9812 __alignof__ (long double).
9813
478143fa
AZ
98142012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9815
9816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9817
c7683a6d
RH
98182012-05-20 Richard Henderson <rth@twiddle.net>
9819
9820 * misc/getauxval.c: New file.
9821 * misc/sys/auxv.h: New file.
9822 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9823 (routines): Add getauxval.
9824 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9825 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9826 * elf/dl-sysdep.c (_dl_auxv): Remove.
9827 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9828 * elf/dl-support.c (_dl_auxv): New variable.
9829 (_dl_aux_init): Initialize it.
9830 * manual/startup.texi (Auxiliary Vector): New node.
9831 * sysdeps/generic/bits/hwcap.h: New file.
9832 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9833 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9834 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9835 * sysdeps/sparc/sysdep.h: ... here. Include it.
9836 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9837 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9839 Update.
c7683a6d
RH
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9845 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9848
a6f1845d
AZ
98492012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9850
9851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9852
cbcbe830
DM
98532012-05-19 David S. Miller <davem@davemloft.net>
9854
9855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9856
e0b16cc2
JM
98572012-05-19 Joseph Myers <joseph@codesourcery.com>
9858
9859 [BZ #14123]
9860 * math/s_ccosh.c: Include <float.h>
9861 (__ccosh): Avoid internal overflow calculating sinh and cosh
9862 values before multiplying by sin and cos values.
9863 * math/s_ccoshf.c: Likewise.
9864 * math/s_ccoshl.c: Likewise.
9865 * math/s_csin.c: Likewise.
9866 * math/s_csinf.c: Likewise.
9867 * math/s_csinl.c: Likewise.
9868 * math/s_csinh.c: Likewise.
9869 * math/s_csinhf.c: Likewise.
9870 * math/s_csinhl.c: Likewise.
9871 * math/libm-test.inc (ccos_test): Add more tests.
9872 (ccosh_test): Likewise.
9873 (csin_test): Likewise.
9874 (csinh_test): Likewise.
9875 * sysdeps/i386/fpu/libm-test-ulps: Update.
9876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9877
6ad13e08
L
98782012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9879
f66f0ce8
L
9880 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9881 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9882
6ad13e08
L
9883 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9884
b1d072a7
JM
98852012-05-19 Joseph Myers <joseph@codesourcery.com>
9886
9887 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9888 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9889 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9890 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9891 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9892 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9893 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9894 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9895 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9896 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9897 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9898 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9899 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9900 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9901 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9902 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9903 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9904 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9905 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9906 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9907 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9908 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9909 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9910 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9911 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9912 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9913 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9914 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9915 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9916 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9917 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9918
9eae47cb
AJ
99192012-05-18 Andreas Jaeger <aj@suse.de>
9920
9921 * csu/.gitignore: Delete.
9922
bb07f69f
L
99232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9924
9925 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9926 (timex): Use __syscall_slong_t.
9927
e6bdb741
AJ
99282012-05-18 Andreas Jaeger <aj@suse.de>
9929 Carlos O'Donell <carlos_odonell@mentor.com>
9930
9931 * manual/install.texi (Configuring and compiling): Update
9932 description about files modified in the source directory.
d6c33fda 9933 * INSTALL: Regenerated.
e6bdb741 9934
1b74487e
L
99352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9936
9937 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9938 value. Use "or" to set return value to -1.
9939 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9940 negate return value.
9941
a88b64b9
TMQMF
99422012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9943
9944 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9945 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9946 failure if the compiler has Graphite support disabled.
9947 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9948 Likewise.
9949 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9950 CFLAGS-memmove.c): Likewise.
9951 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9952 Likewise.
9953
3707636e
L
99542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9955
610b8622
L
9956 * sysdeps/x86_64/x32/_itoa.h: New file.
9957
7cd195df
L
9958 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9959 getdents system call only if kernel and user dirents have the
9960 same d_ino and d_off.
9961
94b07d20
L
9962 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9963 LLONG_MAX != LONG_MAX.
9964 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9965 (_fitoa_word): Likewise.
9966
18298070
L
9967 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9968 years.
9969 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9970 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9971 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9972
553c7ea4
L
9973 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9974 include <bits/wordsize.h>. Check __x86_64__ instead of
9975 __WORDSIZE.
9976 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9977 if __x86_64__ is defined. Use anonymous union on fpstate.
9978
3707636e
L
9979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9980 anonymous union.
9981
b53ef01a
AS
99822012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9983
37fb1dc0
AS
9984 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9985 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9986 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9987 Refer to _rtld_local_ro instead of _rtld_global_ro.
9988 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9989 Likewise.
9990 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9991 Likewise.
9992 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9993 Likewise.
9994 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9995 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9996 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9997
b53ef01a
AS
9998 * sysdeps/powerpc/powerpc32/dl-machine.c
9999 (__elf_machine_runtime_setup) [PROF]: Don't reference
10000 _dl_prof_resolve.
10001
7a185db2
AJ
100022012-05-18 Andreas Jaeger <aj@suse.de>
10003
10004 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
10005 function only available for GCCs before 3.4 since GCC 3.4
10006 introduced a builtin.
10007 (lrint): Likewise.
10008 (llrintf): Likewise.
10009 (llrint): Likewise.
10010 (fmaxf): Likewise.
10011 (fmax): Likewise.
10012 (fminf): Likewise.
10013 (fmin): Likewise.
10014 (rint): Likewise.
10015 (rintf): Likewise.
10016 (nearbyint): Likewise.
10017 (nearbyintf): Likewise.
10018 (ceil): Likewise.
10019 (ceilf): Likewise.
10020 (floor): Likewise.
10021 (floorf): Likewise.
10022
3e5aef87
L
100232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10024
428bd707
L
10025 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10026 on both fields and cast pointer to __syscall_ulong_t.
10027
3e5aef87
L
10028 * bits/types.h (__fsword_t): New type.
10029 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10030 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10032 (__FSWORD_T_TYPE): Likewise.
10033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10034 (__FSWORD_T_TYPE): Likewise.
10035 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10036 (__FSWORD_T_TYPE): Likewise.
10037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10038 (__FSWORD_T_TYPE): Likewise.
10039 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10040 __SWORD_TYPE with __fsword_t.
10041 (statfs64): Likewise.
10042
1ba7c3dc
DM
100432012-05-17 David S. Miller <davem@davemloft.net>
10044
10045 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10046
59910343
AJ
100472012-05-17 Andreas Jaeger <aj@suse.de>
10048
10049 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10050 warning.
10051
2e4c1e9e
L
100522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10053
10054 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10055
de7f5ce7
AJ
100562012-05-17 Andreas Jaeger <aj@suse.de>
10057
10058 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10059 when it is used.
10060
286abc3d
CM
100612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10062
10063 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10064
477cc68e
L
100652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10066
10067 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10068 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10069
1a0994f5
CD
100702012-05-17 Andreas Jaeger <aj@suse.de>
10071 Carlos O'Donell <carlos_odonell@mentor.com>
10072
10073 [BZ #14059]
10074 * sysdeps/x86_64/multiarch/init-arch.h
10075 (bit_YMM_Usable): Rename to...
10076 (bit_AVX_Usable): ... this.
10077 (bit_FMA4_Usable): New macro.
10078 (bit_XMM_state): New macro.
10079 (bit_YMM_state): New macro.
10080 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10081 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10082 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10083 (CPUID_OSXSAVE): New macro.
10084 (CPUID_AVX): New macro.
10085 (CPUID_FMA4): New macro.
10086 (index_YMM_Usable): Rename to...
10087 (index_AVX_Usable): ... this.
10088 (HAS_AVX): Use HAS_ARCH_FEATURE.
10089 (HAS_FMA4): Likewise.
10090 (HAS_YMM_USABLE): Remove.
10091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10092 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10093 are present.
10094 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10095 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10096 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10097 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10098 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10099
0af797de
CM
101002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10101
10102 * math/libm-test.c: Support platforms without multiple rounding modes.
10103 * math/bug-nextafter.c: Support platforms without FP exceptions.
10104 * math/bug-nexttoward.c: Likewise.
10105 * math/test-fenv.c: Likewise.
10106 * math/test-misc.c: Likewise.
10107 * stdlib/bug-getcontext.c: Likewise.
10108
e39745ff
AJ
101092012-05-17 Andreas Jaeger <aj@suse.de>
10110
10111 * manual/examples/search.c (critter_cmp): Change signature to
10112 avoid warnings.
10113 * manual/string.texi (Collation Functions): Likewise.
10114
48970aba
L
101152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10116
10117 * bits/types.h: Fold copyright years.
10118 * bits/typesizes.h: Likewise.
10119 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10120 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10121 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10122 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10123 * time/time.h: Likewise.
10124
bedee953
PP
101252012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10126
10127 [BZ #208]
10128 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10129 in instead of returning them. Return void.
10130 (__libc_mallinfo): Accumulate over all arenas.
10131 (__malloc_stats): Adjust for change in int_mallinfo interface.
10132
61653dfb
RM
101332012-05-16 Roland McGrath <roland@hack.frob.com>
10134
30b99d79
RM
10135 [BZ #10375]
10136 * configure.in (NM): Add AC_CHECK_TOOL for it.
10137 (libc_extra_cflags): New substituted variable.
10138 Check for -fstack-protector being used implicitly.
10139 * configure: Regenerated.
10140 * config.make.in (config-extra-cflags): New variable,
10141 gets @libc_extra_cflags@.
10142 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10143
61653dfb
RM
10144 [BZ #10375]
10145 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10146 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10147 * configure: Regenerated.
10148 * config.make.in (CPPUNDEFS): New substituted variable.
10149 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10150 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10151 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10152
661768bb
L
101532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10154
10155 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10156 (mq_attr): Use __syscall_slong_t.
10157
d4261567
L
101582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10159
10160 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10161 Check __x86_64__ instead of __WORDSIZE.
10162 (_STAT_VER_LINUX): Likewise.
10163 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10164 __syscall_ulong_t and __syscall_slong_t.
10165 (stat64): Likewise.
10166
cf3ff365
L
101672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10168
10169 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10170
76cf3e4d
L
101712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10172
10173 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10174
a637753a
L
101752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10176
10177 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10178 __syscall_ulong_t.
10179
d5e05119
L
10180 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10181 include <bits/wordsize.h>. Check __x86_64__ instead of
10182 __WORDSIZE.
10183 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10184 defined.
10185 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10186
f62ee380
L
10187 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10188 include <bits/wordsize.h>. Check __x86_64__ instead of
10189 __WORDSIZE.
10190 (user_regs_struct): Use "__extension__ unsigned long long"
10191 instead of "unsigned long" if __x86_64__ is defined.
10192 (user): Likewise. Pad after pointer field if __ILP32__ is
10193 defined.
10194
4e124ced
JM
101952012-05-16 Joseph Myers <joseph@codesourcery.com>
10196
6a3951a0
JM
10197 * configure.in (makeinfo): Require version 4.5 or later. Allow
10198 versions 5 to 9.
10199 * configure: Regenerated.
10200 * manual/install.texi (texinfo): Increase version requirement to
10201 4.5 or later.
10202 * INSTALL: Regenerated.
10203
4e124ced
JM
10204 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10205
953ca31a
L
102062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10207
10208 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10209
617aca05
L
10210 * sysdeps/x86_64/x32/ffs.c: New file.
10211
5762f7ae
L
10212 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10213 __syscall_ulong_t.
10214 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10215 defined. Use __syscall_ulong_t.
10216 (shminfo): Use __syscall_ulong_t.
10217 (shm_info): Likewise.
10218
a26b6856
L
10219 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10220 __syscall_ulong_t.
10221
cb2b9ef7
L
10222 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10223 <bits/wordsize.h>.
10224 (msgqnum_t): Use __syscall_ulong_t.
10225 (msglen_t): Likewise.
10226 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10227 __syscall_ulong_t.
10228
34683bb0
L
10229 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10230 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10231
84a68786
L
10232 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10233
48baa5f1
L
10234 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10235 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10236
180be88b
L
10237 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10238 __syscall_slong_t.
10239
5e90c8ad
L
10240 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10241 include <bits/wordsize.h>. Check __x86_64__ instead of
10242 __WORDSIZE.
10243
23dfb58b
L
10244 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10245 "unsigned long long int" if __x86_64__ is defined.
10246 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10247
ce5d54b0
L
10248 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10249 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10250 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10251
13dc9eac
L
10252 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10253 <stdint.h>.
10254 (GET_PC): Cast to uintptr_t first.
10255 (GET_FRAME): Likewise.
10256 (GET_STACK): Likewise.
10257
a7895d15
L
10258 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10259 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10260 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10261 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10262 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10263 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10264 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10265 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10266 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10267 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10268 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10271 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10272 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10275 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10276 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10278 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10279 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10280 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10281 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10282 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10283 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10284 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10285 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10286 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10287
656416c9
AS
102882012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10289
5bd66283
AS
10290 * Makerules (+depfiles): Also collect depfiles from .oS in
10291 $(extra-objs).
10292 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10293 .oS, $(libnldbl-routines)).
10294
656416c9
AS
10295 * Makerules (native-compile-mkdep-flags): Define.
10296 * sunrpc/Makefile (extra-objs): Add $(addprefix
10297 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10298 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10299 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10300 calling $(make-target-directory).
10301
a46f2169
L
103022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10303
10304 * bits/types.h (__snseconds_t): Removed.
10305 * time/time.h (struct timespec): Replace __snseconds_t with
10306 __syscall_slong_t.
10307 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10308 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10309 Likewise.
10310 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10311 (__SNSECONDS_T_TYPE): Likewise.
10312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10313 (__SNSECONDS_T_TYPE): Likewise.
10314 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10315 (__SNSECONDS_T_TYPE): Likewise.
10316
6af6528b
L
103172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10318
10319 * sysdeps/mach/hurd/bits/typesizes.h
10320 (__SYSCALL_SLONG_TYPE): New macro.
10321 (__SYSCALL_ULONG_TYPE): Likewise.
10322
de986b56
L
103232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10324
10325 * bits/types.h (__syscall_slong_t): New type.
10326 (__syscall_ulong_t): Likewise.
10327
10328 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10329 (__SYSCALL_ULONG_TYPE): Likewise.
10330 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10331 (__SYSCALL_SLONG_TYPE): Likewise.
10332 (__SYSCALL_ULONG_TYPE): Likewise.
10333 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10334 (__SYSCALL_SLONG_TYPE): Likewise.
10335 (__SYSCALL_ULONG_TYPE): Likewise.
10336 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10337 (__SYSCALL_SLONG_TYPE): Likewise.
10338 (__SYSCALL_ULONG_TYPE): Likewise.
10339
85736dc7
L
103402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10341
10342 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10343 Add sigaltstack-offsets.sym.
10344 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10345 <sigaltstack-offsets.h>.
10346 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10347 longjmp_msg pointer.
10348 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10349 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10350 signal stack.
10351 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10352
cc03b296
JM
103532012-05-15 Joseph Myers <joseph@codesourcery.com>
10354
a9538892
JM
10355 * elf/stackguard-macros.h: Remove file.
10356 * sysdeps/generic/stackguard-macros.h: New file.
10357 * sysdeps/i386/stackguard-macros.h: Likewise.
10358 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10359 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10360 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10361 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10362 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10363 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10364 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10365 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10366 <elf/stackguard-macros.h>.
10367
cc03b296
JM
10368 [BZ #14109]
10369 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10370 __aligned__ in attribute.
10371 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10372 (gregset_t): Likewise.
10373
93171016
L
103742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10375
10376 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10377 * sysdeps/x86_64/64/Implies-after: Here. New file.
10378 * sysdeps/x86_64/x32/Implies-after: New file.
10379
d86813a0
L
103802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10381
10382 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10383 and access return value for _dl_profile_fixup. Use R10_LP to
10384 load frame size.
10385
2953ec75
L
103862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10387
10388 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10389
3b550e9e
L
103902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10391
10392 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10393 * sysdeps/x86_64/x32/sysdep.h: New file.
10394
eda41706
L
103952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10396
10397 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10398 * sysdeps/x86_64/setjmp.S: Likewise.
10399
9ea01d93
AZ
104002012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10401
10402 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10403 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10404 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10405 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10406 remove unused global constant.
10407
02a91938
CM
104082012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10409
10410 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10411 include of <not-cancel.h>.
10412
6540185f
RM
104132012-05-15 Roland McGrath <roland@hack.frob.com>
10414
10415 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10416
509072a0
AJ
104172012-05-15 Jeff Law <law@redhat.com>
10418 Andreas Jaeger <aj@suse.de>
10419
10420 [BZ #13594]
10421 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10422 out from...
10423 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10424 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10425 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10426 code changing __hst_map_handle.map.
10427
ba75122d
RM
104282012-05-15 Roland McGrath <roland@hack.frob.com>
10429
10430 * configure.in (sysnames): Look for Implies-before and Implies-after
10431 files.
10432 * configure: Regenerated.
10433
890d8bd8
L
104342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10435
10436 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10437 8-byte data alignment with LP_SIZE alignment.
10438
f6ee6623
L
104392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10440
10441 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10442 into R10_LP.
10443
ea2626f6
L
104442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10445
10446 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10447
085f715e
L
104482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10449
10450 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10451 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10452 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10453 Likewise.
10454 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10455
be8498fc
L
104562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10457
10458 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10459 (stackinfo_sub_sp): Likewise.
10460
70bc83b9
L
104612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10462
10463 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10464 RAX_LP.
10465
9bc0b730
L
104662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10467
10468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10469 into R*_LP.
10470
6d2850e7
L
104712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10472
10473 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10474 sizes into R*_LP.
10475
3cb84561
L
104762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10477
10478 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10479
54e2ed81
L
104802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10481
10482 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10483 into R11_LP and load __x86_64_shared_cache_size_half into
10484 R8_LP.
10485
8a17f349
L
104862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10487
10488 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10489 R8_LP.
10490
777b1eea
AZ
104912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10492
10493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10494 logb for POWER7.
10495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10496 logbf for POWER7.
10497 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10498 logbl for POWER7.
10499 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10500 powerpc32/power7/fpu/s_logb.c via #include.
10501 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10502 powerpc32/power7/fpu/s_logbf.c via #include.
10503 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10504 powerpc32/power7/fpu/s_logbl.c via #include.
10505
d20d4ac2
JM
105062012-05-15 Joseph Myers <joseph@codesourcery.com>
10507
10508 * README.libm: Remove file.
10509
6cdef1ab
L
105102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10511
10512 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10513 count for x32. Use R*_LP and omit operand-size suffix.
10514
0b254d8f
L
105152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10516
10517 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10518 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10519 * sysdeps/x86_64/x32/shlib-versions: New file.
10520
ceb809dc
RM
105212012-05-14 Roland McGrath <roland@hack.frob.com>
10522
10523 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10524 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10525 Use _dl_fatal_printf instead.
10526
37f1abd4
JM
105272012-05-14 Joseph Myers <joseph@codesourcery.com>
10528
10529 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10530 set if not set by the user. Do not allow for being unset.
10531 * sysdeps/unix/sysv/linux/configure: Regenerated.
10532
11de3a33
L
105332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10534
10535 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10536 the `q' suffix from lea and replace .quad with ASM_ADDR.
10537
e02f153a
L
105382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10539
10540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10541 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10542 instead of $17.
10543 (PTR_DEMANGLE): Likewise.
10544
520ae0fd
L
105452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10546
10547 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10548 (LP_OP): Likewise.
10549 (ASM_ADDR): Likewise.
10550 (RAX_LP): Likewise.
10551 (RBP_LP): Likewise.
10552 (RBX_LP): Likewise.
10553 (RCX_LP): Likewise.
10554 (RDI_LP): Likewise.
10555 (RSI_LP): Likewise.
10556 (RSP_LP): Likewise.
10557 (R8_LP): Likewise.
10558 (R9_LP): Likewise.
10559 (R10_LP): Likewise.
10560 (R10_LP): Likewise.
10561 (R11_LP): Likewise.
10562 (R12_LP): Likewise.
10563 (R13_LP): Likewise.
10564 (R14_LP): Likewise.
10565 (R15_LP): Likewise.
10566
b985be81
L
105672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10568
10569 * sysdeps/x86_64/x32/dl-machine.h: New file.
10570
6a4888ff
AJ
105712012-05-14 Andreas Jaeger <aj@suse.de>
10572
10573 * manual/Makefile (subdir): Remove export of subdir.
10574 (all): Remove target.
10575 (.PHONY): Remove all from list.
10576 (mkinstalldirs): Remove.
10577 (.PHONY): Remove installdirs from list.
10578 ($(inst_infodir)/libc.info): Use make-target-directory.
10579 (installdirs): Remove.
10580 (subdir_%): Remove.
10581 (glibc-targets): Remove.
10582 (lib): Remove.
10583 (stubs): Remove.
10584 ($(objpfx)stubs ../po/manual.pot): Remove.
10585 ($(objpfx)stamp%): Remove.
10586 (make-target-directory): Remove.
10587 (subdir_install): Remove.
10588 (routines): Remove.
10589 (aux): Remove.
10590 (sources): Remove.
10591 (objects): Remove.
10592 (headers): Remove.
10593
10594 [BZ #13750]
10595 * manual/.gitignore: Remove, it's not needed anymore.
10596 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10597 all files in it.
10598 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10599 directory.
10600 (texis): Renamed to $(objpfx)texis.
10601 (texis-path): New, contains path to generated files.
10602 (chapters.%): Use texis-path for complete path, add extra argument
10603 libc-texinfo.sh.
10604 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10605 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10606 (summary,texi, stamp-summary): Use complete path of
10607 files. Generate files in build dir.
10608 (dir-add.texi): Build in build dir.
10609 (libm-err.texi,stamp-libm-err): Likewise.
10610 (version.texi, stamp-version): Likewise.
10611 (.%c.texi): Likewise.
10612 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10613 (mostlyclean): Remove target.
10614 (realclean): Remove target.
10615 (generated): Add new variable with contents from mostlyclean and
10616 realclean, remove entries duplicated in common-mostlyclean, add
10617 stamp-libm-err and stamp-version.
10618 (generated-dirs): Add libc directory.
10619 ($(inst_infodir)/libc.info): Install files from build dir.
10620
10621 * manual/install.texi (Configuring and compiling): Adjust since
10622 the info files are not part of the tar ball anymore.
10623
7ac77294
AJ
106242012-05-14 Andreas Jaeger <aj@suse.de>
10625
10626 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10627 variable.
10628
ffb7875d
JM
106292012-05-14 Joseph Myers <joseph@codesourcery.com>
10630
10631 [BZ #13717]
10632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10633 to 2.2.0 where earlier.
10634 * sysdeps/unix/sysv/linux/configure: Regenerated.
10635 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10636 Remove conditional code.
10637 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10638 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10639 Remove conditional code.
10640 [!__NR_lchown]: Likewise.
10641 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10642 [__NR_lchown]: Likewise.
10643 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10644 comment referencing __ASSUME_LCHOWN_SYSCALL.
10645 * sysdeps/unix/sysv/linux/i386/sigaction.c
10646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10648 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10649 Remove conditional code.
10650 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10651 (__protocol_available): Remove #if 0 code.
10652 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10653 conditional code.
10654 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10655 * sysdeps/unix/sysv/linux/kernel-features.h
10656 (__ASSUME_GETCWD_SYSCALL): Don't define.
10657 (__ASSUME_REALTIME_SIGNALS): Likewise.
10658 (__ASSUME_PREAD_SYSCALL): Likewise.
10659 (__ASSUME_PWRITE_SYSCALL): Likewise.
10660 (__ASSUME_POLL_SYSCALL): Likewise.
10661 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10662 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10663 non-SPARC.
10664 (__ASSUME_SIOCGIFNAME): Don't define.
10665 (__ASSUME_MSG_NOSIGNAL): Likewise.
10666 (__ASSUME_SENDFILE): Define unconditionally.
10667 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10668 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10669 conditional code.
10670 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10671 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10672 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10673 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10674 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10675 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10676 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10678 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10679 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10681 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10684 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10685 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10687 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10690 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10691 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10693 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10696 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10697 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10701 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10702 Remove conditional code.
10703 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10704 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10705 Remove conditional code.
10706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10707 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10708 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10709 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10710 Remove conditional code.
10711 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10712 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10713 Remove conditional code.
10714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10715 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10716 Remove conditional code.
10717 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10718 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10719 Remove conditional code.
10720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10721 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10722 Remove conditional code.
10723 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10724 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10725 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10727 * sysdeps/unix/sysv/linux/sigaction.c
10728 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10729 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10730 * sysdeps/unix/sysv/linux/sigpending.c
10731 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10732 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10733 * sysdeps/unix/sysv/linux/sigprocmask.c
10734 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10735 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10736 * sysdeps/unix/sysv/linux/sigsuspend.c
10737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10739 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10740 (__libc_missing_rt_sigs): Remove.
10741 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10742 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10743 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10744 Remove conditional code.
10745 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10746 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10747 return 1.
10748 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10749 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10750 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10751 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10752
1bfb7291
AJ
107532012-05-14 Andreas Jaeger <aj@suse.de>
10754
caae5a81
AJ
10755 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10756 it's not used in glibc.
10757 (__coshm1): Likewise.
10758 (__acosh1p): Likewise.
10759 (__sgn): Likewise.
10760
1bfb7291
AJ
10761 * manual/string.texi (Copying and Concatenation): Add missing
10762 variable in concat example.
10763 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10764
c044d724
L
107652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10766
144c5467 10767 [BZ #14103]
c044d724
L
10768 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10769 __builtin_clzl with __builtin_clzll.
10770
2523c62b
L
107712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10772
10773 [BZ #14104]
10774 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10775 libc_freeres_ptr.
10776
d7bb4c42
LD
107772012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10778
10779 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10780 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10781 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10782 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10783
9dc4e1fb
MF
107842012-05-14 Mike Frysinger <vapier@gentoo.org>
10785
10786 * NEWS: Update ia64 info.
10787
c7df0112
AS
107882012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10789
10790 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10791 used as bcopy.
10792
dc70356c
TS
107932012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10794
10795 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10796 * sysdeps/unix/syscalls.list (dup3): Likewise.
10797 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10798 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10799
9fb1a21f
L
108002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10801
10802 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10803 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10804
4822a2a5
L
108052012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10806
10807 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10808 thread pointer.
10809 (TLS_IE): Use mov/add instead of movq/addq to load thread
10810 pointer.
10811 (TLS_GD_PREFIX): New.
10812 (TLS_GD): Use it.
10813
842b81d6
DM
108142012-05-11 David S. Miller <davem@davemloft.net>
10815
10816 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10817 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10818 (_FPU_SETCW): Likewise.
10819
1cf463cd
L
108202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10821
10822 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10823 is 32-byte aligned.
10824
60cc4a18
AS
108252012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10826
10827 [BZ #11837]
10828 * iconvdata/gb18030.c: Update tables.
10829 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10830 characters specially.
10831 (BODY for TO_LOOP): Add encoding of missing ranges.
10832
febb44a4
TS
108332012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10834
10835 [BZ #13673]
10836 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10837 * sysdeps/mach/hurd/dup3.c: Likewise.
10838 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10839 * sysdeps/powerpc/memmove.c:: Likewise.
10840
0a10fb9e
L
108412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10842
10843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10844 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10845
df8a552f
L
108462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10847
10848 * elf/elf.h (R_X86_64_RELATIVE64): New.
10849 (R_X86_64_NUM): Updated.
10850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10851 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10852 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10853 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10854 tst-quad1pie tst-quad2pie
10855 (modules-names): Add tst-quadmod1 tst-quadmod2.
10856 ($(objpfx)tst-quad1): New dependency.
10857 ($(objpfx)tst-quad2): Likewise.
10858 ($(objpfx)tst-quad1pie): Likewise.
10859 ($(objpfx)tst-quad2pie): Likewise.
10860 * sysdeps/x86_64/tst-quad1.c: New file.
10861 * sysdeps/x86_64/tst-quad1pie.c: New file.
10862 * sysdeps/x86_64/tst-quad2.c: Likewise.
10863 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10864 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10865 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10866 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10867 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10868
f34d6f84
ST
108692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10870
f42d41d1
ST
10871 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10872 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10873 * streams/stropts.h (t_scalar_t): Define type.
10874
3c3571fc
ST
10875 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10876 (_PATH_PRESERVE): Set to "/var/lib".
10877 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10878
61f06bd3
ST
10879 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10880 instead of int.
10881
918d4d71
ST
10882 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10883 if __dir_mkfile succeeded.
10884
f34d6f84
ST
10885 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10886 checking for _hurd_dtablesize. Unlock it right after having
10887 finished _hurd_dtable allocation.
10888
10589b4a
TS
108892012-05-10 Thomas Schwinge <thomas@schwinge.name>
10890
674cdbc7
TS
10891 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10892 * sysdeps/mach/hurd/configure: Regenerated.
10893 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10894 special-casing to...
10895 * sysdeps/gnu/configure.in: ... this new file.
10896 * sysdeps/unix/sysv/linux/configure: Regenerated.
10897 * sysdeps/gnu/configure: New generated file.
10898
8e41b99f
TS
10899 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10900 for Linux: use nsec instead of usec, as well as:
10901 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10902 members of type struct timespec.
10903 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10904 New macros.
10905 (struct stat64): Likewise.
10906 (_STATBUF_ST_NSEC): New macro.
10907 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10908
10589b4a
TS
10909 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10910 __strtoul_internal rather than strtoul.
10911
63643c85
PT
109122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10913
10914 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10915 and reject them.
10916
3faebe6a
ST
109172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10918
10919 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10920 which preserves existing values.
10921 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10922
c6474b07
PT
109232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10924
10925 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10926 TIMEOUT values. Return EINVAL for NFDS values either negative or
10927 greater than FD_SETSIZE.
10928
1043890b
ST
109292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10930
10931 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10932 allocated, call __vm_protect to finish enabling the existing space, and
10933 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10934 allocate the remainder.
10935
37ed8b9b
PT
109362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10937
10938 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10939 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10940
db653660
ST
109412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10942
37ed8b9b
PT
10943 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10944 sysdeps/mach/hurd/readlink.c.
b29d4053 10945
db653660
ST
10946 * posix/tst-sysconf.c (posix_options): Only use
10947 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10948 _POSIX_SYNCHRONIZED_IO when they are defined
10949 * sysdeps/mach/hurd/bits/posix_opt.h:
10950 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10951 (_XOPEN_REALTIME): Undefine macro.
10952 (_XOPEN_REALTIME_THREADS): Undefine macro.
10953 (_XOPEN_SHM): Undefine macro.
10954 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10955 macro to -1.
10956 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10957 macro to -1.
10958 (_POSIX_ASYNC_IO): Undefine macro.
10959 (_POSIX_PRIORITIZED_IO): Undefine macro.
10960 (_POSIX_SPIN_LOCKS): Define macro to -1.
10961
ee16e894
ST
10962 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10963 SA_NODEFER, SA_RESETHAND.
10964 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10965 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10966 F_DUPFD_CLOEXEC.
10967
6103ae3b
TS
109682012-05-10 Thomas Schwinge <thomas@schwinge.name>
10969
10970 * elf/Makefile (pldd-modules): Define unconditionally.
10971
80b4e5f3
TS
109722012-05-10 Thomas Schwinge <thomas@schwinge.name>
10973
10974 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10975
edadcbd6
ST
109762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10977
10978 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10979 Return ENOENT when name is empty.
10980 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10981
80694780
TS
109822012-05-10 Thomas Schwinge <thomas@schwinge.name>
10983
1792c087
TS
10984 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10985
80694780
TS
10986 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10987
6b645f0d
ST
109882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10989
80694780
TS
10990 Fix mlock in all cases except non-readable pages.
10991 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10992 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10993
6b645f0d
ST
10994 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10995 (__mkdir): When path is `/', just fail with EEXIST.
10996 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10997
e468f8a3
TS
109982012-05-10 Thomas Schwinge <thomas@schwinge.name>
10999
11000 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
11001 <sys/uio.h> (for writev).
11002 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
11003 and <sys/param.h> (for MIN).
11004
a4186cff
PT
110052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
11006
11007 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
11008 REQUESTED_TIME. Properly set the remaining time and return EINTR
11009 if interrupted.
11010
510bbf14
TS
110112012-05-10 Thomas Schwinge <thomas@schwinge.name>
11012
11013 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
11014 Depend on against $(link-rpcuserlibs).
11015
5d5722e8
ST
110162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11017
a4186cff
PT
11018 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11019 (__libc_stack_end): Do not use attribute_relro.
11020 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11021 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11022 to libthread-provided value.
a4186cff
PT
11023 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11024 attribute_relro.
5d5722e8 11025
37233df9
TS
110262012-05-10 Thomas Schwinge <thomas@schwinge.name>
11027
be971a2b
TS
11028 [BZ #3748]
11029 * bits/libc-lock.h (__libc_once_get): New macro.
11030 * sysdeps/mach/bits/libc-lock.h: Likewise.
11031 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11032 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11033 instead of using implementation details.
11034
37233df9
TS
11035 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11036 * libio/freopen.c: Likewise.
11037 * libio/freopen64.c: Likewise.
11038 * misc/syslog.c: Likewise.
11039 * nscd/connections.c: Likewise.
11040 * nscd/netgroupcache.c: Likewise.
11041 * sysdeps/posix/getcwd.c: Likewise.
11042
38de94a5
RM
110432012-05-10 Roland McGrath <roland@hack.frob.com>
11044
11045 * math/w_ilogbf.c: Add #include <limits.h>.
11046
67530489
ST
110472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11048
a4186cff 11049 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11050 path instead of returning without unlocking.
11051
67530489
ST
11052 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11053 immediate-write ioctls.
11054 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11055
5aa3a74a
TS
110562012-05-10 Thomas Schwinge <thomas@schwinge.name>
11057
18bad2ae
TS
11058 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11059 __builtin_frame_address instead of making assumptions about the
11060 location of the return address relative to DATA. Force early load of
11061 the return address.
11062 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11063 __builtin_frame_address.
11064
5aa3a74a
TS
11065 dup3 for GNU Hurd.
11066 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11067 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11068 implement dup3 and do some further code clean-ups.
11069 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11070 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11071
ecd0de9a
ST
110722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11073
cd9fa985
ST
11074 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11075
a4186cff
PT
11076 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11077 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11078 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11079 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11080 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11081 d->port.lock.
802ca5a5 11082
a4186cff
PT
11083 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11084 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11085 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11086
bcf55240
TS
110872012-05-10 Thomas Schwinge <thomas@schwinge.name>
11088
6960eb42
TS
11089 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11090 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11091 definitions.
11092
eb43375f
TS
11093 accept4 for GNU Hurd.
11094 * include/sys/socket.h (__libc_accept4): New prototype.
11095 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11096 to implement __libc_accept4.
11097 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11098 __libc_accept4.
11099 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11100
bcf55240
TS
11101 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11102 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11103 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11104 signal-defines.sym.
11105
6178c55b
ST
111062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11107
a4186cff 11108 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11109
6f080c2f
TS
111102012-05-10 Thomas Schwinge <thomas@schwinge.name>
11111
11112 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11113 assertion on O_CLOEXEC flag.
11114 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11115 * hurd/intern-fd.c: Likewise.
11116 * hurd/port2fd.c: Likewise.
11117
bcfe3a54
ST
111182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11119
11120 [BZ #3906]
11121 * bits/in.h (IPV6_PKTINFO): Define new macro.
11122 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11123
89c9aa49
AZ
111242012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11125
11126 [BZ #13954]
11127 [BZ #13955]
11128 [BZ #13956]
11129 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11130 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11131 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11132 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11134 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11135 * math/libm-test.inc (logb_test) : Additional logb tests.
11136
021db4be
AJ
111372012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11138 Andreas Jaeger <aj@suse.de>
11139
11140 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11141 * configure: Regenerated.
11142 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11143 * config.make.in (link-obsolete-rpc): New substituted variable.
11144 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11145 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11146 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11147 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11148 so that libc.a contains the symbols.
11149 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11150 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11151 * sunrpc/auth_none.c: Likewise.
11152 * sunrpc/auth_unix.c: Likewise.
11153 * sunrpc/authdes_prot.c: Likewise.
11154 * sunrpc/authuxprot.c: Likewise.
11155 * sunrpc/clnt_gen.c: Likewise.
11156 * sunrpc/clnt_perr.c: Likewise.
11157 * sunrpc/clnt_raw.c: Likewise.
11158 * sunrpc/clnt_simp.c: Likewise.
11159 * sunrpc/clnt_tcp.c: Likewise.
11160 * sunrpc/clnt_udp.c: Likewise.
11161 * sunrpc/clnt_unix.c: Likewise.
11162 * sunrpc/des_crypt.c: Likewise.
11163 * sunrpc/des_soft.c: Likewise.
11164 * sunrpc/get_myaddr.c: Likewise.
11165 * sunrpc/key_call.c: Likewise.
11166 * sunrpc/key_prot.c: Likewise.
11167 * sunrpc/netname.c: Likewise.
11168 * sunrpc/pm_getmaps.c: Likewise.
11169 * sunrpc/pm_getport.c: Likewise.
11170 * sunrpc/pmap_clnt.c: Likewise.
11171 * sunrpc/pmap_prot.c: Likewise.
11172 * sunrpc/pmap_prot2.c: Likewise.
11173 * sunrpc/pmap_rmt.c: Likewise.
11174 * sunrpc/publickey.c: Likewise.
11175 * sunrpc/rpc_cmsg.c: Likewise.
11176 * sunrpc/rpc_common.c: Likewise.
11177 * sunrpc/rpc_dtable.c: Likewise.
11178 * sunrpc/rpc_prot.c: Likewise.
11179 * sunrpc/rpc_thread.c: Likewise.
11180 * sunrpc/rtime.c: Likewise.
11181 * sunrpc/svc.c: Likewise.
11182 * sunrpc/svc_auth.c: Likewise.
11183 * sunrpc/svc_raw.c: Likewise.
11184 * sunrpc/svc_run.c: Likewise.
11185 * sunrpc/svc_tcp.c: Likewise.
11186 * sunrpc/svc_udp.c: Likewise.
11187 * sunrpc/svc_unix.c: Likewise.
11188 * sunrpc/svcauth_des.c: Likewise.
11189 * sunrpc/xcrypt.c: Likewise.
11190 * sunrpc/xdr.c: Likewise.
11191 * sunrpc/xdr_array.c: Likewise.
11192 * sunrpc/xdr_float.c: Likewise.
11193 * sunrpc/xdr_intXX_t.c: Likewise.
11194 * sunrpc/xdr_mem.c: Likewise.
11195 * sunrpc/xdr_rec.c: Likewise.
11196 * sunrpc/xdr_ref.c: Likewise.
11197 * sunrpc/xdr_sizeof.c: Likewise.
11198 * sunrpc/xdr_stdio.c: Likewise.
11199
b5c086a2
RM
112002012-05-10 Roland McGrath <roland@hack.frob.com>
11201
11202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11203 change. Update copyright years.
11204
6d74dd09
JM
112052012-05-10 Joseph Myers <joseph@codesourcery.com>
11206
11207 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11208
28e72501
MK
112092012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11210 Joseph Myers <joseph@codesourcery.com>
11211 Paul Pluzhnikov <ppluzhnikov@google.com>
11212
11213 [BZ #14012]
11214 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11215 requiring rpcgen.
11216 [cross-compiling] (extra-libs): Likewise.
11217 [cross-compiling] (extra-libs-others): Likewise.
11218 [cross-compiling] (librpcsvc-routines): Likewise.
11219 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11220 [cross-compiling] (omit-deps): Likewise.
11221 (sunrpc-CPPFLAGS): New variable.
11222 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11223 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11224 (cross-rpcgen-objs): New variable.
11225 (extra-objs): Append $(cross-rpcgen-objs).
11226 ($(cross-rpcgen-objs)): New rule.
11227 ($(objpfx)cross-rpcgen): Likewise.
11228 (rpcgen-cmd): Define to use $(built-program-file). Expand
11229 comment.
11230 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11231 ($(objpfx)x%.stmp): Likewise.
11232 * sunrpc/proto.h [IS_IN_build] (_): Define.
11233 [IS_IN_build] (_libc_intl_domainname): Likewise.
11234
c8c59454
L
112352012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11236
11237 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11238 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11239 and R_X86_64_TPOFF64.
11240
6f27cd16
JM
112412012-05-10 Joseph Myers <joseph@codesourcery.com>
11242
11243 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11244 sysdeps/unix/sysv/syscalls.list.
11245 (stime): Likewise.
11246 (utime): Likewise.
11247 * sysdeps/unix/sysv/syscalls.list: Remove file.
11248
02467e1c
PE
112492012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11250
11251 [BZ #3440]
11252 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11253 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11254 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11255 (__LC_IDENTIFICATION): Make these macros useful in #if
11256 expressions, as required by C99.
11257
da392631
AS
112582012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11259
11260 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11261 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11262 after this.
11263
8115f29b
L
112642012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11265
11266 * stdlib/longlong.h: Updated from GCC.
11267
bdd74070
AJ
112682012-05-09 Andreas Jaeger <aj@suse.de>
11269
edfe0dbe
AJ
11270 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11271 default is first entry.
11272 (run_mode): Set type.
11273 (main): Remove informal message about syslog.
11274 (options): Fix typo.
11275
bcfe3a54
ST
11276 [BZ #14053]
11277 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11278 to asm.
bcfe3a54
ST
11279 (lrint): Likewise.
11280 (llrintf): Likewise.
11281 (llrint): Likewise.
11282 (rint): Likewise.
11283 (rintf): Likewise.
11284 (nearbyint): Likewise.
11285 (nearbyintf): Likewise.
bdd74070 11286
91d8d69e
AJ
112872012-05-09 Andreas Jaeger <aj@suse.de>
11288 Pedro Alves <palves@redhat.com>
11289
11290 * nscd/nscd.c (run_mode): Use enum.
11291 (main): Cleanup coding style issue.
11292
bb90b80b
AJ
112932012-05-09 Alexandre Oliva <aoliva@redhat.com>
11294 Andreas Jaeger <aj@suse.de>
11295
bcfe3a54
ST
11296 * nscd/nscd.c (go_background): Replaced with...
11297 (run_mode): ... this.
bb90b80b 11298 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11299 (options): Add -F --foreground.
11300 (main): Implement it.
11301 (parse_opt): Parse it.
bb90b80b 11302
1a4b75a1
AJ
113032012-05-09 Andreas Jaeger <aj@suse.de>
11304
11305 [BZ #14083]
11306 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11307 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11308 -Wconversion warning.
11309 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11310 Likewise.
11311
b1cc2472
JM
113122012-05-09 Joseph Myers <joseph@codesourcery.com>
11313
11314 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11315 == 0.
11316 (LC_ALL): Use macro-int-constant.
11317 (LC_COLLATE): Likewise.
11318 (LC_CTYPE): Likewise.
11319 (LC_MESSAGES): Likewise.
11320 (LC_MONETARY): Likewise.
11321 (LC_NUMERIC): Likewise.
11322 (LC_TIME): Likewise.
11323 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11324 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11325 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11326 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11327 Specify type.
11328 [C99-based standards] (float_t): Expect type.
11329 [C99-based standards] (double_t): Expect type.
11330 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11331 type.
11332 [C99-based standards] (HUGE_VALL): Likewise.
11333 [C99-based standards] (INFINITY): Likewise.
11334 [C99-based standards] (NAN): Likewise.
11335 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11336 [C99-based standards] (FP_NAN): Likewise.
11337 [C99-based standards] (FP_NORMAL): Likewise.
11338 [C99-based standards] (FP_SUBNORMAL): Likewise.
11339 [C99-based standards] (FP_ZERO): Likewise.
11340 [C99-based standards] (FP_FAST_FMA): Use
11341 optional-macro-int-constant. Specify type. Require == 1.
11342 [C99-based standards] (FP_FAST_FMAF): Likewise.
11343 [C99-based standards] (FP_FAST_FMAL): Likewise.
11344 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11345 [C99-based standards] (FP_ILOGBNAN): Likewise.
11346 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11347 Specify type.
11348 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11349 [C99-based standards] (math_errhandling): Specify type.
11350 [ISO99 || ISO11] (signgam): Do not allow.
11351 [non-C99-based standards] (copysignf): Do not allow.
11352 [non-C99-based standards] (exp2f): Likewise.
11353 [non-C99-based standards] (log2f): Likewise.
11354 [non-C99-based standards] (modff): Allow.
11355 [non-C99-based standards] (erff): Do not allow.
11356 [non-C99-based standards] (erfcf): Likewise.
11357 [non-C99-based standards] (gammaf): Likewise.
11358 [non-C99-based standards] (hypotf): Likewise.
11359 [non-C99-based standards] (j0f): Likewise.
11360 [non-C99-based standards] (j1f): Likewise.
11361 [non-C99-based standards] (jnf): Likewise.
11362 [non-C99-based standards] (lgammaf): Likewise.
11363 [non-C99-based standards] (tgammaf): Likewise.
11364 [non-C99-based standards] (y0f): Likewise.
11365 [non-C99-based standards] (y1f): Likewise.
11366 [non-C99-based standards] (ynf): Likewise.
11367 [non-C99-based standards] (isnanf): Likewise.
11368 [non-C99-based standards] (acoshf): Likewise.
11369 [non-C99-based standards] (asinhf): Likewise.
11370 [non-C99-based standards] (atanhf): Likewise.
11371 [non-C99-based standards] (cbrtf): Likewise.
11372 [non-C99-based standards] (expm1f): Likewise.
11373 [non-C99-based standards] (ilogbf): Likewise.
11374 [non-C99-based standards] (log1pf): Likewise.
11375 [non-C99-based standards] (logbf): Likewise.
11376 [non-C99-based standards] (nextafterf): Likewise.
11377 [non-C99-based standards] (remainderf): Likewise.
11378 [non-C99-based standards] (rintf): Likewise.
11379 [non-C99-based standards] (scalbf): Likewise.
11380 [non-C99-based standards] (copysignl): Likewise.
11381 [non-C99-based standards] (exp2l): Likewise.
11382 [non-C99-based standards] (log2l): Likewise.
11383 [non-C99-based standards] (modfl): Allow.
11384 [non-C99-based standards] (erfl): Do not allow.
11385 [non-C99-based standards] (erfcl): Likewise.
11386 [non-C99-based standards] (gammal): Likewise.
11387 [non-C99-based standards] (hypotl): Likewise.
11388 [non-C99-based standards] (j0l): Likewise.
11389 [non-C99-based standards] (j1l): Likewise.
11390 [non-C99-based standards] (jnl): Likewise.
11391 [non-C99-based standards] (lgammal): Likewise.
11392 [non-C99-based standards] (tgammal): Likewise.
11393 [non-C99-based standards] (y0l): Likewise.
11394 [non-C99-based standards] (y1l): Likewise.
11395 [non-C99-based standards] (ynl): Likewise.
11396 [non-C99-based standards] (isnanl): Likewise.
11397 [non-C99-based standards] (acoshl): Likewise.
11398 [non-C99-based standards] (asinhl): Likewise.
11399 [non-C99-based standards] (atanhl): Likewise.
11400 [non-C99-based standards] (cbrtl): Likewise.
11401 [non-C99-based standards] (expm1l): Likewise.
11402 [non-C99-based standards] (ilogbl): Likewise.
11403 [non-C99-based standards] (log1pl): Likewise.
11404 [non-C99-based standards] (logbl): Likewise.
11405 [non-C99-based standards] (nextafterl): Likewise.
11406 [non-C99-based standards] (remainderl): Likewise.
11407 [non-C99-based standards] (rintl): Likewise.
11408 [non-C99-based standards] (scalbl): Likewise.
11409 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11410 [non-C99-based standards] (FP_*): Do not allow.
11411 [C99-based standards] (FP_*): Change to
11412 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11413 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11414 allow.
11415 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11416 (SIG_ERR): Likewise.
11417 [X/Open-based standards] (SIG_HOLD): Likewise.
11418 (SIG_IGN): Likewise.
11419 (SIGABRT): Use macro-int-constant. Specify type. Require
11420 positive value.
11421 (SIGFPE): Likewise.
11422 (SIGILL): Likewise.
11423 (SIGINT): Likewise.
11424 (SIGSEGV): Likewise.
11425 (SIGTER): Likewise.
11426 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11427 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11428 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11429 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11430 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11431 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11432 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11433 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11434 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11435 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11436 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11437 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11438 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11439 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11440 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11441 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11442 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11443 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11444 [X/Open-based standards] (SIGTRAP): Likewise.
11445 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11446 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11447 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11448 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11449 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11450 allow.
11451
b9f1922d
IW
114522012-05-08 Ian Wienand <ianw@vmware.com>
11453
11454 [BZ #14080]
11455 * time/tzset.c (__tzset_parse_tz): Update default rules for
11456 daylight time changes in the Energy Policy Act of 2005.
11457
1db86e88
AJ
114582012-05-09 Andreas Jaeger <aj@suse.de>
11459
11460 [BZ #13983]
11461 * elf/ldconfig.c (parse_conf): Change string to make clear that
11462 ldconfig only issued a warning if ld.so.conf does not exist.
11463
dee4a4e3
DM
114642012-05-08 David S. Miller <davem@davemloft.net>
11465
ee0db190
DM
11466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11467 movxtod instead of popping the value on the stack.
11468
dee4a4e3
DM
11469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11470
6a43ec98
CD
114712012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11472
11473 * config.h.in: Add HAVE_ARM_PCS_VFP.
11474
05c2c961
RMG
114752012-05-08 Roland Mc Grath <roland@hack.frob.com>
11476
bcfe3a54
ST
11477 [BZ #13979]
11478 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11479 checking but the checks are disabled for any reason.
05c2c961 11480
4b30f61a
L
114812012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11482
11483 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11484 and ELF64_R_TYPE with ELFW(R_TYPE).
11485
eee2bc67
JM
114862012-05-08 Joseph Myers <joseph@codesourcery.com>
11487
7ea5391a
JM
11488 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11489 (ulimit): Likewise.
11490
eee2bc67
JM
11491 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11492 (settimeofday): Likewise.
11493
abb66a67
MF
114942012-05-08 Mike Frysinger <vapier@gentoo.org>
11495
11496 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11497 a struct th_u2 inside the union, and move tu_block/tu_code into
11498 a new th_u3 union of tu_block/tu_code inside of that. Move
11499 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11500 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11501 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11502 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11503 (th_stuff): Change to th_u1.tu_stuff.
11504 (th_data): Define.
11505 (th_msg): Change to th_u1.th_u2.tu_data.
11506
7f18b530
DM
115072012-05-07 David S. Miller <davem@davemloft.net>
11508
05760585
DM
11509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11510
7f18b530
DM
11511 [BZ #14074]
11512 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11513 (SETUP_PIC_REG): Use it.
11514 (SETUP_PIC_REG_LEAF): Use it.
11515
495fd99f
JM
115162012-05-07 Joseph Myers <joseph@codesourcery.com>
11517
11518 [BZ #13885]
11519 [BZ #13923]
11520 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11521 USE_AS_EXPM1L.
11522 (EXPL_FINITE): Likewise.
11523 (FLDLOG): Likewise.
11524 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11525 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11526 e_expl.S.
11527 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11528 USE_AS_EXPM1L.
11529 (EXPL_FINITE): Likewise.
11530 (FLDLOG): Likewise.
11531 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11532 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11533 e_expl.S.
11534 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11535 test of -max_value argument for long double.
11536 * sysdeps/i386/fpu/libm-test-ulps: Update.
11537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11538
6693d694
DM
115392012-05-06 David S. Miller <davem@davemloft.net>
11540
11541 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11542 quad soft-float symbols whose references which are compiler
11543 generated.
11544 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11545
6c23e11c
JM
115462012-05-06 Joseph Myers <joseph@codesourcery.com>
11547
d8b82cad
JM
11548 [BZ #13884]
11549 [BZ #13914]
11550 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11551 USE_AS_EXP10L.
11552 (EXPL_FINITE): Likewise.
11553 (FLDLOG): Likewise.
11554 (c0): Likewise.
11555 (c1): Likewise.
11556 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11557 Adjust comments for base varying.
11558 (__expl_finite): Change alias to EXPL_FINITE.
11559 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11560 e_expl.S.
11561 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11562 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11564 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11565 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11566 USE_AS_EXP10L.
11567 (EXPL_FINITE): Likewise.
11568 (FLDLOG): Likewise.
11569 (c0): Likewise.
11570 (c1): Likewise.
11571 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11572 Adjust comments for base varying.
11573 (__expl_finite): Change alias to EXPL_FINITE.
11574 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11575 tests for bugs.
11576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11577
6c23e11c
JM
11578 [BZ #14064]
11579 * math/libm-test.inc (check_float_internal): Correct ulp
11580 calculation for subnormal expected results.
11581
29ba805c
AJ
115822012-05-06 Andreas Jaeger <aj@suse.de>
11583
11584 * Makeconfig (+math-flags): New, set to -frounding-math.
11585 (+cflags): Add +math-flags so that all of glibc gets compiled with
11586 it.
11587
11588 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11589
7b17aeda
JM
115902012-05-05 Joseph Myers <joseph@codesourcery.com>
11591
5779f134
JM
11592 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11593 Disable one test.
11594
41498f4d
JM
11595 [BZ #13787]
11596 [BZ #13922]
11597 [BZ #14036]
11598 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11599 (__ieee754_expl): Allow for and saturate large arguments.
11600 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11601 (u_threshold): Likewise.
11602 (__exp): Call __ieee754_exp before checking for overflow and
11603 underflow.
11604 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11605 (u_threshold): Likewise.
11606 (__expf): Call __ieee754_expf before checking for overflow and
11607 underflow.
11608 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11609 (u_threshold): Likewise.
11610 (__expl): Call __ieee754_expl before checking for overflow and
11611 underflow.
11612 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11613 (__ieee754_expl): Allow for and saturate large arguments.
11614 * math/libm-test.inc (exp_test): Add another test. Do not allow
11615 missing overflow exception on overflow.
11616 (expm1_test): Do not allow missing overflow exception on overflow.
11617
6698b8bf
JM
11618 * sysdeps/i386/fpu/e_expl.c: Move to ...
11619 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11620 rather than using inline asm.
11621 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11622 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11623 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11624
7b17aeda
JM
11625 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11626 (nice): Likewise.
11627 (poll): Likewise.
11628 (signal): Likewise.
11629 (time): Likewise.
11630 (times): Likewise.
11631
f7c85819
JM
116322012-05-04 Joseph Myers <joseph@codesourcery.com>
11633
11634 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11635 sysdeps/unix/common/syscalls.list.
11636 (fchmod): Likewise.
11637 (fchown): Likewise.
11638 (ftruncate): Likewise.
11639 (getrusage): Likewise.
11640 (gettimeofday): Likewise.
11641 (setpgid): Likewise.
11642 (setregid): Likewise.
11643 (setreuid): Likewise.
11644 (sigaction): Likewise.
11645 (truncate): Likewise.
11646 (vhangup): Likewise.
11647 * sysdeps/unix/common/syscalls.list: Remove file.
11648 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11649 * sysdeps/unix/sysv/linux/Implies: Likewise.
11650
336270d0
L
116512012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11652
11653 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11655 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11656 Moved to ...
11657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11658 Here.
11659 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11660 to ...
11661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11662 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11663 to ...
11664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11665 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11666 to ...
11667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11668 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11669 to ...
11670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11671 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11672 to ...
11673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11674 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11675 to ...
11676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11677 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11678 to ...
11679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11680 Here.
11681 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11682 to ...
11683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11684 Here.
11685 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11686 to ...
11687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11688 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11689 Moved to ...
11690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11691 Here.
11692 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11693 to ...
11694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11695
d128e450
JM
116962012-05-04 Joseph Myers <joseph@codesourcery.com>
11697
fa8ee516
JM
11698 * sysdeps/unix/common/bits/dirent.h: Remove file.
11699 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11700
d128e450
JM
11701 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11702 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11703 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11704 * sysdeps/unix/bsd/isatty.c: Likewise.
11705 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11706 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11707 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11708
ff8faaf0 117092012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11710
62881be4 11711 [BZ #13563]
31dc8730
AZ
11712 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11713 long double comparison inaccuracies.
11714 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11716
6fef930c
AS
117172012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11718
11719 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11721
8f203e6c
JM
117222012-05-04 Joseph Myers <joseph@codesourcery.com>
11723
11724 [BZ #14049]
11725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11726 nonzero digits before rounding a hex value.
11727 * stdlib/tst-strtod.c (tests): Add another test.
11728
5197d9c2
AK
117292012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11730
11731 * sysdeps/s390/fpu/libm-test-ulps: Update.
11732
f0c1dedf
AJ
117332012-05-03 Andreas Jaeger <aj@suse.de>
11734
11735 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11736 does not get optimized out.
11737 (malloc_opt_barrier): New.
11738
a65ef2ae 117392012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11740 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11741
2b942cb7 11742 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11743 intermediate file deletion.
2b942cb7 11744 (generated): Add .symlist files.
a65ef2ae 11745
54b71e02
JM
117462012-05-03 Joseph Myers <joseph@codesourcery.com>
11747
11748 [BZ #13775]
11749 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11750 Redirect under this condition.
11751 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11752 [__USE_GNU] (__dprintf_chk): Not under this condition.
11753 [__USE_GNU] (__vdprintf_chk): Likewise.
11754 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11755 under this condition.
11756 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11757 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11758 [__USE_XOPEN2K8] (vdprintf): Likewise.
11759 [__USE_GNU] (__dprintf_chk): Not under this condition.
11760 [__USE_GNU] (__vdprintf_chk): Likewise.
11761 [__USE_GNU] (dprintf): Likewise.
11762 [__USE_GNU] (vdprintf): Likewise.
11763
d3dfcc41
RM
117642012-05-03 Roland McGrath <roland@hack.frob.com>
11765
11766 * elf/Makefile (common-generated): Set this instead of generated for
11767 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11768 $(all-built-dso)-derived lists.
11769
7ac30cc5
AJ
117702012-05-03 Andreas Jaeger <aj@suse.de>
11771
0c51e550
AJ
11772 * sysdeps/i386/fpu/libm-test-ulps: Update.
11773
7ac30cc5
AJ
11774 * FAQ: Removed.
11775 * FAQ.in: Likewise.
11776 * scripts/gen-FAQ.pl: Likewise.
11777 * manual/install.texi (Installation): Point to online location of
11778 FAQ.
11779 * Makefile (files-for-dist): Remove FAQ.
11780 (FAQ): Remove.
11781
d4c2917f
AM
117822012-05-02 Allan McRae <allan@archlinux.org>
11783
11784 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11785 (LDFLAGS-reldepmod5.so): Likewise.
11786 (LDFLAGS-reldep6mod1.so): Likewise.
11787 (LDFLAGS-reldep6mod4.so): Likewise.
11788 (LDFLAGS-reldep8mod3.so): Likewise.
11789 (LDFLAGS-unload4mod1.so): Likewise.
11790 (LDFLAGS-unload4mod2.so): Likewise.
11791 (LDFLAGS-tst-initorder): Likewise.
11792 (LDFLAGS-tst-initordera2.so): Likewise.
11793 (LDFLAGS-tst-initordera3.so): Likewise.
11794 (LDFLAGS-tst-initordera4.so): Likewise.
11795 (LDFLAGS-tst-initorderb2.so): Likewise.
11796 (LDFLAGS-noload): Likewise.
11797 (LDFLAGS-next): Likewise.
11798 (LDFLAGS-order2mod1.so): Likewise.
11799 (LDFLAGS-order2mod2.so): Likewise.
11800 (LDFLAGS-tst-initorder2): Likewise.
11801 (LDFLAGS-tst-initorder2a.so): Likewise.
11802 (LDFLAGS-tst-initorder2b.so): Likewise.
11803 (LDFLAGS-tst-initorder2c.so): Likewise.
11804 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11805
d77f993f
DM
118062012-05-02 David S. Miller <davem@davemloft.net>
11807
11808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11809
171a70b4
PP
118102012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11811
11812 [BZ #14055]
11813 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11814
0be196ad
AJ
118152012-05-02 Andreas Jaeger <aj@suse.de>
11816
11817 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11818 since we manipulate rounding mode.
11819 (CPPFLAGS-test-idouble.c): Likewise.
11820 (CPPFLAGS-test-ifloat.c): Likewise.
11821 (CFLAGS-test-ldouble.c): Likewise.
11822 (CFLAGS-test-double.c): Likewise.
11823 (CFLAGS-test-float.c): Likewise.
11824 (CFLAGS-test-misc.c): Likewise.
11825 (CFLAGS-test-test-fenv.c): Likewise.
11826
4f9d04aa
AZ
118272012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11828
2b942cb7
RM
11829 [BZ #2550]
11830 [BZ #2570]
11831 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11832 comparisons to determine direction to adjust input.
4f9d04aa 11833
82a79e7d
RM
118342012-05-01 Roland McGrath <roland@hack.frob.com>
11835
f5a01ca9
RM
11836 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11837 output to the target.
11838
90fe4186
RM
11839 * scripts/localplt.awk: New file.
11840 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11841 (check-localplt-CFLAGS): Variable removed.
11842 ($(all-built-dso:=.jmprel)): New static pattern rule.
11843 (generated): Add those targets.
11844 (localplt-built-dso): New variable.
11845 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11846
11847 * elf/check-localplt.c: File removed.
11848
82397ed6
RM
11849 * scripts/check-execstack.awk: New file.
11850 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11851 (check-execstack-CFLAGS): Variable removed.
11852 ($(objpfx)check-execstack.h): Target removed.
11853 ($(objpfx)execstack-default): New target.
11854 (generated): Add that instead of check-execstack.h.
11855 ($(all-built-dso:=.phdr)): New static pattern rule.
11856 (generated): Add those targets.
11857 * elf/check-execstack.c: File removed.
11858
82a79e7d
RM
11859 * scripts/check-textrel.awk: New file.
11860 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11861 (check-textrel-CFLAGS): Variable removed.
11862 (all-built-dso): Use := to define.o
11863 ($(all-built-dso:=.dyn)): New static pattern rule.
11864 (generated): Add those targets.
11865 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11866 * config.make.in (READELF): New substituted variable.
11867 * elf/check-textrel.c: File removed.
11868
62fde54f 118692012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11870
615605c9
JM
11871 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11872 allow.
11873 * conform/data/ctype.h-data [C99-based standards] (isblank):
11874 Expect function.
11875 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11876 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11878 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11879 Specify type. Require positive value.
11880 (EILSEQ): Likewise.
11881 (ERANGE): Likewise.
11882 [ISO || POSIX] (EILSEQ): Do not expect.
11883 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11884 Specify type. Require positive value.
11885 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11886 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11887 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11888 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11889 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11890 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11891 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11892 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11893 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11894 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11895 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11896 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11897 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11898 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11899 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11900 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11901 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11902 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11903 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11904 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11905 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11906 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11907 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11908 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11909 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11910 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11911 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11912 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11913 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11914 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11915 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11916 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11917 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11918 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11919 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11920 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11921 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11922 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11923 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11924 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11925 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11926 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11927 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11928 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11929 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11930 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11931 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11932 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11933 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11934 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11935 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11936 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11937 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11938 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11939 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11940 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11941 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11942 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11943 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11944 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11945 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11946 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11947 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11948 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11949 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11950 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11951 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11952 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11953 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11954 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11955 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11956 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11957 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11958 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11959 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11960 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11961 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11962 Require >= 2.
11963 (FLT_ROUNDS): Expect as macro, not constant.
11964 (FLT_MANT_DIG): Use macro-int-constant.
11965 (DBL_MANT_DIG): Likewise.
11966 (LDBL_MANT_DIG): Likewise.
11967 (FLT_DIG): Likewise.
11968 (DBL_DIG): Likewise.
11969 (LDBL_DIG): Likewise.
11970 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11971 (DBL_MIN_EXP): Likewise.
11972 (LDBL_MIN_EXP): Likewise.
11973 (FLT_MAX_EXP): Use macro-int-constant.
11974 (DBL_MAX_EXP): Likewise.
11975 (LDBL_MAX_EXP): Likewise.
11976 (FLT_MAX_10_EXP): Likewise.
11977 (DBL_MAX_10_EXP): Likewise.
11978 (LDBL_MAX_10_EXP): Likewise.
11979 (FLT_MAX): Use macro-constant.
11980 (DBL_MAX): Likewise.
11981 (LDBL_MAX): Likewise.
11982 (FLT_EPSILON): Use macro-constant. Give upper bound.
11983 (DBL_EPSILON): Likewise.
11984 (LDBL_EPSILON): Likewise.
11985 (FLT_MIN): Likewise.
11986 (DBL_MIN): Likewise.
11987 (LDBL_MIN): Likewise.
11988 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11989 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11990 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11991 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11992 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11993 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11994 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11995 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11996 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11997 [ISO11] (FLT_TRUE_MIN): Likewise.
11998 [ISO11] (LDBL_TRUE_MIN): Likewise.
11999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12000 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
12001 (SCHAR_MIN): Use macro-int-constant. Specify type.
12002 (SCHAR_MAX): Likewise.
12003 (UCHAR_MAX): Likewise.
12004 (CHAR_MIN): Likewise.
12005 (CHAR_MAX): Likewise.
12006 (MB_LEN_MAX): Use macro-int-constant.
12007 (SHRT_MIN): Use macro-int-constant. Specify type.
12008 (SHRT_MAX): Likewise.
12009 (USHRT_MAX): Likewise.
12010 (INT_MAX): Likewise.
12011 (INT_MIN): Use macro-int-constant. Specify type. Make upper
12012 bound negative.
12013 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
12014 bound with "U".
12015 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12016 bound with "L".
12017 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
12018 bound negative. Suffix upper bound with "L".
12019 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12020 bound with "UL".
12021 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12022 Specify type.
12023 [C99-based standards] (LLONG_MAX): Likewise.
12024 [C99-based standards] (ULLONG_MAX): Likewise.
12025 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12026 == 0.
12027 [ISO11] (max_align_t): Require type.
12028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12029
c9140a62
JM
12030 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12031 from $CFLAGS, without defining away __attribute__ calls.
12032 (checknamespace): Use $CFLAGS_namespace.
12033
9af0bf29
JM
12034 * conform/conformtest.pl (@keywords): Only include C99 keywords
12035 for standards based on C99 or C11.
12036
343222a2
JM
12037 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12038 Disable tests.
12039 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12040 UNIX98]: Likewise.
12041
661f8cf0
JM
12042 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12043 usability of symbols in #if.
12044
ee74b9cb
JM
12045 * conform/conformtest.pl: If macro or constant types start
12046 "promoted:", expect the symbol to be of the following type
12047 promoted by the integer promotions.
62fde54f 12048
aafc49b3
JM
12049 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12050 in one place. Also handle "macro-constant".
12051
fefdf574
JM
12052 * conform/conformtest.pl: Only accept expected macro values with
12053 "==". Parse all "macro" lines in one place.
12054 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12055
f2d922fe
JM
12056 * conform/conformtest.pl: Handle braced types on "constant" lines
12057 instead of handling "typed-constant".
12058 * conform/data/signal.h-data: Use "constant" instead of
12059 "typed-constant".
12060
d22956c9
JM
12061 * conform/conformtest.pl: Handle "optional-" at start of lines in
12062 one place rather than duplicating several cases. Handle each
12063 format of "macro" line with initial "optional-".
12064
028e2e38
JM
12065 * conform/conformtest.pl: Only accept expected constant or
12066 optional-constant values with "==". Parse all "constant" lines in
12067 one place. Parse all "optional-constant" lines in one place.
12068 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12069 * conform/data/fmtmsg.h-data: Likewise.
12070 * conform/data/netinet/in.h-data: Likewise.
12071 * conform/data/tar.h-data: Likewise.
12072 * conform/data/limits.h-data: Use "==" form on "constant" and
12073 "optional-constant" lines.
12074
1b8f2850
JM
12075 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12076 Use -std=c99 for XOPEN2K.
12077 (@knownproblems): Remove.
12078 (newtoken): Don't check %isknown.
12079
a05a144b
JM
12080 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12081 Do not expect macro.
12082 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12083 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12084 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12085 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12086 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12087 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12088 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12089 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12090 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12091 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12092 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12093 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12094 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12095 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12096 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12097 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12098 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12099 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12100 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12101 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12102 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12103 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12104 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12105 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12106 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12107 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12108 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12109 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12110 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12111 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12112 [XPG3] (acosh): Likewise.
12113 [XPG3] (asinh): Likewise.
12114 [XPG3] (atanh): Likewise.
12115 [XPG3] (cbrt): Likewise.
12116 [XPG3] (expm1): Likewise.
12117 [XPG3] (ilogb): Likewise.
12118 [XPG3] (log1p): Likewise.
12119 [XPG3] (logb): Likewise.
12120 [XPG3] (nextafter): Likewise.
12121 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12122 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12123 [XPG3] (remainder): Likewise.
12124 [XPG3] (rint): Likewise.
12125 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12126 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12127 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12128 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12129 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12130 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12131 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12132 [UNIX98 || XOPEN2K] (scalb): Expect.
12133 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12134 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12135 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12136 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12137 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12138 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12139 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12140 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12141 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12142 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12143 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12144 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12145 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12146 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12147 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12148 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12149 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12150 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12151 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12152 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12153 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12154 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12155 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12156 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12157 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12158 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12159 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12160 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12161 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12162 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12163 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12164 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12165 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12166 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12167 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12168 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12169 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12170 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12171 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12172 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12173 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12174 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12175 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12176 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12177 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12178 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12179 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12180 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12181 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12182 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12183 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12184 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12185 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12186 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12187 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12188 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12189 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12190 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12191 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12192 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12193 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12194 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12195 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12196 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12197 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12198 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12199 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12200 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12201 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12202 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12203 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12204 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12205 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12206 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12207 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12208 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12209 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12210 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12211 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12212 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12213 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12214 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12215 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12216 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12217 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12218 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12219 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12220 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12221 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12222 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12223 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12224 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12225 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12226 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12227 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12228 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12229 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12230 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12231 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12232 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12233 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12234 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12235 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12236 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12237 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12238 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12239 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12240 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12241 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12242 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12243 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12244 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12245 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12246 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12247 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12248 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12249 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12250 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12251 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12252 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12253 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12254 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12255 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12256 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12257 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12258 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12259 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12260 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12261 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12262 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12263 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12264 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12265 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12266 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12267 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12268 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12269 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12270
73c5ebe3
JM
12271 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12272 _XOPEN_SOURCE_EXTENDED for XPG4.
12273
39c33b6c
JM
12274 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12275
62fde54f
JM
12276 * Makeconfig (localtime): Remove variable.
12277 (inst_localtime-file): Likewise.
12278
0741d64c
AS
122792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12280
12281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12282 Update.
12283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12284 Update.
12285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12286 Update.
12287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12288 Update.
12289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12290 Update.
12291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12292 Update.
12293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12294 Update.
12295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12296 Update.
12297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12298 Update.
12299
7cb029ee
JM
123002012-05-01 Joseph Myers <joseph@codesourcery.com>
12301
12302 [BZ #2550]
12303 [BZ #2570]
12304 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12305 comparisons to determine direction to adjust input.
12306 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12307 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12308 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12309 Likewise.
12310 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12311 Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12313 Likewise.
12314 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12315 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12316 Likewise.
12317 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12318 Likewise.
12319 * math/libm-test.inc (nexttoward_test): Add more tests.
12320
412bd966
AS
123212012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12322
12323 [BZ #14040]
12324 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12325 in version GLIBC_2.1, not GLIBC_2.0.
12326 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12327 Likewise.
12328
9568c0c2
JM
123292012-04-30 Joseph Myers <joseph@codesourcery.com>
12330
adfbc8ac
JM
12331 [BZ #13942]
12332 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12333 (1 - x) * (1 + x).
12334 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12335 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12336 * math/libm-test.inc (acos_test): Add more tests.
12337 (asin_test): Likewise.
12338 * sysdeps/i386/fpu/libm-test-ulps: Update.
12339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12340
5ba3cc69
JM
12341 [BZ #14034]
12342 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12343 of square root.
12344 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12345 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12346 * math/libm-test.inc (acos_test_tonearest): New function.
12347 (acos_test_towardzero): Likewise.
12348 (acos_test_downward): Likewise.
12349 (acos_test_upward): Likewise.
12350 (asin_test_tonearest): Likewise.
12351 (asin_test_towardzero): Likewise.
12352 (asin_test_downward): Likewise.
12353 (asin_test_upward): Likewise.
12354 (main): Call the new functions.
12355 * sysdeps/i386/fpu/libm-test-ulps: Update.
12356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12357
9568c0c2
JM
12358 [BZ #13884]
12359 [BZ #13924]
12360 * math/e_exp10.c: Include <float.h>.
12361 (__ieee754_exp10): Handle underflow here rather than multiplying
12362 large negative argument by M_LN10.
12363 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12364 of __ieee754_expf.
12365 * math/e_exp10l.c: Include <float.h>.
12366 (__ieee754_exp10l): Handle underflow here rather than multiplying
12367 large negative argument by M_LN10l.
12368 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12369 spurious overflow exception on underflow.
12370
5ac3ea17
MP
123712012-04-29 Marek Polacek <polacek@redhat.com>
12372
12373 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12374 (__fortify_function): New macro.
12375 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12376 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12377 __extern_always_inline.
12378 * libio/bits/stdio2.h: Likewise.
12379 * libio/bits/stdio.h: Likewise.
12380 * string/string.h: Likewise.
12381 * string/bits/string3.h: Likewise.
12382 * include/stdio.h: Likewise.
12383 * stdlib/bits/stdlib.h: Likewise.
12384 * stdlib/stdlib.h: Likewise.
12385 * rt/bits/mqueue2.h: Likewise.
12386 * rt/mqueue.h: Likewise.
12387 * posix/bits/unistd.h: Likewise.
12388 * posix/unistd.h: Likewise.
12389 * io/bits/poll2.h: Likewise.
12390 * io/bits/fcntl2.h: Likewise.
12391 * io/fcntl.h: Likewise.
12392 * io/sys/poll.h: Likewise.
12393 * misc/bits/syslog.h: Likewise.
12394 * misc/bits/syslog-ldbl.h: Likewise.
12395 * misc/sys/syslog.h: Likewise.
12396 * socket/bits/socket2.h: Likewise.
12397 * socket/sys/socket.h: Likewise.
12398 * debug/tst-chk1.c: Likewise.
12399 * wcsmbs/bits/wchar2.h: Likewise.
12400 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12401 * wcsmbs/wchar.h: Likewise.
12402
ecf0ebfb
AJ
124032012-04-29 Andreas Jaeger <aj@suse.de>
12404
12405 * Makerules (tests): Remove enable-check-abi protection.
12406 (check-abi-warn): Remove.
12407 (check-abi-%): Remove check-abi-warn usage.
12408
12409 * configure.in: Remove check-abi configure option.
12410 * configure: Regenerated.
12411 * config.make.in (enable-check-abi): Remove.
12412
6d5c57fa
AS
124132012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12414
24c5d07e 12415 [BZ #14033]
ded5180a
AS
12416 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12417 double functions to double *_finite functions.
12418
7e0d315d
AS
12419 [BZ #13941]
12420 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12421 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12422 LDBL_MIN_EXP.
12423 * stdio-common/Makefile (tests): Add tst-sprintf3.
12424 * stdio-common/tst-sprintf3.c: New file.
12425
6d5c57fa
AS
12426 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12427 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12428
0749ff8b
JM
124292012-04-28 Joseph Myers <joseph@codesourcery.com>
12430
12431 * conform/conformtest.pl: Remove duplicate typed-constant
12432 handling.
12433
8dbd5d7b
DM
124342012-04-28 David S. Miller <davem@davemloft.net>
12435
12436 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12437 (check-abi-%): Remove AWK script prerequisite and explicit
12438 abilist directory.
12439 (check-abi): Rewrite to just diff the symlist with the abilist.
12440 (config-tls, config-abi-config): Delete, no longer used.
12441 (update-abi-%): Remove AWK script and explicit abilist directory.
12442 (update-abi): Rewrite to simply compare and conditionally copy the
12443 symlist and the sysdep abilist file. Remove update-abi-config
12444 checks.
12445 * abilist/ld.abilist: Remove.
12446 * abilist/libBrokenLocale.abilist: Remove.
12447 * abilist/libanl.abilist: Remove.
12448 * abilist/libcrypt.abilist: Remove.
12449 * abilist/libdl.abilist: Remove.
12450 * abilist/librt.abilist: Remove.
12451 * abilist/libthread_db.abilist: Remove.
12452 * abilist/libutil.abilist: Remove.
12453 * scripts/extract-abilist.awk: Remove.
12454 * scripts/merge-abilist.awk: Remove.
12455 * sysdeps/generic/libcidn.abilist: New file.
12456 * sysdeps/generic/libnss_compat.abilist: New file.
12457 * sysdeps/generic/libnss_db.abilist: New file.
12458 * sysdeps/generic/libnss_dns.abilist: New file.
12459 * sysdeps/generic/libnss_files.abilist: New file.
12460 * sysdeps/generic/libnss_hesiod.abilist: New file.
12461 * sysdeps/generic/libnss_nis.abilist: New file.
12462 * sysdeps/generic/libnss_nisplus.abilist: New file.
12463 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12464 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12465 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12466 file.
12467 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12468 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12469 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12470 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12471 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12472 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12473 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12474 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12475 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12476 file.
12477 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12478 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12479 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12480 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12481 file.
12482 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12483 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12484 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12485 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12486 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12487 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12488 file.
12489 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12490 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12491 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12492 file.
12493 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12495 New file.
12496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12497 New file.
12498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12499 New file.
12500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12501 New file.
12502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12503 New file.
12504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12505 New file.
12506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12507 New file.
12508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12509 New file.
12510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12511 New file.
12512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12513 New file.
12514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12515 New file.
12516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12517 New file.
12518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12519 New file.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12521 file.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12523 New file.
12524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12525 New file.
12526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12527 file.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12529 New file.
12530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12531 New file.
12532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12533 file.
12534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12535 New file.
12536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12537 New file.
12538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12539 New file.
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12541 New file.
12542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12543 New file.
12544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12545 New file.
12546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12548 file.
12549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12550 New file.
12551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12552 file.
12553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12554 file.
12555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12556 file.
12557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12558 file.
12559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12560 file.
12561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12562 New file.
12563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12564 file.
12565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12566 file.
12567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12568 New file.
12569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12570 file.
12571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12573 file.
12574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12575 New file.
12576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12577 file.
12578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12579 file.
12580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12581 file.
12582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12583 file.
12584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12585 file.
12586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12587 New file.
12588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12589 file.
12590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12591 file.
12592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12593 New file.
12594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12595 file.
12596 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12597 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12598 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12599 file.
12600 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12601 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12602 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12603 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12604 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12605 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12606 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12607 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12608 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12609 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12612 file.
12613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12614 New file.
12615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12616 file.
12617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12618 file.
12619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12620 file.
12621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12622 file.
12623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12624 file.
12625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12626 New file.
12627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12628 New file.
12629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12630 file.
12631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12632 New file.
12633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12634 file.
12635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12637 file.
12638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12639 New file.
12640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12641 file.
12642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12643 file.
12644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12645 file.
12646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12647 file.
12648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12649 file.
12650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12651 New file.
12652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12653 New file.
12654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12655 file.
12656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12657 New file.
12658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12659 file.
12660
41d73a1b
JM
126612012-04-28 Joseph Myers <joseph@codesourcery.com>
12662
12663 * conform/conformtest.pl: Fix typo in handling typed-constant from
12664 allow-header.
12665
28aeeda4
JM
126662012-04-27 Joseph Myers <joseph@codesourcery.com>
12667
adae8f5e
JM
12668 * README: Cut down references to pre-2.6 Linux kernels and
12669 Linuxthreads. Update lists of configurations in libc and ports
12670 and sort alphabetically. Say "or newer" with Linux kernel version
12671 requirements.
12672
28aeeda4
JM
12673 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12674
a462cb63
RA
126752012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12676
12677 [BZ #887]
12678 * math/libm-test.inc (logb_test_downward): New test to expose
12679 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12680 rounding mode.
12681
6ad3493e
JM
126822012-04-27 Joseph Myers <joseph@codesourcery.com>
12683
12684 [BZ #14027]
12685 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12686 to be done.
12687 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12688 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12689
2ce4f015
JM
126902012-04-26 Joseph Myers <joseph@codesourcery.com>
12691
5aeb141a
JM
12692 * sysdeps/unix/i386/brk.S: Remove file.
12693 * sysdeps/unix/i386/dl-brk.S: Likewise.
12694 * sysdeps/unix/i386/pipe.S: Likewise.
12695 * sysdeps/unix/i386/sigreturn.S: Likewise.
12696 * sysdeps/unix/i386/syscall.S: Likewise.
12697 * sysdeps/unix/i386/vfork.S: Likewise.
12698 * sysdeps/unix/i386/wait.S: Likewise.
12699
7143acae
JM
12700 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12701 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12702
2ce4f015
JM
12703 * configure.in (arm*-none*): Do not allow without
12704 --enable-hacker-mode.
12705 (netbsd*): Remove case setting base_os.
12706 (386bsd*): Likewise.
12707 (freebsd*): Likewise.
12708 (bsdi*): Likewise.
12709 (osf*): Likewise.
12710 (sunos*): Likewise.
12711 (ultrix*): Likewise.
12712 (newsos*): Likewise.
12713 (dynix*): Likewise.
12714 (*bsd*): Likewise.
12715 (sysv*): Likewise.
12716 (isc*): Likewise.
12717 (esix*): Likewise.
12718 (sco*): Likewise.
12719 (minix*): Likewise.
12720 (irix4*): Likewise.
12721 (irix6*): Likewise.
12722 (solaris[2-9]*): Likewise.
12723 (none): Likewise.
12724 * configure: Regenerated.
12725
0ac229c8
AZ
127262012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12727
12728 [BZ #11521]
12729 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12730 overflow or cancellation in calculating denominator.
12731 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12733 down expression to avoid unexpected rounding in newer GCCs.
12734 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12735
33f244f4
DM
127362012-04-26 David S. Miller <davem@davemloft.net>
12737
12738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12739 long-double compat symbols.
12740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12753
cfa1f3e8
DM
127542012-04-25 David S. Miller <davem@davemloft.net>
12755
12756 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12757 HWCAP_* values only after the memory barriers have been defined.
12758 (atomic_full_barrier): Define.
12759 (atomic_read_barrier): Define.
12760 (atomic_write_barrier): Define.
12761
6e236b92
SP
127622012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12763
12764 * shlib-versions: Add libgcc_s version information.
12765 * sysdeps/generic/libgcc_s.h: Remove.
12766 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12767 libgcc_s.h.
12768 * sysdeps/gnu/unwind-resume.c: Likewise.
12769 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12770
aab39a09
DM
127712012-04-25 David S. Miller <davem@davemloft.net>
12772
12773 * sysdeps/unix/sparc/brk.S: Delete.
12774 * sysdeps/unix/sparc/dl-brk.S: Delete.
12775 * sysdeps/unix/sparc/pipe.S: Delete.
12776 * sysdeps/unix/sparc/sysdep.S: Delete.
12777 * sysdeps/unix/sparc/sysdep.h: Delete.
12778 * sysdeps/unix/sparc/vfork.S: Delete.
12779 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12780 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12781 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12782 ret_ERRVAL, r0, r1, MOVE): Define.
12783 (JUMPTARGET): Remove.
12784 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12785 sysdeps/unix/sparc/sysdep.h
12786 (ENTRY, END): Remove.
12787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12788
a3cc4f48
JM
127892012-04-25 Joseph Myers <joseph@codesourcery.com>
12790
2ed8cda2
JM
12791 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12792 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12793 -DIS_IN_build.
12794
35d76d59
JM
12795 * timezone/README: Update upstream location and email address for
12796 tzcode and tzdata.
12797 * timezone/zdump.c: Update from tzcode 2012b.
12798 * timezone/zic.c: Likewise.
12799
a3cc4f48
JM
12800 * configure.in (libc_cv_as_needed): Remove test.
12801 * configure: Regenerated.
12802 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12803 conditional definition.
12804 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12805 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12806 * config.make.in (have-as-needed): Remove variable.
12807
ceab42c3
SP
128082012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12809 Paul Pluzhnikov <ppluzhnikov@google.com>
12810
12811 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12812 strings correctly.
12813
3ce2865f
CLT
128142012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12815
12816 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12817 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12818 * sysdeps/sh/strlen.S: Likewise.
12819
f37e0d68
JM
128202012-04-24 Joseph Myers <joseph@codesourcery.com>
12821
ae186e9a
JM
12822 * sysdeps/unix/fork.S: Remove file.
12823 * sysdeps/unix/i386/fork.S: Likewise.
12824 * sysdeps/unix/sparc/fork.S: Likewise.
12825
b96914af
JM
12826 * sysdeps/unix/system.c: Remove file.
12827 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12828
f37e0d68
JM
12829 * sysdeps/unix/getegid.S: Remove file.
12830 * sysdeps/unix/geteuid.S: Likewise.
12831
87ef29ca
RM
128322012-04-24 Roland McGrath <roland@hack.frob.com>
12833
83bcd236
RM
12834 * scripts/check-localplt.awk: New file.
12835 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12836 of diff.
12837 * scripts/data/localplt-generic.data: Add a comment.
12838
87ef29ca
RM
12839 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12840 NODE when __dir_mkfile failed.
12841 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12842 Reported by Ludovic Courtès <ludo@gnu.org>.
12843
e5a6e567
AJ
128442012-04-24 Andreas Jaeger <aj@suse.de>
12845
12846 * Makerules (common-clean): Also remove gen-as-const-headers
12847 files.
12848
c1820385
JM
128492012-04-24 Joseph Myers <joseph@codesourcery.com>
12850
12851 * Makerules (native-compile): Do not change working directory for
12852 build. Use $(OUTPUT_OPTION) in command.
12853 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12854
94e02fc4
AZ
128552012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12856
12857 [BZ #13886]
12858 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12859 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12860 * math/libm-test.inc (floor_test): Add more tests.
12861 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12862
3a533ca3
JM
128632012-04-24 Joseph Myers <joseph@codesourcery.com>
12864
940ab4b3
JM
12865 * sysdeps/unix/getdents.c: Remove file.
12866 * sysdeps/unix/sysv/getdents.c: Likewise.
12867 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12868
90e037bd
JM
12869 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12870 sysdeps/unix/mman/syscalls.list.
12871 (mmap): Likewise.
12872 (mprotect): Likewise.
12873 (msync): Likewise.
12874 (munmap): Likewise.
12875 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12876 * sysdeps/unix/mman/syscalls.list: Remove.
12877 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12878
3a533ca3
JM
12879 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12880 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12881 * configure: Regenerated.
12882 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12883 $(libgcc_s_suffix).
12884 * config.make.in (libgcc_s_suffix): Remove variable.
12885
1ad743de
JM
128862012-04-23 Joseph Myers <joseph@codesourcery.com>
12887
4ad451e2
JM
12888 * sysdeps/unix/sysv/gethostname.c: Move to ...
12889 * sysdeps/posix/gethostname.c: ... here.
12890
5e37ce39
JM
12891 * sysdeps/unix/execve.S: Remove file.
12892
1ad743de
JM
12893 * sysdeps/unix/_exit.S: Remove file.
12894
4e681b5b
AJ
128952012-04-23 Andreas Jaeger <aj@suse.de>
12896
12897 [BZ #13739]
12898 * manual/Makefile: Remove make dist support, there's no
12899 need for a stand-alone documentation tar ball.
12900 (TEXI2DVI): Define always, it's not in Makeconfig.
12901 (dist): Removed.
12902 (tar-it): Removed.
12903 (edition): Removed.
12904 (glibc-doc-$(edition).tar): Removed
12905 (%.Z): Removed.
12906 (%.gz): Removed.
12907 (%.uu): Removed.
12908 (ETAGS): Remove, it's in Makeconfig.
12909 (move-if-change): Remove, it's in Makeconfig.
12910
38686a03 129112012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12912
12913 [BZ #13970]
12914 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12915 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12916 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12917 (strtod_l, strtof_l, strtold_l): Remove __wur.
12918 It is not necessarily an error to ignore strtol's return value.
12919 One can reliably look at the stored endptr to decide whether
12920 the number had valid syntax.
12921
7c0616fa
AJ
129222012-04-21 Andreas Jaeger <aj@suse.de>
12923
803cb6b7 12924 [BZ #13739]
7c0616fa
AJ
12925 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12926
b0fe253f
JM
129272012-04-21 Joseph Myers <joseph@codesourcery.com>
12928
12929 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12930 * sysdeps/unix/sysv/Versions: Remove file.
12931
8280f22d
MT
129322012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12933
12934 [BZ #13927]
12935 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12936
75ce411f 129372012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12938
12939 [BZ #7064]
12940 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12941 version from __vm86.
12942
097d59fa
JM
129432012-04-20 Joseph Myers <joseph@codesourcery.com>
12944
a90f3bcb
JM
12945 * sysdeps/unix/common/lxstat.c: Remove file.
12946 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12947
edc7ea78
JM
12948 * sysdeps/unix/sysv/Makefile: Remove file.
12949
cb78c221
JM
12950 * sysdeps/unix/sysv/direct.h: Remove file.
12951
efa6a45f
JM
12952 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12953 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12954 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12955 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12956 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12957 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12958 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12959
9c9f2d0c
JM
12960 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12961
4541c83b
JM
12962 * sysdeps/unix/xmknod.c: Remove file.
12963 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12964
f5d153a0
JM
12965 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12966
aa746595
JM
12967 * sysdeps/unix/sysv/i386/time.S: Remove file.
12968
cce5905e
JM
12969 * sysdeps/unix/fxstat.c: Remove file.
12970 * sysdeps/unix/xstat.c: Likewise.
12971 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12972
37fa3841
JM
12973 * sysdeps/unix/sysv/sigaction.c: Remove file.
12974
ff1962a3
JM
12975 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12976 (sysdep_headers): Remove variable.
12977 [termio.h not in sysdep_headers] (generated): Likewise.
12978 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12979 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12980 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12981 * sysdeps/unix/sysv/tcflow.c: Likewise.
12982 * sysdeps/unix/sysv/tcflush.c: Likewise.
12983 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12984 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12985 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12986 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12987 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12988
e7740d31
JM
12989 * sysdeps/unix/siglist.c: Remove file.
12990
ee06f18b
JM
12991 * sysdeps/unix/getppid.S: Remove file.
12992
097d59fa
JM
12993 * sysdeps/unix/mkdir.c: Remove file.
12994 * sysdeps/unix/rmdir.c: Likewise.
12995
ff3d51ec
AS
129962012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12997
12998 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12999 ERR_MAX value.
13000 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
13001 errlist-compat value.
13002
50f81fd7
DM
130032012-04-18 David S. Miller <davem@davemloft.net>
13004
13005 * sysdeps/generic/memcopy.h (reg_char): Delete.
13006 * debug/strcat_chk.c: Use char, not reg_char.
13007 * debug/strcpy_chk.c: Likewise.
13008 * debug/strncat_chk.c: Likewise.
13009 * debug/strncpy_chk.c: Likewise.
13010 * string/memchr.c: Likewise.
13011 * string/memrchr.c: Likewise.
13012 * string/rawmemchr.c: Likewise.
13013 * string/strcat.c: Likewise.
13014 * string/strchr.c: Likewise.
13015 * string/strchrnul.c: Likewise.
13016 * string/strcmp.c: Likewise.
13017 * string/strcpy.c: Likewise.
13018 * string/strncat.c: Likewise.
13019 * string/strncmp.c: Likewise.
13020 * string/strncpy.c: Likewise.
13021
8ff41c46
WS
130222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13023
13024 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13025 __builtin_memcopy is called when src and dest ranges are known to not
13026 overlap.
13027
6b652f46
WS
130282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13029
13030 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13031 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13032 fwd_align_merge macro call.
13033 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13034 bwd_align_merge macro call.
13035 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13036
b282631e
WS
130372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13038
13039 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13040 bwd_align_merge macros.
13041 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13042 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13043 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13044
95aa737c
DM
130452012-04-18 David S. Miller <davem@davemloft.net>
13046
13047 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13048
7a99a614
AJ
130492012-04-18 Andreas Jaeger <aj@suse.de>
13050
13051 [BZ# 6794]
13052 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13053 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13054 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13055
13056 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13057 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13058 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13059
13060 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13061 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13062 Adjust for changed ldbl-128 files.
13063
13064 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13065 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13066 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13067
e5270c23
DM
130682012-04-17 David S. Miller <davem@davemloft.net>
13069
13070 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13071
fb5e92c9
AS
130722012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13073
13074 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13075 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13076 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13077 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13078 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13079 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13080
76da7265
AZ
130812012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13082
13083 [BZ #6794]
13084 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13085 * math/libm-test.inc: Add ilogb errno and exception tests.
13086 * math/w_ilogb.c: New file: ilogb wrapper.
13087 * math/w_ilogbf.c: New file: ilogbf wrapper.
13088 * math/w_ilogbl.c: New file: ilogbl wrapper.
13089 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13090 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13091 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13092 exception being thrown with 0.0 as argument.
13093 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13094 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13095 exception being thrown with 0.0 as argument.
13096 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13097 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13098 exception being thrown with 0.0 as argument.
13099 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13100 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13101 exception being thrown with 0.0 as argument.
13102 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13103 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13104 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13105 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13106 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13107 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13108 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13109 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13110 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13111
0396e69d
PB
131122012-04-17 Petr Baudis <pasky@ucw.cz>
13113
13114 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13115 with altivec.
13116
750b5926
MP
131172012-04-16 Marek Polacek <polacek@redhat.com>
13118
13119 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13120
751728a1
MP
131212012-04-16 Marek Polacek <polacek@redhat.com>
13122
13123 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13124 operands of fdivp instruction.
13125
34a27407
L
131262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13127
13128 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13129 * elf/tst-auditmod3b.c: Likewise.
13130 * elf/tst-auditmod4b.c: Likewise.
13131 * elf/tst-auditmod5b.c: Likewise.
13132 * elf/tst-auditmod6b.c: Likewise.
13133 * elf/tst-auditmod6c.c: Likewise.
13134 * elf/tst-auditmod7b.c: Likewise.
13135 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13136 * sysdeps/x86_64/preconfigure.in: Likewise.
13137 * sysdeps/x86_64/preconfigure: Regenerated.
13138
7e73e17d
L
131392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13140
13141 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13142 __ILP32__.
13143
c7a6ab72
AB
131442012-04-13 Antoine Balestrat <merkil33@gmail.com>
13145
13146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13147 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13148
a9e8e0e0
CL
131492012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13150
13151 [BZ #13973]
13152 * locale/iso-639.def: Fix gl language name. Spotted by
13153 Yaron Shahrabani.
13154
ec98af7d
RM
131552012-04-12 Roland McGrath <roland@hack.frob.com>
13156
13157 [BZ #2074]
13158 * libio/libio.h (__io_write_fn): Update comment.
13159
247c3ede
PB
131602012-04-12 Petr Baudis <pasky@ucw.cz>
13161
13162 [BZ #2074]
13163 * stdio.texi (Hook Functions): The user provided writer function
13164 is not allowed to return -1.
13165
55939d6d
DM
131662012-04-11 David S. Miller <davem@davemloft.net>
13167
13168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13169
90020f5a
MF
131702012-04-11 Mike Frysinger <vapier@gentoo.org>
13171
13172 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13173 Add a leading slash to rtkaio.
13174
288f9098
JM
131752012-04-11 Jim Meyering <meyering@redhat.com>
13176
90020f5a
MF
13177 [BZ #11959]
13178 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13179 It is not necessarily an error to ignore fwrite's return
13180 value. One can reliably use ferror to test for errors after
13181 the fact.
288f9098 13182
4be2b570
L
131832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13184
13185 * bits/types.h (__snseconds_t): New type.
13186 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13187
13188 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13190 (__SNSECONDS_T_TYPE): Likewise.
13191 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13192 (__SNSECONDS_T_TYPE): Likewise.
13193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13194 (__SNSECONDS_T_TYPE): Likewise.
13195
288f9098 131962012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13197
13198 [BZ #2636]
13199 * manual/time.texi (Processor Time): Return type of times is
13200 elapsed real time since an arbitrary point in the past.
13201 (CPU Time): Move CLK_TCK from here...
13202 (Processor Time): ...to here. Correct description.
13203 * manual/conf.texi (Constants for Sysconf): Correct description of
13204 _SC_CLK_TCK.
13205
d7dd4413
DM
132062012-04-10 David S. Miller <davem@davemloft.net>
13207
13208 [BZ #13967]
13209 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13210 where the is a gap between DT_REL(A) and DT_JMPREL.
13211
b46068fc
L
132122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13213
13214 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13215 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13216 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13217
73d65cc3
SP
132182012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13219
13220 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13221 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13222 (dl_main): Handle --inhibit-cache.
13223 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13224 _dl_inhibit_cache.
13225 * elf/dl-load.c (_dl_map_object): Use it.
13226 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13227
bcc8d661
JM
132282012-04-09 Joseph Myers <joseph@codesourcery.com>
13229
8f9a2fae
JM
13230 [BZ #13872]
13231 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13232 (__ieee754_powl): Saturate large exponents rather than testing for
13233 overflow of y*log2(x).
13234 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13235 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13236 exceptions.
13237
bcc8d661
JM
13238 [BZ #11521]
13239 * math/s_ctan.c: Include <float.h>.
13240 (__ctan): Avoid internal overflow or cancellation in calculating
13241 denominator.
13242 * math/s_ctanf.c: Likewise.
13243 * math/s_ctanl.c: Likewise.
13244 * math/s_ctanh.c: Likewise.
13245 * math/s_ctanhf.c: Likewise.
13246 * math/s_ctanhl.c: Likewise.
13247 * math/libm-test.inc (ctan_test): Add more tests.
13248 (ctanh_test): Likewise.
13249 * sysdeps/i386/fpu/libm-test-ulps: Update.
13250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13251
823fbbb4
AJ
132522012-04-09 Andreas Jaeger <aj@suse.de>
13253
03879793
AJ
13254 [BZ #6894]
13255 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13256 is an optional BSD extension.
13257
823fbbb4
AJ
13258 [BZ #10254]
13259 * manual/stdio.texi (Opening Streams): Document additional fopen
13260 parameters.
13261
8de131cb
RM
132622012-04-09 Roland McGrath <roland@hack.frob.com>
13263
13264 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13265 %eax without telling the compiler.
13266
c0ed9d7d
CD
132672012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13268
13269 [BZ # 13963]
13270 * manual/install.texi: Use sourceware.org.
13271
c483f6b4
JM
132722012-04-09 Joseph Myers <joseph@codesourcery.com>
13273
d7dd9453
JM
13274 [BZ #13873]
13275 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13276 (__ieee754_pow): Generate overflow and underflow using huge*huge
13277 and tiny*tiny rather than just returning constant infinity or zero
13278 for large exponents.
13279 * math/libm-test.inc (pow_test): Require overflow exceptions for
13280 applicable cases of large exponents.
13281
c483f6b4
JM
13282 [BZ #706]
13283 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13284 (__ieee754_pow): Use iterative multiplication algorithm only for
13285 integer exponents with absolute value below 1024. Check for odd
13286 integer exponents when using algorithm for real exponents.
13287 * math/libm-test.inc (pow_test): Add more tests.
13288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13289
d2de7579
JM
132902012-04-08 Joseph Myers <joseph@codesourcery.com>
13291
13292 [BZ #13705]
13293 * math/libm-test.inc (exp_test): Do not allow overflow exception
13294 on underflow test.
13295
f77f1232
AJ
132962012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13297
13298 [BZ #13705]
13299 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13300 instead of __kernel_standard_f.
13301
3884932b
MF
133022012-04-08 Mike Frysinger <vapier@gentoo.org>
13303
13304 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13305 * sysdeps/x86_64/memset_chk.S: Likewise.
13306
54472e9c
AJ
133072012-04-08 Andreas Jaeger <aj@suse.de>
13308
6ab0fbfc
AJ
13309 [BZ #10153]
13310 * manual/startup.texi (Environment Access): Describe return value
13311 for putenv and setenv.
13312
61efba8c
AJ
13313 [BZ #6895]
13314 * manual/filesys.texi (Directory Entries): Add description for
13315 DT_LNK.
13316
95c3f29a
AJ
13317 [BZ #6890]
13318 * manual/filesys.texi (Directory Entries): Clarify that it's file
13319 system not operating system in the description of DT_UNKNOWN.
13320
54472e9c
AJ
13321 [BZ #6578]
13322 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13323
624254b1
SC
133242012-04-08 Stephen Compall <s11@member.fsf.org>
13325
13326 [BZ #6649]
13327 * manual/llio.texi (Opening and Closing Files): Add cross
13328 reference to explain mode argument.
13329
1e4920e0
MF
133302012-04-07 Mike Frysinger <vapier@gentoo.org>
13331
13332 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13333 * sysdeps/x86_64/memset_chk.S: Likewise.
13334
5ed848f3
DM
133352012-04-07 David S. Miller <davem@davemloft.net>
13336
13337 * elf/elf.h (R_SPARC_WDISP10): Define.
13338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13339 R_SPARC_SIZE32.
13340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13341 R_SPARC_SIZE64 and R_SPARC_H34.
13342
96154cd8
CD
133432012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13344
13345 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13346 conditions and remove no longer applicable assertion.
13347
9904dc47
L
133482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13349
13350 * bits/byteswap.h: Include <features.h>.
13351 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13352 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13353
f8887d0a
L
133542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13355
13356 * bits/byteswap.h (__bswap_16): Removed.
13357 Include <bits/byteswap-16.h> to get __bswap_16.
13358 * sysdeps/i386/bits/byteswap.h: Likewise.
13359 * sysdeps/s390/bits/byteswap.h: Likewise.
13360 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13361 * bits/byteswap-16.h: New file.
13362 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13363 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13364 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13365 * string/Makefile (headers): Add bits/byteswap-16.h.
13366
62470f60
PP
133672012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13368
13369 [BZ #13895]
13370 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13371 extra indirection.
13372 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13373 * nss/tst-nss-static.c: New.
13374
4dad7bab
RM
133752012-04-06 Robert Millan <rmh@gnu.org>
13376
13377 [BZ #6486]
13378 * manual/llio.texi (File Position Primitive): lseek
13379 refers to WHENCE when it really means OFFSET.
13380
e9142a17
AJ
133812012-04-06 Andreas Jaeger <aj@suse.de>
13382
2c040eff
AJ
13383 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13384 strncmp declarations.
13385
e9142a17
AJ
13386 * abilist/libc.abilist: Add __poll and __ppoll.
13387
ff9f1c5f
DM
133882012-04-05 David S. Miller <davem@davemloft.net>
13389
dcd2ae90
DM
13390 * scripts/check-local-headers.sh: Accept a host triplet in the
13391 path matched by the exclude regexp.
13392
993eb054
DM
13393 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13394 definition.
13395 * sysdeps/powerpc/powerpc32/dl-machine.h
13396 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13397 * sysdeps/s390/s390-32/dl-machine.h
13398 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13399 * sysdeps/sparc/sparc32/dl-machine.h
13400 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13401 * sysdeps/sparc/sparc64/dl-machine.h
13402 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13403
ff9f1c5f
DM
13404 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13405 lazy binding.
48e2e132 13406 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13407 undefined symbol errors.
13408
48e2e132 13409 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13410 DT_NEEDED entries.
13411
e80d6f94
MM
134122012-04-05 Michael Matz <matz@suse.de>
13413
13414 [BZ #13592]
13415 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13416
349fa79f
AJ
134172012-04-05 Andreas Jaeger <aj@suse.de>
13418
13419 [BZ #13908]
13420 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13421 comment.
13422
f402708f
KK
134232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13424
13425 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13426 which ROUND is no valid rounding mode.
13427
2ecccfc9
KK
134282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13429
13430 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13431 read again.
13432 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13433
8a53f50f
KK
134342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13435
13436 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13437 an exception using FPU order intentionally.
13438
134392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13440
13441 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13442 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13443 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13444 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13445
d653abb7
SJ
134462012-04-05 Simon Josefsson <simon@josefsson.org>
13447
13448 [BZ #12340]
13449 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13450 EINVAL when BUFLEN is too smal.
13451
c3b1bf7d
TS
134522012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13453
13454 [BZ #13553]
13455 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13456 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13457
b1aa60f3
AJ
134582012-04-03 Andreas Jaeger <aj@suse.de>
13459
c3b1bf7d 13460 [BZ #13938]
67f60a26
AJ
13461 * manual/setjmp.texi (System V contexts): Fix sentence.
13462
b1aa60f3
AJ
13463 [BZ #13926]
13464 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13465 New macro for this case.
13466 [!__GNUC__] (__bswap_64): New inline function for this case.
13467 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13468 * bits/byteswap.h: Likewise.
13469 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13470 ull, guard with __GLIBC_HAVE_LONG_LONG.
13471
13472 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13473 __GLIBC_HAVE_LONG_LONG.
13474
13475 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13476 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13477
39c59c35
TMQMF
134782012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13479
13480 [BZ #13691]
13481 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13482 inptr and inend, rather than using last_ch.
13483
135ffda8
DM
134842012-04-02 David S. Miller <davem@davemloft.net>
13485
13486 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13487 * stdio-common/printf-parse.h (read_int): Change return type to
13488 'int', return -1 on INT_MAX overflow.
13489 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13490 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13491 overflows INT_MAX. Check for overflow of in-format-string precision
13492 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13493 SIZE_MAX not INT_MAX for integer overflow test.
13494 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13495 skip the construct in the format string but do not record anything.
13496 * stdio-common/bug22.c: Adjust to test both width/prevision
13497 INT_MAX overflow as well as total length INT_MAX overflow. Check
13498 explicitly for proper errno values.
13499
228c019e
TS
135002012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13501
302cadd3
TS
13502 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13503 CHAR_MAX.
13504 * string/test-strcmp.c [! WIDE]: Likewise.
13505 * time/tst-mktime2.c: Likewise for INT_MAX.
13506 * string/test-string.h: #include <sys/param.h> for MIN.
13507
228c019e
TS
13508 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13509 * sysdeps/i386/init-first.c (init): Likewise.
13510 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13511 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13512 * sysdeps/sh/init-first.c (init): Likewise.
13513
cfa633f5
UD
135142012-04-01 Ulrich Drepper <drepper@gmail.com>
13515
13516 * po/ru.po: Update from translation team.
d1635ef8 13517 * po/vi.po: Likewise.
cfa633f5 13518
6cd0a5ea
SP
135192012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13520
13521 * resolv/nss_dns/dns-host.c: Merge copyright years.
13522
4b43400f
LD
135232012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13524
13525 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13526 Optimize memcpy with prefetch if
13527 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13528 src, dst pointers have unequal 16 byte alignments.
13529
48c41d04
SP
135302012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13531
13532 [BZ #13928]
13533 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13534 from a CNAME entry and return the minimum ttl for the query.
13535 (gaih_getanswer_slice): Likewise.
13536
b8dc394d
JL
135372012-03-30 Jeff Law <law@redhat.com>
13538
13539 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13540 due to long keys.
13541 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13542 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13543
2f5a5ed0
JL
13544 * resolv/nss_dns/dns-host.c: Update copyright year.
13545
1d39e359
UD
135462012-03-30 Ulrich Drepper <drepper@gmail.com>
13547
c030f70c 13548 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13549 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13550
1d39e359
UD
13551 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13552 comments for sendmmsg.
13553
135542012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13555
13556 [BZ #13691]
13557 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13558 with only 1 character between 0x0041 and 0x01b0.
13559 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13560 * wcsmbs/tst-mbsnrtowcs.c: New file.
13561
20fde227
DM
135622012-03-29 David S. Miller <davem@davemloft.net>
13563
13564 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13565 small copies by hand.
13566
984a4237
JL
135672012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13568
13569 [BZ #13761]
13570 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13571 _nss_compat_initgroups_dyn): Fall back to malloc/free
13572 for large group memberships.
13573
18c9d62b
DM
135742012-03-28 David S. Miller <davem@davemloft.net>
13575
88d85d4f
DM
13576 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13577 that branches into memcpy.
13578 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13579 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13580 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13581 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13582 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13583 bits.
13584 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13585 implementation too.
13586 * sysdeps/sparc/mempcpy.S: New file.
13587
e5aa83e1
DM
13588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13589 the IFUNC routine in the libc case.
13590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13591
88570753
DM
13592 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13593 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13594 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13595 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13596 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13597 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13598 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13599 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13600
249d7567
DM
13601 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13602 loop to 256 bytes instead of 64 bytes and fix test signedness.
13603
18c9d62b
DM
13604 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13605 * sysdeps/sparc/sparc32/Makefile: rather than here...
13606 * sysdeps/sparc/sparc64/Makefile: and here.
13607
05f3d1f6
UD
136082012-03-28 Ulrich Drepper <drepper@gmail.com>
13609
13610 * malloc/mallocbug.c: Avoid warnings about unused variables.
13611
86ae07a8
JL
136122012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13613
13614 [BZ #13760]
13615 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13616 in the right place. Discard and retry query if response is
13617 larger than input buffer size.
13618
41bf21a1
JM
136192012-03-28 Joseph Myers <joseph@codesourcery.com>
13620
d6270972
JM
13621 [BZ #369]
13622 [BZ #2678]
13623 [BZ #3866]
13624 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13625 x for large integer exponent.
13626 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13627 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13628 sign of result as needed afterwards.
13629 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13630 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13631 result for underflowing pow the same as for overflow.
13632 (__kernel_standard_l): Handle powl overflow and underflow here
13633 rather than calling __kernel_standard.
13634 * math/libm-test.inc (pow_test): Add more tests.
13635
414fca03 13636 [BZ #3868]
41bf21a1
JM
13637 [BZ #13879]
13638 [BZ #13910]
13639 [BZ #13911]
13640 [BZ #13912]
13641 [BZ #13913]
13642 [BZ #13915]
13643 [BZ #13916]
13644 [BZ #13917]
13645 [BZ #13918]
13646 [BZ #13919]
13647 [BZ #13920]
13648 [BZ #13921]
13649 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13650 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13651 (__kernel_standard_l): New function.
13652 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13653 __kernel_standard.
13654 * math/w_acosl.c (__acosl): Likewise.
13655 * math/w_asinl.c (__asinl): Likewise.
13656 * math/w_atan2l.c (__atan2l): Likewise.
13657 * math/w_atanhl.c (__atanhl): Likewise.
13658 * math/w_coshl.c (__coshl): Likewise.
13659 * math/w_exp10l.c (__exp10l): Likewise.
13660 * math/w_exp2l.c (__exp2l): Likewise.
13661 * math/w_fmodl.c (__fmodl): Likewise.
13662 * math/w_hypotl.c (__hypotl): Likewise.
13663 * math/w_j0l.c (__j0l, __y0l): Likewise.
13664 * math/w_j1l.c (__j1l, __y1l): Likewise.
13665 * math/w_jnl.c (__jnl, __ynl): Likewise.
13666 * math/w_lgammal.c (__lgammal): Likewise.
13667 * math/w_log10l.c (__log10l): Likewise.
13668 * math/w_log2l.c (__log2l): Likewise.
13669 * math/w_logl.c (__logl): Likewise.
13670 * math/w_powl.c (__powl): Likewise.
13671 * math/w_remainderl.c (__remainderl): Likewise.
13672 * math/w_scalbl.c (sysv_scalbl): Likewise.
13673 * math/w_sinhl.c (__sinhl): Likewise.
13674 * math/w_sqrtl.c (__sqrtl): Likewise.
13675 * math/w_tgammal.c (__tgammal): Likewise.
13676 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13677 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13678 * math/libm-test.inc (acos_test): Add more tests.
13679 (acosh_test): Likewise.
13680 (asin_test): Likewise.
13681 (atanh_test): Likewise.
13682 (exp_test): Likewise.
13683 (exp10_test): Likewise.
13684 (exp2_test): Likewise.
13685 (expm1_test): Likewise.
13686 (lgamma_test): Likewise.
13687 (log_test): Likewise.
13688 (log10_test): Likewise.
13689 (log1p_test): Likewise.
13690 (log2_test): Likewise.
13691 (pow_test): Do not allow some spurious overflow exceptions.
13692 (sqrt_test): Add more tests.
13693 (tgamma_test): Likewise.
13694 (y0_test): Likewise.
13695 (y1_test): Likewise.
13696 (yn_test): Likewise.
13697
dd62fda6
AB
136982012-03-27 Anton Blanchard <anton@samba.org>
13699
13700 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13701 MAP_HUGETLB.
13702 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13703 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13704 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13705
1e3cdfda
AJ
137062012-03-27 David S. Miller <davem@davemloft.net>
13707
b855ab85
DM
13708 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13709
1e3cdfda
AJ
13710 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13711 have-as-vis3 check.
13712
137132012-03-27 Andreas Jaeger <aj@suse.de>
13714
13715 * sysdeps/x86_64/elf/configure.in: Moved to ...
13716 * sysdeps/x86_64/configure.in: ... here.
13717 * sysdeps/x86_64/elf/start.S: Moved to ...
13718 * sysdeps/x86_64/start.S: ... here.
13719 * sysdeps/x86_64/elf/configure: Delete.
13720
13721 * sysdeps/x86_64/configure.in: Merge contents from
13722 sysdeps/i386/configure.in (without i686 check).
13723
13724 * sysdeps/i386/elf/Versions: Merge into ...
13725 * sysdeps/i386/Versions: ... this.
13726 * sysdeps/i386/elf/Versions: Delete file.
13727 * sysdeps/i386/elf/start.S: Moved to ...
13728 * sysdeps/i386/start.S: ...here.
13729 * sysdeps/i386/elf/configure.in: Merge into...
13730 * sysdeps/i386/configure.in: ...here.
13731 * sysdeps/i386/elf/configure.in: Delete file.
13732 * sysdeps/i386/elf/configure: Delete file.
13733
13734 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13735 * debug/backtracesyms.c: ... here.
13736 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13737 * debug/backtracesymsfd.c: ... here.
13738 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13739 * sysdeps/generic/ifunc-sel.h: ... here.
13740
13741 * sysdeps/unix/i386/start.c: Delete file.
13742 * sysdeps/unix/sparc/start.c: Delete file.
13743 * sysdeps/unix/start.c: Delete file.
13744
13745 * sysdeps/sh/elf/configure.in: Moved to ...
13746 * sysdeps/sh/configure.in: ... here.
13747 * sysdeps/sh/elf/start.S: Moved to ...
13748 * sysdeps/sh/start.S: ... here.
13749 * sysdeps/sh/elf/configure: Delete file.
13750
13751 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13752 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13753 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13754 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13755 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13756 * sysdeps/powerpc/powerpc64/start.S: here.
13757 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13758 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13759 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13760 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13761 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13762
13763 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13764 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13765 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13766 * sysdeps/powerpc/powerpc32/start.S: ... here.
13767 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13768 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13769 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13770
13771 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13772 * sysdeps/powerpc/ifunc-sel.h: ... here.
13773 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13774 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13775
13776 * sysdeps/sparc/elf/configure.in: Moved to ...
13777 * sysdeps/sparc/configure.in: ... here.
13778 * sysdeps/sparc/elf/configure: Delete file.
13779 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13780 * sysdeps/sparc/sparc32/start.S: ... here.
13781 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13782 * sysdeps/sparc/sparc64/start.S: ... here.
13783 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13784 * sysdeps/sparc/sparc32/Makefile: ... this.
13785 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13786 * sysdeps/sparc/sparc64/Makefile: ... this.
13787
13788 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13789 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13790 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13791 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13792 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13793 * sysdeps/s390/s390-32/setjmp.S: ... here.
13794 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13795 * sysdeps/s390/s390-32/configure.in: ... here.
13796 * sysdeps/s390/s390-32/elf/configure: Delete file.
13797 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13798 * sysdeps/s390/s390-32/start.S: ... here.
13799
13800 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13801 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13802 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13803 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13804 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13805 * sysdeps/s390/s390-64/setjmp.S: ... here.
13806 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13807 * sysdeps/s390/s390-64/configure.in: ... here
13808 * sysdeps/s390/s390-64/elf/configure: Delete file.
13809 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13810 * sysdeps/s390/s390-64/start.S: ... here.
13811 * sysdeps/s390/s390-64/elf/configure: Delete.
13812
13813 * configure.in: Remove support for elf directories in sysdeps.
13814
13815 * configure: Regenerated.
13816 * sysdeps/i386/configure: Regenerated.
13817 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13818 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13819 * sysdeps/s390/s390-32/configure: Regenerated.
13820 * sysdeps/s390/s390-64/configure: Regenerated.
13821 * sysdeps/sh/configure: Regenerated.
13822 * sysdeps/sparc/configure: Regenerated.
13823 * sysdeps/x86_64/configure: Regenerated.
13824
a3f61311
AS
138252012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13826
c876e002
AS
13827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13828
a3f61311
AS
13829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13830 denormal result into account.
13831
ac4c54f0
RM
138322012-03-25 Roland McGrath <roland@hack.frob.com>
13833
13834 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13835 Reported by Allan McRae <allan@archlinux.org>.
13836
6a9b9c02
JL
138372012-03-23 Jeff Law <law@redhat.com>
13838
13839 * nss/getnssent.c (__nss_getent): Fix typo.
13840
4c42a0c1
DM
138412012-03-23 David S. Miller <davem@davemloft.net>
13842
13843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13844
1532c7ac
L
138452012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13846
13847 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13848 to pad to uint64_t for each field.
13849 (dl_tls_index): Replace unsigned long with uint64_t.
13850
3ff42526
PP
138512012-03-23 Daniel Jacobowitz <dmj@google.com>
13852 Paul Pluzhnikov <ppluzhnikov@google.com>
13853
13854 [BZ #6528]
13855 * grp/Makefile (otherlibs): Don't set it.
13856 * inet/Makefile (otherlibs): Likewise.
13857 * login/Makefile (otherlibs): Likewise.
13858 * nscd/Makefile (otherlibs): Likewise.
13859 * posix/Makefile (otherlibs): Likewise.
13860 * pwd/Makefile (otherlibs): Likewise.
13861 * rt/Makefile (otherlibs): Likewise.
13862 * sunrpc/Makefile (otherlibs): Likewise.
13863 * nss/Makefile (otherlibs): Likewise.
13864 Add libnss_files to routines and static-only-routines.
13865 ($(objpfx)getent): Remove rule.
13866 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13867 static-only-routines.
13868
7c69cd14
JM
138692012-03-22 Joseph Myers <joseph@codesourcery.com>
13870
13871 [BZ #13892]
13872 * math/s_cexp.c: Include <float.h>.
13873 (__cexp): Handle exp result overflowing not necessarily
13874 overflowing both real and imaginary parts of result.
13875 * math/s_cexpf.c: Likewise.
13876 * math/s_cexpl.c: Likewise.
13877 * math/libm-test.inc (cexp_test): Add more tests.
13878 * sysdeps/i386/fpu/libm-test-ulps: Update.
13879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13880
81b035fe
L
138812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13882
13883 * include/link.h (ELFW): New macro.
13884 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13885 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13886
1da7940c
L
138872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13888
13889 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13890 with uint64_t.
13891
b749dbb9
L
138922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13893
13894 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13895 declaration.
13896 (struct La_x32_retval): Likewise.
13897
2ff87f3f
L
138982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13899
13900 * sysdeps/x86_64/preconfigure.in: New file.
13901 * sysdeps/x86_64/preconfigure: New generated file.
13902
c0df8e69
JM
139032012-03-22 Joseph Myers <joseph@codesourcery.com>
13904
48e44791
JM
13905 [BZ #13824]
13906 * math/e_exp2l.c: Include <float.h>.
13907 (__ieee754_exp2l): Handle overflow and underflow cases
13908 separately. Only pass fractional part of argument to
13909 __ieee754_expl.
13910 * math/libm-test.inc (exp2_test): Add more tests.
13911
c0df8e69
JM
13912 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13913 negating x to take absolute value.
13914 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13915 Likewise.
13916 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13917 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13918 Likewise.
13919 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13920 computing low part if x was negated.
13921 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13922
c8e43ba7
L
139232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13924
13925 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13926 la_x32_gnu_pltexit.
13927 (pltexit): Cast int_retval to ptrdiff_t.
13928 * elf/tst-auditmod3b.c: Likewise.
13929 * elf/tst-auditmod4b.c: Likewise.
13930 * elf/tst-auditmod5b.c: Likewise.
13931 * elf/tst-auditmod6b.c: Likewise.
13932 * elf/tst-auditmod6c.c: Likewise.
13933 * elf/tst-auditmod7b.c: Likewise.
13934
13935 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13936 and x32_gnu_pltexit.
13937
13938 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13939 __ELF_NATIVE_CLASS.
13940 (La_x32_regs): New macro.
13941 (La_x32_retval): Likewise.
13942 (la_x32_gnu_pltenter): New function prototype.
13943 (la_x32_gnu_pltexit): Likewise.
13944
7998fa78
AS
139452012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13946
dcb33988
AS
13947 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13948 exponent.
13949
233fc563
AS
13950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13951
7998fa78
AS
13952 * configure.in (libc_cv_cc_nofma): Check for option to disable
13953 generation of FMA instructions.
13954 * configure: Regenerate.
13955 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13956 * sysdeps/ieee754/dbl-64/Makefile: New file.
13957 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13958 Remove brandred-fma4.
13959 (CFLAGS-brandred-fma4.c): Remove.
13960 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13961 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13962 define.
13963 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13964 define.
13965
8e95c99a
L
139662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13967
13968 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13969 LLONG_MAX != LONG_MAX.
13970 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13971 (_fitoa_word): Likewise.
13972 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13973 LLONG_MAX != LONG_MAX.
13974 * stdio-common/_itowa.h: Include <_itoa.h>.
13975 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13976 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13977 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13978 only if not defined.
13979 (_ITOA_WORD_TYPE): Likewise.
13980 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13981 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13982
6f4db457
DM
139832012-03-21 David S. Miller <davem@davemloft.net>
13984
13985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13986
7785fe5a
L
139872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13988
13989 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13990 of x86_64 when setting libc_cv_slibdir, libdir and
13991 libc_cv_localedir.
13992 * sysdeps/unix/sysv/linux/configure: Regenerated.
13993
4535cd55
JM
139942012-03-21 Joseph Myers <joseph@codesourcery.com>
13995
13996 * manual/lang.texi (Old Varargs): Remove section.
13997 (How Variadic): Update menu.
13998 (va_start): Do not mention varargs.h.
13999
17228132
TS
140002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14001 Joseph Myers <joseph@codesourcery.com>
14002
14003 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
14004 link test.
14005 * configure: Regenerated.
14006
8149f976
TS
140072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
14008
05f3d1f6
UD
14009 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
14010 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
14011 conformtest.pl
8149f976 14012
1a4ac776
JM
140132012-03-21 Joseph Myers <joseph@codesourcery.com>
14014
be22ce65
JM
14015 * NOTES: Remove.
14016 * Makefile (files-for-dist): Remove NOTES.
14017 (NOTES): Remove rule.
14018 * README: Don't refer to NOTES.
14019 * manual/creature.texi: Don't include macros.texi.
14020 * manual/intro.texi (creature.texi): Remove comment referring to
14021 NOTES.
14022
40b601fb
JM
14023 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14024 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14025 * configure: Regenerated.
14026 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14027 LIBC_TRY_CC_OPTION.
14028 (libc_cv_as_i686): Likewise.
14029 (libc_cv_cc_avx): Likewise.
14030 (libc_cv_cc_sse2avx): Likewise.
14031 (libc_cv_cc_fma4): Likewise.
14032 (libc_cv_cc_novzeroupper): Likewise.
14033 * sysdeps/i386/configure: Regenerated.
14034
1a4ac776
JM
14035 [BZ #13883]
14036 * sysdeps/i386/fpu/s_cexp.S: Remove.
14037 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14038 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14039 * math/libm-test.inc (cexp_test): Add more tests.
14040 * sysdeps/i386/fpu/libm-test-ulps: Update.
14041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14042
a458e7fe
AM
140432012-03-21 Allan McRae <allan@archlinux.org>
14044
14045 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14046
0cb7efc5
JM
140472012-03-21 Joseph Myers <joseph@codesourcery.com>
14048
14049 [BZ #13871]
14050 * math/w_exp2.c: Do not include <float.h>.
14051 (o_threshold, u_threshold): Remove.
14052 (__exp2): Calculate result before checking finiteness and calling
14053 __kernel_standard.
14054 * math/w_exp2f.c: Likewise.
14055 * math/w_exp2l.c: Likewise.
14056 * math/libm-test.inc (exp2_test): Require overflow exception for
14057 1e6 input.
2460d3aa
JM
14058
14059 [BZ #3866]
14060 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14061 range of signed 64-bit integers before using fistpll. Remove
14062 checks for whether integers fit in mantissa bits.
14063 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14064 the range of signed 32-bit integers before using fistpl. Remove
14065 checks for whether integers fit in mantissa bits.
14066 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14067 (__ieee754_powl): Test for y outside the range of signed 64-bit
14068 integers before using fistpll. Reduce 64-bit values to 63-bit
14069 ones as needed.
14070 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14071 divide-by-zero is raised for zero to large negative powers.
14072 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14073 (__ieee754_powl): Test for y outside the range of signed 64-bit
14074 integers before using fistpll. Reduce 64-bit values to 63-bit
14075 ones as needed.
14076 * math/libm-test.inc (pow_test): Add more tests.
14077
eb96ffb0
L
140782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14079
14080 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14081 <stdio-common/_itoa.h>.
14082 * debug/segfault.c: Likewise.
14083 * elf/dl-cache.c: Likewise.
14084 * elf/dl-minimal.c: Likewise.
14085 * elf/dl-misc.c: Likewise.
14086 * elf/dl-sysdep.c: Likewise.
14087 * elf/dl-version.c: Likewise.
14088 * elf/rtld.c: Likewise.
14089 * hurd/hurdsock.c: Likewise.
14090 * hurd/lookup-retry.c: Likewise.
14091 * malloc/malloc.c: Likewise.
14092 * malloc/mtrace.c: Likewise.
14093 * nscd/nscd_getgr_r.c: Likewise.
14094 * nscd/nscd_getpw_r.c: Likewise.
14095 * nscd/nscd_getserv_r.c: Likewise.
14096 * posix/getopt_init.c: Likewise.
14097 * posix/wordexp.c: Likewise.
14098 * stdio-common/_itoa.c: Likewise.
14099 * stdio-common/printf_fphex.c: Likewise.
14100 * stdio-common/vfprintf.c: Likewise.
14101 * string/_strerror.c: Likewise.
14102 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14103 * sysdeps/i386/i686/hp-timing.h: Likewise.
14104 * sysdeps/mach/_strerror.c: Likewise.
14105 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14106 * sysdeps/mach/hurd/sethostid.c: Likewise.
14107 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14108 * sysdeps/mach/xpg-strerror.c: Likewise.
14109 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14110 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14111 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14112 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14113 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14114 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14115 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14116 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14117 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14118 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14119 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14120 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14121 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14122 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14123 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14124 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14125 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14126 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14127 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14128 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14129 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14130
14131 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14132
14133 * stdio-common/_itoa.h: Moved to ...
14134 * sysdeps/generic/_itoa.h: Here.
14135
14136 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14137
14138 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14139 instead of "_itoa.h" and "_itowa.h".
14140 * stdio-common/vfprintf.: Likewise.
14141
d1af992d
L
141422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14143
14144 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14145 <bits/wordsize.h>.
14146 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14147 (__signbit): Likwise.
14148 (llrintf): Likwise.
14149 (llrint): Likwise.
14150
114883e0
L
141512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14152
14153 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14154 __WORDSIZE != 64.
14155
c135cc1b
JM
141562012-03-20 Joseph Myers <joseph@codesourcery.com>
14157
14158 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14159 OVERFLOW_EXCEPTION_OK.
14160 * math/libm-test.inc ("Philosophy"): Update comment about
14161 exception testing.
14162 (OVERFLOW_EXCEPTION): Define.
14163 (OVERFLOW_EXCEPTION_OK): Likewise.
14164 (INVALID_EXCEPTION_OK): Renumber.
14165 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14166 (IGNORE_ZERO_INF_SIGN): Likewise.
14167 (test_exceptions): Handle FE_OVERFLOW.
14168 (exp10_test): Expect overflow exceptions.
14169 (exp2_test): Likewise.
14170 (expm1_test): Likewise.
14171 (nextafter_test): Likewise.
14172 (pow_test): Likewise.
14173 (scalbn_test): Likewise.
14174 (scalbln_test): Likewise.
14175
95443d88
L
141762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14177
14178 * sysdeps/x86_64/bits/atomic.h
14179 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14180 64bit integer.
14181 (atomic_exchange_acq): Likewise.
14182 (__arch_exchange_and_add_body): Likewise.
14183 (__arch_add_body): Likewise.
14184 (atomic_add_negative): Likewise.
14185 (atomic_add_zero): Likewise.
14186
490df6c4
L
141872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14188
c2722551 14189 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14190 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14191
5e52b189
L
141922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14193
14194 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14195 Check __x86_64__ instead of __WORDSIZE.
14196
a9879d4c
L
141972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14198
14199 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14200
5df98260
DM
142012012-03-19 David S. Miller <davem@davemloft.net>
14202
e1497744
DM
14203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14204
5df98260
DM
14205 * sysdeps/sparc/fpu/fenv_private.h: New file.
14206 * sysdeps/sparc/fpu/math_private.h: Use it.
14207 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14208 Remove.
14209 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14210 (libc_feholdexcept_setroundl): Remove.
14211 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14212 Remove.
14213 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14214 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14215
b4c35121
L
142162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14217
14218 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14219 int64_t instead of long int.
14220 (INSERT_WORDS64): Likwise.
14221
56965fd7
L
142222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14223
14224 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14225 _Unwind_GetCFA return to _Unwind_Ptr first.
14226
83d1aec8
JM
142272012-03-19 Joseph Myers <joseph@codesourcery.com>
14228
1897ad44
JM
14229 [BZ #13629]
14230 * math/s_clog.c: Include <float.h>.
14231 (__clog): Scale large or subnormal inputs.
14232 * math/s_clogf.c: Likewise.
14233 * math/s_clogl.c: Likewise.
14234 * math/s_clog10.c: Include <float.h>.
14235 (M_LOG10_2): Define.
14236 (__clog10): Scale large or subnormal inputs.
14237 * math/s_clog10f.c: Likewise.
14238 * math/s_clog10l.c: Likewise.
14239 * math/libm-test.inc (clog_test): Add more tests.
14240 (clog10_test): Likewise.
14241 * sysdeps/i386/fpu/libm-test-ulps: Update.
14242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14243
7726d6a9
JM
14244 [BZ #11451]
14245 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14246 x and y.
14247 * math/libm-test.inc (atan2_test): Add another test.
14248
83d1aec8
JM
14249 * Makerules (common-objdir-compile): Remove.
14250 * sysdeps/unix/Makefile (config-generated): Do not add
14251 $(unix-generated) to variable.
14252 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14253 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14254 Remove rule.
14255 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14256 Likewise.
14257 [generic bits/local_lim.h] (before-compile): Do not append to
14258 variable.
14259 [generic bits/local_lim.h] (common-generated): Likewise.
14260 [generic sys/param.h] (before-compile): Do not append to variable.
14261 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14262 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14263 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14264 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14265 include.
14266 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14267 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14268 [generic sys/param.h] ($(addprefix
14269 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14270 [generic sys/param.h] (common-generated): Do not append to
14271 variable.
14272 [generic sys/param.h] (sysdep_headers): Likewise.
14273 [generic bits/errno.h] (before-compile): Do not append to
14274 variable.
14275 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14276 rule.
14277 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14278 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14279 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14280 [generic bits/errno.h] (common-generated): Do not append to
14281 variable.
14282 [generic bits/ioctls.h] (before-compile): Do not append to
14283 variable.
14284 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14285 rule.
14286 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14287 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14288 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14289 rule.
14290 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14291 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14292 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14293 [generic bits/ioctls.h] (common-generated): Do not append to
14294 variable.
14295 [generic sys/syscall.h] (syscall.h): Remove variable.
14296 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14297 rule.
14298 [generic sys/syscall.h] (before-compile): Do not append to
14299 variable.
14300 [generic sys/syscall.h] (common-generated): Likewise.
14301 * sysdeps/unix/errnos-tmpl.c: Remove file.
14302 * sysdeps/unix/errnos.awk: Likewise.
14303 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14304 * sysdeps/unix/ioctls.awk: Likewise.
14305 * sysdeps/unix/mk-local_lim.c: Likewise.
14306 * sysdeps/unix/snarf-ioctls: Likewise.
14307
4851a949
RH
143082012-03-19 Richard Henderson <rth@twiddle.net>
14309
bd37f2ee
RH
14310 * sysdeps/i386/fpu/fenv_private.h: New file.
14311 * sysdeps/i386/fpu/math_private.h: Use it.
14312 (math_opt_barrier, math_force_eval): Remove.
14313 (libc_feholdexcept_setround_53bit): Remove.
14314 (libc_feupdateenv_53bit): Remove.
14315 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14316 (math_opt_barrier, math_force_eval): Remove.
14317 (libc_feholdexcept): Remove.
14318 (libc_feholdexcept_setround): Remove.
14319 (libc_fetestexcept, libc_fesetenv): Remove.
14320 (libc_feupdateenv_test): Remove.
14321 (libc_feupdateenv, libc_feholdsetround): Remove.
14322 (libc_feresetround): Remove.
14323
d0adc922
RH
14324 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14325 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14326
0fe0f1f8
RH
14327 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14328 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14329 (libc_feupdateenv_testl): New.
14330 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14331 (libc_feupdateenv_testf): New.
14332 (libc_feupdateenv): Use libc_feupdateenv_test.
14333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14334 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14335
eb92c487
RH
14336 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14337 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14338 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14339 (libc_feresetround_noex): New.
14340 (libc_feresetround_noexf): New.
14341 (libc_feresetround_noexl): New.
14342 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14343 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14344 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14345 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14346 SET_RESTORE_ROUND.
14347 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14349 (__cos): Likewise.
14350 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14351 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14352 SET_RESTORE_ROUND_NOEX.
14353 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14354 SET_RESTORE_ROUND_NOEXF.
14355 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14356 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14357 (libc_feholdsetroundf): New.
14358 (libc_feresetround, libc_feresetroundf): New.
14359
7d2e8012
RH
14360 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14361 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14362 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14363
b4dabbb4
RH
14364 * sysdeps/generic/math_private.h: Include <fenv.h>.
14365 (default_libc_feholdexcept): New.
14366 (default_libc_feholdexcept_setround): New.
14367 (default_libc_fesetenv, default_libc_feupdateenv): New.
14368 (libc_feholdexcept): Only define if undefined.
14369 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14370 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14371 (libc_feholdexcept_setroundl): Likewise.
14372 (libc_feholdexcept_setround_53bit): Likewise.
14373 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14374 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14375 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14376 (libc_feupdateenv_53bit): Likewise.
14377 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14378 (libc_feholdexcept): Convert from macro to inline function.
14379 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14380 (libc_fesetenv, libc_feupdateenv): Likewise.
14381
4851a949
RH
14382 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14383 not previously defined.
14384 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14385 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14386 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14387 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14388 * sysdeps/ieee754/flt-32/math_private.h: New file.
14389 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14390 math_private.h below SET_FLOAT_WORD.
14391 (__isnan, __isinf_ns, __finite): Remove.
14392 (__isnanf, __isinf_nsf, __finitef): Remove.
14393
e79d442e
AS
143942012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14395
14396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14397
90b80344
DM
143982012-03-17 David S. Miller <davem@davemloft.net>
14399
14400 [BZ #6471]
14401 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14402 for 2.16.
14403
edc21804
DM
144042012-03-16 David S. Miller <davem@davemloft.net>
14405
77e927af
DM
14406 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14407 warnings.
14408
374976dd
DM
14409 [BZ #6471]
14410 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14411 properly.
14412 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14413 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14414 sysdep_routines when subdir is sysvipc.
14415 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14416 __getshmlba helper.
14417
edc21804
DM
14418 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14419
473c3ef3
L
144202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14421
14422 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14423 [__LP64__].
14424
eb0f39b6
L
144252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14426
14427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14428 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14429 (__lround): Renamed to ...
14430 (__llround): This. Replace long int with long long int.
14431 Define lround functions as aliases of llround functions.
14432 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14433
6b6cd74b
L
144342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14435
14436 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14437 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14438 adresses to uintptr_t. Replace "long int" and "unsigned long
14439 int" with "greg_t" on va_arg.
14440
f1a77b01
L
144412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14442
14443 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14444 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14445
14446 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14447 Move e_machine check before EI_CLASS check. Handle x32
14448 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14449 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14450 SKIP_EM_IA_64 and include
14451 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14452
14453 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14454 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14455 (add_system_dir): New macro.
14456
14457 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14458 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14459
11b90b9f
JM
144602012-03-16 Joseph Myers <joseph@codesourcery.com>
14461
c36e1d23
JM
14462 [BZ #2551]
14463 [BZ #2552]
14464 [BZ #2553]
14465 [BZ #2554]
14466 [BZ #2562]
14467 [BZ #2563]
14468 [BZ #2565]
14469 [BZ #2566]
14470 [BZ #2576]
14471 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14472 (y0): Likewise.
14473 * math/w_j0f.c (j0f): Likewise.
14474 (y0f): Likewise.
14475 * math/w_j0l.c (__j0l): Likewise.
14476 (__y0l): Likewise.
14477 * math/w_j1.c (j1): Likewise.
14478 (y1): Likewise.
14479 * math/w_j1f.c (j1f): Likewise.
14480 (y1f): Likewise.
14481 * math/w_j1l.c (__j1l): Likewise.
14482 (__y1l): Likewise.
14483 * math/w_jn.c (jn): Likewise.
14484 (yn): Likewise.
14485 * math/w_jnf.c (jnf): Likewise.
14486 (ynf): Likewise.
14487 * math/w_jnl.c (__jnl): Likewise.
14488 (__ynl): Likewise.
14489 * math/libm-test.inc (j0_test): Add more tests.
14490 (j1_test): Likewise.
14491 (jn_test): Likewise. Add trailing semicolon to existing test.
14492 (y0_test): Likewise.
14493 (y1_test): Likewise.
14494 * sysdeps/i386/fpu/libm-test-ulps: Update.
14495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14496
11b90b9f
JM
14497 [BZ #13851]
14498 [BZ #13854]
14499 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14500 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14501 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14502 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14503 (__tanl): Set errno for infinite argument.
14504 * sysdeps/i386/fpu/mptan.c: Remove.
14505 * sysdeps/i386/fpu/s_tan.S: Likewise.
14506 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14507 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14508 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14509 * math/libm-test.inc (tan_test): Add more tests and enable more
14510 tests for double and long double.
14511 * sysdeps/i386/fpu/libm-test-ulps: Update.
14512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14513
6a1bd2a1
JK
145142012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14515
14516 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14517 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14518
10a803e0
RM
145192012-03-16 Roland McGrath <roland@hack.frob.com>
14520
14521 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14522 * configure.in: Use it for both main tree and add-ons.
14523 * configure: Regenerated.
14524
f196c7f7
L
145252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14526
14527 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14528
8848d99d
JM
145292012-03-16 Joseph Myers <joseph@codesourcery.com>
14530
96cbe7f4
JM
14531 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14532 in comment.
14533
8848d99d
JM
14534 [BZ #13851]
14535 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14536 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14539 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14540 infinite argument.
14541 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14543 != 0 for prec == 2.
14544 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14545 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14546 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14547 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14548 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14549 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14550 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14551 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14552 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14553 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14554 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14555 * math/libm-test.inc (cos_test): Add more tests and enable more
14556 tests for long double.
14557 (sin_test): Likewise.
14558 (sincos_test): Likewise.
14559 * sysdeps/i386/fpu/libm-test-ulps: Update.
14560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14561
dd7f4703
DM
145622012-03-16 David S. Miller <davem@davemloft.net>
14563
14564 * sysdeps/sparc/fpu/math_private.h: New file.
14565
006f1daa
DM
145662012-03-15 David S. Miller <davem@davemloft.net>
14567
c0c83bc8
DM
14568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14569 file.
e6a62e18 14570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14572 file.
e6a62e18
DM
14573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14576 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14578 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14579 sysdep routines.
14580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14581
88cb87d9
DM
14582 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14583 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14584
006f1daa 14585 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14587 sparc-ifunc.h
006f1daa 14588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14590 Likewise.
14591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14592 Likewise.
006f1daa
DM
14593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14597 Likewise.
006f1daa
DM
14598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14603 Likewise.
14604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14605 Likewise.
006f1daa
DM
14606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14612 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14613 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14626 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14628 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14630
11e0098e
AS
146312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14632
14633 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14634 scaling.
14635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14636
e85b09d0
AJ
146372012-03-15 Andreas Jaeger <aj@suse.de>
14638
14639 [BZ #13852]
14640 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14641 ieee754/flt-32 implementation for sin, cos and sincos.
14642 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14643 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14644 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14645 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14646 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14647 ieee754/flt-32 implementation for tan.
14648
14649 * math/libm-test.inc (cos_test): Enable some large input tests for
14650 float as well
14651 (sin_test): Likewise.
14652 (sincos_test): Likewise.
14653 (tan_test): Add tests for large input.
14654
14655 * sysdeps/i386/fpu/libm-test-ulps: Update.
14656
81c64153
AJ
146572012-03-15 Andreas Jaeger <aj@suse.de>
14658
14659 [BZ #13658]
14660 * math/libm-test.inc (cos_test): Add more test cases.
14661 (sin_test): Likewise.
14662 (sincos_test): Likewise.
14663
7bbfa5c6
AJ
146642012-03-15 Andreas Jaeger <aj@suse.de>
14665
14666 [BZ #13837]
14667 * math/libm-test.inc (cos_test): Add a test case for large input
14668 value.
14669 (sin_test): Likewise.
14670 (sincos_test): Likewise.
14671
146722012-03-15 Andreas Jaeger <aj@suse.de>,
14673 Joseph Myers <joseph@codesourcery.com>
14674
14675 [BZ #13658]
0671f479 14676 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14677 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14678 * sysdeps/i386/fpu/branred.c: Likewise.
14679 * sysdeps/i386/fpu/dosincos.c: Likewise.
14680 * sysdeps/i386/fpu/mpa.c: Likewise.
14681 * sysdeps/i386/fpu/s_cos.S: Likewise.
14682 * sysdeps/i386/fpu/s_sin.S: Likewise.
14683 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14684 * sysdeps/i386/fpu/sincos32.c: Likewise.
14685
14686 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14687 Define.
14688 (libc_feupdateenv_53bit): Define.
14689 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14690 Define.
14691 (libc_feupdateenv_53bit): Define.
14692
14693 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14694 53 bit (without extend i386 double precision).
14695
14696 * math/libm-test.inc (sincos_test): Add tests for large input.
14697 (sin): Likewise.
14698 (cos): Likewise.
14699
14700 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14701
9cad04ea
AS
147022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14703
14704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14705
f7062b9a
DM
147062012-03-15 David S. Miller <davem@davemloft.net>
14707
14708 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14709 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14710 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14711 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14724 file.
f7062b9a 14725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14727 file.
f7062b9a 14728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14730 file.
f7062b9a 14731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14733 file.
f7062b9a
DM
14734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14736 fmin/fmax sysdep routines.
14737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14738
7bd951ff
DM
147392012-03-14 David S. Miller <davem@davemloft.net>
14740
559398ab
DM
14741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14743 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14747 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14763 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14767 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14769 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14770 routines.
14771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14772 file.
559398ab 14773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14775 file.
559398ab 14776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14778 file.
559398ab 14779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14781 file.
559398ab 14782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14784 file.
559398ab 14785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14787 file.
14788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14789 file.
14790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14791 file.
14792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14793 file.
14794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14795 New file.
14796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14797 file.
14798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14799 file.
559398ab 14800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14802 file.
559398ab 14803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14805 file.
559398ab 14806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14808 file.
559398ab 14809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14811 VIS3 routines.
559398ab
DM
14812
14813 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14814 New file.
14815
5a1c1e32
DM
14816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14817
eae47a36
DM
14818 * sysdeps/sparc/configure.in: New file.
14819 * sysdeps/sparc/configure: Generate.
14820 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14821 * configure: Regenerate.
14822 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14823 * config.make.in (have-as-vis3): New.
14824 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14825 available use -Av9d instead of -Av9a.
14826 * sysdeps/sparc/sparc64/Makefile: Likewise.
14827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14829 New file.
14830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14831 file.
14832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14833 New file.
14834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14835 file.
eae47a36
DM
14836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14841
c0c83bc8
DM
14842 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14843 fzeros/fnegs to load 0x80000000 into a float register instead of
14844 using the stack.
7bd951ff
DM
14845 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14846
bd951ccb
JM
148472012-03-14 Joseph Myers <joseph@codesourcery.com>
14848
14849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14850 bits/syscall.h.
14851 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14852 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14853 ($(inst_includedir)/bits/syscall.h): Remove rule.
14854 ($(objpfx)bits/syscall.d): Include instead of
14855 $(objpfx)syscall-list.d.
14856 (generated): Change syscall-list.h and syscall-list.d to
14857 bits/syscall.h and bits/syscall.d.
14858
bb4e6db2
RM
148592012-03-14 Roland McGrath <roland@hack.frob.com>
14860
14861 [BZ #13846]
14862 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14863
aa4a2ae1
JM
148642012-03-14 Joseph Myers <joseph@codesourcery.com>
14865
e456826d
JM
14866 [BZ #13841]
14867 * math/s_csqrt.c: Include <float.h>.
14868 (__csqrt): Scale large or subnormal inputs.
14869 * math/s_csqrtf.c: Likewise.
14870 * math/s_csqrtl.c: Likewise.
14871 * math/libm-test.inc (csqrt_test): Add more tests.
14872 * sysdeps/i386/fpu/libm-test-ulps: Update.
14873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14874
aa4a2ae1
JM
14875 [BZ #13840]
14876 * math/libm-test.inc (hypot_test): Add more tests.
14877
7c10fd35
DM
148782012-03-13 David S. Miller <davem@davemloft.net>
14879
14880 [BZ #13840]
14881 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14882 double-precision for the calculation instead of scaling.
14883
f453b98b
JM
148842012-03-13 Joseph Myers <joseph@codesourcery.com>
14885
14886 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14887 manipulate bits before adding and subtracting TWO52[sx].
14888 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14889 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14890 Likewise.
14891 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14892
09a3453f
DM
148932012-03-13 David S. Miller <davem@davemloft.net>
14894
8e59da90
DM
14895 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14896 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14898 rtld-global-offsets.h
14899 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14900
2a8ab7f2
DM
14901 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14902 large parameters.
14903
10f62770
DM
14904 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14905
5f0bdb18
DM
14906 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14907 'err' in the ifdef scope in which it is actually used.
14908
09a3453f
DM
14909 * nss/nss_db/db-init.c: Include string.h
14910
b4b2eb5e
DM
149112012-03-12 David S. Miller <davem@davemloft.net>
14912
98bb2f1c
DM
14913 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14914 masking out of the most significant byte of random value used.
14915 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14916 Fix coding style in previous change.
14917
b4b2eb5e
DM
14918 * sysdeps/unix/sysv/linux/kernel-features.h
14919 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14920 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14921 expression.
14922 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14923 later.
14924
6e226b09
DM
149252012-03-11 David S. Miller <davem@davemloft.net>
14926
a1bcbd40
DM
14927 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14928 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14929 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14930 for 'resultvar' otherwise things get truncated on 64-bit.
14931
cb9d6174
DM
14932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14933 Fix masking out of the most significant byte of random value used.
14934
6e226b09
DM
14935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14936
058c132d
AS
149372012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14938
14939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14940
2d2cd515
DM
149412012-03-09 David S. Miller <davem@davemloft.net>
14942
14943 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14944 variables with appropriate CPP guards.
14945 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14946 frame pointer, not the stack pointer. Correct layout comments. Fix test
14947 on resulting framesize and the management of the outregs buffer for pltexit.
14948 Preserve floating point return values across _dl_call_pltexit call.
14949 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14950 framesize and the management of the outregs buffer for pltexit.
14951 Preserve floating point return values across _dl_call_pltexit
14952 call.
14953 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14954 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14955 (print_exit): Fix format string for return register value.
14956
9a07f9d0
JM
149572012-03-10 Joseph Myers <joseph@codesourcery.com>
14958
14959 * sunrpc/Makefile (others): Add rpcgen.
14960 ($(objpfx)rpcgen): Remove special build rule and dependency on
14961 libc.
14962 * sunrpc/rpcgen.c: New file.
14963
547b5e30
PE
149642012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14965
c524201a
PE
14966 [BZ #13673]
14967 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14968 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14969 * sysdeps/i386/crti.S: Likewise.
14970 * sysdeps/i386/crtn.S: Likewise.
14971 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14972 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14973 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14974 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14975 * sysdeps/sh/crti.S: Likewise.
14976 * sysdeps/sh/crtn.S: Likewise.
14977 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14978
7b6235f2
PE
14979 [BZ #13673]
14980 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14981 with URL.
14982 * locale/programs/locfile-kw.gperf: Likewise.
14983 * locale/programs/charmap-kw.h: Regenerated.
14984 * locale/programs/locfile-kw.h: Likewise.
14985
547b5e30
PE
14986 [BZ #13673]
14987 * intl/plural.y: Replace FSF snail mail address with URL.
14988 * intl/plural.c: Regenerated.
14989
5f0a5dae
RH
149902012-03-09 Richard Henderson <rth@twiddle.net>
14991
14992 * include/math_private.h: Remove file.
14993 * math/math_private.h: Move file ...
14994 * sysdeps/generic/math_private.h: ... here.
14995
b8c03620
RH
14996 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14997 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14998 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14999
4e234f5d 15000 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
15001 and <math_private.h>.
15002 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
15003 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
15004 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
15005 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
15006 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15013 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15014 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15015 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15016 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15017 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15018 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15019 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15020 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15021 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15023 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15024 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15026 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15027 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15030 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15031 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15036 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15044 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15065 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15066 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15067 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15068 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15069 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15070 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15071 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15072 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15073 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15074 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15075 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15076 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15077 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15078 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15079 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15080 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15081 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15082 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15083 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15084 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15085 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15086 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15087 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15089 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15090 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15091 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15092 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15093 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15094 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15095 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15096 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15097 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15098 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15099 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15100 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15101 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15102 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15103 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15104 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15105 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15106 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15107 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15108 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15109 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15110 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15111 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15112 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15113 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15114 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15115 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15116 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15117 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15118 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15119 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15120 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15121 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15122 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15123 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15124 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15125 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15126 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15127 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15128 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15129 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15130 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15131 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15132 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15133 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15134 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15135 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15136 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15137 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15138 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15139 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15140 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15141 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15142 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15143 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15144 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15145 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15146 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15147 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15148 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15149 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15150 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15151 * sysdeps/ieee754/k_standard.c: Likewise.
15152 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15153 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15154 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15155 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15156 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15157 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15158 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15159 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15160 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15161 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15162 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15164 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15165 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15166 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15167 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15168 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15169 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15170 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15171 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15172 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15173 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15174 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15175 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15176 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15177 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15178 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15179 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15180 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15181 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15182 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15183 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15184 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15185 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15186 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15187 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15188 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15189 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15190 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15191 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15192 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15193 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15194 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15195 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15196 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15197 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15198 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15199 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15200 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15201 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15202 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15203 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15204 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15205 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15206 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15207 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15208 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15209 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15210 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15211 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15212 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15213 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15214 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15215 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15219 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15220 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15221 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15222 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15224 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15225 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15226 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15228 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15229 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15230 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15231 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15232 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15233 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15234 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15235 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15236 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15237 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15238 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15240 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15241 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15242 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15243 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15244 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15245 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15246 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15247 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15248 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15249 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15250 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15251 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15252 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15253 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15254 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15255 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15256 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15259 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15260 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15261 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15263 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15264 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15265 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15266 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15267 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15268 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15269 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15270 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15271 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15272 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15273 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15274 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15275 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15276 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15277 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15278 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15279 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15280 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15281 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15282 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15283 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15284 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15285 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15286 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15287 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15289 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15290 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15293 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15295 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15298 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15300 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15301 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15302 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15303 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15304 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15305 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15306 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15307 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15308 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15309 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15310 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15311 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15312 * sysdeps/ieee754/s_lib_version.c: Likewise.
15313 * sysdeps/ieee754/s_matherr.c: Likewise.
15314 * sysdeps/ieee754/s_signgam.c: Likewise.
15315 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15316 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15317 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15318 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15319 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15320 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15321 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15322 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15323 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15324 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15325 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15326 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15327 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15328 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15329 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15330 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15331 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15332 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15333 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15335 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15336
1991fa03
JM
153372012-03-09 Joseph Myers <joseph@codesourcery.com>
15338
15339 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15340 * sunrpc/rpc_main.c: Likewise.
15341 * sunrpc/rpc_svcout.c: Likewise.
15342
60d6f5a6
DM
153432012-03-09 David S. Miller <davem@davemloft.net>
15344
15345 * include/math_private.h: New file.
15346
4962050e
JM
153472012-03-09 Joseph Myers <joseph@codesourcery.com>
15348
02a6f887
JM
15349 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15350 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15351 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15352 from <bits/socket_type.h>.
15353 (enum __socket_type): Don't define here.
15354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15356 bits/socket_type.h.
15357
c6e013c1
JM
15358 [BZ #13566]
15359 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15360 checking __USE_GNU.
15361
4962050e
JM
15362 * Makerules ($(inst_includedir)/%.h): New rule.
15363 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15364 (install-others): Remove variable setting.
15365 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15366
38842f45
RH
153672012-03-08 Richard Henderson <rth@twiddle.net>
15368
67bb6da6
RH
15369 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15370 from macro to inline function; merge with the
15371 !__LIBC_INTERNAL_MATH_INLINES version.
15372 (__ieee754_sqrtf): Likewise.
15373
15194b4b
RH
15374 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15375 to inline function.
15376 (__rintf, __floor, __floorf): Likewise.
15377
64e21ede
RH
15378 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15379 macro to inline function.
15380 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15381
38842f45
RH
15382 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15383 not <math/math_private.h>.
15384
c64bf5fe
DM
153852012-03-08 David S. Miller <davem@davemloft.net>
15386
15387 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15388 copyright year.
15389 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15390
82d86f28
TS
153912012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15392
15393 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15394 normalization.
15395 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15396 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15397
aea5d727
UD
153982012-03-08 Ulrich Drepper <drepper@gmail.com>
15399
15400 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15401 be defined individually, they must be defined as a block. Define
15402 S for printing a string instead of hidint the different by using a
15403 macro for adding the 'l'.
15404 * stdio-common/tst-fphex-wide.c: Adjust.
15405
70bca0a3
MP
154062012-03-07 Marek Polacek <polacek@redhat.com>
15407
15408 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15409
65b81130
MP
154102012-03-08 Marek Polacek <polacek@redhat.com>
15411
15412 [BZ #13806]
15413 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15414 * stdio-common/tst-fphex.c: Define a few macros to make the
15415 test reusable. Use them.
15416 * stdio-common/tst-fphex-wide.c: New file.
15417
07037eeb
JM
154182012-03-08 Joseph Myers <joseph@codesourcery.com>
15419
a7a93d50
JM
15420 [BZ #6911]
15421 * manual/macros.texi (gnusystems): New macro.
15422 (nongnusystems): Likewise.
15423 (gnulinuxhurdsystems): Likewise.
15424 (gnuhurdsystems): Likewise..
15425 (gnulinuxsystems): Likewise.
15426 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15427 variants of the GNU system, not "GNU system".
15428 * manual/conf.texi: Likewise.
15429 * manual/errno.texi: Likewise. Update example of errno macro
15430 expansion.
15431 * manual/filesys.texi: Likewise.
15432 (getumask): Document as specific to GNU/Hurd.
15433 * manual/install.texi: Likewise. Reword some references to
15434 GNU/Linux.
15435 * manual/intro.texi: Likewise.
15436 * manual/io.texi: Likewise.
15437 (File Name Portability): Detail which constraints are inapplicable
15438 to all GNU systems and which are only inapplicable to GNU/Hurd.
15439 * manual/job.texi: Likewise.
15440 * manual/llio.texi: Likewise.
15441 (O_NOCTTY): Document as present on GNU/Linux.
15442 * manual/maint.texi: Likewise.
15443 * manual/memory.texi: Likewise.
15444 * manual/pattern.texi: Likewise.
15445 * manual/pipe.texi: Likewise.
15446 * manual/process.texi: Likewise.
15447 * manual/resource.texi: Likewise.
15448 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15449 child on GNU/Hurd.
15450 * manual/setjmp.texi: Likewise.
15451 * manual/signal.texi: Likewise.
15452 * manual/startup.texi: Likewise.
15453 * manual/stdio.texi: Likewise.
15454 * manual/terminal.texi: Likewise.
15455 (ONLCR): Document as POSIX.
15456 (OXTABS): Document availability on GNU/Linux as XTABS.
15457 (ONOEOT): Document availability separately from other bits.
15458 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15459 * manual/time.texi: Likewise.
15460 * manual/users.texi: Likewise.
15461 * INSTALL: Regenerated.
15462 * sysdeps/gnu/errlist.c: Regenerated.
15463
07037eeb
JM
15464 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15465 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15466 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15467 puts.
15468 * configure: Regenerated.
15469
d1d3431a
JM
154702012-03-07 Joseph Myers <joseph@codesourcery.com>
15471
af6a1e37
JM
15472 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15473 default includes instead of AC_HEADER_CHECK.
15474 * sysdeps/i386/configure: Regenerated.
15475
d1d3431a
JM
15476 [BZ #10716]
15477 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15478 * math/s_cacoshf.c (__cacoshf): Likewise.
15479 * math/s_cacoshl.c (__cacoshl): Likewise.
15480 * math/s_casinh.c (__casinh): Set signs of result from argument.
15481 * math/s_casinhf.c (__casinhf): Likewise.
15482 * math/s_casinhl.c (__casinhl): Likewise.
15483 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15484 (casinh_test): Add more tests.
15485 * sysdeps/i386/fpu/libm-test-ulps: Update.
15486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15487
482ff4da
UD
154882012-03-07 Ulrich Drepper <drepper@gmail.com>
15489
872fda05
UD
15490 * po/zh_TW.po: Update from translation team.
15491
a4300c7a
UD
15492 * login/Makefile (distribute): Remove variable.
15493 * catgets/Makefile: Likewise.
15494 * mach/Makefile: Likewise.
15495 * malloc/Makefile: Likewise.
15496 * misc/Makefile: Likewise.
15497 * iconv/Makefile: Likewise.
15498 * nscd/Makefile: Likewise.
15499 * hurd/Makefile: Likewise.
15500 * manual/Makefile: Likewise.
15501 * locale/Makefile: Likewise.
15502 * intl/Makefile: Likewise.
15503 * conform/Makefile: Likewise.
15504 * nss/Makefile: Likewise.
15505 * time/Makefile: Likewise.
15506 * soft-fp/Makefile: Likewise.
15507 * dirent/Makefile: Likewise.
15508 * gmon/Makefile: Likewise.
15509 * po/Makefile: Likewise.
15510 * rt/Makefile: Likewise.
15511 * socket/Makefile: Likewise.
15512 * math/Makefile: Likewise.
15513 * signal/Makefile: Likewise.
15514 * debug/Makefile: Likewise.
15515 * elf/Makefile: Likewise.
15516 * timezone/Makefile: Likewise.
15517 * stdlib/Makefile: Likewise.
15518 * iconvdata/Makefile: Likewise.
15519 * sunrpc/Makefile: Likewise.
15520 * io/Makefile: Likewise.
15521 * argp/Makefile: Likewise.
15522 * inet/Makefile: Likewise.
15523 * hesiod/Makefile: Likewise.
15524 * grp/Makefile: Likewise.
15525 * csu/Makefile: Likewise.
15526 * wctype/Makefile: Likewise.
15527 * crypt/Makefile: Likewise.
15528 * libio/Makefile: Likewise.
15529 * string/Makefile: Likewise.
15530 * nis/Makefile: Likewise.
15531 * resolv/Makefile: Likewise.
15532 * stdio-common/Makefile: Likewise.
15533 * wcsmbs/Makefile: Likewise.
15534 * dlfcn/Makefile: Likewise.
15535 * posix/Makefile: Likewise.
15536
3b7c4e74 15537 [BZ #6959]
482ff4da
UD
15538 * timezone/Makefile: Don't install timezone files, just the programs
15539 and scripts.
15540
f72ed77d
UD
155412012-03-06 Ulrich Drepper <drepper@gmail.com>
15542
a000466f
UD
15543 * nss/databases.def: Add missing gshadow entry.
15544
f72ed77d
UD
15545 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15546
a53b7a4e
MP
155472012-03-06 Marek Polacek <polacek@redhat.com>
15548
15549 [BZ #13726]
15550 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15551 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15552 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15553 * stdio-common/tst-long-dbl-fphex.c: New file.
15554
e9258400
DM
155552012-03-06 David S. Miller <davem@davemloft.net>
15556
15557 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15558 (set_obp_int): New function.
15559 (get_obp_int): New function.
15560 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15561 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15562 Avoid unused variable warnings on 'val' and use builtin_expect.
15563 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15564 __builtin_expect.
e9258400
DM
15565 (INLINE_CLONE_SYSCALL): Likewise.
15566
3bd2c723
DM
155672012-03-05 David S. Miller <davem@davemloft.net>
15568
15569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15570
bbb78d03
AS
155712012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15572
884c5db4
AS
15573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15574
bbb78d03
AS
15575 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15576 only for |x| >= 40.
15577 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15578
1c9f702a 155792012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15580
15581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15582 Replace gettimeofday with __vdso_gettimeofday.
15583
7be16f82
RM
15584 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15585 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15586 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15587
15588 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15589 time with __vdso_time.
15590
ed58a00f
JM
155912012-03-05 Joseph Myers <joseph@codesourcery.com>
15592
15593 * manual/lang.texi (size_t): Note types to which size_t may be
15594 equivalent with the GNU C Library, but do not describe when
15595 differences between them are significant.
15596
30ee4ced
AJ
155972012-03-05 Andreas Jaeger <aj@suse.de>
15598
15599 * sysdeps/i386/fpu/libm-test-ulps: Update.
15600
b7cd39e8
JM
156012012-03-05 Joseph Myers <joseph@codesourcery.com>
15602
15603 [BZ #3976]
15604 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15605 (__ieee754_pow): Save and restore rounding mode and use
15606 round-to-nearest for main computations.
15607 * math/libm-test.inc (pow_test_tonearest): New function.
15608 (pow_test_towardzero): Likewise.
15609 (pow_test_downward): Likewise.
15610 (pow_test_upward): Likewise.
15611 (main): Call the new functions.
15612 * sysdeps/i386/fpu/libm-test-ulps: Update.
15613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15614
15615 [BZ #3976]
15616 * math/libm-test.inc (cosh_test_tonearest): New function.
15617 (cosh_test_towardzero): Likewise.
15618 (cosh_test_downward): Likewise.
15619 (cosh_test_upward): Likewise.
15620 (sinh_test_tonearest): Likewise.
15621 (sinh_test_towardzero): Likewise.
15622 (sinh_test_downward): Likewise.
15623 (sinh_test_upward): Likewise.
15624 (main): Call the new functions.
15625 * sysdeps/i386/fpu/libm-test-ulps: Update.
15626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15627
6c6a98c9
TV
156282012-03-05 Tom de Vries <tom@codesourcery.com>
15629
15630 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15631 default stack guard is set in last bytes.
15632 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15633
21bb2d2e 156342012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15635
21bb2d2e 15636 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15637
21bb2d2e
AJ
15638 [BZ #13656]
15639 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15640 possibly allocate from heap instead of stack.
15641 * stdio-common/bug-vfprintf-nargs.c: New file.
15642 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15643
c6922934
AS
156442012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15645
15646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15647
bc957d53
MP
156482012-03-03 Marek Polacek <polacek@redhat.com>
15649
15650 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15651 * math/math_private.h: Likewise.
15652 * stdlib/tst-strtod.c: Likewise.
15653 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15654 * sysdeps/x86_64/bits/atomic.h: Likewise.
15655
6358490d
DM
156562012-03-02 David S. Miller <davem@davemloft.net>
15657
15658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15662 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15663 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15664 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15665 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15666
01ae168d
RM
156672012-03-02 Roland McGrath <roland@hack.frob.com>
15668
d9a17c07
RM
15669 [BZ #13792]
15670 * manual/examples/README: New file, says the example source files
15671 can be used under GPL>=2.
15672 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15673 line containing just "*/".
15674 * manual/examples/add.c: Add copyright header (GPL>=2).
15675 * manual/examples/argp-ex1.c: Likewise.
15676 * manual/examples/argp-ex2.c: Likewise.
15677 * manual/examples/argp-ex3.c: Likewise.
15678 * manual/examples/argp-ex4.c: Likewise.
15679 * manual/examples/atexit.c: Likewise.
15680 * manual/examples/db.c: Likewise.
15681 * manual/examples/dir.c: Likewise.
15682 * manual/examples/dir2.c: Likewise.
15683 * manual/examples/execinfo.c: Likewise.
15684 * manual/examples/filecli.c: Likewise.
15685 * manual/examples/filesrv.c: Likewise.
15686 * manual/examples/fmtmsgexpl.c: Likewise.
15687 * manual/examples/genpass.c: Likewise.
15688 * manual/examples/inetcli.c: Likewise.
15689 * manual/examples/inetsrv.c: Likewise.
15690 * manual/examples/isockad.c: Likewise.
15691 * manual/examples/longopt.c: Likewise.
15692 * manual/examples/memopen.c: Likewise.
15693 * manual/examples/memstrm.c: Likewise.
15694 * manual/examples/mkfsock.c: Likewise.
15695 * manual/examples/mkisock.c: Likewise.
15696 * manual/examples/mygetpass.c: Likewise.
15697 * manual/examples/pipe.c: Likewise.
15698 * manual/examples/popen.c: Likewise.
15699 * manual/examples/rprintf.c: Likewise.
15700 * manual/examples/search.c: Likewise.
15701 * manual/examples/select.c: Likewise.
15702 * manual/examples/setjmp.c: Likewise.
15703 * manual/examples/sigh1.c: Likewise.
15704 * manual/examples/sigusr.c: Likewise.
15705 * manual/examples/stpcpy.c: Likewise.
15706 * manual/examples/strdupa.c: Likewise.
15707 * manual/examples/strftim.c: Likewise.
15708 * manual/examples/strncat.c: Likewise.
15709 * manual/examples/subopt.c: Likewise.
15710 * manual/examples/swapcontext.c: Likewise.
15711 * manual/examples/termios.c: Likewise.
15712 * manual/examples/testopt.c: Likewise.
15713 * manual/examples/testpass.c: Likewise.
15714 * manual/examples/timeval_subtract.c: Likewise.
15715
01ae168d
RM
15716 [BZ #13792]
15717 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15718 function to ...
15719 * manual/timeval_subtract.c.texi: ... here, new file.
15720
49efa33d
DM
157212012-03-02 David S. Miller <davem@davemloft.net>
15722
15723 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15724
28afd92d
JM
157252012-03-02 Joseph Myers <joseph@codesourcery.com>
15726
804360ed
JM
15727 [BZ #3976]
15728 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15729 (__sin): Save and restore rounding mode and use round-to-nearest
15730 for all computations.
15731 (__cos): Save and restore rounding mode and use round-to-nearest
15732 for all computations.
15733 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15734 <fenv.h>.
15735 (tan): Save and restore rounding mode and use round-to-nearest for
15736 all computations.
15737 * math/libm-test.inc (cos_test_tonearest): New function.
15738 (cos_test_towardzero): Likewise.
15739 (cos_test_downward): Likewise.
15740 (cos_test_upward): Likewise.
15741 (sin_test_tonearest): Likewise.
15742 (sin_test_towardzero): Likewise.
15743 (sin_test_downward): Likewise.
15744 (sin_test_upward): Likewise.
15745 (tan_test_tonearest): Likewise.
15746 (tan_test_towardzero): Likewise.
15747 (tan_test_downward): Likewise.
15748 (tan_test_upward): Likewise.
15749 (main): Call the new functions.
15750 * sysdeps/i386/fpu/libm-test-ulps: Update.
15751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15752
a6d06d7b
JM
15753 [BZ #10135]
15754 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15755 small n, then large n, before computing and testing k+n.
15756 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15758 Likewise.
15759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15760 Likewise.
15761 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15762 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15763 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15764 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15765 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15766 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15767 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15768 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15769 * math/libm-test.inc (scalbn_test): Add more tests.
15770 (scalbln_test): Likewise.
15771
07e12bb3
JM
15772 * manual/filesys.texi (mode_t): Describe constraints on size and
15773 signedness, not exact equivalence to a particular type.
15774 (ino_t): Likewise.
15775 (ino64_t): Likewise.
15776 (dev_t): Likewise.
15777 (nlink_t): Likewise.
15778 (blkcnt_t): Likewise.
15779 (blkcnt64_t): Likewise.
15780 * manual/llio.texi (off_t): Likewise.
15781
28afd92d
JM
15782 [BZ #3976]
15783 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15784 (__ieee754_exp): Save and restore rounding mode and use
15785 round-to-nearest for all computations.
15786 * math/libm-test.inc (exp_test_tonearest): New function.
15787 (exp_test_towardzero): Likewise.
15788 (exp_test_downward): Likewise.
15789 (exp_test_upward): Likewise.
15790 (main): Call the new functions.
15791 * sysdeps/i386/fpu/libm-test-ulps: Update.
15792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15793
b1eeb65d
CD
157942012-03-01 Chris Demetriou <cgd@google.com>
15795
15796 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15797 have predictable order.
15798
53362a4b
DM
157992012-03-01 David S. Miller <davem@davemloft.net>
15800
3c969083
DM
15801 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15802
759707de
DM
15803 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15804 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15805 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15806 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15807
dfdb8ff2
DM
15808 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15809 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15810 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15812 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15813 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15814 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15815 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15816 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15817
ead89f96
DM
15818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15819
7f66bd07
DM
15820 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15821 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15822 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15823
53362a4b
DM
15824 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15825 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15826 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15827 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15828 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15829 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15830 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15831 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15832 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15833 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15834 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15835 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15837 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15838 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15839 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15840 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15841 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15842 * sysdeps/sparc/elf/configure: Regenerated.
15843
7b1902cb
JM
158442012-03-01 Joseph Myers <joseph@codesourcery.com>
15845
bec039bc
JM
15846 * configure.in (AS, LD): Require binutils 2.20 or later.
15847 * configure: Regenerated.
15848 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15849 as required minimum version.
15850 * INSTALL: Regenerated.
15851
7b1902cb
JM
15852 [BZ #2541]
15853 [BZ #4108]
15854 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15855 before squaring exponent.
15856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15857 bottom long double and 27 bits of top long double before squaring
15858 exponent.
15859 * math/libm-test.inc (erfc_test): Add more tests.
15860 * sysdeps/i386/fpu/libm-test-ulps: Update.
15861 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15863
f775c276
KT
158642012-03-01 Kai Tietz <ktietz@redhat.com>
15865
15866 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15867 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15868 containing bit-fields.
15869 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15870 * soft-fp/single.h (_FP_UNION_S): Likewise.
15871 * soft-fp/double.h (_FP_UNION_D): Likewise.
15872
5b8a4d4a
JM
158732012-02-29 Joseph Myers <joseph@codesourcery.com>
15874
0bab47b6
JM
15875 [BZ #13786]
15876 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15877 not include ../strcmp.S.
15878 [USE_AS_STRNCASECMP_L]: Likewise.
15879 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15880 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15881 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15882 (__strncasecmp_l_ia32): Define as alias to
15883 __strncasecmp_l_nonascii.
15884
0fcad3e2
JM
15885 [BZ #5794]
15886 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15887 * sysdeps/i386/fpu/libm-test-ulps: Update.
15888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15889
5b8a4d4a
JM
15890 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15892
8fdceb2e
JL
158932012-02-29 Jeff Law <law@redhat.com>
15894
15895 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15896 out of bounds read.
15897
1f393a11
MP
158982012-02-29 Marek Polacek <polacek@redhat.com>
15899
15900 [BZ #13706]
15901 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15902 * elf/Makefile: Add rules to run tst-unused-dep.out.
15903
8847f037
DM
159042012-02-28 David S. Miller <davem@davemloft.net>
15905
15906 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15907 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15908 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15909 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15910 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15911 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15912
169d7f11
JM
159132012-02-29 Joseph Myers <joseph@codesourcery.com>
15914
15915 * math/libm-test.inc (llround_test): Move one test from
15916 lround_test. Use TEST_f_L in moved test.
15917 (lround_test): Move misplaced test to llround_test. Add testcase
15918 from bug 2561.
15919
39adf059
UD
159202012-02-28 Ulrich Drepper <drepper@gmail.com>
15921
15922 * sysdeps/x86_64/fpu/e_expf.S: New file.
15923 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15924
71b5d1c5
SB
159252012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15926
15927 [BZ #13637]
15928 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15929 of remain_len that may cause incomplete multi-byte character and
15930 false match.
15931 * posix/bug-regex33.c: New file.
15932 * posix/Makefile (tests): Add bug-regex33.
15933
1f77f049
JM
159342012-02-28 Joseph Myers <joseph@codesourcery.com>
15935
15936 * manual/macros.texi: New file.
15937 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15938 * manual/libc.texinfo: Include macros.texi.
15939 * manual/creatute.texi: Likewise.
15940 * manual/install.texi: Likewise.
15941 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15942 @glibcadj{} in references to the GNU C Library.
15943 * manual/charset.texi: Likewise.
15944 * manual/conf.texi: Likewise.
15945 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15946 when not using those macros.
15947 * manual/creature.texi: Likewise.
15948 * manual/crypt.texi: Likewise.
15949 * manual/errno.texi: Likewise.
15950 * manual/filesys.texi: Likewise.
15951 * manual/header.texi: Likewise.
15952 * manual/install.texi: Likewise.
15953 * manual/intro.texi: Likewise.
15954 * manual/io.texi: Likewise.
15955 * manual/job.texi: Likewise.
15956 * manual/lang.texi: Likewise.
15957 * manual/libc.texiinfo: Likewise.
15958 * manual/llio.texi: Likewise.
15959 * manual/locale.texi: Likewise.
15960 * manual/maint.texi: Likewise.
15961 * manual/math.texi: Likewise.
15962 * manual/memory.texi: Likewise.
15963 * manual/message.texi: Likewise.
15964 * manual/nss.texi: Likewise.
15965 * manual/pattern.texi: Likewise.
15966 * manual/process.texi: Likewise.
15967 * manual/resource.texi: Likewise.
15968 * manual/search.texi: Likewise.
15969 * manual/setjmp.texi: Likewise.
15970 * manual/signal.texi: Likewise.
15971 * manual/socket.texi: Likewise.
15972 * manual/startup.texi: Likewise.
15973 * manual/stdio.texi: Likewise.
15974 * manual/string.texi: Likewise.
15975 * manual/sysinfo.texi: Likewise.
15976 * manual/syslog.texi: Likewise.
15977 * manual/terminal.texi: Likewise.
15978 * manual/time.texi: Likewise.
15979 * manual/users.texi: Likewise.
15980 * INSTALL: Regenerated.
15981 * NOTES: Regenerated.
d40c5d54 15982 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15983
450bf206
AS
159842012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15985
15986 * include/dirent.h: Include <dirstream.h> before
15987 <dirent/dirent.h>.
15988
741a235b
DM
159892012-02-28 David S. Miller <davem@davemloft.net>
15990
15991 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15992 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15993 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15994 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15995
d6b5aa58
DM
159962012-02-27 David S. Miller <davem@davemloft.net>
15997
1aff59a3
DM
15998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
16000 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
16001 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
16002
d6b5aa58
DM
16003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
16004 frame pointer instead of stack pointer relative arg slot.
16005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16006 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16007 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16008
433f48bf
CD
160092012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
16010
16011 [BZ #3992]
16012 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
16013
d674b76d
DM
160142012-02-27 David S. Miller <davem@davemloft.net>
16015
16016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
16017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
16018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16020 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16021 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16022 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16023 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16024
0e7727f7
JM
160252012-02-27 Joseph Myers <joseph@codesourcery.com>
16026
16027 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16028 later. Allow versions 5-9.
43be4ca2 16029 * configure: Regenerated.
0e7727f7
JM
16030 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16031 required minimum version and 4.6 as recommended version. Do not
16032 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16033 * INSTALL: Regenerated.
0e7727f7 16034
a78bc654
DM
160352012-02-27 David S. Miller <davem@davemloft.net>
16036
428d5830
DM
16037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16039 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16041 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16042 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16043 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16044 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16045
a78bc654
DM
16046 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16047 manipulate bits before adding and subtracting TWO112[sx].
16048 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16049
4579f81c
RM
160502012-02-27 Roland McGrath <roland@hack.frob.com>
16051
36c8acb4
RM
16052 [BZ #13775]
16053 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16054 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16055 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16056 being in POSIX, because they are in 1003.1-2008.
16057
84ad622b
RM
16058 * rt/tst-aio.c: Include <fcntl.h>.
16059 * rt/tst-aio7.c: Likewise.
16060 * rt/tst-aio64.c: Likewise.
16061
4579f81c
RM
16062 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16063
abd923db
JM
160642012-02-27 Joseph Myers <joseph@codesourcery.com>
16065
16066 * manual/install.texi (--with-headers): Describe headers as
16067 interface headers, not private headers.
16068 (Specific advice for GNU/Linux systems): Describe use of headers
16069 from "make headers_install", not private headers from older
16070 kernels.
43be4ca2 16071 * INSTALL: Regenerated.
abd923db
JM
16072 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16073 Change to 2.6.19.
16074 * sysdeps/unix/sysv/linux/configure: Regenerated.
16075
6664049b
JM
16076 * manual/llio.texi (fclean): Remove documentation.
16077
bb8b6697
JM
16078 * manual/Makefile (libc-texi-generated): New variable. Include
16079 version.texi.
16080 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16081 $(libc-texi-generated), not duplicated list of files.
16082 (version.texi, stamp-version): New rules.
16083 (realclean): Remove $(libc-texi-generated), not individual files
16084 from that list. Do not remove dir-add.texinfo.
16085 * manual/libc.texinfo: Comment out uses of edition numbers and
16086 references to printed manual. Remove last-updated dates.
16087 (EDITION): Comment out.
16088 (ISBN): Likewise.
16089 (VERSION, UPDATED): Remove.
16090 (version.texi): Include.
16091
12e5c3b9
AS
160922012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16093
16094 * sysdeps/posix/spawni.c: Include <signal.h>.
16095 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16096 * sysdeps/pthread/aio_fsync.c: Likewise.
16097
4efeffc1 160982012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16099
ba63ba08
UD
16100 * conform/Makefile (tests): Run only when not cross-compiling and
16101 when fast-check is not defined.
16102
d94a4670
UD
16103 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16104 * conform/data/limits.h-data: Fixes for POSIX2008.
16105 * conform/run-conformtest.sh: Run all tests.
16106 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16107 headers.
16108 * include/bits/dlfcn.h: Likewise.
16109 * include/langinfo.h: Likewise.
16110 * include/monetary.h: Likewise.
16111 * include/sys/poll.h: Likewise.
16112
16113 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16114 for __USE_GNU.
16115 * posix/spawn.h: Define __need_sigset_t.
16116 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16117 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16118 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16119 to get sigevent_t only.
16120 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16121 only for __USE_GNU.
16122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16123 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16124 process_vm_writev only for __USE_GNU.
16125 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16126
16127 * conform/Makefile: For now ignore errors from run-conformtest.
16128 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16129 POSIX to avoid namespace pollution. Don't prepend headers.
16130 * conform/data/aio.h-data: Fixes for POSIX testing.
16131 * conform/data/fcntl.h-data: Likewise.
16132 * conform/data/glob.h-data: Likewise.
16133 * conform/data/grp.h-data: Likewise.
16134 * conform/data/pthread.h-data: Likewise.
16135 * conform/data/pwd.h-data: Likewise.
16136 * conform/data/signal.h-data: Likewise.
16137 * conform/data/spawn.h-data: Likewise.
16138 * conform/data/stdio.h-data: Likewise.
16139 * conform/data/stdlib.h-data: Likewise.
16140 * conform/data/stropts.h-data: Likewise.
16141 * conform/data/sys/mman.h-data: Likewise.
16142 * conform/data/sys/stat.h-data: Likewise.
16143 * conform/data/sys/types.h-data: Likewise.
16144 * conform/data/sys/wait.h-data: Likewise.
16145 * conform/data/time.h-data: Likewise.
16146 * conform/data/unistd.h-data: Likewise.
16147 * conform/data/utime.h-data: Likewise.
16148
16149 * io/sys/stat.h: fchmod was always in POSIX.
16150 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16151 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16152 * rt/aio.h: Define __need_timespec before including <time.h>.
16153 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16154 struct. Add forward declaration of pthread_attr_t and use it in
16155 sigevent.
16156 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16157 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16158 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16159 always remove CLK_TCK definition.
16160
c20105c3
AS
161612012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16162
16163 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16164
7a270350
UD
161652012-02-25 Ulrich Drepper <drepper@gmail.com>
16166
31341567
UD
16167 * conform/run-conformtest.sh: New file.
16168 * conform/Makefile: Run run-conformtest for tests.
16169 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16170 support.
16171
16172 * conform/data/uchar.h-data: New file.
16173 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16174 * conform/data/arpa/inet.h-data: Likewise.
16175 * conform/data/assert.h-data: Likewise.
16176 * conform/data/complex.h-data: Likewise.
16177 * conform/data/cpio.h-data: Likewise.
16178 * conform/data/ctype.h-data: Likewise.
16179 * conform/data/dirent.h-data: Likewise.
16180 * conform/data/dlfcn.h-data: Likewise.
16181 * conform/data/errno.h-data: Likewise.
16182 * conform/data/fcntl.h-data: Likewise.
16183 * conform/data/float.h-data: Likewise.
16184 * conform/data/fmtmsg.h-data: Likewise.
16185 * conform/data/fnmatch.h-data: Likewise.
16186 * conform/data/ftw.h-data: Likewise.
16187 * conform/data/glob.h-data: Likewise.
16188 * conform/data/grp.h-data: Likewise.
16189 * conform/data/iconv.h-data: Likewise.
16190 * conform/data/inttypes.h-data: Likewise.
16191 * conform/data/langinfo.h-data: Likewise.
16192 * conform/data/libgen.h-data: Likewise.
16193 * conform/data/limits.h-data: Likewise.
16194 * conform/data/locale.h-data: Likewise.
16195 * conform/data/math.h-data: Likewise.
16196 * conform/data/monetary.h-data: Likewise.
16197 * conform/data/mqueue.h-data: Likewise.
16198 * conform/data/ndbm.h-data: Likewise.
16199 * conform/data/net/if.h-data: Likewise.
16200 * conform/data/netdb.h-data: Likewise.
16201 * conform/data/netinet/in.h-data: Likewise.
16202 * conform/data/nl_types.h-data: Likewise.
16203 * conform/data/poll.h-data: Likewise.
16204 * conform/data/pthread.h-data: Likewise.
16205 * conform/data/pwd.h-data: Likewise.
16206 * conform/data/regex.h-data: Likewise.
16207 * conform/data/sched.h-data: Likewise.
16208 * conform/data/search.h-data: Likewise.
16209 * conform/data/semaphore.h-data: Likewise.
16210 * conform/data/setjmp.h-data: Likewise.
16211 * conform/data/signal.h-data: Likewise.
16212 * conform/data/spawn.h-data: Likewise.
16213 * conform/data/stdarg.h-data: Likewise.
16214 * conform/data/stdio.h-data: Likewise.
16215 * conform/data/stdlib.h-data: Likewise.
16216 * conform/data/string.h-data: Likewise.
16217 * conform/data/strings.h-data: Likewise.
16218 * conform/data/stropts.h-data: Likewise.
16219 * conform/data/sys/ipc.h-data: Likewise.
16220 * conform/data/sys/mman.h-data: Likewise.
16221 * conform/data/sys/msg.h-data: Likewise.
16222 * conform/data/sys/resource.h-data: Likewise.
16223 * conform/data/sys/select.h-data: Likewise.
16224 * conform/data/sys/sem.h-data: Likewise.
16225 * conform/data/sys/shm.h-data: Likewise.
16226 * conform/data/sys/socket.h-data: Likewise.
16227 * conform/data/sys/stat.h-data: Likewise.
16228 * conform/data/sys/statvfs.h-data: Likewise.
16229 * conform/data/sys/time.h-data: Likewise.
16230 * conform/data/sys/timeb.h-data: Likewise.
16231 * conform/data/sys/times.h-data: Likewise.
16232 * conform/data/sys/types.h-data: Likewise.
16233 * conform/data/sys/uio.h-data: Likewise.
16234 * conform/data/sys/un.h-data: Likewise.
16235 * conform/data/sys/utsname.h-data: Likewise.
16236 * conform/data/sys/wait.h-data: Likewise.
16237 * conform/data/syslog.h-data: Likewise.
16238 * conform/data/tar.h-data: Likewise.
16239 * conform/data/termios.h-data: Likewise.
16240 * conform/data/utime.h-data: Likewise.
16241 * conform/data/utmpx.h-data: Likewise.
16242 * conform/data/varargs.h-data: Likewise.
16243 * conform/data/wchar.h-data: Likewise.
16244 * conform/data/wctype.h-data: Likewise.
16245 * conform/data/wordexp.h-data: Likewise.
16246
16247 * include/stropts.h: New file.
16248 * include/uchar.h: New file.
16249 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16250 * include/assert.h: Likewise.
16251 * include/ctype.h: Likewise.
16252 * include/dirent.h: Likewise.
16253 * include/dlfcn.h: Likewise.
16254 * include/fcntl.h: Likewise.
16255 * include/fnmatch.h: Likewise.
16256 * include/glob.h: Likewise.
16257 * include/grp.h: Likewise.
16258 * include/libio.h: Likewise.
16259 * include/locale.h: Likewise.
16260 * include/math.h: Likewise.
16261 * include/net/if.h: Likewise.
16262 * include/netdb.h: Likewise.
16263 * include/netinet/in.h: Likewise.
16264 * include/pthread.h: Likewise.
16265 * include/pwd.h: Likewise.
16266 * include/regex.h: Likewise.
16267 * include/sched.h: Likewise.
16268 * include/search.h: Likewise.
16269 * include/setjmp.h: Likewise.
16270 * include/signal.h: Likewise.
16271 * include/stdio.h: Likewise.
16272 * include/stdlib.h: Likewise.
16273 * include/string.h: Likewise.
16274 * include/sys/cdefs.h: Likewise.
16275 * include/sys/mman.h: Likewise.
16276 * include/sys/msg.h: Likewise.
16277 * include/sys/resource.h: Likewise.
16278 * include/sys/select.h: Likewise.
16279 * include/sys/socket.h: Likewise.
16280 * include/sys/stat.h: Likewise.
16281 * include/sys/statvfs.h: Likewise.
16282 * include/sys/time.h: Likewise.
16283 * include/sys/times.h: Likewise.
16284 * include/sys/uio.h: Likewise.
16285 * include/sys/utsname.h: Likewise.
16286 * include/sys/wait.h: Likewise.
16287 * include/termios.h: Likewise.
16288 * include/time.h: Likewise.
16289 * include/ulimit.h: Likewise.
16290 * include/unistd.h: Likewise.
16291 * include/utime.h: Likewise.
16292 * include/wchar.h: Likewise.
16293 * include/wctype.h: Likewise.
16294 * include/wordexp.h: Likewise.
16295
16296 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16297
7a270350
UD
16298 * time/time.h: TIME_UTC must be a macro.
16299 Make timespec_get available for ISO C11 only as well.
16300
7724defc
UD
163012012-02-24 Ulrich Drepper <drepper@gmail.com>
16302
16303 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16304 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16305
6b1d1d46
JM
163062012-02-24 Joseph Myers <joseph@codesourcery.com>
16307
16308 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16309
0f8bbd69
JM
163102012-02-24 Joseph Myers <joseph@codesourcery.com>
16311
16312 * manual/texinfo.tex: Update to version 2012-01-19.16.
16313
66ab80bc
JM
163142012-02-24 Joseph Myers <joseph@codesourcery.com>
16315
16316 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16317
74981cc5
RM
163182012-02-24 Roland McGrath <roland@hack.frob.com>
16319
ee968201
RM
16320 [BZ #13738]
16321 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16322 * manual/fdl-1.3.texi: New file.
16323 * manual/fdl-1.1.texi: File removed.
16324
74981cc5
RM
16325 [BZ #13738]
16326 * manual/libc.texinfo (FDL_VERSION): New @set.
16327 Use it for mention of FDL in cover text.
16328 (Documentation License): Use it in @include file name.
16329
7bb764bc
JM
163302012-02-22 Joseph Myers <joseph@codesourcery.com>
16331 Roland McGrath <roland@hack.frob.com>
16332
16333 [BZ #5461]
16334 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16335 not LONG_LONG_MAX and LONG_LONG_MIN.
16336 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16337 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16338 name.
16339 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16340
6cbeae47
JM
163412012-02-22 Joseph Myers <joseph@codesourcery.com>
16342
16343 [BZ #2547]
16344 [BZ #11365]
16345 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16346 manipulate bits before adding and subtracting TWO23[sx].
16347 * math/libm-test.inc (nearbyint_test): Add more tests.
16348
fe45ce09
JM
163492012-02-22 Joseph Myers <joseph@codesourcery.com>
16350
16351 [BZ #2548]
16352 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16353 bits before adding and subtracting TWO23[sx].
16354 * math/libm-test.inc (rint_test): Add more tests.
16355 (rint_test_tonearest): Likewise.
16356 (rint_test_towardzero): Likewise.
16357 (rint_test_downward): Likewise.
16358 (rint_test_upward: Likewise.
16359
ff3b3d82
JM
163602012-02-22 Joseph Myers <joseph@codesourcery.com>
16361
16362 [BZ #10110]
16363 * include/stdc-predef.h: New file. Extracted from features.h.
16364 * include/features.h: Include stdc-predef.h.
16365 * Makefile (headers): Add stdc-predef.h.
16366 * CONFORMANCE (Compiler limitations): Update.
16367
ef0aab35
JM
163682012-02-22 Joseph Myers <joseph@codesourcery.com>
16369
16370 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16371
58639409
DM
163722012-02-21 David S. Miller <davem@davemloft.net>
16373
16374 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16375 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16376
c0e70b25
DM
163772012-02-20 David S. Miller <davem@davemloft.net>
16378
16379 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16380 using a normal save/restore sequence, rather than allocating a
16381 dummy stack frame just to store a frame pointer and restore.
16382 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16383
fb06851d
JM
163842012-02-21 Joseph Myers <joseph@codesourcery.com>
16385
16386 * manual/install.texi: Fix stray word in line-wrapped comment.
16387
7a8b71c3
DM
163882012-02-20 David S. Miller <davem@davemloft.net>
16389
d510c123
DM
16390 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16391 both binutils and gcc support GOTDATA.
16392
0722d7c2
DM
16393 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16394 "rd %pc" in the PIC register setup sequences.
16395
3d2b3019
DM
16396 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16397 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16398 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16399 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16400 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16402 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16403 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16404 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16405 (SYSCALL_ERROR_HANDLER): Likewise.
16406 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16407 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16408 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16409 (SYSCALL_ERROR_HANDLER): Likewise.
16410
c80098a9
DM
16411 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16412 (HAVE_GCC_GOTDATA): New.
16413 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16414 relocation support in both binutils and gcc.
16415 * sysdeps/sparc/elf/configure: Regenerate.
16416
3a2545a0
DM
16417 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16418 * sysdeps/sparc/sparc32/elf/configure: Delete.
16419 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16420 * sysdeps/sparc/sparc64/elf/configure: Delete.
16421 * sysdeps/sparc/elf/configure.in: New file.
16422 * sysdeps/sparc/elf/configure: Generate.
16423
7a8b71c3
DM
16424 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16425 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16426 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16427 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16428 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16429
f1e86fca
JM
164302012-02-21 Joseph Myers <joseph@codesourcery.com>
16431
16432 * manual/install.texi: Do not mention specific glibc version
16433 numbers.
16434 * manual/libc.texinfo (VERSION, UPDATED): Update.
16435 (@copying): Use @copyright{} and range of years.
16436
0e7dfaef
JM
164372012-02-21 Joseph Myers <joseph@codesourcery.com>
16438
16439 [BZ #13695]
16440 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16441 [crti.S not in sysdirs] (generated): Do not append.
16442 [crti.S not in sysdirs] (omit-deps): Likewise.
16443 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16444 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16445 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16446 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16447 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16448 Likewise.
16449 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16450 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16451 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16452 * csu/defs.awk: Remove file.
16453 * sysdeps/generic/initfini.c: Likewise.
16454 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16455 variable.
16456 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16457 Likewise.
16458
599af3ca
JM
164592012-02-20 Joseph Myers <joseph@codesourcery.com>
16460
16461 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16462 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16463 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16464 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16465 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16466 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16467 <bits/epoll.h>.
16468 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16469 (__EPOLL_PACKED): Define to empty if not defined by
16470 <bits/epoll.h>.
16471 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16472 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16473 bits/epoll.h.
16474
0e499750
JM
164752012-02-20 Joseph Myers <joseph@codesourcery.com>
16476
16477 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16478 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16479 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16480 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16481 <bits/timerfd.h>.
16482 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16484 bits/timerfd.h.
16485
5ad91f6e
JM
164862012-02-20 Joseph Myers <joseph@codesourcery.com>
16487
16488 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16489 in C locale.
16490 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16491 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16492 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16494
06b99b02
AJ
164952012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16496
16497 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16498 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16499
7638c0fd
AS
165002012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16501
16502 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16503 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16504 defined.
16505 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16506 Likewise.
16507 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16508 entry for 2.16.
16509
92221550
AJ
165102012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16511
16512 * math/w_acos.c: Use non-signaling floating-point comparisons.
16513 * math/w_acosf.c: Likewise.
16514 * math/w_acosh.c: Likewise.
16515 * math/w_acoshf.c: Likewise.
16516 * math/w_acoshl.c: Likewise.
16517 * math/w_acosl.c: Likewise.
16518 * math/w_asin.c: Likewise.
16519 * math/w_asinf.c: Likewise.
16520 * math/w_asinl.c: Likewise.
16521 * math/w_atanh.c: Likewise.
16522 * math/w_atanhf.c: Likewise.
16523 * math/w_atanhl.c: Likewise.
16524 * math/w_exp2.c: Likewise.
16525 * math/w_exp2f.c: Likewise.
16526 * math/w_exp2l.c: Likewise.
16527 * math/w_j0.c: Likewise.
16528 * math/w_j0f.c: Likewise.
16529 * math/w_j0l.c: Likewise.
16530 * math/w_j1.c: Likewise.
16531 * math/w_j1f.c: Likewise.
16532 * math/w_j1l.c: Likewise.
16533 * math/w_jn.c: Likewise.
16534 * math/w_jnf.c: Likewise.
16535 * math/w_log.c: Likewise.
16536 * math/w_log10.c: Likewise.
16537 * math/w_log10f.c: Likewise.
16538 * math/w_log10l.c: Likewise.
16539 * math/w_log2.c: Likewise.
16540 * math/w_log2f.c: Likewise.
16541 * math/w_log2l.c: Likewise.
16542 * math/w_logf.c: Likewise.
16543 * math/w_logl.c: Likewise.
16544 * math/w_sqrt.c: Likewise.
16545 * math/w_sqrtf.c: Likewise.
16546 * math/w_sqrtl.c: Likewise.
16547 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16548 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16549 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16550 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16551 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16552
ebaf36eb
JM
165532012-02-19 Joseph Myers <joseph@codesourcery.com>
16554
16555 [BZ #9739]
16556 * manual/string.texi (strnlen): Use correct parameter name in
16557 equivalent expression.
16558
71c254a6
JM
165592012-02-19 Joseph Myers <joseph@codesourcery.com>
16560
16561 [BZ #11174]
16562 * manual/users.texi (seteuid): Consistently use neweuid for
16563 argument name.
16564
16d2c631
JM
165652012-02-19 Joseph Myers <joseph@codesourcery.com>
16566
16567 [BZ #13704]
16568 * manual/nss.texi (Services in the NSS configuration): Correct
16569 list of services in example configuration file.
16570
cd837b09
NB
165712012-02-19 Nick Bowler <nbowler@draconx.ca>
16572
16573 [BZ #11322]
16574 * manual/arith.texi: Remove statements about negative zero
16575 behaving identically to zero.
16576
02c4bbad
JM
165772012-02-18 Joseph Myers <joseph@codesourcery.com>
16578
16579 [BZ #5993]
16580 * manual/install.texi: Do not document upgrading from libc5.
16581
366842e7
JM
165822012-02-18 Joseph Myers <joseph@codesourcery.com>
16583
16584 [BZ #4596]
16585 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16586
dd54084d
DM
165872012-02-18 David S. Miller <davem@davemloft.net>
16588
16589 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16590 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16591 %o7 across the call.
16592 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16593 instead.
16594 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16595 SETUP_PIC_REG_LEAF.
16596 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16597 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16598 * sysdeps/sparc/crtn.S: Likewise.
16599
2bcc53a3
UD
166002012-02-17 Ulrich Drepper <drepper@gmail.com>
16601
16602 * aout/Makefile: Remove.
16603
09c093b5
RK
166042012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16605
16606 [BZ #13058]
16607 * manual/examples/argp-ex1.c (main): Format definition in GNU
16608 style.
16609 * manual/examples/argp-ex2.c (main): Likewise.
16610 * manual/examples/argp-ex3.c (main): Likewise.
16611 * manual/examples/argp-ex4.c (main): Likewise.
16612 * manual/examples/longopt.c (main): Use new-style prototype
16613 definition.
16614 * manual/examples/strncat.c (main): Specify return type and use
16615 (void) for arguments.
16616 * manual/examples/subopt.c (main): Use char **argv argument.
16617
2ee633a2
JM
166182012-02-17 Joseph Myers <joseph@codesourcery.com>
16619
16620 [BZ #5077]
16621 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16622 rounding modes.
16623
0520adde
FB
166242012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16625
16626 [BZ #6907]
16627 * manual/string.texi (strchr): Change when strchrnul is
16628 recommended.
16629
3f4081cd
DGM
166302012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16631
16632 [BZ #174]
16633 * manual/locale.texi (setlocale): Document LOCPATH.
16634
d1b10e78
JM
166352012-02-17 Joseph Myers <joseph@codesourcery.com>
16636
16637 [BZ #10210]
16638 * manual/process.texi (execle): Move @dots{} before last argument.
16639
79c6869c
PB
166402012-02-17 Paul Bolle <pebolle@tiscali.nl>
16641
16642 [BZ #12047]
16643 * manual/charset.texi (Generic Charset Conversion): Fix typo
16644 (LC_TYPE -> LC_CTYPE).
16645
cc6e48bc
NB
166462012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16647
16648 [BZ #5805]
16649 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16650 (scalbnf): Likewise.
16651 (scalbnl): Likewise.
16652 (scalbln): Likewise.
16653 (scalblnf): Likewise.
16654 (scalblnl): Likewise.
16655 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16656 (vwarnx): Likewise.
16657 (verr): Likewise.
16658 (verrx): Likewise.
16659 * manual/filesys.texi (telldir): Use braces around return type.
16660 * manual/llio.texi (mmap): Add space after comma.
16661 (mmap64): Likewise.
16662 * manual/math.texi (jn): Use @var{} on parameter names.
16663 (jnf): Likewise.
16664 (jnl): Likewise.
16665 (yn): Likewise.
16666 (ynf): Likewise.
16667 (ynl): Likewise.
16668 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16669 line.
16670 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16671 "...".
16672 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16673 (sched_get_priority_max): Likewise.
16674 * manual/signal.texi (sigvec): Add space after comma.
16675 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16676 names.
16677 (if_indextoname): Likewise.
16678 (if_freenameindex): Likewise.
16679 (sendto): Use ',' instead of '.' in prototype.
16680 * manual/startup.texi (syscall): Use @dots{} instead of literal
16681 "...".
16682 * manual/stdio.texi (__fpending): Separate initial words of
16683 paragraph from @deftypefun line.
16684 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16685 "...".
16686 (vsyslog): Use @var{} on parameter names.
16687 * manual/terminal.texi (stty): Use @var{} on parameter names.
16688 * manual/users.texi (getutmp): Use @var{} on parameter names.
16689 (getutmpx): Likewise.
16690
5b23062f
JM
166912012-02-17 Joseph Myers <joseph@codesourcery.com>
16692
16693 [BZ #6884]
16694 * manual/stdio.texi (fopen): Fix typos in description of
16695 ",ccs=STRING".
16696
8dee4833
AJ
166972012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16698
16699 [BZ #4026]
16700 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16701 get clock_id definition.
16702
9078ce93
TS
167032012-02-17 Thomas Schwinge <thomas@schwinge.name>
16704
16705 [BZ #4822]
16706 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16707 (madvise): Cast every argument to void on its own.
16708
3835c55f
JM
167092012-02-17 Joseph Myers <joseph@codesourcery.com>
16710
16711 [BZ #9902]
16712 * manual/startup.texi (Exit Status): Fix typo.
16713
35c47e37
JM
167142012-02-17 Joseph Myers <joseph@codesourcery.com>
16715
16716 [BZ #10140]
16717 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16718 * manual/examples/argp-ex2.c: Likewise.
16719 * manual/examples/argp-ex3.c: Likewise.
16720
e3b69ca7
RH
167212012-02-16 Richard Henderson <rth@redhat.com>
16722
16723 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16724 * sysdeps/s390/s390-32/initfini.c: Remove.
16725 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16726 * sysdeps/s390/s390-64/initfini.c: Remove.
16727
df83af67
KK
167282012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16729
16730 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16731 compiler output for sysdeps/generic/initfini.c.
16732 * sysdeps/sh/elf/initfini.c: Remove file.
16733
f63f3380
DM
167342012-02-16 David S. Miller <davem@davemloft.net>
16735
fb59b3a4
DM
16736 [BZ #11494]
16737 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16738
f63f3380
DM
16739 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16740 * sysdeps/sparc/crti.S: New file.
16741 * sysdeps/sparc/crtn.S: New file.
16742 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16743 * sysdeps/sparc/sparc64/Makefile: Likewise.
16744
df6a4a4a
MF
167452012-02-15 Mike Frysinger <vapier@gentoo.org>
16746
6dd8f3dc 16747 [BZ #3335]
df6a4a4a
MF
16748 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16749
1cac7236
RM
167502012-02-15 Roland McGrath <roland@hack.frob.com>
16751
d2c736f8
RM
16752 [BZ #4822]
16753 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16754
1cac7236
RM
16755 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16756 (write, read, close): Likewise.
16757 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16758
8e475601
JM
167592012-02-15 Joseph Myers <joseph@codesourcery.com>
16760
16761 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16762 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16763 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16764 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16765 <bits/signalfd.h>.
16766 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16768 bits/signalfd.h.
16769
ed656b40
MP
167702012-02-14 Marek Polacek <polacek@redhat.com>
16771
16772 * sysdeps/x86_64/crti.S: New file.
16773 * sysdeps/x86_64/crtn.S: New file.
16774 * sysdeps/x86_64/elf/initfini.c: Remove file.
16775
2a979d3a
JM
167762012-02-13 Joseph Myers <joseph@codesourcery.com>
16777
16778 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16779 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16780 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16781 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16782 <bits/inotify.h>.
16783 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16785 bits/inotify.h.
16786
2a418ac3
JM
167872012-02-13 Joseph Myers <joseph@codesourcery.com>
16788
16789 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16790 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16791 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16792 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16793 <bits/eventfd.h>.
16794 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16796 bits/eventfd.h.
16797
fb779be7
TS
167982012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16799
e19e83c5
RM
16800 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16801 __feraiseexcept instead of feraiseexcept.
7c35ffed 16802
fb779be7
TS
16803 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16804 nanosleep invocations.
16805 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16806 strings, and add error checking for a nanosleep invocations.
16807
59ba27a6
PE
168082012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16809
16810 Replace FSF snail mail address with URLs, as per GNU coding standards.
16811 Most of the snail mail addresses were wrong anyway, and omitting
16812 them makes the source code easier to maintain. Almost all of the
16813 changes are to license notices and to locale LC_IDENTIFICATION
16814 addresses, except for this one:
16815 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16816 not its snail mail address.
16817
57b957eb
RH
168182012-02-09 Richard Henderson <rth@twiddle.net>
16819
af850b1c
RH
16820 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16821 of kernel-features.h.
16822
57b957eb
RH
16823 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16824
6b73181a
MP
168252012-02-08 Marek Polacek <polacek@redhat.com>
16826
16827 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16828 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16829 * sysdeps/gnu/_G_config.h: Likewise.
16830 * sysdeps/generic/_G_config.h: Likewise.
16831
26ecc33a
AS
168322012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16833
6c6dbc63
AS
16834 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16835 tests.
16836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16837
e216c012
AS
16838 * sysdeps/powerpc/powerpc32/crti.S: New file.
16839 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16840 * sysdeps/powerpc/powerpc64/crti.S: New file.
16841 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16842
26ecc33a
AS
16843 * Makeconfig (have-initfini): Don't set.
16844 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16845 * configure.in (nopic_initfini): Don't substitute.
16846 * config.h.in (HAVE_INITFINI): Don't #undef.
16847 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16848 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16849
3add8e13
JM
168502012-02-08 Joseph Myers <joseph@codesourcery.com>
16851
16852 Support crti.S and crtn.S provided directly by architectures.
16853 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16854 [crti.S in sysdirs] (omit-deps): Likewise.
16855 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16856 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16857 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16858 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16859 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16860 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16861 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16862 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16863 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16864 compiler output for sysdeps/generic/initfini.c.
16865 * sysdeps/i386/elf/Makefile: Remove file.
16866 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16867
a22f12b4
MP
168682012-02-07 Marek Polacek <polacek@redhat.com>
16869
16870 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16871 * sysdeps/gnu/_G_config.h: Likewise.
16872 * sysdeps/mach/hurd/_G_config.h: Likewise.
16873
148cf100
MP
168742012-02-07 Marek Polacek <polacek@redhat.com>
16875
16876 * math/Makefile (tests): Add tst-CMPLX2.
16877 * math/tst-CMPLX2.c: New file.
16878
cfdc0dd7
AS
168792012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16880
84ba42c4
AS
16881 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16882
cfdc0dd7
AS
16883 * math/libm-test.inc (jn_test): Add missing L suffix.
16884
622c86f4
MP
168852012-02-06 Marek Polacek <polacek@redhat.com>
16886
16887 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16888 * sysdeps/i386/fpu/e_powf.S: Likewise.
16889 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16890 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16891 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16892 * sysdeps/i386/fpu/e_pow.S: Likewise.
16893 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16894 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16895 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16896 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16897 * sysdeps/i386/fpu/e_log2.S: Likewise.
16898 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16899 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16900 * sysdeps/i386/fpu/e_powl.S: Likewise.
16901 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16902 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16903 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16904 * sysdeps/i386/fpu/e_logl.S: Likewise.
16905 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16906 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16907 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16908 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16909 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16910 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16911 * sysdeps/i386/fpu/e_log.S: Likewise.
16912 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16913 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16914 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16915 * sysdeps/i386/fpu/e_logf.S: Likewise.
16916 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16917 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16918 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16919 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16920 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16921 * sysdeps/i386/fpu/e_log10.S: Likewise.
16922 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16923 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16924 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16925 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16926 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16927 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16928 * sysdeps/i386/asm-syntax.h: Likewise.
16929 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16930 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16931 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16932 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16933 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16934 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16935 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16936 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16937 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16938 * sysdeps/powerpc/sysdep.h: Likewise.
16939 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16940 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16941
d4a54ac6
JM
169422012-02-06 Joseph Myers <joseph@codesourcery.com>
16943
16944 [BZ #411]
16945 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16946
314054ea
JM
169472012-02-06 Joseph Myers <joseph@codesourcery.com>
16948
16949 * sysdeps/i386/sysdep.h: Include <features.h>.
16950 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16951 version.
16952
d8e0ca50
JM
169532012-02-05 Joseph Myers <joseph@codesourcery.com>
16954
16955 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16956 Define.
16957 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16958 LOAD_PIC_REG_STR.
16959
b1da7dd9
JM
169602012-02-03 Joseph Myers <joseph@codesourcery.com>
16961
16962 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16963 (SETUP_PIC_REG): Use GET_PC_THUNK.
16964 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16965 macro.
16966
9a1d9254
JM
169672012-02-03 Joseph Myers <joseph@codesourcery.com>
16968
16969 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16970 for non-PIC compilation.
16971 (SETUP_PIC_REG): Add .p2align directive.
16972 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16973 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16974 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16975 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16976 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16977 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16978 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16979 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16980 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16981 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16982 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16983 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16984 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16985 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16986 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16987 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16988 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16989 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16990 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16991 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16992 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16993 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16994 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16995 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16998 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16999 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17000 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17001 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17002 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17003 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17004 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17005 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17006 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17007 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17008 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17009 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17010 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17011 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17012 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17013
65dc3b75
JM
170142012-02-03 Joseph Myers <joseph@codesourcery.com>
17015
17016 * math/tst-CMPLX.c: Include <stdio.h>.
17017
d55bf177
JM
170182012-01-31 Joseph Myers <joseph@codesourcery.com>
17019
17020 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17021 float.
17022 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17023 * sysdeps/sparc/bits/mathdef.h: Likewise.
17024
69db4f8f
MP
170252012-01-31 Marek Polacek <polacek@redhat.com>
17026
17027 * libio/libio.h: Don't define _PARAMS.
17028 * locale/programs/config.h: Don't define PARAMS.
17029 * stdlib/strtol_l.c: Likewise.
17030 (__strtol_l): Remove PARAMS from the prototype.
17031
41b81892
UD
170322012-01-31 Ulrich Drepper <drepper@gmail.com>
17033
3b49edc0
UD
17034 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17035 names. Just use the correct names. Remove unnecessary wrapper
17036 functions.
17037 * malloc/arena.c: Likewise.
17038 * malloc/hooks.c: Likewise.
17039
41b81892
UD
17040 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17041 ARENA_TEST says not to. Simplify test for creation of a new arena.
17042 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17043
27a25b6e
UD
170442012-01-30 Ulrich Drepper <drepper@gmail.com>
17045
17046 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17047 into tail calls.
17048 (update_get_addr): New function.
17049 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17050 GET_ADDR_MODULE parameter.
17051
c8a89e7d
JM
170522012-01-30 Joseph Myers <joseph@codesourcery.com>
17053
17054 * crypt/cert.c: Remove __STDC__ conditionals.
17055 * crypt/crypt-entry.c: Likewise.
17056 * crypt/crypt_util.c: Likewise.
17057 * libio/filedoalloc.c: Likewise.
17058 * libio/fileops.c: Likewise.
17059 * libio/genops.c: Likewise.
17060 * libio/iofclose.c: Likewise.
17061 * libio/iofdopen.c: Likewise.
17062 * libio/iofopen.c: Likewise.
17063 * libio/iofopen64.c: Likewise.
17064 * libio/iogetdelim.c: Likewise.
17065 * libio/iopopen.c: Likewise.
17066 * libio/obprintf.c: Likewise.
17067 * libio/oldfileops.c: Likewise.
17068 * libio/oldiofclose.c: Likewise.
17069 * libio/oldiofdopen.c: Likewise.
17070 * libio/oldiofopen.c: Likewise.
17071 * libio/oldiopopen.c: Likewise.
17072 * libio/wfiledoalloc.c: Likewise.
17073 * libio/wgenops.c: Likewise.
17074 * locale/programs/xmalloc.c: Likewise.
17075 * misc/syslog.c: Likewise.
17076 * stdio-common/xbug.c: Likewise.
17077 * string/memchr.c: Likewise.
17078 * string/memcmp.c: Likewise.
17079 * string/memrchr.c: Likewise.
17080 * string/rawmemchr.c: Likewise.
17081 * sysdeps/posix/getcwd.c: Likewise.
17082 * time/strftime_l.c: Likewise.
17083
3b100462
JM
170842012-01-30 Joseph Myers <joseph@codesourcery.com>
17085
17086 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17087 * config.make.in (config-cflags-sse2avx): Define.
17088 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17089 Fix typo.
17090
607998af
CM
170912012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17092
17093 * scripts/config.guess: Update from upstream config git repository.
17094 * scripts/config.sub: Likewise.
17095
3601428f
CM
170962012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17097
3ac8b282
CM
17098 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17099 (EM_NUM): Update.
17100 (R_TILEPRO_*, R_TILEGX_*): New macros.
17101
e034841e
CM
17102 * scripts/firstversions.awk: Fix bug in version range handling.
17103
540d7568
CM
17104 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17105
3601428f
CM
17106 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17107
463de862
CM
17108 * include/sys/epoll.h: New file.
17109 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17110 libc_hidden_def.
17111
73139a76
UD
171122012-01-28 Ulrich Drepper <drepper@gmail.com>
17113
96bc5b45
UD
17114 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17115 Avoid unnecessary __WORDSIZE == 64 test.
17116 (fmaxf): Use VEX format if possible.
17117 (fmax): Likewise.
17118 (fminf): Likewise.
17119 (fmin): Likewise.
17120
56f6f6a2
UD
17121 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17122 * math/math_private.h: Remove libc_fegetround* and
17123 libc_fesetround*.
17124 * sysdeps/i386/configure.in: Check for -msse2avx.
17125 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17126 also if SSE2AVX is defined.
17127 Remove libc_fegetround* and libc_fesetround*.
17128 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17129 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17130 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17131 of HAS_YMM_USABLE.
17132 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17133 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17134 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17135 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17136 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17137
73139a76
UD
17138 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17139
d73f93a4
AZ
171402012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17141
17142 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17143 size is not set.
17144 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17145
6ee65ed6
UD
171462012-01-27 Ulrich Drepper <drepper@gmail.com>
17147
17148 [BZ #13618]
17149 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17150 relocation.
17151 * Makeconfig (libm): Define.
17152 * elf/Makefile: Add rules to build and run tst-relsort1.
17153 * elf/tst-relsort1.c: New file.
17154 * elf/tst-relsort1mod1.c: New file.
17155 * elf/tst-relsort1mod2.c: New file.
17156
8db21882
JM
171572012-01-27 Joseph Myers <joseph@codesourcery.com>
17158
17159 * math/s_ldexp.c: Remove __STDC__ conditionals.
17160 * math/s_ldexpf.c: Likewise.
17161 * math/s_ldexpl.c: Likewise.
17162 * math/s_nextafter.c: Likewise.
17163 * math/s_nexttowardf.c: Likewise.
17164 * math/s_significand.c: Likewise.
17165 * math/s_significandf.c: Likewise.
17166 * math/s_significandl.c: Likewise.
17167 * math/w_jnl.c: Likewise.
17168 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17169 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17170 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17171 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17172 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17173 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17174 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17175 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17176 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17177 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17178 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17180 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17181 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17182 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17183 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17184 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17186 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17187 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17188 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17189 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17190 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17191 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17192 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17193 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17194 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17195 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17196 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17197 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17198 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17199 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17200 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17201 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17202 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17203 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17204 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17205 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17206 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17207 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17208 * sysdeps/ieee754/k_standard.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17241 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17243 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17244 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17246 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17247 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17248 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17250 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17251 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17252 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17253 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17254 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17256 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17257 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17258 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17260 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17262 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17263 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17264 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17269 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17270 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17274 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17275 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17277 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17278 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17279 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17282 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17283 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17284 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17288 * sysdeps/ieee754/s_matherr.c: Likewise.
17289 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17290 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17291 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17292 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17293
965a54a4
JM
172942012-01-26 Joseph Myers <joseph@codesourcery.com>
17295
17296 * crypt/md5.h: Remove __STDC__ conditionals.
17297 * libio/libioP.h: Likewise.
17298 * locale/programs/config.h: Likewise.
17299 * sysdeps/generic/sysdep.h: Likewise.
17300 * sysdeps/i386/asm-syntax.h: Likewise.
17301 * sysdeps/s390/asm-syntax.h: Likewise.
17302 * sysdeps/unix/sysdep.h: Likewise.
17303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17305
7071ad79
JM
173062012-01-26 Joseph Myers <joseph@codesourcery.com>
17307
17308 * libio/libio.h: Remove __STDC__ conditionals.
17309 * malloc/obstack.h: Likewise.
17310 * math/complex.h: Likewise.
17311 * math/math.h: Likewise.
17312 * sysdeps/generic/_G_config.h: Likewise.
17313 * sysdeps/gnu/_G_config.h: Likewise.
17314 * sysdeps/mach/hurd/_G_config.h: Likewise.
17315 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17316 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17317 * sysdeps/sparc/bits/mathdef.h: Likewise.
17318
afc5ed09
UD
173192012-01-26 Ulrich Drepper <drepper@gmail.com>
17320
17321 [BZ #13583]
17322 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17323 Clean up HAS_* macros.
afc5ed09 17324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17325 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17326 possible.
17327 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17328 HAS_AVX.
17329 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17330 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17331 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17332 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17334
bdb6de1d
JM
173352012-01-25 Joseph Myers <joseph@codesourcery.com>
17336
17337 * elf/tst-unique3.cc (gets): Remove declaration.
17338 * elf/tst-unique3lib.cc (gets): Likewise.
17339 * elf/tst-unique3lib2.cc (gets): Likewise.
17340 * elf/tst-unique4.cc (gets): Likewise.
17341
b15549e6
UD
173422012-01-24 Ulrich Drepper <drepper@gmail.com>
17343
17344 * include/stdio.h: Add C++ protection. Add gets declarations and
17345 definitions.
17346 * debug/tst-chk1.c: Don't declare gets here.
17347 * stdio-common/tst-gets.c: Likewise.
17348
a037381f
JM
173492012-01-24 Joseph Myers <joseph@codesourcery.com>
17350
17351 * posix/glob: Remove directory.
17352
f1d4aa75
JM
173532012-01-24 Joseph Myers <joseph@codesourcery.com>
17354
17355 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17356
81c0c964
PT
173572012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17358
17359 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17360 of the non-standard EPFNOSUPPORT.
17361
0ea698ae
ST
173622011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17363
17364 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17365 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17366 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17367
d220b117
UD
173682012-01-21 Ulrich Drepper <drepper@gmail.com>
17369
17370 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17371
3e1aa84e
UD
173722012-01-20 Ulrich Drepper <drepper@gmail.com>
17373
17374 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17375 transient errors.
17376 * nscd/grpcache.c (cache_addgr): Likewise.
17377 * nscd/hstcache.c (cache_addhst): Likewise.
17378 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17379 * nscd/pwdcache.c (cache_addpw): Likewise.
17380 * nscd/servicescache.c (cache_addserv): Likewise.
17381
400aa020
UD
173822012-01-16 Ulrich Drepper <drepper@gmail.com>
17383
d77e7869
UD
17384 * malloc/malloc.c: Various cleanups.
17385 * malloc/hooks.c: Likewise.
17386
400aa020
UD
17387 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17388 * stdlib/bug-fmtmsg1.c: New file.
17389
17390 * stdlib/fmtmsg.c (init): Add missing unlock.
17391 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17392
e0a309cf
MP
173932012-01-12 Marek Polacek <polacek@redhat.com>
17394
17395 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17396 and _GNU_SOURCE.
17397
929d11c7
WS
173982012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17399
17400 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17401 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17402 macro to ensure uniqueness of label name.
17403 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17404 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17405
41d0e869
UD
174062012-01-11 Ulrich Drepper <drepper@gmail.com>
17407
0cc5ed3b
UD
17408 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17409
41d0e869
UD
17410 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17411 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17412 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17414
a47a831a
UD
174152012-01-10 Ulrich Drepper <drepper@gmail.com>
17416
daa891c0
UD
17417 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17418
17419 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17420 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17421 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17422
e58ef0f2
UD
17423 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17424
a47a831a 17425 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17426 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17427 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17429
17430 * math/bits/math-finite.h: Add ldexp support.
17431
a0bfc9c7
MP
174322012-01-10 Marek Polacek <polacek@redhat.com>
17433
17434 * locale/programs/localedef.h (show_archive_content): Add noreturn
17435 attribute.
17436
d6e97a1d
UD
174372012-01-09 Ulrich Drepper <drepper@gmail.com>
17438
17439 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17440
d5835c26
UD
174412012-01-08 Ulrich Drepper <drepper@gmail.com>
17442
e5f484c6
UD
17443 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17444
d5835c26
UD
17445 * io/Makefile (headers): Add bits/poll2.h.
17446
d1f741e9
WS
174472011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17448
17449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17450 typo #include statement.
17451
ec09c1c4
UD
174522012-01-08 Ulrich Drepper <drepper@gmail.com>
17453
17454 * include/sys/cdefs.h: Define __attribute_alloc_size.
17455 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17456 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17457 * elf/pldd.c: Likewise.
17458 * iconv/iconv_charmap.c: Likewise.
17459 * iconv/iconvconfig.c: Likewise.
17460 * iconv/strtab.c: Likewise.
17461 * locale/programs/locale.c: Likewise.
17462 * locale/programs/localedef.h: Likewise.
17463 * locale/programs/simple-hash.c: Likewise.
17464 * nscd/nscd.h: Likewise.
17465 * nss/makedb.c: Likewise.
17466 * sysdeps/generic/ldconfig.h: Likewise.
17467 * locale/programs/localedef.c: Remove xmalloc prototype.
17468 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17469
20b38e03
PP
174702012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17471
17472 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17473 appropriate.
17474
a0da5fe1
UD
174752012-01-08 Ulrich Drepper <drepper@gmail.com>
17476
1d5a644a 17477 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17478 * math/tst-CMPLX.c: New file.
1d5a644a 17479
8784a6db
UD
17480 * math/complex.h (CMPLXL): Fix typo.
17481
d9a216c0
UD
17482 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17483 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17484 GLIBC_2.16.
17485 * debug/tst-chk1.c: Add poll and ppoll tests.
17486 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17487 * include/sys/poll.h: Add hidden proto for ppoll.
17488 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17489 * sysdeps/mach/hurd/ppoll.c: Likewise.
17490 * io/ppoll.c: Likewise.
17491 * debug/poll_chk.c: New file.
17492 * debug/ppoll_chk.c: New file.
17493 * include/bits/poll2.h: New file.
17494 * io/bits/poll2.h: New file.
17495
ac097f5c
UD
17496 [BZ #1350]
17497 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17498
2119dcfa
UD
17499 * configure.in: static is always set to yes. Remove.
17500 * config.make.in: Don't set build-static.
17501 * Makeconfig: Remove use of build-static.
17502 * dlfcn/Makefile: Likewise.
17503 * elf/Makefile: Likewise.
17504 * math/Makefile: Likewise.
17505 * misc/Makefile: Likewise.
17506 * nptl/Makefile: Likewise.
17507 * sysdeps/mach/hurd/Makefile: Likewise.
17508
121766a9
UD
17509 * configure.in: PWD_P is not used anymore.
17510 * config.make.in: Remove PWD_P entry.
17511
51a1d39c 17512 * configure.in: Remove last remnants of RANLIB.
8720d066 17513 No need to check for signed size_t anymore.
215f4bdc
UD
17514 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17515 and IA-64.
3857022a 17516 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17517 * aclocal.m4: Likewise.
17518
d3ed7225
UD
17519 * wcsmbs/mbrtoc16.c: Implement using towc function.
17520 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17521 * wcsmbs/wcsmbsload.c: Likewise.
17522 * iconv/gconv_simple.c: Likewise.
17523 * iconv/gconv_int.h: Likewise.
17524 * iconv/gconv_builtin.h: Likewise.
17525 * iconv/iconv_prog.c: Remove CHAR16 handling.
17526
17527 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17528
17529 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17530
a0da5fe1
UD
17531 * configure.in: Remove --with-elf and --enable-bounded options.
17532 Dont set base_machine for ia64. More non-ELF conditions removed.
17533 Remove testing and setting of leading underscore information.
17534 * config.make.in (build-bounded): Set to no.
17535 * config.h.in: Remove NO_UNDERSCORES entry.
17536 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17537 them.
17538 * csu/start.c: Remove !NO_UNDERSCORE code.
17539 * locale/localeinfo.h: Likewise.
17540 * sysdeps/generic/machine-gmon.h: Likewise.
17541 * sysdeps/generic/sysdep.h: Likewise.
17542 * sysdeps/i386/sysdep.h: Likewise.
17543 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17544 * sysdeps/mach/sysdep.h: Likewise.
17545 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17546 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17547 * sysdeps/sh/sysdep.h: Likewise.
17548 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17549 * sysdeps/unix/i386/sysdep.S: Likewise.
17550 * sysdeps/unix/sparc/start.c: Likewise.
17551 * sysdeps/unix/sparc/sysdep.S: Likewise.
17552 * sysdeps/unix/sparc/sysdep.h: Likewise.
17553 * sysdeps/unix/start.c: Likewise.
17554 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17555 * sysdeps/x86_64/sysdep.h: Likewise.
17556
df78418a
UD
175572012-01-07 Ulrich Drepper <drepper@gmail.com>
17558
a784e502
UD
17559 [BZ #13553]
17560 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17561 for non-gcc.
17562 * argp/argp-fmtstream.h: Use const instead __const.
17563 * argp/argp.h: Likewise.
17564 * assert/assert.h: Likewise.
17565 * bits/fenv.h: Likewise.
17566 * bits/sched.h: Likewise.
17567 * bits/sigset.h: Likewise.
17568 * bits/sigthread.h: Likewise.
17569 * catgets/nl_types.h: Likewise.
17570 * conform/data/pthread.h-data: Likewise.
17571 * crypt/crypt-private.h: Likewise.
17572 * crypt/crypt.h: Likewise.
17573 * crypt/crypt_util.c: Likewise.
17574 * ctype/ctype.h: Likewise.
17575 * debug/execinfo.h: Likewise.
17576 * debug/mbsnrtowcs_chk.c: Likewise.
17577 * debug/mbsrtowcs_chk.c: Likewise.
17578 * debug/wcsnrtombs_chk.c: Likewise.
17579 * debug/wcsrtombs_chk.c: Likewise.
17580 * debug/wcstombs_chk.c: Likewise.
17581 * dirent/dirent.h: Likewise.
17582 * dlfcn/dlfcn.h: Likewise.
17583 * elf/neededtest4.c: Likewise.
17584 * grp/grp.h: Likewise.
17585 * gshadow/gshadow.h: Likewise.
17586 * iconv/gconv.h: Likewise.
17587 * iconv/gconv_int.h: Likewise.
17588 * iconv/gconv_simple.c: Likewise.
17589 * iconv/iconv.h: Likewise.
17590 * iconv/loop.c: Likewise.
17591 * iconv/skeleton.c: Likewise.
17592 * include/aio.h: Likewise.
17593 * include/aliases.h: Likewise.
17594 * include/argz.h: Likewise.
17595 * include/arpa/inet.h: Likewise.
17596 * include/assert.h: Likewise.
17597 * include/dirent.h: Likewise.
17598 * include/dlfcn.h: Likewise.
17599 * include/execinfo.h: Likewise.
17600 * include/fcntl.h: Likewise.
17601 * include/fenv.h: Likewise.
17602 * include/glob.h: Likewise.
17603 * include/grp.h: Likewise.
17604 * include/libintl.h: Likewise.
17605 * include/mntent.h: Likewise.
17606 * include/netdb.h: Likewise.
17607 * include/pwd.h: Likewise.
17608 * include/rpc/netdb.h: Likewise.
17609 * include/sched.h: Likewise.
17610 * include/search.h: Likewise.
17611 * include/shadow.h: Likewise.
17612 * include/signal.h: Likewise.
17613 * include/stdio.h: Likewise.
17614 * include/stdlib.h: Likewise.
17615 * include/string.h: Likewise.
17616 * include/sys/socket.h: Likewise.
17617 * include/sys/stat.h: Likewise.
17618 * include/sys/statfs.h: Likewise.
17619 * include/sys/statvfs.h: Likewise.
17620 * include/sys/syslog.h: Likewise.
17621 * include/sys/time.h: Likewise.
17622 * include/sys/uio.h: Likewise.
17623 * include/time.h: Likewise.
17624 * include/unistd.h: Likewise.
17625 * include/utmp.h: Likewise.
17626 * include/wchar.h: Likewise.
17627 * include/wctype.h: Likewise.
17628 * inet/aliases.h: Likewise.
17629 * inet/arpa/inet.h: Likewise.
17630 * inet/netinet/ether.h: Likewise.
17631 * inet/netinet/in.h: Likewise.
17632 * intl/libintl.h: Likewise.
17633 * io/bits/fcntl2.h: Likewise.
17634 * io/fcntl.h: Likewise.
17635 * io/ftw.h: Likewise.
17636 * io/sys/poll.h: Likewise.
17637 * io/sys/stat.h: Likewise.
17638 * io/sys/statfs.h: Likewise.
17639 * io/sys/statvfs.h: Likewise.
17640 * io/utime.h: Likewise.
17641 * libio/bits/stdio.h: Likewise.
17642 * libio/bits/stdio2.h: Likewise.
17643 * libio/libio.h: Likewise.
17644 * libio/libioP.h: Likewise.
17645 * libio/stdio.h: Likewise.
17646 * locale/lc-ctype.c: Likewise.
17647 * locale/locale.h: Likewise.
17648 * login/utmp.h: Likewise.
17649 * malloc/arena.c: Likewise.
17650 * malloc/malloc.c: Likewise.
17651 * malloc/malloc.h: Likewise.
17652 * malloc/mcheck.c: Likewise.
17653 * malloc/mtrace.c: Likewise.
17654 * math/bits/mathcalls.h: Likewise.
17655 * math/fenv.h: Likewise.
17656 * math/math_private.h: Likewise.
17657 * misc/bits/error.h: Likewise.
17658 * misc/bits/syslog.h: Likewise.
17659 * misc/err.h: Likewise.
17660 * misc/error.h: Likewise.
17661 * misc/fstab.h: Likewise.
17662 * misc/mntent.h: Likewise.
17663 * misc/regexp.h: Likewise.
17664 * misc/search.h: Likewise.
17665 * misc/sgtty.h: Likewise.
17666 * misc/sys/mman.h: Likewise.
17667 * misc/sys/syslog.h: Likewise.
17668 * misc/sys/uio.h: Likewise.
17669 * misc/sys/xattr.h: Likewise.
17670 * misc/ttyent.h: Likewise.
17671 * nis/rpcsvc/ypclnt.h: Likewise.
17672 * nss/nss.h: Likewise.
17673 * posix/bits/unistd.h: Likewise.
17674 * posix/fnmatch.h: Likewise.
17675 * posix/glob.h: Likewise.
17676 * posix/sched.h: Likewise.
17677 * posix/spawn.h: Likewise.
17678 * posix/sys/wait.h: Likewise.
17679 * posix/unistd.h: Likewise.
17680 * posix/wordexp.h: Likewise.
17681 * pwd/pwd.h: Likewise.
17682 * resolv/netdb.h: Likewise.
17683 * resource/sys/resource.h: Likewise.
17684 * rt/aio.h: Likewise.
17685 * rt/bits/mqueue2.h: Likewise.
17686 * rt/mqueue.h: Likewise.
17687 * shadow/shadow.h: Likewise.
17688 * signal/signal.h: Likewise.
17689 * socket/send.c: Likewise.
17690 * socket/sendto.c: Likewise.
17691 * socket/sys/socket.h: Likewise.
17692 * stdio-common/printf.h: Likewise.
17693 * stdlib/bits/stdlib.h: Likewise.
17694 * stdlib/fmtmsg.h: Likewise.
17695 * stdlib/monetary.h: Likewise.
17696 * stdlib/stdlib.h: Likewise.
17697 * stdlib/ucontext.h: Likewise.
17698 * streams/stropts.h: Likewise.
17699 * string/argz.h: Likewise.
17700 * string/bits/string2.h: Likewise.
17701 * string/string.h: Likewise.
17702 * string/strings.h: Likewise.
17703 * sunrpc/rpc/auth.h: Likewise.
17704 * sunrpc/rpc/auth_des.h: Likewise.
17705 * sunrpc/rpc/clnt.h: Likewise.
17706 * sunrpc/rpc/netdb.h: Likewise.
17707 * sunrpc/rpc/pmap_clnt.h: Likewise.
17708 * sunrpc/rpc/xdr.h: Likewise.
17709 * sysdeps/generic/inttypes.h: Likewise.
17710 * sysdeps/generic/net/if.h: Likewise.
17711 * sysdeps/generic/sys/swap.h: Likewise.
17712 * sysdeps/gnu/net/if.h: Likewise.
17713 * sysdeps/gnu/utmpx.h: Likewise.
17714 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17715 * sysdeps/i386/i486/bits/string.h: Likewise.
17716 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17717 * sysdeps/s390/bits/string.h: Likewise.
17718 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17719 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17720 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17721 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17722 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17723 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17724 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17725 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17726 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17727 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17728 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17729 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17730 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17731 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17732 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17733 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17734 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17736 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17737 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17738 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17739 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17740 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17741 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17742 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17743 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17744 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17745 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17746 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17747 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17748 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17749 * sysvipc/sys/ipc.h: Likewise.
17750 * sysvipc/sys/msg.h: Likewise.
17751 * sysvipc/sys/sem.h: Likewise.
17752 * sysvipc/sys/shm.h: Likewise.
17753 * termios/termios.h: Likewise.
17754 * time/sys/time.h: Likewise.
17755 * time/time.h: Likewise.
17756 * wcsmbs/bits/wchar2.h: Likewise.
17757 * wcsmbs/uchar.h: Likewise.
17758 * wcsmbs/wchar.h: Likewise.
17759 * wctype/wctype.h: Likewise.
17760
0269750c
UD
17761 [BZ #13551]
17762 * Makeconfig: Remove all but ELF support including AIX support.
17763 * Makerules: Likewise.
17764 * config.h.in: Likewise.
17765 * config.make.in: Likewise.
17766 * configure: Likewise.
17767 * configure.in: Likewise.
17768 * csu/Makefile: Likewise.
17769 * csu/version.c: Likewise.
17770 * debug/Makefile: Likewise.
17771 * dlfcn/Makefile: Likewise.
17772 * elf/Makefile: Likewise.
17773 * extra-lib.mk: Likewise.
17774 * iconv/Makefile: Likewise.
17775 * include/libc-symbols.h: Likewise.
17776 * include/shlib-compat.h: Likewise.
17777 * resolv/Makefile: Likewise.
17778 * resolv/res_libc.c: Likewise.
17779 * rt/Makefile: Likewise.
17780 * sysdeps/i386/asm-syntax.h: Likewise.
17781 * sysdeps/i386/sysdep.h: Likewise.
17782 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17783 * sysdeps/mach/sysdep.h: Likewise.
17784 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17785 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17786 * sysdeps/s390/asm-syntax.h: Likewise.
17787 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17788 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17789 * sysdeps/sh/sysdep.h: Likewise.
17790 * sysdeps/unix/sparc/sysdep.h: Likewise.
17791 * sysdeps/wordsize-32/divdi3.c: Likewise.
17792 * sysdeps/x86_64/sysdep.h: Likewise.
17793
00bbd29b
UD
17794 * argp/Versions: Remove _argp_unlock_xxx.
17795
17796 [BZ #13559]
17797 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17798 * abilist/libBrokenLocale.abilist: Likewise.
17799 * abilist/libanl.abilist: Likewise.
17800 * abilist/libc.abilist: Likewise.
17801 * abilist/libcrypt.abilist: Likewise.
17802 * abilist/libdl.abilist: Likewise.
17803 * abilist/libm.abilist: Likewise.
17804 * abilist/libnsl.abilist: Likewise.
17805 * abilist/libpthread.abilist: Likewise.
17806 * abilist/libresolv.abilist: Likewise.
17807 * abilist/librt.abilist: Likewise.
17808 * abilist/libthread_db.abilist: Likewise.
17809 * abilist/libutil.abilist: Likewise.
17810 * abilist/libnss_db.abilist: New file.
17811
17812 * scripts/abilist.awk: Add support for indirect functions.
17813
a2693a0e
UD
17814 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17815
3f05895f
UD
17816 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17817
ecb6fb48
UD
17818 * shlib-versions: Remove entries for ports architectures.
17819
664f8cb9
UD
17820 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17821 files in ports.
17822 * elf/stackguard-macros.h: Remove support for IA-64.
17823 * elf/tst-auditmod1.c: Likewise.
17824 * sysdeps/generic/ldsodefs.h: Likewise.
17825
7ae81d88
UD
17826 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17827 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17828 configure files.
17829
bdeba135
UD
17830 [BZ #13552]
17831 * configure.in: Remove --enable-omitfp support.
17832 * FAQ.in: Adjust.
17833 * config.make.in: Likewise.
17834 * Makeconfig: Likewise.
17835 * manual/install.texi: Likewise.
17836
d75a0a62
UD
17837 In case anyone cares, the IA-64 architecture could move to ports.
17838 * sysdeps/ia64/*: Removed.
17839 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17840 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17841
dcc9756b
UD
17842 [BZ #13555]
17843 * configure.in: Remove entries for unsupported architectures.
17844
d3761ebc 17845 [BZ #13533]
9954432e
UD
17846 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17847 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17848 routines.
17849 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17850 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17851 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17852 fall back to using wcrtomb.
17853 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17854 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17855 renaming.
17856 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17857 * wcsmbs/tst-c16c32-1.c: New file.
17858
17859 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17860 local variable.
17861
c3a87236
UD
17862 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17863
28926a1b
UD
17864 * elf/tst-unique3.cc: Add explicit declaration of gets.
17865 * elf/tst-unique3lib.cc: Likewise.
17866 * elf/tst-unique3lib2.cc: Likewise.
17867 * elf/tst-unique4.cc: Likewise.
17868
df78418a
UD
17869 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17870
8ecd6b2a
JM
178712012-01-06 Joseph Myers <joseph@codesourcery.com>
17872
17873 [BZ #13566]
17874 * assert/assert.h (static_assert): Don't define for C++.
17875 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17876 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17877
9f115170
UD
178782012-01-03 Ulrich Drepper <drepper@gmail.com>
17879
5e0d0300
UD
17880 * iconv/loop.c (single loop): Fix assertion in storing of
17881 remaining bytes.
17882
9f115170
UD
17883 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17884
81fb02b0
UD
178852012-01-01 Ulrich Drepper <drepper@gmail.com>
17886
17887 * posix/getconf.c: Update copyright year.
17888 * nss/getent.c: Likewise.
a316c1f6 17889 * nss/makedb.c: Likewise.
81fb02b0
UD
17890 * iconv/iconvconfig.c: Likewise.
17891 * iconv/iconv_prog.c: Likewise.
17892 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17893 * elf/pldd.c: Likewise.
17894 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17895 * catgets/gencat.c: Likewise.
17896 * csu/version.c: Likewise.
17897 * elf/ldd.bash.in: Likewise.
17898 * elf/sprof.c (print_version): Likewise.
17899 * locale/programs/locale.c: Likewise.
17900 * locale/programs/localedef.c: Likewise.
a316c1f6 17901 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17902 * nscd/nscd.c (print_version): Likewise.
17903 * debug/xtrace.sh: Likewise.
17904 * malloc/memusage.sh: Likewise.
17905 * malloc/mtrace.pl: Likewise.
17906 * debug/catchsegv.sh: Likewise.
17907
2ba92745
JJ
179082011-12-30 Jakub Jelinek <jakub@redhat.com>
17909
17910 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17911 pure attribute.
17912
dadebdae
UD
179132011-12-24 Ulrich Drepper <drepper@gmail.com>
17914
d3761ebc 17915 [BZ #13533]
db6af3eb
UD
17916 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17917 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17918 transformations.
17919 * iconv/gconv_int.h: Likewise.
17920 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17921 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17922 from libc for GLIBC_2.16.
17923 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17924 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17925 * wcsmbs/uchar.h: Really define mbstate_t.
17926 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17927 * wcsmbs/c16rtomb.c: New file.
17928 * wcsmbs/mbrtoc16.c: New file.
17929 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17930 for C/POSIX locale.
17931 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17932 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17933
dadebdae
UD
17934 * wcsmbs/wchar.h: Add missing __restrict.
17935
67371b56
UD
179362011-12-23 Ulrich Drepper <drepper@gmail.com>
17937
74033a25
UD
17938 [BZ #13532]
17939 * time/Makefile (routines): Add timespec_get.
17940 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17941 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17942 timespec for ISO C11.
17943 * time/timespec_get.c: New file.
17944 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17945 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17946
380d7e87
UD
17947 [BZ #13531]
17948 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17949 * stdlib/stdlib.h: Declare aligned_alloc.
17950 * Versions.def: Add GLIBC_2.16 for libc.
17951 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17952
4e9e7a35
UD
17953 [BZ 13527]
17954 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17955 ISO C11.
17956
380d7e87 17957 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17958 code.
17959
03a71829
UD
17960 [BZ #13528]
17961 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17962
839e283e
UD
17963 [BZ #13529]
17964 * assert/assert.h (static_assert): Define.
17965
ce5294e2 17966 * version.h: Update for 2.16 development version.
90fa7312 17967
8d44e150 17968 [BZ #13526]
d7809905
UD
17969 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17970 _ISOC11_SOURCE.
17971
c0da14cd
UD
17972 * version.h (RELEASE): Bump for 2.15 release.
17973 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17974
530a3249
MP
17975 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17976 Patch by Marek Polacek <mpolacek@redhat.com>.
17977
67371b56
UD
17978 * bits/byteswap.h: Protect long long constants with __extension__.
17979 * sysdeps/i386/bits/byteswap.h: Likewise.
17980 * sysdeps/ia64/bits/byteswap.h: Likewise.
17981 * sysdeps/s390/bits/byteswap.h: Likewise.
17982 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17983
15db4de1
LD
179842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17985
17986 [BZ #13540]
bbe315ea
LD
17987 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17988 destination buffer.
15db4de1
LD
17989 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17990
2b2596b1
MP
179912011-12-23 Marek Polacek <polacek@redhat.com>
17992
17993 * elf/dl-addr.c (determine_info): Add inline keyword.
17994 * elf/tst-auditmod4b.c (check_avx): Likewise.
17995 * elf/tst-auditmod6b.c (check_avx): Likewise.
17996 * elf/tst-auditmod6c.c (check_avx): Likewise.
17997 * elf/tst-auditmod7b.c (check_avx): Likewise.
17998
70c6c246
UD
179992011-12-23 Ulrich Drepper <drepper@gmail.com>
18000
18001 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
18002 !__SSE_MATH__.
18003
c044cf14
LD
180042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18005
15db4de1 18006 [BZ #13540]
c044cf14
LD
18007 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
18008 processing for last bytes.
18009
6b13d9d9
BH
180102011-08-06 Bruno Haible <bruno@clisp.org>
18011
d455f537
BH
18012 [BZ #13061]
18013 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
18014 U+0385, not to U+1FEE.
18015
6b13d9d9
BH
18016 [BZ #13062]
18017 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
18018 entry for U+00A5 U+0301.
18019
db910efd
UD
180202011-12-22 Ulrich Drepper <drepper@gmail.com>
18021
27deeafc
UD
18022 [BZ #13166]
18023 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18024 buffer for the output is too small.
18025
aed9d171
UD
18026 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18027 optimization.
18028
db910efd
UD
18029 [BZ #13185]
18030 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18031 SSE flags if possible.
18032
2bd779ae
LD
180332011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18034
e7f9dac3 18035 [BZ #13540]
2bd779ae
LD
18036 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18037 processing for last bytes.
18038
154bfc16
JM
180392011-12-22 Joseph Myers <joseph@codesourcery.com>
18040
18041 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18042 (syscall-list-default-options, syscall-list-default-condition)
18043 (syscall-list-includes): Define.
18044 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18045 list of ABIs and options and #if conditions for each ABI. Do not
18046 handle common syscalls between ABIs specially.
18047 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18048 Remove.
18049 (syscall-list-variants, syscall-list-32bit-options)
18050 (syscall-list-32bit-condition, syscall-list-64bit-options)
18051 (syscall-list-64bit-condition): Define.
18052 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18053 (syscall-list-variants, syscall-list-32bit-options)
18054 (syscall-list-32bit-condition, syscall-list-64bit-options)
18055 (syscall-list-64bit-condition): Define.
18056 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18057 Remove.
18058 (syscall-list-variants, syscall-list-32bit-options)
18059 (syscall-list-32bit-condition, syscall-list-64bit-options)
18060 (syscall-list-64bit-condition): Define.
18061 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18062 Remove.
18063 (syscall-list-variants, syscall-list-32bit-options)
18064 (syscall-list-32bit-condition, syscall-list-64bit-options)
18065 (syscall-list-64bit-condition): Define.
18066
21eaf3a5
UD
180672011-12-22 Ulrich Drepper <drepper@gmail.com>
18068
16c6f992
UD
18069 * locale/iso-639.def: Add brx entry.
18070
41043168
UD
18071 [BZ #13328]
18072 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18073 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18074
21eaf3a5
UD
18075 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18076 __feraiseexcept_renamed.
18077
e3a851a2
UD
180782011-12-21 Ulrich Drepper <drepper@gmail.com>
18079
4920765e
UD
18080 [BZ #13538]
18081 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18082 EPOLLET with unsigned values.
18083 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18084 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18085
e3a851a2
UD
18086 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18087 to large cancellation.
18088 * math/s_cacoshf.c: Likewise.
18089 * math/s_cacoshl.c: Likewise.
18090
b27e24b8
RK
180912011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18092
18093 [BZ #13305]
aebefeee 18094 [BZ #12786]
b27e24b8
RK
18095 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18096 * math/s_cacoshf.c: Likewise.
18097 * math/s_cacoshl.c: Likewise.
18098
ee190f67
UD
180992011-12-21 Ulrich Drepper <drepper@gmail.com>
18100
18101 [BZ #13439]
18102 * iconv/gconv.h: Define __GCONV_SWAP.
18103 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18104 * iconvdata/utf-16.c: Likewise.
18105 * iconvdata/utf-32.c: Likewise.
18106
707f25df
AS
181072011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18108
18109 [BZ #13524]
18110 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18111 numerator after shifting it by one limb.
18112
d2daaa1e
RÁE
181132011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18114
18115 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18116 under [__USE_EXTERN_INLINES].
18117
a4647e72
UD
181182011-12-17 Ulrich Drepper <drepper@gmail.com>
18119
18120 [BZ #13446]
18121 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18122
f0b264f1
AZ
181232011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18124
18125 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18126 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18127 optimized code.
18128 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18129 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18130 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18131 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18132 for strncasecmp/strncasecmp_l compilation.
18133 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18134 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18135
8ef4f244
MP
181362011-12-08 Marek Polacek <mpolacek@redhat.com>
18137
18138 [BZ #13484]
18139 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18140 of __asm__.
18141
97ac2654
UD
181422011-12-17 Ulrich Drepper <drepper@gmail.com>
18143
18144 [BZ #13506]
18145 * time/tzfile.c (__tzfile_read): Check values from file header.
18146
91d2a845
WS
181472011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18148
18149 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18150 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18151 * powerpc/powerpc32/dl-start.S: Likewise.
18152 * powerpc/powerpc32/elf/start.S: Likewise.
18153 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18154 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18155 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18156 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18157 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18158 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18159 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18160 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18161 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18162 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18163 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18164 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18165 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18166 * powerpc/powerpc32/memset.S: Likewise.
18167 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18168 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18169 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18170 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18171 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18172 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18173 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18174 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18175 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18176 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18177 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18178 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18179 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18180
a1267ba1
AZ
181812011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18182
18183 * math/libm-test.inc: Added more nearbyint tests.
18184 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18186 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18187 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18188
ad8ac1bd
RL
181892011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18190
18191 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18192 FD_CLOEXEC.
18193
1d3e4b61
UD
181942011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18195
18196 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18197 Add wcscpy-ssse3 wcscpy-c.
18198 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18199 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18200 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18201 * sysdeps/x86_64/wcschr.S: New file.
18202 * sysdeps/x86_64/wcsrchr.S: New file.
18203 * string/test-strcmp.c: Remove checking of wcscmp function for
18204 wrong alignments.
18205 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18206 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18207 wcsrchr-sse2 wcsrchr-c.
18208 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18209 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18210 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18211 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18212 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18213 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18214 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18215 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18216 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18217 * wcsmbc/wcschr.c (WCSCHR): New macro.
18218
5b330a2d
UD
182192011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18220
18221 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18222 * wcsmbs/test-wcsrchr.c: New file.
18223 * string/test-strrchr.c: Add wcsrchr support.
18224 (WIDE): New macro.
18225 * wcsmbs/test-wcscpy.c: New file.
18226 * string/test-strcpy.c: Add wcscpy support.
18227 (WIDE): New macro.
26428b7c 18228
f039c043
UD
182292011-12-10 Ulrich Drepper <drepper@gmail.com>
18230
18231 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18232 the inner loop.
18233
850fb039
AS
182342011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18235
18236 [BZ #13472]
18237 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18238
4efbd5cb
UD
182392011-12-04 Ulrich Drepper <drepper@gmail.com>
18240
52ff5dd0 18241 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18242 Minor optimizations.
52ff5dd0 18243
4efbd5cb
UD
18244 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18245 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18246 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18247
8a426e12
UD
182482011-12-03 Ulrich Drepper <drepper@gmail.com>
18249
aff2453d
UD
18250 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18251 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18252 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18253 for gcc to avoid warnings.
18254 * inet/Makefile (tests): Add tst-checks.
18255 * inet/tst-checks.c: New file.
18256
18257 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18258 warning.
18259
18260 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18261 __wmemcmp_sse2.
18262
18263 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18264 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18265
8a426e12
UD
18266 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18267
9bea3473
UD
182682011-12-02 Ulrich Drepper <drepper@gmail.com>
18269
3a965496
UD
18270 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18271 problem.
18272
9bea3473
UD
18273 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18274
f101631b
UD
182752011-11-29 Joseph Myers <joseph@codesourcery.com>
18276
18277 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18278 conditional on GCC version.
18279 (__arch_compare_and_exchange_val_8_acq)
18280 (__arch_compare_and_exchange_val_16_acq)
18281 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18282 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18283 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18284
a98275aa
UD
182852011-12-02 Joseph Myers <joseph@codesourcery.com>
18286
18287 * sysdeps/sh/backtrace.c: New file.
18288
d4cc29a2
AS
182892011-12-02 Andreas Schwab <schwab@redhat.com>
18290
18291 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18292 parenthesis.
18293
6257af2d
AS
182942011-12-01 Andreas Schwab <schwab@redhat.com>
18295
18296 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18297 falling back to utime.
18298
b5f44c1a
AS
182992011-11-30 Andreas Schwab <schwab@redhat.com>
18300
18301 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18302 expectations for float.
18303
f3a6cc0a
AS
183042011-11-29 Andreas Schwab <schwab@redhat.com>
18305
18306 * locale/weight.h (findidx): Add parameter len.
18307 * locale/weightwc.h (findidx): Likewise.
18308 * posix/fnmatch_loop.c (FCT): Adjust caller.
18309 * posix/regcomp.c (build_equiv_class): Likewise.
18310 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18311 * posix/regexec.c (check_node_accept_bytes): Likewise.
18312 * string/strcoll_l.c (STRCOLL): Likewise.
18313 * string/strxfrm_l.c (STRXFRM): Likewise.
18314
9d65ea3a
UD
183152011-11-17 Ulrich Drepper <drepper@gmail.com>
18316
18317 * Makefile.in: Remove CVSOPT handling.
18318 * configure.in: Remove use of AC_REVISION.
18319 * iconvdata/Makefile (distribute): No need to filter out CVS.
18320 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18321 handling.
18322
5583a086
AS
183232011-11-16 Andreas Schwab <schwab@redhat.com>
18324
18325 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18326 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18327 [USE_AS_STRNCASECMP_L]: Likewise.
18328 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18329 NO_TLS_DIRECT_SEG_REFS.
18330 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18331 Fix argument offsets for non-PIC.
18332 [USE_AS_STRNCASECMP_L]: Likewise.
18333 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18334 NO_TLS_DIRECT_SEG_REFS.
18335
d62a8200
UD
183362011-11-15 Ulrich Drepper <drepper@gmail.com>
18337
9d65ea3a 18338 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18339 O_CLOEXEC.
18340 * locale/loadlocale.c (_nl_load_locale): Likewise.
18341
09f93bd3
AS
183422011-11-15 Andreas Schwab <schwab@redhat.com>
18343
446514f9
AS
18344 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18345 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18346 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18347 (SYSCALL_GETTIME): Set errno on error.
18348
09f93bd3
AS
18349 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18350 count references to noai6ai_cached.
18351
312be3f9
UD
183522011-11-15 Ulrich Drepper <drepper@gmail.com>
18353
18354 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18355
18356 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18357 FD_CLOEXEC for /proc/self/maps.
18358
18359 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18360 FD_CLOEXEC for /proc/meminfo.
18361
18362 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18363 gai.conf.
18364
18365 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18366 FD_CLOEXEC for given file.
18367
18368 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18369
18370 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18371 FD_CLOEXEC for /etc/hosts.
18372 (_gethtent): Likewise.
18373
18374 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18375
18376 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18377 cancellation and set FD_CLOEXEC for /etc/netgroup.
18378
18379 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18380 reading /etc/publickey.
18381
18382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18383 allow cancellation when reading /etc/group.
18384
18385 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18386 cancellation.
18387 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18388
18389 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18390 when using data file.
18391
18392 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18393
18394 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18395 (write_nis_obj): Use "c" and "e" in fopen.
18396
18397 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18398
18399 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18400
18401 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18402
18403 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18404
18405 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18406 locale.alias.
18407
18408 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18409
18410 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18411
18412 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18413
18414 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18415 file parsing and set FD_CLOEXEC.
18416
82af0fa8
UD
184172011-11-14 Ulrich Drepper <drepper@gmail.com>
18418
18419 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18420
a5fb313c
AS
184212011-11-14 Andreas Schwab <schwab@redhat.com>
18422
18423 * malloc/arena.c (arena_get2): Don't call reused_arena when
18424 _int_new_arena failed.
18425
6abf3465
UD
184262011-11-14 Ulrich Drepper <drepper@gmail.com>
18427
18428 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18429 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18430 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18431 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18432 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18433 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18434 to compile strcasecmp and strncasecmp.
18435 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18436 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18437
18438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18439
76e3966e
UD
184402011-11-13 Ulrich Drepper <drepper@gmail.com>
18441
18442 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18443 locale-defines.sym to gen-as-const-headers.
18444 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18445 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18446 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18447 to compile strcasecmp and strncasecmp.
18448 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18449 strcasecmp_l and strncasecmp_l.
18450 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18451 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18452 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18453 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18454 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18455 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18456 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18457 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18458 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18459 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18460 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18461
ab26144e
UD
184622011-11-12 Ulrich Drepper <drepper@gmail.com>
18463
7edb22ef
UD
18464 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18465 result of SYSDEP_GETTIME_CPU to retval.
18466 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18467 parameter list to macro. Remove trailing semicolon. Adjust users.
18468
9694fc44
UD
18469 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18470 variable.
18471
8ad89ef8
UD
18472 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18473 mantissa words.
18474 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18475
0c822ef9
UD
18476 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18477 from unused variable.
18478
874e0564
UD
18479 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18480 DWARF definitions.
18481 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18482 for assembling.
18483
3a2edc79
UD
18484 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18485 over namespaces.
18486
f3c2577f
UD
18487 * sunrpc/rpc_prot.c (rejected): Fix case value.
18488
294ce126
UD
18489 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18490 unsigned long long int to avoid warnings in shift.
18491
5e2b63c6
UD
18492 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18493 of use of trans.
18494 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18495 variable tmp.
18496
e7f4b08e
UD
18497 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18498 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18499 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18500
ab26144e
UD
18501 * nis/nis_table.c (nis_list): Use variable of correct type for
18502 result of __follow_path call.
18503
8a6d5255
AZ
185042011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18505
18506 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18507 of math functions ceil, trunc, floor, round, and sqrt, when
18508 avaliable on the platform.
18509 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18510 name clash.
18511 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18512 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18513 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18514
aaddc98c
MP
185152011-10-30 Marek Polacek <mpolacek@redhat.com>
18516
18517 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18518 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18519
95b7042b
RM
185202011-11-11 Roland McGrath <roland@hack.frob.com>
18521
18522 * include/unistd.h: Fix __readlink return type.
18523 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18524
57769839
UD
185252011-11-11 Ulrich Drepper <drepper@gmail.com>
18526
18527 * stdlib/ucontext.h: Undo last change for makecontext.
18528
edc5984d
AS
185292011-11-11 Andreas Schwab <schwab@redhat.com>
18530
98591e58
AS
18531 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18532
edc5984d
AS
18533 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18534 * setjmp/setjmp.h: Mark functions as non-leaf.
18535 * setjmp/bits/setjmp2.h: Likewise.
18536 * stdlib/ucontext.h: Likewise.
18537
77cdc054
AS
185382011-11-10 Andreas Schwab <schwab@redhat.com>
18539
18540 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18541 (reused_arena): Don't check arena limit.
18542 (arena_get2): Atomically check arena limit.
18543
fe72eebd
UD
185442011-11-08 Ulrich Drepper <drepper@gmail.com>
18545
5f078c32
UD
18546 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18547 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18548
fe72eebd
UD
18549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18550 instructions.
18551
ae1bc2fa
AS
185522011-11-07 Andreas Schwab <schwab@redhat.com>
18553
7583a88d
AS
18554 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18555 handler when locking.
18556
ae1bc2fa
AS
18557 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18558 Fix size of allocated buffer.
18559
10fb0bfa
AS
185602011-11-04 Andreas Schwab <schwab@redhat.com>
18561
998832a4
AS
18562 [BZ #10103]
18563 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18564 declarations for long double functions.
18565 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18566
10fb0bfa
AS
18567 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18568
3d7ba52b
AS
185692011-11-03 Andreas Schwab <schwab@redhat.com>
18570
a9ae54a1
AS
18571 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18572 installed.
18573
3d7ba52b
AS
18574 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18575 is disabled.
18576
bc8db248
ST
185772011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18578
18579 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18580
45b96dd6
AS
185812011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18582
647776f6
AS
18583 * include/alloca.h (stackinfo_alloca_round): Define.
18584 (extend_alloca): Use it.
18585 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18586 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18587 here.
18588
d91a8b93
AS
18589 * scripts/check-local-headers.sh: Ignore libaudit.h.
18590
45b96dd6
AS
18591 * nscd/Makefile (extra-objs): Make recursively expanded.
18592
432d41ce
UD
185932011-11-01 Ulrich Drepper <drepper@gmail.com>
18594
34372fc6
UD
18595 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18596 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18597
fadb59f8
UD
18598 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18599 * posix/tst-rfc3484-2.c: Likewise.
18600 * posix/tst-rfc3484-3.c: Likewise.
18601
78239589
UD
18602 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18603 process_vm_writev.
18604 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18605 process_vm_writev.
18606 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18607 process_vm_writev from libc using GLIBC_2.15 version.
18608
432d41ce
UD
18609 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18610
02f9c6cf
PP
186112011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18612
18613 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18614 stack usage.
18615
3a2c0242
UD
186162011-10-31 Ulrich Drepper <drepper@gmail.com>
18617
f4ec4833
UD
18618 [BZ #13367]
18619 * nss/getent.c (initgroups_keys): Show error message in case no group
18620 names are given.
18621
3a2c0242
UD
18622 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18623 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18624 __bump_nl_timestamp.
18625 * nscd/connections (nscd_init): When host database is served open
18626 netlink socket and request notification about configuration changes.
18627 (main_loop_poll): Track netlink file descriptor and bump timestamp
18628 in case data becomes available.
18629 (main_loop_epoll): Likewise.
18630 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18631 (database_pers_head): Add extra_data fileds.
18632 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18633 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18634 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18635 Adjust caller.
18636 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18637 in6ai data, call __free_in6ai.
18638 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18639 Add -DHAVE_NETLINK.
18640 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18641 interface information. Reuse previous data if netlink timestamp
18642 is not changed.
18643 (__bump_nl_timestamp): New function.
18644 (__free_in6ai): New function.
18645
636064eb
UD
186462011-10-30 Ulrich Drepper <drepper@gmail.com>
18647
18648 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18649 close_not_cancel_no_status here.
18650 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18651
9beb2334
UD
186522011-10-29 Ulrich Drepper <drepper@gmail.com>
18653
6ef76f3b
UD
18654 [BZ #13276]
18655 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18656 return value.
18657
0ffc4f3e 18658 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18659 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18660 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18661
cb95113e
UD
186622011-07-03 Andreas Jaeger <aj@suse.de>
18663
18664 [BZ #10709]
18665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18666 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18667 * math/libm-test.inc (sin_test): Add test case.
18668
a1b560ff
UD
186692011-10-29 Ulrich Drepper <drepper@gmail.com>
18670
c9aaface
UD
18671 [BZ #13337]
18672 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18673 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18674
d272e7f1
UD
18675 * elf/chroot_canon.c (chroot_canon): Cleanups.
18676
1bc33071
UD
18677 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18678
1760874d
TJ
18679 [BZ #13335]
18680 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18681 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18682
51d91b18
UD
18683 * string/test-strchr.c: Make usable for strchrnul testing.
18684 * string/test-strchrnul.c: New file.
18685 * string/Makefile (strop-tests): Add strchrnul.
18686
a1b560ff 18687 * po/it.po: Update from translation team.
b611fb81 18688 * po/es.po: Likewise.
a1b560ff 18689
a5b81e1f
UD
186902011-10-28 Ulrich Drepper <drepper@gmail.com>
18691
fd52bc6d
UD
18692 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18693 the three constants needed as parameters. Drop the others.
18694 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18695 __m128i_strloadu_tolower.
52e4b9eb
UD
18696 Create and initialize variable zero and use it in all the places
18697 where _mm_setzero_si128 was used.
fd52bc6d 18698
a5b81e1f
UD
18699 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18700 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18701 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18702 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18703 anymore.
18704 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18705 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18706 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18707 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18708 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18709 __mpranred, __mptan.
18710 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18711 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18712 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18713 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18714 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18715 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18716 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18717 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18718 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18719
b4343346
AS
187202011-10-28 Andreas Schwab <schwab@redhat.com>
18721
0c92d8a8
AS
18722 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18723 redefine if SHARED.
18724 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18725
b4343346
AS
18726 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18727 wide char related routines to wcsmbs subdir.
18728
3871f58f
AS
187292011-10-27 Andreas Schwab <schwab@redhat.com>
18730
18731 [BZ #13344]
18732 * misc/sys/cdefs.h (__THROWNL): Define.
18733 * posix/unistd.h: Use __THREADNL instead of __THREAD
18734 for memory synchronization functions.
18735
94d44d9f
RM
187362011-10-26 Roland McGrath <roland@hack.frob.com>
18737
21b64b15 18738 [BZ #13349]
94d44d9f
RM
18739 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18740 doesn't exist.
18741 * manual/stdio.texi (Obstack Streams): Node removed.
18742
f6ce9294
AS
187432011-10-26 Andreas Schwab <schwab@redhat.com>
18744
80479147
AS
18745 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18746 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18747 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18748
f6ce9294
AS
18749 * math/math_private.h (math_force_eval): Allow non-addressable
18750 arguments.
18751 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18752
618280a1
UD
187532011-10-25 Ulrich Drepper <drepper@gmail.com>
18754
e0016b11
UD
18755 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18756 file is not needed.
18757
18758 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18759 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18760 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18761 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18763 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18764 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18765 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18766 Add AVX variants.
18767 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18768 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18769 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18770 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18771 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18772 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18773 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18774 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18775 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18776 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18777 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18778 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18779 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18780 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18781 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18782 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18783 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18784 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18785 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18786
18787 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18788 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18789
618280a1
UD
18790 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18791 place. Use VEX encoding when compiling for AVX.
18792
37822576
AS
187932011-10-25 Andreas Schwab <schwab@redhat.com>
18794
1f1e1947
AS
18795 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18796 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18797
37822576
AS
18798 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18799
31ea014d
UD
188002011-10-25 Ulrich Drepper <drepper@gmail.com>
18801
d7826aa1 18802 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18803 useless if() expression.
d7826aa1
UD
18804 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18805 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18806 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18807 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18808 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18809 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18810 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18811 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18812 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18813 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18814 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18815 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18816 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18817 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18818 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18819 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18820 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18822 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18823
31ea014d
UD
18824 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18825
16437fec
AS
188262011-10-25 Andreas Schwab <schwab@redhat.com>
18827
18828 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18829 condition.
18830 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18831
31d3cc00
UD
188322011-10-25 Ulrich Drepper <drepper@gmail.com>
18833
18834 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18835 .text section. Avoid duplicate constants.
18836 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18842 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18844 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18845 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18846 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18847 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18848 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18849 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18850 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18852 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18853 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18855 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18856 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18857 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18858 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18859 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18860 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18861 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18862 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18863 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18864 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18865 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18866 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18867 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18868 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18869 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18870 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18871 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18872 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18873 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18874 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18875 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18876 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18877 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18878 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18879 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18880 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18881
58985aa9
UD
188822011-10-24 Ulrich Drepper <drepper@gmail.com>
18883
202c9deb
UD
18884 * sysdeps/x86_64/dla.h: Move to ...
18885 * sysdeps/x86_64/fpu/dla.h: ...here.
18886 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18887 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18888
af968f62
UD
18889 * config.make.in: Add have-mfma4 entry.
18890 * configure.in: Substitute libc_cv_cc_fma4.
18891 * math/Makefile (dbl-only-routines): Add sincostab.
18892 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18893 Use __sincostab not sincos.
18894 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18895 name is a macro.
18896 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18898 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18899 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18900 using __copysign.
18901 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18902 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18903 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18904 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18905 and __inv.
18906 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18907 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18908 __copysign.
18909 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18910 define aliases when function name is a macro.
18911 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18912 sysdeps/ieee754/dbl-64/sincos.tbl.
18913 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18914 fma4-enabled routines.
18915 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18916 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18917 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18918 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18919 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18920 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18921 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18922 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18923 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18924 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18925 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18926 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18927 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18928 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18929 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18930 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18931 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18932 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18933 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18934 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18935 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18936 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18937 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18938 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18939 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18940 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18941 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18942 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18943 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18944 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18945
58985aa9
UD
18946 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18947 rename.
18948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18949 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18951 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18952 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18953 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18954 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18955 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18956
a201fbcf
AS
189572011-10-24 Andreas Schwab <schwab@redhat.com>
18958
18959 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18960
fc2ee42a
LD
189612011-10-23 Ulrich Drepper <drepper@gmail.com>
18962
bb3129bd
UD
18963 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18964
0275fff8
UD
18965 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18966 prediction.
18967 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18968
2fa2ae85
UD
18969 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18970 Remove unused variable magic_bits.
18971 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18972
fc2ee42a
LD
18973 * string/strnlen.c: Define and use STRNLEN macro.
18974 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18975 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18976 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18977 * wcsmbs/wcslen.c: Define and use WCSLEN.
18978 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18979 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18980 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18981 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18982 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18983 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18984 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18985
ce7dd29f
LD
189862011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18987
18988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18989 strnlen-sse2-no-bsf.
18990 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18992 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18993 Add strnlen support.
18994 (USE_AS_STRNLEN): New macro.
18995 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18996 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18997 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18998 * sysdeps/x86_64/wcslen.S: New file.
18999
979c70a3
MZ
190002011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
19001
19002 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
19003 XMM-moves are used for copying on small sizes.
19004
2d09f82f
LD
190052011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19006
19007 * wcsmbs/Makefile (strop-tests): Add wcschr.
19008 * wcsmbs/test-wcschr.c: New file.
19009 * string/test-strchr.c: Update.
19010 Add wcschr support.
19011 (WIDE): New macro.
19012
619fccca
LD
190132011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19014
2d09f82f 19015 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
19016 * wcsmbs/test-wcslen.c: New file.
19017 * string/test-strlen.c: Update.
19018 Add wcslen support.
19019 (WIDE): New macro.
19020
09f699ea
UD
190212011-10-23 Ulrich Drepper <drepper@gmail.com>
19022
19023 * po/it.po: Update from translation team.
19024
95584d3b
LD
190252011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19026
19027 * sysdeps/x86_64/wcscmp.S: Update.
19028 Fix wrong comparison semantics.
19029 wcscmp shall use signed comparison not unsigned.
19030 Don't use substraction to avoid overflow bug.
19031 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19032 * wcsmbc/wcscmp.c: Likewise.
19033 * string/test-strcmp.c: Likewise.
19034 Add new tests to check cases with negative values.
19035
c8b3296b
UD
190362011-10-23 Ulrich Drepper <drepper@gmail.com>
19037
19038 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19039 * sysdeps/x86_64/dla.h: ...here. New file.
19040 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19045 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19046 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19047 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19048 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19049
246ad57a
AS
190502011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19051
19052 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19053 __ynl_finite aliases.
19054
a1a87169
UD
190552011-10-22 Ulrich Drepper <drepper@gmail.com>
19056
0d355eb7
UD
19057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19058
a1a87169
UD
19059 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19060 define DLA_FMA.
19061 [DLA_FMA] (EMULV): Use DLA_FMA.
19062 [DLA_FMA] (MUL12): Use EMULV.
19063 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19064 that are not needed.
19065 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19066 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19067 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19068 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19069 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19070 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19071 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19072
ee2aafe0
AS
190732011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19074
19075 * math/s_nan.c: Undef __nan.
19076 * math/s_nanf.c: Undef __nanf.
19077 * math/s_nanl.c: Undef __nanl.
19078 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19079 "math_private.h".
19080
bc62c2fb
UD
190812011-10-22 Ulrich Drepper <drepper@gmail.com>
19082
77425c63
UD
19083 * math/s_catan.c: Add branch predictions.
19084 * math/s_catanf.c: Likewise.
19085 * math/s_catanh.c: Likewise.
19086 * math/s_catanhf.c: Likewise.
19087 * math/s_catanhl.c: Likewise.
19088 * math/s_catanl.c: Likewise.
19089 * math/s_cexp.c: Likewise.
19090 * math/s_cexpf.c: Likewise.
19091 * math/s_cexpl.c: Likewise.
19092 * math/s_clog.c: Likewise.
19093 * math/s_clog10.c: Likewise.
19094 * math/s_clog10f.c: Likewise.
19095 * math/s_clog10l.c: Likewise.
19096 * math/s_clogf.c: Likewise.
19097 * math/s_clogl.c: Likewise.
19098 * math/s_csqrt.c: Likewise.
19099 * math/s_csqrtf.c: Likewise.
19100 * math/s_csqrtl.c: Likewise.
19101 * math/s_ctanf.c: Likewise.
19102 * math/s_ctanh.c: Likewise.
19103 * math/s_ctanhf.c: Likewise.
19104 * math/s_ctanhl.c: Likewise.
19105 * math/s_ctanl.c: Likewise.
19106
bc62c2fb
UD
19107 * math/math_private.h: Define __nan, __nanf, __nanl.
19108 * math/s_cacosh.c: Include <math_private.h>.
19109 * math/s_cacoshl.c: Likewise.
19110 * math/s_casinh.c: Likewise.
19111 * math/s_casinhf.c: Likewise.
19112 * math/s_casinhl.c: Likewise.
19113 * math/s_ccos.c: Rely entire on ccosh.
19114 * math/s_ccosf.c: Rely entire on ccoshf.
19115 * math/s_ccosl.c: Rely entirely on ccoshl.
19116 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19117 Remove tests for FE_INVALID.
19118 * math/s_ccoshf.c: Likewise.
19119 * math/s_ccoshl.c: Likewise.
19120 * math/s_csin.c: Likewise.
19121 * math/s_csinf.c: Likewise.
19122 * math/s_csinh.c Likewise.
19123 * math/s_csinhf.c: Likewise.
19124 * math/s_csinhl.c: Likewise.
19125 * math/s_csinl.c: Likewise.
19126 * math/s_ctan.c: Likewise.
19127 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19128 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19129 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19130
8ec250a4
UD
191312011-10-21 Ulrich Drepper <drepper@gmail.com>
19132
c196fed8
UD
19133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19134 compilation problems.
19135
8ec250a4
UD
19136 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19137 __builtin_expect.
19138
8d4f46c6
UD
191392011-10-20 Ulrich Drepper <drepper@gmail.com>
19140
ed72b654
UD
19141 * sysdeps/i386/configure.in: Test for -mfma4 option.
19142 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19143 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19144 COMMON_CPUID_INDEX_80000001.
19145 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19146 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19147 use it if FMA3 is not supported.
19148 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19149
8d4f46c6
UD
19150 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19151 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19152
d45c60c2
AS
191532011-10-20 Andreas Schwab <schwab@redhat.com>
19154
19155 [BZ #12892]
19156 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19157 it would create a cycle with a link time dependency.
19158
d9a4d2ab
UD
191592011-10-19 Ulrich Drepper <drepper@gmail.com>
19160
855d1560
UD
19161 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19162 instruction.
19163 * string/Makefile (strop-tests): Add rawmemchr.
19164 * string/test-rawmemchr.c: New file.
19165
d9a4d2ab
UD
19166 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19167 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19168 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19169 when compiling str{,n}casecmp and when AVX is available. Hook up
19170 new optimized code in initializers.
19171
8f3b1ffe
AS
191722011-10-19 Andreas Schwab <schwab@redhat.com>
19173
19174 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19175 __feraiseexcept instead of feraiseexcept.
19176
d38f1dba
UD
191772011-10-18 Ulrich Drepper <drepper@gmail.com>
19178
d9a8d0ab
UD
19179 * math/math_private.h: Define defaults for libc_fetestexcept and
19180 libc_feupdateenv.
19181 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19182 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19183 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19184 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19185 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19186 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19187 libc_fetestexcept and libc_feupdateenv.
19188
4855e3dd
UD
19189 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19190 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19191 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19192 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19193 libc_feholdexcept_setround.
19194
581d30e3
UD
19195 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19196 Add s_nearbyint-c and s_nearbyintf-c.
19197 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19198 nearbyintf inlines.
19199 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19200 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19201 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19202 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19203
d38f1dba
UD
19204 * math/math_private.h: Define defaults for libc_fegetround,
19205 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19206 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19207 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19208 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19209 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19210 standard functions.
19211 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19212 Remove comments and hacks for old compiler versions.
19213 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19214 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19215 libc_feholdexceptl.
19216
caa6c9d8
AS
192172011-10-18 Andreas Schwab <schwab@redhat.com>
19218
19219 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19220 (__feraiseexcept_renamed): Add __NTH.
19221 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19222 namespace violations.
19223
97c066e6
UD
192242011-10-17 Ulrich Drepper <drepper@gmail.com>
19225
99ce7b04
UD
19226 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19227
1004d182
UD
19228 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19229
228a984d
UD
19230 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19231 recently added interfaces.
19232 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19233
c8553a6a
UD
19234 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19235 about macro parameter expansion.
19236
ed22dcf6
UD
19237 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19238 __NO_MATH_INLINES is defined. Cleanups.
19239
19240 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19241 and __floorf is target has SSE4.1.
19242 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19243 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19244 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19245 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19246
b171c137
UD
19247 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19248 name.
19249 (floorf): Likewise.
19250
97c066e6
UD
19251 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19252
629f62ef
AS
192532011-10-17 Andreas Schwab <schwab@redhat.com>
19254
49a43d80
AS
19255 * misc/sys/cdefs.h: Fix last change.
19256
629f62ef
AS
19257 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19258 database lookup.
19259
e453f6cd
UD
192602011-10-16 Ulrich Drepper <drepper@gmail.com>
19261
aa78043a
UD
19262 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19263
ad0f5cad
UD
19264 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19265 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19266 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19267 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19269 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19270 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19271 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19272 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19273 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19274 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19275 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19276 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19277 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19278 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19279 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19280 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19281 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19282 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19283 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19284 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19285 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19286
19287 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19288 ceil, ceilf, floor, floorf.
19289
19290 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19291 Perform IRELATIVE relocations last.
19292
e453f6cd
UD
19293 * elf/do-rel.h: Add another parameter nrelative, replacing the
19294 local variable with the same name. Change name of the function
19295 to end in Rel or Rela (uppercase).
19296 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19297 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19298 elf_dynamic_do_##reloc function.
19299
fd5bdc09
UD
193002011-10-15 Ulrich Drepper <drepper@gmail.com>
19301
79b195b5
UD
19302 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19303 is sufficient, at least on modern CPUs.
19304
d4a28569
UD
19305 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19306
b61099b5
UD
19307 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19308 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19309
bcf01e6d
UD
19310 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19311 __expl_finite.
19312 * math/bits/math-finite.h: Add entries for exp.
19313 * math/e_expl.c: Add __*_finite alias.
19314 * sysdeps/i386/fpu/e_exp.S: Likewise.
19315 * sysdeps/i386/fpu/e_expf.S: Likewise.
19316 * sysdeps/i386/fpu/e_expl.c: Likewise.
19317 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19318 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19319 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19320 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19321 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19322 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19323 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19324
ba1a0d59
UD
19325 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19326 is sufficient, at least on modern CPUs.
19327
fd5bdc09
UD
19328 * ctype/ctype-info.c (__ctype_init): Define.
19329 * include/ctype.h (__ctype_init): Declare.
19330 (__ctype_b_loc): The variable is always initialized.
19331 (__ctype_toupper_loc): Likewise.
19332 (__ctype_tolower_loc): Likewise.
19333 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19334 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19335
7872cfb0
AS
193362011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19337
b468825a
AS
19338 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19339
7872cfb0
AS
19340 * configure.in: Also look in $cxxmachine/include for C++ system
19341 headers.
19342
be13f7bf
LD
193432011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19344
19345 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19346 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19347 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19348 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19349 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19350 (USE_AS_WMEMCMP): New macro.
19351 Fixing indents.
19352 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19353 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19354 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19355 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19356 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19357 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19358 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19359 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19360 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19361 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19362 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19363 (USE_AS_WMEMCMP): New macro.
19364 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19365 * sysdeps/string/test-memcmp.c: Update.
19366 Fix simple_wmemcmp.
19367 Add new tests.
19368 * wcsmbs/wmemcmp.c: Update.
19369 (WMEMCMP): New macro.
19370 Fix overflow bug.
19371
556a2007
AJ
193722011-10-12 Andreas Jaeger <aj@suse.de>
19373
19374 [BZ #13268]
19375 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19376
538faaa7
UD
193772011-10-15 Ulrich Drepper <drepper@gmail.com>
19378
ab6737ff
UD
19379 * libio/iofwide.c (do_length): Avoid warning.
19380
538faaa7
UD
19381 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19382
396a21b1
UD
193832011-10-14 Ulrich Drepper <drepper@gmail.com>
19384
cdf2901f
UD
19385 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19386
38ad40ce
UD
19387 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19388 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19389 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19390 * sysdeps/i386/i686/fpu/e_log.S: New file.
19391 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19392 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19393
396a21b1
UD
19394 * ctype/ctype.h: Add support for inlined isXXX functions when
19395 compiling C++ code.
19396
6b1f68c9
AS
193972011-10-14 Andreas Schwab <schwab@redhat.com>
19398
349290c0
AS
19399 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19400
6b1f68c9
AS
19401 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19402
f2282d42
RM
194032011-10-13 Roland McGrath <roland@hack.frob.com>
19404
19405 [BZ #13291]
19406 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19407
5298ffa8
AS
194082011-10-13 Andreas Schwab <schwab@redhat.com>
19409
714fad23
AS
19410 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19411 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19412 feraiseexcept.
19413
81dcc7fb
AS
19414 * sysdeps/x86_64/memrchr.S: Check for zero size.
19415
5298ffa8
AS
19416 * string/stratcliff.c: Add memrchr tests.
19417
951fbcec
LD
194182011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19419
19420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19421 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19422 rawmemchr-sse2 rawmemchr-sse2-bsf.
19423 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19424 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19425 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19426 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19427 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19428 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19429 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19430 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19431 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19432 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19433 * string/memrchr.c (MEMRCHR): New macro.
19434
0ac5ae23
UD
194352011-10-12 Ulrich Drepper <drepper@gmail.com>
19436
19437 Add integration with gcc's -ffinite-math-only and optimize wrapper
19438 functions in libm.
19439 * Versions.def: Define GLIBC_2.15 version for libm.
19440 * math/Makefile (headers): Add bits/math-finite.h.
19441 * math/bits/math-finite.h: New file.
19442 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19443 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19444 * math/e_acoshl.c: Add __*_finite alias.
19445 * math/e_acosl.c: Likewise.
19446 * math/e_asinl.c: Likewise.
19447 * math/e_atan2l.c: Likewise.
19448 * math/e_atanhl.c: Likewise.
19449 * math/e_coshl.c: Likewise.
19450 * math/e_exp10.c: Likewise.
19451 * math/e_exp10f.c: Likewise.
19452 * math/e_exp10l.c: Likewise.
19453 * math/e_exp2l.c: Likewise.
19454 * math/e_fmodl.c: Likewise.
19455 * math/e_gammal_r.c: Likewise.
19456 * math/e_hypotl.c: Likewise.
19457 * math/e_j0l.c: Likewise.
19458 * math/e_j1l.c: Likewise.
19459 * math/e_jnl.c: Likewise.
19460 * math/e_lgammal_r.c: Likewise.
19461 * math/e_log10l.c: Likewise.
19462 * math/e_log2l.c: Likewise.
19463 * math/e_logl.c: Likewise.
19464 * math/e_powl.c: Likewise.
19465 * math/e_sinhl.c: Likewise.
19466 * math/e_sqrtl.c: Likewise.
19467 * math/e_scalb.c: Completely rewritten and optimized.
19468 * math/e_scalbf.c: Likewise.
19469 * math/e_scalbl.c: Likewise.
19470 * math/w_acos.c: Likewise.
19471 * math/w_acosf.c: Likewise.
19472 * math/w_acosl.c: Likewise.
19473 * math/w_acosh.c: Likewise.
19474 * math/w_acoshf.c: Likewise.
19475 * math/w_acoshl.c: Likewise.
19476 * math/w_asin.c: Likewise.
19477 * math/w_asinf.c: Likewise.
19478 * math/w_asinl.c: Likewise.
19479 * math/w_atan2.c: Likewise.
19480 * math/w_atan2f.c: Likewise.
19481 * math/w_atan2l.c: Likewise.
19482 * math/w_atanh.c: Likewise.
19483 * math/w_atanhf.c: Likewise.
19484 * math/w_atanhl.c: Likewise.
19485 * math/w_exp10.c: Likewise.
19486 * math/w_exp10f.c: Likewise.
19487 * math/w_exp10l.c: Likewise.
19488 * math/w_fmod.c: Likewise.
19489 * math/w_fmodf.c: Likewise.
19490 * math/w_fmodl.c: Likewise.
19491 * math/w_j0.c: Likewise.
19492 * math/w_j0f.c: Likewise.
19493 * math/w_j0l.c: Likewise.
19494 * math/w_j1.c: Likewise.
19495 * math/w_j1f.c: Likewise.
19496 * math/w_j1l.c: Likewise.
19497 * math/w_jn.c: Likewise.
19498 * math/w_jnf.c: Likewise.
19499 * math/w_log.c: Likewise.
19500 * math/w_logf.c: Likewise.
19501 * math/w_logl.c: Likewise.
19502 * math/w_log10.c: Likewise.
19503 * math/w_log10f.c: Likewise.
19504 * math/w_log10l.c: Likewise.
19505 * math/w_log2.c: Likewise.
19506 * math/w_log2f.c: Likewise.
19507 * math/w_log2l.c: Likewise.
19508 * math/w_pow.c: Likewise.
19509 * math/w_powf.c: Likewise.
19510 * math/w_powl.c: Likewise.
19511 * math/w_remainder.c: Likewise.
19512 * math/w_remainderf.c: Likewise.
19513 * math/w_remainderl.c: Likewise.
19514 * math/w_scalb.c: Likewise.
19515 * math/w_scalbf.c: Likewise.
19516 * math/w_scalbl.c: Likewise.
19517 * math/w_sqrt.c: Likewise.
19518 * math/w_sqrtf.c: Likewise.
19519 * math/w_sqrtl.c: Likewise.
19520 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19521 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19522 used.
19523 * math/math_private.h: Declare __kernel_standard_f.
19524 * math/w_cosh.c: Remove cruft and optimize a bit.
19525 * math/w_coshf.c: Likewise.
19526 * math/w_coshl.c: Likewise.
19527 * math/w_exp2.c: Likewise.
19528 * math/w_exp2f.c: Likewise.
19529 * math/w_exp2l.c: Likewise.
19530 * math/w_hypot.c: Likewise.
19531 * math/w_hypotf.c: Likewise.
19532 * math/w_hypotl.c: Likewise.
19533 * math/w_lgamma.c: Likewise.
19534 * math/w_lgamma_r.c: Likewise.
19535 * math/w_lgammaf.c: Likewise.
19536 * math/w_lgammaf_r.c: Likewise.
19537 * math/w_lgammal.c: Likewise.
19538 * math/w_lgammal_r.c: Likewise.
19539 * math/w_sinh.c: Likewise.
19540 * math/w_sinhf.c: Likewise.
19541 * math/w_sinhl.c: Likewise.
19542 * math/w_tgamma.c: Likewise.
19543 * math/w_tgammaf.c: Likewise.
19544 * math/w_tgammal.c: Likewise.
19545 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19547 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19548 Minor optimizations. Pretty printing. Remove cruft.
19549 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19550 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19551 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19552 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19553 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19554 * sysdeps/i386/fpu/e_asin.S: Likewise.
19555 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19556 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19557 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19558 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19559 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19560 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19561 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19562 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19563 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19564 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19565 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19566 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19567 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19568 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19569 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19570 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19571 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19572 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19573 * sysdeps/i386/fpu/e_log.S: Likewise.
19574 * sysdeps/i386/fpu/e_log10.S: Likewise.
19575 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19576 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19577 * sysdeps/i386/fpu/e_log2.S: Likewise.
19578 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19579 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19580 * sysdeps/i386/fpu/e_logf.S: Likewise.
19581 * sysdeps/i386/fpu/e_logl.S: Likewise.
19582 * sysdeps/i386/fpu/e_pow.S: Likewise.
19583 * sysdeps/i386/fpu/e_powf.S: Likewise.
19584 * sysdeps/i386/fpu/e_powl.S: Likewise.
19585 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19586 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19587 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19588 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19589 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19590 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19591 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19592 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19593 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19597 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19598 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19599 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19600 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19601 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19602 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19603 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19604 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19605 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19607 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19608 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19610 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19611 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19612 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19613 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19614 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19615 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19616 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19617 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19618 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19619 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19620 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19621 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19622 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19623 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19624 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19625 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19626 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19627 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19628 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19629 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19630 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19631 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19632 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19633 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19634 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19635 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19636 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19637 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19638 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19639 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19640 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19644 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19645 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19646 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19647 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19648 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19649 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19650 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19651 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19652 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19653 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19654 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19655 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19656 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19657 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19658 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19659 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19660 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19661 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19662 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19663 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19664 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19665 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19666 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19667 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19668 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19669 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19670 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19671 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19672 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19673 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19674 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19675 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19676 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19677 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19678 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19679 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19680 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19681 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19682 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19683 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19684 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19685 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19686 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19687 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19688 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19689 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19690 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19691 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19692 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19693 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19694 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19695 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19696 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19697 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19698 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19699 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19700 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19701 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19702 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19703 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19704 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19705 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19706 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19707 (__isnanf): Likewise.
19708 (__isinf_ns): Likewise.
19709 (__isinf_nsf): Likewise.
19710 (__finite): Likewise.
19711 (__finitef): Likewise.
19712 (__ieee754_sqrt): Define as macro.
19713 (__ieee754_sqrtf): Define as macro.
19714 (__ieee754_sqrtl): Define as macro.
19715 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19716 inlined copy.
19717 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19718 __FINITE_MATH_ONLY__ consistent.
19719 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19720
12cc2fcd
AS
197212011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19722
a843a204
AS
19723 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19724 of rawmemchr.
19725
12cc2fcd
AS
19726 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19727
c853acd5
UD
197282011-10-09 Ulrich Drepper <drepper@gmail.com>
19729
19730 * po/ja.po: Update from translation team.
19731
c658d255
RM
197322011-10-08 Roland McGrath <roland@hack.frob.com>
19733
110946e4
RM
19734 * locale/programs/locarchive.c (prepare_address_space): New function.
19735 (create_archive, enlarge_archive, open_archive): Use it.
19736
50604220
RM
19737 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19738 inside [SHARED], where it is used.
19739
c658d255
RM
19740 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19741
19742 * nss/getent.c (netgroup_keys): Remove unused variable.
19743 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19744
6a621eb7
UD
197452011-10-08 Ulrich Drepper <drepper@gmail.com>
19746
7edb55ce
UD
19747 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19748 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19750 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19751 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19752 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19753 * math/Makefile (libm-calls): Add s_isinf_ns.
19754 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19755 * math/multc3.c: Likewise.
19756 * math/s_casin.c: Likewise.
19757 * math/s_casinf.c: Likewise.
19758 * math/s_casinl.c: Likewise.
19759 * math/s_ccos.c: Likewise.
19760 * math/s_ccosf.c: Likewise.
19761 * math/s_ccosl.c: Likewise.
19762 * math/s_ctan.c: Likewise.
19763 * math/s_ctanf.c: Likewise.
19764 * math/s_ctanh.c: Likewise.
19765 * math/s_ctanhf.c: Likewise.
19766 * math/s_ctanhl.c: Likewise.
19767 * math/s_ctanl.c: Likewise.
19768 * math/w_fmod.c: Likewise.
19769 * math/w_fmodf.c: Likewise.
19770 * math/w_fmodl.c: Likewise.
19771 * math/w_remainder.c: Likewise.
19772 * math/w_remainderf.c: Likewise.
19773 * math/w_remainderl.c: Likewise.
19774 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19775 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19776 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19778 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19779 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19780 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19781 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19782
187da0ae
UD
19783 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19784 of the number.
19785 * stdio-common/printf_fphex.c: Likewise.
19786 * stdio-common/printf_size.c: Likewise.
19787
9277c064
UD
19788 * math/e_exp10.c: Include math_private.h using <...> not "...".
19789 * math/e_exp10f.c: Likewise.
19790 * math/e_exp10l.c: Likewise.
19791 * math/e_exp2l.c: Likewise.
19792 * math/e_j0l.c: Likewise.
19793 * math/e_j1l.c: Likewise.
19794 * math/e_jnl.c: Likewise.
19795 * math/e_lgammal_r.c: Likewise.
19796 * math/e_rem_pio2l.c: Likewise.
19797 * math/e_scalb.c: Likewise.
19798 * math/e_scalbf.c: Likewise.
19799 * math/e_scalbl.c: Likewise.
19800 * math/k_cosl.c: Likewise.
19801 * math/k_sinl.c: Likewise.
19802 * math/k_tanl.c: Likewise.
19803 * math/s_cacoshf.c: Likewise.
19804 * math/s_catan.c: Likewise.
19805 * math/s_catanf.c: Likewise.
19806 * math/s_catanh.c: Likewise.
19807 * math/s_catanhf.c: Likewise.
19808 * math/s_catanhl.c: Likewise.
19809 * math/s_catanl.c: Likewise.
19810 * math/s_ccosh.c: Likewise.
19811 * math/s_ccoshf.c: Likewise.
19812 * math/s_ccoshl.c: Likewise.
19813 * math/s_cexp.c: Likewise.
19814 * math/s_cexpf.c: Likewise.
19815 * math/s_cexpl.c: Likewise.
19816 * math/s_clog.c: Likewise.
19817 * math/s_clog10.c: Likewise.
19818 * math/s_clog10f.c: Likewise.
19819 * math/s_clog10l.c: Likewise.
19820 * math/s_clogf.c: Likewise.
19821 * math/s_clogl.c: Likewise.
19822 * math/s_csin.c: Likewise.
19823 * math/s_csinf.c: Likewise.
19824 * math/s_csinh.c: Likewise.
19825 * math/s_csinhf.c: Likewise.
19826 * math/s_csinhl.c: Likewise.
19827 * math/s_csinl.c: Likewise.
19828 * math/s_csqrt.c: Likewise.
19829 * math/s_csqrtf.c: Likewise.
19830 * math/s_csqrtl.c: Likewise.
19831 * math/s_ctan.c: Likewise.
19832 * math/s_ctanf.c: Likewise.
19833 * math/s_ctanh.c: Likewise.
19834 * math/s_ctanhf.c: Likewise.
19835 * math/s_ctanhl.c: Likewise.
19836 * math/s_ctanl.c: Likewise.
19837 * math/s_ldexp.c: Likewise.
19838 * math/s_ldexpf.c: Likewise.
19839 * math/s_ldexpl.c: Likewise.
19840 * math/s_significand.c: Likewise.
19841 * math/s_significandf.c: Likewise.
19842 * math/s_significandl.c: Likewise.
19843 * math/w_acos.c: Likewise.
19844 * math/w_acosf.c: Likewise.
19845 * math/w_acosh.c: Likewise.
19846 * math/w_acoshf.c: Likewise.
19847 * math/w_acoshl.c: Likewise.
19848 * math/w_acosl.c: Likewise.
19849 * math/w_asin.c: Likewise.
19850 * math/w_asinf.c: Likewise.
19851 * math/w_asinl.c: Likewise.
19852 * math/w_atan2.c: Likewise.
19853 * math/w_atan2f.c: Likewise.
19854 * math/w_atan2l.c: Likewise.
19855 * math/w_atanh.c: Likewise.
19856 * math/w_atanhf.c: Likewise.
19857 * math/w_atanhl.c: Likewise.
19858 * math/w_cosh.c: Likewise.
19859 * math/w_coshf.c: Likewise.
19860 * math/w_coshl.c: Likewise.
19861 * math/w_dremf.c: Likewise.
19862 * math/w_exp10.c: Likewise.
19863 * math/w_exp10f.c: Likewise.
19864 * math/w_exp10l.c: Likewise.
19865 * math/w_exp2.c: Likewise.
19866 * math/w_exp2f.c: Likewise.
19867 * math/w_fmod.c: Likewise.
19868 * math/w_fmodf.c: Likewise.
19869 * math/w_fmodl.c: Likewise.
19870 * math/w_hypot.c: Likewise.
19871 * math/w_hypotf.c: Likewise.
19872 * math/w_hypotl.c: Likewise.
19873 * math/w_j0.c: Likewise.
19874 * math/w_j0f.c: Likewise.
19875 * math/w_j0l.c: Likewise.
19876 * math/w_j1.c: Likewise.
19877 * math/w_j1f.c: Likewise.
19878 * math/w_j1l.c: Likewise.
19879 * math/w_jn.c: Likewise.
19880 * math/w_jnf.c: Likewise.
19881 * math/w_jnl.c: Likewise.
19882 * math/w_lgamma.c: Likewise.
19883 * math/w_lgamma_r.c: Likewise.
19884 * math/w_lgammaf.c: Likewise.
19885 * math/w_lgammaf_r.c: Likewise.
19886 * math/w_lgammal.c: Likewise.
19887 * math/w_lgammal_r.c: Likewise.
19888 * math/w_log.c: Likewise.
19889 * math/w_log10.c: Likewise.
19890 * math/w_log10f.c: Likewise.
19891 * math/w_log10l.c: Likewise.
19892 * math/w_log2.c: Likewise.
19893 * math/w_log2f.c: Likewise.
19894 * math/w_log2l.c: Likewise.
19895 * math/w_logf.c: Likewise.
19896 * math/w_logl.c: Likewise.
19897 * math/w_pow.c: Likewise.
19898 * math/w_powf.c: Likewise.
19899 * math/w_powl.c: Likewise.
19900 * math/w_remainder.c: Likewise.
19901 * math/w_remainderf.c: Likewise.
19902 * math/w_remainderl.c: Likewise.
19903 * math/w_scalb.c: Likewise.
19904 * math/w_scalbf.c: Likewise.
19905 * math/w_scalbl.c: Likewise.
19906 * math/w_sinh.c: Likewise.
19907 * math/w_sinhf.c: Likewise.
19908 * math/w_sinhl.c: Likewise.
19909 * math/w_sqrt.c: Likewise.
19910 * math/w_sqrtf.c: Likewise.
19911 * math/w_sqrtl.c: Likewise.
19912 * math/w_tgamma.c: Likewise.
19913 * math/w_tgammaf.c: Likewise.
19914 * math/w_tgammal.c: Likewise.
19915
6a621eb7
UD
19916 * po/ja.po: Update from translation team.
19917
bf582445
AJ
199182011-09-29 Andreas Jaeger <aj@suse.de>
19919
f9efbf3a
AJ
19920 [BZ #13179]
19921 * sunrpc/netname.c (netname2host): Fix logic.
19922
bf582445
AJ
19923 [BZ #6779]
19924 [BZ #6783]
19925 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19926 correctly.
19927 * math/w_remainder.c (__remainder): Likewise.
19928 * math/w_remainderf.c (__remainderf): Likewise.
19929 * math/libm-test.inc (remainder_test): Add test cases.
19930
48693bea
AK
199312011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19932
19933 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19934 sdiv_qrnnd.
19935
42622229
LD
199362011-10-07 Ulrich Drepper <drepper@gmail.com>
19937
19938 * string/test-memcmp.c: Avoid unncessary #defines.
19939 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19940
093ecf92
LD
199412011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19942
19943 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19944 Use new sse2 version for core i3 - i7 as it's faster
19945 than sse42 version.
19946 (bit_Prefer_PMINUB_for_stringop): New.
19947 * sysdeps/x86_64/rawmemchr.S: Update.
19948 Replace with faster SSE2 version.
19949 * sysdeps/x86_64/memrchr.S: New file.
19950 * sysdeps/x86_64/memchr.S: Update.
19951 Replace with faster SSE2 version.
19952
fde56e5c
MP
199532011-09-12 Marek Polacek <mpolacek@redhat.com>
19954
19955 * elf/dl-load.c (lose): Add cast to avoid warning.
19956
21fd49a9
UD
199572011-10-07 Ulrich Drepper <drepper@gmail.com>
19958
5a06e643
UD
19959 * po/ca.po: Update from translation team.
19960
684ae515
UD
19961 * inet/getnetgrent_r.c: Hook up nscd.
19962 * nscd/Makefile (routines): Add nscd_netgroup.
19963 (nscd-modules): Add netgroupcache.
19964 (CFLAGS-netgroupcache.c): Define.
19965 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19966 (cache_search): Add const to second parameter.
19967 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19968 INNETGR.
19969 (dbs): Add netgrdb entry.
19970 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19971 (verify_persistent_db): Handle netgrdb.
19972 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19973 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19974 GETFDNETGR.
19975 (netgroup_response_header): Define.
19976 (innetgroup_response_header): Define.
19977 (datahead): Add netgroup_response_header and innetgroup_response_header
19978 elements.
19979 * nscd/nscd.conf: Add entries for netgroup cache.
19980 * nscd/nscd.h (dbtype): Add netgrdb.
19981 (_PATH_NSCD_NETGROUP_DB): Define.
19982 (netgroup_iov_disabled): Declare.
19983 (xmalloc, xcalloc, xrealloc): Move declarations here.
19984 (cache_search): Adjust prototype.
19985 Add netgroup-related prototypes.
19986 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19987 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19988 (__nscd_innetgr): Declare.
19989 * nscd/selinux.c (perms): Use access_vector_t as element type and
19990 add netgroup-related initializers.
19991 * nscd/netgroupcache.c: New file.
19992 * nscd/nscd_netgroup.c: New file.
19993 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19994 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19995 For four parameters use innetgr.
19996 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19997 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19998 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19999 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
20000
21fd49a9
UD
20001 * nscd/connections.c (register_traced_file): Don't register file
20002 for disabled databases.
20003
054c0457
UD
200042011-10-06 Ulrich Drepper <drepper@gmail.com>
20005
32b63198
UD
20006 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
20007
054c0457
UD
20008 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
20009 from tree and freeing node.
20010
64031225
JO
200112011-09-25 Jiri Olsa <jolsa@redhat.com>
20012
20013 * nss/nsswitch.c (__nss_database_lookup): Handle
20014 nss_parse_service_list out of memory case.
20015
0490345c
JO
200162011-09-15 Jiri Olsa <jolsa@redhat.com>
20017
20018 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20019 out of memory case.
20020
3a62d00d
AS
200212011-10-04 Andreas Schwab <schwab@redhat.com>
20022
20023 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20024 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20025 pass it down.
20026 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20027 elf_machine_rela, elf_machine_lazy_rel.
20028 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20029 (ELF_DYNAMIC_DO_REL): Likewise.
20030 (ELF_DYNAMIC_DO_RELA): Likewise.
20031 (ELF_DYNAMIC_RELOCATE): Likewise.
20032 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20033 to ELF_DYNAMIC_DO_REL.
20034 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20035 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20036 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20037 elf_machine_rela.
20038 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20039 skip_ifunc, don't call ifunc function if non-zero.
20040 (elf_machine_rela): Likewise.
20041 (elf_machine_lazy_rel): Likewise.
20042 (elf_machine_lazy_rela): Likewise.
20043 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20044 (elf_machine_lazy_rel): Likewise.
20045 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20046 Likewise.
20047 (elf_machine_lazy_rel): Likewise.
20048 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20049 Likewise.
20050 (elf_machine_lazy_rel): Likewise.
20051 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20052 (elf_machine_lazy_rel): Likewise.
20053 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20054 (elf_machine_lazy_rel): Likewise.
20055 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20056 (elf_machine_lazy_rel): Likewise.
20057 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20058 (elf_machine_lazy_rel): Likewise.
20059 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20060 (elf_machine_lazy_rel): Likewise.
20061 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20062 (elf_machine_lazy_rel): Likewise.
20063
68577918
UD
200642011-09-28 Ulrich Drepper <drepper@gmail.com>
20065
20066 * nss/nss_files/files-init.c (_nss_files_init): Use static
20067 initialization for all the *_traced_file variables.
20068
68822d74
AS
200692011-09-28 Andreas Schwab <schwab@redhat.com>
20070
20071 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20072
2056100b
RM
200732011-09-27 Roland McGrath <roland@hack.frob.com>
20074
20075 [BZ #13226]
20076 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20077
32c76b63
AS
200782011-09-27 Andreas Schwab <schwab@redhat.com>
20079
20080 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20081 Reread the line before reparsing it.
20082
bf972c9d
AS
200832011-09-26 Andreas Schwab <schwab@redhat.com>
20084
20085 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20086
e057a1b5
JM
200872011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20088 Maxim Kuvyrkov <maxim@codesourcery.com>
20089 Joseph Myers <joseph@codesourcery.com>
20090
20091 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20092 if needed for __stack_chk_guard.
20093
bc7e1c36
RM
200942011-09-19 Roland McGrath <roland@hack.frob.com>
20095
ecb1482f
RM
20096 * sysdeps/posix/spawni.c (script_execute): Always define it.
20097 It will be optimized away if unused.
20098 (maybe_script_execute): New function.
20099 (__spawni): Call it.
20100
bc7e1c36
RM
20101 * Makerules: Don't include tls.make.
20102 (config-tls): Always set to thread.
20103 * tls.make.c: File removed.
20104
1c3b002b
MF
201052011-09-19 Mike Frysinger <vapier@gentoo.org>
20106
20107 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20108 * config.make.in (CPPFLAGS-config): New substituted variable.
20109
2840865d
UD
201102011-09-15 Ulrich Drepper <drepper@gmail.com>
20111
88738eb6
UD
20112 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20113
cbf645a6 20114 [BZ #13192]
2840865d
UD
20115 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20116 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20117
b402e91a
RM
201182011-09-15 Roland McGrath <roland@hack.frob.com>
20119
20120 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20121 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20122 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20123 (CALL_FAIL): Likewise.
20124 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20125 (CALL_FAIL): Macro removed.
20126 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20127
4c1a1f71
UD
201282011-09-15 Ulrich Drepper <drepper@gmail.com>
20129
20130 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20131 for __FINITE_MATH_ONLY__ == 1.
20132
edc121be
AS
201332011-09-15 Andreas Schwab <schwab@redhat.com>
20134
20135 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20136 __ieee754_sqrt instead of sqrt.
20137 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20138 __ieee754_sqrtf instead of sqrtf.
20139 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20140 __floorf instead of floorf.
20141 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20142 __floorf, __truncf instead of floorf, truncf.
20143
cd205654
UD
201442011-09-14 Ulrich Drepper <drepper@gmail.com>
20145
ee4d0315
UD
20146 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20147
cd205654
UD
20148 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20149 __extern_always_inline.
20150 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20151 32-bit.
20152
48b67d71
AS
201532011-09-14 Andreas Schwab <schwab@redhat.com>
20154
20155 * elf/rtld.c (dl_main): Also relocate in dependency order when
20156 doing symbol dependency testing.
20157
1ae12c75
AS
201582011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20159
20160 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20161 Always define `refsym'.
20162
995a80df
AS
201632011-09-13 Andreas Schwab <schwab@redhat.com>
20164
e529793b
AS
20165 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20166 (__FD_ELT): Renamed from __FDELT.
20167 * misc/bits/select2.h (__FD_ELT): Likewise.
20168 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20169 __FD_MASK instead of __FDELT, __FDMASK.
20170 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20171 Likewise.
20172 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20173 Likewise.
20174
52d4fef8
AS
20175 * elf/Makefile (gen-ldd): Fix pattern.
20176
995a80df
AS
20177 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20178 (init_tls): Likewise.
20179
8682f8b0
UD
201802011-09-12 Ulrich Drepper <drepper@gmail.com>
20181
20182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20183
de82006d
AS
201842011-09-12 Andreas Schwab <schwab@redhat.com>
20185
a7c8e6a1
AS
20186 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20187 `struct cmsghdr *' instead of `void *'.
20188 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20189 Likewise.
20190
0f31fe77
AS
201912011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20192
20193 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20194 if non-absolute.
20195 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20196 ldd_rewrite_script.
0f31fe77 20197
32b4c839
UD
201982011-09-11 Ulrich Drepper <drepper@gmail.com>
20199
83cd1420
UD
20200 * configure.in: Remove --with-tls option.
20201 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20202 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20203 out in case it is missing.
20204 * sysdeps/ia64/elf/configure.in: Likewise.
20205 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20206 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20207 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20208 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20209 * sysdeps/sh/elf/configure.in: Likewise.
20210 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20211 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20212 * sysdeps/x86_64/elf/configure.in: Likewise.
20213 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20214 * sysdeps/mach/hurd/tls.h: Likewise.
20215
633f745d
UD
20216 [BZ #13067]
20217 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20218
f318beb8
UD
20219 [BZ #13090]
20220 * configure.in: Fix use of AC_INIT.
20221
32b4c839
UD
20222 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20223
3ce1f295
UD
202242011-09-10 Ulrich Drepper <drepper@gmail.com>
20225
bb016596
UD
20226 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20227 __set_errno.
8e58439c
UD
20228 * malloc/hooks.c: Likewise.
20229
aebae053 20230 [BZ #11929]
02d46fc4
UD
20231 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20232 variables statically.
20233 (narenas): Initialize.
20234 (list_lock): Initialize.
bb016596
UD
20235 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20236 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20237 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20238 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20239 Add initializers to main_arena and mp_.
20240 (malloc_state): Remove pagesize member. Change all users to use
20241 GLRO(dl_pagesize).
20242
20243 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20244 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20245 is always initialized.
20246
22a89187
UD
20247 * malloc/malloc.c: Removed unused configurations and dead code.
20248 * malloc/arena.c: Likewise.
20249 * malloc/hooks.c: Likewise.
02d46fc4 20250 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20251
d063d164
UD
20252 * include/tls.h: Removed. USE___THREAD must always be defined.
20253 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20254 * elf/dl-libc.c: Likewise.
20255 * elf/dl-tsd.c: Likewise.
20256 * include/errno.h: Likewise.
20257 * include/netdb.h: Likewise.
20258 * include/resolv.h: Likewise.
20259 * inet/herrno-loc.c: Likewise.
20260 * inet/herrno.c: Likewise.
20261 * malloc/arena.c: Likewise.
20262 * malloc/hooks.c: Likewise.
20263 * malloc/malloc.c: Likewise.
20264 * resolv/res-state.c: Likewise.
20265 * resolv/res_libc.c: Likewise.
20266 * sysdeps/i386/dl-machine.h: Likewise.
20267 * sysdeps/ia64/dl-machine.h: Likewise.
20268 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20269 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20270 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20271 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20272 * sysdeps/sh/dl-machine.h: Likewise.
20273 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20274 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20275 * sysdeps/unix/i386/sysdep.S: Likewise.
20276 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20277 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20278 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20279 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20280 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20281 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20282 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20284 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20286 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20287 * sysdeps/x86_64/dl-machine.h: Likewise.
20288 * tls.make.c: Likewise.
20289
3ce1f295
UD
20290 * configure.in: Remove --with-__thread option. Make tests for
20291 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20292 tls_model attribute fail if no support is available. Remove
20293 USE_IN_LIBIO.
20294 * Makeconfig: Adjust for dropped configure option. All features are
20295 now mandatory.
20296 * Makerules: Likewise.
20297 * Versions.def: Likewise.
20298 * argp/argp-fmtstream.c: Likewise.
20299 * argp/argp-fmtstream.h: Likewise.
20300 * argp/argp-help.c: Likewise.
20301 * assert/assert.c: Likewise.
20302 * config.h.in: Likewise.
20303 * config.make.in: Likewise.
20304 * configure: Likewise.
20305 * configure.in: Likewise.
20306 * csu/Versions: Likewise.
20307 * csu/init.c: Likewise.
20308 * elf/tst-audit2.c: Likewise.
20309 * elf/tst-tls10.c: Likewise.
20310 * elf/tst-tls10.h: Likewise.
20311 * elf/tst-tls11.c: Likewise.
20312 * elf/tst-tls12.c: Likewise.
20313 * elf/tst-tls14.c: Likewise.
20314 * elf/tst-tlsmod11.c: Likewise.
20315 * elf/tst-tlsmod12.c: Likewise.
20316 * elf/tst-tlsmod13.c: Likewise.
20317 * elf/tst-tlsmod13a.c: Likewise.
20318 * elf/tst-tlsmod14a.c: Likewise.
20319 * elf/tst-tlsmod15b.c: Likewise.
20320 * elf/tst-tlsmod16a.c: Likewise.
20321 * elf/tst-tlsmod16b.c: Likewise.
20322 * elf/tst-tlsmod7.c: Likewise.
20323 * elf/tst-tlsmod8.c: Likewise.
20324 * elf/tst-tlsmod9.c: Likewise.
20325 * gmon/gmon.c: Likewise.
20326 * grp/fgetgrent_r.c: Likewise.
20327 * grp/putgrent.c: Likewise.
20328 * hurd/fopenport.c: Likewise.
20329 * include/libc-symbols.h: Likewise.
20330 * include/tls.h: Likewise.
20331 * intl/gettextP.h: Likewise.
20332 * intl/loadinfo.h: Likewise.
20333 * locale/global-locale.c: Likewise.
20334 * locale/localeinfo.h: Likewise.
20335 * mach/devstream.c: Likewise.
20336 * malloc/arena.c: Likewise.
20337 * malloc/set-freeres.c: Likewise.
20338 * misc/err.c: Likewise.
20339 * misc/getttyent.c: Likewise.
20340 * misc/mntent_r.c: Likewise.
20341 * posix/getopt.c: Likewise.
20342 * posix/wordexp.c: Likewise.
20343 * pwd/fgetpwent_r.c: Likewise.
20344 * resolv/Versions: Likewise.
20345 * resolv/res_hconf.c: Likewise.
20346 * shadow/fgetspent_r.c: Likewise.
20347 * shadow/putspent.c: Likewise.
20348 * stdio-common/printf_fphex.c: Likewise.
20349 * stdio-common/tmpfile.c: Likewise.
20350 * stdlib/abort.c: Likewise.
20351 * stdlib/fmtmsg.c: Likewise.
20352 * sunrpc/auth_unix.c: Likewise.
20353 * sunrpc/clnt_perr.c: Likewise.
20354 * sunrpc/clnt_tcp.c: Likewise.
20355 * sunrpc/clnt_udp.c: Likewise.
20356 * sunrpc/clnt_unix.c: Likewise.
20357 * sunrpc/openchild.c: Likewise.
20358 * sunrpc/svc_simple.c: Likewise.
20359 * sunrpc/svc_tcp.c: Likewise.
20360 * sunrpc/svc_udp.c: Likewise.
20361 * sunrpc/svc_unix.c: Likewise.
20362 * sunrpc/xdr.c: Likewise.
20363 * sunrpc/xdr_array.c: Likewise.
20364 * sunrpc/xdr_rec.c: Likewise.
20365 * sunrpc/xdr_ref.c: Likewise.
20366 * sunrpc/xdr_stdio.c: Likewise.
20367
1248c1c4
PB
203682011-09-09 Ulrich Drepper <drepper@gmail.com>
20369
20370 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20371
203722011-07-03 Andreas Jaeger <aj@suse.de>
20373
20374 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20375 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20376 regenerate with gen-libm-tests.pl.
20377
203782010-05-12 Petr Baudis <pasky@suse.cz>
20379
20380 [BZ #11589]
20381 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20382 around j0() zero points by switching to j1().
20383 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20384 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20386 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20387
f22e1074
UD
203882011-09-09 Ulrich Drepper <drepper@gmail.com>
20389
f19009c1
UD
20390 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20391 instead of 0.
20392 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20393 instead of 0.
f19009c1
UD
20394 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20395 Patch in part by Pavel Roskin <proski@gnu.org>.
20396
3f8cc204
UD
20397 [BZ #13138]
20398 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20399 realloc.
20400 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20401 Free memory block if necessary.
20402
f22e1074
UD
20403 [BZ #12847]
20404 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20405 be NULL. Don't lock in this case.
20406
0a2349f9
RM
204072011-09-09 Roland McGrath <roland@hack.frob.com>
20408
20409 * elf/elf.h (ELFOSABI_GNU): New macro.
20410 (ELFOSABI_LINUX): Define to that.
20411
f3cdd467
DZ
204122011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20413
20414 * string/strncat.c (strncat): Undef the symbol in case it has been
20415 defined in bits/string.h.
20416
74718d13
UD
204172011-09-09 Ulrich Drepper <drepper@gmail.com>
20418
633e9e0f
UD
20419 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20420
0a2349f9 20421 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20422 link map.
20423
f9924780
AJ
204242011-08-17 Andreas Jaeger <aj@suse.de>
20425
20426 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20427
7f5517aa
PP
204282011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20429 Ian Lance Taylor <iant@google.com>
20430
20431 * math/libm-test.inc (lround_test): New testcase.
20432 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20433
762011fe
UD
204342011-09-08 Ulrich Drepper <drepper@gmail.com>
20435
92963737
UD
20436 * Makefile: Remove support for automatic cvs check-ins.
20437 * Makerules: Likewise.
20438 * config.make.in: Likewise.
20439 * configure.in: Likewise.
20440 * intl/Makefile: Likewise.
20441 * locale/Makefile: Likewise.
20442 * po/Makefile: Likewise.
20443 * posix/Makefile: Likewise.
20444 * sysdeps/gnu/Makefile: Likewise.
20445 * sysdeps/mach/hurd/Makefile: Likewise.
20446 * sysdeps/sparc/sparc32/Makefile: Likewise.
20447
b0727fd8
JS
20448 [BZ #13118]
20449 * posix/Makefile (bug-regex32-ENV): Define.
20450 Patch by John Stanley <jpsinthemix@verizon.net>.
20451
a0f33f99
UD
20452 * misc/Makefile (headers): Add bits/select2.h.
20453 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20454 * misc/bits/select2.h: New file.
20455 * include/bits/select2.h: New file.
20456 * debug/Makefile (routines): Add fdelt_chk.
20457 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20458 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20459 FD_ISSET.
20460 * debug/fdelt_chk.c: New file.
20461
762011fe
UD
20462 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20463 * wcsmbs/test-wmemcmp.c: Likewise.
20464 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20465 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20466
204672011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20468
20469 * string/Makefile (strop-tests): Add memcmp.
20470 * string/test-wmemcmp.c: New file.
20471 * string/test-memcmp.c: Add wmemcmp support.
20472
7f513ec8
RM
204732011-09-08 Roland McGrath <roland@hack.frob.com>
20474
0442afb4
RM
20475 [BZ #13153]
20476 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20477 2011-07-19 change.
20478
7f513ec8
RM
20479 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20480 garbage value in a __mach_port_mod_refs call in the cases of the
20481 task-self and thread-self ports.
20482
a12b2239
ST
204832011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20484
20485 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20486
610f9ab4
AS
204872011-09-08 Andreas Schwab <schwab@redhat.com>
20488
7f513ec8 20489 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20490
48882a1a
LD
204912011-09-07 Ulrich Drepper <drepper@gmail.com>
20492
b49865be
UD
20493 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20494
fdc86bc9
UD
20495 * elf/dl-libc.c (dlerror_run): Pass back error code from
20496 dl_catch_error.
20497
c966526a
UD
20498 [BZ #13123]
20499 * elf/dl-load.c (lose): Free l_origin if it is valid.
20500
48882a1a
LD
20501 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20502 names.
20503 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20504 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20505 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20506 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20507 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20508 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20509
77a2a8b4
AZ
205102011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20511
20512 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20513 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20514 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20515 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20516 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20517 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20518 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20519 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20520 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20521 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20522
24f579d8
AM
205232011-08-15 Alan Modra <amodra@gmail.com>
20524
20525 [BZ #13092]
20526 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20527 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20528 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20529 ppc_mcount to static-only-routines.
20530 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20531 __mcount_internal.
20532 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20533 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20534
3d4837df
UD
205352011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20536
20537 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20538 for finite and infinity parameters.
20539
22700377
WS
205402011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20541
20542 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20543 and add nop instructions for throughput optimization.
20544 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20545
5025581e
WS
205462011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20547
20548 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20549 aligned copy for power7 with vector-scalar instructions.
20550 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20551
08a300c9
L
205522011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20553
20554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20555 AVX check.
20556
59178ef9
AS
205572011-09-07 Andreas Schwab <schwab@redhat.com>
20558
20559 [BZ #13144]
20560 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20561 last change.
20562
e38ba7ab
UD
205632011-09-07 Ulrich Drepper <drepper@gmail.com>
20564
20565 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20566 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20567 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20568 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20569 clock_gettime.
20570
d53a73ac
UD
205712011-09-06 Ulrich Drepper <drepper@gmail.com>
20572
fc8bffcc
UD
20573 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20574 Forgot to demangle the pointer.
20575
ceaa0c5d
UD
20576 * sysdeps/i386/sysdep.h: Define atom_text_section.
20577 * sysdeps/x86_64/sysdep.h: Likewise.
20578 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20579 section with atom_text_section.
20580 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20581 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20582 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20583 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20584 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20585
a77d3c17
UD
20586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20587 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20588 already be defined. Change to take two parameters and don't assign
20589 result to variable. Adjust all users.
20590 Define INTERNAL_GETTIME if not already defined.
20591 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20592 call.
20593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20594 HAVE_CLOCK_GETTIME_VSYSCALL.
20595 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20596
d53a73ac
UD
20597 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20598 gettimeofday vsyscall, just use time.
20599
a8f84144
AS
206002011-09-06 Andreas Schwab <schwab@redhat.com>
20601
20602 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20603 <errno.h>.
20604
ef606249
UD
206052011-09-06 Ulrich Drepper <drepper@gmail.com>
20606
20607 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20608 syscall on x86-64.
20609 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20610 syscall.
20611 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20612 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20613 syscall if possible.
20614
6585cb60
UD
206152011-09-05 Ulrich Drepper <drepper@gmail.com>
20616
20617 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20618 e_ident. Don't pass to find_mapsXX.
20619 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20620
a5f524e4
LD
206212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20622
20623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20624 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20625 * sysdeps/x86_64/multiarch/strchr.S: Update.
20626 Check bit_slow_BSF bit.
20627 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20628 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20629 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20630
554881ef
UD
206312011-09-05 Ulrich Drepper <drepper@gmail.com>
20632
d96de963
UD
20633 [BZ #13134]
20634 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20635 before glibc 2.15.
20636 (tryshell): Define.
20637 (__spawni): Change last parameter to be flag. Test
20638 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20639 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20640 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20641 * posix/spawni.c: Likewise.
20642 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20643 * posix/spawnp.c: Likewise. Change normal version to use
20644 SPAWN_XFLAGS_USE_PATH.
20645 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20646 SPAWN_XFLAGS_TRY_SHELL.
20647
d48e5868
UD
20648 [BZ #13150]
20649 * posix/glob.h: Remove gcc 1.x support.
20650
554881ef
UD
20651 [BZ #13068]
20652 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20653
693fb948
LD
206542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20655
20656 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20657 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20658 strrchr-sse2-bsf
20659 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20660 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20661 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20662 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20663 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20664 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20665
1b48c537
UD
206662011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20667
49d42c37
UD
20668 * sysdeps/x86_64/wcscmp.S: New file.
20669
1b48c537
UD
20670 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20671 wcscmp-c wcscmp-sse2
20672 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20673 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20674 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20675 * wcsmbs/wcscmp.c: Allow renaming.
20676
15c95c5d
DM
206772011-09-05 David S. Miller <davem@davemloft.net>
20678
20679 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20680 stack slot, rather than the struct return pointer slot.
20681 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20682 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20684 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20685
2f0ad8f3
UD
206862011-09-05 Ulrich Drepper <drepper@gmail.com>
20687
d88ae418
UD
20688 * po/ja.po: Update from translation team.
20689
2f0ad8f3
UD
20690 [BZ #13144]
20691 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20692 kernel in 64-bit binaries.
20693
5f4318d1
DM
206942011-09-01 David S. Miller <davem@davemloft.net>
20695
20696 * elf/elf.h (HWCAP_SPARC_*): Move to..
20697 * sysdeps/sparc/sysdep.h: this new file and add new values.
20698 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20699 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20700 _DL_HWCAP_COUNT to 24.
20701 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20702 entries.
20703 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20704 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20705 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20707 instead of magic constants.
20708 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20709
3ba57516
DM
207102011-08-31 David S. Miller <davem@davemloft.net>
20711
20712 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20713 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20714 Reimplement to do errno handling inline.
20715 (SYSCALL_ERROR_HANDLER): New macro.
20716 (__SYSCALL_STRING): Do not do errno handling in asm.
20717 (__CLONE_SYSCALL_STRING): Delete.
20718 (__INTERNAL_SYSCALL_STRING): Delete.
20719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20720 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20721 (PSEUDO): Reimplement to do errno handling inline.
20722 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20723 (SYSCALL_ERROR_HANDLER): New macro.
20724 (__SYSCALL_STRING): Do not do errno handling in asm.
20725 (__CLONE_SYSCALL_STRING): Delete.
20726 (__INTERNAL_SYSCALL_STRING): Delete.
20727 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20728 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20729 i386.
20730 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20731 (inline_syscall*): Add 'err' argument.
20732 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20733 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20734 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20735 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20736
20737 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20738 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20739
2bc17433
AS
207402011-08-30 Andreas Schwab <schwab@redhat.com>
20741
20742 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20743
fbeb5f4d
JO
207442011-08-29 Jiri Olsa <jolsa@redhat.com>
20745
20746 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20747 directive.
20748
ad69cc26
DM
207492011-08-24 David S. Miller <davem@davemloft.net>
20750
20751 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20752
39dd69df
AS
207532011-08-24 Andreas Schwab <schwab@redhat.com>
20754
20755 * elf/Makefile: Add rules to build and run unload8 test.
20756 * elf/unload8.c: New file.
20757 * elf/unload8mod1.c: New file.
20758 * elf/unload8mod1x.c: New file.
20759 * elf/unload8mod2.c: New file.
20760 * elf/unload8mod3.c: New file.
20761
20762 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20763 it wasn't used.
20764
2c0b250a
DM
207652011-08-23 David S. Miller <davem@davemloft.net>
20766
20767 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20768 subtract stack bias.
20769 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20770 %sp not %fp in calculations.
20771 (_JMPBUF_UNWINDS_ADJ): Likewise.
20772
22044b48
DM
20773 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20774 (aio_suspend): Call it to force an exception region around the
20775 AIO_MISC_WAIT() invocation.
20776
2cae4995
AS
207772011-08-23 Andreas Schwab <schwab@redhat.com>
20778
20779 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20780 backslash.
20781
873a772e
AJ
207822011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20783
20784 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20785 protection macro.
20786 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20787 and <dl-machine.h>.
20788 (Elf64_FuncDesc): Remove.
20789
25ad0df1
DM
207902011-08-22 David S. Miller <davem@davemloft.net>
20791
20792 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20793 sigaltstack check, add missing cfi directives.
20794 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20795 missing cfi directives, and sigaltstack handling.
20796
e888bcbe
AS
207972011-08-16 Andreas Schwab <schwab@redhat.com>
20798
20799 [BZ #11724]
20800 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20801 object is seen twice.
20802 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20803
20804 * elf/Makefile (distribute): Add tst-initorder2.c.
20805 (tests): Add tst-initorder2.
20806 (modules-names): Add tst-initorder2a tst-initorder2b
20807 tst-initorder2c tst-initorder2d. Add rules to build them.
20808 ($(objpfx)tst-initorder2.out): New rule.
20809 * elf/tst-initorder2.c: New file.
20810 * elf/tst-initorder2.exp: New file.
20811
87162f46
AS
208122011-08-22 Andreas Schwab <schwab@redhat.com>
20813
70538b7f
AS
20814 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20815
f55ffe58
AS
20816 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20817 dependencies back to end of function.
20818
87162f46
AS
20819 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20820 $(elfobjdir)/ld.so.
20821
91b392a4
UD
208222011-08-21 Ulrich Drepper <drepper@gmail.com>
20823
20824 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20825 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20826 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20827 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20828 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20829 of __vdso_gettimeofday.
20830 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20831 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20832 attribute_hidden.
20833 (_libc_vdso_platform_setup): Remove initialization of
20834 __vdso_gettimeofday and __vdso_time.
20835
5c43483f
UD
208362011-08-20 Ulrich Drepper <drepper@gmail.com>
20837
775a77e7
UD
20838 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20839 and fgetc_unlocked.
20840 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20841 getc_unlocked.
89f447ed 20842
49c74ba9
UD
20843 * elf/dl-open.c (add_to_global): Report additions to the global scope
20844 for LD_DEBUG=scopes.
20845 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20846 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20847
5c43483f
UD
20848 [BZ #13114]
20849 * stdio-common/Makefile (tests): Add bug24.
20850 * stdio-common/bug24.c: New file.
20851
a101b025
AJ
208522011-08-19 Andreas Jaeger <aj@suse.de>
20853
20854 [BZ #13114]
20855 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20856 non-existant file when using close-on-exec mode.
20857
c88f1766
UD
208582011-08-20 Ulrich Drepper <drepper@gmail.com>
20859
0276a718
UD
20860 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20861 the very first instruction.
20862
c88f1766
UD
20863 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20864 the CFI state in the end.
20865 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20866 inclusion of dl-trampoline.h.
20867 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20868
51ccffa0
AS
208692011-08-19 Andreas Schwab <schwab@redhat.com>
20870
94d7165f
AS
20871 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20872 expectations for long double.
20873
51ccffa0
AS
20874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20875 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20876
fd708658 208772011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20878
20879 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20880 artificual limit depends upon the system page size.
20881
44f0a71e
UD
208822011-08-17 Ulrich Drepper <drepper@gmail.com>
20883
20884 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20885 * resolv/Makefile: Define CFLAGS-libresolv.
20886
8de79a24
AS
208872011-08-17 Andreas Schwab <schwab@redhat.com>
20888
20889 * nss/makedb.c (compute_tables): Make variables used in nested
20890 function static.
20891
27724598
UD
208922011-08-17 Ulrich Drepper <drepper@gmail.com>
20893
c5305d88
UD
20894 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20895 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20896 if buffer was too small.
20897
27724598
UD
20898 * elf/pldd.c (main): Attach to all threads in the process.
20899 Rewrite /proc handling to use *at functions.
20900
076fe015
UD
209012011-08-16 Ulrich Drepper <drepper@gmail.com>
20902
174baab3
UD
20903 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20904 specifies first scope to show.
20905 (dl_open_worker): Update callers. Move printing scope of new
20906 object to before the relocation.
44f0a71e 20907 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20908 * sysdeps/generic/ldsodefs.h: Update declaration.
20909
076fe015
UD
20910 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20911 string for the scope number.
20912
a60df2c3
UD
209132011-08-14 Ulrich Drepper <drepper@gmail.com>
20914
20915 * nscd/servicescache.c (cache_addserv): Make sure written is always
20916 initialized.
20917
5e4287d1
RM
209182011-08-14 Roland McGrath <roland@hack.frob.com>
20919
85ae0589
RM
20920 * sysdeps/i386/i486/bits/atomic.h
20921 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20922 statement expression, so as to suppress "set but not used" warning.
20923 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20924
69f63097
RM
20925 * string/strncat.c (STRNCAT): Use prototype definition.
20926
675456ef
RM
20927 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20928 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20929 -Iprograms here.
20930 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20931 (localedef-modules): Add localedef.
20932 (locale-modules): Add locale.
20933
5e4287d1
RM
20934 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20935 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20936 to avoid a warning.
20937
9c96ff23
DM
209382011-08-14 David S. Miller <davem@davemloft.net>
20939
20940 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20941 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20942
f9ddf089
UD
209432011-08-13 Ulrich Drepper <drepper@gmail.com>
20944
44f0a71e 20945 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20946 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20947 * elf/rtld.c (dl_main): Set l_name of vDSO.
20948 Call _dl_show_scope when DL_DEBUG_SCOPES.
20949 (process_dl_debug): Recognize scopes flag and also set it for all.
20950 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20951 Declare _dl_show_scope.
20952
1dc27704
UD
20953 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20954 (do_dlopen): Pass caller_dlopen to dl_open.
20955 (__libc_dlopen_mode): Initialize caller_dlopen.
20956
f9ddf089
UD
20957 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20958 of libc. Make tolower call locale-independent. Optimize a bit by
20959 using isdigit instead of isalnum.
20960 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20961
9ac533d3
UD
209622011-08-12 Ulrich Drepper <drepper@gmail.com>
20963
20964 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20965 was a dependency or dynamically loaded.
20966
89edf2e9
UD
209672011-08-11 Ulrich Drepper <drepper@gmail.com>
20968
8e999d29
UD
20969 * intl/l10nflist.c: Allow architecture-specific pop function.
20970 * sysdeps/x86_64/l10nflist.c: New file.
20971
89edf2e9
UD
20972 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20973 classification.
20974
14d96785
AS
209752011-08-10 Andreas Schwab <schwab@redhat.com>
20976
20977 * include/dirent.h: Add libc_hidden_proto for scandirat and
20978 scandirat64. Don't declare __scandirat64.
20979 * dirent/scandirat.c: Add libc_hidden_def.
20980 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20981 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20982
6761ac04
DM
209832011-08-10 David S. Miller <davem@davemloft.net>
20984
20985 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20986 enum.
20987 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20988 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20989 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20990
c55fbd1e
UD
209912011-08-09 Ulrich Drepper <drepper@gmail.com>
20992
20993 * Versions.def [libc]: Add GLIBC_2.15.
20994 * dirent/Makefile (routines): Add scandirat and scandirat64.
20995 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20996 GLIBC_2.15.
20997 * dirent/dirent.h: Declare scandirat and scandirat64.
20998 * dirent/scandirat.c: New file.
20999 * dirent/scandirat64.c: New file.
21000 * sysdeps/wordsize-64/scandirat.c: New file.
21001 * sysdeps/wordsize-64/scandirat64.c: New file.
21002 * dirent/opendir.c: Define opendirat.
21003 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
21004 using scandirat.
21005 * dirent/scandir64.c: Adjust for scandir.c change.
21006 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
21007 __scandirat64, and __scandir_cancel_handler.
21008 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
21009 additional parameter and use openat instead of open (outside of ld.so).
21010 Add new __opendir as wrapper around __opendirat.
21011 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
21012 here without requiring old scandirat implementation.
21013
879165f2
UD
210142011-08-08 Ulrich Drepper <drepper@gmail.com>
21015
21016 * dirent/scandir.c (cancel_handler): Renamed to
21017 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
21018 defined. Adjust users.
21019 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21020 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21021
cb7e923b
UD
210222011-08-04 Ulrich Drepper <drepper@gmail.com>
21023
16292edd
UD
21024 * string/test-string.h (IMPL): Use __STRING to expand name and then
21025 stringify it.
21026
cb7e923b
UD
21027 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21028 of cleanups.
21029
cff82933
LD
210302011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21031
21032 * string/Makefile: Update.
21033 (strop-tests): Append strncat.
21034 * string/test-wcscmp.c: New file.
21035 New comprehensive test for wcscmp.
21036 * string/test-strcmp.c: Update.
21037 (WIDE): New define.
21038
9be9bfcc
AS
210392011-07-22 Andreas Schwab <schwab@redhat.com>
21040
21041 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21042 line.
21043
2e96f1c7
AS
210442011-07-26 Andreas Schwab <schwab@redhat.com>
21045
21046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21047 encoding to ACE if AI_IDN.
21048
85188888
JJ
210492011-08-01 Jakub Jelinek <jakub@redhat.com>
21050
21051 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21052 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21053
5fa16e9b
LD
210542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21055
21056 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21057 Fix overflow bug in strncat.
21058 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21059
21060 * string/test-strncat.c: Update.
21061 Add new tests for checking overflow bugs.
21062
210632011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21064
21065 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21066 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21067 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21068 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21069 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21070 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21071 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21072 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21073 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21074
21075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21076 (USE_AS_STRCAT): Define.
21077 Add strcat and strncat support.
21078 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21079
8c1a459f
AS
210802011-07-25 Andreas Schwab <schwab@redhat.com>
21081
21082 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21083 __n bigger than INT_MAX+1.
21084 (__strncmp_g): Likewise.
21085
bba33c28
UD
210862011-07-23 Ulrich Drepper <drepper@gmail.com>
21087
798be72d
UD
21088 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21089 * libio/stido.h: Likewise.
21090
8accd4dc
UD
21091 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21092 (AF_NFC): Define.
21093 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21094 (AF_NFC): Define.
21095
cbff0d96
UD
21096 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21097 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21098 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21099 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21100 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21101
9191c04a
UD
21102 [BZ #13021]
21103 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21104 installed.
21105
bba33c28
UD
21106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21107 typo.
21108 (_dl_x86_64_save_sse): Likewise.
21109
90f139dd
UD
211102011-07-22 Ulrich Drepper <drepper@gmail.com>
21111
1aae088a
UD
21112 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21113 OSXSAVE.
21114 (_dl_x86_64_save_sse): Likewise.
21115
8e2045f5
UD
21116 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21117
90f139dd
UD
21118 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21119
1d002f25
AS
211202011-07-21 Andreas Schwab <schwab@redhat.com>
21121
21122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21123 change.
21124 (_dl_x86_64_save_sse): Use correct AVX check.
21125
21137f89
UD
211262011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21127
21128 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21129 bug in strncpy/strncat.
21130 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21131
a65c0b7a
UD
211322011-07-21 Ulrich Drepper <drepper@gmail.com>
21133
21134 * string/tester.c (test_strcat): Add tests for different alignments
21135 of source and destination.
21136 (test_strncat): Likewise.
21137
6986b98a
UD
211382011-07-20 Ulrich Drepper <drepper@gmail.com>
21139
90bb2039
UD
21140 [BZ #12852]
21141 * posix/glob.c (glob): Check passed in values before using them in
21142 expressions to avoid some overflows.
21143 (glob_in_dir): Likewise.
21144
5644ef54
UD
21145 [BZ #13007]
21146 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21147 check for AVX enablement so that we don't crash with old kernels and
21148 new hardware.
21149 * elf/tst-audit4.c: Add same checks here.
21150 * elf/tst-audit6.c: Likewise.
21151
21152 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21153
bfc9dc9b
AS
211542011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21155
21156 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21157
702e64bb
UD
211582011-07-20 Ulrich Drepper <drepper@gmail.com>
21159
21160 * po/cs.po: Update from translation team.
21161 * po/bg.po: Likewise.
21162
295e904f
MP
211632011-07-12 Marek Polacek <mpolacek@redhat.com>
21164
21165 * misc/sys/cdefs.h: Add support for const attribute.
21166 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21167 to gnu_dev_{major,minor,makedev} functions.
21168
3ff94596
MP
211692011-07-20 Marek Polacek <mpolacek@redhat.com>
21170
21171 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21172
28b59fca
AS
211732011-07-20 Andreas Schwab <schwab@redhat.com>
21174
21175 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21176 strlen results.
21177
19df733e
AK
211782011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21179
21180 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21181 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21182 register in order to avoid conflicts with the soft frame pointer
21183 being held in r11 when necessary.
21184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21185 (INTERNAL_VSYSCALL_NCS): Likewise.
21186
c8835729
MP
211872011-07-14 Marek Polacek <mpolacek@redhat.com>
21188
21189 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21190 * elf/dl-fini.c (_dl_fini): Adjust caller.
21191 * elf/dl-close.c (_dl_close_worker): Likewise.
21192 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21193
b902330c
MP
211942011-07-15 Marek Polacek <mpolacek@redhat.com>
21195
8991e135
MP
21196 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21197 "aux_cache->nlibs < 0".
21198
b902330c
MP
21199 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21200 in the reload-count case.
21201
99710781
LD
212022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21203
21204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21205 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21206 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21207 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21208 * sysdeps/x86_64/multiarch/strcat.S: New file.
21209 * sysdeps/x86_64/multiarch/strncat.S: New file.
21210 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21211 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21212 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21213 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21214 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21215 (USE_AS_STRCAT): Define.
21216 Add strcat and strncat support.
21217 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21218 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21219 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21220 * string/strncat.c: Update.
21221 (USE_AS_STRNCAT): Define.
21222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21223 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21224 and i7.
21225 * sysdeps/x86_64/multiarch/init-arch.h
21226 (bit_Prefer_PMINUB_for_stringop): New.
21227 (index_Prefer_PMINUB_for_stringop): Likewise.
21228 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21229 bit_Prefer_PMINUB_for_stringop.
21230
7dc6bd90
UD
212312011-07-19 Ulrich Drepper <drepper@gmail.com>
21232
21233 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21234 buffer64.
21235 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21236 of casting of buffer.
21237 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21238 buffer32 and buffer64.
21239 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21240 writes instead of casting of buffer.
21241 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21242 buffer32.
21243 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21244 casting of buffer.
21245
e0e72284
AS
212462011-07-19 Andreas Schwab <schwab@redhat.com>
21247
21248 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21249
feb1eb0b
UD
212502011-07-19 Ulrich Drepper <drepper@gmail.com>
21251
21252 * nscd/nscd.c (termination_handler): Don't do anything for a database
21253 if it has not yet been initialized.
21254
298711ff
UD
212552011-07-18 Ulrich Drepper <drepper@gmail.com>
21256
21257 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21258
212592011-07-15 Marek Polacek <mpolacek@redhat.com>
21260
21261 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21262
f9d68389
UD
212632011-07-18 Ulrich Drepper <drepper@gmail.com>
21264
21265 * po/nl.po: Update from translation team.
21266 * po/sv.po: Likewise.
21267
db290cf5
RM
212682011-07-16 Roland McGrath <roland@hack.frob.com>
21269
21270 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21271 now disallowed by GCC.
5c550700 21272
fd5e21c7
RM
21273 * configure.in (use-default-link): Default to yes if a test -shared
21274 link meets our qualifications.
21275 * configure: Regenerated.
21276
5c550700
RM
21277 * config.make.in (output-format): New variable.
21278 * configure.in: Check for ld --print-output-format support.
21279 * configure: Regenerated.
21280 * Makerules ($(common-objpfx)format.lds)
21281 [$(output-format) != unknown]: Just use $(output-format),
21282 instead of the linker-script munging.
21283
9fa2c032
RM
212842011-07-14 Roland McGrath <roland@hack.frob.com>
21285
a6928d51
RM
21286 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21287 of $(common-objpfx)shlib.lds.
21288 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21289
661607b3
RM
21290 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21291 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21292
9fa2c032
RM
21293 * configure.in (-z relro check): Adjust test code to add a large
21294 writable data section after it.
21295 * configure: Regenerated.
21296
defe9061
RM
212972011-07-11 Roland McGrath <roland@hack.frob.com>
21298
21299 * configure.in (-z relro check): Fix test code to make the variable
21300 truly const.
21301 * configure: Regenerated.
21302
319b9ad4
UD
213032011-07-11 Ulrich Drepper <drepper@gmail.com>
21304
21305 * nscd/nscd.h (struct traced_file): Define.
21306 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21307 elements. Add traced_files.
21308 (inotify_fd): Declare.
21309 (register_traced_file): Declare.
21310 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21311 (inotify_fd): Export.
21312 (resolv_conf_descr): Remove.
21313 (nscd_init): Move inotify descriptor creation to main.
21314 Don't register files for notification here.
21315 (register_traced_file): New function.
21316 (invalidate_cache): Don't use reset_res to determine whether to call
21317 res_init, go through the list of registered files.
21318 (main_loop_poll): The inotify descriptors are now stored in the
21319 structures for the traced files.
21320 (main_loop_epoll): Likewise
21321 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21322 to __nss_disable_nscd.
21323 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21324 for a database anymore. Check the records for all the registered
21325 files instead.
21326 * nss/Makefile (libnss_files-routines): Add files-init.
21327 (libnss_db-routines): Add db-init.
21328 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21329 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21330 * nss/nss_db/db-init.c: New file.
21331 * nss/nss_files/files-init.c: New file.
21332 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21333 __nss_lookup_function.
21334 (__nss_lookup_function): Call nss_load_library.
21335 (nss_load_all_libraries): New function.
21336 (__nss_disable_nscd): Take parameter with callback function for files
21337 to register. Set is_nscd. Load all the DSOs for the NSS modules
21338 used for the cached services.
21339 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21340 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21341 options for features to all the files in nscd.
21342
21343 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21344
23bee3e8
RM
213452011-07-10 Roland McGrath <roland@hack.frob.com>
21346
21347 * csu/elf-init.c (__libc_csu_init): Comment typo.
21348
46a5b7f0
UD
213492011-07-09 Ulrich Drepper <drepper@gmail.com>
21350
21351 * po/pl.po: Update from translation team.
21352 * po/ja.po: Likewise.
21353 * po/ru.po: Likewise.
21354 * po/ko.po: Likewise.
21355 * po/fr.po: Likewise.
21356
d30cf5bb
RM
213572011-07-09 Roland McGrath <roland@hack.frob.com>
21358
113ddea4
RM
21359 * configure.in (.ctors/.dtors header and trailer check):
21360 Use an empirical test on a built program.
21361 * configure: Regenerated.
21362
574920b4
RM
21363 * configure.in (-z relro check): Use an empirical test on a built DSO.
21364 Detect, but do not require, on ia64.
21365 * configure: Regenerated.
21366
d30cf5bb
RM
21367 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21368 Update tests that use readelf to use $READELF instead.
21369 * configure: Regenerated.
21370
8538fdb3
UD
213712011-07-08 Ulrich Drepper <drepper@gmail.com>
21372
21373 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21374 if the result is not used.
21375
04d08991
AJ
213762011-07-05 Andreas Jaeger <aj@suse.de>
21377
21378 [BZ#9696]
21379 * stdlib/tst-strtod.c: Add testcase.
21380
de283087
AD
213812011-07-07 Ulrich Drepper <drepper@gmail.com>
21382
4e5f31c8 21383 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21384 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21385 The latter has a higher limit. Take additional parameter to pass to
21386 the new function.
21387 (__pathconf): Pass file to __statfs_link_max.
21388 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21389 __statfs_link_max.
21390 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21391 __statfs_link_max.
21392
de283087
AD
21393 [BZ #12868]
21394 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21395 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21396 Handle Lustre.
21397 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21398 (__statfs_filesize_max): Likewise.
21399 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21400
c75fa153
AJ
214012011-07-05 Andreas Jaeger <aj@suse.de>
21402
21403 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21404
1a544854
UD
214052011-07-06 Marek Polacek <mpolacek@redhat.com>
21406
21407 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21408 `status' variable.
21409 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21410 Likewise.
21411
6f0eec67
UD
214122011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21413
21414 * Makefile (strop-tests): Add strncat.
21415 * string/test-strncat.c: New file.
21416
aae30307
UD
214172011-06-30 Marek Polacek <mpolacek@redhat.com>
21418
21419 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21420
c0cfb5eb
UD
214212011-06-21 Andreas Jaeger <aj@suse.de>
21422
21423 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21424 Copy rule from iconvdata/Makefile.
21425
01636b21
UD
214262011-07-06 Ulrich Drepper <drepper@gmail.com>
21427
21428 [BZ #12922]
21429 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21430 but no long options are defined, just return 'W'.
21431
9895c8bc
UD
214322011-06-22 Marek Polacek <mpolacek@redhat.com>
21433
21434 [BZ #9696]
21435 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21436
5d4cf042
UD
214372011-07-06 Ulrich Drepper <drepper@gmail.com>
21438
21439 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21440 netgroups to read.
960e5535 21441 (innetgr): Likewise.
5d4cf042 21442
751eb97e
RM
214432011-07-05 Roland McGrath <roland@hack.frob.com>
21444
21445 * config.make.in (install_root): Default to $(DESTDIR).
21446
f15f1e45
UD
214472011-07-05 Ulrich Drepper <drepper@gmail.com>
21448
21449 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21450
4e34ac6a
RM
214512011-07-02 Roland McGrath <roland@hack.frob.com>
21452
5e9b6af4
RM
21453 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21454
84f9ea0f
RM
21455 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21456 containing directory rather than embedding absolute directory names.
21457
ea5ee9f7
RM
21458 * scripts/check-local-headers.sh: Rewritten using awk.
21459 Match by word, not by line. Print error messages for matches.
21460 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21461
1b74661a
RM
21462 * Makerules [shlib-lds-flags empty]:
21463 ($(common-objpfx)libc_pic.opts): New target.
21464 ($(common-objpfx)libc_pic.os.clean): New target.
21465 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21466
21467 * config.make.in (OBJCOPY): New variable.
21468 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21469 * configure: Regenerated.
21470
f781ef40
RM
21471 * config.make.in (use-default-link): New variable.
21472 * configure.in (use_default_link): Grok --with-default-link to set it.
21473 * configure: Regenerated.
21474 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21475 (shlib-lds, shlib-lds-flags): Define to empty.
21476
2d4fa81e
RM
21477 * Makerules (shlib-lds): New variable.
21478 (shlib-lds-flags): New variable.
21479 (build-shlib, build-moduile, build-module-asneeded): Use it.
21480 ($(common-objpfx)libc.so): Use $(shlib-lds).
21481 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21482 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21483
31fffa6b
RM
21484 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21485 DT_FLAGS/DT_FLAGS_1 with zero flags.
21486
4e34ac6a
RM
21487 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21488 linker script munging.
21489
fcfc776b
UD
214902011-07-02 Ulrich Drepper <drepper@gmail.com>
21491
21492 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21493 as 128-bit value.
21494 * crypt/sha512.c (sha512_process_block): Perform total addition using
21495 128-bit if possible.
21496 (__sha512_finish_ctx): Likewise.
21497 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21498 as 64-bit value.
21499 * crypt/sha256.c (SWAP64): Define.
21500 (sha256_process_block): Perform total addition using 64-bit if
21501 possible.
21502 (__sha256_finish_ctx): Likewise.
21503
99231d9a
UD
215042011-07-01 Ulrich Drepper <drepper@gmail.com>
21505
21506 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21508 * nscd/hstcache.c (cache_addhst): Likewise.
21509 * nscd/grpcache.c (cache_addgr): Likewise.
21510 * nscd/aicache.c (addhstaiX): Likewise
21511 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21512
445b4a53
TK
215132011-07-01 Thorsten Kukuk <kukuk@suse.de>
21514
21515 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21516 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21517 * nscd/hstcache.c (cache_addhst): Likewise.
21518 * nscd/grpcache.c (cache_addgr): Likewise.
21519 * nscd/aicache.c (addhstaiX): Likewise
21520
6d4d8e8e
AS
215212011-07-01 Andreas Schwab <schwab@redhat.com>
21522
21523 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21524 domain only when needed.
21525
89f654c5
AS
215262011-06-30 Andreas Schwab <schwab@redhat.com>
21527
21528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21529 is always restored.
21530
cf3b23ff
UD
215312011-06-29 Ulrich Drepper <drepper@gmail.com>
21532
21533 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21534 are re-adding the entry.
21535 * nscd/servicescache.c (cache_addserv): Likewise.
21536
751626f9
AJ
215372011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21538
21539 * sysdeps/generic/dl-irel.h: fix protection against multiple
21540 inclusions.
21541 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21542
9113ea1f
UD
215432011-06-28 Ulrich Drepper <drepper@gmail.com>
21544
5c0b8d90
UD
21545 [BZ #12935]
21546 * malloc/memusage.sh: Fix quoting in message.
21547 * debug/xtrace.sh: Likewise.
21548
9113ea1f
UD
21549 * configure.in: Remove support for --experimental-malloc option, make
21550 it the default.
21551 * config.make.in: Likewise.
21552 * malloc/Makefile: Likewise.
21553
a4172181
AS
215542011-06-27 Andreas Schwab <schwab@redhat.com>
21555
21556 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21557 two-byte characters.
21558
78a7eee7
RM
215592011-06-27 Roland McGrath <roland@hack.frob.com>
21560
62bede13
RM
21561 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21562 AC_CACHE_CHECK invocation.
21563 * configure: Regenerated.
21564
78a7eee7
RM
21565 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21566
5ce33a62
UD
215672011-06-27 Ulrich Drepper <drepper@gmail.com>
21568
034807a9
UD
21569 [BZ #12350]
21570 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21571 bit from old_res_options.
21572
4902da17
UD
21573 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21574
5ce33a62
UD
21575 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21576 value type for setfct.
21577
c2344f56
L
215782011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21579
21580 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21581 __gettimeofday instead of gettimeofday.
21582
68468076
UD
215832011-06-26 Ulrich Drepper <drepper@gmail.com>
21584
21585 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21586
acb0d739
L
215872011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21588
21589 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21590
21591 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21592 info.
21593
8912479f
L
215942011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21595
21596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21597 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21598 strcpy-sse2-unaligned strncpy-sse2-unaligned
21599 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21600 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21601 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21602 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21603 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21604 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21605 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21606 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21607 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21608 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21609 (STRCPY): Support SSE2 and SSSE3 versions.
21610
d5495a11
UD
216112011-06-24 Ulrich Drepper <drepper@gmail.com>
21612
21613 [BZ #12874]
21614 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21615 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21616 kernels which artificially limit size of requests.
21617
0b1cbaae
L
216182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21619
21620 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21621 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21622 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21623 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21624 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21625 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21626 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21627 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21628 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21629 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21630 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21631 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21632 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21633 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21634 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21636 Enable unaligned load optimization for Intel Core i3, i5 and i7
21637 processors.
21638 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21639 Define.
21640 (index_Fast_Unaligned_Load): Define.
21641 (HAS_FAST_UNALIGNED_LOAD): Define.
21642
07f494a0
MP
216432011-06-23 Marek Polacek <mpolacek@redhat.com>
21644
21645 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21646
fa3fc0fe
UD
216472011-06-22 Ulrich Drepper <drepper@gmail.com>
21648
21649 [BZ #12907]
21650 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21651 until it is clear that the information is realy needed.
21652 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21653
e12df166
AS
216542011-06-22 Andreas Schwab <schwab@redhat.com>
21655
21656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21657
852eb34d
UD
216582011-06-22 Ulrich Drepper <drepper@gmail.com>
21659
84e2a551
UD
21660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21661 /sys/devices/system/cpu/online if it is usable.
21662
852eb34d
UD
21663 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21664 reading the information from the /proc filesystem to once a second.
21665
6e502e19
UD
216662011-06-21 Andreas Jaeger <aj@suse.de>
21667
21668 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21669 NULL after inclusion of kernel headers.
21670
75d39ff2
UD
216712011-06-21 Ulrich Drepper <drepper@gmail.com>
21672
51f9aa6a
UD
21673 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21674 calls to internal_setent.
21675
c0244a9d
UD
21676 [BZ #12885]
21677 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21678 addresses using gethostbyname4_r ignore IPv4 addresses.
21679
c5e3c2ae
UD
21680 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21681 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21682
75d39ff2
UD
21683 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21684
42675c6f
DM
216852011-06-20 David S. Miller <davem@davemloft.net>
21686
21687 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21688 inclusions.
21689 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21690
21691 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21692 (elf_irel): Use it.
21693 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21694 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21695 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21696 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21697 * sysdeps/x86_64/dl-irel.h: Likewise.
21698
21699 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21700 * elf/dl-sym.c: Likewise.
21701
57912a71
UD
217022011-06-15 Ulrich Drepper <drepper@gmail.com>
21703
21704 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21705 need to dereference resplen2.
21706
ee22793d
AS
217072011-06-14 Andreas Schwab <schwab@redhat.com>
21708
21709 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21710
a9e836b0
UD
217112011-06-15 Ulrich Drepper <drepper@gmail.com>
21712
77fb9117
UD
21713 * Makeconfig: Define vardbdir and inst_vardbdir.
21714 * nss/Makefile: Add rules to install db-Makefile.
21715
40c1b22c
UD
21716 * nss/nss_db/db-XXX.c: Cleanup.
21717
9f2da732
UD
21718 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21719 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21720 GLIBC_PRIVATE.
21721 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21722 * nss/makedb.c: Implement -g option to specify that value strings
21723 are generated and should not be added to table iterated over for
21724 get*ent calls.
21725 * nss/nss_db/db-initgroups.c: New file.
21726
82e9a1f7
UD
21727 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21728 interface.
21729
c41af17e
UD
21730 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21731 (internal_getgrouplist): Adjust to name change.
21732 Update use_initgroups_entry if this is not the first call.
21733 * nss/databases.def: Add initgroups entry.
21734
a9e836b0
UD
21735 * nss/makedb.c (compute_tables): Check result of multiple hash table
21736 sizes to minimize maximum chain length.
21737
2666d441
UD
217382011-06-14 Ulrich Drepper <drepper@gmail.com>
21739
21740 * Versions.def: Add entry for libnss_db.
21741 * shlib-versions: Likewise.
21742 * nss/Makefile: Add rules to build libnss_db.
21743 * nss/Versions: Add libnss_db information. Organize libnss_files
21744 entries better.
21745 * nss/db-Makefile: Add gshadow support. Change rules for the new
21746 makedb progra. Some minor improvements to generate smaller files.
21747 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21748 here from...
21749 * nss/makedb.c: ...here.
21750 Improve database format to be smaller and require less memory at
21751 runtime.
21752 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21753 db anymore.
21754 * nss/nss_db/db-netgrp.c: Likewise.
21755 * nss/nss_db/db-open.c: Likewise.
21756 * nss/nss_files/flies-XXX.x: Adjust comments.
21757 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21758 * nss/nss_files/files-grp.c: Likewise.
21759 * nss/nss_files/files-hosts.c: Likewise.
21760 * nss/nss_files/files-network.c: Likewise.
21761 * nss/nss_files/files-proto.c: Likewise.
21762 * nss/nss_files/files-pwd.c: Likewise.
21763 * nss/nss_files/files-rpc.c: Likewise.
21764 * nss/nss_files/files-service.c: Likewise.
21765 * nss/nss_files/files-sgrp.c: Likewise.
21766 * nss/nss_files/files-spwd.c: Likewise.
21767 * nss/nss_db/db-alias.c: Removed.
21768 * nss/nss_db/dummy-db.h: Removed.
21769
9ee76b5a
UD
217702011-06-02 Ulrich Drepper <drepper@gmail.com>
21771
21772 * nss/makedb.c: Rewritten to not use database library.
21773 * nss/Makefile: Update to build new makedb program.
21774
c71ca1f8
AJ
217752011-06-14 Andreas Jaeger <aj@suse.de>
21776
21777 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21778 memset declaration.
21779
3154bfb8
UD
217802011-06-10 Andreas Schwab <schwab@redhat.com>
21781
21782 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21783 tmpbuf.
21784
b350afab
RM
217852011-06-10 Roland McGrath <roland@hack.frob.com>
21786
decd4e50
RM
21787 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21788 * elf/Makefile ($(objpfx)ld.so): Likewise.
21789
5615eaf2
RM
21790 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21791 Don't list ld.so twice in dependencies.
21792
21793 * posix/bug-regex31.c: Include <stdlib.h>.
21794
21795 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21796
21797 * nis/nss_compat/compat-spwd.c
21798 (getspent_next_nss_netgr): Remove unused variable.
21799 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21800
21801 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21802 nonmembers" output to use the right array.
21803
21804 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21805
21806 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21807
21808 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21809 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21810 * catgets/gencat.c (read_input_file): Likewise.
21811 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21812
21813 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21814 variable definition inside #if's controlling its use.
21815
21816 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21817
21818 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21819
21820 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21821
21822 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21823 unreachable code.
21824
21825 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21826
b68e08db
RM
21827 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21828 * configure: Regenerated.
21829
b350afab
RM
21830 * Makerules: Revert last change.
21831 * elf/Makefile: Likewise.
21832
28368601
RM
218332011-06-09 Roland McGrath <roland@hack.frob.com>
21834
21835 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21836 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21837 (reloc-link): Likewise.
21838
11988f8f
UD
218392011-06-09 Ulrich Drepper <drepper@gmail.com>
21840
21841 * elf/Makefile: Add rules to build pldd.
21842 * elf/pldd.c: New file.
21843 * elf/pldd-xx.c: New file.
21844
e80fab37
UD
218452011-06-07 Ulrich Drepper <drepper@gmail.com>
21846
21847 * version.h: Update for 2.15 development version.
21848
9b849836
DM
218492011-06-07 David S. Miller <davem@davemloft.net>
21850
21851 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21852 ifuncs.
21853 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21854 elf_machine_lazy_rel): Likewise.
21855 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21856 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21857 elf_machine_lazy_rel): Likewise.
21858 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21859 dl_hwcap via passed in argument.
21860 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21861 Likewise.
21862
5a31b283
AK
218632011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21864
21865 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21866
069e52f8
RM
218672011-06-06 Roland McGrath <roland@hack.frob.com>
21868
21869 [BZ #12849]
21870 * manual/fdl-1.1.texi: New file, verbatim from:
21871 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21872 * manual/lgpl-2.1.texi: New file, verbatim from:
21873 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21874 * manual/Makefile (licenses): New variable, list those new file names.
21875 (texis): Use it.
21876 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21877
21878 * manual/fdl.texi: File removed.
21879 * manual/lesser.texi: File removed.
21880 * manual/libc.texinfo (Copying, Documentation License):
21881 Use new @include file names, put @appendix directive before @include.
21882
f16846a5
JJ
218832011-06-04 Jakub Jelinek <jakub@redhat.com>
21884
21885 [BZ #12841]
21886 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21887 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21888 (mq_open): Add __NTH.
21889
3d29045b
L
218902011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21891
21892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21893 Assume Intel Core i3/i5/i7 processor if AVX is available.
21894
8c297311
UD
218952011-05-31 Ulrich Drepper <drepper@gmail.com>
21896
21897 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21898 typo.
21899
c8fc0c91
UD
219002011-05-31 Andreas Schwab <schwab@redhat.com>
21901
21902 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21903 memory. Use alloca_account. Fix memory leak when retrying.
21904
5b27a807
UD
219052011-05-31 Ulrich Drepper <drepper@gmail.com>
21906
356f8bc6
UD
21907 * version.h (RELEASE): Bump for 2.14 release.
21908 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21909
5b27a807
UD
21910 * config.make.in (RANLIB): Remove entry.
21911
01f16ab0
UD
219122011-05-30 Ulrich Drepper <drepper@gmail.com>
21913
41fce8bd
UD
21914 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21915 (libc.pot): Work around missing support for .ksh extension in xgettext.
21916
4769ae77
UD
21917 [BZ #12684]
21918 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21919 if both request failed.
21920 (send_dg): In case of server errors clear resplen or *resplen2.
21921
6b1e7d19
UD
21922 [BZ #12454]
21923 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21924 when there are multiple maps.
21925 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21926 (_dl_fini): Remove test here.
21927
01f16ab0
UD
21928 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21929
b1ebd700
UD
219302011-05-29 Ulrich Drepper <drepper@gmail.com>
21931
7ae22829
UD
21932 [BZ #12350]
21933 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21934 bit from old_res_options.
21935 (gaih_inet): Likewise.
21936
553149f6 21937 [BZ #11099]
18a84741 21938 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21939 as signed.
21940
652ffab1
UD
21941 * resolv/res_init.c (res_setoptions): Make the code more compact.
21942
16985fd0
UD
21943 [BZ #11558]
21944 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21945 set RES_USEVC.
21946
0464f746
UD
21947 [BZ #11634]
21948 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21949
7d17596c
UD
21950 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21951
cf6bbbd7
UD
21952 [BZ #11781]
21953 * malloc/malloc.h: Declare malloc hook variables as volatile.
21954
13f1ab36
UD
21955 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21956 in last patch.
21957
b1ebd700
UD
21958 [BZ #11799]
21959 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21960 raise in the comment.
80e2212d
UD
21961 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21962 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21963 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21964
ce67228d
UD
219652011-05-28 Ulrich Drepper <drepper@gmail.com>
21966
8887a920
UD
21967 [BZ #12811]
21968 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21969 grow the buffers more if it already has to be sufficient.
21970 (build_wcs_upper_buffer): Likewise.
21971 * posix/regexec.c (check_matching): Likewise.
21972 (clean_state_log_if_needed): Likewise.
21973 (extend_buffers): Don't enlarge buffers beyond size of the input
21974 buffer.
21975 Patches mostly by Emil Wojak <emil@wojak.eu>.
21976 * posix/bug-regex32.c: New file.
21977 * posix/Makefile (tests): Add bug-regex32.
21978
4f031072
UD
21979 * locale/findlocale.c (_nl_find_locale): Return right away if
21980 _nl_explode_name failed.
21981 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21982
d0478f0c
UD
21983 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21984
de81b246
UD
21985 * debug/xtrace.sh: Unify messages.
21986 * malloc/memusage.sh: Likewise.
21987
c738465a
UD
21988 [BZ #12813]
21989 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21990 time symbol from vDSO. Substitute with vsyscall if not available.
21991 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21992 __vdso_time.
21993
f1f929d7
UD
21994 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21995 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21996 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21997 Add sendmmsg and internal_sendmmsg.
21998 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21999 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
22000 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
22001
ce67228d
UD
22002 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
22003 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
22004 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
22005
e57420c6
UD
220062011-05-27 Ulrich Drepper <drepper@gmail.com>
22007
a8509ca5
UD
22008 [BZ #12813]
22009 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
22010 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
22011 available.
22012 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
22013 __vdso_getcpu.
22014
e57420c6
UD
22015 [BZ #12814]
22016 * iconvdata/Makefile (tests): Add bug-iconv9.
22017 * iconvdata/bug-iconv9.c: New file.
22018
4d07db15
AS
220192011-05-27 Andreas Schwab <schwab@redhat.com>
22020
22021 [BZ #12814]
22022 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22023
ea486f69
JJ
220242011-05-25 Jakub Jelinek <jakub@redhat.com>
22025
22026 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22027 (struct user_regs_struct): Change intcs field back to cs.
22028
6f038433
UD
220292011-05-25 Ulrich Drepper <drepper@gmail.com>
22030
22031 * po/ja.po: Update from translation team.
22032
67f86a25
UD
220332011-05-23 Ulrich Drepper <drepper@gmail.com>
22034
22035 [BZ #12795]
22036 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22037 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22038
def7fbd6
AS
220392011-05-20 Andreas Schwab <schwab@redhat.com>
22040
22041 * stdlib/longlong.h: Update from GCC.
22042
f50ef8f1
AS
220432011-05-23 Andreas Schwab <schwab@redhat.com>
22044
22045 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22046 parameter name.
22047 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22048 Add parameter name.
22049 (__sysconf): Pass it down.
22050
de7ce8f1
UD
220512011-05-22 Ulrich Drepper <drepper@gmail.com>
22052
f2962a71
UD
22053 [BZ #12671]
22054 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22055 some situations.
22056 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22057 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22058 add in in __libc_use_alloca calls. Adjust callers.
22059 (glob): Use malloc in some situations.
22060
de7ce8f1
UD
22061 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22062 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22063 pltexit.
22064
aec84f53
UD
220652011-05-21 Ulrich Drepper <drepper@gmail.com>
22066
05bb4a68
UD
22067 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22068 and CLOCK_BOOTTIME_ALARM.
22069
7ea72f99
UD
22070 [BZ #12782]
22071 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22072 is returned.
22073
7e4afad5
UD
22074 * string/_strerror.c (__strerror_r): Print negative errors as signed
22075 numbers.
22076
8e211fec
UD
22077 [BZ #12777]
22078 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22079 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22080 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22081
f7d82dc9
UD
22082 * configure.in: Fix typo in redirection and correct removal of test
22083 files in two cases.
22084
cc9e536d
UD
22085 [BZ #12788]
22086 * locale/setlocale.c (new_composite_name): Fix test to check for
22087 identical name of all categories.
22088
aec84f53
UD
22089 [BZ #12792]
22090 * libio/filedoalloc.c (local_isatty): New function.
22091 (_IO_file_doallocate): Use local_isatty.
22092 * stdio-common/perror.c (perror): In case a new stream is used
22093 forward the stream error.
22094 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22095 error flag.
22096
78e64fdc
RT
220972011-05-20 Ulrich Drepper <drepper@gmail.com>
22098
34a9094f
UD
22099 [BZ #11869]
22100 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22101 alloca.
22102 * include/alloca.h (extend_alloca_account): Define.
22103
78e64fdc
RT
22104 [BZ #11857]
22105 * posix/regex.h: Fix comments with documentation of user-accessible
22106 fields after compilation and describe correct free'ing of pattern
22107 after re_compile_pattern.
22108 Patch by Reuben Thomas <rrt@sc3d.org>.
22109
457bddfc
RA
221102011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22111
22112 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22113 and -mno-altivec to prevent the compiler from using Altivec and/or
22114 VSX instructions when the corresponding registers are not available.
22115
a4527b51
AS
221162011-05-19 Andreas Schwab <schwab@redhat.com>
22117
22118 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22119
ed690b2f
UD
221202011-05-19 Ulrich Drepper <drepper@gmail.com>
22121
22122 * libio/freopen.c (freopen): Use __dup2, not dup2.
22123 * libio/freopen64.c (freopen64): Likewise.
22124
8db73634
L
221252011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22126
22127 [BZ #12775]
22128 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22129 * math/Makefile (tests): Add test-powl.
22130 (CFLAGS-test-powl.c): Define.
22131 * math/test-powl.c: New file.
22132
0a197a9d
L
221332011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22134
22135 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22136
ee30c380
UD
221372011-05-17 Ulrich Drepper <drepper@gmail.com>
22138
22139 [BZ #11837]
22140 * iconvdata/gb18030.c: Update to GB18020-2005.
22141
6ce75379
UD
221422011-05-16 Ulrich Drepper <drepper@gmail.com>
22143
a4b89fd8
AR
22144 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22145 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22146 Patch by Aharon Robbins <arnold@skeeve.com>.
22147
ea389b12
UD
22148 [BZ #11892]
22149 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22150 on the stack.
22151
68a3f91f
UD
22152 [BZ #11895]
22153 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22154 through underflows.
22155
15cc7dd1
UD
22156 [BZ #12766]
22157 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22158 point to strings before performing equality test for error_one_per_line
22159 mode.
22160
f3799213
UD
22161 [BZ #11697]
22162 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22163
d79a9c94
UD
22164 [BZ #11820]
22165 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22166 (struct user_fpregs_struct): Avoid __uint*_t types.
22167
56e5eb46
UD
22168 [BZ #6420]
22169 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22170 symbol info. Use it instead of calling _dl_addr locally.
22171 (lock_and_info): New function.
22172 (tr_freehook): Call lock_and_info and pass symbol info as additional
22173 parameter to tr_where.
22174 (tr_mallochook): Likewise.
22175 (tr_reallochook): Likewise.
22176 (tr_memalignhook): Likewise.
22177
6ce75379
UD
22178 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22179 used and couldn't be at all thread-safe.
22180
f8a3b5bf
UD
221812011-05-15 Ulrich Drepper <drepper@gmail.com>
22182
94b7cc37
UD
22183 * libio/freopen.c (freopen): Don't close old file descriptor
22184 before the new one is opened. Instead dup the new file descriptor
22185 to the old one after the new stream is created.
22186 * libio/freopen64.c (freopen64): Likewise.
22187 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22188 * libio/fileops.c (_IO_new_file_close_it): Handle new
22189 _IO_FLAGS2_NOCLOSE flag.
22190 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22191 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22192 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22193 _IO_FLAGS2_NOCLOSE flag.
22194 * include/unistd.h: Add hidden_proto for dup3.
22195 Define __have_dup3.
22196 * io/dup3.c: Define hidden symbol.
22197 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22198
bd25564e
UD
22199 [BZ #7101]
22200 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22201 when an incomplete long option is used.
22202 * posix/tst-getopt_long1.c: New file.
22203 * posix/Makefile (tests): Add tst-getopt_long1.
22204
c84cfef4
UD
22205 [BZ #10138]
22206 * scripts/config.guess: Update from autoconf-2.68.
22207 * scripts/config.sub: Likewise.
22208
3b85df27
UD
22209 [BZ #10157]
22210 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22211 tests into ...
22212 (has_cpuclock): ...this. New function.
22213 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22214 macro here based on has_cpuclock code.
22215
15a856b1
UD
22216 [BZ #10149]
22217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22218 First byte (not low byte) is now always NUL.
22219 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22220
05f399e6
UD
22221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22222 Use non-cancelable interfaces.
22223
10a52685 22224 [BZ #9809]
94ecc67d
UD
22225 * locale/iso-639.def: Add entry for Sorani.
22226
f8a3b5bf
UD
22227 [BZ #11901]
22228 * include/stdlib.h: Move include protection to the right place.
22229 Define abort_msg_s. Declare __abort_msg with it.
22230 * stdlib/abort.c (__abort_msg): Adjust type.
22231 * assert/assert.c (__assert_fail_base): New function. Majority
22232 of code from __assert_fail. Allocate memory for __abort_msg with
22233 mmap.
22234 (__assert_fail): Now call __assert_fail_base.
22235 * assert/assert-perr.c: Remove bulk of implementation. Use
22236 __assert_fail_base.
22237 * include/assert.hL Declare __assert_fail_base.
22238 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22239 mmap.
22240 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22241
1af4e298
UD
222422011-05-14 Ulrich Drepper <drepper@gmail.com>
22243
f8a3b5bf 22244 [BZ #11952]
d26dfc60
MG
22245 [BZ #12453]
22246 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22247 until all modules are registered in the DTV.
22248 * elf/Makefile: Add rules to build and run tst-tls19.
22249 * elf/tst-tls19.c: New file.
22250 * elf/tst-tls19mod1.c: New file.
22251 * elf/tst-tls19mod2.c: New file.
22252 * elf/tst-tls19mod3.c: New file.
22253 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22254
2fc54d6f
UD
22255 [BZ #12083]
22256 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22257 correctly.
22258
98d76b46
UD
22259 [BZ #12601]
22260 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22261 two-byte sequence errors.
22262 * iconvdata/Makefile (tests): Add bug-iconv8.
22263 * iconvdata/bug-iconv8.c: New file.
22264
da3c19ef
UD
22265 [BZ #12626]
22266 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22267 buf2 definition.
22268
ca408c15
UD
22269 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22270
d6f67f7d
UD
22271 [BZ #12432]
22272 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22273 (dummy_getcfa): New function.
22274 (init): Get _Unwind_GetCFA address, use dummy if not found.
22275 (backtrace_helper): In recursion check, also check whether CFA changes.
22276 (__backtrace): Completely initialize arg.
22277
1af4e298 22278 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22279 storing incomplete byte sequence in state object. Avoid testing for
22280 guaranteed too small input if we know there is enough data available.
1af4e298 22281
da62f81b
AS
222822011-05-11 Andreas Schwab <schwab@redhat.com>
22283
22284 * Makeconfig (+link-pie): Indent.
22285 * Rules (binaries-pie): Define if $(have-fpie) and
22286 $(build-shared).
22287 (binaries-shared): Also filter out $(binaries-pie).
22288 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22289 * nscd/Makefile (others-pie): Add nscd.
22290 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22291 ($(objpfx)nscd): Remove command override.
22292 * login/Makefile (others-pie): Add pt_chown.
22293 ($(objpfx)pt_chown): Remove command override.
22294 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22295 remove command overrides.
22296
fcabc0f8
UD
222972011-05-13 Ulrich Drepper <drepper@gmail.com>
22298
20030ae6
UD
22299 * libio/tst_putwc.c: Fix error messages.
22300
fcabc0f8
UD
22301 [BZ #12724]
22302 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22303 currently writing and seek to current position when not.
22304 * libio/Makefile (tests): Add bug-fclose1.
22305 * libio/bug-fclose1.c: New file.
22306
320a5dc0
PB
223072011-05-12 Ulrich Drepper <drepper@gmail.com>
22308
22309 [BZ #12511]
22310 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22311 don't set DF_1_NODELETE here.
22312 (do_lookup_x): When entering new entry test for copy relocation
22313 and if necessary set DF_1_NODELETE flag.
22314 * elf/tst-unique4.cc: New file.
22315 * elf/tst-unique4.h: New file.
22316 * elf/tst-unique4lib.cc: New file.
22317 * elf/Makefile: Add rules to build and run tst-unique4.
22318 Patch by Piotr Bury <pbury@goahead.com>.
22319
22836f52
UD
223202011-05-11 Ulrich Drepper <drepper@gmail.com>
22321
f574184a
UD
22322 [BZ #12052]
22323 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22324
e1fb097f
UD
22325 [BZ #12625]
22326 * misc/mntent_r.c (addmntent): Flush the stream after the output
22327
22836f52
UD
22328 [BZ #12393]
22329 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22330 (is_trusted_path_normalize): Skip initial colon. Append slash
22331 to empty buffer. Duplicate is_trusted_path code but allow
22332 constructed patch to be prefix.
22333 (is_dst): Allow $ORIGIN followed by /.
22334 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22335 Correct testing of result of is_trusted_path_normalize
22336 (decompose_rpath): Fix warning.
22337
7b3b0b2a
UD
223382011-05-10 Ulrich Drepper <drepper@gmail.com>
22339
22340 [BZ #11257]
22341 * grp/initgroups.c (internal_getgrouplist): When we found the service
22342 list through the initgroups entry in nsswitch.conf do not always
22343 continue on a successful lookup. Don't always use the
eac80ce2 22344 __nss_group_database value if it is set.
7b3b0b2a
UD
22345 * nss/nsswitch.conf (initgroups): Change action for successful db
22346 lookup to continue for compatibility.
22347
2a81eaa5
UD
223482011-05-09 Ulrich Drepper <drepper@gmail.com>
22349
be97a69e
UD
22350 [BZ #11532]
22351 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22352 and CP774 modules.
22353 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22354 and CP774 modules.
22355 * iconvdata/tst-tables.sh: Likewise.
22356 * iconvdata/cp770.c: New file.
22357 * iconvdata/cp771.c: New file.
22358 * iconvdata/cp772.c: New file.
22359 * iconvdata/cp773.c: New file.
22360 * iconvdata/cp774.c: New file.
22361 * iconvdata/testdata/CP770: New file.
22362 * iconvdata/testdata/CP770..UTF8: New file.
22363 * iconvdata/testdata/CP771: New file.
22364 * iconvdata/testdata/CP771..UTF8: New file.
22365 * iconvdata/testdata/CP772: New file.
22366 * iconvdata/testdata/CP772..UTF8: New file.
22367 * iconvdata/testdata/CP773: New file.
22368 * iconvdata/testdata/CP773..UTF8: New file.
22369 * iconvdata/testdata/CP774: New file.
22370 * iconvdata/testdata/CP774..UTF8: New file.
22371
22372 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22373 END CHARMAP line.
22374 * iconvdata/gen-8bit-gap.sh: Likewise.
22375 * iconvdata/gen-8bit.sh: Likewise.
22376
c1e9e399
UD
22377 * locale/iso-639.def: Add ary entry.
22378
24c55fb3 22379 [BZ #11258]
96b4b1b0
UD
22380 * locale/C-translit.h.in: Add U20A1 transliteration.
22381
bdc2f971
KB
22382 [BZ #12178]
22383 * locale/iso-639.def: Add wae entry.
22384 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22385
2952b117
UD
22386 [BZ #12545]
22387 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22388 for n.
22389
2a81eaa5
UD
22390 [BZ #12711]
22391 * locale/C-translit.h.in: Add entry for U20B9.
22392 Patch by pravin.d.s@gmail.com.
22393
28377d1b
UD
223942011-05-08 Ulrich Drepper <drepper@gmail.com>
22395
7fb90fb8
UD
22396 [BZ #12713]
22397 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22398 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22399 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22400 in rtld. Use *stat64.
7fb90fb8 22401 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22402 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22403 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22404 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22405 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22406 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22407 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22408 __fstatat64 macros.
7fb90fb8
UD
22409 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22410 * dirent/rewinddir.c: Add libc_hidden_def.
22411 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22412 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22413
28377d1b
UD
22414 * include/dirent.h (__alloc_dir): Add flags parameter.
22415 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22416 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22417 __alloc_dir.
22418 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22419 from fdopendir if O_CLOEXEC is already set.
22420
66bdbaa4
AM
224212011-03-15 Alan Modra <amodra@gmail.com>
22422
22423 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22424 l_tls_firstbyte_offset non-zero. Save padding offset in
22425 l_tls_firstbyte_offset for later use.
22426 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22427 freeing static tls block.
22428
95721191
JN
224292011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22430
22431 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22432 where #ifdef was intended. The intent is to prevent ARG_MAX from
22433 being defined by the kernel headers.
22434
f87dfb1f
UD
224352011-05-07 Ulrich Drepper <drepper@gmail.com>
22436
22437 [BZ #12734]
22438 * resolv/resolv.h: Define RES_NOTLDQUERY.
22439 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22440 no-tld-query and set RES_NOTLDQUERY.
22441 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22442 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22443 modern BIND to search name as TLD unless forbidden.
22444
47c3cd7a
UD
224452011-05-07 Petr Baudis <pasky@suse.cz>
22446 Ulrich Drepper <drepper@gmail.com>
22447
22448 [BZ #12393]
22449 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22450 (is_trusted_path): ...to here.
c1e9ea35 22451 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22452 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22453 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22454
8a35c912
PP
224552011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22456
22457 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22458 __BEGIN/__END_DECLS.
22459
acd41f47
UD
224602011-05-06 Ulrich Drepper <drepper@gmail.com>
22461
22462 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22463 NSS_STATUS_NOTFOUND if no record was found.
22464
597df647
AS
224652011-05-05 Andreas Schwab <schwab@redhat.com>
22466
22467 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22468 (headers-not-in-tirpc): Remove rpc/netdb.h
22469 * resolv/netdb.h: Revert last change.
22470
b9af1301
PP
224712011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22472
22473 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22474 circular dependency between libgcc.a and libc.a.
22475
4e34d5f5
AS
224762011-05-05 Andreas Schwab <schwab@redhat.com>
22477
22478 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22479 * nis/Makefile: Don't install rpcsvc/*.
22480 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22481 instead of <rpc/types.h>.
22482 (MAXHOSTNAMELEN): Define.
22483
00ee369c
AS
224842011-05-03 Andreas Schwab <schwab@redhat.com>
22485
22486 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22487
0b592a30
MB
224882011-04-28 Maciej Babinski <mbabinski@google.com>
22489
22490 [BZ #12714]
22491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22492 gethostbyname4_r when IPv6 results are possible.
22493
6e04cbbe
UD
224942011-05-02 Ulrich Drepper <drepper@gmail.com>
22495
22496 [BZ #12723]
22497 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22498 _PC_PIPE_BUF handling.
22499
e4ecafe0
BH
225002011-04-30 Bruno Haible <bruno@clisp.org>
22501
22502 [BZ #12717]
22503 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22504 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22505 to 'int'.
22506 * inet/getnameinfo.c (getnameinfo): Likewise.
22507
125ee683
UD
225082011-04-29 Ulrich Drepper <drepper@gmail.com>
22509
22510 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22511 to groups setting in database lookup.
22512 * nss/nsswitch.conf: Add initgroups entry.
22513
b722481a
EB
225142011-04-22 Ulrich Drepper <drepper@gmail.com>
22515
22516 [BZ #12685]
22517 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22518 mode string.
22519 Patch by Eric Blake <eblake@redhat.com>.
22520
4df46dbd
L
225212011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22522
22523 * sunrpc/Makefile (need-export-routines): Add svc_run.
22524 (routines): Remove svc_run.
22525 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22526 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22527 * sunrpc/svc_run.c (svc_run): Likewise.
22528 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22529
e84142d2
UD
225302011-04-21 Ulrich Drepper <drepper@gmail.com>
22531
22532 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22533 problem in reallocation in last patch.
22534
877175d8
UD
225352011-04-20 Ulrich Drepper <drepper@gmail.com>
22536
22537 * sunrpc/Makefile: Move inclusion of Rules.
22538
ab8eed78
UD
225392011-04-19 Ulrich Drepper <drepper@gmail.com>
22540
22541 * nss/nss_files/files-initgroups.c: New file.
22542 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22543 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22544 _nss_files_initgroups_dyn.
22545
e3d8f584
RS
225462011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22547
22548 * elf/elf.h (R_ARM_IRELATIVE): Define.
22549
af190f45
UD
225502011-04-19 Ulrich Drepper <drepper@gmail.com>
22551
22552 * po/ru.po: Update from translation team.
22553
53cf59ef
UD
225542011-04-17 Ulrich Drepper <drepper@gmail.com>
22555
22556 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22557 dependencies.
22558
4c559bcd
MF
225592011-02-06 Mike Frysinger <vapier@gentoo.org>
22560
22561 [BZ #12653]
22562 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22563 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22564 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22565 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22566 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22567
4420675c
AS
225682011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22569
22570 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22571 differing bytes.
22572 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22573 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22574 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22575
75ea32ab
UD
225762011-04-17 Ulrich Drepper <drepper@gmail.com>
22577
22578 [BZ #12420]
22579 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22580 storing it.
22581 * stdlib/bug-getcontext.c: New file.
22582 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22583
27390476
AK
225842011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22585
22586 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22587 instructions into .machine "z9-109".
22588 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22589 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22590
10442705
AK
225912011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22592
22593 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22594 between environment variables and auxiliary vector.
22595
7b57bfe5
UD
225962011-04-16 Ulrich Drepper <drepper@gmail.com>
22597
22598 * Makefile: Add rules to build linkobj/libc.so.
22599 * include/libc-symbols.h: Define libc_hidden_nolink.
22600 * include/rpc/auth.h: Mark functions which are to be hidden.
22601 * include/rpc/auth_des.h: Likewise.
22602 * include/rpc/auth_unix.h: Likewise.
22603 * include/rpc/clnt.h: Likewise.
22604 * include/rpc/des_crypt.h: Likewise.
22605 * include/rpc/key_prot.h: Likewise.
22606 * include/rpc/pmap_clnt.h: Likewise.
22607 * include/rpc/pmap_prot.h: Likewise.
22608 * include/rpc/pmap_rmt.h: Likewise.
22609 * include/rpc/rpc_msg.h: Likewise.
22610 * include/rpc/svc.h: Likewise.
22611 * include/rpc/svc_auth.h: Likewise.
22612 * include/rpc/xdr.h: Likewise.
22613 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22614 * nss/Makefile: Likewise.
22615 * sunrpc/Makefile: Don't install headers. Build library with normal
22616 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22617 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22618 for the compat linking library. Remove use of INTDEF/INTUSE.
22619 * sunrpc/auth_none.c: Likewise.
22620 * sunrpc/auth_unix.c: Likewise.
22621 * sunrpc/authdes_prot.c: Likewise.
22622 * sunrpc/authuxprot.c: Likewise.
22623 * sunrpc/clnt_gen.c: Likewise.
22624 * sunrpc/clnt_perr.c: Likewise.
22625 * sunrpc/clnt_raw.c: Likewise.
22626 * sunrpc/clnt_simp.c: Likewise.
22627 * sunrpc/clnt_tcp.c: Likewise.
22628 * sunrpc/clnt_udp.c: Likewise.
22629 * sunrpc/clnt_unix.c: Likewise.
22630 * sunrpc/des_crypt.c: Likewise.
22631 * sunrpc/des_soft.c: Likewise.
22632 * sunrpc/get_myaddr.c: Likewise.
22633 * sunrpc/key_call.c: Likewise.
22634 * sunrpc/key_prot.c: Likewise.
22635 * sunrpc/netname.c: Likewise.
22636 * sunrpc/pm_getmaps.c: Likewise.
22637 * sunrpc/pm_getport.c: Likewise.
22638 * sunrpc/pmap_clnt.c: Likewise.
22639 * sunrpc/pmap_prot.c: Likewise.
22640 * sunrpc/pmap_prot2.c: Likewise.
22641 * sunrpc/pmap_rmt.c: Likewise.
22642 * sunrpc/publickey.c: Likewise.
22643 * sunrpc/rpc_cmsg.c: Likewise.
22644 * sunrpc/rpc_common.c: Likewise.
22645 * sunrpc/rpc_dtable.c: Likewise.
22646 * sunrpc/rpc_prot.c: Likewise.
22647 * sunrpc/rpc_thread.c: Likewise.
22648 * sunrpc/rtime.c: Likewise.
22649 * sunrpc/svc.c: Likewise.
22650 * sunrpc/svc_auth.c: Likewise.
22651 * sunrpc/svc_authux.c: Likewise.
22652 * sunrpc/svc_raw.c: Likewise.
22653 * sunrpc/svc_run.c: Likewise.
22654 * sunrpc/svc_simple.c: Likewise.
22655 * sunrpc/svc_tcp.c: Likewise.
22656 * sunrpc/svc_udp.c: Likewise.
22657 * sunrpc/svc_unix.c: Likewise.
22658 * sunrpc/svcauth_des.c: Likewise.
22659 * sunrpc/xcrypt.c: Likewise.
22660 * sunrpc/xdr.c: Likewise.
22661 * sunrpc/xdr_array.c: Likewise.
22662 * sunrpc/xdr_float.c: Likewise.
22663 * sunrpc/xdr_intXX_t.c: Likewise.
22664 * sunrpc/xdr_mem.c: Likewise.
22665 * sunrpc/xdr_rec.c: Likewise.
22666 * sunrpc/xdr_ref.c: Likewise.
22667 * sunrpc/xdr_sizeof.c: Likewise.
22668 * sunrpc/xdr_stdio.c: Likewise.
22669
e6c61494
UD
226702011-04-10 Ulrich Drepper <drepper@gmail.com>
22671
22672 [BZ #12650]
22673 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22674 * sysdeps/ia64/dl-tls.h: Likewise.
22675 * sysdeps/powerpc/dl-tls.h: Likewise.
22676 * sysdeps/s390/dl-tls.h: Likewise.
22677 * sysdeps/sh/dl-tls.h: Likewise.
22678 * sysdeps/sparc/dl-tls.h: Likewise.
22679 * sysdeps/x86_64/dl-tls.h: Likewise.
22680 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22681
34fe483e
AS
226822011-03-14 Andreas Schwab <schwab@redhat.com>
22683
22684 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22685 rpath element also skip the following colon.
22686 (expand_dynamic_string_token): Add is_path parameter and pass
22687 down to DL_DST_REQUIRED and _dl_dst_substitute.
22688 (decompose_rpath): Call expand_dynamic_string_token with
22689 non-zero is_path. Ignore empty rpaths.
22690 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22691 with zero is_path.
22692
f12a32e6
AS
226932011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22694
22695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22696 Make cancelable.
22697
38a7d692
UD
226982011-04-09 Ulrich Drepper <drepper@gmail.com>
22699
22700 [BZ #12655]
22701 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22702 Patch by Filipe David Manana <fdmanana@apache.org>.
22703
e451d22b
AS
227042011-04-07 Andreas Schwab <schwab@redhat.com>
22705
22706 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22707 Maintain aligned stack.
22708 (CHECK_RSP): Remove unused macro.
22709
dedc7c7b
UD
227102011-04-03 Ulrich Drepper <drepper@gmail.com>
22711
22712 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22713 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22714
94521213
UD
227152011-04-02 Ulrich Drepper <drepper@gmail.com>
22716
22717 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22718
8cb700c0 22719 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22720
0354e355
L
227212011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22722
22723 [BZ #12518]
22724 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22725 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22726 * sysdeps/x86_64/memmove.c: New file.
22727 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22728 (memcpy): Renamed to ...
22729 (__new_memcpy): This.
22730 (memcpy): Provide GLIBC_2_14 memcpy.
22731 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22732 (memcpy): Provide GLIBC_2_2_5 memcpy.
22733
8593482f
UD
227342011-04-01 Ulrich Drepper <drepper@gmail.com>
22735
22736 [BZ #12631]
22737 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22738
81a5726b
AS
227392011-03-30 Andreas Schwab <schwab@redhat.com>
22740
22741 * misc/syncfs.c: New file.
22742 * misc/Makefile (routines): Add syncfs.
22743 * posix/unistd.h: Declare syncfs.
22744 * sysdeps/unix/syscalls.list: Add syncfs.
22745
00e5419f
AS
227462011-04-01 Andreas Schwab <schwab@redhat.com>
22747
22748 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22749 open_by_handle_at.
22750 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22751 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22753 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22754 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22755 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22756 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22757
748876bf
UD
227582011-04-01 Ulrich Drepper <drepper@gmail.com>
22759
658e451d
UD
22760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22762 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22763 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22764 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22767
748876bf
UD
22768 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22769 sync_file_range.c with -fexceptions.
22770 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22771 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22772 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22773 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22774 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22775 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22776 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22777 sync_file_range as cancellation point
22778 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22779 now a wrapper around __call_sync_file_range with cancellation handling.
22780 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22781 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22782 function name to __call_sync_file_range.
22783 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22784 Add call_sync_file_range.
748876bf 22785
6e63d5e1
AS
227862011-04-01 Andreas Schwab <schwab@redhat.com>
22787
22788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22789 bits/timex.h.
6e63d5e1 22790
46998f74
UD
227912011-04-01 Ulrich Drepper <drepper@gmail.com>
22792
4c1423ed
UD
22793 * iconv/iconv.h: Fix typo in comment.
22794 * io/fcntl.h: Likewise.
22795 * libio/stdio.h: Likewise.
22796 * posix/spawn.h: Likewise.
22797 * posix/unistd.h: Likewise.
22798 * stdlib/stdlib.h: Likewise.
22799 * time/time.h: Likewise.
22800 * wcsmbs/wchar.h: Likewise.
22801
158648c0
UD
22802 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22803 open_by_handle): Add.
22804 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22805 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22806 Augment a few comments.
22807 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22808 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22809 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22810 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22811 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22812 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22813 open_by_handle.
22814
46998f74
UD
22815 * io/fcntl.h (AT_EMPTY_PATH): Define.
22816
83fe108b
UD
228172011-03-30 Ulrich Drepper <drepper@gmail.com>
22818
22819 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22820 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22821 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22822 to...
22823 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22824 * Versions.def: Add GLIBC_2.14.
22825 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22826 Export.
83fe108b 22827
bb242059
UD
228282011-03-22 Ulrich Drepper <drepper@gmail.com>
22829
22830 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22831 round counter.
22832 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22833
c97a1282
L
228342011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22835
22836 [BZ #12597]
22837 * string/test-strncmp.c (do_page_test): New function.
22838 (check2): Likewise.
22839 (test_main): Call check2.
22840 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22841
2a115601
UD
228422011-03-20 Ulrich Drepper <drepper@gmail.com>
22843
22844 [BZ #12587]
22845 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22846 Handle cache information in CPU leaf 4.
22847 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22848
8126d904
UD
228492011-03-18 Ulrich Drepper <drepper@gmail.com>
22850
042c49c6 22851 [BZ #12583]
8126d904
UD
22852 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22853 character representation.
22854 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22855
ccfe366e
RA
228562011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22857
22858 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22859 END(__isnan) to END(__isnanf) to match function entry point/label
22860 EALIGN(__isnanf,...).
22861
c6e13027
JJ
228622011-03-10 Jakub Jelinek <jakub@redhat.com>
22863
22864 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22865
33f85a3f
UD
228662011-03-10 Ulrich Drepper <drepper@gmail.com>
22867
028478fa
UD
22868 [BZ #12510]
22869 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22870 copy from the symbol referenced in the relocation to initialize the
22871 used variable.
22872 Patch by Piotr Bury <pbury@goahead.com>.
22873 * elf/Makefile: Add rules to build and tst-unique3.
22874 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22875 * elf/tst-unique3.cc: New file.
22876 * elf/tst-unique3.h: New file.
22877 * elf/tst-unique3lib.cc: New file.
22878 * elf/tst-unique3lib2.cc: New file.
22879
33f85a3f
UD
22880 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22881
03592fc7
MF
228822011-03-10 Mike Frysinger <vapier@gentoo.org>
22883
22884 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22885 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22886 to _start.
03592fc7 22887
6a5ee102
UD
228882011-03-06 Ulrich Drepper <drepper@gmail.com>
22889
22890 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22891 to-be-loaded object along a path to loader is ld.so.
22892
7e4ba49c
HJ
228932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22894 Ulrich Drepper <drepper@gmail.com>
22895
22896 * sysdeps/x86_64/memset.S: After aligning destination, code
22897 branches to different locations depending on the value of
22898 misalignment, when multiarch is enabled. Fix this.
22899
229002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22901
22902 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22903 Set _x86_64_preferred_memory_instruction for AMD processsors.
22904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22905 Set bit_Prefer_SSE_for_memop for AMD processors.
22906
13a804de
UD
229072011-03-04 Ulrich Drepper <drepper@gmail.com>
22908
22909 * libio/fmemopen.c (fmemopen): Optimize a bit.
22910
9d25c392
AS
229112011-03-03 Andreas Schwab <schwab@redhat.com>
22912
22913 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22914
a5543c6a
RM
229152011-03-03 Roland McGrath <roland@redhat.com>
22916
22917 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22918
012d35f7
DM
229192011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22920
7e4ba49c 22921 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22922 __bzero_ultra1 instead of __memset_ultra1.
22923
4bff6e01
AS
229242011-02-23 Andreas Schwab <schwab@redhat.com>
22925 Ulrich Drepper <drepper@gmail.com>
22926
22927 [BZ #12509]
22928 * include/link.h (struct link_map): Add l_orig_initfini.
22929 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22930 returning unsuccessfully.
22931 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22932 close of a file loaded at startup, restore the original l_initfini
22933 list.
22934 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22935 list, store the pointer.
22936 * elf/Makefile ($(objpfx)noload-mem): New rule.
22937 (noload-ENV): Define.
22938 (tests): Add $(objpfx)noload-mem.
22939 * elf/noload.c: Include <memcheck.h>.
22940 (main): Call mtrace. Close all opened handles.
22941
f2092faf
AS
229422011-02-17 Andreas Schwab <schwab@redhat.com>
22943
22944 [BZ #12454]
22945 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22946 dependencies are missing.
22947
6c8a2e88
ST
229482011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22949
f2092faf 22950 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22951 Hurd needs munmap.
22952 * sysdeps/mach/hurd/ifreq.h: New file.
22953
84a42118
PB
229542011-01-27 Petr Baudis <pasky@suse.cz>
22955 Ulrich Drepper <drepper@gmail.com>
22956
071f805e 22957 [BZ 12445]#
84a42118
PB
22958 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22959 to extend_alloca().
22960 * stdio-common/bug23.c: New file.
22961 * stdio-common/Makefile (tests): Add bug23.
22962
e23fe25b
AS
229632010-09-28 Andreas Schwab <schwab@redhat.com>
22964 Ulrich Drepper <drepper@gmail.com>
22965
22966 [BZ #12489]
22967 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22968 before performing relro protection. At old place add assertion
22969 to make sure nothing changed.
22970
d3f02e10
NS
229712011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22972 Glauber de Oliveira Costa <glommer@gmail.com>
22973
22974 * elf/elf.h: Add new ARM TLS relocs.
22975
d55fd7a5
RA
229762011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22977
22978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22979 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22980 cast from r3.
22981 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22982 'tests' variable.
22983 * sysdeps/wordsize-64/tst-writev.c: New file.
22984
2206397e
RA
229852011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22986
22987 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22988 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22989 insns in _dl_start to prevent a TOC reference before relocs are
22990 resolved.
22991
e9433893
UD
229922011-02-15 Ulrich Drepper <drepper@gmail.com>
22993
22994 [BZ #12469]
22995 * Makeconfig: Remove RANLIB definition.
22996 * Makerules: Don't use RANLIB.
22997 * aclocal.m4: Remove ranlib test.
22998 * configure.in: No need to check for ranlib.
22999 * elf/rtld-Rules: Don't use RANLIB.
23000
f75286c6
ST
230012011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23002
8e31c82d
ST
23003 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
23004 protection macro.
23005 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
23006 inclusion protection macro.
23007
f75286c6
ST
23008 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
23009 SIGRTMIN and SIGRTMAX and print information in that case only when
23010 SIGRTMIN is defined.
23011
c1d0e639
JJ
230122011-02-11 Jakub Jelinek <jakub@redhat.com>
23013
23014 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
23015 arginfo fn returning -1.
23016
23017 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
23018 and thousands string is zero terminated.
23019
edf9294e
AS
230202011-02-03 Andreas Schwab <schwab@redhat.com>
23021
23022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23023 sysdeps/unix/sysv/linux/bits/socket.h.
23024
2b7e92df
ST
230252011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23026
edf9294e
AS
23027 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23028 (__CPU_COUNT): Remove old macros.
23029 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23030 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23031 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23032 (__sched_cpualloc, __sched_cpufree): Add declarations.
23033
a4c7ea7b
UD
230342011-02-05 Ulrich Drepper <drepper@gmail.com>
23035
23036 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23037 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23038 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23039 (readdhstai): Return value of addhstaiX call.
23040 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23041 (addgrbyX): Return value returned by cache_addgr.
23042 (readdgrbyname): Return value returned by addgrbyX.
23043 (readdgrbygid): Likewise.
23044 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23045 (addpwbyX): Return value returned by cache_addpw.
23046 (readdpwbyname): Return value returned by addhstbyX.
23047 (readdpwbyuid): Likewise.
23048 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23049 (addservbyX): Return value returned by cache_addserv.
23050 (readdservbyname): Return value returned by addservbyX:
23051 (readdservbyport): Likewise.
23052 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23053 (addhstbyX): Return value returned by cache_addhst.
23054 (readdhstbyname): Return value returned by addhstbyX.
23055 (readdhstbyaddr): Likewise.
23056 (readdhstbynamev6): Likewise.
23057 (readdhstbyaddrv6): Likewise.
23058 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23059 (readdinitgroups): Return value returned by addinitgroupsX.
23060 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23061 (prune_cache): Keep track of timeout value of re-added entries.
23062 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23063 * nscd/nscd.h: Adjust prototypes of readd* functions.
23064
a0bf67cc
RM
230652011-02-04 Roland McGrath <roland@redhat.com>
23066
23067 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23068 (nis_stats): Likewise.
23069 * nis/nis_modify.c (nis_modify): Likewise.
23070 * nis/nis_remove.c (nis_remove): Likewise.
23071 * nis/nis_add.c (nis_add): Likewise.
23072
23073 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23074
23075 * posix/fnmatch_loop.c: Add some consts.
23076
23077 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23078
435b95eb
L
230792011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23080
23081 [BZ #12460]
23082 * config.make.in (config-cflags-novzeroupper): Define.
23083 * configure.in: Substitute libc_cv_cc_novzeroupper.
23084 * elf/Makefile (AVX-CFLAGS): Define.
23085 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23086 (CFLAGS-tst-auditmod4a.c): Likewise.
23087 (CFLAGS-tst-auditmod4b.c): Likewise.
23088 (CFLAGS-tst-auditmod6b.c): Likewise.
23089 (CFLAGS-tst-auditmod6c.c): Likewise.
23090 (CFLAGS-tst-auditmod7b.c): Likewise.
23091 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23092
8517b15e
UD
230932011-02-02 Ulrich Drepper <drepper@gmail.com>
23094
23095 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23096 function to the callback.
23097 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23098
10a656fe
AS
230992011-02-02 Andreas Schwab <schwab@redhat.com>
23100
23101 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23102 of errno.
23103
968dad0a
UD
231042011-01-19 Ulrich Drepper <drepper@gmail.com>
23105
9f94d2ea 23106 [BZ #11724]
968dad0a
UD
23107 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23108 of constructors.
23109 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23110 of destructors.
23111 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23112
23113 [BZ #11724]
23114 * elf/Makefile: Add rules to build and run new test.
23115 * elf/tst-initorder.c: New file.
23116 * elf/tst-initorder.exp: New file.
23117 * elf/tst-initordera1.c: New file.
23118 * elf/tst-initordera2.c: New file.
23119 * elf/tst-initordera3.c: New file.
23120 * elf/tst-initordera4.c: New file.
23121 * elf/tst-initorderb1.c: New file.
23122 * elf/tst-initorderb2.c: New file.
23123 * elf/tst-order-a1.c: New file.
23124 * elf/tst-order-a2.c: New file.
23125 * elf/tst-order-a3.c: New file.
23126 * elf/tst-order-a4.c: New file.
23127 * elf/tst-order-b1.c: New file.
23128 * elf/tst-order-b2.c: New file.
23129 * elf/tst-order-main.c: New file.
23130 New test case by George Gensure <werkt0@gmail.com>.
23131
86e92359
UD
231322010-10-01 Andreas Schwab <schwab@redhat.com>
23133
23134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23135 decoding ACE if AI_CANONIDN.
23136
5d5732b0
UD
231372011-01-18 Ulrich Drepper <drepper@gmail.com>
23138
23139 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23140
a77e8cbc
UD
231412011-01-17 Ulrich Drepper <drepper@gmail.com>
23142
6392473f
UD
23143 * version.h (RELEASE): Bump for 2.13 release.
23144 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23145
620a0529
UD
23146 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23147
18ba70a5
UD
23148 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23149 MADV_NOHUGEPAGE.
32465c3e
UD
23150 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23151 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23152 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23153 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23154 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23155 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23156
c0dafcf1
UD
23157 * posix/getconf.c: Update copyright year.
23158 * catgets/gencat.c: Likewise.
23159 * csu/version.c: Likewise.
23160 * debug/catchsegv.sh: Likewise.
23161 * debug/xtrace.sh: Likewise.
23162 * elf/ldconfig.c: Likewise.
23163 * elf/ldd.bash.in: Likewise.
23164 * elf/sprof.c (print_version): Likewise.
23165 * iconv/iconv_prog.c: Likewise.
23166 * iconv/iconvconfig.c: Likewise.
23167 * locale/programs/locale.c: Likewise.
23168 * locale/programs/localedef.c: Likewise.
23169 * malloc/memusage.sh: Likewise.
23170 * malloc/mtrace.pl: Likewise.
23171 * nscd/nscd.c (print_version): Likewise.
23172 * nss/getent.c: Likewise.
23173
a77e8cbc
UD
23174 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23175 PF_CAIF, and PF_ALG.
23176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23177
77e8bddf
AS
231782011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23179
1f20b93a
AS
23180 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23181 (modules-names): Use them.
23182 (ifunc-test-modules, ifunc-pie-tests): Define.
23183 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23184 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23185 (test-extras): Likewise.
23186 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23187 $(compile-command.c).
23188 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23189 (all-built-dso): Define.
23190 (check-textrel.out, check-execstack.out): Depend on it.
23191
77e8bddf
AS
23192 * configure.in: Don't override --enable-multi-arch.
23193
bc425b33
UD
231942011-01-15 Ulrich Drepper <drepper@gmail.com>
23195
23196 [BZ #6812]
23197 * nscd/hstcache.c (tryagain): Define.
23198 (cache_addhst): Return tryagain not notfound for temporary errors.
23199 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23200 failed.
23201
794c3ad3
UD
232022011-01-14 Ulrich Drepper <drepper@gmail.com>
23203
70181fdd
UD
23204 [BZ #10563]
23205 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23206 to make the syscall.
23207 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23208
794c3ad3
UD
23209 [BZ #12378]
23210 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23211 and fall back to matching as normal character if the string ends before
23212 the matching ']' is found. This is what POSIX requires.
23213 * posix/testfnm.c: Adjust test result.
23214 * posix/globtest.sh: Adjust test result. Add new test.
23215 * posix/tst-fnmatch.input: Likewise.
23216 * posix/tst-fnmatch2.c: Add new test.
23217
68dc9497
AS
232182010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23219
23220 * elf/Makefile (check-execstack): Revert last change. Depend on
23221 check-execstack.h.
23222 (check-execstack.h): New target.
23223 (generated): Add check-execstack.h.
23224 * elf/check-execstack.c: Include "check-execstack.h".
23225 (main): Revert last change.
23226 (handle_file): Return zero if GNU_STACK is absent and
23227 DEFAULT_STACK_PERMS doesn't include PF_X.
23228
451f001b
UD
232292011-01-13 Ulrich Drepper <drepper@gmail.com>
23230
cfa28e56
UD
23231 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23232 in child fails because the descriptor is already closed.
8cf8ce17
UD
23233 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23234 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23235 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23236
1086d70d
UD
23237 [BZ #12397]
23238 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23239 syscall.
23240
451f001b
UD
23241 [BZ #10484]
23242 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23243 temporary buffer used to handle multi lookups locally.
a85b5cb4 23244 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23245
08769175
UD
232462011-01-12 Ulrich Drepper <drepper@gmail.com>
23247
23248 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23249 loader is ld.so.
23250
5e49c52e
UD
232512011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23252
23253 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23254 alignment for SSE2.
23255
60522a5f
UD
232562011-01-12 Ulrich Drepper <drepper@gmail.com>
23257
23258 [BZ #12394]
23259 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23260 characters. When rounding increased number of integer digits recompute
23261 number of groups.
23262 * stdio-common/tst-grouping.c: New file.
23263 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23264
f257bbd7
UD
232652011-01-09 Ulrich Drepper <drepper@gmail.com>
23266
23267 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23268 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23269
23270 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23271 void.
23272 * bits/select.h: Likewise.
23273
fa9c15cb
UD
232742011-01-08 Ulrich Drepper <drepper@gmail.com>
23275
23276 * po/ja.po: Update from translation team.
23277
16c2895f
DM
232782011-01-04 David S. Miller <davem@sunset.davemloft.net>
23279
23280 [BZ #11155]
23281 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23282 implementation just like for lxstat, fxstatat, et al.
23283
2543fef2
JM
232842010-12-27 Jim Meyering <meyering@redhat.com>
23285
23286 [BZ #12348]
23287 * posix/regexec.c (build_trtable): Return failure indication upon
23288 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23289
98727dbe
UD
232902010-12-25 Ulrich Drepper <drepper@gmail.com>
23291
5bd6dc5c
UD
23292 [BZ #12201]
23293 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23294 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23295 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23296 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23297
97983464
UD
23298 [BZ #12207]
23299 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23300
98727dbe
UD
23301 [BZ #12204]
23302 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23303 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23304
4a531bb0
L
233052010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23306
23307 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23308 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23309 script has SORT_BY_INIT_PRIORITY.
23310 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23311 NO_CTORS_DTORS_SECTIONS is defined.
23312 * elf/soinit.c: Likewise.
23313 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23314 NO_CTORS_DTORS_SECTIONS is defined.
23315 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23316 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23317 * sysdeps/sh/init-first.c: Likewise.
23318 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23319
07eb4b71
UD
233202010-12-24 Ulrich Drepper <drepper@gmail.com>
23321
23322 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23323 always use the slow path.
23324
30950a5f
RA
233252010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23326
23327 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23328 similar rule which adds the sysdep directories to the header search in
23329 order to pick up the correct platform stackinfo.h.
23330 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23331 perform test if it is, otherwise return successfully without testing.
23332 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23333 DEFAULT_STACK_PERMS define in stackinfo.h.
23334 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23335 defined in stackinfo.h.
23336 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23337 DEFAULT_STACK_PERMS defined in stackinfo.h.
23338 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23339 * sysdeps/ia64/stackinfo.h: Likewise.
23340 * sysdeps/s390/stackinfo.h: Likewise.
23341 * sysdeps/sh/stackinfo.h: Likewise.
23342 * sysdeps/sparc/stackinfo.h: Likewise.
23343 * sysdeps/x86_64/stackinfo.h: Likewise.
23344 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23345 PF_X for powerpc64. Retain PF_X for powerpc32.
23346
db753e2c
UD
233472010-12-19 Ulrich Drepper <drepper@gmail.com>
23348
14b697f7
UD
23349 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23350 accurately.
db753e2c
UD
23351 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23352 GETDENTS_64BIT_ALIGNED.
23353
28300719
UD
233542010-12-14 Ulrich Drepper <dreper@gmail.com>
23355
14b697f7 23356 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23357
4f197237
AS
233582010-12-10 Andreas Schwab <schwab@redhat.com>
23359
dbb0472f
AS
23360 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23361 _GNU_SOURCE.
23362
4f197237
AS
23363 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23364 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23365 Remove __restrict.
23366 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23367 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23368
fb88ac72
UD
233692010-12-09 Ulrich Drepper <drepper@gmail.com>
23370
23371 [BZ #11655]
23372 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23373 are initialized.
23374
42acbb92
JJ
233752010-12-09 Jakub Jelinek <jakub@redhat.com>
23376
23377 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23378
c038d98d
UD
233792010-12-03 Ulrich Drepper <drepper@gmail.com>
23380
23381 * po/it.po: Update from translation team.
23382
3a4a2499
L
233832010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23384
23385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23386 unused codes.
23387
1e24cf6e
UD
233882010-11-30 Ulrich Drepper <drepper@gmail.com>
23389
23390 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23391
a7690819
AS
233922010-11-24 Andreas Schwab <schwab@redhat.com>
23393
23394 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23395 specially.
23396 (gaih_getanswer_slice): Likewise.
23397
3bf8d1b1
JJ
233982010-10-20 Jakub Jelinek <jakub@redhat.com>
23399
23400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23401
6db52fbb
PB
234022010-05-31 Petr Baudis <pasky@suse.cz>
23403
23404 [BZ #11149]
23405 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23406 silently even in the chroot mode.
23407
eaca7569
UD
234082010-11-22 Ulrich Drepper <drepper@gmail.com>
23409
23410 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23411 last patch a bit. Pretty printing
23412
3056dcdb
UD
234132010-05-31 Petr Baudis <pasky@suse.cz>
23414
23415 [BZ #10085]
23416 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23417 initialization of skip_initgroups_dyn.
23418
cf7c9078
UD
234192010-11-19 Ulrich Drepper <drepper@gmail.com>
23420
23421 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23422 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23423
a1fb5e3e
UD
234242010-11-16 Ulrich Drepper <drepper@gmail.com>
23425
23426 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23427
3540d66b
AS
234282010-11-11 Andreas Schwab <schwab@redhat.com>
23429
23430 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23431 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23432 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23433 ($(objpfx)tst-fnmatch-mem): New rule.
23434 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23435 * posix/tst-fnmatch.c (main): Call mtrace.
23436
13b69574
L
234372010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23438
23439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23440 Support Intel processor model 6 and model 0x2c.
23441
da93d214
LM
234422010-11-10 Luis Machado <luisgpm@br.ibm.com>
23443
23444 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23445 signed comparison.
23446
8ca52c6e
L
234472010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23448
23449 [BZ #12205]
23450 * string/test-strncasecmp.c (check_result): New function.
23451 (do_one_test): Use it.
23452 (check1): New function.
23453 (test_main): Use it.
23454 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23455 Support strcasecmp and strncasecmp.
23456
69da074d
UD
234572010-11-08 Ulrich Drepper <drepper@gmail.com>
23458
23459 [BZ #12194]
23460 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23461 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23462
ff02d528
L
234632010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23464
23465 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23466 IFUNC support.
23467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23468 memset-x86-64.
23469 * sysdeps/x86_64/multiarch/bzero.S: New file.
23470 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23471 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23472 * sysdeps/x86_64/multiarch/memset.S: New file.
23473 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23475 Set bit_Prefer_SSE_for_memop for Intel processors.
23476 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23477 Define.
23478 (index_Prefer_SSE_for_memop): Define.
23479 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23480
344d0b54
LM
234812010-11-04 Luis Machado <luisgpm@br.ibm.com>
23482
23483 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23484 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23485
c0dde15b
UD
234862010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23487
23488 [BZ #12191]
23489 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23490 (__x86_64_raw_data_cache_size_half): Likewise.
23491 (__x86_64_raw_shared_cache_size): Likewise.
23492 (__x86_64_raw_shared_cache_size_half): Likewise.
23493
23494 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23495 (__x86_64_raw_data_cache_size_half): Likewise.
23496 (__x86_64_raw_shared_cache_size): Likewise.
23497 (__x86_64_raw_shared_cache_size_half): Likewise.
23498 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23499 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23500 and __x86_64_raw_shared_cache_size_half. Round
23501 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23502 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23503 to multiple of 256 bytes.
23504
0e516e0e
MS
235052010-11-03 Ulrich Drepper <drepper@gmail.com>
23506
23507 [BZ #12167]
23508 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23509 of inacessible symlinks. Verify result of symlink before returning it.
23510 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23511 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23512
0e012e87
ER
235132010-10-28 Erich Ritz <erichritz@gmail.com>
23514
23515 * math/math.h (isinf): Fix typo in comment.
23516
de0ff7bc
UD
235172010-11-01 Ulrich Drepper <drepper@gmail.com>
23518
23519 * po/da.po: Update from translation team.
23520
fa41c84d
UD
235212010-10-26 Ulrich Drepper <drepper@gmail.com>
23522
23523 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23524 is added to the list.
23525
f0967738
AK
235262010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23527 Ulrich Drepper <drepper@gmail.com>
23528
23529 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23530 the global list here. Move code to...
23531 (_dl_add_to_namespace_list): ...here. New function.
23532 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23533 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23534 * elf/dl-load.c (lose): Don't remove the element from the list.
23535 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23536 (_dl_map_object): Likewise.
23537
235382010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23539
23540 [BZ #12159]
23541 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23542 into all bytes of SSE register.
23543 Patch by Richard Li <richardpku@gmail.com>.
23544
f0967738 235452010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23546
23547 [BZ #12140]
23548 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23549 perturbing.
23550
d0b9e94f
MB
235512010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23552
23553 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23554 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23555 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23556 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23558 submachine.
23559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23560
8e9f92e9
AS
235612010-10-22 Andreas Schwab <schwab@redhat.com>
23562
23563 * include/dlfcn.h (__RTLD_SECURE): Define.
23564 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23565 mode & __RTLD_SECURE instead.
23566 (open_path): Rename preloaded parameter to secure.
23567 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23568 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23569 * elf/dl-deps.c (openaux): Likewise.
23570 * elf/rtld.c (struct map_args): Remove is_preloaded.
23571 (map_doit): Don't use it.
23572 (dl_main): Likewise.
23573 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23574 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23575
bc96fbda
AS
235762010-09-09 Andreas Schwab <schwab@redhat.com>
23577
23578 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23579 (sysd-rules-targets): Remove duplicates.
23580 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23581 rtld-%.$o dependency.
23582
22cd1c9b
AS
235832010-10-18 Andreas Schwab <schwab@redhat.com>
23584
23585 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23586 _dl_map_object do it.
23587
18edac48
UD
235882010-10-19 Ulrich Drepper <drepper@gmail.com>
23589
23590 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23591 fast fma builtins, define the macros in the C99 standard.
23592 (FP_FAST_FMAF): Likewise.
23593 (FP_FAST_FMAL): Likewise.
23594 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23595
23596 * bits/mathdef.h: Update copyright year.
23597 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23598
d2050124
MM
235992010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23600
23601 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23602 builtins, define the macros in the C99 standard.
23603 (FP_FAST_FMAF): Likewise.
23604 (FP_FAST_FMAL): Likewise.
23605 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23606 multiply/add.
23607 (FP_FAST_FMAF): Likewise.
23608
475facd1
JJ
236092010-10-15 Jakub Jelinek <jakub@redhat.com>
23610
23611 [BZ #3268]
23612 * math/libm-test.inc (fma_test): Some new testcases.
23613 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23614 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23615 y and infinite z. Do multiplication by C already in long double.
23616 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23618 y and infinite z. Do bitwise or of inexact bit into u.d.
23619 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23620 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23621 * sysdeps/i386/fpu/s_fma.S: Removed.
23622 * sysdeps/i386/fpu/s_fmal.S: Removed.
23623
7c08a05c
JJ
236242010-10-16 Jakub Jelinek <jakub@redhat.com>
23625
23626 [BZ #3268]
23627 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23629 computation is not scheduled after fetestexcept. Fix value
23630 of minimum denormal long double.
23631
f3f7372d
JJ
236322010-10-14 Jakub Jelinek <jakub@redhat.com>
23633
23634 [BZ #3268]
23635 * math/libm-test.inc (fma_test): Add some more tests.
23636 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23637 correctly.
23638
14d43591
AS
236392010-10-15 Andreas Schwab <schwab@redhat.com>
23640
23641 * scripts/data/localplt-s390-linux-gnu.data: New file.
23642 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23643
5e908464
JJ
236442010-10-13 Jakub Jelinek <jakub@redhat.com>
23645
23646 [BZ #3268]
23647 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23648 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23649 instead of dbl-64.
23650 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23651 inlines.
23652 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23654 if one of x and y is very large and the other is subnormal.
23655 * sysdeps/s390/fpu/s_fmaf.c: New file.
23656 * sysdeps/s390/fpu/s_fma.c: New file.
23657 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23658 * sysdeps/powerpc/fpu/s_fma.S: New file.
23659 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23660 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23661 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23662
236632010-10-12 Jakub Jelinek <jakub@redhat.com>
23664
23665 [BZ #3268]
23666 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23667 fma tests.
23668 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23669 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23670 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23671 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23672 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23673 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23674 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23675
b833d51f
UD
236762010-10-12 Ulrich Drepper <drepper@redhat.com>
23677
23678 [BZ #12078]
23679 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23680 * posix/bug-regex31.input: Add test case.
23681
1751705d
UD
236822010-10-11 Ulrich Drepper <drepper@gmail.com>
23683
e9b9cbf5
UD
23684 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23685 * posix/bug-regex31.input: New file.
23686
23687 [BZ #12078]
23688 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23689 (parse_sub_exp): Fix last change, use postorder.
23690
ef06edbe
UD
23691 * posix/bug-regex31.c: New file.
23692 * posix/Makefile: Add rules to build and run bug-regex31.
23693
a129c80d
UD
23694 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23695
23696 [BZ #12078]
23697 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23698
b76b818e
UD
23699 [BZ #12108]
23700 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23701 to have entries in sys_siglist.
23702
1751705d
UD
23703 [BZ #12093]
23704 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23705 be NULL.
23706
9ff8d36f
JJ
237072010-10-07 Jakub Jelinek <jakub@redhat.com>
23708
23709 [BZ #3268]
23710 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23711 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23712 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23713 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23714 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23715 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23716 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23717 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23718 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23719 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23720 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23721 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23722 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23723 * math/ftestexcept.c (fetestexcept): Likewise.
23724 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23725 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23726 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23727 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23728 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23729 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23730 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23731
af325969
UD
237322010-10-11 Ulrich Drepper <drepper@gmail.com>
23733
c579b202 23734 [BZ #12107]
af325969
UD
23735 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23736 newline.
23737
67a67b95
UD
237382010-10-06 Ulrich Drepper <drepper@gmail.com>
23739
23740 * string/bug-strstr1.c: New file.
23741 * string/Makefile: Add rules to build and run bug-strstr1.
23742
5fb308bc
EB
237432010-10-05 Eric Blake <eblake@redhat.com>
23744
23745 [BZ #12092]
23746 * string/str-two-way.h (two_way_long_needle): Always clear memory
23747 when skipping input due to the shift table.
23748
45db99c7
UD
237492010-10-03 Ulrich Drepper <drepper@gmail.com>
23750
3b111893
UD
23751 [BZ #12005]
23752 * malloc/mcheck.c: Handle large requests.
23753
45db99c7
UD
23754 [BZ #12077]
23755 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23756 for strncmp and strncasecmp.
23757 * string/stratcliff.c: Add tests for strcmp and strncmp.
23758 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23759
cf7a1eb8
NI
237602010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23761
23762 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23763 __set_fpscr.
23764
6484ba5e
AJ
237652010-09-30 Andreas Jaeger <aj@suse.de>
23766
23767 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23768 (CGROUP_SUPER_MAGIC): Define.
23769 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23770 Handle btrfs and cgroup file systems.
23771 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23772 Likewise.
23773
91c42559
LM
237742010-09-27 Luis Machado <luisgpm@br.ibm.com>
23775
23776 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23777 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23778
87a97932
AK
237792010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23780
23781 [BZ #12067]
23782 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23783 trying to locate the ELF header.
23784
c21cc9bc
AS
237852010-09-27 Andreas Schwab <schwab@redhat.com>
23786
23787 [BZ #11611]
23788 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23789 Mask out sign-bit copies when constructing f_fsid.
23790
315970f6
PB
237912010-09-24 Petr Baudis <pasky@suse.cz>
23792
23793 * debug/stack_chk_fail_local.c: Add missing licence exception.
23794 * debug/warning-nop.c: Likewise.
23795
1ac7a2c7
JM
237962010-09-15 Joseph Myers <joseph@codesourcery.com>
23797
23798 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23799 implementing getdents64 using getdents syscall, set d_type if
23800 __ASSUME_GETDENTS32_D_TYPE.
23801
56801c50
AS
238022010-09-16 Andreas Schwab <schwab@redhat.com>
23803
23804 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23805 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23806
dda51327
UD
238072010-09-21 Ulrich Drepper <drepper@redhat.com>
23808
23809 [BZ #12037]
23810 * posix/unistd.h: Undo change of feature selection for ftruncate from
23811 2010-01-11.
23812
8ffcee4a
UD
238132010-09-20 Ulrich Drepper <drepper@redhat.com>
23814
a545ecd9 23815 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23816 detection.
23817
e24f0a8b
AS
238182010-09-20 Andreas Schwab <schwab@redhat.com>
23819
23820 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23821 fanotify_mark.
23822 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23823
7291c56f
AS
238242010-09-14 Andreas Schwab <schwab@redhat.com>
23825
23826 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23827 variables after CHECK_SP call.
23828 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23829
bc5fb037
AS
238302010-09-13 Andreas Schwab <schwab@redhat.com>
23831 Ulrich Drepper <drepper@redhat.com>
23832
23833 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23834 re-relocationg ld.so.
23835 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23836 _dl_init_paths call.
23837 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23838 here anymore.
23839
e66e7419
UD
238402010-09-14 Ulrich Drepper <drepper@redhat.com>
23841
23842 * resolv/res_init.c (__res_vinit): Count the default server we added.
23843
c044aa75
CLT
238442010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23845 Ulrich Drepper <drepper@redhat.com>
23846
23847 [BZ #11968]
23848 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23849 (____longjmp_chk): Use %ebx for saving value across system call.
23850 Add unwind info.
23851
32cf4069
AS
238522010-09-06 Andreas Schwab <schwab@redhat.com>
23853
23854 * manual/Makefile: Don't mix pattern rules with normal rules.
23855
817328ee
AS
238562010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23857
23858 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23859 operation.
23860 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23861 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23862 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23863 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23865 Likewise.
23866
29fddf61
UD
238672010-09-04 Ulrich Drepper <drepper@redhat.com>
23868
23869 [BZ #11979]
23870 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23871 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23872
0959ffc9
UD
238732010-09-02 Ulrich Drepper <drepper@redhat.com>
23874
23875 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23876 * sysdeps/x86_64/addmul_1.S: Likewise.
23877 * sysdeps/x86_64/lshift.S: Likewise.
23878 * sysdeps/x86_64/mul_1.S: Likewise.
23879 * sysdeps/x86_64/rshift.S: Likewise.
23880 * sysdeps/x86_64/sub_n.S: Likewise.
23881 * sysdeps/x86_64/submul_1.S: Likewise.
23882
ece29840
ST
238832010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23884
0959ffc9
UD
23885 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23886 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23887 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23888 * bits/sched.h [__need_schedparam]
ece29840 23889 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23890 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23891 (__defined_schedparam): Define to 1.
ece29840
ST
23892 (__sched_param): New structure, identical to sched_param.
23893 (__need_schedparam): Undefine.
23894
e53a31fe
MF
238952010-08-31 Mike Frysinger <vapier@gentoo.org>
23896
fdc0c10d
MF
23897 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23898 (epoll_create1): Declare.
23899
e53a31fe
MF
23900 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23901
a726d796
AS
239022010-08-31 Andreas Schwab <schwab@redhat.com>
23903
23904 [BZ #7066]
23905 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23906 shifting retval into place.
23907
2f3e3dc7
UD
239082010-09-01 Ulrich Drepper <drepper@redhat.com>
23909
f2933da9
UD
23910 * nis/rpcsvc/nis.h: Update copyright notice.
23911 * nis/rpcsvc/nis.x: Likewise.
23912 * nis/rpcsvc/nis_callback.h: Likewise.
23913 * nis/rpcsvc/nis_callback.x: Likewise.
23914 * nis/rpcsvc/nis_object.x: Likewise.
23915 * nis/rpcsvc/nis_tags.h: Likewise.
23916 * nis/rpcsvc/yp.h: Likewise.
23917 * nis/rpcsvc/yp.x: Likewise.
23918 * nis/rpcsvc/ypupd.h: Likewise.
23919 * nis/yp_xdr.c: Likewise.
23920 * nis/ypupdate_xdr.c: Likewise.
23921
2f3e3dc7
UD
23922 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23923 mainly the body of pmap_getport. Add parameters to specify timeouts.
23924 (pmap_getport): Use __libc_rpc_getport.
23925 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23926 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23927 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23928
f3dcc2f9
AS
239292010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23930
23931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23932 fanotify_mark.
23933
6d34eb5b
RM
239342010-08-27 Roland McGrath <roland@redhat.com>
23935
23936 * sysdeps/i386/i686/multiarch/Makefile
23937 (CFLAGS-varshift.c): New variable.
23938
9ea3de11
UD
239392010-08-27 Ulrich Drepper <drepper@redhat.com>
23940
c96d23fc
UD
23941 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23942 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23943
9ea3de11
UD
23944 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23945
23946 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23947
623aac7f
L
239482010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23949
23950 * sysdeps/x86_64/strlen.S: Unroll the loop.
23951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23952 strlen-sse2 strlen-sse2-bsf.
23953 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23954 __strlen_no_bsf if bit_Slow_BSF is set.
23955 (__strlen_sse42): Removed.
23956 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23957 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23958
8b2b7715
RM
239592010-08-25 Roland McGrath <roland@redhat.com>
23960
23961 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23962 * sysdeps/x86_64/multiarch/varshift.c: New file.
23963 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23964 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23965 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23966 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23967
e73015f2
L
239682010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23969
23970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23971 strlen-sse2 strlen-sse2-bsf.
23972 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23973 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23974 (__strlen_sse2): Removed.
23975 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23976 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23978 bit_Slow_BSF for Atom.
23979 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23980 (index_Slow_BSF): Define.
23981 (HAS_SLOW_BSF): Define.
23982
df24a73e
UD
239832010-08-25 Ulrich Drepper <drepper@redhat.com>
23984
23985 [BZ #10851]
23986 * resolv/res_init.c (__res_vinit): When no server address at all
23987 is given default to loopback.
23988
f2ac4868
RM
239892010-08-24 Roland McGrath <roland@redhat.com>
23990
09055553
RM
23991 * configure.in: Remove config-name.h generation.
23992 * configure: Regenerated.
23993 * config-name.in: File removed.
23994 * scripts/config-uname.sh: New file.
23995 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23996 ($(objdir)config-name.h): New target.
23997
f2ac4868
RM
23998 * sunrpc/rpc_parse.h: Avoid nested comment.
23999
73f27d5e
RH
240002010-08-24 Richard Henderson <rth@redhat.com>
24001 Ulrich Drepper <drepper@redhat.com>
24002 H.J. Lu <hongjiu.lu@intel.com>
24003
24004 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
24005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
24006 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
24007 Replace _mm_srli_si128 with __m128i_shift_right. Replace
24008 _mm_alignr_epi8 with _mm_loadu_si128.
24009 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
24010 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
24011 (__m128i_shift_right): Removed.
24012 * sysdeps/i386/i686/multiarch/varshift.h: New file.
24013 * sysdeps/i386/i686/multiarch/varshift.S: New file.
24014 * sysdeps/x86_64/multiarch/varshift.h: New file.
24015 * sysdeps/x86_64/multiarch/varshift.S: New file.
24016
84b9230c
MF
240172010-08-21 Mike Frysinger <vapier@gentoo.org>
24018
24019 * configure.in: Move assembler checks to before sysdep dir checking.
24020
9bbd0ddc
PB
240212010-08-20 Petr Baudis <pasky@suse.cz>
24022
24023 * LICENSES: Sync the sunrpc license.
24024
9da4bb31
UD
240252010-08-19 Ulrich Drepper <drepper@redhat.com>
24026
a7ab6ec8
UD
24027 * sunrpc/auth_des.c: Update copyright notice once again.
24028 * sunrpc/auth_none.c: Likewise.
24029 * sunrpc/auth_unix.c: Likewise.
24030 * sunrpc/authdes_prot.c: Likewise.
24031 * sunrpc/authuxprot.c: Likewise.
24032 * sunrpc/bindrsvprt.c: Likewise.
24033 * sunrpc/clnt_gen.c: Likewise.
24034 * sunrpc/clnt_perr.c: Likewise.
24035 * sunrpc/clnt_raw.c: Likewise.
24036 * sunrpc/clnt_simp.c: Likewise.
24037 * sunrpc/clnt_tcp.c: Likewise.
24038 * sunrpc/clnt_udp.c: Likewise.
24039 * sunrpc/clnt_unix.c: Likewise.
24040 * sunrpc/des_crypt.c: Likewise.
24041 * sunrpc/des_soft.c: Likewise.
24042 * sunrpc/get_myaddr.c: Likewise.
24043 * sunrpc/getrpcport.c: Likewise.
24044 * sunrpc/key_call.c: Likewise.
24045 * sunrpc/key_prot.c: Likewise.
24046 * sunrpc/openchild.c: Likewise.
24047 * sunrpc/pm_getmaps.c: Likewise.
24048 * sunrpc/pm_getport.c: Likewise.
24049 * sunrpc/pmap_clnt.c: Likewise.
24050 * sunrpc/pmap_prot.c: Likewise.
24051 * sunrpc/pmap_prot2.c: Likewise.
24052 * sunrpc/pmap_rmt.c: Likewise.
24053 * sunrpc/rpc/auth.h: Likewise.
24054 * sunrpc/rpc/auth_unix.h: Likewise.
24055 * sunrpc/rpc/clnt.h: Likewise.
24056 * sunrpc/rpc/des_crypt.h: Likewise.
24057 * sunrpc/rpc/key_prot.h: Likewise.
24058 * sunrpc/rpc/netdb.h: Likewise.
24059 * sunrpc/rpc/pmap_clnt.h: Likewise.
24060 * sunrpc/rpc/pmap_prot.h: Likewise.
24061 * sunrpc/rpc/pmap_rmt.h: Likewise.
24062 * sunrpc/rpc/rpc.h: Likewise.
24063 * sunrpc/rpc/rpc_des.h: Likewise.
24064 * sunrpc/rpc/rpc_msg.h: Likewise.
24065 * sunrpc/rpc/svc.h: Likewise.
24066 * sunrpc/rpc/svc_auth.h: Likewise.
24067 * sunrpc/rpc/types.h: Likewise.
24068 * sunrpc/rpc/xdr.h: Likewise.
24069 * sunrpc/rpc_clntout.c: Likewise.
24070 * sunrpc/rpc_cmsg.c: Likewise.
24071 * sunrpc/rpc_common.c: Likewise.
24072 * sunrpc/rpc_cout.c: Likewise.
24073 * sunrpc/rpc_dtable.c: Likewise.
24074 * sunrpc/rpc_hout.c: Likewise.
24075 * sunrpc/rpc_main.c: Likewise.
24076 * sunrpc/rpc_parse.c: Likewise.
24077 * sunrpc/rpc_parse.h: Likewise.
24078 * sunrpc/rpc_prot.c: Likewise.
24079 * sunrpc/rpc_sample.c: Likewise.
24080 * sunrpc/rpc_scan.c: Likewise.
24081 * sunrpc/rpc_scan.h: Likewise.
24082 * sunrpc/rpc_svcout.c: Likewise.
24083 * sunrpc/rpc_tblout.c: Likewise.
24084 * sunrpc/rpc_util.c: Likewise.
24085 * sunrpc/rpc_util.h: Likewise.
24086 * sunrpc/rpcinfo.c: Likewise.
24087 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24088 * sunrpc/rpcsvc/key_prot.x: Likewise.
24089 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24090 * sunrpc/rpcsvc/mount.x: Likewise.
24091 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24092 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24093 * sunrpc/rpcsvc/rex.x: Likewise.
24094 * sunrpc/rpcsvc/rstat.x: Likewise.
24095 * sunrpc/rpcsvc/rusers.x: Likewise.
24096 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24097 * sunrpc/rpcsvc/spray.x: Likewise.
24098 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24099 * sunrpc/rtime.c: Likewise.
24100 * sunrpc/svc.c: Likewise.
24101 * sunrpc/svc_auth.c: Likewise.
24102 * sunrpc/svc_authux.c: Likewise.
24103 * sunrpc/svc_raw.c: Likewise.
24104 * sunrpc/svc_run.c: Likewise.
24105 * sunrpc/svc_simple.c: Likewise.
24106 * sunrpc/svc_tcp.c: Likewise.
24107 * sunrpc/svc_udp.c: Likewise.
24108 * sunrpc/svc_unix.c: Likewise.
24109 * sunrpc/svcauth_des.c: Likewise.
24110 * sunrpc/xcrypt.c: Likewise.
24111 * sunrpc/xdr.c: Likewise.
24112 * sunrpc/xdr_array.c: Likewise.
24113 * sunrpc/xdr_float.c: Likewise.
24114 * sunrpc/xdr_mem.c: Likewise.
24115 * sunrpc/xdr_rec.c: Likewise.
24116 * sunrpc/xdr_ref.c: Likewise.
24117 * sunrpc/xdr_sizeof.c: Likewise.
24118 * sunrpc/xdr_stdio.c: Likewise.
24119
9da4bb31
UD
24120 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24121 handling.
24122
bdaa77bc
AS
241232010-08-19 Andreas Schwab <schwab@redhat.com>
24124
24125 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24126
fe2f79db
LM
241272010-08-19 Luis Machado <luisgpm@br.ibm.com>
24128
24129 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24130 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24131 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24132 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24133 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24134 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24135 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24136 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24137 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24138 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24139 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24140 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24141 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24142 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24143
b9b42ee0
AB
241442010-07-26 Anton Blanchard <anton@samba.org>
24145
24146 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24147 * malloc/arena.c (heap_trim): Likewise.
24148
1c06ba31
UD
241492010-08-16 Ulrich Drepper <drepper@redhat.com>
24150
24151 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24152 here. Not...
24153 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24154 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24155
f8392f40
L
241562010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24157
24158 * sysdeps/i386/elf/Makefile: New file.
24159
3162f12e
AS
241602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24161
24162 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24163 from fanotify_init.
24164 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24165 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24166
28c90b2c
UD
241672010-08-15 Ulrich Drepper <drepper@redhat.com>
24168
24169 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24170 of strncasecmp_l.
1feccb6c 24171 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24172
ca6bb004
UD
241732010-08-14 Ulrich Drepper <drepper@redhat.com>
24174
e9f82e0d
UD
24175 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24176 strncase_l-nonascii.
24177 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24178 Add strncase_l-ssse3.
24179 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24180 * sysdeps/x86_64/strcmp.S: Likewise.
24181 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24182 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24183 * sysdeps/x86_64/strncase.S: New file.
24184 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24185 * sysdeps/x86_64/strncase_l.S: New file.
24186 * string/Makefile (strop-tests): Add strncasecmp.
24187 * string/test-strncasecmp.c: New file.
24188
24189 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24190 warning.
24191
ca6bb004
UD
24192 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24193 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24194
052fa7b3
AS
241952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24196
24197 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24198
962dba78
UD
241992010-08-12 Ulrich Drepper <drepper@redhat.com>
24200
24201 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24202 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24203 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24204
bebff237
AM
242052010-05-01 Alan Modra <amodra@gmail.com>
24206
24207 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24208 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24209 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24210 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24211 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24212 tidying. Don't tail-call __sigjmp_save for static lib.
24213 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24214 save location.
24215 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24216 (CALL_MCOUNT): Add eh info, and nop after bl.
24217 (TAIL_CALL_SYSCALL_ERROR): New macro.
24218 (PSEUDO_RET): Use it.
24219 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24220 Correct save location of integer regs and cr.
24221 (_dl_profile_resolve): Correct cr save location. Delete nops
24222 after bl when SHARED. Reduce cfi size a little by better
24223 placement of cfi directives.
24224 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24225 make a stack frame. Instead use parm save area as a temp.
24226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24227 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24229 Don't make a stack frame for parent, use parm save area.
24230 Increase child stack frame to 112 bytes. Don't save unused reg,
24231 and adjust reg usage. Set up cfi on error recovery and
24232 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24234 (__makecontext): Add dummy nop after jump to exit.
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24236 Use correct parm save area and cr save, reduce stack frame.
24237 Correct cfi for possible PSEUDO_RET frame setup.
24238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24239 Branch to local label emitted by PSEUDO_RET rather than
24240 __syscall_error.
24241
02637374
AS
242422010-08-12 Andreas Schwab <schwab@redhat.com>
24243
24244 [BZ #11904]
24245 * locale/programs/locale.c (print_assignment): New function.
24246 (show_locale_vars): Use it.
24247
c3e2f19b
UD
242482010-08-11 Ulrich Drepper <drepper@redhat.com>
24249
3cdaa6ad
UD
24250 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24251 field.
24252 (struct statfs64): Likewise.
24253 (_STATFS_F_FLAGS): Define.
24254 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24255 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24256 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24257 (ST_VALID): Define locally.
24258 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24259 __statvfs_getflags, use the provided value.
24260 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24261 __ASSUME_STATFS_F_FLAGS.
24262
754f7da3
UD
24263 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24264
10b3bedc
UD
24265 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24266 Add sys/fanotify.h.
24267 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24268 fanotify_mask for GLIBC_2.13.
24269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24270 fanotify_init and fanotify_mark.
24271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24272 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24273
c08fb0d7
UD
24274 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24275 Add prlimit.
24276 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24277 prlimit64 for GLIBC_2.13.
24278 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24279 prlimit64.
24280 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24281 syscall.
24282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24283 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24284 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24285 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24287 add prlimit alias.
24288 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24289
15bac72b
UD
24290 [BZ #11903]
24291 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24292 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24293
c3e2f19b
UD
24294 * nss/Makefile: Add rules to build and run tst-nss-test1.
24295 * shlib-versions: Add entry for libnss_test1.
24296 * nss/nss_test1.c: New file.
24297 * nss/tst-nss-test1.c: New file.
24298
24299 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24300 (__nss_configure_lookup): Set appropriate entry in
24301 __nss_configure_lookup to true.
24302 * nss/nsswitch.h: Define enum with indeces of databases in
24303 databases and __nss_database_custom arrays. Declare
24304 __nss_database_custom.
24305 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24306 to avoid using nscd when custom rules are installed.
24307 * nss/getXXbyYY_r.c: Likewise.
24308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24309
24310 * nss/nss_files/files-parse.c: Whitespace fixes.
24311
f15ce4d8
UD
243122010-08-09 Ulrich Drepper <drepper@redhat.com>
24313
24314 [BZ #11883]
24315 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24316 * posix/fnmatch_loop.c: Likewise.
24317
d22e4cc9
AK
243182010-07-17 Andi Kleen <ak@linux.intel.com>
24319
24320 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24321 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24322 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24323 * Versions.def [GLIBC_2.13]: Add.
24324
805bc17d
UD
243252010-08-06 Ulrich Drepper <drepper@redhat.com>
24326
24327 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24328 Also fail if tpwd after pwuid call is NULL.
24329
5a42321d
ST
243302010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24331
24332 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24333 when converting to ms.
24334
fd3ebeda
ST
243352010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24336
24337 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24338 EOPNOTSUPP errors with ENOTTY.
24339 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24340 EOPNOTSUPP errors with ENOTTY.
24341
73507d3a
UD
243422010-07-31 Ulrich Drepper <drepper@redhat.com>
24343
24344 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24345 Add strcasecmp_l-ssse3.
24346 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24347 strcasecmp.
24348 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24349 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24350 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24351
fe36dd02
UD
243522010-07-30 Ulrich Drepper <drepper@redhat.com>
24353
66f6765a
UD
24354 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24355
42e08a54
UD
24356 * string/Makefile (strop-tests): Add strcasecmp.
24357 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24358 strcasecmp_l-nonascii.
24359 (gen-as-const-headers): Add locale-defines.sym.
24360 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24361 * sysdeps/x86_64/strcasecmp.S: New file.
24362 * sysdeps/x86_64/strcasecmp_l.S: New file.
24363 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24364 * sysdeps/x86_64/locale-defines.sym: New file.
24365 * string/test-strcasecmp.c: New file.
24366
fe36dd02
UD
24367 * string/test-strcasestr.c: Test both ends of the range of characters.
24368 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24369
48cbc0d6
RM
243702010-07-29 Roland McGrath <roland@redhat.com>
24371
76e6d6bc 24372 [BZ #11856]
48cbc0d6
RM
24373 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24374
880113d9
UD
243752010-07-27 Ulrich Drepper <drepper@redhat.com>
24376
24377 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24378 for ld.so.
24379
deb9cabb
AS
243802010-07-27 Andreas Schwab <schwab@redhat.com>
24381
24382 * manual/memory.texi (Malloc Tunable Parameters): Document
24383 M_PERTURB.
24384
1c7570ff
RM
243852010-07-26 Roland McGrath <roland@redhat.com>
24386
24387 [BZ #11840]
24388 * configure.in (-fgnu89-inline check): Set and substitute
24389 gnu89_inline, not libc_cv_gnu89_inline.
24390 * configure: Regenerated.
24391 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24392
24fb0f88
UD
243932010-07-26 Ulrich Drepper <drepper@redhat.com>
24394
24395 * string/test-strnlen.c: New file.
24396 * string/Makefile (strop-tests): Add strnlen.
24397 * string/tester.c (test_strnlen): Add a few more test cases.
24398 * string/tst-strlen.c: Better error reporting.
24399
24400 * sysdeps/x86_64/strnlen.S: New file.
24401
8e96b93a
UD
244022010-07-24 Ulrich Drepper <drepper@redhat.com>
24403
24404 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24405 lower-latency instructions.
24406
dbc676d4
UD
244072010-07-23 Ulrich Drepper <drepper@redhat.com>
24408
24409 * string/test-strcasestr.c: New file.
24410 * string/test-strstr.c: New file.
24411 * string/Makefile (strop-tests): Add strstr and strcasestr.
24412 * string/str-two-way.h: Don't undefine MAX.
24413 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24414
f6a31e0e
AS
244152010-07-21 Andreas Schwab <schwab@redhat.com>
24416
24417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24418 strcasestr-nonascii.
24419 (CFLAGS-strcasestr-nonascii.c): Define.
24420 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24421 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24422 Remove unused attribute.
24423
5dbc3b6c
RM
244242010-07-20 Roland McGrath <roland@redhat.com>
24425
24426 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24427 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24428 ld.so.cache was broken. With it, there is no way to disable dsocaps
24429 like LD_HWCAP_MASK can disable hwcaps.
24430
23d101d8
EPM
244312010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24432
24433 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24434
cc9f2e47
UD
244352010-07-16 Ulrich Drepper <drepper@redhat.com>
24436
24437 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24438 call in strcasestr.
24439 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24440 __strcasestr_sse42_nonascii.
24441 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24442 strcasestr-nonascii.c.
24443 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24444
77c1b069
LM
244452010-06-15 Luis Machado <luisgpm@br.ibm.com>
24446
24447 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24448 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24449 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24450 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24451
440566c3
UD
244522010-07-09 Ulrich Drepper <drepper@redhat.com>
24453
24454 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24455 fcntl.
24456
5be9d05d
AS
244572010-07-06 Andreas Schwab <schwab@redhat.com>
24458
c30b7ee2 24459 [BZ #11577]
5be9d05d
AS
24460 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24461 dl_signal_cerror.
24462
8a492a67
UD
244632010-07-06 Ulrich Drepper <drepper@redhat.com>
24464
24465 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24466 _PC_PIPE_BUF using F_GETPIPE_SZ.
24467
713df3d5
RM
244682010-07-05 Roland McGrath <roland@redhat.com>
24469
24470 * manual/arith.texi (Rounding Functions): Fix rint description
24471 implicit in round description.
24472
702e8f14
UD
244732010-07-02 Ulrich Drepper <drepper@redhat.com>
24474
24475 * elf/Makefile: Fix linking for a few tests to make recent linker
24476 happy.
24477
52ed8be9
AS
244782010-06-30 Andreas Schwab <schwab@redhat.com>
24479
24480 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24481 $(common-objpfx)libc_nonshared.a.
24482
f47c9a11
LM
244832010-06-21 Luis Machado <luisgpm@br.ibm.com>
24484
24485 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24486 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24487 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24488 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24489 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24490 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24491 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24492 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24507 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24508 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24509 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24510 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24511 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24512 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24513 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24514 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24515 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24516 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24517 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24518 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24533
6fb8cbcb
L
245342010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24535
24536 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24537 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24538 * string/memmove.c (memmove): Renamed to ...
24539 (MEMMOVE): ...this. Default to memmove.
24540 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24541 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24542 (END_CHK): Define.
24543 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24544 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24545 mempcpy-ssse3-back memmove-ssse3-back.
24546 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24548 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24549 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24550 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24551 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24552 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24553 * sysdeps/x86_64/multiarch/memmove.c: New file.
24554 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24555 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24556 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24557 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24558 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24560 Define.
24561 (index_Fast_Copy_Backward): Define.
24562 (HAS_ARCH_FEATURE): Define.
24563 (HAS_FAST_REP_STRING): Define.
24564 (HAS_FAST_COPY_BACKWARD): Define.
24565
4e733bac 245662010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24567
24568 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24569 Restore proper fallback handling.
24570
63c4ed22
UD
245712010-06-19 Ulrich Drepper <drepper@redhat.com>
24572
ac2b484c
UD
24573 [BZ #11701]
24574 * posix/group_member.c (__group_member): Correct checking loop.
24575
63c4ed22
UD
24576 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24577 OOM in getpwuid_r correctly. Return error number when the caller
24578 should return, otherwise -1.
24579 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24580 call returning > 0 value.
24581 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24582
765ade4b
AS
245832010-06-07 Andreas Schwab <schwab@redhat.com>
24584
24585 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24586 libc_nonshared.a from targets in modules-names.
24587
80da2e09
KS
245882010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24589
24590 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24591 requires it.
24592
158db122
LM
245932010-06-10 Luis Machado <luisgpm@br.ibm.com>
24594
24595 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24597 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24598 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24599
caa78cf8
AS
246002010-06-02 Andreas Schwab <schwab@redhat.com>
24601
24602 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24603
b2ef2c01
UD
246042010-06-14 Ulrich Drepper <drepper@redhat.com>
24605
24606 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24607 and F_GETPIPE_SZ.
24608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24609 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24612 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24613 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24614
fbd643b6
RM
246152010-06-14 Roland McGrath <roland@redhat.com>
24616
24617 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24618
f32f2869
JJ
246192010-06-07 Jakub Jelinek <jakub@redhat.com>
24620
24621 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24622 __REDIRECT followed by __THROW.
24623 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24624 * posix/getopt.h (getopt): Likewise.
24625
2a50c078
EPM
246262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24627
24628 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24629 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24630 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24631 in AT_FLAGS.
24632 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24633 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24634
eb5ad2eb
LM
246352010-05-28 Luis Machado <luisgpm@br.ibm.com>
24636
24637 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24638
3c88fe1e
L
246392010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24640
24641 [BZ #11640]
24642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24643 Properly check family and model.
24644
d2f73151
TY
246452010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24646
24647 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24648
ebd2e13d
LM
246492010-05-24 Luis Machado <luisgpm@br.ibm.com>
24650
24651 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24652
b32b8b45
UD
246532010-05-21 Ulrich Drepper <drepper@redhat.com>
24654
24655 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24656 symbol reference.
24657
9acbe24d
AS
246582010-05-19 Andreas Schwab <schwab@redhat.com>
24659
24660 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24661 symbol reference.
24662
f0ccf6ea
AS
246632010-05-21 Andreas Schwab <schwab@redhat.com>
24664
3d04ff3a
AS
24665 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24666 and internal_recvmmsg.
24667 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24668 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24669 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24670 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24671
f0ccf6ea
AS
24672 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24673 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24674 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24675
5b08ac57
AS
246762010-05-20 Andreas Schwab <schwab@redhat.com>
24677
24678 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24679
4828935d
LM
246802010-05-17 Luis Machado <luisgpm@br.ibm.com>
24681
24682 POWER7 optimizations.
24683 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24684 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24685
373d545e
UD
246862010-05-19 Ulrich Drepper <drepper@redhat.com>
24687
24688 * version.h: Update for 2.13 development version.
24689
21a2b1ae
AS
246902010-05-12 Andrew Stubbs <ams@codesourcery.com>
24691
24692 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24693 exceptions. Return 0.
24694
3f7dcb2b
RM
246952010-05-07 Roland McGrath <roland@redhat.com>
24696
24697 * elf/ldconfig.c (main): Add a const.
24698
5f24d53a 246992010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24700
a160f8d8
UD
24701 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24702 (args_options): Add no-idn option.
24703 (ahosts_keys_int): Add idn_flags to ai_flags.
24704 (parse_option): Handle 'i' option to clear idn_flags.
24705
5f24d53a
UD
24706 * malloc/malloc.c (_int_free): Possible race in the most recently
24707 added check. Only act on the data if no current modification
24708 happened.
265bb1ce
UD
24709
24710See ChangeLog.17 for earlier changes.