]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove bp-start.h and INIT_ARGV_and_ENVIRON.
[glibc.git] / ChangeLog
CommitLineData
8cf28c5e
JM
12013-01-31 Joseph Myers <joseph@codesourcery.com>
2
3a7ac8a0
JM
3 [BZ #13550]
4 * sysdeps/generic/bp-start.h: Remove file.
5 * csu/libc-start.c: Don't include <bp-start.h>.
6 (LIBC_START_MAIN): Set up __environ directly instead of using
7 INIT_ARGV_and_ENVIRON.
8 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9 <bp-start.h>.
10
f3499f95
JM
11 [BZ #13550]
12 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13 definitions.
14 (CHECK_FCNTL): Likewise.
15 (CHECK_N_PAGES): Likewise.
16
32a45bea
JM
17 [BZ #13550]
18 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19 definitions.
20 (CHECK_SIGSET_NULL_OK): Likewise.
21 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22 <bp-checks.h>.
23 (sigpending): Don't use CHECK_SIGSET.
24 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25 <bp-checks.h>.
26 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28 <bp-checks.h>.
29 (do_sigsuspend): Don't use CHECK_SIGSET.
30 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31 use CHECK_SIGSET.
32 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33 (do_sigwait): Don't use CHECK_SIGSET.
34 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35 use CHECK_SIGSET.
36 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37 include <bp-checks.h>.
38 (sigpending): Don't use CHECK_SIGSET.
39 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40 include <bp-checks.h>.
41 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
43 <bp-checks.h>.
44 (sigpending): Don't use CHECK_SIGSET.
45 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46 <bp-checks.h>.
47 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48
2e8a5c8c
JM
49 [BZ #13550]
50 * sysdeps/generic/bp-semctl.h: Remove file.
51 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
52 <bp-checks.h> and <bp-semctl.h>.
53 (__old_semctl): Don't use CHECK_SEMCTL.
54 (__new_semctl): Likewise.
55 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56 and <bp-semctl.h>.
57 (__old_semctl): Don't use CHECK_SEMCTL.
58 (__new_semctl): Likewise.
59 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60 <bp-checks.h> and <bp-semctl.h>.
61 (__old_semctl): Don't use CHECK_SEMCTL.
62 (__new_semctl): Likewise.
63 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64 <bp-checks.h> and <bp-semctl.h>.
65 (semctl): Don't use CHECK_SEMCTL.
66
c2d54929
JM
67 [BZ #13550]
68 * Makerules (elide-bp-thunks): Remove variable.
69 (elide-routines.oS): Don't use $(elide-bp-thunks).
70 (elide-routines.os): Likewise.
71 (elide-routines.o): Likewise.
72 (elide-routines.op): Likewise.
73 (elide-routines.og): Likewise.
74 (objects): Don't use $(bp-thunks).
75 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
76 include.
77 (common-generated): Do not add s-proto-bp.d.
78 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
79 (int): Likewise.
80 (typ): Likewise.
81 Do not generate makefile rules for bounded-pointer thunks.
82 * sysdeps/generic/bp-thunks.h: Remove file.
83 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
84 * sysdeps/unix/s-proto-bp.S: Likewise.
85
8cf28c5e
JM
86 [BZ #15062]
87 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
88 parts of result separately when argument is not close to line from
89 -i to i and one part of argument is small.
90 * math/k_casinhf.c (__kernel_casinhf): Likewise.
91 * math/k_casinhl.c (__kernel_casinhl): Likewise.
92 * math/libm-test.inc (cacos_test): Add more tests.
93 (casin_test): Likewise.
94 (casinh_test): Likewise.
95 * sysdeps/i386/fpu/libm-test-ulps: Update.
96 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
97
c4e33b8d
DM
982013-01-31 David S. Miller <davem@davemloft.net>
99
100 * po/de.po: Update from translation team.
101
3b60b421
MK
1022013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
103
104 * time/tzfile.c: Include stdint.h for SIZE_MAX.
105
bb931195
TS
1062013-01-25 Thomas Schwinge <thomas@codesourcery.com>
107
b5a5da23
TS
108 * configure.in (_AC_PROG_CC_C89): New definition.
109 * configure: Regenerate.
110
bb931195
TS
111 * configure.in (AC_PROG_CPP): New definition.
112 * configure: Regenerate.
113
8c53a12c
JM
1142013-01-23 Joseph Myers <joseph@codesourcery.com>
115
116 * debug/tst-backtrace.h: New file.
117 * debug/tst-backtrace2.c: Include tst-backtrace.h.
118 (ret): Remove variable.
119 (x): Likewise.
120 (FAIL): Remove macro.
121 (NO_INLINE): Likewise.
122 (fn1): Use match function instead of strstr.
123 * debug/tst-backtrace3.c: Include tst-backtrace.h.
124 (ret): Remove variable.
125 (x): Likewise.
126 (FAIL): Remove macro.
127 (NO_INLINE): Likewise.
128 (fn): Use match function instead of strstr.
129 * debug/tst-backtrace4.c: Include tst-backtrace.h.
130 (ret): Remove variable.
131 (x): Likewise.
132 (FAIL): Remove macro.
133 (NO_INLINE): Likewise.
134 (handle_signal): Use match function instead of strstr.
135 * debug/tst-backtrace5.c: Include tst-backtrace.h.
136 (ret): Remove variable.
137 (x): Likewise.
138 (FAIL): Remove macro.
139 (NO_INLINE): Likewise.
140 (handle_signal): Use match function instead of strstr.
141
4858fa2a
RM
1422013-01-23 Roland McGrath <roland@hack.frob.com>
143
144 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
145
bae8e7f5
DM
1462013-01-23 David S. Miller <davem@davemloft.net>
147
148 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
149 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
150 argument of CAS if possible.
151 * sysdeps/sparc/sparc64/bits/atomic.h
152 (__arch_compare_and_exchange_val_32_acq): Likewise.
153 (__arch_compare_and_exchange_val_64_acq): Likewise.
154
9cbbc4ae
PT
1552013-01-23 Pino Toscano <toscano.pino@tiscali.it>
156
157 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
158 * sysdeps/posix/ulimit.c: ... this.
92a601b8 159 Include <limits.h>.
67b3f58c 160 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 161
5655a0b5
AC
1622013-01-23 Adam Conrad <adconrad@0c3.net>
163
164 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
165 (LDFLAGS-tst-array5): Likewise.
166
052aff95
JM
1672013-01-23 Joseph Myers <joseph@codesourcery.com>
168
169 [BZ #15036]
170 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
171 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
172 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
173 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
174
7c1e01aa
DM
1752013-01-21 David S. Miller <davem@davemloft.net>
176
177 * sysdeps/sparc/backtrace.c: New file.
178 * sysdeps/sparc/sparc32/backtrace.h: New file.
179 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
180 * sysdeps/sparc/sparc64/backtrace.h: New file.
181 * sysdeps/sparc/sparc64/backtrace.c: Delete.
182 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
183 -funwind-tables.
184
ab087e0a
AS
1852013-01-21 Andreas Schwab <schwab@suse.de>
186
187 [BZ #15020]
188 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
189 closed its stdout.
190
ed689c2f
AS
1912013-01-20 Andreas Schwab <schwab@linux-m68k.org>
192
193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
194 "mpa2.h".
195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
196
31d470ac
JM
1972013-01-18 Joseph Myers <joseph@codesourcery.com>
198 Mark Mitchell <mark@codesourcery.com>
199 Tom de Vries <tom@codesourcery.com>
200 Paul Pluzhnikov <ppluzhnikov@google.com>
201
202 * debug/tst-backtrace2.c: New file.
203 * debug/tst-backtrace3.c: Likewise.
204 * debug/tst-backtrace4.c: Likewise.
205 * debug/tst-backtrace5.c: Likewise.
206 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
207 (CFLAGS-tst-backtrace3.c): Likewise.
208 (CFLAGS-tst-backtrace4.c): Likewise.
209 (CFLAGS-tst-backtrace5.c): Likewise.
210 (LDFLAGS-tst-backtrace2): Likewise.
211 (LDFLAGS-tst-backtrace3): Likewise.
212 (LDFLAGS-tst-backtrace4): Likewise.
213 (LDFLAGS-tst-backtrace5): Likewise.
214 (tests): Add new tests tst-backtrace2, tst-backtrace3,
215 tst-backtrace4 and tst-backtrace5.
216
90567f30 2172013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
218 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
219
220 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
221 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
222 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
223 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
225 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
226 "+r" and remove output regs list as redundant. Add explicit inline
227 asm to specify register of return val to work around compiler codegen
228 bug. Remove (int) cast on return value. Add return type parameter to
229 use in macro so that this macro does not truncate return value for
230 64-bit values.
231 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
232 pass to INTERNAL_VSYSCALL_NCS.
233 (INLINE_VSYSCALL): Add 'long int' as return type to
234 INTERNAL_VSYSCALL_NCS macro invocation.
235 (INTERNAL_VSYSCALL): Add 'long int' as return type to
236 INTERNAL_VSYSCALL_NCS macro invocation.
237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
238
d3b9ea61
SP
2392013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
240
0b57daeb
SP
241 [BZ #14496]
242 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
243 Fix application of SIMD FP exception mask.
244
caa99d06
SP
245 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
246 mp_no from a power of two.
247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
248 __mpexp_twomm1. Use __pow_mp.
249
d3b9ea61
SP
250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
251 multiplication.
252
1dbaee3c
DM
2532013-01-17 David S. Miller <davem@davemloft.net>
254
255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
256
728d7b43
JM
2572013-01-17 Joseph Myers <joseph@codesourcery.com>
258
259 [BZ #15023]
260 * include/complex.h: Condition contents on [!_COMPLEX_H].
261 (__kernel_casinhf): New prototype.
262 (__kernel_casinh): Likewise.
263 (__kernel_casinhl): Likewise.
264 * math/Makefile (libm_calls): Add k_casinh.
265 * math/k_casinh.c: New file.
266 * math/k_casinhf.c: Likewise.
267 * math/k_casinhl.c: Likewise.
268 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
269 finite nonzero arguments.
270 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
271 finite nonzero arguments.
272 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
273 finite nonzero arguments.
274 * math/s_casinh.c: Do not include <float.h>.
275 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
276 * math/s_casinhf.c: Do not include <float.h>.
277 (__casinhf): Move code for finite nonzero arguments to
278 k_casinhf.c.
279 * math/s_casinhl.c: Do not include <float.h>.
280 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
281 redefine.
282 (__casinhl): Move code for finite nonzero arguments to
283 k_casinhl.c.
284 * math/libm-test.inc (cacos_test): Add more tests.
285 * sysdeps/i386/fpu/libm-test-ulps: Update.
286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
287
2a26ef3a
PT
2882013-01-17 Pino Toscano <toscano.pino@tiscali.it>
289
290 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
291 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
292 [!HAVE_MREMAP]: Remove [defined linux] case.
293 * malloc/arena.c: Do not include <malloc-sysdep.h>.
294
a897655d
SP
2952013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
296
297 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
298
881ebe89 2992013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
300
301 * elf/elf.h (R_386_SIZE32): New relocation.
302 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
303 R_386_SIZE32.
304 (elf_machine_rela): Likewise.
305 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
306 R_X86_64_SIZE64 and R_X86_64_SIZE32.
307
59981e9b
JM
3082013-01-17 Joseph Myers <joseph@codesourcery.com>
309
310 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
311 (FP_FAST_FMA): Do not define.
312 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
313 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
314 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
315 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
316 !_SOFT_FLOAT]: Likewise.
317 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
318 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
319 value.
320 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
321 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
322 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
323 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
324 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
325 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
326 file.
327
cfa8054f
AS
3282013-01-16 Andreas Schwab <schwab@suse.de>
329
330 [BZ #14327]
331 * include/stdlib.h (__mktemp): Add declaration.
332 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
333 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
334
dd930cc5
SP
3352013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
336
881ebe89
SP
337 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
338 definitions.
339 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
340 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
341 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
342 definitions here.
343 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
344 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
345 definitions.
346 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
347 and ONE.
348 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
349 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
350 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
351 definitions.
352 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
353 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
354 definitions.
355 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 356
dd930cc5
SP
357 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
358
c19a9f89
DM
3592013-01-15 David S. Miller <davem@davemloft.net>
360
1aa61767
DM
361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
362 trunc{,f} to libm-sysdep_routes.
363 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
365 file.
366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
368 file.
369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
370 file.
371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
373 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
374 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
375 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
376 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
377 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
378 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
379
c42d5e98
DM
380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
381 nearbyint{,f} to libm-sysdep_routes.
382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
384 New file.
385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
386 file.
387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
388 New file.
389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
390 file.
391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
393 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
394 file.
395 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
396 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
397 file.
398 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
399 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
400 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
401
c19a9f89
DM
402 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
403 libc_feholdexcept and libc_fesetenv.
404
357679d2
MF
4052013-01-15 Mike Frysinger <vapier@gentoo.org>
406
407 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
408
65a82e3d
DM
4092013-01-14 David S. Miller <davem@davemloft.net>
410
8b954ab9
DM
411 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
412 (SPARC_ASM_VIS2_IFUNC): Likewise.
413 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
415 use of 'siam' instruction.
416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
417 Likewise.
418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
419 Likewise.
420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
421 Likewise.
422 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
423 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
427 file.
428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
429 file.
430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
431 file.
432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
433 file.
434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
439 new VIS2 routines.
440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
443 Likewise.
444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
447 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
449 routines to libm-sysdep_routines.
450 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
451
65a82e3d
DM
452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
453 fdim/fdimf to libm-sysdep_routines.
454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
455 file.
456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
458 file.
459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
462 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
463 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
464 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
465 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
466
e34ab705
SP
4672013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
468
2a91b573
SP
469 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
470 to optimize copies.
471
1066a534
SP
472 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
475
e34ab705
SP
476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
477 local variable MPTWO.
478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
479 Likewise.
480
aba5e596
MF
4812013-01-13 Mike Frysinger <vapier@gentoo.org>
482
483 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
484 GLOB_NOESCAPE.
485
e557e9e5
MF
4862013-01-13 Mike Frysinger <vapier@gentoo.org>
487
488 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
489
0428cec9
MF
4902013-01-13 Mike Frysinger <vapier@gentoo.org>
491
492 * manual/pattern.texi (glob_t): Document gl_flags.
493 (glob64_t): Likewise.
494
8794a964
DM
4952013-01-11 David S. Miller <davem@davemloft.net>
496
66438c3f
RM
497 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
498 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
499 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
500 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
501 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
502 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
503 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
504 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
505 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
506 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
507 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
508 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
509 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
510
4ae4244d
DM
511 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
512 sparc V9 rather than using V8 code.
513 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
514 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
515
8794a964
DM
516 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
517 Move to...
518 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
519 Here.
520
6270516e
RM
5212013-01-11 Roland McGrath <roland@hack.frob.com>
522
523 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
524 not in the main loop.
525 * configure: Regenerated.
526
6a57d931
JM
5272013-01-11 Joseph Myers <joseph@codesourcery.com>
528
529 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
530 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
531 to just #else.
532 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
533 [!__GLIBC_HAVE_LONG_LONG] case.
534 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
535 condition to just #else.
536 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
537 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
538 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
539 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
540 unconditional.
541 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
542 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
543 #elif condition to just #else.
544 * sysdeps/unix/sysv/linux/sys/sysmacros.h
545 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
546 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
547 #elif condition to just #else.
548
0e8529e9
SE
5492013-01-11 Steve Ellcey <sellcey@mips.com>
550
551 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
552 (EF_MIPS_ARCH_64): Fix value.
553 (EF_MIPS_ARCH_32R2): New.
554 (EF_MIPS_ARCH_64R2): New.
555
740b3dbe
L
5562013-01-11 H.J. Lu <hongjiu.lu@intel.com>
557
558 * Makeconfig (+link-pie-before-libc): New.
559 (+link-pie-after-libc): Likewise.
560 (+link-pie-tests): Likewise.
561 (+link-pie): Rewritten.
562 (link-before-libc): Remove $(config-LDFLAGS).
563 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
564 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
565 (config-LDFLAGS): Renamed to ...
566 (rtld-LDFLAGS): This.
567 (rtld-tests-LDFLAGS): New macro.
568 (link-libc-rpath-link): Likewise.
569 (link-libc-tests-rpath-link): Likewise.
570 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
571 (link-libc): Prepand $(link-libc-rpath-link).
572 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
573 (test-program-prefix): New macro.
574 (test-via-rtld-prefix): Likewise.
575 (test-program-cmd): Likewise.
576 (host-test-program-cmd): Likewise.
577 * Makefile ($(common-objpfx)testrun.sh): Replace
578 $(run-program-prefix) with $(test-program-prefix).
579 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
580 $(rtld-LDFLAGS).
581 ($(common-objpfx)shlib.lds): Likewise.
582 (build-module-helper): Likewise.
583 ($(common-objpfx)format.lds): Likewise.
584 * Rules (binaries-pie-tests): New.
585 (binaries-pie-notests): Likewise.
586 (binaries-pie): Rewritten.
587 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
588 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
589 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
590 (make-test-out): Replace $(host-built-program-cmd) with
591 $(host-test-program-cmd).
592 * config.make.in (build-hardcoded-path-in-tests): New variable.
593 * configure.in (--enable-hardcoded-path-in-tests): New configure
594 option.
595 (hardcoded_path_in_tests): New AC_SUBST.
596 * configure: Regenerated.
597 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
598 $(built-program-cmd) with $(test-program-cmd).
599 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
600 (test_program_cmd): This.
601 * elf/Makefile ($(objpfx)order.out): Run test with
602 $(test-program-prefix).
603 ($(objpfx)order2.out): Likewise.
604 ($(objpfx)tst-initorder.out): Likewise.
605 ($(objpfx)tst-initorder2.out): Likewise.
606 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
607 $(test-program-cmd).
608 ($(objpfx)tst-array1-static.out): Likewise.
609 ($(objpfx)tst-array2.out): Likewise.
610 ($(objpfx)tst-array3.out): Likewise.
611 ($(objpfx)tst-array4.out): Likewise.
612 ($(objpfx)tst-array5.out): Likewise.
613 ($(objpfx)tst-array5-static.out): Likewise.
614 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
615 $(test-program-cmd).
616 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
617 $(run-program-prefix) with $(test-program-prefix).
618 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
619 (test_program_prefix): This.
620 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
621 $(run-program-prefix) with $(test-program-prefix).
622 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
623 (test_program_prefix): This.
624 * iconvdata/tst-tables.sh: Likewise.
625 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
626 $(run-program-prefix) with $(test-program-prefix).
627 ($(objpfx)tst-translit.out): Likewise.
628 ($(objpfx)tst-gettext2.out): Likewise.
629 ($(objpfx)tst-gettext4.out): Likewise.
630 ($(objpfx)tst-gettext6.out): Likewise.
631 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
632 (test_program_prefix): This.
633 * intl/tst-gettext2.sh: Likewise.
634 * intl/tst-gettext4.sh Likewise.
635 * intl/tst-gettext6.sh: Likewise.
636 * intl/tst-translit.sh: Likewise.
637 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
638 with $(test-program-cmd).
639 * libio/Makefile ($(objpfx)test-freopen.out): Replace
640 $(run-program-prefix) with $(test-program-prefix).
641 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
642 (test_program_prefix): This.
643 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
644 $(run-program-prefix) with $(test-program-prefix).
645 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
646 (test_program_prefix): This.
647 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
648 * posix/Makefile ($(objpfx)globtest.out): Replace
649 $(run-via-rtld-prefix) and $(test-wrapper) with
650 $(test-program-prefix) and $(test-via-rtld-prefix).
651 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
652 $(test-program-prefix).
653 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
654 $(host-test-program-cmd).
655 (tst-spawn-ARGS): Likewise.
656 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
657 $(test-program-prefix).
658 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
659 (test_via_rtld_prefix): This.
660 (test_wrapper): Renamed to ...
661 (test_program_prefix): This.
662 (run_program_prefix): Replaced by test_program_prefix.
663 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
664 (test_program_prefix): This.
665 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
666 with $(host-test-program-cmd).
667 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
668 $(run-program-prefix) with $(test-program-prefix).
669 ($(objpfx)tst-printf.out): Likewise.
670 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
671 $(test-program-cmd).
672 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
673 (test_program_prefix): This.
674 * stdio-common/tst-unbputc.sh: Likewise.
675 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
676 $(run-program-prefix) with $(test-program-prefix).
677 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
678 (test_program_prefix): This.
679 * string/Makefile ($(objpfx)tst-svc.out): Replace
680 $(built-program-cmd) with $(test-program-cmd).
681
c6fe55cf
AJ
6822013-01-11 Andreas Jaeger <aj@suse.de>
683
684 [BZ #15003]
685 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
686 value. Sync with Linux 3.7.
687
9e6919c8
DM
6882013-01-10 David S. Miller <davem@davemloft.net>
689
690 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
691 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
692 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
693
1c9f1a02
RM
6942013-01-10 Roland McGrath <roland@hack.frob.com>
695
696 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
697 never set.
698 * configure: Regenerated.
699
b9de2dde
DM
7002013-01-10 David S. Miller <davem@davemloft.net>
701
702 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
703 sparc V9 rather than using V8 code.
704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
706
e7f68ef4
RM
7072013-01-10 Roland McGrath <roland@hack.frob.com>
708
709 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
710 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
711 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
712 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
713 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
714 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
715 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
716 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
717 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
718 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
719 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
720 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
721 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
722 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
723 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
724 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
725 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
726 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
727 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
728 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
729 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
730 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
731 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
732 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
733 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
734 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
735 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
736
5a47cc9c
DM
7372013-01-10 David S. Miller <davem@davemloft.net>
738
739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
740
4cf8f209
L
7412013-01-10 H.J. Lu <hongjiu.lu@intel.com>
742
743 * posix/Makefile (tests-static): New variable.
744 (tests): Add $(tests-static).
745 (tst-exec-static-ARGS): New variable.
746 (tst-spawn-static-ARGS): Likewise.
747 * posix/tst-exec-static.c: New file.
748 * posix/tst-spawn-static.c: Likewise.
749 * posix/tst-exec.c: Support run directly.
750 * posix/tst-spawn.c: Likewise.
751
fed0faa1
JM
7522013-01-10 Joseph Myers <joseph@codesourcery.com>
753
828beb13
JM
754 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
755 long.
756 * math/bits/mathcalls.h (llrint): Likewise.
757 (llround): Likewise.
758 * stdlib/stdlib.h (struct drand48_data): Likewise.
759 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
760 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
761 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
762 Likewise.
763 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
764 Likewise.
765 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
766 (elf_greg_t): Likewise.
767 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
768 (__jmp_buf): Likewise.
769 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
770 definitions.
771 (llrint): Likewise, for all definitions.
772 (llrintl): Likewise.
773
fed0faa1
JM
774 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
775 Remove [__GNUC__] condition.
776 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
777 condition to just [__USE_ISOC99].
778 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
779
1a20cb20
L
7802013-01-10 H.J. Lu <hongjiu.lu@intel.com>
781
782 [BZ #14200]
783 * sysdeps/unix/sysv/linux/x86/bits/environments.h
784 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
785 defined.
786 (_POSIX_V6_ILP32_OFF32): Likewise.
787 (_XBS5_ILP32_OFF32): Likewise.
788 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
789 (__ILP32_OFFBIG_LDFLAGS): Likewise.
790
751b85f7
SP
7912013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
792
7490eb81
SP
793 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
794
751b85f7
SP
795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
796 doubles __mpexp_twomm1. Adjust usage.
797 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
798 Remove.
799
988197f0
AS
8002013-01-10 Andreas Schwab <schwab@suse.de>
801
802 [BZ #14964]
803 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
804 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
805
e83d7298
DM
8062013-01-09 David S. Miller <davem@davemloft.net>
807
034ed64b 808 [BZ #15003]
e83d7298
DM
809 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
810 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
811 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
812 TCP_FASTOPEN): Define.
813 (tcp_repair_opt): New structure.
814 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
815 enum values.
816 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
817 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
818 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
819 (tcp_cookie_transactions): New structure.
820
d5e0b9bd
AB
8212013-01-09 Anton Blanchard <anton@samba.org>
822
823 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
824 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
825 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
826 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
827
0c07e3ea
JM
8282013-01-09 Joseph Myers <joseph@codesourcery.com>
829
830 * include/features.h (__USE_ANSI): Remove.
831
232f7002
RM
8322013-01-09 Roland McGrath <roland@hack.frob.com>
833
ad98e30c
RM
834 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
835
232f7002
RM
836 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
837
950c99ca
SP
8382013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
839
b5792741
SP
840 * sysdeps/s390/fpu/libm-test-ulps: Update.
841
47cf2278
SP
842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
843
950c99ca
SP
844 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
845 (__acr): Likewise.
846 (__cpy): Likewise.
847 (norm): Likewise.
848 (denorm): Likewise.
849 (__mp_dbl): Likewise.
850 (__dbl_mp): Likewise.
851 (add_magnitudes): Likewise.
852 (sub_magnitudes): Likewise.
853 (__add): Likewise.
854 (__sub): Likewise.
855 (__mul): Likewise.
856 (__inv): Likewise.
857 (__dvd): Likewise.
858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
859 (__acr): Likewise.
860 (__cpy): Likewise.
861 (norm): Likewise.
862 (denorm): Likewise.
863 (__mp_dbl): Likewise.
864 (__dbl_mp): Likewise.
865 (add_magnitudes): Likewise.
866 (sub_magnitudes): Likewise.
867 (__add): Likewise.
868 (__sub): Likewise.
869 (__mul): Likewise.
870 (__inv): Likewise.
871 (__dvd): Likewise.
872 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
873 (__acr): Likewise.
874 (__cpy): Likewise.
875 (norm): Likewise.
876 (denorm): Likewise.
877 (__mp_dbl): Likewise.
878 (__dbl_mp): Likewise.
879 (add_magnitudes): Likewise.
880 (sub_magnitudes): Likewise.
881 (__add): Likewise.
882 (__sub): Likewise.
883 (__mul): Likewise.
884 (__inv): Likewise.
885 (__dvd): Likewise.
886
eede9df9
JM
8872013-01-08 Joseph Myers <joseph@codesourcery.com>
888
889 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
890 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
891 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
892 2 && __USE_EXTERN_INLINES]: Likewise.
893
c40ea3d9
AJ
8942013-01-08 Andreas Jaeger <aj@suse.de>
895
896 [BZ# 14985]
897 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
898 Remove.
899 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
900 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
901
2ccdea26
AB
9022013-01-07 Anton Blanchard <anton@samba.org>
903
904 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
905 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
906 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
907 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
908 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
909 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
910 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
911 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
913 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
914 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
915 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
916 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
917 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
918 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
919 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
920 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
921 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
922 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
923 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
924 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
925 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
926 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
927 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
928 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
929 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
930 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
931 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
932 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
933 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
934 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
936 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
937 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
938 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
939 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
941 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
942 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
943 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
944 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
945 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
946 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
947
a9708fed
JM
9482013-01-07 Joseph Myers <joseph@codesourcery.com>
949
375607b9
JM
950 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
951 (__MALLOC_PMT): Likewise.
952 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
953 [__GNUC__], only on [_LIBC].
954 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
955 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
956 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
957 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
958 forward declaration.
959 (realloc_hook_ini): Likewise.
960 (memalign_hook_ini): Likewise.
961 (__libc_memalign): Do not use __MALLOC_PMT in variable
962 declaration.
963 (__libc_valloc): Likewise.
964 (__libc_pvalloc): Likewise.
965 (__libc_calloc): Likewise.
966 (__posix_memalign): Likewise.
967
a9708fed
JM
968 [BZ #14996]
969 * math/s_casinh.c: Include <float.h>.
970 (__casinh): Do not do computation with squaring and square root
971 for large arguments.
972 * math/s_casinhf.c: Include <float.h>.
973 (__casinhf): Do not do computation with squaring and square root
974 for large arguments.
975 * math/s_casinhl.c: Include <float.h>.
976 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
977 (__casinhl): Do not do computation with squaring and square root
978 for large arguments.
979 * math/libm-test.inc (casin_test): Add more tests.
980 (casinh_test): Likewise.
981 * sysdeps/i386/fpu/libm-test-ulps: Update.
982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
983
afec409a
L
9842013-01-04 H.J. Lu <hongjiu.lu@intel.com>
985
986 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
987 (__x86_64_raw_data_cache_size): Likewise.
988 (__x86_64_data_cache_size_half): Likewise.
989 (__x86_64_raw_data_cache_size_half): Likewise.
990 (__x86_64_shared_cache_size): Likewise.
991 (__x86_64_raw_shared_cache_size): Likewise.
992 (__x86_64_shared_cache_size_half): Likewise.
993 (__x86_64_raw_shared_cache_size_half): Likewise.
994 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
995 to ...
996 (__x86_data_cache_size): This.
997 (__x86_64_raw_data_cache_size): Renamed to ...
998 (__x86_raw_data_cache_size): This.
999 (__x86_64_data_cache_size_half): Renamed to ...
1000 (__x86_data_cache_size_half): This.
1001 (__x86_64_raw_data_cache_size_half): Renamed to ...
1002 (__x86_raw_data_cache_size_half): This.
1003 (__x86_64_shared_cache_size): Renamed to ...
1004 (__x86_shared_cache_size): This.
1005 (__x86_64_raw_shared_cache_size): Renamed to ...
1006 (__x86_raw_shared_cache_size): This.
1007 (__x86_64_shared_cache_size_half): Renamed to ...
1008 (__x86_shared_cache_size_half): This.
1009 (__x86_64_raw_shared_cache_size_half): Renamed to ...
1010 (__x86_raw_shared_cache_size_half): This.
1011 * sysdeps/x86_64/memcpy.S: Updated.
1012 * sysdeps/x86_64/memset.S: Likewise.
1013 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1014 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1015 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1016
0b3986d0
DM
10172013-01-04 David S. Miller <davem@davemloft.net>
1018
1019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1020
e47686e9
AS
10212013-01-04 Andreas Schwab <schwab@linux-m68k.org>
1022
d643bac1
AS
1023 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
1024 1 to avoid redefinition warning.
1025 (__USE_GNU): Don't define.
1026 (init_signaling_nan): Protoize.
1027
e47686e9
AS
1028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1029
b18decba
SP
10302013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1031
fffb407f
SP
1032 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
1033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
1034 (__cpymn): Likewise.
1035 (norm): Remove commented code.
1036 (denorm): Likewise.
1037 (__mp_dbl): Likewise.
1038 (__inv): Likewise.
1039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
1040 (__cpymn): Likewise.
1041 (norm): Remove commented code.
1042 (denorm): Likewise.
1043 (__mp_dbl): Likewise.
1044 (__inv): Likewise.
1045
b18decba
SP
1046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
1047 mp_no value for 1.0 and 2.0.
1048 (norm): Use RADIXI instead of radixi.d.
1049 (denorm): Likewise.
1050 (__mul): Use 0.0 instead of zero.d.
1051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
1052 mp_no value for 1.0 and 2.0.
1053 (norm): Use RADIXI instead of radixi.d.
1054 (denorm): Likewise.
1055 (__mul): Use 0.0 instead of zero.d.
1056
cdc1c96f
JM
10572013-01-04 Joseph Myers <joseph@codesourcery.com>
1058
1059 [BZ #14994]
1060 * math/s_casinh.c (__casinh): Reduce finite argument to first
1061 quadrant then set signs of results at the end.
1062 * math/s_casinhf.c (__casinhf): Likewise.
1063 * math/s_casinhl.c (__casinhl): Likewise.
1064 * math/libm-test.inc (casin_test): Add more tests.
1065 (casinh_test): Likewise.
1066 * sysdeps/i386/fpu/libm-test-ulps: Update.
1067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1068
302913e1
SP
10692013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1070
6420d207
SP
1071 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
1072
a9e48ab4
SP
1073 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
1074
b7837264
SP
1075 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
1076 declarations.
1077 (denorm): Likewise.
1078 (__mp_dbl): Likewise.
1079 (__inv): Likewise.
1080
f8af25d2
SP
1081 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
1082 and adjust the header comment.
1083
302913e1
SP
1084 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
1085 variable name from declaration.
1086
5d7dd1ca
L
10872013-01-03 H.J. Lu <hongjiu.lu@intel.com>
1088
1089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1090 Initialize COMMON_CPUID_INDEX_7 element.
1091 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
1092 (CPUID_RTM): Likewise.
1093 (HAS_RTM): Likewise.
1094 (COMMON_CPUID_INDEX_7): New enum.
1095
2f5f40f4
AS
10962013-01-03 Andreas Schwab <schwab@linux-m68k.org>
1097
1098 [BZ #14981]
1099 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
1100 size is zero, record memory as freed.
1101
4056f4a0
AJ
11022013-01-03 Andreas Jaeger <aj@suse.de>
1103
1104 * po/ia.po: Add new Interlingua translation.
1105
ab15736f 11062012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
1107
1108 * locale/programs/localedef.c: Fix description of '--posix' flag.
1109
568035b7
JM
11102013-01-02 Joseph Myers <joseph@codesourcery.com>
1111
e6898b8d
JM
1112 * NEWS: Update dates in second copyright notice.
1113 * README: Update copyright dates in example.
1114 * manual/libc.texinfo: Update copyright dates.
1115 * scripts/test-installation.pl: Update copyright date in --version
1116 output.
1117
0e2f9562
JM
1118 * hurd/ctty-input.c: Fix copyright notice formatting.
1119 * hurd/ctty-output.c: Likewise.
1120 * hurd/dtable.c: Likewise.
1121 * hurd/hurd-raise.c: Likewise.
1122 * hurd/hurdprio.c: Likewise.
1123 * hurd/msgportdemux.c: Likewise.
1124 * misc/sys/file.h: Likewise.
1125 * misc/sys/ioctl.h: Likewise.
1126 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1127 * sysdeps/mach/hurd/chdir.c: Likewise.
1128 * sysdeps/mach/hurd/fchdir.c: Likewise.
1129 * sysdeps/mach/hurd/rename.c: Likewise.
1130 * sysdeps/mach/hurd/rmdir.c: Likewise.
1131 * sysdeps/mach/hurd/seekdir.c: Likewise.
1132 * sysdeps/mach/hurd/setsid.c: Likewise.
1133 * sysdeps/posix/wait3.c: Likewise.
1134
568035b7
JM
1135 * All files with FSF copyright notices: Update copyright dates
1136 using scripts/update-copyrights.
1137 * intl/plural.c: Regenerated.
1138 * locale/programs/charmap-kw.h: Likewise.
1139 * locale/programs/locfile-kw.h: Likewise.
1140
da08f647
SP
11412013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1142
0f5477af
SP
1143 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
1144 four values.
1145
44e0d4c2
SP
1146 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
1147 calculation loop and add branch prediction.
1148
4d55b4e5
SP
1149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
1150 check access beyond bounds of m1np.
1151
da08f647
SP
1152 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1153 MPTWO.
1154 (__inv): Remove local variable MPTWO to use the global
1155 constant.
1156 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
1157 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1158 variable MPTWO.
1159 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
1160 MP3HALFS static const.
1161
8e051029
DM
11622013-01-01 David S. Miller <davem@davemloft.net>
1163
1164 * po/ca.po: Update from translation team.
1165
f4cf5f2d
JM
11662013-01-01 Joseph Myers <joseph@codesourcery.com>
1167
1168 * scripts/update-copyrights: New file.
1169 * Makeconfig: Reformat copyright notice.
1170 * ctype/ctype.h: Likewise.
1171 * debug/swprintf_chk.c: Likewise.
1172 * elf/dl-cache.c: Likewise.
1173 * elf/dl-debug.c: Likewise.
1174 * elf/dl-object.c: Likewise.
1175 * grp/initgroups.c: Likewise.
1176 * hurd/Makefile: Likewise.
1177 * hurd/hurd/signal.h: Likewise.
1178 * hurd/hurdfault.c: Likewise.
1179 * hurd/hurdioctl.c: Likewise.
1180 * hurd/hurdlookup.c: Likewise.
1181 * hurd/intr-msg.c: Likewise.
1182 * iconv/gconv_open.c: Likewise.
1183 * libio/swprintf.c: Likewise.
1184 * locale/lc-ctype.c: Likewise.
1185 * locale/nl_langinfo.c: Likewise.
1186 * mach/Machrules: Likewise.
1187 * mach/Makefile: Likewise.
1188 * malloc/obstack.h: Likewise.
1189 * manual/Makefile: Likewise.
1190 * manual/tsort.awk: Likewise.
1191 * misc/bits/stab.def: Likewise.
1192 * nis/nis_print_group_entry.c: Likewise.
1193 * nis/nis_table.c: Likewise.
1194 * nis/nss_compat/compat-pwd.c: Likewise.
1195 * nis/nss_compat/compat-spwd.c: Likewise.
1196 * po/Makefile: Likewise.
1197 * posix/fnmatch.c: Likewise.
1198 * posix/regex.h: Likewise.
1199 * resolv/Makefile: Likewise.
1200 * resolv/nss_dns/dns-network.c: Likewise.
1201 * resolv/res_hconf.c: Likewise.
1202 * scripts/gen-sorted.awk: Likewise.
1203 * soft-fp/soft-fp.h: Likewise.
1204 * stdio-common/printf.h: Likewise.
1205 * stdlib/monetary.h: Likewise.
1206 * stdlib/random.c: Likewise.
1207 * stdlib/random_r.c: Likewise.
1208 * sysdeps/generic/Makefile: Likewise.
1209 * sysdeps/gnu/Makefile: Likewise.
1210 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1211 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1212 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1214 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1217 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1218 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1220 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1221 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1222 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1223 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1224 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1225 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1226 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1227 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1228 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1229 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1230 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1231 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1232 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1233 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1234 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1235 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1236 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1237 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1238 * sysdeps/mach/hurd/errnos.awk: Likewise.
1239 * sysdeps/mach/hurd/fork.c: Likewise.
1240 * sysdeps/mach/hurd/getcwd.c: Likewise.
1241 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1242 * sysdeps/mach/hurd/mmap.c: Likewise.
1243 * sysdeps/mach/hurd/utimes.c: Likewise.
1244 * sysdeps/mach/hurd/xmknod.c: Likewise.
1245 * sysdeps/posix/profil.c: Likewise.
1246 * sysdeps/posix/readdir_r.c: Likewise.
1247 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1248 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1249 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1250 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1252 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1253 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1254 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1256 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1257 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1258 * sysdeps/pthread/lio_listio.c: Likewise.
1259 * sysdeps/sparc/dl-procinfo.h: Likewise.
1260 * sysdeps/unix/i386/sysdep.S: Likewise.
1261 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1262 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1263 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1264 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1266 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1267 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1268 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1269 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1270 * sysdeps/wordsize-32/divdi3.c: Likewise.
1271 * time/sys/time.h: Likewise.
1272 * wcsmbs/Makefile: Likewise.
1273
0549fbba
DM
12742013-01-01 David S. Miller <davem@davemloft.net>
1275
a141f1a7
DM
1276 * po/fr.po: Update from translation team.
1277
0549fbba
DM
1278 * catgets/gencat.c: Update copyright year.
1279 * csu/version.c: Likewise.
1280 * debug/catchsegv.sh: Likewise.
1281 * debug/pcprofiledump.c: Likewise.
1282 * debug/xtrace.sh: Likewise.
1283 * elf/ldconfig.c: Likewise.
1284 * elf/ldd.bash.in: Likewise.
1285 * elf/pldd.c: Likewise.
1286 * elf/sotruss.ksh: Likewise.
1287 * elf/sprof.c: Likewise.
1288 * iconv/iconv_prog.c: Likewise.
1289 * iconv/iconvconfig.c: Likewise.
1290 * locale/programs/locale.c: Likewise.
1291 * locale/programs/localedef.c: Likewise.
1292 * login/programs/pt_chown.c: Likewise.
1293 * malloc/memusage.sh: Likewise.
1294 * malloc/memusagestat.c: Likewise.
1295 * malloc/mtrace.pl: Likewise.
1296 * nscd/nscd.c: Likewise.
1297 * nss/getent.c: Likewise.
1298 * nss/makedb.c: Likewise.
1299 * posix/getconf.c: Likewise.
1300
18ea052c
SP
13012012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1302
1303 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1304 numbers.
1305
9c89fca6
MF
13062012-12-30 Mike Frysinger <vapier@gentoo.org>
1307
1308 * math/bits/mathcalls.h (modf): Use __nonnull.
1309
085ec079
SP
13102012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1311
1312 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1313 (split): Use macro CN instead of the bare value.
1314 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1315 could be used.
1316 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1317 instead of the bare value.
1318 (power1): Likewise.
1319
6d9f97e1
SP
13202012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1321
d63f73be
SP
1322 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1323 __ATAN_TWOM.
1324 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1325
6d9f97e1
SP
1326 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1327 their values.
1328 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1329 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1330 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1331 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1332
4c4febf5
AJ
13332012-12-28 Andreas Jaeger <aj@suse.de>
1334
af5843ef
AJ
1335 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1336 values are from Linux 3.7.
1337
4c4febf5
AJ
1338 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1339 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1340
99136f82
SP
13412012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1342
2f216c3c 1343 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1344 TRUE case.
1345
99136f82
SP
1346 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1347 (norm): Likewise.
1348 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1349 variables with preprocessor constants.
1350 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1351 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1352 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1353
7fffbdff
BH
13542012-12-27 Bruno Haible <bruno@clisp.org>
1355
1356 [BZ #14317]
1357 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1358 only if needed.
1359
b76eb5f0
SP
13602012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1361
31a7fe5c
SP
1362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1363 and use variable directly.
1364 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1365
b76eb5f0
SP
1366 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1367 MPONE.
1368 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1369 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1370 variable MPONE.
1371 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1372 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1373 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1374 include directive. Remove local variable MPONE.
1375 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1376 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1377 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1378
2c8bfe7d
DM
13792012-12-25 David S. Miller <davem@davemloft.net>
1380
1381 * version.h (RELEASE): Set to "development".
1382 (VERSION): Set to "2.17.90".
1383 * NEWS: Add 2.18 section.
1384
147d03b0
DM
13852012-12-21 David S. Miller <davem@davemloft.net>
1386
1387 * po/hr.po: Update from translation team.
1388
a8ebb2b9
AK
13892012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1390
1391 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1392
95b4f1b6
SE
13932012-12-19 Steve Ellcey <sellcey@mips.com>
1394
b2d94007 1395 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1396
cedb2a90
MS
13972012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1398
1399 * manual/contrib.texi (Contributors): Spelling correction.
1400
bbf527d6
DM
14012012-12-15 David S. Miller <davem@davemloft.net>
1402
1403 * po/ru.po: Update from translation team.
1404
bc38c906
DM
14052012-12-13 David S. Miller <davem@davemloft.net>
1406
85429b1a
DM
1407 * NEWS: Mention IFUNC testsuite enhancements.
1408
d283e353
DM
1409 * po/pl.po: Update from translation team.
1410 * po/bg.po: Likewise.
1411
bc38c906
DM
1412 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1413 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1414
a181b0d7
DM
14152012-12-11 David S. Miller <davem@davemloft.net>
1416
4641d57e
DM
1417 * po/sv.po: Update from translation team.
1418
f7bc6495
DM
1419 * po/vi.po: Update from translation team.
1420
6fc9048f
DM
1421 * po/cs.po: Update from translation team.
1422
a181b0d7
DM
1423 * po/de.po: Update from translation team.
1424 * po/eo.po: Likewise.
1425 * po/nl.po: Likewise.
1426
f70bfe80
SP
14272012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1428
3c8b4190
SP
1429 [BZ #14246]
1430 * manual/argp.texi (Argp Helper Functions): Move node to follow
1431 Argp Parsing State.
1432
f70bfe80
SP
1433 [BZ #14872]
1434 * manual/conf.texi (Limits on File System Capacity): Mention if
1435 terminating null is included in the max size.
1436
188f0adf
AJ
14372012-12-10 Andreas Jaeger <aj@suse.de>
1438
1439 * po/cs.po: Update from translation team.
1440
56e7d3ad
SP
14412012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1442
1443 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1444 void pointer and cast to uintptr_t.
1445 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1446 path.
1447 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1448 * sysdeps/s390/s390-64/memset.S: Likewise.
1449
76f2d2ea 14502012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1451
1452 [BZ #14833]
1453 * menual/message.texi (Message Translation): Fix typos.
1454 (Helper programs for gettext): Likewise.
1455
67cbf9a2
AS
14562012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1457
1458 [BZ #14898]
1459 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1460 Change to -1.
1461
682d0e9a
DM
14622012-12-07 David S. Miller <davem@davemloft.net>
1463
1464 * po/libc.pot: Update.
1465
573cd484
RH
14662012-12-07 Richard Henderson <rth@redhat.com>
1467
7e9da188 1468 [BZ #10114]
573cd484
RH
1469 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1470 normal/normal case to before the switch.
1471 (_FP_DIV): Likewise.
1472
e933a943
MF
14732012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1474 Mike Frysinger <vapier@gentoo.org>
1475
1476 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1477 check for __NR_fadvise64_64.
1478
82123268
CM
14792012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1480
1481 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1482 0, not just to plain "0" as a statement.
1483 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1484 with cw.
1485
d9814526
JM
14862012-12-06 Joseph Myers <joseph@codesourcery.com>
1487
1488 * NEWS: Use sourceware.org in Bugzilla URL.
1489
7728c574
SP
14902012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1491
f16946dd
SP
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1493 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1494
5704bbcb
SP
1495 * stdio-common/tst-put-error.c (do_test): Add newline to the
1496 padded test to ensure flush.
1497
17aa0516
JL
14982012-12-05 Jeff Law <law@redhat.com>
1499
1500 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1501
363313b5
JM
15022012-12-05 Joseph Myers <joseph@codesourcery.com>
1503
effbd42a
JM
1504 * README: Don't refer to ports add-on as distributed separately.
1505 Mention AArch64 in list of systems supported in the ports add-on.
1506
87600365
JM
1507 * LICENSES: Add more non-FSF copyright and license notices.
1508
a0d7066a
JM
1509 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1510 ((unused)).
1511
66ca5a5b
JM
1512 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1513
363313b5
JM
1514 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1515 10000 as width of padded output.
1516
b37984ad
JM
15172012-12-04 Joseph Myers <joseph@codesourcery.com>
1518
9003570a
JM
1519 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1520
b37984ad
JM
1521 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1522 variable LX with __attribute__ ((unused)).
1523 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1524 Likewise.
1525 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1527 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1528 with __attribute__ ((unused)).
1529
c8df52ec
DM
15302012-12-04 David S. Miller <davem@abraco.davemloft.net>
1531
1532 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1533
b3b099af
JM
15342012-12-04 Joseph Myers <joseph@codesourcery.com>
1535
c33aa6e3
JM
1536 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1537 (CFLAGS-nldbl-acos.c): New variable.
1538 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1539 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1540 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1541 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1542 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1543 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1544 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1545 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1546 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1547 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1548 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1549 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1550 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1551 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1552 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1553 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1554 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1555 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1556 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1557 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1558 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1559 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1560 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1561 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1562 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1563 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1564 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1565 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1566 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1567 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1568 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1569 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1570 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1571 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1572 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1573 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1574 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1575 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1576 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1577 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1578 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1579 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1580 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1581 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1582 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1583 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1584 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1585 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1586 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1587 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1588 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1589 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1590 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1591 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1592 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1593 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1594 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1595 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1596 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1597 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1598 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1599 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1600 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1601 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1602 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1603 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1604 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1605 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1606 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1607 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1608 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1609 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1610 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1611 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1612 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1613 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1614 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1615 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1616 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1617 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1618 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1619 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1620 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1621 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1622 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1623 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1624 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1625 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1626 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1627 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1628 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1629 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1630 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1631 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1632 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1633 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1634 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1635
20f0018d
JM
1636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1637 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1638
b3b099af
JM
1639 [BZ #14914]
1640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1641 whole low double instead of just low 47 bits when splitting values
1642 into two parts.
1643
029264d1
AM
16442012-12-03 Allan McRae <allan@archlinux.org>
1645
1646 * manual/stdio.texi (Predefined Printf Handlers): Remove
1647 @hsep and @vsep usage.
1648
c9d6789e
MF
16492012-12-03 Mike Frysinger <vapier@gentoo.org>
1650
1651 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1652 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1653
4b7634a5
JL
16542012-12-03 Jeff Law <law@redhat.com>
1655
1656 * time/sys/time.h (settimeofday): Do not mark TV argument
1657 as __nonnull.
1658
eb6cbd24
MF
16592012-12-01 Mike Frysinger <vapier@gentoo.org>
1660
1661 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1662 when currently writing and seek to current position when not.
1663 * libio/Makefile (tests): Remove bug-fclose1.
1664 * libio/bug-fclose1.c: Delete.
1665
f638872a
JM
16662012-12-01 Joseph Myers <joseph@codesourcery.com>
1667
1668 * manual/arith.texi (feenableexcept): Fix typo.
1669 (fedisableexcept): Likewise.
1670
48085d14
RM
16712012-11-30 Roland McGrath <roland@hack.frob.com>
1672
1673 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1674 second, differently-typed declaration, rather than a cast.
1675
1a538b9f
SP
16762012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1677
1678 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1679 * include/rpc/svc.h: ... here.
1680
d07f2ff1 16812012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1682
1683 [BZ #13013]
1684 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1685 depending n and resplen2 to catch cases where answer
1686 equals answerp2.
1687
c93ec1f0
CD
16882012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1689
1690 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1691 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1692
37db69de
MF
16932012-11-29 Mike Frysinger <vapier@gentoo.org>
1694
1695 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1696
e10c4e4f
RM
16972012-11-29 Roland McGrath <roland@hack.frob.com>
1698
1699 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1700
2af1b328
JL
17012012-11-28 Jeff Law <law@redhat.com>
1702
1703 [BZ #13761]
1704 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1705 dataset_temporary. Track alloca usage into alloca_used.
1706 If dataset is large allocate and release it via malloc/free.
1707
111db5b1
FW
17082012-06-04 Florian Weimer <fweimer@redhat.com>
1709
f06cc227 1710 [BZ #14197]
111db5b1
FW
1711 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1712
dd694abd
DM
17132012-11-28 David S. Miller <davem@davemloft.net>
1714
1715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1716
9984dd01
JM
17172012-11-28 Joseph Myers <joseph@codesourcery.com>
1718
1719 [BZ #14803]
1720 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1721 of pi/2 rounded to nearest to 64 bits.
1722 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1723 nearest to 64 bits.
1724 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1725 bits.
1726
14bc93a9
JL
17272012-11-28 Jeff Law <law@redhat.com>
1728 Martin Osvald <mosvald@redhat.com>
1729
1730 [BZ #14889]
1731 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1732 * sunrpc/svc.c: Include time.h.
1733 (__svc_accept_failed): New function.
1734 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1735 any reason other than EINTR, call __svc_accept_failed.
1736 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1737 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1738
e3c6aa3a
AS
17392012-11-28 Andreas Schwab <schwab@suse.de>
1740
1741 * scripts/abilist.awk: Also handle indirect functions in .opd
1742 section.
1743
1bead169
JM
17442012-11-28 Joseph Myers <joseph@codesourcery.com>
1745
1746 [BZ #13881]
1747 * sysdeps/x86/fpu/powl_helper.c: New file.
1748 * sysdeps/x86/fpu/Makefile: Likewise.
1749 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1750 (p3): New object.
1751 (__ieee754_powl): Use __powl_helper for finite arguments except
1752 integer exponents below 8.
1753 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1754 (p3): New object.
1755 (__ieee754_powl): Use __powl_helper for finite arguments except
1756 integer exponents below 8.
1757 * math/libm-test.inc (pow_test): Add more tests and enable some
1758 previously disabled tests.
1759 * sysdeps/i386/fpu/libm-test-ulps: Update.
1760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1761
0817d63d
SP
17622012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1763 Carlos O'Donell <carlos_odonell@mentor.com>
1764
1765 * nss/makedb.c (is_prime): Assert that input is odd and greater
1766 than 4. Note that fact in a comment too.
1767 (next_prime): Add 4 to input.
1768
de2fd463
SP
17692012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1770
1771 [BZ #11741]
1772 * libio/Makefile (tests): Add test case tst-fwrite-error.
1773 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1774 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1775 * libio/tst-fwrite-error.c: New test case.
1776
c515fb51
L
17772012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1778
1779 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1780 before casting to void *.
1781 * include/libc-internal.h (__pointer_type): New macro.
1782 (__integer_if_pointer_type_sub): Likewise.
1783 (__integer_if_pointer_type): Likewise.
1784 (cast_to_integer): Likewise.
1785 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1786 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1787 before casting to atomic64_t.
1788 (atomic_exchange_acq): Likewise.
1789 (__arch_exchange_and_add_body): Likewise.
1790 (__arch_add_body): Likewise.
1791 (atomic_add_negative): Likewise.
1792 (atomic_add_zero): Likewise.
1793
4cf77aa9
JM
17942012-11-26 Joseph Myers <joseph@codesourcery.com>
1795
1796 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1797 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1798 (add_fdes): Likewise.
1799 (linear_search_fdes): Likewise.
1800 (binary_search_unencoded_fdes): Likewise.
1801
d260b3b4
AS
18022012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1803
1804 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1805
67060746
AC
18062012-11-24 Adam Conrad <adconrad@0c3.net>
1807
1808 * configure.in: Autodetect C++ header directories.
1809 * configure: Regenerated.
1810
800938a1
MF
18112012-11-23 Mike Frysinger <vapier@gentoo.org>
1812
1813 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1814
4e6e34e6
AS
18152012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1816
1817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1818
7c7feb47
JM
18192012-11-22 Joseph Myers <joseph@codesourcery.com>
1820
7184dcdf
JM
1821 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1822 LDBL_MANT_DIG == 106]: Disable some tests.
1823 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1824 Likewise.
1825 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1826 Likewise.
1827
0a42601f
JM
1828 [BZ #14871]
1829 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1830 input for small inputs. Return +/- pi/2 for large inputs.
1831 * math/libm-test.inc (atan_test): Add more tests.
1832
79c9b9fe
JM
1833 * sysdeps/generic/unwind-dw2-fde-glibc.c
1834 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1835 __attribute__ ((unused)).
1836
c60d3bf2
JM
1837 [BZ #14645]
1838 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1839 x * y if x and y are nonzero and z is zero.
1840
ef1e0867
JM
1841 [BZ #14811]
1842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1843 nonzero exponents with absolute value below 0x1p-117 to +/-
1844 0x1p-117.
1845
1468ded3
JM
1846 [BZ #14869]
1847 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1848 up arguments below 2**-450, not just those below 2**-500.
1849 * math/libm-test.inc (hypot_test): Add another test.
1850
8e27e3cc
JM
1851 [BZ #14868]
1852 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1853 Return a+b for ratio over 2**120, not 2**60.
1854 * math/libm-test.inc (hypot_test): Add another test.
1855
c9c0279b
JM
1856 * math/libm-test.inc (clog_test): Use
1857 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1858 (clog10_test): Likewise.
1859
7c7feb47
JM
1860 [BZ #6778]
1861 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1862
fff1530e
AS
18632012-11-22 Andreas Schwab <schwab@suse.de>
1864
1865 * sysdeps/i386/fpu/libm-test-ulps: Update.
1866
94558d30
PT
18672012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1868
1869 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1870 printf output with newline.
1871
7e1be741
L
18722012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1873
6bfea974
L
1874 [BZ #14865]
1875 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1876 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1877 -z nodlopen, -z initfirst and -z execstack support.
1878 * configure: Regenerated.
1879
7e1be741
L
1880 * elf/elf.h (DF_1_NODIRECT): New macro.
1881 (DF_1_IGNMULDEF): Likewise.
1882 (DF_1_NOKSYMS): Likewise.
1883 (DF_1_NOHDR): Likewise.
1884 (DF_1_EDITED): Likewise.
1885 (DF_1_NORELOC): Likewise.
1886 (DF_1_SYMINTPOSE): Likewise.
1887 (DF_1_GLOBAUDIT): Likewise.
1888 (DF_1_SINGLETON): Likewise.
1889 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1890 DT_1_SUPPORTED_MASK bits.
1891 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1892
105ce2ce
CD
18932012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1894
1895 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1896
123be9de
TS
18972012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1898
d072f3f7
TS
1899 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1900 macro.
1901
123be9de
TS
1902 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1903 (sendmmsg): Move declarations...
1904 * socket/sys/socket.h: ... here.
1905 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1906 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1907 include it from...
1908 * socket/recvmmsg.c: ... this new file.
1909 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1910 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1911 definition of __sendmmsg hidden.
1912 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1913 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1914 Move ENOSYS stub into and include it from...
1915 * socket/sendmmsg.c: ... this new file.
1916 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1917 (sysdep_routines): Move recvmmsg and sendmmsg...
1918 * socket/Makefile (routines): ... here.
1919 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1920 (GLIBC_PRIVATE): Add __sendmmsg.
1921 * include/sys/socket.h (__sendmmsg): Add declarations.
1922 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1923 sendmmsg.
1924
cf9a5d18
JM
19252012-11-20 Joseph Myers <joseph@codesourcery.com>
1926
1927 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1928 variable I1 with __attribute__ ((unused)).
1929 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1930
ecd4caf9
JM
19312012-11-19 Joseph Myers <joseph@codesourcery.com>
1932
be14d48f
JM
1933 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1934 DUMMY variables with __attribute__ ((unused)).
1935
ecd4caf9
JM
1936 * bits/byteswap.h: Include <bits/types.h>.
1937 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1938
986cab95
PT
19392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1940
1941 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1942 string_t. Do not manually set errno.
1943 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1944 length with __strnlen. Make sure to both set errno and return it on
1945 failure.
1946
6d33cc9d
DM
19472012-11-19 David S. Miller <davem@davemloft.net>
1948
1949 With help from Joseph Myers.
1950 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1951 very large arguments properly.
1952 * math/libm-test.inc (atan_test): New tests.
1953 (atan2_test): New tests.
1954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1955 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1956
ee663277
JM
19572012-11-19 Joseph Myers <joseph@codesourcery.com>
1958
877f2d8e
JM
1959 [BZ #14856]
1960 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1961 Define to 3.
1962
116fc08a
JM
1963 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1964 [POSIX] (EADDRNOTAVAIL): Likewise.
1965 [POSIX] (EAFNOSUPPORT): Likewise.
1966 [POSIX] (EALREADY): Likewise.
1967 [POSIX] (ECONNABORTED): Likewise.
1968 [POSIX] (ECONNREFUSED): Likewise.
1969 [POSIX] (ECONNRESET): Likewise.
1970 [POSIX] (EDESTADDRREQ): Likewise.
1971 [POSIX] (EDQUOT): Likewise.
1972 [POSIX] (EHOSTUNREACH): Likewise.
1973 [POSIX] (EIDRM): Likewise.
1974 [POSIX] (EISCONN): Likewise.
1975 [POSIX] (ELOOP): Likewise.
1976 [POSIX] (EMULTIHOP): Likewise.
1977 [POSIX] (ENETDOWN): Likewise.
1978 [POSIX] (ENETUNREACH): Likewise.
1979 [POSIX] (ENOBUFS): Likewise.
1980 [POSIX] (ENODATA): Likewise.
1981 [POSIX] (ENOLINK): Likewise.
1982 [POSIX] (ENOMSG): Likewise.
1983 [POSIX] (ENOPROTOOPT): Likewise.
1984 [POSIX] (ENOSR): Likewise.
1985 [POSIX] (ENOSTR): Likewise.
1986 [POSIX] (ENOTCONN): Likewise.
1987 [POSIX] (ENOTSOCK): Likewise.
1988 [POSIX] (EOPNOTSUPP): Likewise.
1989 [POSIX] (EOVERFLOW): Likewise.
1990 [POSIX] (EPROTO): Likewise.
1991 [POSIX] (EPROTONOSUPPORT): Likewise.
1992 [POSIX] (EPROTOTYPE): Likewise.
1993 [POSIX] (ESTALE): Likewise.
1994 [POSIX] (ETIME): Likewise.
1995 [POSIX] (ETXTBSY): Likewise.
1996 [POSIX] (EWOULDBLOCK): Likewise.
1997 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1998 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1999 [POSIX] (SEEK_CUR): Likewise.
2000 [POSIX] (SEEK_END): Likewise.
2001 [POSIX || UNIX98] (mode_t): Do not require.
2002 [POSIX] (off_t): Likewise.
2003 [POSIX] (pid_t): Likewise.
2004 [POSIX] (sys/stat.h): Do not allow header.
2005 [POSIX] (unistd.h): Likewise.
2006 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
2007 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
2008 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
2009 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
2010 require.
2011 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
2012 sigevent): Specify elements.
2013 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
2014 entry.
2015 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
2016 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
2017
a483863f
JM
2018 * conform/data/cpio.h-data [POSIX]: Disable whole file.
2019 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
2020 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
2021 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
2022 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
2023 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
2024 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
2025 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
2026 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
2027 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
2028 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
2029 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
2030 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
2031 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
2032 Likewise.
2033 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
2034 Likewise.
2035 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
2036 Likewise.
2037 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
2038 Likewise.
2039 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
2040 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
2041 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
2042 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
2043 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
2044 Specify lower bound on value.
2045 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
2046 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
2047 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
2048 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
2049 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
2050 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
2051 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
2052 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
2053 value.
2054 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
2055 as optional.
2056 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
2057 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
2058 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
2059 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
2060 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
2061 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
2062 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
2063 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
2064 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
2065 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
2066 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
2067 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
2068 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
2069 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
2070 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
2071 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
2072 entry.
2073 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
2074 optional.
2075 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
2076 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
2077 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
2078 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
2079 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
2080 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
2081 Likewise.
2082 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
2083 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
2084 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
2085 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
2086 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
2087 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
2088 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
2089 as optional.
2090 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
2091 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
2092 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
2093 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
2094 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
2095 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
2096 specify as optional.
2097 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
2098 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
2099 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
2100 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
2101 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
2102 [XPG3] (NL_LANGMAX): Likewise.
2103 [POSIX || XPG3] (NL_MSGMAX): Likewise.
2104 [POSIX || XPG3] (NL_NMAX): Likewise.
2105 [POSIX || XPG3] (NL_SETMAX): Likewise.
2106 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
2107 [XPG3] (NZERO): Likewise.
2108 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
2109 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
2110 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
2111 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
2112 (REG_ERANGE): Expect.
2113 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
2114 optional-constant.
2115 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
2116 Use (void) in prototype.
2117 [POSIX] (*_t): Allow.
2118 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
2119 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
2120 (WRDE_BADVAL): Expect.
2121
5ba924e3
JM
2122 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
2123 expect.
2124 [XPG3 || XPG4] (O_RSYNC): Likewise.
2125 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
2126 Likewise.
2127 [XPG3 || XPG4] (pthread_sigmask): Likewise.
2128 [XPG3 || XPG4] (sigqueue): Likewise.
2129 [XPG3 || XPG4] (sigtimedwait): Likewise.
2130 [XPG3 || XPG4] (sigwaitinfo): Likewise.
2131 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
2132 [XPG3 || XPG4] (vsnprintf): Likewise.
2133 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
2134 Likewise.
2135 [XPG3 || XPG4] (blksize_t): Likewise.
2136 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
2137 Likewise.
2138 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
2139 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2140 [XPG3 || XPG4] (struct itimerspec): Likewise.
2141 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
2142 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
2143 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
2144 [XPG3 || XPG4] (clockid_t): Likewise.
2145 [XPG3 || XPG4] (timer_t): Likewise.
2146 [XPG3 || XPG4] (clock_getres): Likewise.
2147 [XPG3 || XPG4] (clock_gettime): Likewise.
2148 [XPG3 || XPG4] (clock_settime): Likewise.
2149 [XPG3 || XPG4] (nanosleep): Likewise.
2150 [XPG3 || XPG4] (timer_create): Likewise.
2151 [XPG3 || XPG4] (timer_delete): Likewise.
2152 [XPG3 || XPG4] (timer_gettime): Likewise.
2153 [XPG3 || XPG4] (timer_getoverrun): Likewise.
2154 [XPG3 || XPG4] (timer_settime): Likewise.
2155 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
2156 [XPG3 || XPG4] (getlogin_r): Likewise.
2157 [XPG3 || XPG4] (pread): Likewise.
2158 [XPG3 || XPG4] (pthread_atfork): Likewise.
2159 [XPG3 || XPG4] (pwrite): Likewise.
2160
ee663277
JM
2161 [BZ #14835]
2162 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2163 <bits/siginfo.h>.
2164
942caa16
PT
21652012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2166
e19af380
PT
2167 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2168 finalizing MALLSTREAM.
2169
942caa16
PT
2170 * sysdeps/mach/hurd/syncfs.c: New file.
2171
cfde9b46
SP
21722012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2173
2174 [BZ #14719]
2175 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2176 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2177 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2178 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2179 (_nss_dns_gethostbyname4_r): Likewise.
2180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2181 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2182
f6da27e5
PH
21832012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2184
2185 [BZ #13763]
2186 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2187
6665d4a2
SM
21882012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2189
1f51ee92
SM
2190 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2191 * elf/cache.c (print_entry): Print ",AArch64" for
2192 FLAG_AARCH64_LIB64
2193
6665d4a2
SM
2194 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2195 * elf/cache.c (print_entry): Print ",hard-float" for
2196 FLAG_ARM_LIBHF.
2197
05b227bd
DM
21982012-11-18 David S. Miller <davem@davemloft.net>
2199
2200 With help from Joseph Myers.
2201 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2202 cutoff to 2**-13.
2203 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2204 cutoff to 2**-25.
2205 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2206 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2207 small.
2208 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2209 * math/libm-test.inc (y0_test): New tests.
2210 (y1_test): New tests.
2211 * sysdeps/i386/fpu/libm-test-ulps: Update.
2212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2214
786b0b67
AS
22152012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2216
2217 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2218 64-bit targets.
2219 * configure: Regenerated.
2220
8e18b86d
DM
22212012-11-17 David S. Miller <davem@davemloft.net>
2222
2223 [BZ #14811]
2224 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2225 nonzero exponents with absolute value below 0x1p-128 to +/-
2226 0x1p-128.
2227
531f1ae0
JM
22282012-11-17 Joseph Myers <joseph@codesourcery.com>
2229
12df29e2
JM
2230 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2231
150dc1a0
JM
2232 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2233
531f1ae0
JM
2234 * posix/getconf-speclist.c: New file.
2235 * posix/posix-envs.def: Likewise.
2236 * posix/confstr.c (START_ENV_GROUP): New macro.
2237 (END_ENV_GROUP): Likewise.
2238 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2239 (KNOWN_PRESENT_ENV_STRING): Likewise.
2240 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2241 (UNKNOWN_ENVIRONMENT): Likewise.
2242 (confstr): Include posix-envs.def instead of handling
2243 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2244 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2245 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2246 (END_ENV_GROUP): Likewise.
2247 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2248 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2249 (UNKNOWN_ENVIRONMENT): Likewise.
2250 (__sysconf): Include posix-envs.def instead of handling associated
2251 cases directly here.
2252 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2253 preprocessing getconf-speclist.c rather than running getconf or
2254 generating empty file.
2255
a93f9cbc
PT
22562012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2257
2258 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2259
d64d9f87
AL
22602012-11-16 Andrej Lajovic <natrij@gmail.com>
2261
2262 [BZ #14672]
2263 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2264
447885eb
DM
22652012-11-16 David S. Miller <davem@davemloft.net>
2266
2267 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2268 smaller than LDBL_EPSILON/2.0L, just return xm1.
2269
bcbf9830
L
22702012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2271
2272 * elf/tst-array1.c (init): Set constructor priority to 1000.
2273 (fini): Set destructor priority to 1000.
2274 * elf/tst-array2dep.c: Likewise.
2275
2b766585
SP
22762012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2277
2278 [BZ #11741]
2279 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2280 (_IO_new_file_xsputn): Also return EOF if none of the input
2281 data was written when overflow failed.
2282 * libio/iopadn.c (_IO_padn): Likewise.
2283 * libio/iowpadn.c (_IO_wpadn): Likewise.
2284 * stdio-common/tst-put-error.c: Add copyright notice.
2285 (do_test): Add case for printing padded string.
2286 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2287 _IO_padn returned error.
2288 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2289 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2290 return EOF.
2291
b1848fde
SP
22922012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2293
2294 * libio/libioP.h: Add comment note that the references to C++
2295 bits are now obsolete.
2296
2fd89785
MS
22972012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2298
2299 * math/libm-test.inc (check_complex): Use asprintf.
2300
e3ea5409
JM
23012012-11-14 Joseph Myers <joseph@codesourcery.com>
2302
2303 * debug/pcprofiledump.c (print_version): Update copyright year.
2304 * malloc/memusagestat.c (print_version): Likewise.
2305
2e64d265
L
23062012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2307
2308 [BZ #14831]
2309 * elf/Makefile (tests): Add tst-audit8.
2310 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2311 ($(objpfx)tst-audit8.out): New target.
2312 (tst-audit8-ENV): New variable.
2313 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2314 audit if l_reloc_result is NULL.
2315 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2316 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2317 * elf/tst-audit8.c: New file.
2318
c485e4d2
MS
23192012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2320
2321 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2322 * misc/Makefile (CFLAGS-select.c): Define.
2323 * posix/Makefile (CFLAGS-pause.c): Define.
2324
3a0d900a
DM
23252012-11-13 David S. Miller <davem@davemloft.net>
2326
2327 * crypt/Makefile: Move test targets after toplevel Rules
2328 inclusion. Grab any necessary sysdep routines when linking.
2329 * crypt/md5.c (md5_process_block): Remove define, we will always
2330 name it __md5_process_block.
2331 (md5_finish_ctx): Update md5_process_block call.
2332 (md5_stream): Likewise.
2333 (md5_process_bytes): Likewise.
2334 (md5_process_block): Rename to __md5_process_block and move to ...
2335 * crypt/md5-block.c: ... here.
2336 * crypt/sha256.c (sha256_process_block): Move to ...
2337 * crypt/sha256-block.c: ... here.
2338 * crypt/sha512.c (sha512_process_block): Move to ...
2339 * crypt/sha512-block.c: ... here.
2340 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2341 path.
2342 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2343 * sysdeps/sparc/sparc64/multiarch/Makefile
2344 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2345 crypt subdir.
2346 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2347 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2348 multiarch changes.
2349 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2350 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2351 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2352 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2353 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2354 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2355 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2356 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2357 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2358 file.
2359 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2360 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2361 file.
2362 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2363
8ca89318
JM
23642012-11-13 Joseph Myers <joseph@codesourcery.com>
2365
e27d476a
JM
2366 * timezone/tzselect.ksh: Update from tzcode git revision
2367 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2368 * timezone/zdump.c: Likewise.
2369 * timezone/zic.c: Likewise.
2370 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2371 in TZVERSION setting, not $(PKGVERSION).
2372 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2373 REPORT_BUGS_TO settings.
2374
8ca89318
JM
2375 [BZ #14838]
2376 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2377 macro.
2378
47594329
MS
23792012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2380
2381 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2382 detection to immediately after _FP_ROUND().
2383 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2384 bits are 0.
2385
640ac3f1
DM
23862012-11-11 David S. Miller <davem@davemloft.net>
2387
2388 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2389 inttypes.h
2390 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2391 __close rather than their public counterparts.
2392
3d2577bb
JM
23932012-11-10 Joseph Myers <joseph@codesourcery.com>
2394
2395 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2396 file.
2397 [UNIX98] (sem_timedwait): Do not expect.
2398 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2399 [XPG4 || UNIX98] (sockatmark): Do not expect.
2400 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2401 (clock_getcpuclockid): Do not expect.
2402 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2403 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2404 Do not expect.
2405 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2406 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2407 [UNIX98] (vwscanf): Likewise.
2408 [UNIX98] (vswscanf): Likewise.
2409
fb1ae1ee
JM
24102012-11-09 Joseph Myers <joseph@codesourcery.com>
2411
9ec6f8bd
JM
2412 * timezone/version.h: Remove file.
2413 * timezone/README: Do not refer to version.h.
2414 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2415 $(objpfx)version.h.
2416 ($(objpfx)zdump.o): Likewise.
c3f81911 2417 ($(objpfx)version.h): New target.
9ec6f8bd 2418
0aa8f8a1
JM
2419 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2420 2012i.
2421 * timezone/README: Don't mention modification to tzselect.ksh.
2422 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2423 work on unmodified tzselect.ksh. Substitute version numbers in
2424 tzselect.ksh.
2425
4e87147f
JM
2426 * Makefile (format-me): Remove.
2427 (INSTALL): Adjust indentation. Use commands directly instead of
2428 using $(format-me).
2429
8b748aed
JM
2430 * aclocal.m4 (ACX_PKGVERSION): New macro.
2431 (ACX_BUGURL): Likewise.
2432 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2433 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2434 (REPORT_BUGS_TO): Likewise.
2435 * configure: Regenerated.
2436 * config.h.in (PKGVERSION): New macro.
2437 (REPORT_BUGS_TO): Likewise.
2438 * config.make.in (PKGVERSION): New variable.
2439 (PKGVERSION_TEXI): Likewise.
2440 (REPORT_BUGS_TO): Likewise.
2441 (REPORT_BUGS_TEXI): Likewise.
2442 * Makefile (format-me): Use -I$(common-objpfx)manual.
2443 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2444 ($(common-objpfx)manual/%): New target.
2445 (manual/%): Remove target.
2446 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2447 (print_version): Use PKGVERSION.
2448 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2449 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2450 and REPORT_BUGS_TO.
2451 ($(objpfx)xtrace): Likewise.
2452 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2453 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2454 (print_version): Use PKGVERSION.
2455 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2456 (do_version): Use PKGVERSION.
2457 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2458 REPORT_BUGS_TO.
2459 (common-ldd-rewrite): Likewise.
2460 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2461 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2462 (print_version): Use PKGVERSION.
2463 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2464 * elf/pldd.c (argp_program_bug_address): Remove variable.
2465 (more_help): New function.
2466 (argp): Use more_help.
2467 (print_version): Use PKGVERSION.
2468 * elf/sln.c (main): Use PKGVERSION.
2469 (usage): Use REPORT_BUGS_TO.
2470 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2471 (top level): Use PKGVERSION.
2472 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2473 (print_version): Use PKGVERSION.
2474 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2475 (print_version): Use PKGVERSION.
2476 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2477 (print_version): Use PKGVERSION.
2478 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2479 (print_version): Use PKGVERSION.
2480 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2481 (print_version): Use PKGVERSION.
2482 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2483 (print_version): Use PKGVERSION.
2484 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2485 and BUGURL.
2486 ($(objpfx)memusage): Likewise.
2487 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2488 (do_version): Use PKGVERSION.
2489 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2490 (print_version): Use PKGVERSION.
2491 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2492 ($PKGVERSION): New variable.
2493 ($REPORT_BUGS_TO): Likewise.
2494 (usage): Use $REPORT_BUGS_TO.
2495 (top level): Use $PKGVERSION.
2496 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2497 ($(objpfx)pkgvers.texi): New rule.
2498 ($(objpfx)stamp-pkgvers): Likewise.
2499 * manual/install.texi: Include pkgvers.texi.
2500 (--with-pkgversion): Document new configure option.
2501 (--with-bugurl): Likewise.
2502 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2503 than necessarily for this particular distribution. Use
2504 REPORT_BUGS_TO for where to report bugs.
2505 * INSTALL: Regenerated.
2506 * manual/libc.texinfo: Include pkgvers.texi.
2507 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2508 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2509 (print_version): Use PKGVERSION.
2510 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2511 (print_version): Use PKGVERSION.
2512 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2513 (print_version): Use PKGVERSION.
2514 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2515 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2516 macro.
2517 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2518 (print_version): Use PKGVERSION.
2519 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2520 (print_version): Use PKGVERSION.
2521 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2522 and PKGVERSION.
2523
92e4b6a9
JM
2524 * timezone/checktab.awk: Update from tzcode 2012i.
2525 * timezone/ialloc.c: Likewise.
2526 * timezone/private.h: Likewise.
2527 * timezone/scheck.c: Likewise.
2528 * timezone/tzfile.h: Likewise.
2529 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2530 (TZVERSION): Hardcode tzcode version number.
2531 * timezone/zdump.c: Update from tzcode 2012i.
2532 * timezone/zic.c: Likewise.
2533 * timezone/version.h: New file.
2534 * timezone/README: Describe version.h. Update upstream location.
2535
9bde902c
JM
2536 [BZ #14824]
2537 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2538 (mktemp): Enable declaration.
2539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2541 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2543 Likewise.
2544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2545 Likewise.
2546 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2547 Likewise.
2548 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2549 Likewise.
2550 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2551 Likewise.
2552 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2553 Likewise.
2554
fb1ae1ee
JM
2555 [BZ #14821]
2556 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2557 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2558 for copies of such integer values.
2559 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2560 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2561
2c1adbcb
AJ
25622012-11-09 Andreas Jaeger <aj@suse.de>
2563
2564 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2565 definitions and declarations that are provided by
2566 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2567
d0f8457e
AK
25682012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2569
3a235abb 2570 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2571 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2572 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2573 definition.
2574
57241e26
MS
25752012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2576
2577 * elf/elf.h: Update comment before AArch64 relocations.
2578
60e8270d
DM
25792012-11-07 David S. Miller <davem@davemloft.net>
2580
2581 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2582 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2583 (__start_context): Declare.
2584 (__makecontext_ret): Delete.
2585 (__makecontext): Hook up __start_context instead of
2586 __makecontext_ret.
2587 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2588 (sysdep_routines): Add __start_context when in stdlib.
2589
0fbb0fbc
JM
25902012-11-07 Joseph Myers <joseph@codesourcery.com>
2591
2592 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2593 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2594 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2595 hardcoded "nm".
2596 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2597 (READELF): New variable. Use it instead of hardcoded "readelf".
2598
eb48db7e
L
25992012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2602 * sysdeps/x86/Makefile: Here.
2603 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2604 * sysdeps/x86/tst-xmmymm.sh: This.
2605
05bcf62a
JM
26062012-11-07 Joseph Myers <joseph@codesourcery.com>
2607
c4b6cf53
JM
2608 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2609 expectations.
2610 [UNIX98] (pthread_barrier_t): Do not expect.
2611 [UNIX98] (pthread_barrierattr_t): Likewise.
2612 [UNIX98] (pthread_spinlock_t): Likewise.
2613 [UNIX98] (pthread_barrier_destroy): Likewise.
2614 [UNIX98] (pthread_barrier_init): Likewise.
2615 [UNIX98] (pthread_barrier_wait): Likewise.
2616 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2617 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2618 [UNIX98] (pthread_barrierattr_init): Likewise.
2619 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2620 [UNIX98] (pthread_getcpuclockid): Likewise.
2621 [UNIX98] (pthread_mutex_timedlock): Likewise.
2622 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2623 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2624 [UNIX98] (pthread_sigmask): Likewise.
2625 [UNIX98] (pthread_spin_destroy): Likewise.
2626 [UNIX98] (pthread_spin_init): Likewise.
2627 [UNIX98] (pthread_spin_lock): Likewise.
2628 [UNIX98] (pthread_spin_trylock): Likewise.
2629 [UNIX98] (pthread_spin_unlock): Likewise.
2630 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2631 Do not expect.
2632 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2633 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2634 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2635 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2636 [XPG3 || XPG4] (pthread_key_t): Likewise.
2637 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2638 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2639 [XPG3 || XPG4] (pthread_once_t): Likewise.
2640 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2641 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2642 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2643 [XPG3 || XPG4] (pthread_t): Likewise.
2644
cbe6e120
JM
2645 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2646 not expect.
2647 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2648
1b126443
JM
2649 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2650 Change function return type to int.
2651
b961a573
JM
2652 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2653 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2654 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2655 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2656 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2657 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2658 [!POSIX] (posix_madvise): Likewise.
2659 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2660 && !UNIX98].
2661 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2662 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2663 (mode_t): Likewise.
2664 (posix_mem_offset): Likewise.
2665 (posix_typed_mem_get_info): Likewise.
2666 (posix_typed_mem_open): Likewise.
2667
9e188909
JM
2668 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2669 Change condition to [XOPEN2K8].
2670
05bcf62a
JM
2671 * conform/conformtest.pl: Preprocess allow-header data with -x c
2672 instead of from stdin.
2673 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2674 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2675 [C99-based standards] (cerfc): Likewise.
2676 [C99-based standards] (cexp2): Likewise.
2677 [C99-based standards] (cexpm1): Likewise.
2678 [C99-based standards] (clog10): Likewise.
2679 [C99-based standards] (clog1p): Likewise.
2680 [C99-based standards] (clog2): Likewise.
2681 [C99-based standards] (clgamma): Likewise.
2682 [C99-based standards] (ctgamma): Likewise.
2683 [C99-based standards] (cerff): Likewise.
2684 [C99-based standards] (cerfcf): Likewise.
2685 [C99-based standards] (cexp2f): Likewise.
2686 [C99-based standards] (cexpm1f): Likewise.
2687 [C99-based standards] (clog10f): Likewise.
2688 [C99-based standards] (clog1pf): Likewise.
2689 [C99-based standards] (clog2f): Likewise.
2690 [C99-based standards] (clgammaf): Likewise.
2691 [C99-based standards] (ctgammaf): Likewise.
2692 [C99-based standards] (cerfl): Likewise.
2693 [C99-based standards] (cerfcl): Likewise.
2694 [C99-based standards] (cexp2l): Likewise.
2695 [C99-based standards] (cexpm1l): Likewise.
2696 [C99-based standards] (clog10l): Likewise.
2697 [C99-based standards] (clog1pl): Likewise.
2698 [C99-based standards] (clog2l): Likewise.
2699 [C99-based standards] (clgammal): Likewise.
2700 [C99-based standards] (ctgammal): Likewise.
2701 * conform/data/inttypes.h-data [C99-based standards]: Include
2702 stdint.h-data. Remove all expectations for stdint.h contents.
2703 [C99-based standards] (PRI*): Do not allow.
2704 [C99-based standards] (SCN*): Likewise.
2705 [C99-based standards] (*_t): Likewise.
2706 [C99-based-standards] (PRId8): Expect macro.
2707 [C99-based-standards] (PRIi8): Likewise.
2708 [C99-based-standards] (PRIo8): Likewise.
2709 [C99-based-standards] (PRIu8): Likewise.
2710 [C99-based-standards] (PRIx8): Likewise.
2711 [C99-based-standards] (PRIX8): Likewise.
2712 [C99-based-standards] (SCNd8): Likewise.
2713 [C99-based-standards] (SCNi8): Likewise.
2714 [C99-based-standards] (SCNo8): Likewise.
2715 [C99-based-standards] (SCNu8): Likewise.
2716 [C99-based-standards] (SCNx8): Likewise.
2717 [C99-based-standards] (PRIdLEAST8): Likewise.
2718 [C99-based-standards] (PRIiLEAST8): Likewise.
2719 [C99-based-standards] (PRIoLEAST8): Likewise.
2720 [C99-based-standards] (PRIuLEAST8): Likewise.
2721 [C99-based-standards] (PRIxLEAST8): Likewise.
2722 [C99-based-standards] (PRIXLEAST8): Likewise.
2723 [C99-based-standards] (SCNdLEAST8): Likewise.
2724 [C99-based-standards] (SCNiLEAST8): Likewise.
2725 [C99-based-standards] (SCNoLEAST8): Likewise.
2726 [C99-based-standards] (SCNuLEAST8): Likewise.
2727 [C99-based-standards] (SCNxLEAST8): Likewise.
2728 [C99-based-standards] (PRIdFAST8): Likewise.
2729 [C99-based-standards] (PRIiFAST8): Likewise.
2730 [C99-based-standards] (PRIoFAST8): Likewise.
2731 [C99-based-standards] (PRIuFAST8): Likewise.
2732 [C99-based-standards] (PRIxFAST8): Likewise.
2733 [C99-based-standards] (PRIXFAST8): Likewise.
2734 [C99-based-standards] (SCNdFAST8): Likewise.
2735 [C99-based-standards] (SCNiFAST8): Likewise.
2736 [C99-based-standards] (SCNoFAST8): Likewise.
2737 [C99-based-standards] (SCNuFAST8): Likewise.
2738 [C99-based-standards] (SCNxFAST8): Likewise.
2739 [C99-based-standards] (PRId16): Likewise.
2740 [C99-based-standards] (PRIi16): Likewise.
2741 [C99-based-standards] (PRIo16): Likewise.
2742 [C99-based-standards] (PRIu16): Likewise.
2743 [C99-based-standards] (PRIx16): Likewise.
2744 [C99-based-standards] (PRIX16): Likewise.
2745 [C99-based-standards] (SCNd16): Likewise.
2746 [C99-based-standards] (SCNi16): Likewise.
2747 [C99-based-standards] (SCNo16): Likewise.
2748 [C99-based-standards] (SCNu16): Likewise.
2749 [C99-based-standards] (SCNx16): Likewise.
2750 [C99-based-standards] (PRIdLEAST16): Likewise.
2751 [C99-based-standards] (PRIiLEAST16): Likewise.
2752 [C99-based-standards] (PRIoLEAST16): Likewise.
2753 [C99-based-standards] (PRIuLEAST16): Likewise.
2754 [C99-based-standards] (PRIxLEAST16): Likewise.
2755 [C99-based-standards] (PRIXLEAST16): Likewise.
2756 [C99-based-standards] (SCNdLEAST16): Likewise.
2757 [C99-based-standards] (SCNiLEAST16): Likewise.
2758 [C99-based-standards] (SCNoLEAST16): Likewise.
2759 [C99-based-standards] (SCNuLEAST16): Likewise.
2760 [C99-based-standards] (SCNxLEAST16): Likewise.
2761 [C99-based-standards] (PRIdFAST16): Likewise.
2762 [C99-based-standards] (PRIiFAST16): Likewise.
2763 [C99-based-standards] (PRIoFAST16): Likewise.
2764 [C99-based-standards] (PRIuFAST16): Likewise.
2765 [C99-based-standards] (PRIxFAST16): Likewise.
2766 [C99-based-standards] (PRIXFAST16): Likewise.
2767 [C99-based-standards] (SCNdFAST16): Likewise.
2768 [C99-based-standards] (SCNiFAST16): Likewise.
2769 [C99-based-standards] (SCNoFAST16): Likewise.
2770 [C99-based-standards] (SCNuFAST16): Likewise.
2771 [C99-based-standards] (SCNxFAST16): Likewise.
2772 [C99-based-standards] (PRId32): Likewise.
2773 [C99-based-standards] (PRIi32): Likewise.
2774 [C99-based-standards] (PRIo32): Likewise.
2775 [C99-based-standards] (PRIu32): Likewise.
2776 [C99-based-standards] (PRIx32): Likewise.
2777 [C99-based-standards] (PRIX32): Likewise.
2778 [C99-based-standards] (SCNd32): Likewise.
2779 [C99-based-standards] (SCNi32): Likewise.
2780 [C99-based-standards] (SCNo32): Likewise.
2781 [C99-based-standards] (SCNu32): Likewise.
2782 [C99-based-standards] (SCNx32): Likewise.
2783 [C99-based-standards] (PRIdLEAST32): Likewise.
2784 [C99-based-standards] (PRIiLEAST32): Likewise.
2785 [C99-based-standards] (PRIoLEAST32): Likewise.
2786 [C99-based-standards] (PRIuLEAST32): Likewise.
2787 [C99-based-standards] (PRIxLEAST32): Likewise.
2788 [C99-based-standards] (PRIXLEAST32): Likewise.
2789 [C99-based-standards] (SCNdLEAST32): Likewise.
2790 [C99-based-standards] (SCNiLEAST32): Likewise.
2791 [C99-based-standards] (SCNoLEAST32): Likewise.
2792 [C99-based-standards] (SCNuLEAST32): Likewise.
2793 [C99-based-standards] (SCNxLEAST32): Likewise.
2794 [C99-based-standards] (PRIdFAST32): Likewise.
2795 [C99-based-standards] (PRIiFAST32): Likewise.
2796 [C99-based-standards] (PRIoFAST32): Likewise.
2797 [C99-based-standards] (PRIuFAST32): Likewise.
2798 [C99-based-standards] (PRIxFAST32): Likewise.
2799 [C99-based-standards] (PRIXFAST32): Likewise.
2800 [C99-based-standards] (SCNdFAST32): Likewise.
2801 [C99-based-standards] (SCNiFAST32): Likewise.
2802 [C99-based-standards] (SCNoFAST32): Likewise.
2803 [C99-based-standards] (SCNuFAST32): Likewise.
2804 [C99-based-standards] (SCNxFAST32): Likewise.
2805 [C99-based-standards] (PRId64): Likewise.
2806 [C99-based-standards] (PRIi64): Likewise.
2807 [C99-based-standards] (PRIo64): Likewise.
2808 [C99-based-standards] (PRIu64): Likewise.
2809 [C99-based-standards] (PRIx64): Likewise.
2810 [C99-based-standards] (PRIX64): Likewise.
2811 [C99-based-standards] (SCNd64): Likewise.
2812 [C99-based-standards] (SCNi64): Likewise.
2813 [C99-based-standards] (SCNo64): Likewise.
2814 [C99-based-standards] (SCNu64): Likewise.
2815 [C99-based-standards] (SCNx64): Likewise.
2816 [C99-based-standards] (PRIdLEAST64): Likewise.
2817 [C99-based-standards] (PRIiLEAST64): Likewise.
2818 [C99-based-standards] (PRIoLEAST64): Likewise.
2819 [C99-based-standards] (PRIuLEAST64): Likewise.
2820 [C99-based-standards] (PRIxLEAST64): Likewise.
2821 [C99-based-standards] (PRIXLEAST64): Likewise.
2822 [C99-based-standards] (SCNdLEAST64): Likewise.
2823 [C99-based-standards] (SCNiLEAST64): Likewise.
2824 [C99-based-standards] (SCNoLEAST64): Likewise.
2825 [C99-based-standards] (SCNuLEAST64): Likewise.
2826 [C99-based-standards] (SCNxLEAST64): Likewise.
2827 [C99-based-standards] (PRIdFAST64): Likewise.
2828 [C99-based-standards] (PRIiFAST64): Likewise.
2829 [C99-based-standards] (PRIoFAST64): Likewise.
2830 [C99-based-standards] (PRIuFAST64): Likewise.
2831 [C99-based-standards] (PRIxFAST64): Likewise.
2832 [C99-based-standards] (PRIXFAST64): Likewise.
2833 [C99-based-standards] (SCNdFAST64): Likewise.
2834 [C99-based-standards] (SCNiFAST64): Likewise.
2835 [C99-based-standards] (SCNoFAST64): Likewise.
2836 [C99-based-standards] (SCNuFAST64): Likewise.
2837 [C99-based-standards] (SCNxFAST64): Likewise.
2838 [C99-based-standards] (PRIdMAX): Likewise.
2839 [C99-based-standards] (PRIiMAX): Likewise.
2840 [C99-based-standards] (PRIoMAX): Likewise.
2841 [C99-based-standards] (PRIuMAX): Likewise.
2842 [C99-based-standards] (PRIxMAX): Likewise.
2843 [C99-based-standards] (PRIXMAX): Likewise.
2844 [C99-based-standards] (SCNdMAX): Likewise.
2845 [C99-based-standards] (SCNiMAX): Likewise.
2846 [C99-based-standards] (SCNoMAX): Likewise.
2847 [C99-based-standards] (SCNuMAX): Likewise.
2848 [C99-based-standards] (SCNxMAX): Likewise.
2849 [C99-based-standards] (PRIdPTR): Likewise.
2850 [C99-based-standards] (PRIiPTR): Likewise.
2851 [C99-based-standards] (PRIoPTR): Likewise.
2852 [C99-based-standards] (PRIuPTR): Likewise.
2853 [C99-based-standards] (PRIxPTR): Likewise.
2854 [C99-based-standards] (PRIXPTR): Likewise.
2855 [C99-based-standards] (SCNdPTR): Likewise.
2856 [C99-based-standards] (SCNiPTR): Likewise.
2857 [C99-based-standards] (SCNoPTR): Likewise.
2858 [C99-based-standards] (SCNuPTR): Likewise.
2859 [C99-based-standards] (SCNxPTR): Likewise.
2860 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2861 allow.
2862 * conform/data/stdint.h-data: Update comments to clarify
2863 requirements.
2864 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2865 type.
2866 [C99-based standards] (INT8_MAX): Likewise.
2867 [C99-based standards] (INT16_MIN): Likewise.
2868 [C99-based standards] (INT16_MAX): Likewise.
2869 [C99-based standards] (INT32_MIN): Likewise.
2870 [C99-based standards] (INT32_MAX): Likewise.
2871 [C99-based standards] (INT64_MIN): Likewise.
2872 [C99-based standards] (INT64_MAX): Likewise.
2873 [C99-based standards] (UINT8_MAX): Likewise.
2874 [C99-based standards] (UINT16_MAX): Likewise.
2875 [C99-based standards] (UINT32_MAX): Likewise.
2876 [C99-based standards] (UINT64_MAX): Likewise.
2877 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2878 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2879 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2880 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2881 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2882 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2883 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2884 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2885 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2886 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2887 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2888 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2889 [C99-based standards] (INT_FAST8_MIN): Likewise.
2890 [C99-based standards] (INT_FAST8_MAX): Likewise.
2891 [C99-based standards] (INT_FAST16_MIN): Likewise.
2892 [C99-based standards] (INT_FAST16_MAX): Likewise.
2893 [C99-based standards] (INT_FAST32_MIN): Likewise.
2894 [C99-based standards] (INT_FAST32_MAX): Likewise.
2895 [C99-based standards] (INT_FAST64_MIN): Likewise.
2896 [C99-based standards] (INT_FAST64_MAX): Likewise.
2897 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2898 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2899 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2900 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2901 [C99-based standards] (INTPTR_MIN): Likewise.
2902 [C99-based standards] (INTPTR_MAX): Likewise.
2903 [C99-based standards] (UINTPTR_MAX): Likewise.
2904 [C99-based standards] (INTMAX_MIN): Likewise.
2905 [C99-based standards] (INTMAX_MAX): Likewise.
2906 [C99-based standards] (UINTMAX_MAX): Likewise.
2907 [C99-based standards] (PTRDIFF_MIN): Likewise.
2908 [C99-based standards] (PTRDIFF_MAX): Likewise.
2909 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2910 [C99-based standards] (SIZE_MAX): Likewise.
2911 [C99-based standards] (WCHAR_MAX): Likewise.
2912 [C99-based standards] (WINT_MAX): Likewise.
2913 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2914 constraint on value.
2915 [C99-based standards] (WCHAR_MIN): Likewise.
2916 [C99-based standards] (WINT_MIN): Likewise.
2917 [C99-based standards] (*_t): Allow.
2918 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2919 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2920 Include math.h-data and complex.h-data. Remove all expectations
2921 of math.h and complex.h contents.
2922 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2923 at end of line.
2924 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2925 (struct tm): Expect tag.
2926 [C99-based-standards] (wcstof): Expect function.
2927 [C99-based-standards] (wcstold): Likewise.
2928 [C99-based-standards] (wcstoll): Likewise.
2929 [C99-based-standards] (wcstoull): Likewise.
2930 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2931 macro-int-constant. Specify type.
2932 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2933 constraint on value.
2934 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2935 Specify type.
2936 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2937 Specify value.
2938 [ISO C standards]: Do not allow headers.
2939 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2940 wcs[abcdefghijklmnopqrstuvwxyz]*.
2941 [ISO C standards] (*_t): Do not allow.
2942 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2943 Expect function.
2944 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2945 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2946 Specify type.
2947 [ISO C standards]: Do not allow headers.
2948 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2949 is[abcdefghijklmnopqrstuvwxyz]*.
2950 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2951 to[abcdefghijklmnopqrstuvwxyz]*.
2952 [ISO C standards] (*_t): Do not allow.
2953 * conform/data/stdalign.h-data: New file.
2954 * conform/data/stdbool.h-data: Likewise.
2955 * conform/data/stdnoreturn.h-data: Likewise.
2956
7514feb8
RM
29572012-11-07 Roland McGrath <roland@hack.frob.com>
2958
2959 [BZ #14815]
2960 * manual/filesys.texi (Directory Entries): Typo fix.
2961 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2962
19b2ecfc
MS
29632012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2964
2965 * elf/elf.h (EM_AARCH64): New macro.
2966 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2967 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2968 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2969 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2970 (R_AARCH64_TLSDESC): Likewise.
2971 (NT_ARM_TLS): Likewise.
2972 (NT_ARM_HW_BREAK): Likewise.
2973 (NT_ARM_HW_WATCH): Likewise.
2974
60e235ee
JM
29752012-11-07 Joseph Myers <joseph@codesourcery.com>
2976
2977 [BZ #14811]
2978 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2979 (__ieee754_powl): Saturate nonzero exponents with absolute value
2980 below 0x1p-79 to +/- 0x1p-79.
2981 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2982 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2983 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2984 nonzero exponents with absolute value below 0x1p-32 to +/-
2985 0x1p-32.
2986 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2987 (__ieee754_powl): Saturate nonzero exponents with absolute value
2988 below 0x1p-79 to +/- 0x1p-79.
2989 * math/libm-test.inc (pow_test): Add more tests.
2990
0ab234b7
AK
29912012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2992
2993 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2994 _dl_s390_cap_flags with kernel. Increase string length.
2995 (_dl_s390_platforms): Add z196 and zEC12.
2996
45832f74
JM
29972012-11-07 Joseph Myers <joseph@codesourcery.com>
2998
2999 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
3000 Change XOPEN21K to XOPEN2K.
3001
19218757
MK
30022012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
3003
3004 * string/memmove.c: Use memcpy when possible.
3005
c5f45721
AJ
30062012-11-06 Andreas Jaeger <aj@suse.de>
3007
3008 * po/eo.po: Update from translation team.
3009
82477c28
JM
30102012-11-06 Joseph Myers <joseph@codesourcery.com>
3011
3012 [BZ #14793]
3013 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
3014 exponent and small x and y exponents, scale x or y up. Increase
3015 by 2 the exponent used in scaling up.
3016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3017 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3018 * math/libm-test.inc (fma_test): Add more tests.
3019 (fma_test_towardzero): Likewise.
3020 (fma_test_downward): Likewise.
3021 (fma_test_upward): Likewise.
3022
99252c8c
JM
30232012-11-05 Joseph Myers <joseph@codesourcery.com>
3024
acfa885f
JM
3025 [BZ #14805]
3026 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
3027 fenv_t *.
3028
99252c8c
JM
3029 [BZ #14801]
3030 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
3031 namespace for names of struct fields.
3032 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
3033 fenv_t fields.
3034 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3035 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
3036
d6d98dea
ST
30372012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3038
3039 [BZ #3665]
3040 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
3041
e10bb107
TS
30422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3043
3044 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
3045 PTR_DEMANGLE.
3046
3047 [BZ #5246]
3048 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
3049 PTR_DEMANGLE.
3050
a0c2940d
JM
30512012-11-04 Joseph Myers <joseph@codesourcery.com>
3052
3053 [BZ #14797]
3054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
3055 definitely overflow as x * y not x * y + z.
3056 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3058 * math/libm-test.inc (fma_test): Add more tests.
3059 (fma_test_towardzero): Likewise.
3060 (fma_test_downward): Likewise.
3061 (fma_test_upward): Likewise.
3062
b830319d
TS
30632012-11-04 Thomas Schwinge <thomas@codesourcery.com>
3064
3065 [BZ #157]
3066
3067 * include/stub-tag.h: Remove file.
3068 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
3069 '#include' of it.
3070 * manual/maint.texi (Porting): Don't reference it.
3071 * Makerules ($(objpfx)stubs): Likewise.
3072 * dirent/closedir.c: Don't include <stub-tag.h>.
3073 * dirent/dirfd.c: Likewise.
3074 * dirent/fdopendir.c: Likewise.
3075 * dirent/getdents.c: Likewise.
3076 * dirent/getdents64.c: Likewise.
3077 * dirent/opendir.c: Likewise.
3078 * dirent/readdir.c: Likewise.
3079 * dirent/readdir64.c: Likewise.
3080 * dirent/readdir64_r.c: Likewise.
3081 * dirent/readdir_r.c: Likewise.
3082 * dirent/rewinddir.c: Likewise.
3083 * dirent/seekdir.c: Likewise.
3084 * dirent/telldir.c: Likewise.
3085 * gmon/profil.c: Likewise.
3086 * grp/setgroups.c: Likewise.
3087 * inet/if_index.c: Likewise.
3088 * io/access.c: Likewise.
3089 * io/chdir.c: Likewise.
3090 * io/chmod.c: Likewise.
3091 * io/chown.c: Likewise.
3092 * io/close.c: Likewise.
3093 * io/dup.c: Likewise.
3094 * io/dup2.c: Likewise.
3095 * io/dup3.c: Likewise.
3096 * io/euidaccess.c: Likewise.
3097 * io/faccessat.c: Likewise.
3098 * io/fchdir.c: Likewise.
3099 * io/fchmod.c: Likewise.
3100 * io/fchmodat.c: Likewise.
3101 * io/fchown.c: Likewise.
3102 * io/fchownat.c: Likewise.
3103 * io/fcntl.c: Likewise.
3104 * io/flock.c: Likewise.
3105 * io/fstatfs.c: Likewise.
3106 * io/fstatfs64.c: Likewise.
3107 * io/fstatvfs.c: Likewise.
3108 * io/fstatvfs64.c: Likewise.
3109 * io/futimens.c: Likewise.
3110 * io/fxstat.c: Likewise.
3111 * io/fxstat64.c: Likewise.
3112 * io/fxstatat.c: Likewise.
3113 * io/fxstatat64.c: Likewise.
3114 * io/getcwd.c: Likewise.
3115 * io/isatty.c: Likewise.
3116 * io/lchmod.c: Likewise.
3117 * io/lchown.c: Likewise.
3118 * io/link.c: Likewise.
3119 * io/linkat.c: Likewise.
3120 * io/lseek.c: Likewise.
3121 * io/lseek64.c: Likewise.
3122 * io/lxstat64.c: Likewise.
3123 * io/mkdir.c: Likewise.
3124 * io/mkdirat.c: Likewise.
3125 * io/mkfifo.c: Likewise.
3126 * io/mkfifoat.c: Likewise.
3127 * io/open.c: Likewise.
3128 * io/open64.c: Likewise.
3129 * io/openat.c: Likewise.
3130 * io/openat64.c: Likewise.
3131 * io/pipe.c: Likewise.
3132 * io/pipe2.c: Likewise.
3133 * io/poll.c: Likewise.
3134 * io/posix_fadvise.c: Likewise.
3135 * io/posix_fadvise64.c: Likewise.
3136 * io/posix_fallocate.c: Likewise.
3137 * io/posix_fallocate64.c: Likewise.
3138 * io/read.c: Likewise.
3139 * io/readlink.c: Likewise.
3140 * io/readlinkat.c: Likewise.
3141 * io/rmdir.c: Likewise.
3142 * io/sendfile.c: Likewise.
3143 * io/sendfile64.c: Likewise.
3144 * io/statfs.c: Likewise.
3145 * io/statfs64.c: Likewise.
3146 * io/statvfs.c: Likewise.
3147 * io/statvfs64.c: Likewise.
3148 * io/symlink.c: Likewise.
3149 * io/symlinkat.c: Likewise.
3150 * io/ttyname.c: Likewise.
3151 * io/ttyname_r.c: Likewise.
3152 * io/umask.c: Likewise.
3153 * io/unlink.c: Likewise.
3154 * io/unlinkat.c: Likewise.
3155 * io/utime.c: Likewise.
3156 * io/utimensat.c: Likewise.
3157 * io/write.c: Likewise.
3158 * io/xmknod.c: Likewise.
3159 * io/xmknodat.c: Likewise.
3160 * io/xstat.c: Likewise.
3161 * io/xstat64.c: Likewise.
3162 * login/getpt.c: Likewise.
3163 * login/grantpt.c: Likewise.
3164 * login/unlockpt.c: Likewise.
3165 * math/e_acoshl.c: Likewise.
3166 * math/e_acosl.c: Likewise.
3167 * math/e_asinl.c: Likewise.
3168 * math/e_atan2l.c: Likewise.
3169 * math/e_atanhl.c: Likewise.
3170 * math/e_coshl.c: Likewise.
3171 * math/e_expl.c: Likewise.
3172 * math/e_fmodl.c: Likewise.
3173 * math/e_gammal_r.c: Likewise.
3174 * math/e_hypotl.c: Likewise.
3175 * math/e_j0l.c: Likewise.
3176 * math/e_j1l.c: Likewise.
3177 * math/e_jnl.c: Likewise.
3178 * math/e_lgammal_r.c: Likewise.
3179 * math/e_log10l.c: Likewise.
3180 * math/e_log2l.c: Likewise.
3181 * math/e_logl.c: Likewise.
3182 * math/e_powl.c: Likewise.
3183 * math/e_rem_pio2l.c: Likewise.
3184 * math/e_sinhl.c: Likewise.
3185 * math/e_sqrtl.c: Likewise.
3186 * math/fclrexcpt.c: Likewise.
3187 * math/fedisblxcpt.c: Likewise.
3188 * math/feenablxcpt.c: Likewise.
3189 * math/fegetenv.c: Likewise.
3190 * math/fegetexcept.c: Likewise.
3191 * math/fegetround.c: Likewise.
3192 * math/feholdexcpt.c: Likewise.
3193 * math/fesetenv.c: Likewise.
3194 * math/fesetround.c: Likewise.
3195 * math/feupdateenv.c: Likewise.
3196 * math/fgetexcptflg.c: Likewise.
3197 * math/fraiseexcpt.c: Likewise.
3198 * math/fsetexcptflg.c: Likewise.
3199 * math/ftestexcept.c: Likewise.
3200 * math/k_cosl.c: Likewise.
3201 * math/k_rem_pio2l.c: Likewise.
3202 * math/k_sinl.c: Likewise.
3203 * math/k_tanl.c: Likewise.
3204 * math/s_asinhl.c: Likewise.
3205 * math/s_atanl.c: Likewise.
3206 * math/s_cbrtl.c: Likewise.
3207 * math/s_erfl.c: Likewise.
3208 * math/s_expm1l.c: Likewise.
3209 * math/s_log1pl.c: Likewise.
3210 * math/s_tanhl.c: Likewise.
3211 * misc/acct.c: Likewise.
3212 * misc/brk.c: Likewise.
3213 * misc/chflags.c: Likewise.
3214 * misc/chroot.c: Likewise.
3215 * misc/fchflags.c: Likewise.
3216 * misc/fgetxattr.c: Likewise.
3217 * misc/flistxattr.c: Likewise.
3218 * misc/fremovexattr.c: Likewise.
3219 * misc/fsetxattr.c: Likewise.
3220 * misc/fsync.c: Likewise.
3221 * misc/ftruncate.c: Likewise.
3222 * misc/futimes.c: Likewise.
3223 * misc/futimesat.c: Likewise.
3224 * misc/getdomain.c: Likewise.
3225 * misc/getdtsz.c: Likewise.
3226 * misc/gethostid.c: Likewise.
3227 * misc/gethostname.c: Likewise.
3228 * misc/getloadavg.c: Likewise.
3229 * misc/getpagesize.c: Likewise.
3230 * misc/getsysstats.c: Likewise.
3231 * misc/getxattr.c: Likewise.
3232 * misc/gtty.c: Likewise.
3233 * misc/ioctl.c: Likewise.
3234 * misc/lgetxattr.c: Likewise.
3235 * misc/listxattr.c: Likewise.
3236 * misc/llistxattr.c: Likewise.
3237 * misc/lremovexattr.c: Likewise.
3238 * misc/lsetxattr.c: Likewise.
3239 * misc/lutimes.c: Likewise.
3240 * misc/madvise.c: Likewise.
3241 * misc/mincore.c: Likewise.
3242 * misc/mlock.c: Likewise.
3243 * misc/mlockall.c: Likewise.
3244 * misc/mmap.c: Likewise.
3245 * misc/mprotect.c: Likewise.
3246 * misc/msync.c: Likewise.
3247 * misc/munlock.c: Likewise.
3248 * misc/munlockall.c: Likewise.
3249 * misc/munmap.c: Likewise.
3250 * misc/preadv.c: Likewise.
3251 * misc/preadv64.c: Likewise.
3252 * misc/ptrace.c: Likewise.
3253 * misc/pwritev.c: Likewise.
3254 * misc/pwritev64.c: Likewise.
3255 * misc/readv.c: Likewise.
3256 * misc/reboot.c: Likewise.
3257 * misc/remap_file_pages.c: Likewise.
3258 * misc/removexattr.c: Likewise.
3259 * misc/revoke.c: Likewise.
3260 * misc/select.c: Likewise.
3261 * misc/setdomain.c: Likewise.
3262 * misc/setegid.c: Likewise.
3263 * misc/seteuid.c: Likewise.
3264 * misc/sethostid.c: Likewise.
3265 * misc/sethostname.c: Likewise.
3266 * misc/setregid.c: Likewise.
3267 * misc/setreuid.c: Likewise.
3268 * misc/setxattr.c: Likewise.
3269 * misc/sstk.c: Likewise.
3270 * misc/stty.c: Likewise.
3271 * misc/swapoff.c: Likewise.
3272 * misc/swapon.c: Likewise.
3273 * misc/sync.c: Likewise.
3274 * misc/syncfs.c: Likewise.
3275 * misc/syscall.c: Likewise.
3276 * misc/truncate.c: Likewise.
3277 * misc/ualarm.c: Likewise.
3278 * misc/usleep.c: Likewise.
3279 * misc/ustat.c: Likewise.
3280 * misc/utimes.c: Likewise.
3281 * misc/vhangup.c: Likewise.
3282 * misc/writev.c: Likewise.
3283 * posix/_exit.c: Likewise.
3284 * posix/alarm.c: Likewise.
3285 * posix/execve.c: Likewise.
3286 * posix/fexecve.c: Likewise.
3287 * posix/fork.c: Likewise.
3288 * posix/fpathconf.c: Likewise.
3289 * posix/getaddrinfo.c: Likewise.
3290 * posix/getegid.c: Likewise.
3291 * posix/geteuid.c: Likewise.
3292 * posix/getgid.c: Likewise.
3293 * posix/getgroups.c: Likewise.
3294 * posix/getlogin.c: Likewise.
3295 * posix/getlogin_r.c: Likewise.
3296 * posix/getpgid.c: Likewise.
3297 * posix/getpid.c: Likewise.
3298 * posix/getppid.c: Likewise.
3299 * posix/getresgid.c: Likewise.
3300 * posix/getresuid.c: Likewise.
3301 * posix/getsid.c: Likewise.
3302 * posix/getuid.c: Likewise.
3303 * posix/glob64.c: Likewise.
3304 * posix/nanosleep.c: Likewise.
3305 * posix/pathconf.c: Likewise.
3306 * posix/pause.c: Likewise.
3307 * posix/posix_madvise.c: Likewise.
3308 * posix/pread.c: Likewise.
3309 * posix/pread64.c: Likewise.
3310 * posix/pwrite.c: Likewise.
3311 * posix/pwrite64.c: Likewise.
3312 * posix/sched_getaffinity.c: Likewise.
3313 * posix/sched_getp.c: Likewise.
3314 * posix/sched_gets.c: Likewise.
3315 * posix/sched_primax.c: Likewise.
3316 * posix/sched_primin.c: Likewise.
3317 * posix/sched_rr_gi.c: Likewise.
3318 * posix/sched_setaffinity.c: Likewise.
3319 * posix/sched_setp.c: Likewise.
3320 * posix/sched_sets.c: Likewise.
3321 * posix/sched_yield.c: Likewise.
3322 * posix/setgid.c: Likewise.
3323 * posix/setlogin.c: Likewise.
3324 * posix/setpgid.c: Likewise.
3325 * posix/setresgid.c: Likewise.
3326 * posix/setresuid.c: Likewise.
3327 * posix/setsid.c: Likewise.
3328 * posix/setuid.c: Likewise.
3329 * posix/sleep.c: Likewise.
3330 * posix/spawni.c: Likewise.
3331 * posix/sysconf.c: Likewise.
3332 * posix/times.c: Likewise.
3333 * posix/wait.c: Likewise.
3334 * posix/wait3.c: Likewise.
3335 * posix/wait4.c: Likewise.
3336 * posix/waitpid.c: Likewise.
3337 * resolv/gai_sigqueue.c: Likewise.
3338 * resource/getpriority.c: Likewise.
3339 * resource/getrlimit.c: Likewise.
3340 * resource/getrusage.c: Likewise.
3341 * resource/nice.c: Likewise.
3342 * resource/setpriority.c: Likewise.
3343 * resource/setrlimit.c: Likewise.
3344 * resource/ulimit.c: Likewise.
3345 * rt/aio_cancel.c: Likewise.
3346 * rt/aio_fsync.c: Likewise.
3347 * rt/aio_read.c: Likewise.
3348 * rt/aio_sigqueue.c: Likewise.
3349 * rt/aio_suspend.c: Likewise.
3350 * rt/aio_write.c: Likewise.
3351 * rt/clock_getres.c: Likewise.
3352 * rt/clock_gettime.c: Likewise.
3353 * rt/clock_nanosleep.c: Likewise.
3354 * rt/clock_settime.c: Likewise.
3355 * rt/lio_listio.c: Likewise.
3356 * rt/mq_close.c: Likewise.
3357 * rt/mq_getattr.c: Likewise.
3358 * rt/mq_notify.c: Likewise.
3359 * rt/mq_open.c: Likewise.
3360 * rt/mq_receive.c: Likewise.
3361 * rt/mq_send.c: Likewise.
3362 * rt/mq_setattr.c: Likewise.
3363 * rt/mq_timedreceive.c: Likewise.
3364 * rt/mq_timedsend.c: Likewise.
3365 * rt/mq_unlink.c: Likewise.
3366 * rt/shm_open.c: Likewise.
3367 * rt/shm_unlink.c: Likewise.
3368 * rt/timer_create.c: Likewise.
3369 * rt/timer_delete.c: Likewise.
3370 * rt/timer_getoverr.c: Likewise.
3371 * rt/timer_gettime.c: Likewise.
3372 * rt/timer_settime.c: Likewise.
3373 * setjmp/__longjmp.c: Likewise.
3374 * setjmp/setjmp.c: Likewise.
3375 * signal/kill.c: Likewise.
3376 * signal/killpg.c: Likewise.
3377 * signal/raise.c: Likewise.
3378 * signal/sigaction.c: Likewise.
3379 * signal/sigaltstack.c: Likewise.
3380 * signal/sigblock.c: Likewise.
3381 * signal/sigignore.c: Likewise.
3382 * signal/sigintr.c: Likewise.
3383 * signal/signal.c: Likewise.
3384 * signal/sigpause.c: Likewise.
3385 * signal/sigpending.c: Likewise.
3386 * signal/sigqueue.c: Likewise.
3387 * signal/sigreturn.c: Likewise.
3388 * signal/sigset.c: Likewise.
3389 * signal/sigsetmask.c: Likewise.
3390 * signal/sigstack.c: Likewise.
3391 * signal/sigsuspend.c: Likewise.
3392 * signal/sigtimedwait.c: Likewise.
3393 * signal/sigvec.c: Likewise.
3394 * signal/sigwait.c: Likewise.
3395 * signal/sigwaitinfo.c: Likewise.
3396 * signal/sysv_signal.c: Likewise.
3397 * socket/accept.c: Likewise.
3398 * socket/accept4.c: Likewise.
3399 * socket/bind.c: Likewise.
3400 * socket/connect.c: Likewise.
3401 * socket/getpeername.c: Likewise.
3402 * socket/getsockname.c: Likewise.
3403 * socket/getsockopt.c: Likewise.
3404 * socket/isfdtype.c: Likewise.
3405 * socket/listen.c: Likewise.
3406 * socket/recv.c: Likewise.
3407 * socket/recvfrom.c: Likewise.
3408 * socket/recvmsg.c: Likewise.
3409 * socket/send.c: Likewise.
3410 * socket/sendmsg.c: Likewise.
3411 * socket/sendto.c: Likewise.
3412 * socket/setsockopt.c: Likewise.
3413 * socket/shutdown.c: Likewise.
3414 * socket/sockatmark.c: Likewise.
3415 * socket/socket.c: Likewise.
3416 * socket/socketpair.c: Likewise.
3417 * stdio-common/ctermid.c: Likewise.
3418 * stdio-common/cuserid.c: Likewise.
3419 * stdio-common/remove.c: Likewise.
3420 * stdio-common/rename.c: Likewise.
3421 * stdio-common/renameat.c: Likewise.
3422 * stdio-common/tempname.c: Likewise.
3423 * stdlib/getcontext.c: Likewise.
3424 * stdlib/makecontext.c: Likewise.
3425 * stdlib/setcontext.c: Likewise.
3426 * stdlib/swapcontext.c: Likewise.
3427 * stdlib/system.c: Likewise.
3428 * streams/fattach.c: Likewise.
3429 * streams/fdetach.c: Likewise.
3430 * streams/getmsg.c: Likewise.
3431 * streams/getpmsg.c: Likewise.
3432 * streams/putmsg.c: Likewise.
3433 * streams/putpmsg.c: Likewise.
3434 * sysdeps/unix/bsd/getpt.c: Likewise.
3435 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3436 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3437 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3439 Likewise.
3440 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3441 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3442 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3443 * sysvipc/msgctl.c: Likewise.
3444 * sysvipc/msgget.c: Likewise.
3445 * sysvipc/msgrcv.c: Likewise.
3446 * sysvipc/msgsnd.c: Likewise.
3447 * sysvipc/semctl.c: Likewise.
3448 * sysvipc/semget.c: Likewise.
3449 * sysvipc/semop.c: Likewise.
3450 * sysvipc/semtimedop.c: Likewise.
3451 * sysvipc/shmat.c: Likewise.
3452 * sysvipc/shmctl.c: Likewise.
3453 * sysvipc/shmdt.c: Likewise.
3454 * sysvipc/shmget.c: Likewise.
3455 * termios/tcdrain.c: Likewise.
3456 * termios/tcflow.c: Likewise.
3457 * termios/tcflush.c: Likewise.
3458 * termios/tcgetattr.c: Likewise.
3459 * termios/tcgetpgrp.c: Likewise.
3460 * termios/tcsendbrk.c: Likewise.
3461 * termios/tcsetattr.c: Likewise.
3462 * termios/tcsetpgrp.c: Likewise.
3463 * time/adjtime.c: Likewise.
3464 * time/clock.c: Likewise.
3465 * time/getitimer.c: Likewise.
3466 * time/gettimeofday.c: Likewise.
3467 * time/setitimer.c: Likewise.
3468 * time/settimeofday.c: Likewise.
3469 * time/stime.c: Likewise.
3470 * time/time.c: Likewise.
3471
34722012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3473
a20492cf
PT
3474 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3475 /usr/old/bin.
3476
72e182e3
PT
3477 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3478 instead of spaces.
3479 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3480
fbeafede
JM
34812012-11-03 Joseph Myers <joseph@codesourcery.com>
3482
5b5b04d6
JM
3483 [BZ #14796]
3484 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3485 FE_TONEAREST before applying Dekker multiplication and Knuth
3486 addition. Clear inexact exceptions and check for exact zero
3487 results afterwards.
3488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3489 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3491 * math/libm-test.inc (fma_test): Add more tests.
3492 (fma_test_towardzero): Likewise.
3493 (fma_test_downward): Likewise.
3494 (fma_test_upward): Likewise.
3495 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3496 function.
3497 (libc_fesetround): New macro.
3498 (libc_fesetroundf): Likewise.
3499 (libc_fesetroundl): Likewise.
3500 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3501 function.
3502 (libc_fesetround_387): Likewise.
3503 (libc_fesetroundf): New macro.
3504 (libc_fesetround): Likewise.
3505 (libc_fesetroundl): Likewise.
3506 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3507 function.
3508 (libc_fesetroundf): New macro.
3509 (libc_fesetround): Likewise.
3510 (libc_fesetroundl): Likewise.
3511 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3512 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3513 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3514 libm_hidden_ver.
3515 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3516 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3517 libm_hidden_def.
3518 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3519 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3520 libm_hidden_ver.
3521 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3522 libm_hidden_def.
3523
fbeafede
JM
3524 [BZ #3439]
3525 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3526 integer constant usable in #if and use that to give value to enum
3527 constant.
3528 (FE_DIVBYZERO): Likewise.
3529 (FE_UNDERFLOW): Likewise.
3530 (FE_OVERFLOW): Likewise.
3531 (FE_INVALID): Likewise.
3532 (FE_INVALID_SNAN): Likewise.
3533 (FE_INVALID_ISI): Likewise.
3534 (FE_INVALID_IDI): Likewise.
3535 (FE_INVALID_ZDZ): Likewise.
3536 (FE_INVALID_IMZ): Likewise.
3537 (FE_INVALID_COMPARE): Likewise.
3538 (FE_INVALID_SOFTWARE): Likewise.
3539 (FE_INVALID_SQRT): Likewise.
3540 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3541 (FE_TONEAREST): Likewise.
3542 (FE_TOWARDZERO): Likewise.
3543 (FE_UPWARD): Likewise.
3544 (FE_DOWNWARD): Likewise.
3545 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3546 (FE_DIVBYZERO): Likewise.
3547 (FE_OVERFLOW): Likewise.
3548 (FE_UNDERFLOW): Likewise.
3549 (FE_INEXACT): Likewise.
3550 (FE_TONEAREST): Likewise.
3551 (FE_DOWNWARD): Likewise.
3552 (FE_UPWARD): Likewise.
3553 (FE_TOWARDZERO): Likewise.
3554 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3555 (FE_UNDERFLOW): Likewise.
3556 (FE_OVERFLOW): Likewise.
3557 (FE_DIVBYZERO): Likewise.
3558 (FE_INVALID): Likewise.
3559 (FE_TONEAREST): Likewise.
3560 (FE_TOWARDZERO): Likewise.
3561 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3562 (FE_OVERFLOW): Likewise.
3563 (FE_UNDERFLOW): Likewise.
3564 (FE_DIVBYZERO): Likewise.
3565 (FE_INEXACT): Likewise.
3566 (FE_TONEAREST): Likewise.
3567 (FE_TOWARDZERO): Likewise.
3568 (FE_UPWARD): Likewise.
3569 (FE_DOWNWARD): Likewise.
3570 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3571 (FE_DIVBYZERO): Likewise.
3572 (FE_OVERFLOW): Likewise.
3573 (FE_UNDERFLOW): Likewise.
3574 (FE_INEXACT): Likewise.
3575 (FE_TONEAREST): Likewise.
3576 (FE_DOWNWARD): Likewise.
3577 (FE_UPWARD): Likewise.
3578 (FE_TOWARDZERO): Likewise.
3579
105ca950
CM
35802012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3581
3582 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3583
a542b389
AS
35842012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3585
3586 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3587 commands. Quote $PWD.
3588 (blacklist_exports): Don't use remove_newlines. Replace "declare
3589 -x" by "export".
3590 (remove_newlines): Remove.
3591
f62c8abc
L
35922012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3593
3594 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3595 * stdlib/stdlib.h (atof): Moved to ...
3596 * include/bits/stdlib-float.h: Here. New file.
3597 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3598 * stdlib/bits/stdlib-float.h: New file.
3599 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3600 -mno-sse -mno-mmx.
3601 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3602 <xmmintrin.h>.
3603
0155d5b2
JM
36042012-11-02 Joseph Myers <joseph@codesourcery.com>
3605
a68d0680
JM
3606 * conform/conformtest.pl (@headers): Add fenv.h.
3607 * conform/data/fenv.h-data: New file.
3608 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3609 include of <math/fenv.h>.
3610
caf7f573
JM
3611 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3612 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3613 && !UNIX98]. Enables tests for XOPEN2K8.
3614 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3615 POSIX2008]: Likewise.
3616
6c073ad6
JM
3617 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3618 (struct rusage): Do not expect type or its members.
3619
0155d5b2
JM
3620 [BZ #3439]
3621 * math/math.h (FP_NAN): Define macro to integer constant usable in
3622 #if and use that to give value to enum constant.
3623 (FP_INFINITE): Likewise.
3624 (FP_ZERO): Likewise.
3625 (FP_SUBNORMAL): Likewise.
3626 (FP_NORMAL): Likewise.
3627
b5dcacb4
AS
36282012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3629
3630 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3631 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3632 arguments.
3633
f7934be8
RM
36342012-11-02 Roland McGrath <roland@hack.frob.com>
3635
3636 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3637 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3638 autoconf-time if not.
3639 * configure.in: Remove AC_PREREQ.
3640
d7d08bde
TMQMF
36412012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3642
3643 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3644 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3645 of the internal implementation.
3646
dcdae19a
JM
36472012-11-02 Joseph Myers <joseph@codesourcery.com>
3648
3649 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3650 except include of <misc/sys/syslog.h>.
3651
d6cffd3e
AS
36522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3653
3654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3655 function returns with a NULL context exit with zero.
3656
b3563932
TMQMF
36572012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3658
3659 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3660
b288a93d
L
36612012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3662
3663 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3664 (run_program_cmd): This.
3665 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3666 (tst_langinfo): New variable. Use it.
3667
a2421a68
SAS
36682012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3669
3670 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3671 floating point opcodes.
3672
6f796e1b
TS
36732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3674
7402596b
TS
3675 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3676 variable.
3677
d0d4f868
TS
3678 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3679
6f796e1b
TS
3680 * sysdeps/mach/hurd/powerpc: Remove directory.
3681 * sysdeps/mach/powerpc: Likewise.
3682
4da224a2
AS
36832012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3684
3685 * scripts/check-local-headers.sh: Ignore c++ headers.
3686
341dd673
TS
36872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3688
3689 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3690 __libc_cleanup_region_start argument.
3691
473611b2
JM
36922012-11-01 Joseph Myers <joseph@codesourcery.com>
3693
3694 [BZ #14784]
3695 [BZ #14785]
3696 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3697 x * y using scaling, not as x * y + z.
3698 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3700 * math/libm-test.inc (fma_test): Add more tests.
3701 (fma_test_towardzero): Likewise.
3702 (fma_test_downward): Likewise.
3703 (fma_test_upward): Likewise.
3704
4078da3d
TS
37052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3706
3707 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3708
903252aa
JM
37092012-10-31 Joseph Myers <joseph@codesourcery.com>
3710
3711 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3712 New variable.
3713
cbc818d0
TS
37142012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3715
3716 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3717
5a03cb1e
AS
37182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3719
3720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3721 Fix sort order.
3722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3723 Likewise.
3724
90aff2ff
TMQMF
37252012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3726
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3728 Fix the order of the list for glibc 2.17.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3730 Likewise.
3731
1818fcb7
AS
37322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3733
3734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3735
ef82f4da
JM
37362012-10-31 Joseph Myers <joseph@codesourcery.com>
3737
16a0e2ec
JM
3738 [BZ #14610]
3739 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3740 for low part of x being zero before using __atanl (y).
3741 * math/libm-test.inc (atan2_test): Add another test.
3742
0eb69512
JM
3743 * manual/install.texi (Configuring and compiling): Document
3744 general use of test-wrapper and test-wrapper-env.
3745 * INSTALL: Regenerated.
3746
ef82f4da
JM
3747 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3748 (__fma): Do not extract and scale down low bits on after-rounding
3749 systems when result rounded to normal precision would have normal
3750 exponent.
3751 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3752 (__fmal): Do not extract and scale down low bits on after-rounding
3753 systems when result rounded to normal precision would have normal
3754 exponent.
3755 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3756 (__fmal): Do not extract and scale down low bits on after-rounding
3757 systems when result rounded to normal precision would have normal
3758 exponent.
3759 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3760 macro.
3761 (fma_test): Add more tests.
3762 (fma_test_towardzero): Likewise.
3763 (fma_test_downward): Likewise.
3764 (fma_test_upward): Likewise.
3765
954ef0d9
L
37662012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3767
3768 * sysdeps/i386/tininess.h: Renamed to ...
3769 * sysdeps/x86/tininess.h: This.
3770 * sysdeps/x86_64/tininess.h: Removed.
3771
df61ffb2
JM
37722012-10-30 Joseph Myers <joseph@codesourcery.com>
3773
3774 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3775 input. Use $(build-program-cmd).
3776 ($(objpfx)tst-array1-static.out): Likewise.
3777 ($(objpfx)tst-array2.out): Likewise.
3778 ($(objpfx)tst-array3.out): Likewise.
3779 ($(objpfx)tst-array4.out): Likewise.
3780 ($(objpfx)tst-array5.out): Likewise.
3781 ($(objpfx)tst-array5-static.out): Likewise.
3782
01767843
CM
37832012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3784
47cc1490
CM
3785 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3786 if defined.
3787
01767843
CM
3788 * nss/nsswitch.h (nss_interface_function): Provide new
3789 macro for use with NSS functions.
3790 * grp/initgroups.c: Use new macro.
3791 * nss/getXXbyYY.c: Likewise.
3792 * nss/getXXbyYY_r.c: Likewise.
3793 * nss/getXXent.c: Likewise.
3794 * nss/getXXent_r.c: Likewise.
3795 * sysdeps/posix/getaddrinfo.c: Likewise.
3796
8321aa97
AJ
37972012-10-30 Andreas Jaeger <aj@suse.de>
3798
3799 * po/ru.po: Update Russion translation from translation project.
3800
2a27fd6d
JM
38012012-10-30 Joseph Myers <joseph@codesourcery.com>
3802
8627a232
JM
3803 [BZ #14152]
3804 [BZ #14783]
3805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3806 result and shift together with sticky bit instead of replicating
3807 round-to-nearest rounding.
3808 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3809 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3810 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3811 missing underflow exceptions.
3812 (fma_test_towardzero): Add more tests.
3813 (fma_test_downward): Likewise.
3814 (fma_test_upward): Likewise.
3815
2a27fd6d
JM
3816 [BZ #14047]
3817 * sysdeps/generic/tininess.h: New file.
3818 * sysdeps/i386/tininess.h: Likewise.
3819 * sysdeps/sh/tininess.h: Likewise.
3820 * sysdeps/x86_64/tininess.h: Likewise.
3821 * stdlib/tst-strtod-underflow.c: Likewise.
3822 * stdlib/tst-tininess.c: Likewise.
3823 * stdlib/strtod_l.c: Include <tininess.h>.
3824 (round_and_return): Do not set errno for exact underflow cases.
3825 Force an underflow exception when setting errno for underflow.
3826 Determine underflow based on rounding to normal precision if
3827 TININESS_AFTER_ROUNDING.
3828 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3829 ERANGE for exact underflow cases.
3830 * stdlib/Makefile (tests): Add tst-tininess and
3831 tst-strtod-underflow.
3832 ($(objpfx)tst-tininess): Use $(link-libm).
3833 ($(objpfx)tst-strtod-underflow): Likewise.
3834
e7170363
AJ
38352012-10-30 Andreas Jaeger <aj@suse.de>
3836
e5088dc6
AJ
3837 [BZ#14767]
3838 * elf/Makefile (tests): Remove conditional for have-initfini-array
3839 since this is now always required and the variable does not exist
3840 anymore.
3841 (tests-static): Likewise.
3842 (modules-names): Likewise.
3843
e7170363 3844 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3845
3846 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3847 merged with constructor/destructor.
3848 (init_array): Likewise.
3849 * elf/tst-array2dep.c (fini_array): Likewise.
3850 (init_array): Likewise.
3851
60457d8a
MF
38522012-10-29 Mike Frysinger <vapier@gentoo.org>
3853
3854 * manual/message.texi: Delete @cartouche tags.
3855
8bece752
PT
38562012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3857
94ce799f
PT
3858 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3859 EOPNOTSUPP.
3860 * sysdeps/mach/hurd/fsync.c: Likewise.
3861
8bece752
PT
3862 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3863 [_POSIX_REALTIME_SIGNALS]: Change condition to
3864 [_POSIX_REALTIME_SIGNALS > 0].
3865
86ebe6b1
AJ
38662012-10-27 Andreas Jaeger <aj@suse.de>
3867
3868 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3869 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3870 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3871 [__WORDSIZE != 64]: Likewise.
3872
54399c08
L
38732012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3874
3875 * iconvdata/tst-table.sh: Remove ${SHELL}.
3876 * iconvdata/tst-tables.sh: Likewise.
3877
e2211bed
DM
38782012-10-25 David S. Miller <davem@davemloft.net>
3879
3880 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3881 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3882 of strtoull.
3883
f303f97c
DM
3884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3885 ifunc-impl-list.c
3886 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3887 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3888 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3889 file.
3890
1e9d84cd
RM
38912012-10-25 Roland McGrath <roland@hack.frob.com>
3892
3893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3894 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3895 __getdirentries.
3896
df381762
JM
38972012-10-25 Joseph Myers <joseph@codesourcery.com>
3898 Jim Blandy <jimb@codesourcery.com>
3899
3900 * scripts/cross-test-ssh.sh: New file.
3901 * manual/install.texi (Configuring and compiling): Document use of
3902 cross-test-ssh.sh.
3903 * INSTALL: Regenerated.
3904
bff64913
PT
39052012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3906
3907 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3908 EOPNOTSUPP.
3909
25fe8932
JM
39102012-10-25 Joseph Myers <joseph@codesourcery.com>
3911
3912 * Makeconfig (run-program-prefix): Fix comment.
3913
cc1290d0
JM
39142012-10-24 Joseph Myers <joseph@codesourcery.com>
3915 Jim Blandy <jimb@codesourcery.com>
3916
3917 * Makeconfig (test-wrapper): New variable,
3918 (test-wrapper-env): Likewise.
3919 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3920 (run-built-tests): Define to yes.
3921 (run-program-prefix): Use $(test-wrapper).
3922 (built-program-cmd): Likewise.
3923 * Rules (make-test-out): Use $(test-wrapper-env) and
3924 $(host-built-program-cmd).
3925 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3926 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3927 tst-pathopt.sh.
3928 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3929 $(test-wrapper-env) to tst-rtld-load-self.sh.
3930 ($(objpfx)order2.out): Use $(test-wrapper).
3931 ($(objpfx)tst-initorder.out): Likewise.
3932 ($(objpfx)tst-initorder2.out): Likewise.
3933 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3934 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3935 (test_wrapper_env): New variable. Use it to run ld.so.
3936 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3937 Use it to run ld.so.
3938 (test_wrapper_env): Likewise.
3939 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3940 $(test-wrapper) to run-iconv-test.sh.
3941 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3942 (ICONV): Use $test_wrapper.
3943 * posix/Makefile ($(objpfx)globtest.out): Pass
3944 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3945 globtest.sh, not $(run-program-prefix).
3946 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3947 (test_wrapper): Likewise.
3948 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3949 set together with run_via_rtld_prefix.
3950 (run_program_prefix): Define in terms of test_wrapper and
3951 run_via_rtld_prefix.
3952
6e6249d0
RM
39532012-10-24 Roland McGrath <roland@hack.frob.com>
3954
3955 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3956 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3957 Targets removed.
3958
3959 [BZ #14743]
3960 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3961 Declare __clock_getres, __clock_gettime, __clock_settime,
3962 __clock_nanosleep, and __clock_getcpuclockid.
3963 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3964 Remove librt_hidden_def (clock_gettime).
3965 * sysdeps/unix/clock_gettime.c: Likewise.
3966 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3967 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3968 * rt/clock_getres.c: Define __clock_getres as an alias.
3969 * sysdeps/posix/clock_getres.c: Likewise.
3970 * rt/clock_settime.c: Define __clock_settime as an alias.
3971 * sysdeps/unix/clock_settime.c: Likewise.
3972 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3973 * sysdeps/unix/clock_nanosleep.c: Likewise.
3974 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3975 * rt/clock-compat.c: New file.
3976 * rt/Makefile (librt-routines): Add clock-compat and move
3977 $(clock-routines) to ...
3978 (routines): ... here, new variable.
3979 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3980 Don't add get_clockfreq here.
3981 * rt/Versions (libc: GLIBC_2.17): New version set.
3982 Add clock_* symbols here.
3983 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3984 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3985 (GLIBC_2.17): Add clock_* symbols.
3986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3988 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3990 Likewise.
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3992 Likewise.
3993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3997 * NEWS: Mention the move.
3998
3999 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4000 Use __open, __read, __close rather than their public counterparts.
4001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4002 (__get_clockfreq_via_cpuinfo): Likewise.
4003 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
4004 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
4005
4006 * config.h.in (HAVE_IFUNC): New #undef.
4007 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
4008 was successful.
4009 * configure: Regenerated.
4010
0cae3f4b
MF
40112012-10-24 Mike Frysinger <vapier@gentoo.org>
4012
4013 * configure.in: Move READELF check to start of file.
4014 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
4015 libc_cv_asm_gnu_indirect_function in the process.
4016 * configure: Regenerated.
4017
8175a253
MF
40182012-10-24 Mike Frysinger <vapier@gentoo.org>
4019
4020 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
4021 send the output to /dev/null.
4022 (libc_cv_cc_with_libunwind): Likewise.
4023 (libc_cv_as_noexecstack): Likewise.
4024 * configure: Regenerate.
4025
0708a7d1
JM
40262012-10-24 Joseph Myers <joseph@codesourcery.com>
4027
10b40d85
JM
4028 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
4029
0708a7d1
JM
4030 * posix/globtest.sh (TMPDIR): Do not set.
4031 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
4032 (testout): Likewise.
4033
9fddec1a
AJ
40342012-10-24 Andreas Jaeger <aj@suse.de>
4035
3a8db22f
AJ
4036 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
4037 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
4038 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
4039 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
4040 posix_fadvise64, posix_fallocate64.
4041
9fddec1a
AJ
4042 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
4043 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
4044 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
4045 Likewise.
4046 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
4047 Likewise.
4048 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
4049
4050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
4051 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
4052 <bits/fcntl-linux.h>.
4053 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
4054
4055 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
4056 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
4057 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
4058 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
4059 [__WORDSIZE != 64]: Likewise.
4060
ebfd1bbd
JM
40612012-10-23 Joseph Myers <joseph@codesourcery.com>
4062
03ac099f
JM
4063 * Makeconfig (run-built-tests): New variable.
4064 * Rules [$(cross-compiling) = yes]: Change condition to
4065 [$(run-built-tests) = no].
4066 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
4067 to [$(run-built-tests) = yes].
4068 * elf/Makefile [$(cross-compiling) = no]: Likewise
4069 * grp/Makefile [$(cross-compiling) = no]: Likewise.
4070 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
4071 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
4072 * intl/Makefile [$(cross-compiling) = no]: Likewise.
4073 * io/Makefile [$(cross-compiling) = no]: Likewise.
4074 * libio/Makefile [$(cross-compiling) = no]: Likewise.
4075 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
4076 * misc/Makefile [$(cross-compiling) = no]: Likewise.
4077 * posix/Makefile [$(cross-compiling) = no]: Likewise.
4078 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
4079 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
4080 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
4081 * string/Makefile [$(cross-compiling) = no]: Likewise.
4082
ebfd1bbd
JM
4083 * posix/Makefile ($(objpfx)globtest.out): Pass
4084 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
4085 $(rtld-installed-name).
4086 * posix/globtest.sh (elf_objpfx): Remove variable.
4087 (rtld_installed_name): Likewise.
4088 (library_path): Likewise.
4089 (run_program_prefix): New variable. Use for running globtest
4090 binary.
4091
166bca24
JB
40922012-10-23 Jim Blandy <jimb@codesourcery.com>
4093 Joseph Myers <joseph@codesourcery.com>
4094
4095 * Makeconfig (host-built-program-cmd): New variable.
4096 * elf/Makefile (tst-stackguard1-ARGS): Use
4097 $(host-built-program-cmd).
4098 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
4099 (tst-spawn-ARGS): Likewise.
4100 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
4101
88866099
JM
41022012-10-23 Joseph Myers <joseph@codesourcery.com>
4103 Jim Blandy <jimb@codesourcery.com>
4104
4105 * Makeconfig (run-via-rtld-prefix): New variable.
4106 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
4107 (built-program-cmd): Likewise.
4108
b4b4c296
AJ
41092012-10-22 Andreas Jaeger <aj@suse.de>
4110
4111 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
4112 __O_RSYNC if it exists, otherwise to O_SYNC.
4113
6fb54a22
JB
41142012-10-22 Jim Blandy <jimb@codesourcery.com>
4115 Joseph Myers <joseph@codesourcery.com>
4116
4117 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
4118 /dev/null.
4119 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
4120 from /dev/null
4121 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
4122 /dev/null.
4123
481b90b9
AJ
41242012-10-22 Andreas Jaeger <aj@suse.de>
4125
2a0e2669
AJ
4126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
4127 Define always.
4128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
4129
76e38f9a
AJ
4130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4131 bits/fcntl-linux.h.
4132
7cd37b43
AJ
4133 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
4134 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
4135
481b90b9
AJ
4136 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
4137 to __O_LARGEFILE.
4138 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
4139 to __O_LARGEFILE.
4140
aba75984
JB
41412012-10-21 Jim Blandy <jimb@codesourcery.com>
4142 Joseph Myers <joseph@codesourcery.com>
4143
4144 * config.make.in (NM): New variable.
4145
88d4247f
AJ
41462012-10-21 Andreas Jaeger <aj@suse.de>
4147
4148 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
4149 definitions and declarations that are provided by
4150 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4151
f2eed205
L
41522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4153
4154 [BZ #14683]
4155 * elf/Makefile (tests-static): Add tst-leaks1-static.
4156 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
4157 ($(objpfx)tst-leaks1-static): New rule.
4158 ($(objpfx)tst-leaks1-static-mem): Likewise.
4159 (tst-leaks1-static-ENV): New macro.
4160 * elf/dl-open.c (dl_open_worker): Check the main application
4161 only if SHARED is defined.
4162 * elf/tst-leaks1-static.c: New file.
4163
335e6931
AJ
41642012-10-20 Andreas Jaeger <aj@suse.de>
4165
4166 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4167 generic values for Linux.
4168 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4169 and declarations that are provided by <bits/fcntl-linux.h> and
4170 include <bits/fcntl-linux.h>.
4171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4172 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4173
ac5c94d3
RM
41742012-10-20 Roland McGrath <roland@hack.frob.com>
4175
4176 * io/fcntl.h: Move include of <bits/types.h> to the top and
4177 include it unconditionally.
4178
de54b33a
L
41792012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4180
228cfb01
L
4181 * wcsmbs/Makefile (tests-ifunc): New variable.
4182 (tests): Add $(tests-ifunc).
4183 * wcsmbs/test-wcschr-ifunc.c: New file.
4184 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4185 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4186 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4187 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4188 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4189
69f07e5f
L
4190 * string/Makefile (tests-ifunc): New variable.
4191 (tests): Add $(tests-ifunc).
4192 * string/test-memccpy.c (TEST_NAME): New macro.
4193 * string/test-memchr.c (TEST_NAME): Likewise.
4194 * string/test-memcmp.c (TEST_NAME): Likewise.
4195 * string/test-memcpy.c (TEST_NAME): Likewise.
4196 * string/test-memmem.c (TEST_NAME): Likewise.
4197 * string/test-memmove.c (TEST_NAME): Likewise.
4198 * string/test-memset.c (TEST_NAME): Likewise.
4199 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4200 * string/test-stpcpy.c (TEST_NAME): Likewise.
4201 * string/test-stpncpy.c (TEST_NAME): Likewise.
4202 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4203 * string/test-strcasestr.c (TEST_NAME): Likewise.
4204 * string/test-strcat.c (TEST_NAME): Likewise.
4205 * string/test-strchr.c (TEST_NAME): Likewise.
4206 * string/test-strcmp.c(TEST_NAME): Likewise.
4207 * string/test-strcpy.c (TEST_NAME): Likewise.
4208 * string/test-strcspn.c (TEST_NAME): Likewise.
4209 * string/test-strlen.c (TEST_NAME): Likewise.
4210 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4211 * string/test-strncmp.c (TEST_NAME): Likewise.
4212 * string/test-strncpy.c (TEST_NAME): Likewise.
4213 * string/test-strnlen.c (TEST_NAME): Likewise.
4214 * string/test-strpbrk.c (TEST_NAME): Likewise.
4215 * string/test-strrchr.c (TEST_NAME): Likewise.
4216 * string/test-strspn.c (TEST_NAME): Likewise.
4217 * string/test-strstr.c (TEST_NAME): Likewise.
4218 * string/test-bcopy-ifunc.c: New file.
4219 * string/test-bzero-ifunc.c: Likewise.
4220 * string/test-memccpy-ifunc.c: Likewise.
4221 * string/test-memchr-ifunc.c: Likewise.
4222 * string/test-memcmp-ifunc.c: Likewise.
4223 * string/test-memcpy-ifunc.c: Likewise.
4224 * string/test-memmem-ifunc.c: Likewise.
4225 * string/test-memmove-ifunc.c: Likewise.
4226 * string/test-mempcpy-ifunc.c: Likewise.
4227 * string/test-memset-ifunc.c: Likewise.
4228 * string/test-rawmemchr-ifunc.c: Likewise.
4229 * string/test-stpcpy-ifunc.c: Likewise.
4230 * string/test-stpncpy-ifunc.c: Likewise.
4231 * string/test-strcasecmp-ifunc.c: Likewise.
4232 * string/test-strcasestr-ifunc.c: Likewise.
4233 * string/test-strcat-ifunc.c: Likewise.
4234 * string/test-strchr-ifunc.c: Likewise.
4235 * string/test-strchrnul-ifunc.c: Likewise.
4236 * string/test-strcmp-ifunc.c: Likewise.
4237 * string/test-strcpy-ifunc.c: Likewise.
4238 * string/test-strcspn-ifunc.c: Likewise.
4239 * string/test-strlen-ifunc.c: Likewise.
4240 * string/test-strncasecmp-ifunc.c: Likewise.
4241 * string/test-strncat-ifunc.c: Likewise.
4242 * string/test-strncmp-ifunc.c: Likewise.
4243 * string/test-strncpy-ifunc.c: Likewise.
4244 * string/test-strnlen-ifunc.c: Likewise.
4245 * string/test-strpbrk-ifunc.c: Likewise.
4246 * string/test-strrchr-ifunc.c: Likewise.
4247 * string/test-strspn-ifunc.c: Likewise.
4248 * string/test-strstr-ifunc.c: Likewise.
4249
de54b33a
L
4250 * debug/Makefile (tests-ifunc): New variable.
4251 (tests): Add $(tests-ifunc).
4252 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4253 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4254 * debug/test-stpcpy_chk-ifunc.c: New file.
4255 * debug/test-strcpy_chk-ifunc.c: Likewise.
4256
88481c16
SP
42572012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4258
4259 [BZ #13601]
4260 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4261 header is not read in.
4262
135948bd
JM
42632012-10-19 Joseph Myers <joseph@codesourcery.com>
4264
89f1c388
JM
4265 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4266 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4267 directly. Pass built executable to script as
4268 $(built-program-cmd).
4269 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4270 $testprogram without using LD_LIBRARY_PATH and $ldso.
4271
e40a0d21
JM
4272 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4273 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4274 $(rtld-installed-name).
4275 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4276 (rtld_installed_name): Likewise.
4277 (library_path): Likewise.
4278 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4279 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4280 $(run-program-prefix) to tst-tables.sh.
4281 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4282 it to run tst-table-from and tst-table-to.
4283 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4284 Pass it to tst-table.sh.
4285 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4286 $(run-program-prefix) to tst-gettext.sh.
4287 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4288 tst-translit.sh.
4289 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4290 tst-gettext2.sh.
4291 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4292 to run tst-gettext.
4293 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4294 to run tst-gettext2.
4295 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4296 to run tst-translit.
4297 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4298 $(run-program-prefix) to tst-mtrace.sh.
4299 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4300 to run tst-mtrace.
4301 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4302 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4303 $(rtld-installed-name).
4304 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4305 (rtld_installed_name): Likewise.
4306 (run_program_prefix): New variable. Use it to run wordexp-test.
4307
728e272a
JM
4308 * Makeconfig (ARCH): Remove all definitions.
4309 (machine): Likewise.
4310 [ARCH]: Remove conditional code.
4311 [!objdir]: Give error.
4312 [!objdir] (objpfx): Remove.
4313 [!objdir] (common-objpfx): Likewise.
4314 [!objdir] (common-objdir): Likewise.
4315 * configure.in (config_makefile): Remove. Hardcode Makefile in
4316 AC_CONFIG_FILES call.
4317 * configure: Regenerated.
4318
d528cdcf
JM
4319 [BZ #13888]
4320 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4321 or TMPDIR.
4322 (testout): Likewise.
4323
135948bd
JM
4324 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4325 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4326 $(rtld-installed-name).
4327 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4328 (rtld_installed_name): Likwise.
4329 (runit): Remove function.
4330 (run_getconf): New variable, Use it for running getconf binary.
4331
38c78296
L
43322012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4333
4334 [BZ #14716]
4335 * string/test-memmem.c (check_result): New function.
4336 (do_one_test): Use it.
4337 (check1): New function.
4338 (test_main): Use it.
4339
d077f65f
MT
43402012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4341
4342 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4343
ced52c71
JM
43442012-10-18 Joseph Myers <joseph@codesourcery.com>
4345
4346 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4347 (_G_LSEEK64): Likewise.
4348 (_G_MMAP64): Likewise.
4349 (_G_FSTAT64): Likewise.
4350 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4351 (_G_LSEEK64): Likewise.
4352 (_G_MMAP64): Likewise.
4353 (_G_FSTAT64): Likewise.
4354 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4355 unconditional. Call __mmap64 directly.
4356 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4357 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4358 __lseek64 directly.
4359 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4360 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4361 __mmap64 directly.
4362 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4363 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4364 __lseek64 directly.
4365 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4366 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4367 __lseek64 directly.
4368 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4369 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4370 __lseek64 directly.
4371 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4372 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4373 __fxstat64 directly.
4374 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4375 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4376 unconditional.
4377 (freopen64) [!_G_OPEN64]: Remove conditional code.
4378 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4379 unconditional.
4380 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4381 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4382 unconditional.
4383 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4384 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4385 unconditional.
4386 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4387 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4388 unconditional.
4389 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4390 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4391 unconditional.
4392 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4393 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4394 unconditional.
4395 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4396 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4397 unconditional.
4398 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4399
b741de23
SP
44002012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4401
4402 [BZ #12140]
4403 * manual/memory.texi (Malloc Tunable Parameters): Add note
4404 about free list pointers overwriting some perturb bytes.
4405 Wording suggested by Roland McGrath.
4406
f9b9d9c9
JM
44072012-10-17 Joseph Myers <joseph@codesourcery.com>
4408
4409 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4410 (lgamma_test): Likewise.
4411 (tgamma_test): Likewise.
4412
172a631a
FW
44132012-10-16 Florian Weimer <fweimer@redhat.com>
4414
4415 [BZ #14700]
4416 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4417 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4418
e9f37252
MK
44192012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4420
4421 * NEWS: Mention BZ #14716.
4422 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4423 when removing AVAILABLE1_USES_J macro.
4424
d394eb74
L
44252012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4426
4427 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4428 (__bswap_64): __uint64_t for unsigned 64-bit int.
4429
ca38dc17
AS
44302012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4431
4432 * include/string.h (memmem): Declare libc hidden alias.
4433 * string/memmem.c (memmem): Define libc hidden alias.
4434 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4435 __read, __close instead of open, read, close.
4436
9a387d1f
L
44372012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4438
ac49ecaf
L
4439 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4440 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4441 global and hidden.
4442 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4443 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4444 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4445 Likewise.
4446 (__rawmemchr_sse2): Likewise.
4447 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4448 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4449 (__strchr_sse2): Likewise.
4450 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4451 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4452 (__strcasecmp_sse2): Likewise.
4453 (__strncasecmp_sse2): Likewise.
4454 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4455 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4456 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4457 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4458 (__strrchr_sse2): Likewise.
4459 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4460 ifunc-impl-list.c.
4461 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4462 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4463 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4464 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4465 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4466 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4467 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4468 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4469 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4470 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4471 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4472 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4473 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4474 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4475 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4476 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4477 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4478 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4479 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4480 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4481 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4482 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4483 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4484 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4485 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4486 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4487 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4488 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4489 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4490 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4491
b090e8ea
L
4492 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4493 global and hidden.
4494 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4495 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4496 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4497 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4498 Likewise.
4499 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4500 Likewise.
4501 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4502 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4503 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4504 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4505 ifunc-impl-list.c.
4506 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4507 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4508 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4509 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4510 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4511 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4512 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4513 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4514 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4515 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4516 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4517 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4518 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4519 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4520 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4521 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4522 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4523 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4524 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4525 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4526 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4527 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4528 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4529 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4530 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4531 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4532 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4533 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4534 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4535 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4536 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4537 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4538 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4539 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4540 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4541 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4542 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4543 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4544 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4545 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4546 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4547
11dd4af6
L
4548 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4549 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4550 * include/ifunc-impl-list.h: New file.
4551 * misc/ifunc-impl-list.c: Likewise.
4552 * misc/Makefile (routines): Add ifunc-impl-list.
4553 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4554 * string/test-string.h: Include <ifunc-impl-list.h>.
4555 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4556 impl_array): New variables.
4557 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4558 are defined.
4559 (test_init): Call __libc_ifunc_impl_list to initialize
4560 func_list if TEST_IFUNC and TEST_NAME are defined.
4561
9a387d1f
L
4562 * string/Makefile (strop-tests): Add bcopy and bzero.
4563 * string/test-bcopy.c: New file.
4564 * string/test-bzero.c: Likewise.
4565 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4566 defined.
4567 * string/test-memset.c: Support bzero test if TEST_BZERO is
4568 defined.
4569 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4570 __libc_memmove.
4571 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4572 __libc_memset.
4573 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4574 of memset.
4575
472371b9
JM
45762012-10-10 Joseph Myers <joseph@codesourcery.com>
4577
1e4a9536
JM
4578 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4579 * configure: Regenerated.
4580
d173d12e
JM
4581 * Makeconfig (+link-static-before-libc): Don't include
4582 $(link-static-libc).
4583
472371b9
JM
4584 * libio/libio.h (_IO_pos_t): Remove.
4585
89a3ad0b
AO
45862012-10-10 Alexandre Oliva <aoliva@redhat.com>
4587
4588 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4589 McGrath.
4590
e7451425
AO
45912012-10-10 Alexandre Oliva <aoliva@redhat.com>
4592
4593 * crypt/crypt-entry.c: Include fips-private.h.
4594 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4595 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4596 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4597 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4598
4ba74a35
AO
45992012-10-10 Alexandre Oliva <aoliva@redhat.com>
4600
4601 * crypt/crypt-private.h: Include stdbool.h.
4602 (_ufc_setup_salt_r): Return bool.
4603 * crypt/crypt-entry.c: Include errno.h.
4604 (__crypt_r): Return NULL with EINVAL for bad salt.
4605 * crypt/crypt_util.c (bad_for_salt): New.
4606 (_ufc_setup_salt_r): Check that salt is long enough and within
4607 the specified alphabet.
4608 * crypt/badsalttest.c: New file.
4609 * crypt/Makefile (tests): Add it.
4610 ($(objpfx)badsalttest): New.
4611
f96f1242
MK
46122012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4613
4614 * NEWS: Add entry for BZ #14602.
4615
0e8e0c1c
JM
46162012-10-09 Joseph Myers <joseph@codesourcery.com>
4617
4618 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4619 type-generic.
4620 * math/libm-test.inc: Update comment listing what functions and
4621 macros are tested.
4622 (isgreater_test): New function.
4623 (isgreaterequal_test): Likewise.
4624 (isless_test): Likewise.
4625 (islessequal_test): Likewise.
4626 (islessgreater_test): Likewise.
4627 (isunordered_test): Likewise.
4628 (main): Call the new functions.
4629
273edc5e
RM
46302012-10-09 Roland McGrath <roland@hack.frob.com>
4631
b8493de0
RM
4632 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4633 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4634 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4635 * sysdeps/i386/configure: Regenerated.
4636 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4637 * sysdeps/mach/configure: Regenerated.
4638 * sysdeps/mach/hurd/configure: Regenerated.
4639 * sysdeps/powerpc/configure: Regenerated.
4640 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4641 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4642 * sysdeps/s390/s390-32/configure: Regenerated.
4643 * sysdeps/s390/s390-64/configure: Regenerated.
4644 * sysdeps/sh/configure: Regenerated.
4645 * sysdeps/sparc/configure: Regenerated.
4646 * sysdeps/unix/sysv/linux/configure: Regenerated.
4647 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4648 * sysdeps/x86_64/configure: Regenerated.
4649
273edc5e
RM
4650 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4651 defined. Don't check if MAP is NULL.
4652
c8450f70
JM
46532012-10-09 Joseph Myers <joseph@codesourcery.com>
4654
4655 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4656 (_G_stat64): Likewise.
4657 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4658 (_G_stat64): Likewise.
4659 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4660 instead of struct _G_stat64.
4661 * libio/fileops.c (mmap_remap_check): Likewise.
4662 (decide_maybe_mmap): Likewise.
4663 (_IO_new_file_seekoff): Likewise.
4664 (_IO_file_stat): Likewise.
4665 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4666 _G_off64_t.
4667 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4668 instead of struct _G_stat64.
4669 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4670
57e605ba
MK
46712012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4672
4673 [BZ #14602]
4674 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4675 Replace with ...
4676 (CHECK_EOL): New macro.
4677 (two_way_short_needle): Check beginning of haystack for EOL. Use
4678 CHECK_EOL.
4679 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4680 Replace with CHECK_EOL.
4681 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4682 Replace with CHECK_EOL.
4683
ef1bb361
JM
46842012-10-08 Joseph Myers <joseph@codesourcery.com>
4685
4686 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4687 type-generic.
4688 * math/libm-test.inc: Update comment listing what functions and
4689 macros are tested.
4690 (finite_test): New function.
4691 (isinf_test): Likewise.
4692 (isnan_test): Likewise.
4693 (fpclassify_test): Test subnormal input.
4694 (isfinite_test): Likewise.
4695 (isnormal_test): Likewise.
4696 (main): Call the new functions.
4697
55f11534
JN
46982012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4699
4700 [BZ #14660]
4701 * Makerules (%.dynsym): Force C locale when running
4702 $(OBJDUMP) --dynamic-syms.
4703
1ab29350
AS
47042012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4705
4706 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4707 <stdint.h>.
4708
f1ecb7ef
DM
47092012-10-06 David S. Miller <davem@davemloft.net>
4710
4711 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4712 upper 32-bits of the length value in %o2 since we use branch-on-register
4713 tests which consider the entire 64-bit register.
4714
5d41d91a
L
47152012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4716
4717 * string/test-strstr.c (check2): Add a test for page boundary.
4718
3baddb72
DM
47192012-10-05 David S. Miller <davem@davemloft.net>
4720
4721 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4722 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4723 file.
4724 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4725 sysdep_routines.
4726 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4727 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4728 and bzero when HWCAP_SPARC_CRYPTO is present.
4729
9cee5585
L
47302012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4731
d7e0dab9
L
4732 [BZ #14602]
4733 * string/test-strstr.c (check2): New function.
4734 (test_main): Call check2.
4735
03759f47
L
4736 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4737 and bug-strchr1.
4738 * string/bug-strcasestr1.c (do_test): Moved to ...
4739 * string/test-strcasestr.c (check1): Here. New function.
4740 (do_one_test): Break out result checking code into ...
4741 (check_result): This. New function.
4742 (do_one_test): Call check_result.
4743 (test_main): Call check1.
4744 * string/bug-strchr1.c (do_test): Moved to ...
4745 * string/test-strchr.c (check1): Here. New function.
4746 (do_one_test): Break out result checking code into ...
4747 (check_result): This. New function.
4748 (do_one_test): Call check_result.
4749 (test_main): Call check1.
4750 * string/bug-strstr1.c (main): Moved to ...
4751 * string/test-strchr.c (check1): Here. New function.
4752 (do_one_test): Break out result checking code into ...
4753 (check_result): This. New function.
4754 (do_one_test): Call check_result.
4755 (test_main): Call check1.
4756 * string/bug-strcasestr1.c: Removed.
4757 * string/bug-strchr1.c: Likewise.
4758 * string/bug-strstr1.c: Likewise.
4759
53cea63e
L
4760 * elf/Makefile (dl-routines): Add hwcaps.
4761 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4762 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4763 (_dl_important_hwcaps): Moved to ...
4764 * elf/dl-hwcaps.c: Here. New file.
4765 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4766
9cee5585 4767 [BZ #14557]
bb859b06
L
4768 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4769 if IS_IN_rtld isn't defined.
4770
9cee5585
L
4771 * elf/dl-support.c (_dl_sysinfo_map): New.
4772 Include "get-dynamic-info.h" and "setup-vdso.h".
4773 (_dl_non_dynamic_init): Call setup_vdso.
4774 * elf/dynamic-link.h: Don't include <assert.h>.
4775 (elf_get_dynamic_info): Moved to ...
4776 * elf/get-dynamic-info.h: Here. New file.
4777 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4778 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4779 * elf/setup-vdso.h: Here. New file.
4780 * elf/rtld.c: Include "setup-vdso.h".
4781 (dl_main): Call setup_vdso.
4782
23c31b76
JM
47832012-10-05 Joseph Myers <joseph@codesourcery.com>
4784
28234b07
JM
4785 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4786 creal in comment listing functions tested. List finite, isinf,
4787 isnan, isless, islessequal, isgreater, isgreaterequal,
4788 islessgreater, isunordered, lgamma_r and pow10 as functions and
4789 macros not tested. Mention which functions not tested are aliases
4790 for other functions. Fix typo. Note that signs of NaNs are not
4791 tested.
4792
23c31b76
JM
4793 * scripts/config.guess: Update from config.git.
4794 * scripts/config.sub: Likewise.
4795
9043e228
RM
47962012-10-04 Roland McGrath <roland@hack.frob.com>
4797
4798 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4799 * misc/madvise.c (madvise): Renamed to __madvise.
4800 Make madvise a weak alias.
4801 * include/sys/mman.h: Declare __madvise.
4802 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4803 * sysdeps/unix/syscalls.list
4804 (madvise): Make __madvise the strong name, and madvise a weak alias.
4805 * sysdeps/unix/sysv/linux/syscalls.list
4806 (madvise, mmap): Remove redundant entries.
4807 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4808 * malloc/malloc.c (mtrim): Likewise.
4809 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4810
f57f8055
RM
48112012-10-03 Roland McGrath <roland@hack.frob.com>
4812
4813 * sysdeps/mach/hurd/dl-cache.c: File removed.
4814 * config.h.in (USE_LDCONFIG): New #undef.
4815 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4816 * configure: Regenerated.
4817 * elf/Makefile (dl-routines): Add dl-cache only under
4818 [$(use-ldconfig) = yes].
4819 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4820 cache on [USE_LDCONFIG].
4821 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4822 [USE_LDCONFIG].
4823 * elf/rtld.c (dl_main): Likewise.
4824
5bb0c10a
PT
48252012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4826
4827 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4828 _SC_LEVEL4_CACHE_LINESIZE.
4829
010188c6
RM
48302012-10-03 Roland McGrath <roland@hack.frob.com>
4831
4832 * sysdeps/unix/bsd/confstr.h: File removed.
4833
b6c5ec07
AO
48342012-10-02 Alexandre Oliva <aoliva@redhat.com>
4835
4836 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4837 sys/sdt-config.h.
4838
408223d4
RM
48392012-10-02 Roland McGrath <roland@hack.frob.com>
4840
4841 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4842 Make 'mapoff' field ElfW(Off) rather than off_t.
4843
bb9510dc
DL
48442012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4845
fc997c6e
DL
4846 * nscd/Makefile: Remove nscd-cflags and all its users.
4847 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4848 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4849
bb9510dc
DL
4850 [BZ #10631]
4851 * malloc.c (malloc_printerr): Clarify error message.
4852
05699367
L
48532012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4854
4855 [BZ #14648]
4856 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4857 Set bit_FMA_Usable if FMA is supported.
4858 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4859 macro.
4860 (bit_FMA4_Usable): Updated.
4861 (index_FMA_Usable): New macro.
4862 (CPUID_FMA): Likewise
4863 (HAS_FMA): Defined with bit_FMA_Usable.
4864
51367701
RM
48652012-10-01 Roland McGrath <roland@hack.frob.com>
4866
4867 * bits/types.h (__swblk_t): Type removed.
4868 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4869 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4870 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4871 (__SWBLK_T_TYPE): Likewise.
4872 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4873 (__SWBLK_T_TYPE): Likewise.
4874 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4875 (__SWBLK_T_TYPE): Likewise.
4876 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4877 (__SWBLK_T_TYPE): Likewise.
4878
4d57bf63 48792012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4880 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4881
4882 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4883 (xdr_mapname): Use YPMAXMAP as maxsize.
4884 (xdr_peername): Use YPMAXPEER as maxsize.
4885 (xdr_keydat): Use YPAXRECORD as maxsize.
4886 (xdr_valdat): Use YPMAXRECORD as maxsize.
4887
93c65d43
RM
48882012-10-01 Roland McGrath <roland@hack.frob.com>
4889
497a03d6
RM
4890 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4891
93c65d43
RM
4892 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4893 * csu/init-first.c: ... here.
4894 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4895 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4896 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4897 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4898 * sysdeps/i386/init-first.c: File removed.
4899 * sysdeps/sh/init-first.c: File removed.
4900
bec749fd
JM
49012012-10-01 Joseph Myers <joseph@codesourcery.com>
4902
4903 [BZ #14645]
4904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4905 if x * y might underflow to zero and z is zero.
4906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4907 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4908 * math/libm-test.inc (min_subnorm_value): New variable.
4909 (fma_test): Add more tests.
4910 (fma_test_towardzero): Likewise.
4911 (fma_test_downward): Likewise
4912 (fma_test_upward): Likewise.
4913 (initialize): Set min_subnorm_value.
4914
8ec5b013
JM
49152012-09-29 Joseph Myers <joseph@codesourcery.com>
4916
4917 [BZ #14638]
4918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4919 0 + 0.
4920 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4921 mode for addition resulting in exact zero.
4922 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4924 exact 0 + 0.
4925 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4926 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4927 * math/libm-test.inc (fma_test): Add more tests.
4928 (fma_test_towardzero): New function.
4929 (fma_test_downward): Likewise.
4930 (fma_test_upward): Likewise.
4931 (main): Call the new functions.
4932
b1fa802e
DM
49332012-09-28 David S. Miller <davem@davemloft.net>
4934
4935 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4936
d3b9fd9e
RM
49372012-09-28 Roland McGrath <roland@hack.frob.com>
4938
ea4d37b3
RM
4939 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4940 instead of SIGALRM.
4941
ac51c949
RM
4942 * sysdeps/gnu/_G_config.h: Moved to ...
4943 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4944 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4945 * sysdeps/generic/_G_config.h: ... here.
4946
28c195f7
RM
4947 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4948
848917f9
RM
4949 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4950
6bacf05b
RM
4951 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4952 Conditionalize target on [libnss_test1.so-version].
4953
91363dbb
RM
4954 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4955
cc87f7d8
RM
4956 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4957 (elfobjdir): Move out of conditionals.
4958
b1c608fe
RM
4959 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4960 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4961 (__nss_lookup_function): Conditionalize label remove_from_tree on
4962 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4963
1d9a6d96
DM
49642012-09-28 David S. Miller <davem@davemloft.net>
4965
4966 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4967 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4968 file.
4969 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4970 sysdep_routines.
4971 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4973 when HWCAP_SPARC_CRYPTO is present.
4974
72581615
PT
49752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4976
4977 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4978
715a900c
JL
49792012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4980
4981 [BZ #6530]
4982 * stdio-common/vfprintf.c (process_string_arg): Revert
4983 2000-07-22 change.
4984
49852011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4986
4987 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4988 for testcase.
4989 * stdio-common/tst-sprintf.c: Include <locale.h>
4990 (main): Test sprintf's handling of incomplete multibyte
4991 characters.
4992
9bac1d86
L
49932012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4994
4995 * elf/dl-runtime.c (VERSYMIDX): Removed.
4996 * elf/dl-version.c (VERSYMIDX): Likewise.
4997 * elf/do-rel.h (VERSYMIDX): Likewise.
4998 (VALIDX): Likewise.
4999 * elf/dynamic-link.h (VERSYMIDX): Likewise.
5000 * elf/rtld.c (VALIDX): Likewise.
5001 (ADDRIDX): Likewise.
9bac1d86
L
5002 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
5003 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
5004 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
5005 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
5006 (VALIDX): Likewise.
5007 (ADDRIDX): Likewise.
9bac1d86 5008
b31606c0
PT
50092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5010
5011 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
5012
11541177
JL
50132012-09-28 Dmitry V. Levin <ldv@altlinux.org>
5014
5015 [BZ #11438]
5016 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
5017 to global scope.
5018 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
5019 addresses are in the same scope as 192.0.2/24.
5020 * posix/gai.conf: Document new scope table defaults.
5021
adb26fae
SP
50222012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5023
5024 [BZ #5298]
5025 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
5026 for ftell. Compute offsets from write pointers instead.
5027 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
5028
4573c6b0
SP
50292012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5030
5031 [BZ #14543]
5032 * libio/Makefile (tests): New test case tst-fseek.
5033 * libio/tst-fseek.c: New test case to verify that fseek/ftell
5034 combination works in wide mode.
5035 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
5036 state when the external buffer state changes.
5037
aa9bbfe6
DM
50382012-09-27 David S. Miller <davem@davemloft.net>
5039
5040 [BZ #14376]
5041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
5042 pass reloc->r_addend in as the 'high' argument to
5043 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
5044
784421e7
DM
5045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5046
c39bc8b8
PT
50472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
5048
5049 * rt/tst-aio2.c: Include <pthread.h>.
5050 * rt/tst-aio3.c: Likewise.
5051
1ccc2399
SE
50522012-09-27 Steve Ellcey <sellcey@mips.com>
5053
5054 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
5055
31ed4153
L
50562012-09-27 H.J. Lu <hongjiu.lu@intel.com>
5057
25f5f885
L
5058 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
5059 contents on [SHARED].
31ed4153 5060
b7bfe116
MP
50612012-09-26 Marek Polacek <polacek@redhat.com>
5062
5063 [BZ #14530]
5064 [BZ #13741]
5065 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
5066 for C++ and GCC <4.3 as well as for non GCC compilers.
5067
43c4edba
MT
50682012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5069
5070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5071
6a1bf82f
RM
50722012-09-25 Roland McGrath <roland@hack.frob.com>
5073
5074 * Makefile.in (all, install): Declare with .PHONY.
5075 Reported by Michael Hope <michael.hope@linaro.org>.
5076
8ad11b9a
TMQMF
50772012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5078
5079 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
5080 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
5081 system header.
5082 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
5083 Likewise.
5084 (sydep_routines): Add the new and the internal functions.
5085 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
5086 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
5087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
5088 (GLIBC_2.17): Add the new function.
5089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
5090 (GLIBC_2.17): Likewise.
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5092 (GLIBC_2.17): Likewise.
5093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
5094 (GLIBC_2.17): Likewise.
5095 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
5096
7e2fca8d
AM
50972012-09-25 Alan Modra <amodra@gmail.com>
5098
5099 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
5100 Add release barrier before setting once_control to say
5101 initialisation is done. Add hints on lwarx. Use macro in
5102 place of isync.
5103 (clear_once_control): Add release barrier.
5104
b87c4b24
JM
51052012-09-25 Joseph Myers <joseph@codesourcery.com>
5106
d032e0d2
JM
5107 [BZ #13629]
5108 * math/s_clog.c (__clog): Handle more values close to |z| = 1
5109 specially.
5110 * math/s_clog10.c (__clog10): Likewise.
5111 * math/s_clog10f.c (__clog10f): Likewise.
5112 * math/s_clog10l.c (__clog10l): Likewise.
5113 * math/s_clogf.c (__clogf): Likewise.
5114 * math/s_clogl.c (__clogl): Likewise.
5115 * math/Makefile (libm-calls): Add x2y2m1.
5116 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
5117 (__x2y2m1): Likewise.
5118 (__x2y2m1l): Likewise.
5119 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
5120 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
5121 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5122 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5123 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
5124 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
5125 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
5126 * sysdeps/i386/fpu/libm-test-ulps: Update.
5127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5128
b87c4b24
JM
5129 [BZ #14621]
5130 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
5131 int as type of variable DEPTH.
5132 (glob): Use size_t instead of int as type of variables NEWCOUNT
5133 and OLD_PATHC.
5134
6d3bf199
LD
51352012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5136
22bf5c17
LD
5137 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5138 Add s_sincosf-sse2.
5139 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
5140 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
5141 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
5142 macros for using routine as __sincosf_ia32.
5143 Use macro for function declaration and weak_alias.
5144 * sysdeps/i386/fpu/libm-test-ulps: Update.
5145
5146 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
5147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5148
5149 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
5150 subnormal argument.
5151 * math/s_cexpf.c (__cexpf): Likewise.
5152 * math/s_csinf.c (__csinf): Likewise.
5153 * math/s_csinhf.c (__csinhf): Likewise.
5154 * math/s_ctanf.c (__ctanf): Likewise.
5155 * math/s_ctanhf.c (__ctanhf): Likewise.
5156 * math/s_ccosh.c (__ccoshf): Likewise.
5157 * math/s_cexp.c (__cexpl): Likewise.
5158 * math/s_csin.c (__csin): Likewise.
5159 * math/s_csinh.c (__csinh): Likewise.
5160 * math/s_ctan.c (__ctan): Likewise.
5161 * math/s_ctanh.c (ctanh): Likewise.
5162 * math/s_ccoshl.c (__ccoshl): Likewise.
5163 * math/s_cexpl.c (__cexpl): Likewise.
5164 * math/s_csinl.c (__csinl): Likewise.
5165 * math/s_csinhl.c (__csinhl): Likewise.
5166 * math/s_ctanl.c (__ctanl): Likewise.
5167 * math/s_ctanhl.c (__ctanhl): Likewise.
5168
203e5603
JM
51692012-09-25 Joseph Myers <joseph@codesourcery.com>
5170
5171 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5172 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5173 (_IO_off_t): Define to __off_t, not _G_off_t.
5174 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5175 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5176 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5177 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5178 type of __dummy and __dummy2 fields.
5179 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5180 (_G_ssize_t): Likewise.
5181 (_G_off_t): Likewise.
5182 (_G_pid_t): Likewise.
5183 (_G_uid_t): Likewise.
5184 (_G_wchar_t): Likewise.
5185 (_G_wint_t): Likewise.
5186 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5187 (_G_ssize_t): Likewise.
5188 (_G_off_t): Likewise.
5189 (_G_pid_t): Likewise.
5190 (_G_uid_t): Likewise.
5191 (_G_wchar_t): Likewise.
5192 (_G_wint_t): Likewise.
5193 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5194 (_G_ssize_t): Likewise.
5195 (_G_off_t): Likewise.
5196 (_G_pid_t): Likewise.
5197 (_G_uid_t): Likewise.
5198 (_G_wchar_t): Likewise.
5199 (_G_wint_t): Likewise.
5200
9fab36eb
SP
52012012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5202
5203 * malloc/arena.c: Include malloc-sysdep.h.
5204 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5205 is sufficient to shrink the heap or an unmap is needed.
5206 * sysdeps/generic/malloc-sysdep.h: New file. Define
5207 new function check_may_shrink_heap.
5208 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5209 new function check_may_shrink_heap.
5210
2b4f00d1
SP
52112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5212
5213 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5214 comments.
5215
9a9028b1
DL
52162012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5217
57c69bef
DL
5218 * catgets/test-gencat.sh: Add "set -e".
5219 * elf/tst-pathopt.sh: Likewise.
5220 * grp/tst_fgetgrent.sh: Likewise.
5221 * iconvdata/run-iconv-test.sh: Likewise.
5222 * intl/tst-gettext.sh: Likewise.
5223 * intl/tst-gettext2.sh: Likewise.
5224 * intl/tst-gettext4.sh: Likewise.
5225 * intl/tst-gettext6.sh: Likewise.
5226 * intl/tst-translit.sh: Likewise.
5227 * io/ftwtest-sh: Likewise.
5228 * libio/test-freopen.sh: Likewise.
5229 * malloc/tst-mtrace.sh: Likewise.
5230 * posix/globtest.sh: Likewise.
5231 * posix/tst-getconf.sh: Likewise.
5232 * posix/wordexp-tst.sh: Likewise.
5233 * stdio-common/tst-printf.sh: Likewise.
5234 * stdio-common/tst-unbputc.sh: Likewise.
5235 * stdlib/tst-fmtmsg.sh: Likewise.
5236 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5237 * catgets/Makefile: Do not specify -e option when running
5238 testsuite shell scripts.
5239 * elf/Makefile: Likewise.
5240 * grp/Makefile: Likewise.
5241 * iconvdata/Makefile: Likewise.
5242 * intl/Makefile: Likewise.
5243 * io/Makefile: Likewise.
5244 * libio/Makefile: Likewise.
5245 * malloc/Makefile: Likewise.
5246 * posix/Makefile: Likewise.
5247 * stdio-common/Makefile: Likewise.
5248 * stdlib/Makefile: Likewise.
5249 * sysdeps/x86_64/Makefile: Likewise.
5250
9a9028b1
DL
5251 * io/ftwtest-sh: Add copyright header.
5252 * posix/globtest.sh: Likewise.
5253 * posix/tst-getconf.sh: Likewise.
5254 * posix/wordexp-tst.sh: Likewise.
5255 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5256
ced6f16e
L
52572012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5258
94b32c39
L
5259 [BZ #13679]
5260 * Makeconfig (+link): Defined as $(+link-static) if
5261 $(build-shared) isn't yes.
5262 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5263 isn't yes.
5264 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5265
189e935b
L
5266 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5267
ced6f16e
L
5268 [BZ #14562]
5269 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5270 new chunk size with MALLOC_ALIGN_MASK.
5271
a9f8e53a
JM
52722012-09-24 Joseph Myers <joseph@codesourcery.com>
5273
5274 [BZ #5044]
5275 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5276 <rounding-mode.h>.
5277 (__printf_fphex): Determine rounding using get_rounding_mode and
5278 round_away.
5279 * stdio-common/tst-printf-round.c (struct hex_test): New
5280 structure.
5281 (hex_tests): New variable.
5282 (test_hex_in_one_mode): New function.
5283 (do_test): Also run tests for hex float output.
5284
43153109
JM
52852012-09-21 Joseph Myers <joseph@codesourcery.com>
5286
5287 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5288 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5289 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5290 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5291 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5292 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5293 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5294 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5295
8a26625d
JM
52962012-09-20 Joseph Myers <joseph@codesourcery.com>
5297
5298 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5299 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5300 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5301 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5302
f3fd569c
DL
53032012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5304
5305 [BZ #14579]
5306 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5307 mode only.
5308 * elf/tst-rtld-load-self.sh: New test.
5309 * elf/Makefile: Run it.
5310
63bbedd4
JM
53112012-09-18 Joseph Myers <joseph@codesourcery.com>
5312
5313 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5314 (tst-writev-ENV): Remove.
5315 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5316
626f8b6a
CM
53172012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5318
5319 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5320
b7aaa4d6
JM
53212012-09-17 Joseph Myers <joseph@codesourcery.com>
5322
5323 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5324 unconditional.
5325 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5326 Likewise.
5327 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5328 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5329 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5330 Likewise.
5331
65513990
L
53322012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5333
5334 [BZ #14587]
5335 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5336 * config.make.in (have-cpp-asm-debuginfo): Removed.
5337 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5338 * configure: Regenerated.
5339
784761be
JM
53402012-09-14 Joseph Myers <joseph@codesourcery.com>
5341
5342 [BZ #5044]
5343 * stdio-common/printf_fp.c: Include <stdbool.h> and
5344 <rounding-mode.h>.
5345 (___printf_fp): Determine rounding using get_rounding_mode and
5346 round_away.
5347 * stdio-common/tst-printf-round.c: New file.
5348 * stdio-common/Makefile (tests): Add tst-printf-round.
5349 (link-libm): New variable.
5350 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5351
9503345f
L
53522012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5353
5354 [BZ #14576]
5355 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5356 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5357 Likewise.
5358 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5359 Likewise.
5360
ad35fc00
JM
53612012-09-13 Joseph Myers <joseph@codesourcery.com>
5362
5363 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5364 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5365 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5366 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5367
6c9b0f68
JM
53682012-09-12 Joseph Myers <joseph@codesourcery.com>
5369
5370 [BZ #14518]
5371 * include/rounding-mode.h: New file.
5372 * sysdeps/generic/get-rounding-mode.h: Likewise.
5373 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5374 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5375 (MAX_VALUE): New macro.
5376 (MIN_VALUE): Likewise.
5377 (overflow_value): New function.
5378 (underflow_value): Likewise.
5379 (round_and_return): Use overflow_value and underflow_value to
5380 determine return values in overflow and underflow cases. Use
5381 round_away to determine rounding depending on rounding mode.
5382 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5383 determine return values in overflow and underflow cases.
5384 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5385 (struct test_results): New structure.
5386 (struct test): Use struct test_results to store expected results
5387 for all rounding modes.
5388 (TEST): Include expected results for all rounding modes.
5389 (test_in_one_mode): New function.
5390 (do_test): Use test_in_one_mode to compute and check results.
5391 Check results for all rounding modes.
5392 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5393 $(link-libm).
5394
19fcedd5
AM
53952012-12-09 Allan McRae <allan@archlinux.org>
5396
1e9d84cd 5397 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5398
8bbfd2f1
JM
53992012-09-11 Joseph Myers <joseph@codesourcery.com>
5400
5401 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5402 (_G_int32_t): Likewise.
5403 (_G_uint16_t): Likewise.
5404 (_G_uint32_t): Likewise.
5405 (_G_HAVE_BOOL): Likewise.
5406 (_G_HAVE_ATEXIT): Likewise.
5407 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5408 (_G_HAVE_IO_FILE_OPEN): Likewise.
5409 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5410 (_G_int32_t): Likewise.
5411 (_G_uint16_t): Likewise.
5412 (_G_uint32_t): Likewise.
5413 (_G_HAVE_BOOL): Likewise.
5414 (_G_HAVE_ATEXIT): Likewise.
5415 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5416 (_G_HAVE_IO_FILE_OPEN): Likewise.
5417 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5418 (_G_int32_t): Likewise.
5419 (_G_uint16_t): Likewise.
5420 (_G_uint32_t): Likewise.
5421 (_G_HAVE_BOOL): Likewise.
5422 (_G_HAVE_ATEXIT): Likewise.
5423 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5424 (_G_HAVE_IO_FILE_OPEN): Likewise.
5425
b1dc5912
L
54262012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5427
5428 * csu/libc-tls.c: Update copyright years.
5429
0e886ef9
JM
54302012-09-10 Joseph Myers <joseph@codesourcery.com>
5431
28361c5e
JM
5432 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5433 [!_G_USING_THUNKS]: Remove conditional code.
5434 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5435 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5436
0e886ef9
JM
5437 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5438 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5439 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5440 (_G_VTABLE_LABEL_PREFIX): Likewise.
5441 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5442 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5443 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5444 (_G_VTABLE_LABEL_PREFIX): Likewise.
5445 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5446 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5447 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5448 (_G_VTABLE_LABEL_PREFIX): Likewise.
5449 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5450
bcba7aa2
L
54512012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5452
5453 * libio/Makefile: Include ../Makeconfig before tests.
5454 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5455 only if $(build-shared) is yes.
5456
06585ee8
L
5457 * iconv/gconv_db.c: Update copyright years.
5458
80ccd52c
LD
54592012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5460
5461 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5462 unwind info if defined PIC. Fix special cases description.
5463 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5464
5465 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5466 DP_HI_MASK entry.
5467 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5468
691bc9c1
L
54692012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5470
3d9b46b3
L
5471 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5472
de2139a9
L
5473 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5474 is NULL.
5475
5ca78dd0
L
5476 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5477 (LDLIBS-tst-chk4): This.
5478 (LDFLAGS-tst-chk5): Renamed to ...
5479 (LDLIBS-tst-chk5): This.
5480 (LDFLAGS-tst-chk6): Renamed to ...
5481 (LDLIBS-tst-chk6): This.
5482 (LDFLAGS-tst-lfschk4): Renamed to ...
5483 (LDLIBS-tst-lfschk4): This.
5484 (LDFLAGS-tst-lfschk5): Renamed to ...
5485 (LDLIBS-tst-lfschk5): This.
5486 (LDFLAGS-tst-lfschk6): Renamed to ...
5487 (LDLIBS-tst-lfschk6): This.
5488
691bc9c1
L
5489 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5490 on $(common-objpfx)soversions.mk.
5491
65cafb1c
JM
54922012-09-07 Joseph Myers <joseph@codesourcery.com>
5493
5494 [BZ #10014]
5495 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5496 example host name.
5497
c78ab094
SP
54982012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5499
5500 * malloc/arena.c (arena_get_retry): New function that gets
5501 another arena for the caller to try its request on.
5502 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5503 current arena cannot fulfill the request.
5504 (__libc_memalign): Likewise.
5505 (__libc_memalign): Likewise.
5506 (__libc_pvalloc): Likewise.
5507 (__libc_calloc): Likewise.
5508
01f49f59
JT
55092012-09-05 John Tobey <john.tobey@gmail.com>
5510
5511 [BZ #13542]
5512 * manual/arith.texi (Operations on Complex): Fix description
5513 of carg branch cut.
5514
4c23fed5
JM
55152012-09-06 Joseph Myers <joseph@codesourcery.com>
5516
1d3c8572
JM
5517 [BZ #10014]
5518 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5519 host name.
5520
4c23fed5
JM
5521 [BZ #10038]
5522 * manual/memory.texi (Memory): Make order of menu items match
5523 order of sections.
5524
04570aaa
L
55252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5526
5527 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5528 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5529 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5530
b80af2f4
L
55312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5532
5533 * csu/libc-tls.c (static_dtv): Renamed to ...
5534 (_dl_static_dtv): This. Make it global.
5535 (_dl_initial_dtv): Removed.
5536 (__libc_setup_tls): Updated.
5537 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5538 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5539 DL_INITIAL_DTV.
5540
2abe9f15
PM
55412012-09-06 Petr Machata <pmachata@redhat.com>
5542
5543 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5544 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5545 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5546 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5547
0948c3af
L
55482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5549
5550 [BZ #14545]
5551 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5552 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5553 freeing dtv[-1].
5554
a5055ad1
L
55552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5556
5557 [BZ #14544]
5558 * Makeconfig (link-static-before-libc): Replace $(+prector)
5559 with $(+prectorT).
5560 (link-static-after-libc): Replace $(+postctor) with
5561 $(+postctorT).
5562 (link-bounded): Replace $(+prector)/$(+postctor) with
5563 $(+prectorT)/$(+postctorT).
5564 (+prectorT): New macro.
5565 (+postctorT): Likewise.
5566
ed8c2ecd
JM
55672012-09-06 Joseph Myers <joseph@codesourcery.com>
5568
5569 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5570 (round_str): Handle values above the maximum for IBM long double
5571 as inexact.
5572 * stdlib/tst-strtod-round.c (tests): Regenerated.
5573
14c996c8
AK
55742012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5575
5576 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5577 assembler flag.
5578 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5579 zarch_nohighgprs around the zarch optimized routines.
5580 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5581 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5582 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5583 for zarch.
5584
430d6ce6
DM
55852012-09-05 David S. Miller <davem@davemloft.net>
5586
5587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5588
ff04dda4
DM
5589 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5590 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5591 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5592 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5593 entries.
5594
24d4e01b
AO
55952012-09-05 Alexandre Oliva <aoliva@redhat.com>
5596
5597 * malloc/arena.c: Fold copyright years.
5598 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5599
61d58174
AO
56002012-09-05 Alexandre Oliva <aoliva@redhat.com>
5601
5602 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5603
20196a5e
AO
56042012-09-05 Alexandre Oliva <aoliva@redhat.com>
5605
5606 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5607
5c447383
AO
56082012-09-05 Alexandre Oliva <aoliva@redhat.com>
5609
5610 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5611 change internal state upon failure.
5612
fad64255
AO
56132012-09-05 Alexandre Oliva <aoliva@redhat.com>
5614
5615 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5616 * malloc/memusage.c (mmap): Likewise.
5617 (mmap64, mremap): Likewise. Adjust name in comment.
5618
1ffb8c90
SP
56192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5620
5621 * libio/fileops.c: Fix typos in comments.
5622 * libio/oldfileops.c: Likewise.
5623 * libio/wfileops.c: Likewise.
5624
6ef9cc37
SP
56252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5626
5627 [BZ #1349]
5628 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5629 (tst-malloc-usable-ENV): Set environment for test case.
5630 * malloc/hooks.c (malloc_check_get_size): New function to get
5631 requested size.
5632 * malloc/malloc.c (musable): Use malloc_check_get_size.
5633 * malloc/tst-malloc-usable.c: New test case.
5634
4d038ae3
AS
56352012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5636
5637 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5638
c4e85184
AM
56392012-09-05 Allan McRae <allan@archlinux.org>
5640
b9dafc56 5641 [BZ #13966]
c4e85184
AM
5642 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5643 determine header location.
5644 * configure: Regenerated.
5645
e1343020
AS
56462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5647
5648 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5649 float format.
5650 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5651 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5652 format.
e1343020
AS
5653 (test): Regenerate.
5654
0a9f1987
DM
56552012-09-04 David S. Miller <davem@davemloft.net>
5656
5657 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5658 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5659 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5660
29237804
FW
56612012-09-04 Florian Weimer <fweimer@redhat.com>
5662
5663 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5664 failures.
5665
edb3cb88
FW
5666 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5667
60160d83
JM
56682012-09-04 Joseph Myers <joseph@codesourcery.com>
5669
5670 [BZ #9914]
5671 * libio/iogetdelim.c: Include <limits.h>.
5672 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5673 + len + 1 would overflow.
5674
bcd6c8dc
AJ
56752012-09-03 Andreas Jaeger <aj@suse.de>
5676
5677 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5678 * sysdeps/i386/fpu/libm-test-ulps: Update.
5679
4ffffbd2
LD
56802012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5681
5682 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5683 Add s_sinf-sse2, s_conf-sse2.
5684
5685 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5686 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5687 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5688 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5689
5690 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5691 for using routine as __sinf_ia32.
5692 Use macro for function declaration and weak_alias.
5693 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5694 for using routine as __cosf_ia32.
5695 Use macro for function declaration and weak_alias.
5696
5697 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5698 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5699
5700 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5701 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5703
5704 * math/libm-test.inc (cos_test): Add more test cases.
5705 (sin_test): Likewise.
5706 (sincos_test): Likewise.
5707
511fa286
AK
57082012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5709
5710 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5711 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5712 hidden.
5713 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5714
5f30cfec
L
57152012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5716
5717 [BZ #14538]
5718 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5719 first element of the GOT.
5720 (elf_machine_load_address): Return the difference between
5721 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5722
0786794f
AM
57232012-09-01 Allan McRae <allan@archlinux.org>
5724
5f30cfec
L
5725 [BZ #13412]
5726 * configure.in (AWK): Require gawk version 3.0 or later.
5727 * configure: Regenerated.
0786794f 5728
26889eac
JM
57292012-09-01 Joseph Myers <joseph@codesourcery.com>
5730
5731 * sysdeps/unix/sysv/linux/kernel-features.h
5732 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5733 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5734 [__NR_clock_getres]: Make code unconditional.
5735 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5736 (clock_getcpuclockid): Remove code left unreachable by removal of
5737 conditionals.
5738 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5739 code unconditional.
5740 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5741 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5742 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5743 Make code unconditional.
5744 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5745 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5746 * sysdeps/unix/sysv/linux/clock_settime.c
5747 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5748 conditional code.
5749 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5750 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5751
d22e28b0
L
57522012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5753
5754 [BZ #14476]
5755 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5756 scripts/test-installation.pl.
5757
5758 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5759 and $ld_so_version if it is set.
5760
050af9c4
SP
57612012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5762
5763 [BZ #14516]
5764 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5765 failure if reading from procfs failed.
5766 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5767
ad845c0b
JM
57682012-08-27 Joseph Myers <joseph@codesourcery.com>
5769
5770 * sysdeps/unix/sysv/linux/kernel-features.h
5771 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5772 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5773 Remove conditional code.
5774 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5775 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5776 Remove conditional code.
5777 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5778 * sysdeps/unix/sysv/linux/i386/fxstat.c
5779 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5780 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5781 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5782 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5783 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5784 * sysdeps/unix/sysv/linux/i386/lxstat.c
5785 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5786 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5787 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5788 Remove conditional code.
5789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5790 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5791 Remove conditional code.
5792 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5793 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5794 <kernel-features.h>.
5795 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5796 Remove.
5797 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5798 Remove conditional code.
5799 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5800 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5801 Remove conditional.
5802
5dbf56af
MF
58032012-08-27 Mike Frysinger <vapier@gentoo.org>
5804
5805 [BZ #5400]
5806 * NEWS: Add fixed bug number.
5807
d6e70f43
JM
58082012-08-27 Joseph Myers <joseph@codesourcery.com>
5809
7efb4737
JM
5810 [BZ #14519]
5811 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5812 underflowing exponent in case of negative sign.
5813 * stdlib/tst-strtod-round-data: Add more tests.
5814 * stdlib/tst-strtod-round.c (tests): Regenerated.
5815
af92131a
JM
5816 [BZ #3479]
5817 * stdlib/strtod_l.c (NDIG): Remove.
5818 (HEXNDIG): Likewise.
5819 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5820 smallest representable value.
5821 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5822 lie within an exact representation of 1/2 ulp of the result.
5823 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5824 unconditionally.
5825 (TENS_P9_IDX): Define unconditionally.
5826 (TENS_P9_SIZE): Likewise.
5827 (TENS_P10_IDX): Likewise.
5828 (TENS_P10_SIZE): Likewise.
5829 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5830 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5831 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5832 entries for 10^2^13 and 10^2^14.
5833 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5834 (TENS_P13_IDX): Define.
5835 (TENS_P13_SIZE): Likewise.
5836 (TENS_P14_IDX): Likewise.
5837 (TENS_P14_SIZE): Likewise.
5838 (_fpioconst_pow10): Change array size to
5839 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5840 unconditional.
5841 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5842 1024]: Add entries for 10^2^13 and 10^2^14.
5843 [LAST_POW10 > _LAST_POW10]: Remove #error.
5844 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5845 (_fpioconst_pow10): Change array size to
5846 FPIOCONST_POW10_ARRAY_SIZE.
5847 * stdlib/gen-fpioconst.c: New file.
5848 * stdlib/gen-tst-strtod-round.c: Likewise.
5849 * stdlib/tst-strtod-round-data: Likewise.
5850 * stdlib/tst-strtod-round.c: Likewise.
5851 * stdlib/Makefile (tests): Add tst-strtod-round.
5852
d6e70f43
JM
5853 [BZ #14459]
5854 * stdlib/strtod_l.c: Include <stdint.h>.
5855 (NDEBUG): Do not define.
5856 (round_and_return): Change EXPONENT parameter to type intmax_t.
5857 Rearrange calculations to avoid internal overflow possibilities.
5858 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5859 Rearrange calculations to avoid internal overflow possibilities.
5860 Assert that number fits inside MPNSIZE limbs.
5861 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5862 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5863 calculations and add assertions to avoid internal overflow
5864 possibilities. Add casts to avoid signed/unsigned operations.
5865 * stdlib/tst-strtod-overflow.c: New file.
5866 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5867
1f529f7d
MP
58682012-08-25 Marek Polacek <polacek@redhat.com>
5869
5870 * time/time.h: Fix some typos in comments.
5871
59a629f1
RM
58722012-08-23 Roland McGrath <roland@hack.frob.com>
5873
5874 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5875 * posix/tst-rfc3484-2.c: Likewise.
5876 * posix/tst-rfc3484-3.c: Likewise.
5877
d3bafbc9
SM
58782012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5879
5880 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5881 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5882
4efcc022
JM
58832012-08-23 Joseph Myers <joseph@codesourcery.com>
5884
5885 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5886 #include of fxstatat64.c.
5887
3cc3ef96
RM
58882012-08-22 Roland McGrath <roland@hack.frob.com>
5889
f04e2132
RM
5890 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5891 * shadow/getspent_r.c: Likewise.
5892 * shadow/getspnam.c: Likewise.
5893 * shadow/getspnam_r.c: Likewise.
5894 * gshadow/getsgent.c: Likewise.
5895 * gshadow/getsgent_r.c: Likewise.
5896 * gshadow/getsgnam.c: Likewise.
5897 * gshadow/getsgnam_r.c: Likewise.
5898 * inet/getnetbyad.c: Likewise.
5899 * inet/getnetbyad_r.c: Likewise.
5900 * inet/getnetbynm.c: Likewise.
5901 * inet/getnetbynm_r.c: Likewise.
5902 * inet/getnetent.c: Likewise.
5903 * inet/getnetent_r.c: Likewise.
5904 * inet/getproto.c: Likewise.
5905 * inet/getproto_r.c: Likewise.
5906 * inet/getprtent.c: Likewise.
5907 * inet/getprtent_r.c: Likewise.
5908 * inet/getprtname.c: Likewise.
5909 * inet/getprtname_r.c: Likewise.
5910 * inet/getrpcbyname.c: Likewise.
5911 * inet/getrpcbyname_r.c: Likewise.
5912 * inet/getrpcbynumber.c: Likewise.
5913 * inet/getrpcbynumber_r.c: Likewise.
5914 * inet/getrpcent.c: Likewise.
5915 * inet/getrpcent_r.c: Likewise.
5916 * inet/getaliasent.c: Likewise.
5917 * inet/getaliasent_r.c: Likewise.
5918 * inet/getaliasname.c: Likewise.
5919 * inet/getaliasname_r.c: Likewise.
5920 * nscd/getgrgid_r.c: Likewise.
5921 * nscd/getgrnam_r.c: Likewise.
5922 * nscd/gethstbyad_r.c: Likewise.
5923 * nscd/gethstbynm3_r.c: Likewise.
5924 * nscd/getpwnam_r.c: Likewise.
5925 * nscd/getpwuid_r.c: Likewise.
5926 * nscd/getsrvbynm_r.c: Likewise.
5927 * nscd/getsrvbypt_r.c: Likewise.
5928 * nscd/gai.c: Likewise.
5929
c53d909c
RM
5930 * configure.in (build_nscd): New substituted variable, set
5931 by --disable-build-nscd and defaults to $use_nscd.
5932 * configure: Regenerated.
5933 * config.make.in (build-nscd): New substituted variable.
5934 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5935 Change conditional to require [$(build-nscd) = yes] as well.
5936 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5937
3cc3ef96
RM
5938 [BZ# 13696]
5939 * configure.in (use_nscd): New substituted variable, set by
5940 --disable-nscd. If enabled, define USE_NSCD.
5941 * configure: Regenerated.
5942 * config.h.in: Add USE_NSCD.
5943 * config.make.in (use-nscd): New substituted variable.
5944 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5945 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5946 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5947 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5948 (CFLAGS-getgrnam_r.c): Likewise.
5949 (CFLAGS-initgroups.c): Likewise.
5950 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5951 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5952 Variables removed.
5953 * inet/getnetgrent_r.c
5954 (nscd_setnetgrent): New function, broken out of ...
5955 (setnetgrent): ... here. Call it.
5956 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5957 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5958 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5959 * nscd/Makefile (routines, aux): Move definitions after include of
5960 Makeconfig. Conditionalize on [$(use-nscd) != no].
5961 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5962 Conditionalize on [USE_NSCD].
5963 (is_nscd, nscd_init_cb): Likewise.
5964 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5965 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5966 * nss/nss_db/db-init.c: Likewise.
5967 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5968 [USE_NSCD].
5969 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5970 (make_request): Use it.
5971 (cache_valid_p): New function.
5972 (__check_pf): Use it.
5973 * NEWS: Add item for --disable-nscd.
5974
07e51550
DL
59752012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5976
5977 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5978 to support sed >= 4.2.1-20-ga9bf076.
5979 * configure: Regenerated.
5980
35a5b08b
RM
59812012-08-22 Roland McGrath <roland@hack.frob.com>
5982
5983 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5984 Conditionalize whole body on [IREL].
5985
8479f23a
JL
59862012-08-22 Jeff Law <law@redhat.com>
5987
5988 [BZ #14505]
5989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5990 if the family is PF_UNSPEC.
5991
48da0b21
MF
59922012-08-22 Mike Frysinger <vapier@gentoo.org>
5993
5994 * Makerules (lib-version): Rename from V.
5995 (install-lib-nosubdir): Change V to lib-version.
5996
15d0da8c
WS
59972012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5998
5999 [BZ #14252]
6000 * powerpc32/power6/wcschr.c: New file.
6001 * powerpc32/power6/wcscpy.c: New file.
6002 * powerpc32/power6/wcsrchr.c: New file.
6003 * powerpc64/power6/wcschr.c: New file.
6004 * powerpc64/power6/wcscpy.c: New file.
6005 * powerpc64/power6/wcsrchr.c: New file.
6006
bcca0895
MK
60072012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6008
6009 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
6010 (two_way_short_needle): Use it.
5a4aaa33
RM
6011 * string/strstr.c (AVAILABLE1_USES_J): Define.
6012 * string/strcasestr.c: Likewise.
99677e57
MK
6013
6014 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
6015 array references.
6016 * string/strcasestr.c (TOLOWER): Make side-effect safe.
6017
400726de
MK
6018 [BZ #11607]
6019 * NEWS: Add an entry.
6020 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
6021 define their defaults.
6022 (two_way_short_needle): Detect end-of-string on-the-fly.
6023 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
6024 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
6025 * string/bug-strcasestr1.c: New test.
6026 * string/Makefile: Run it.
6027
20a71f2c
MK
60282012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
6029
6030 [BZ #11607]
6031 * string/str-two-way.h (two_way_short_needle): Optimize matching of
6032 the first character.
6033
21ad0558
RM
60342012-08-21 Roland McGrath <roland@hack.frob.com>
6035
6036 * csu/elf-init.c (__libc_csu_irel): Function removed.
6037 * csu/libc-start.c (apply_irel): New function.
6038 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
6039
0e1d9911
JM
60402012-08-21 Joseph Myers <joseph@codesourcery.com>
6041
6042 * sysdeps/unix/sysv/linux/kernel-features.h
6043 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
6044 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6045 <kernel-features.h>.
6046 [__NR_fadvise64_64]: Make code unconditional.
6047 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
6048 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6049 !__NR_fadvise64_64)]: Likewise.
6050 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
6051 !__NR_fadvise64_64))]: Likewise.
6052 [__NR_fadvise64]: Make code unconditional.
6053 [!__NR_fadvise64]: Remove conditional code.
6054 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
6055 <kernel-features.h>.
6056 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6057 unconditional.
6058 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6059 conditional code.
6060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
6061 not include <kernel-features.h>.
6062 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6063 unconditional.
6064 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6065 conditional code.
6066 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
6067 include <kernel-features.h>.
6068 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
6069 unconditional.
6070 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
6071 conditional code.
6072
14a50c9d
WS
60732012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6074
6075 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
6076 slight instruction rearrangements per scrollpipe analysis.
6077 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
6078
c0f4faf0
RM
60792012-08-20 Roland McGrath <roland@hack.frob.com>
6080
696da859
RM
6081 * manual/syslog.texi (syslog; vsyslog, closelog):
6082 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
6083 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
6084
c0f4faf0
RM
6085 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
6086 DSOCAPS to match condition on defining it.
6087
348363b2
JM
60882012-08-20 Joseph Myers <joseph@codesourcery.com>
6089
a35cbf28
JM
6090 * sysdeps/unix/sysv/linux/kernel-features.h
6091 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
6092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
6093 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6094 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
6096 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6097 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
6099 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
6100 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
6101
445f7ecd
JM
6102 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
6103 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
6104
348363b2
JM
6105 * sysdeps/unix/sysv/linux/kernel-features.h
6106 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
6107 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
6108 unconditional.
6109 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6110 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
6111 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6112 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6113 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
6114 Make code unconditional.
6115 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6116 (__mmap64) [!__NR_mmap2]: Likewise.
6117 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
6118 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
6119 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6120 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
6121 [__NR_mmap2]: Make code unconditional.
6122 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
6123 (__mmap64) [!__NR_mmap2]: Likewise.
6124
bc5bc0e5
AK
61252012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6126
6127 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
6128
88d506de
AJ
61292012-08-18 Andreas Jaeger <aj@suse.de>
6130
6131 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
6132
493387d2
MF
61332012-08-18 Mike Frysinger <vapier@gentoo.org>
6134
6135 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
6136 * include/unistd.h (__have_sock_cloexec): Likewise.
6137 (__have_pipe2): Likewise.
6138 (__have_dup3): Likewise.
6139
a277af22
MF
61402012-08-18 Mike Frysinger <vapier@gentoo.org>
6141
6142 [BZ #9685]
6143 * include/unistd.h (__have_pipe2): Change define into an extern int.
6144 (__have_dup3): Likewise.
6145 * socket/have_sock_cloexec.c: Include fcntl.h.
6146 (__have_pipe2): New variable.
6147 (__have_dup3): Likewise.
6148
fdab8fd3
MF
61492012-08-17 Mike Frysinger <vapier@gentoo.org>
6150
6151 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
6152
31035e80
MP
61532012-08-17 Marek Polacek <polacek@redhat.com>
6154
6155 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
6156 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
6157
3bd9e993
RM
61582012-08-17 Roland McGrath <roland@hack.frob.com>
6159
c91c505f
RM
6160 * configure.in: Add AC_SUBST for sysheaders.
6161 * configure: Regenerated.
6162 * config.make.in (sysheaders): New substituted variable.
6163
7c6f9d53
RM
6164 * sysdeps/unix/mkfifo.c: Moved ...
6165 * sysdeps/posix/mkfifo.c: ... here.
6166 * sysdeps/unix/mkfifoat.c: Moved ...
6167 * sysdeps/posix/mkfifoat.c: ... here.
6168
6169 * sysdeps/unix/utime.c: Moved ...
6170 * sysdeps/posix/utime.c: ... here.
6171
6172 * sysdeps/unix/time.c: Moved ...
6173 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6174 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6175 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6176
6177 * sysdeps/unix/nice.c: Moved ...
6178 * sysdeps/posix/nice.c: ... here.
6179
6180 * sysdeps/unix/alarm.c: Moved ...
6181 * sysdeps/posix/alarm.c: ... here.
6182
3bd9e993
RM
6183 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6184
d1f09384
JL
61852012-08-17 Jeff Law <law@redhat.com>
6186
6187 * intl/Makefile (codeset_mo): New variable.
6188 ($(codeset_mo)): New target.
6189 (tst-codeset.out): Depend on that. Remove explicit rule.
6190 (tst-gettext3.out, tst-gettext5.out): Likewise.
6191 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6192 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6193 * intl/tst-codeset.sh: Remove.
6194 * intl/tst-gettext3.sh: Likewise.
6195 * intl/tst-gettext5.sh: Likewise.
6196
2ae1ae5c
RM
61972012-08-17 Roland McGrath <roland@hack.frob.com>
6198
c31fdb83
RM
6199 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6200 * sysdeps/unix/syscalls.list: ... here.
6201
a0844057
RM
6202 * sysdeps/posix/getaddrinfo.c
6203 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6204 (gaiconf_init, gaiconf_reload): Use them.
6205 [!_STATBUF_ST_NSEC]
6206 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6207 Define using time_t rather than struct timespec.
6208
750c1f2a
RM
6209 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6210 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6211 Macros removed.
6212 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6213 [!NO_THREADS].
6214 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6215 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6216 Likewise.
6217
2ae1ae5c
RM
6218 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6219 __libc_cleanup_push argument.
6220
e66a42f5
RM
6221 * bits/param.h: New file.
6222 * misc/sys/param.h: New file.
6223 * include/sys/param.h: New file.
6224 * misc/Makefile (headers): Add bits/param.h.
6225 * sysdeps/generic/sys/param.h: File removed.
6226 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6227 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6228 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6229 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6230
b7c08a66
RM
6231 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6232 last change.
6233
b2e1c562
RM
6234 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6235 [_IO_MTSAFE_IO].
6236 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6237 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6238 New macros.
6239
c75ccd4c
RM
6240 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6241 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6242 rather than -D_IO_MTSAFE_IO conditionally.
6243 * stdio-common/Makefile (CPPFLAGS): Likewise.
6244 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6245 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6246 Use $(libio-mtsafe).
6247 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6248 of -D_IO_MTSAFE_IO.
6249 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6250 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6251 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6252 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6253 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6254 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6255 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6256 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6257 (CFLAGS-fread_u_chk.c): Likewise.
6258 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6259 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6260 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6261 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6262 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6263 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6264 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6265 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6266 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6267
6268 * libio/Makefile: Test [$(libc-reentrant) = yes]
6269 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6270
6271 * Makeconfig
6272 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6273 * sysdeps/pthread/configure: File removed.
6274 * sysdeps/pthread/Makeconfig: New file.
6275 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6276 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6277
d9195db8
GB
62782012-08-16 Gary Benson <gbenson@redhat.com>
6279
6280 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6281 unmapping the first object in a namespace.
6282
86466cd9
RM
62832012-08-16 Roland McGrath <roland@hack.frob.com>
6284
6285 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6286 (__internal_setnetgrent): ... this. Add internal_function to
6287 definition. Add libc_hidden_def.
6288 (setnetgrent): Update caller.
6289 (internal_endnetgrent): Renamed to ...
6290 (__internal_endnetgrent): ... this. Add internal_function to
6291 definition. Add libc_hidden_def.
6292 (endnetgrent): Update caller.
6293 (internal_getnetgrent_r): Renamed to ...
6294 (__internal_getnetgrent_r): ... this. Add internal_function to
6295 definition. Add libc_hidden_def.
6296 (__getnetgrent_r): Update caller.
6297 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6298
c3c8283c
JM
62992012-08-16 Joseph Myers <joseph@codesourcery.com>
6300
6301 * stdlib/longlong.h: Update from GCC.
6302
db1ee0a8
RM
63032012-08-16 Roland McGrath <roland@hack.frob.com>
6304
6305 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6306 on _QL, which is set by umul_ppmm but never used.
6307 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6308 variables, which are set by GMP macros but never used.
6309 * stdio-common/_itowa.c (_itowa): Likewise.
6310 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6311 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6312
30f69637
CD
63132012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6314
6315 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6316 struct La_sh_regs is not constant.
6317 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6318 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6319 and struct La_sparc64_regs are not constant.
6320
93a78ac4
JM
63212012-08-16 Joseph Myers <joseph@codesourcery.com>
6322
6323 * sysdeps/unix/sysv/linux/kernel-features.h
6324 (__ASSUME_POSIX_TIMERS): Remove.
6325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6326 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6327 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6328 Make code unconditional.
6329 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6330 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6331 Make code unconditional.
6332 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6333 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6334 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6335 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6336 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6337 Make code unconditional.
6338 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6339 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6340 (__libc_missing_posix_timers): Remove.
6341
dd924cd7
RM
63422012-08-15 Roland McGrath <roland@hack.frob.com>
6343
4b4f2771
RM
6344 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6345 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6346
601c888b
RM
6347 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6348
176790a7
RM
6349 * elf/dl-sym.c: Include <stdlib.h>.
6350
329bc018
RM
6351 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6352 constants, which avoids warnings in 32-bit builds.
6353
e04e272d
RM
6354 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6355 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6356
952bf94a
RM
6357 * misc/lseek.c: File moved to ...
6358 * io/lseek.c: ... here.
6359
7c99b50a
RM
6360 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6361
dd924cd7
RM
6362 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6363 shifting LEN more than 31 bits at once.
6364
b3f479a8
LD
63652012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6366
6367 [BZ #14195]
8c4ae0d4
RM
6368 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6369 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6370 * string/test-strncasecmp.c (check1): Renamed to...
6371 (bz12205): ...this.
6372 (bz14195): Add new testcase for two empty input strings and N > 0.
6373 (test_main): Call new testcase, adapt for renamed function.
6374
9c55864e
AJ
63752012-08-15 Andreas Jaeger <aj@suse.de>
6376
6377 [BZ #14090]
6378 * crypt/md5test2.c: New test, based on test supplied by Serge
6379 Belyshev <belyshev@depni.sinp.msu.ru>.
6380 * crypt/Makefile (xtests): Add md5test-giant..
6381 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6382
02dcb6c5
PE
63832012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6384
6385 [BZ #14090]
6386 * crypt/md5.c (md5_process_block): Don't assume the buffer
6387 length is less than 2**32.
6388 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6389 length is less than 2**64.
6390
a3f95dcc
RM
63912012-08-15 Roland McGrath <roland@hack.frob.com>
6392
be75d758
RM
6393 * string/str-two-way.h: Include <sys/param.h>.
6394 (MAX): Macro removed.
6395
7312ca90
RM
6396 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6397 Move #define and #undef of memmove to just before and after
6398 including <string.h>.
6399
9a0a5486
RM
6400 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6401 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6402 and after including <string.h>. Move declarations of
6403 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6404 to before #include "string/memmove.c".
6405
67cc348d
RM
6406 * include/dirent.h: Declare __getdirentries.
6407
a3f95dcc
RM
6408 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6409 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6410
ca98e171
MF
64112012-08-14 Mike Frysinger <vapier@gentoo.org>
6412
6413 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6414 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6415 * sysdeps/i386/configure: Regenerated.
6416 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6417 STABS_CURRENT_FILE, and STABS_FUN.
6418 (END): Remove call to STABS_FUN_END.
6419 (STABS_CURRENT_FILE1): Delete.
6420 (STABS_CURRENT_FILE): Likewise.
6421 (STABS_FUN): Likewise.
6422 (STABS_FUN_END): Likewise.
6423 (STABS_FUN2): Likewise.
6424 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6425 * sysdeps/x86_64/configure: Regenerated.
6426
5908bf46
RM
64272012-08-14 Roland McGrath <roland@hack.frob.com>
6428
6429 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6430 * elf/dl-lookup.c: Likewise.
5908bf46 6431
f2c05b9e
JM
64322012-08-14 Joseph Myers <joseph@codesourcery.com>
6433
6434 * sysdeps/unix/sysv/linux/kernel-features.h
6435 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6436 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6437 unconditionally.
6438 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6439 unconditionally.
6440 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6441 condition on __ASSUME_CLONE_THREAD_FLAGS.
6442
e11f5155
AJ
64432012-08-14 Andreas Jaeger <aj@suse.de>
6444
6445 * sysdeps/i386/fpu/libm-test-ulps: Update.
6446
51a9ba86
MK
64472012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6448
2fdd4f78
AJ
6449 * include/atomic.h (atomic_exchange_and_add): Split into ...
6450 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6451 New atomic macros.
51a9ba86 6452
ba6cba9e
MT
64532012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6454
6455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6456
42443a47
JL
64572012-08-13 Jeff Law <law@redhat.com>
6458
6459 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6460 null byte in the output string.
6461
121dce05
JM
64622012-08-10 Joseph Myers <joseph@codesourcery.com>
6463
6464 * sysdeps/unix/sysv/linux/kernel-features.h
6465 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6466 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6467 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6468 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6469 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6470 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6471 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6472
bf51f568
JL
64732012-08-09 Jeff Law <law@redhat.com>
6474
6475 [BZ #13939]
6476 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6477 When avoid_arena is set, don't retry in the that arena. Pick the
6478 next one, whatever it might be.
6479 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6480 (arena_lock): Pass in new parameter to arena_get2.
6481 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6482 arena_get2.
6483 (__libc_malloc): Unify retrying after main arena failure with
6484 __libc_memalign version.
6485 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6486
f85fa270
L
64872012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6488
6489 [BZ #14166]
6490 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6491 to __redirect_strstr.
6492 (__strstr_sse42): Use typeof __redirect_strstr.
6493 (__strstr_ia32): Likewise.
6494 (__libc_strstr): New prototype.
6495 (strstr): Renamed to ...
6496 (__libc_strstr): This.
6497 (strstr): New strong alias of __libc_strstr.
6498 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6499 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6500 __redirect_time.
6501 Include <time.h>.
6502 (__libc_time): New prototype.
6503 (time_ifunc): Replace time with __libc_time.
6504 (time): New strong alias and hidden definition of __libc_time.
6505 (__GI_time): Remove strong alias.
6506 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6507 Include <stddef.h>.
6508 (memmove): Redefined to __redirect_memmove.
6509 (__memmove_sse2): Use typeof __redirect_memmove.
6510 (__memmove_ssse3): Likewise.
6511 (__memmove_ssse3_back): Likewise.
6512 (__libc_memmove): New prototype.
6513 (memmove): Renamed to ...
6514 (__libc_memmove): This.
6515 (memmove): New strong alias of __libc_memmove.
6516
33b4a91e
MS
65172012-08-08 Mark Salter <msalter@redhat.com>
6518
6519 * elf/elf.h
6520 (R_MN10300_TLS_GD): Define.
6521 (R_MN10300_TLS_LD): Likewise.
6522 (R_MN10300_TLS_LDO): Likewise.
6523 (R_MN10300_TLS_GOTIE): Likewise.
6524 (R_MN10300_TLS_IE): Likewise.
6525 (R_MN10300_TLS_LE): Likewise.
6526 (R_MN10300_TLS_DTPMOD): Likewise.
6527 (R_MN10300_TLS_DTPOFF): Likewise.
6528 (R_MN10300_TLS_TPOFF): Likewise.
6529 (R_MN10300_SYM_DIFF): Likewise.
6530 (R_MN10300_ALIGN): Likewise.
6531 (R_MN10300_NUM): Update.
6532
b36137f1
JM
65332012-08-08 Joseph Myers <joseph@codesourcery.com>
6534
6535 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6536 Remove.
6537
cdd915fd
RM
65382012-08-08 Roland McGrath <roland@hack.frob.com>
6539
a2433aac
RM
6540 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6541
cdd915fd
RM
6542 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6543 sysdeps/unix -> sysdeps/posix move.
6544 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6545
bf9b740a
AM
65462012-08-07 Allan McRae <allan@archlinux.org>
6547
6548 [BZ #14303]
6549 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6550 (SUNOS_CPP): Likewise.
6551 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6552 not found.
6553 (open_input): Call CPP using execvp.
6554
93df14ee
JM
65552012-08-07 Joseph Myers <joseph@codesourcery.com>
6556
6557 * sysdeps/unix/sysv/linux/kernel-features.h
6558 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6559 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6560 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6561 (__ASSUME_WAITID_SYSCALL): Likewise.
6562 * sysdeps/unix/sysv/linux/dl-execstack.c
6563 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6564 code unconditional.
6565 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6566 conditional code.
6567 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6568 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6569 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6570 code.
6571 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6572 unconditional.
6573 [__ASSUME_WAITID_SYSCALL]: Likewise.
6574 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6575
d34689de
RM
65762012-08-07 Roland McGrath <roland@hack.frob.com>
6577
a281decc
RM
6578 * sysdeps/unix/closedir.c: Renamed to ...
6579 * sysdeps/posix/closedir.c: ... here.
6580 * sysdeps/unix/dirfd.c: Renamed to ...
6581 * sysdeps/posix/dirfd.c: ... here.
6582 * sysdeps/unix/dirstream.h: Renamed to ...
6583 * sysdeps/posix/dirstream.h: ... here.
6584 * sysdeps/unix/fdopendir.c: Renamed to ...
6585 * sysdeps/posix/fdopendir.c: ... here.
6586 * sysdeps/unix/opendir.c: Renamed to ...
6587 * sysdeps/posix/opendir.c: ... here.
6588 * sysdeps/unix/readdir.c: Renamed to ...
6589 * sysdeps/posix/readdir.c: ... here.
6590 * sysdeps/unix/readdir_r.c: Renamed to ...
6591 * sysdeps/posix/readdir_r.c: ... here.
6592 * sysdeps/unix/rewinddir.c: Renamed to ...
6593 * sysdeps/posix/rewinddir.c: ... here.
6594 * sysdeps/unix/seekdir.c: Renamed to ...
6595 * sysdeps/posix/seekdir.c: ... here.
6596 * sysdeps/unix/telldir.c: Renamed to ...
6597 * sysdeps/posix/telldir.c: ... here.
6598 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6599 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6600 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6601 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6602
22895b47
RM
6603 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6604 * bits/fcntl.h: ... here.
6605
707a53b6
RM
6606 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6607 not 0.
6608 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6609 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6610 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6611 (struct flock): Move l_start, l_len to the beginning.
6612 Use __pid_t for l_pid.
6613 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6614 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6615 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6616 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6617 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6618 [__USE_LARGEFILE64] (struct flock64): New type.
6619 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6620
f0bd3e25
RM
6621 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6622 * bits/dirent.h: ... here.
6623
d34689de
RM
6624 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6625 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6626
6dad2c06
JM
66272012-08-07 Joseph Myers <joseph@codesourcery.com>
6628
6629 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6630 Change from 2.6.0 to 2.6.16.
6631 * sysdeps/unix/sysv/linux/configure: Regenerated.
6632 * sysdeps/unix/sysv/linux/kernel-features.h
6633 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6634 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6635 version.
6636 (__ASSUME_UTIMES): Likewise.
6637 (__ASSUME_CLONE_STOPPED): Remove.
6638 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6639 architectures, not kernel version.
6640 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6641 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6642 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6643 (__ASSUME_WAITID_SYSCALL): Likewise.
6644 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6645 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6646 * README: State 2.6.16 as minimum Linux kernel version. Do not
6647 refer to older versions.
6648
03af9520
RM
66492012-08-06 Roland McGrath <roland@hack.frob.com>
6650
8e49df1d
RM
6651 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6652 Define alphasort64 as an alias.
6653 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6654 Define versionsort64 as an alias.
6655 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6656 Define scandir64 as an alias.
6657 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6658 Define scandirat64 as an alias.
6659 * dirent/alphasort64.c (alphasort64):
6660 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6661 * dirent/versionsort64.c: Likewise.
6662 * dirent/scandir64.c: Likewise.
6663 * dirent/scandirat64.c: Likewise.
6664 * sysdeps/wordsize-64/alphasort.c: File removed.
6665 * sysdeps/wordsize-64/alphasort64.c: File removed.
6666 * sysdeps/wordsize-64/scandir.c: File removed.
6667 * sysdeps/wordsize-64/scandir64.c: File removed.
6668 * sysdeps/wordsize-64/scandirat.c: File removed.
6669 * sysdeps/wordsize-64/scandirat64.c: File removed.
6670 * sysdeps/wordsize-64/versionsort.c: File removed.
6671 * sysdeps/wordsize-64/versionsort64.c: File removed.
6672 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6673 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6674 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6675 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6676 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6677 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6678 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6679 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6680
6681 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6682 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6683 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6685 [defined __arch64__ || defined __sparcv9]
6686 (__INO_T_MATCHES_INO64_T): New macro.
6687 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6688 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6689 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6690 * sysdeps/unix/sysv/linux/bits/dirent.h
6691 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6692 (_DIRENT_MATCHES_DIRENT64): New macro.
6693
03af9520
RM
6694 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6695 Define lockf64 as an alias.
6696 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6697 Define fseeko64 as an alias.
6698 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6699 Define ftello64 as an alias.
6700 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6701 Define _IO_fgetpos64 and fgetpos64 as aliases.
6702 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6703 Define _IO_fsetpos64 and fsetpos64 as aliases.
6704 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6705 Conditionalize body on this.
6706 * libio/fseeko64.c: Likewise.
6707 * libio/ftello64.c: Likewise.
6708 * libio/iofgetpos64.c: Likewise.
6709 * libio/iofsetpos64.c: Likewise.
6710 * sysdeps/wordsize-64/lockf.c: File removed.
6711 * sysdeps/wordsize-64/lockf64.c: File removed.
6712 * sysdeps/wordsize-64/fseeko.c: File removed.
6713 * sysdeps/wordsize-64/fseeko64.c: File removed.
6714 * sysdeps/wordsize-64/ftello.c: File removed.
6715 * sysdeps/wordsize-64/ftello64.c: File removed.
6716 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6717 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6718 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6719 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6720 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6721 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6722 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6723 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6724 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6725 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6726 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6727 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6728 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6729 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6730
6731 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6733 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6734 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6735 [defined __arch64__ || defined __sparcv9]
6736 (__OFF_T_MATCHES_OFF64_T): New macro.
6737 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6738 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6740 (__OFF_T_MATCHES_OFF64_T): New macro.
6741
c5757acd
L
67422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6743
6744 * stdlib/secure-getenv.c (__secure_getenv): Replace
6745 GLIBC_2_16 with GLIBC_2_17.
6746
3a31811e
L
67472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6748
6749 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6750 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6751
faa2bccb
DM
67522012-08-03 David S. Miller <davem@davemloft.net>
6753
6754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6755
85fe1997
JM
67562012-08-03 Joseph Myers <joseph@codesourcery.com>
6757
6758 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6759 Remove.
6760 (__ASSUME_CORRECT_SI_PID): Likewise.
6761 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6762 (__ASSUME_TMPFS_NAME): Likewise.
6763 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6764 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6765 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6766 (HAVE_AUX_SECURE): Make definition unconditional.
6767 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6768 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6769
4f75b7a0
RM
67702012-08-03 Roland McGrath <roland@hack.frob.com>
6771
6772 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6773 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6774 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6775 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6776 __eloop_threshold instead of SYMLOOP_MAX.
6777
6778 * sysdeps/generic/eloop-threshold.h: New file.
6779 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6780 of MAXSYMLINKS.
6781 * elf/chroot_canon.c (chroot_canon): Likewise.
6782
7aab07e4
JM
67832012-08-03 Joseph Myers <joseph@codesourcery.com>
6784
6785 [BZ #13717]
6786 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6787 Change to 2.6.0 everywhere.
6788 * sysdeps/unix/sysv/linux/configure: Regenerated.
6789 * sysdeps/unix/sysv/linux/kernel-features.h
6790 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6791 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6792 kernel versions.
6793 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6794 (__ASSUME_FUTEX_REQUEUE): Remove.
6795 (__ASSUME_STATFS64): Define unconditionally.
6796 (__ASSUME_AT_SECURE): Likewise.
6797 (__ASSUME_CORRECT_SI_PID): Likewise.
6798 (__ASSUME_TGKILL): Define without depending on kernel version for
6799 i386.
6800 (__ASSUME_UTIMES): Likewise.
6801 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6802 kernel version.
6803 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6804 (__ASSUME_TMPFS_NAME): Likewise.
6805 * README: Update reference to Linux kernel versions.
6806
b67e9372
MP
68072012-08-02 Marek Polacek <polacek@redhat.com>
6808
1f529f7d 6809 [BZ# 14150]
b67e9372
MP
6810 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6811 libc_cv_asm_type_prefix with %.
6812 * configure: Regenerated.
d2441631
RM
6813 * include/libc-symbols.h: Remove comment about
6814 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6815 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6816 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6817 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6818 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6819 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6820 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6821 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6822 * elf/tst-unique2mod1.c: Likewise.
6823 * elf/tst-unique1mod2.c: Likewise.
6824 * elf/tst-unique1mod1.c: Likewise.
6825 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6826 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6827 Replace ASM_TYPE_DIRECTIVE with .type.
6828 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6829 * sysdeps/i386/sysdep.h: Likewise.
6830 * sysdeps/x86_64/sysdep.h: Likewise.
6831 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6833 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6834 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6835 * sysdeps/powerpc/powerpc32/sysdep.h:
6836 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6837 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6838 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6839 * sysdeps/i386/fpu/e_powf.S: Likewise.
6840 * sysdeps/i386/fpu/e_expl.S: Likewise.
6841 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6842 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6843 * sysdeps/i386/fpu/e_pow.S: Likewise.
6844 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6845 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6846 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6847 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6848 * sysdeps/i386/fpu/e_log2.S: Likewise.
6849 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6850 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6851 * sysdeps/i386/fpu/e_powl.S: Likewise.
6852 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6853 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6854 * sysdeps/i386/fpu/e_logl.S: Likewise.
6855 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6856 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6857 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6858 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6859 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6860 * sysdeps/i386/fpu/e_log.S: Likewise.
6861 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6862 * sysdeps/i386/fpu/e_logf.S: Likewise.
6863 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6864 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6865 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6866 * sysdeps/i386/fpu/e_log10.S: Likewise.
6867 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6868 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6869 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6870 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6871 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6872 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6873 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6874 * sysdeps/i386/i686/strtok.S: Likewise.
6875 * sysdeps/i386/i386-mcount.S: Likewise.
6876 * sysdeps/i386/strtok.S: Likewise.
6877 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6878 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6879 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6880 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6881 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6882 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6883 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6884 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6885 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6886 * sysdeps/x86_64/_mcount.S: Likewise.
6887 * sysdeps/x86_64/strtok.S: Likewise.
6888 * sysdeps/sh/_mcount.S: Likewise.
6889
2747bf9a
RM
68902012-08-01 Roland McGrath <roland@hack.frob.com>
6891
6892 * libio/iofopen.c: Include <fcntl.h>.
6893 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6894 (_IO_fopen64, fopen64): Define as aliases.
6895 * libio/iofopen64.c: Include <fcntl.h>.
6896 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6897 Conditionalize body on this.
6898 * sysdeps/wordsize-64/iofopen.c: File removed.
6899 * sysdeps/wordsize-64/iofopen64.c: File removed.
6900
3fb791b8
MP
69012012-08-01 Marek Polacek <polacek@redhat.com>
6902
6903 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6904 Use dlfcn directly instead of a variable.
6905 (binfmt-subdir): Do not define.
6906 (dlfcn): Likewise.
6907
a9f1039f
JM
69082012-08-01 Joseph Myers <joseph@codesourcery.com>
6909
23bddc06
JM
6910 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6911 Remove all definitions.
6912 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6913 <kernel-features.h>.
6914 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6915 (miss_F_GETOWN_EX): Remove all definitions.
6916 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6917 macro definition.
6918 [!__ASSUME_FCNTL64]: Remove conditional code.
6919 [__ASSUME_FCNTL64]: Make code unconditional.
6920 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6921 <kernel-features.h>.
6922 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6923 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6924 (lockf64) [__NR_fcntl64]: Make code unconditional.
6925 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6926
a9f1039f
JM
6927 * sysdeps/unix/sysv/linux/kernel-features.h
6928 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6929 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6930 Make code unconditional.
6931 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6932 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6934 [__NR_vfork]: Make code unconditional.
6935 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6936 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6938 [__NR_vfork]: Make code unconditional.
6939 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6940 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6941
09c0ee5f
RM
69422012-08-01 Roland McGrath <roland@hack.frob.com>
6943
48aec5b9
RM
6944 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6945 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6946
cd97c966
RM
6947 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6948 Define mkstemp64 as an alias.
3f55550c
RM
6949 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6950 Define mkstemps64 as an alias.
cd97c966
RM
6951 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6952 Define mkostemp64 as an alias.
b8625cfc
RM
6953 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6954 Define mkostemps64 as an alias.
cd97c966
RM
6955 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6956 Conditionalize body on this.
6957 * misc/mkostemp64.c: Likewise.
b8625cfc 6958 * misc/mkostemps64.c: Likewise.
3f55550c 6959 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6960 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6961 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6962 * sysdeps/wordsize-64/mkostemp.c: File removed.
6963 * sysdeps/wordsize-64/mkstemp.c: File removed.
6964 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6965 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6966 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6967 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6968
09c0ee5f
RM
6969 [BZ #14138]
6970 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6971 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6972 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6973 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6974
6975 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6976 compat_symbol macros from <shlib-compat.h> rather than the underlying
6977 default_symbol_version and symbol_version macros, so that DEFAULT
6978 lines in shlib-versions are respected.
6979 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6980
7e66ee51
FW
69812012-08-01 Florian Weimer <fweimer@redhat.com>
6982
6983 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6984 Declare with warn_unused_result.
6985 (setgid, setregid, setegid, setresgid): Likewise.
6986 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6987 Likewise.
6988 * WUR-REPORT: Remove set*id functions.
6989
d2a54255
PT
69902012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6991
6992 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6993
7ecdb005
RM
69942012-07-31 Roland McGrath <roland@hack.frob.com>
6995
789bd351
RM
6996 * include/sys/socket.h (__libc_accept, __libc_accept4):
6997 Add attribute_hidden.
6998 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6999
40ce302d
RM
7000 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
7001 use of PTR_MANGLE.
7002 * inet/getnetgrent_r.c (setup): Likewise.
7003
7ecdb005
RM
7004 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
7005
e2eabb2c
DM
70062012-07-31 David S. Miller <davem@davemloft.net>
7007
7008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7009
d0419dbf
JM
70102012-07-31 Joseph Myers <joseph@codesourcery.com>
7011
7012 [BZ #13629]
7013 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
7014 value between 1.0 and 2.0 and smaller part has absolute value less
7015 than 1.0.
7016 * math/s_clog10.c (__clog10): Likewise.
7017 * math/s_clog10f.c (__clog10f): Likewise.
7018 * math/s_clog10l.c (__clog10l): Likewise.
7019 * math/s_clogf.c (__clogf): Likewise.
7020 * math/s_clogl.c (__clogl): Likewise.
7021 * math/libm-test.inc (clog_test): Add more tests.
7022 (clog10_test): Likewise.
7023 * sysdeps/i386/fpu/libm-test-ulps: Update.
7024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7025
2bc13872
FW
70262012-07-31 Florian Weimer <fweimer@redhat.com>
7027
7028 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
7029 Exit with zero in case no suitable GID is found, and write a
7030 message to standard error.
7031
bea9b193
RM
70322012-07-30 Roland McGrath <roland@hack.frob.com>
7033
7034 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
7035 rather than to 1.
7036 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
7037 (MAXPATHLEN): Removed.
7038 (NOGROUP, NODEV): New macros.
7039 (setbit, clrbit, isset, isclr): New macros.
7040 (howmany, roundup, powerof2): New macros.
7041 (DEV_BSIZE): New macro.
7042
7043 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
7044 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
7045
7046 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
7047 definition on [!__NO_LONG_DOUBLE_MATH].
7048
7049 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
7050 PTR_MANGLE and PTR_DEMANGLE.
7051
7052 * socket/accept4.c (accept4): Rename to __libc_accept4.
7053 Define accept4 as a weak alias.
7054
7055 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
7056 on [_DIRENT_HAVE_D_TYPE].
7057 * io/ftw.c (ftw_dir): Likewise.
7058
7059 * io/xmknod.c (__xmknod): Don't check PATH for being null.
7060
7061 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
7062
7063 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
7064 Use the BSD numbers rather than the arbitrary ones we had.
7065 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
7066 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
7067 (SIGXCPU, SIGXFSZ): New macros.
7068 (_NSIG): Now 32.
7069
7070 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
7071 initializer on [_LIBC_REENTRANT].
7072
7073 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
7074 definitions inside [_POSIX_MAPPED_FILES].
7075
7076 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
7077
7078 * dirent/opendir.c: Include <fcntl.h>.
7079
7080 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
7081 (__libc_getspecific): Likewise.
7082 (__libc_key_create): Likewise.
7083
7084 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
7085 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
7086 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
7087 (tmpfile64): Define as alias.
7088 * sysdeps/wordsize-64/tmpfile.c: File removed.
7089 * sysdeps/wordsize-64/tmpfile64.c: File removed.
7090 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
7091 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
7092
7093 * stdio-common/vfscanf.c: Include <stdbool.h>.
7094 * nss/makedb.c: Likewise.
7095 * stdio-common/_i18n_number.h: Likewise.
7096 * argp/argp-help.c: Likewise.
7097 * posix/wordexp.c: Likewise.
7098 * sysdeps/posix/spawni.c: Likewise.
7099 * nss/nss_files/files-initgroups.c: Likewise.
7100 * stdio-common/reg-modifier.c: Include <stdlib.h>.
7101 * nss/nss_files/files-initgroups.c: Likewise.
7102 * nss/nss_db/db-netgrp.c: Likewise.
7103 * nss/nss_db/db-initgroups.c: Likewise.
7104 * io/fchmodat.c: Include <sys/stat.h>.
7105
7106 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
7107 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
7108
7109 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
7110 [HAVE_MMAP].
7111
7112 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
7113 Add multiple inclusion protection.
7114
e5abc686
DM
71152012-07-27 David S. Miller <davem@davemloft.net>
7116
7117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7118
815e6fa3
GB
71192012-07-27 Gary Benson <gbenson@redhat.com>
7120
7121 [BZ #14298]
7122 * elf/rtld.c: Include <stap-probe.h>.
7123 (dl_main): Added static probes "init_start" and "init_complete".
7124 * elf/dl-load.c: Include <stap-probe.h>.
7125 (lose): Take new parameter "nsid".
7126 Added static probe "map_failed".
7127 (_dl_map_object_from_fd): Pass namespace id to lose.
7128 Added static probe "map_start".
7129 (open_verify): Pass namespace id to lose.
7130 * elf/dl-open.c: Include <stap-probe.h>.
7131 (dl_open_worker) Added static probes "map_complete", "reloc_start"
7132 and "reloc_complete".
7133 * elf/dl-close.c: Include <stap-probe.h>.
7134 (_dl_close_worker): Added static probes "unmap_start" and
7135 "unmap_complete".
7136 * elf/rtld-debugger-interface.txt: New file documenting the above.
7137
9f98c16c
RM
71382012-07-26 Roland McGrath <roland@hack.frob.com>
7139
7140 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
7141 rather than a string variable.
7142 * sunrpc/rpc_main.c (h_output): Likewise.
7143 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
7144
f3c22df3
PT
71452012-07-26 Pino Toscano <toscano.pino@tiscali.it>
7146
7147 * inet/check_native.c: New file.
7148
3129cfc6
JM
71492012-07-26 Joseph Myers <joseph@codesourcery.com>
7150
da865e95
JM
7151 [BZ #13629]
7152 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
7153 if larger part has absolute value 1.0.
7154 * math/s_clog10.c (__clog10): Likewise.
7155 * math/s_clog10f.c (__clog10f): Likewise.
7156 * math/s_clog10l.c (__clog10l): Likewise.
7157 * math/s_clogf.c (__clogf): Likewise.
7158 * math/s_clogl.c (__clogl): Likewise.
7159 * math/libm-test.inc (clog_test): Add more tests.
7160 (clog10_test): Likewise.
7161 * sysdeps/i386/fpu/libm-test-ulps: Update.
7162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7163
3129cfc6
JM
7164 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7165 (pltexit): Likewise.
7166 (La_regs): Likewise.
7167 (La_retval): Likewise.
7168 (int_retval): Likewise.
7169 Update #error for removed macros to refer only to definitions in
7170 tst-audit.h.
7171 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7172 macro.
7173 (pltexit): Likewise.
7174 (La_regs): Likewise.
7175 (La_retval): Likewise.
7176 (int_retval): Likewise.
7177 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7178 macro.
7179 (pltexit): Likewise.
7180 (La_regs): Likewise.
7181 (La_retval): Likewise.
7182 (int_retval): Likewise.
7183 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7184 macro.
7185 (pltexit): Likewise.
7186 (La_regs): Likewise.
7187 (La_retval): Likewise.
7188 (int_retval): Likewise.
7189 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7190 macro.
7191 (pltexit): Likewise.
7192 (La_regs): Likewise.
7193 (La_retval): Likewise.
7194 (int_retval): Likewise.
7195 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7196 macro.
7197 (pltexit): Likewise.
7198 (La_regs): Likewise.
7199 (La_retval): Likewise.
7200 (int_retval): Likewise.
7201 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7202 macro.
7203 (pltexit): Likewise.
7204 (La_regs): Likewise.
7205 (La_retval): Likewise.
7206 (int_retval): Likewise.
7207 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7208 macro definitions in tst-audit.h.
7209 * sysdeps/i386/tst-audit.h: New file.
7210 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7211 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7212 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7213 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7214 * sysdeps/sh/tst-audit.h: Likewise.
7215 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7216 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7217 * sysdeps/x86_64/tst-audit.h: Likewise.
7218
bfc07087
AJ
72192012-07-26 Andreas Jaeger <aj@suse.de>
7220
b1b2aaf8
AJ
7221 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7222 ptrace.
7223
7224 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7225 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7226 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7227 PTRACE_O_MASK.
7228 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7229 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7230 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7231
bfc07087
AJ
7232 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7233 value.
7234
7235 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7236 _sigsys.
7237 (si_call_addr, si_syscall, si_arch): Define new macro.
7238 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7239 _sigsys.
7240 (si_call_addr, si_syscall, si_arch): Define new marcro.
7241 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7242 _sigsys.
7243 (si_call_addr, si_syscall, si_arch): Define new macro.
7244 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7245 _sigsys.
7246 (si_call_addr, si_syscall, si_arch): Define new macro.
7247
89b4b02f
JM
72482012-07-25 Joseph Myers <joseph@codesourcery.com>
7249
7250 [BZ #13717]
7251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7252 Change to 2.4.21 where previously 2.4.1.
7253 * sysdeps/unix/sysv/linux/configure: Regenerated.
7254 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7255 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7256 Linux kernel version.
7257 (__ASSUME_STD_AUXV): Remove.
7258 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7259 kernel version.
7260 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7261 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7262 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7263 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7264 (__ASSUME_NETLINK_SUPPORT): Likewise.
7265 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7266 (__no_netlink_support): Remove conditional definition.
7267 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7268 Remove.
7269 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7270 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7271 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7272 (if_nameindex_ioctl): Remove.
7273 (if_nameindex_netlink): Do not handle __no_netlink_support.
7274 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7275 code.
7276 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7277 Remove conditional code.
7278 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7279 code.
7280 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7281 unconditional.
7282 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7283 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7284 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7285 Remove.
7286 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7287 [!__ASSUME_STD_AUXV]: Remove conditional code.
7288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7289 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7290 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7292 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7293 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7294 code.
7295 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7297 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7298 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7299 conditional code.
7300 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7302 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7303 code.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7305 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7306 conditional code.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7308 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7309 code unconditional.
7310 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7311 conditional code.
7312 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7313 unconditional.
7314 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7315 conditional code.
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7317 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7318 unconditional.
7319 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7320 conditional code.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7322 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7323 code unconditional.
7324 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7325 conditional code.
7326 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7327 unconditional.
7328 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7329 conditional code.
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7331 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7332 code unconditional.
7333 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7334 conditional code.
7335 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7336 unconditional.
7337 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7338 conditional code.
7339
842a39cd
AS
73402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7341
7342 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7343 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7344 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7345 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7346 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7347 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7348 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7349 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7350 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7351 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7352 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7353 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7354 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7355 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7356 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7357 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7358 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7359 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7360 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7361 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7362 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7363 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7364 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7365
84b3fd84
FW
73662012-07-25 Florian Weimer <fweimer@redhat.com>
7367
7368 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7369 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7370 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7371 Introduce __libc_secure_getenv.
0c7936d5
FW
7372 * stdlib/Versions (2.17): Add secure_getenv
7373 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7374 * stdlib/secure-getenv.c: Rename __secure_getenv to
7375 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7376 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7377 * stdlib/tst-secure-getenv.c: New.
7378 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7379 * manual/startup.texi (Environment Access): Document
7380 secure_getenv.
84b3fd84
FW
7381 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7382 __libc_secure_getenv.
7383 * inet/ruserpass.c (ruserpass): Likewise.
7384 * malloc/mtrace.c (mtrace): Likewise.
7385 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7386 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7387 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7388 * sysdeps/posix/tempname.c: Likewise. Evaluate
7389 HAVE_SECURE_GETENV.
7390 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7391 __secure_getenv to __libc_secure_getenv.
84b3fd84 7392 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7394 Likewise.
7395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7396 Likewise.
7397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7399 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7404
56e49b71
JM
74052012-07-25 Joseph Myers <joseph@codesourcery.com>
7406
7407 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7408 (struct La_i86_retval): Likewise.
7409 (struct La_x86_64_regs): Likewise.
7410 (struct La_x86_64_retval): Likewise.
7411 (struct La_x32_regs): Likewise.
7412 (struct La_x32_retval): Likewise.
7413 (struct La_ppc32_regs): Likewise.
7414 (struct La_ppc32_retval): Likewise.
7415 (struct La_ppc64_regs): Likewise.
7416 (struct La_ppc64_retval): Likewise.
7417 (struct La_sh_regs): Likewise.
7418 (struct La_sh_retval): Likewise.
7419 (struct La_s390_32_regs): Likewise.
7420 (struct La_s390_32_retval): Likewise.
7421 (struct La_s390_64_regs): Likewise.
7422 (struct La_s390_64_retval): Likewise.
7423 (struct La_sparc32_regs): Likewise.
7424 (struct La_sparc32_retval): Likewise.
7425 (struct La_sparc64_regs): Likewise.
7426 (struct La_sparc64_retval): Likewise.
7427 (struct audit_ifaces): Remove architecture-specific pltenter and
7428 pltexit members.
7429 * sysdeps/i386/ldsodefs.h: New file.
7430 * sysdeps/powerpc/ldsodefs.h: Likewise.
7431 * sysdeps/s390/ldsodefs.h: Likewise.
7432 * sysdeps/sh/ldsodefs.h: Likewise.
7433 * sysdeps/sparc/ldsodefs.h: Likewise.
7434 * sysdeps/x86_64/ldsodefs.h: Likewise.
7435
354691b7
MP
74362012-07-25 Marek Polacek <polacek@redhat.com>
7437
7438 [BZ #6808]
7439 * math/libm-test.inc (yn_test): Add another test.
7440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7441 to ERANGE when the result is +-Inf.
7442 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7443 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7444 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7445 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7446
bf9e2071
JM
74472012-07-24 Joseph Myers <joseph@codesourcery.com>
7448
7449 * conform/data/time.h-data (NULL): Use macro-constant. Require
7450 equal to 0.
7451 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7452 clock_t.
7453 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7454
57633811
TS
74552012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7456
7457 * configure.in <sysdeps resolving>: Correct printing
7458 Implies_before.
7459 * configure: Regenerate.
7460
c23c33b0
TS
74612012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7462
7463 * math/w_ilogb.c: Include <limits.h>.
7464 * math/w_ilogbl.c: Likewise.
7465
b5982523
JM
74662012-07-20 Joseph Myers <joseph@codesourcery.com>
7467
7468 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7469 va_copy. Document allowing for unavailable va_copy only as
7470 pre-C99 compatibility.
7471 * manual/string.texi (Copying and Concatenation): Use va_copy
7472 instead of __va_copy in concat example.
7473
ac4ea442
PT
74742012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7475
7476 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7477 (__sendto): Use create_address_port. Initialize APORT and deallocate
7478 it if not null.
7479
f98eafbd
PT
7480 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7481 with O_NOLINK passed to __file_name_lookup.
7482
898c7aab
PT
7483 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7484 with O_NOLINK passed to __file_name_lookup.
7485
0ced335a
PT
7486 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7487 negative N or less than NGIDS.
7488
b3404dbd
PT
7489 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7490 type to string_t. Set ERANGE as errno and return it if NAME is not big
7491 enough. Use memcpy instead of strncpy.
7492
0f48659e
JM
74932012-07-20 Joseph Myers <joseph@codesourcery.com>
7494
7495 * elf/Makefile (check-data): Remove.
7496 (localplt.data): New vpath directive.
7497 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7498 instead of $(check-data).
7499 * scripts/data/localplt-generic.data: Move to ...
7500 * sysdeps/generic/localplt.data: ... here.
7501 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7502 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7503 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7505 ... here.
7506 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7508 ... here.
7509 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7511 ... here.
7512 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7513 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7514 ... here.
7515 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7517 ... here.
7518 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7520 ... here.
7521
d37cbdaa
AZ
75222012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7523
7524 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7525 PPC32 and PPC64 files.
7526 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7527 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7528
46f85fc2
AK
75292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7530
7531 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7532 __makecontext_ret to ...
7533 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7534 ... here and call exit if uc_link is NULL. New file.
7535 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7536 __makecontext_ret.S.
7537 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7538 __makecontext_ret to ...
7539 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7540 ... here and call exit if uc_link is NULL. New file.
7541 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7542 __makecontext_ret.S.
7543
08f43f9b
AK
75442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7545
7546 * elf/elf.h (R_390_IRELATIVE): New definition.
7547 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7548 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7549 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7550 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7551 (elf_machine_lazy_rel): Likewise.
7552 * sysdeps/s390/dl-irel.h: New file.
7553 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7554 * sysdeps/s390/s390-64/memset.S: New asm code.
7555 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7556 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7557 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7558 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7559 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7560 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7561 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7562 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7563 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7564 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7565 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7566 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7567 * sysdeps/s390/s390-32/memset.S: New asm code.
7568 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7569
3b05db33
MP
75702012-07-17 Marek Polacek <polacek@redhat.com>
7571
7572 [BZ #14349]
7573 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7574 * sysdeps/s390/s390-64/configure.in: Likewise.
7575 * sysdeps/sparc/configure.in: Likewise.
7576 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7577 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7578 * sysdeps/i386/configure.in: Likewise.
7579 * sysdeps/x86_64/configure.in: Likewise.
7580 * sysdeps/sh/configure.in: Likewise.
7581 * sysdeps/s390/s390-32/configure: Regenerated.
7582 * sysdeps/s390/s390-64/configure: Likewise.
7583 * sysdeps/x86_64/configure: Likewise.
7584 * sysdeps/sh/configure: Likewise.
7585 * sysdeps/powerpc/powerpc64/configure: Likewise.
7586 * sysdeps/powerpc/powerpc32/configure: Likewise.
7587 * sysdeps/sparc/configure: Likwise.
7588 * sysdeps/i386/configure: Likewise.
7589
a66877c6
MP
7590 * elf/dl-open.c: Comment fixes.
7591
cfc82fd8
JM
75922012-07-17 Joseph Myers <joseph@codesourcery.com>
7593
bd29910a
JM
7594 * Makefile [CXX] (check-data): Remove.
7595 [CXX] (c++-types.data): New vpath directive.
7596 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7597 vpath. Do not allow for C++ type data being missing.
7598 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7599 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7600 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7601 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7602 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7603 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7604 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7606 ... here.
7607 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7609 ... here.
7610 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7612 ... here.
7613 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7615 ... here.
7616 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7618 ... here.
7619 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7621 ... here.
7622 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7624 ... here.
7625 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7627
cfc82fd8
JM
7628 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7629 definitions to architecture-specific files.
7630 (TLS_IE): Likewise.
7631 (TLS_LD): Likewise.
7632 (TLS_GD): Likewise.
7633 * sysdeps/i386/tls-macros.h: New file.
7634 * sysdeps/powerpc/tls-macros.h: Likewise.
7635 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7636 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7637 * sysdeps/sh/tls-macros.h: Likewise.
7638 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7639 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7640 * sysdeps/x86_64/tls-macros.h: Likewise.
7641
f7db3170
TS
76422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7643
07cbfc23
TS
7644 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7645 zero value for regular exit case.
7646
f7db3170
TS
7647 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7648 (__start_context): Preserve zero value for regular exit case.
7649
dc97c227
TS
76502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7651 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7652
7653 * manual/setjmp.texi (setcontext): Clarify normal process
7654 termination when uc_link is the null pointer.
7655 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7656 exit call.
7657
d0cd7d02
AS
76582012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7659
7660 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7661 preprocessor. Test for each exception mask separately.
7662
dd318934
AJ
76632012-07-16 Andreas Jaeger <aj@suse.de>
7664
7665 * po/ru.po: Update from translation team.
7666
8048311a
JM
76672012-07-15 Joseph Myers <joseph@codesourcery.com>
7668
7669 * conform/data/string.h-data (NULL): Use macro-constant. Require
7670 equal to 0.
7671 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7672 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7673 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7674 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7676
b637d46e
AJ
76772012-07-13 Andreas Jaeger <aj@suse.de>
7678
7679 * po/fr.po: Update from translation team.
7680
541428fe
MP
76812012-07-12 Marek Polacek <polacek@redhat.com>
7682
7683 [BZ #14173]
7684 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7685 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7686 loop condition.
7687
ec332e94
JM
76882012-07-12 Joseph Myers <joseph@codesourcery.com>
7689
7690 [BZ #13717]
7691 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7692 Change to 2.4.1 where previously 2.4.0.
7693 * sysdeps/unix/sysv/linux/configure: Regenerated.
7694 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7695 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7696 version.
7697 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7698 (__ASSUME_AT_CLKTCK): Remove.
7699 (__ASSUME_AT_PAGESIZE): Likewise.
7700 (__ASSUME_AT_XID): Likewise.
7701 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7702 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7703 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7704 unconditionally.
7705 (HAVE_AUX_PAGESIZE): Likewise.
7706 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7707 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7708 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7709
7b6e99be
JB
77102012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7711
7712 [BZ #14307]
7713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7714 the temporary buffer used to invoke __gethostbyname2_r,
7715 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7716 host_data / struct gaih_addrtuple.
7717 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7718 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7719 header file nss/nsswitch.h.
7720 * nss/nsswitch.h (global scope): Add definition of implementation
7721 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7722 resolv/nss_dns/dns-host.c).
7723
608404eb
AJ
77242012-07-11 Andreas Jaeger <aj@suse.de>
7725
7726 * po/fr.po: Update from translation team.
7727
71220aca
AJ
7728 * po/sv.po: Update from translation team
7729 * po/fr.po: Another update from translation team.
7730
28cfe843
AZ
77312012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7732
7733 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7734 for subnormals or multiply small sinh result by itself.
7735 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7737
6b90f981
DM
77382012-07-11 David S. Miller <davem@davemloft.net>
7739
7740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7741
c6825772
AS
77422012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7743
7744 [BZ #14347]
7745 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7746 (INTERNAL_MARK): Shift it here.
7747
7b8e0d49
MP
77482012-07-10 Marek Polacek <polacek@redhat.com>
7749
7750 [BZ #14151]
7751 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7752 libc_cv_asm_global_directive with .globl.
7753 * configure: Regenerated.
7754 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7755 with .globl.
7756 * sysdeps/i386/configure: Regenerated.
7757 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7758 with .globl.
7759 * sysdeps/x86_64/configure: Regenerated.
7760 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7761 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7762 * elf/tst-unique2mod2.c: Likewise.
7763 * elf/tst-unique2mod1.c: Likewise.
7764 * elf/tst-unique1mod2.c: Likewise.
7765 * elf/tst-unique1mod1.c: Likewise.
7766 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7767 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7768 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7769 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7770 * sysdeps/mach/sysdep.h: Likewise.
7771 * sysdeps/i386/sysdep.h: Likewise.
7772 * sysdeps/i386/i386-mcount.S: Likewise.
7773 * sysdeps/x86_64/_mcount.S: Likewise.
7774 * sysdeps/x86_64/sysdep.h: Likewise.
7775 * sysdeps/sh/_mcount.S: Likewise.
7776 * sysdeps/sh/sysdep.h: Likewise.
7777 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7778 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7779 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7780 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7781 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7782 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7783 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7784 * locale/localeinfo.h: Likewise.
7785 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7786 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7787
6c55cda3
RM
77882012-07-09 Roland McGrath <roland@hack.frob.com>
7789
7790 [BZ #14336]
7791 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7792 system".
7793 * manual/message.texi (The Uniforum approach): Likewise.
7794 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7795 (glibc iconv Implementation): Likewise.
7796
638a572e
JM
77972012-07-09 Joseph Myers <joseph@codesourcery.com>
7798
7799 [BZ #14337]
7800 * math/s_clog.c (__clog): Avoid scaling a value down where that
7801 could result in underflow.
7802 * math/s_clog10.c (__clog10): Likewise.
7803 * math/s_clog10f.c (__clog10f): Likewise.
7804 * math/s_clog10l.c (__clog10l): Likewise.
7805 * math/s_clogf.c (__clogf): Likewise.
7806 * math/s_clogl.c (__clogl): Likewise.
7807 * math/libm-test.inc (clog_test): Add more tests.
7808 (clog10_test): Likewise.
7809 * sysdeps/i386/fpu/libm-test-ulps: Update.
7810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7811
261f4859
AS
78122012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7813
0abaf3e4
AS
7814 [BZ #14283]
7815 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7816 by 7 not 8 to examine high bit of fractional part.
7817
261f4859
AS
7818 [BZ #14042]
7819 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7820 for call to __mcount_internal.
7821 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7822 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7823 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7824
f17ac40d
JM
78252012-07-06 Joseph Myers <joseph@codesourcery.com>
7826
9ad63c23
JM
7827 [BZ #14154]
7828 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7829 approximation for values within 0x1p-13f of an odd multiple of
7830 pi/4.
7831 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7832 exception. Add more tests.
7833 * sysdeps/i386/fpu/libm-test-ulps: Update.
7834
f17ac40d
JM
7835 [BZ #6778]
7836 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7837 inputs and return -1 for them. Do not check for +Inf in case not
7838 reachable for +Inf.
7839 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7840 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7841 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7842 and return -1 for them. Do not check for +Inf in case not
7843 reachable for +Inf.
7844 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7845 define.
7846 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7847 and return -1 for them. Do not check for +Inf in case not
7848 reachable for +Inf.
7849 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7850 spurious underflow.
7851 * sysdeps/i386/fpu/libm-test-ulps: Update.
7852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7853
fb21f89b
MF
78542012-07-06 Mike Frysinger <vapier@gentoo.org>
7855
7856 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7857
cdfe2c5e
JM
78582012-07-05 Joseph Myers <joseph@codesourcery.com>
7859
7860 [BZ #14157]
7861 [BZ #14331]
7862 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7863 could result in spurious underflow. Scale down values above
7864 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7865 * math/s_csqrtf.c (__csqrtf): Likewise.
7866 * math/s_csqrtl.c (__csqrtl): Likewise.
7867 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7868 spurious underflow.
7869 * sysdeps/i386/fpu/libm-test-ulps: Update.
7870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7871
70d35b67
AS
78722012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7873
704bc459
AS
7874 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7875 xopen-msg.sed.
7876 * catgets/xopen-msg.awk: New file.
7877 * catgets/xopen-msg.sed: Removed.
7878
70d35b67
AS
7879 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7880 po2text.sed.
7881 * intl/po2test.awk: New file.
7882 * intl/po2test.sed: Removed.
7883
ca61cf32
JM
78842012-07-04 Joseph Myers <joseph@codesourcery.com>
7885
7886 [BZ #14328]
7887 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7888 or multiply small sinh result by itself.
7889 * math/s_ctanf.c (__ctanf): Likewise.
7890 * math/s_ctanh.c (__ctanh): Likewise.
7891 * math/s_ctanhf.c (__ctanhf): Likewise.
7892 * math/s_ctanhl.c (__ctanhl): Likewise.
7893 * math/s_ctanl.c (__ctanl): Likewise.
7894 * math/libm-test.inc (ctan_test_tonearest): New function.
7895 (ctan_test_towardzero): Likewise.
7896 (ctan_test_downward): Likewise.
7897 (ctan_test_upward): Likewise.
7898 (ctanh_test_tonearest): Likewise.
7899 (ctanh_test_towardzero): Likewise.
7900 (ctanh_test_downward): Likewise.
7901 (ctanh_test_upward): Likewise.
7902 (main): Call these new functions.
7903 * sysdeps/i386/fpu/libm-test-ulps: Update.
7904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7905
ca48a46a
MF
79062012-07-03 Mike Frysinger <vapier@gentoo.org>
7907
7908 * .gitignore: Delete /ports entry.
7909
9d63d37d
AJ
79102012-07-03 Andreas Jaeger <aj@suse.de>
7911
7912 * po/bg.po: Update from translation team.
7913 * po/cs.po: Likewise.
7914 * po/de.po: Likewise.
7915 * po/hr.po: Likewise.
7916 * po/nl.pl: Likewise.
7917 * po/pl.po: Likewise.
7918 * po/vi.po: Likewise.
7919
370ca3d2
JM
79202012-07-03 Joseph Myers <joseph@codesourcery.com>
7921
95f5a9a8
JM
7922 * Makeconfig [!+link] (+link-before-libc): New variable.
7923 [!+link] (+link-after-libc): Likewise.
7924 [!+link] (+link-tests): Likewise.
7925 [!+link] (+link): Define in terms of $(+link-before-libc) and
7926 $(+link-after-libc).
7927 [!+link-static] (+link-static-before-libc): New variable.
7928 [!+link-static] (+link-static-after-libc): Likewise.
7929 [!+link-static] (+link-static-tests): Likewise.
7930 [!+link-static] (+link-static): Define in terms of
7931 $(+link-static-before-libc) and $(+link-static-after-libc).
7932 [build-shared] (link-libc-before-gnulib): New variable.
7933 [build-shared] (link-libc-tests): Likewise.
7934 [build-shared] (link-libc): Define in terms of
7935 $(link-libc-before-gnulib).
7936 [!build-shared] (link-libc-tests): New variable.
7937 (link-libc-static-tests): New variable.
7938 [!gnulib] (gnulib-arch): New variable.
7939 [!gnulib] (gnulib-tests): Likewise.
7940 [!gnulib] (static-gnulib-arch): Likewise.
7941 [!gnulib] (static-gnulib-tests): Likewise.
7942 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7943 Define with "=" instead of ":=".
7944 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7945 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7946 * Rules (binaries-all-notests): New variable.
7947 (binaries-all-tests): Likewise.
7948 (binaries-static-notests): Likewise.
7949 (binaries-static-tests): Likewise.
7950 (binaries-all): Define using $(binaries-all-notests) and
7951 $(binaries-all-tests).
7952 (binaries-static): Define using $(binaries-static-notests) and
7953 $(binaries-static-tests).
7954 (binaries-shared-tests): New variable.
7955 (binaries-shared-notests): Likewise.
7956 (binaries-shared): Remove variable.
7957 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7958 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7959 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7960 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7961 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7962 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7963 * elf/Makefile (sln-modules): New variable.
7964 (extra-objs): Add $(sln-modules:=.o).
7965 (ldconfig-modules): Add static-stubs.
7966 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7967 * elf/static-stubs.c: New file.
7968
7a845b2c
JM
7969 [BZ #14283]
7970 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7971 by 7 not 8 to examine high bit of fractional part. Use volatile
7972 variables when splitting into final array of floats if
7973 __FLT_EVAL_METHOD__ != 0.
7974 * math/libm-test.inc (cos_test): Add another test.
7975 (sin_test): Likewise.
7976 * sysdeps/i386/fpu/libm-test-ulps: Update.
7977
e2283f38
JM
7978 [BZ #14273]
7979 * math/libm-test.inc (cosh_test): Add more tests.
7980
370ca3d2
JM
7981 * version.h (RELEASE): Set to "development".
7982 (VERSION): Set to "2.16.90".
7983
ee9247c3
CD
79842012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7985
7986 * NEWS: Update copyright. Remove last-updated date.
7987 Mention math library bug fixes and timezone data changes.
7988 * README: Mention GNU/Hurd, x32, and HPPA support status.
7989
4648c381
TS
79902012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7991
7992 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7993
aac78a43
AJ
79942012-06-27 Andreas Jaeger <aj@suse.de>
7995
7996 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7997
ed3dbfad
AJ
79982012-06-25 Andreas Jaeger <aj@suse.de>
7999
8000 * sysdeps/s390/fpu/libm-test-ulps: Update.
8001
4d0ee855
AS
80022012-06-23 Andreas Schwab <schwab@linux-m68k.org>
8003 Thomas Schwinge <thomas@codesourcery.com>
8004
8005 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
8006 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
8007 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
8008 fanotify_mark.
8009
af1bce34
TS
80102012-06-23 Thomas Schwinge <thomas@codesourcery.com>
8011
a9fa33ba
TS
8012 * sysdeps/mach/start.c: Remove file.
8013 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
8014 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
8015 * sysdeps/sh/init-first.c: Likewise.
8016
58f902b8
TS
8017 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
8018 registers for frame unwinding purposes, add CFI directives.
8019 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8020 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
8021 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
8022 Likewise.
8023
1518f58b
TS
8024 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
8025 __fortify_fail returning.
8026 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
8027
db9b5059
TS
8028 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
8029 sysdeps/sh/____longjmp_chk.S.
8030 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
8031 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
8032 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
8033 (gen-as-const-headers): Append sigaltstack-offsets.sym.
8034
967705fe
TS
8035 * sysdeps/sh/abort-instr.h: New file.
8036 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
8037 process in case exit returns.
8038
a9def8c4
TS
8039 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
8040 initialize the GOT register before use.
8041
2a649725
TS
8042 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
8043 calculation of ARGC > 4.
8044
af1bce34
TS
8045 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
8046 meaningful names to some local labels.
8047
d230f50a
KK
80482012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
8049 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8050
8051 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
8052 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
8053 (__arch_compare_and_exchange_val_16_acq): Likewise.
8054 (__arch_compare_and_exchange_val_32_acq): Likewise.
8055 (atomic_exchange_and_add): Fix gUSA sequence.
8056 (atomic_add): Likewise.
8057 (atomic_add_negative): Likewise.
8058 (atomic_add_zero): Likewise.
8059 (atomic_bit_test_set): Likewise.
8060
0479b305
AS
80612012-06-22 Andreas Schwab <schwab@redhat.com>
8062
8063 [BZ #13579]
8064 * include/link.h (struct link_map): Add l_free_initfini.
8065 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
8066 l_initfini.
8067 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
8068 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
8069 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
8070 set.
8071
0e3933b9
CD
80722012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
8073
8074 * configure.in: Use AC_LANG_SOURCE.
8075 * configure: Regenerate.
8076
4248b1b1
RM
80772012-06-22 Roland McGrath <roland@hack.frob.com>
8078
8079 * configure.in (libc_cv_localstatedir): New substituted variable.
8080 * configure: Regenerated.
8081 * config.make.in (localstatedir): New variable, substituted from
8082 libc_cv_localstatedir.
8083 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
8084 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
8085 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
8086 * sysdeps/gnu/configure: Regenerated.
8087
006dd861
JL
80882012-06-21 Jeff Law <law@redhat.com>
8089
8090 [BZ #14277]
8091 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
8092 free. Simplify list management for _LIBC case.
8093
79662d42
JM
80942012-06-21 Joseph Myers <joseph@codesourcery.com>
8095
b7abb4bf
JM
8096 [BZ #14273]
8097 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8098 Clear sign bit of 64-bit integer value before comparing against
8099 overflow value.
8100
79662d42
JM
8101 * sysdeps/mach/configure: Regenerated.
8102
1f150908
L
81032012-06-21 H.J. Lu <hongjiu.lu@intel.com>
8104
8105 [BZ #14278]
8106 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
8107
28363bbf
JL
81082012-06-21 Jeff Law <law@redhat.com>
8109
8110 [BZ #13882]
8111 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
8112 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 8113 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
8114 * elf/dl-open.c (dl_open_worker): Likewise.
8115
09615db4
CD
81162012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
8117
8118 * scripts/list-sources.sh: Scan PORTS for translations.
8119 * po/libc.pot: Regenerated.
8120
2174c6dd
AJ
81212012-06-21 Andreas Jaeger <aj@suse.de>
8122
8123 [BZ #12194]
8124 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
8125 warning.
8126 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
8127 * bits/byteswap-16.h (__bswap_16): Likewise.
8128 * bits/byteswap.h (__bswap_constant_16): Likewise.
8129
3ee947b1
L
81302012-06-18 H.J. Lu <hongjiu.lu@intel.com>
8131
8132 [BZ #14117]
a2f34833
L
8133 * sysdeps/i386/fpu_control.h: Removed.
8134 * sysdeps/x86_64/fpu_control.h: Moved to ...
8135 * sysdeps/x86/fpu_control.h: Here.
8136
3ee947b1
L
8137 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
8138 (_FPU_SETCW): Likewise.
8139
ed1825f8
L
81402012-06-15 H.J. Lu <hongjiu.lu@intel.com>
8141
25f1282a
L
8142 [BZ #14117]
8143 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
8144 * sysdeps/x86/fpu/bits/mathinline.h: This.
8145 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
8146
ed1825f8
L
8147 [BZ #14050]
8148 [BZ #14117]
8149 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
8150 functions if __x86_64__ is defined.
8151
36d54b74
CLT
81522012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
8153
8154 * string/endian.h: Add !__ASSEMBLER__ condition for including
8155 conversion interfaces.
8156
10285c21
JM
81572012-06-15 Joseph Myers <joseph@codesourcery.com>
8158
8159 [BZ #14241]
8160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8161 of ABS(x) in calculating zero to negative powers other than odd
8162 integers.
8163 * math/libm-test.inc (pow_test): Add more tests.
8164
06c5abbd
AJ
81652012-06-15 Andreas Jaeger <aj@suse.de>
8166
8167 * manual/contrib.texi (Contributors): Update entry of Liubov
8168 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8169 Machado Filho.
8170
a3aeac40
CH
81712012-06-15 Cyril Hrubis <metan@ucw.cz>
8172
8173 * string/string.h: Add __wur to GNU version of strerror_r.
8174
49bdf4c1
L
81752012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8176
8177 [BZ #14229]
8178 * string/Makefile (tests): Add tst-strtok_r.
8179 * string/tst-strtok_r.c: New file.
8180 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8181 RAX_LP/RDX_LP on SAVE_PTR.
8182
834f9b8d
RM
81832012-06-14 Roland McGrath <roland@hack.frob.com>
8184
8185 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8186
75fa1921
JM
81872012-06-14 Joseph Myers <joseph@codesourcery.com>
8188
8189 * libm_test.inc (csqrt_test): Allow more spurious underflow
8190 exceptions.
8191 (j0_test): Likewise.
8192 (j1_test): Likewise.
8193 (y0_test): Likewise.
8194 (y1_test): Likewise.
8195
771766df
CD
81962012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8197
8198 * po/Makefile (libc.pot): Use UTF-8 charset.
8199
ceb9e56b
PP
82002012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8201
8202 [BZ #14210]
8203 Suppress sign-conversion warning from FD_SET.
8204 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8205 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8206 not unsigned long int.
8207 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8208
ddb28975
L
82092012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8210
8211 [BZ #14050]
8212 [BZ #14117]
8213 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8214 __extern_always_inline instead of __extern_inline.
8215 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8216 (__signbit): Likewise.
8217 (__signbitl): Support C++ namespace.
8218 (lrintf): New inline function.
8219 (lrint): Likewise.
8220 (llrintf): Likewise.
8221 (llrint): Likewise.
8222 (fmaxf): Likewise.
8223 (fmax): Likewise.
8224 (fminf): Likewise.
8225 (fmin): Likewise.
8226 (rint): Likewise.
8227 (rintf): Likewise.
8228 (ceil): Likewise.
8229 (ceilf): Likewise.
8230 (floor): Likewise.
8231 (floorf): Likewise.
8232 (nearbyint): Likewise.
8233 (nearbyintf): Likewise.
8234
d7b4fb26
TS
82352012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8236
8237 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8238 non-default versions.
8239
eb55f5c2
RM
82402012-06-11 Roland McGrath <roland@hack.frob.com>
8241
8242 [BZ #14218]
8243 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8244
366af02c
TS
82452012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8246
99ff6e5c
TS
8247 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8248 (FE_UPWARD, FE_DOWNWARD): Don't define.
8249 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8250 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8251
366af02c
TS
8252 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8253 reading it.
8254 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8255 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8256
793ea851
KK
82572012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8258
8259 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8260 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8261 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8262 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8263
a728a38f
L
82642012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8265
8266 [BZ #14117]
c08010c7
L
8267 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8268 * sysdeps/i386/fpu/Implies: New file.
8269 * sysdeps/x86_64/fpu/Implies: Likewise.
8270 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8271 * sysdeps/x86/fpu/bits/fenv.h: This.
8272
a728a38f
L
8273 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8274 __SSE_MATH__.
8275
6e230d11
SP
82762012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8277
8278 [BZ #14134]
8279 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8280 character 0xffff that matches the last element of the
8281 conversion table.
8282
1b671feb
AZ
82832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8284
8285 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8286 fmodl commit.
8287
6043738b
AZ
82882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8289
8290 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8291 values higher than 25.6283.
8292
34ae0b32
AZ
82932012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8294
8295 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8296 subnormal exponent extraction and add some __builtin_expect.
8297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8298 Fix for subnormal mantissa calculation.
8299
1214ec8f
MF
83002012-06-04 Mike Frysinger <vapier@gentoo.org>
8301
8302 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8303 cpu2 is -1 and errno is not ENOSYS.
8304
f3d1f93c
L
83052012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8306
8307 [BZ #14117]
0e4a3cd7
L
8308 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8309 * sysdeps/x86/bits/string.h: This.
8310 * sysdeps/x86_64/bits/string.h: Removed.
8311
6704c645
L
8312 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8313 if not compiling for x86-64, but compiling for >= i486.
8314
48495318
L
8315 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8316 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8317
14adcbfc
L
8318 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8319 New macro from Linux kernel 3.4.0.
8320 (FP_XSTATE_MAGIC2): Likewise.
8321 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8322 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8323 (struct _fpx_sw_bytes): New struct.
8324 (struct _xsave_hdr): Likewise.
8325 (struct _ymmh_state): Likewise.
8326 (struct _xstate): Likewise.
8327
68e408ab
L
8328 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8329 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8330 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8331 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8332 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8333 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8334
f3d1f93c
L
8335 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8336 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8337 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8338 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8339 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8340 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8341
d9dc34cd
TMQMF
83422012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8343
8344 [BZ #13743]
8345 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8346 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8347 (sysdep_headers): Include sys/platform/ppc.h.
8348 * sysdeps/powerpc/test-gettimebase.c: Test for
8349 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8350 * manual/Makefile (appendices): Include platform.texi.
8351 * manual/contrib.texi (Contributors): Update @node pointers.
8352 * manual/maint.texi (Maintenance): Likewise.
8353 (Platform): New node.
8354 * manual/platform.texi: New file. Document the new features.
8355
4af3879c
SP
83562012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8357 Jakub Jelinek <jakub@redhat.com>
8358
8359 [BZ #14188]
8360 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8361 where __builtin_expect is unavailable.
8362
2fd6ff13
DM
83632012-06-03 David S. Miller <davem@davemloft.net>
8364
8365 * stdlib/longlong.h: Updated from GCC.
8366
173f7220
AS
83672012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8368
8369 [BZ #14042]
8370 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8371 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8372 __mcount_internal.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8374 (GLIBC_2.16): Likewise.
8375
f34a1c6f
L
83762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8379
88a4576f
JM
83802012-06-01 Joseph Myers <joseph@codesourcery.com>
8381
ea32bcdd
JM
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8383 (default-abi): New variable.
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8385 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8386 variable.
8387 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8388 Likewise.
8389 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8390 Likewise.
8391 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8392 Likewise.
8393
88a4576f
JM
8394 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8395 definition. Document in comment.
8396
402fe938
DM
83972012-06-01 David S. Miller <davem@davemloft.net>
8398
8399 * stdlib/longlong.h: Updated from GCC.
8400
3553723f
L
84012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8402
8403 [BZ #14117]
3bd872c4
L
8404 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8405 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8406 sys/debugreg.h sys/io.h here.
8407 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8408 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8409 sys/io.h.
8410 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8411 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8412 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8413 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8414 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8415 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8416
3553723f
L
8417 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8418 Define only if __x86_64__ is defined.
8419
4842e4fe
JM
84202012-06-01 Joseph Myers <joseph@codesourcery.com>
8421
c5bfe3d5
JM
8422 [BZ #14048]
8423 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8424 Use int64_t for variable i.
8425 * math/libm-test.inc (fmod_test): Add more tests.
8426
4842e4fe
JM
8427 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8428 z computation is not scheduled after fetestexcept.
8429 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8430 Use math_force_eval instead of asm to ensure calculation scheduled
8431 before exception test.
8432 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8433 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8434
efb73488
AJ
84352012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8436
8437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8438 computation is not scheduled after fetestexcept.
8439
29bcce7c
L
84402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8441
8442 [BZ #14117]
8443 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8444 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8445
73a68f94
AZ
84462012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8447
8448 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8449 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8450
67b6df78
L
84512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8452
edf2933a 8453 [BZ #14117]
ebc64a18
L
8454 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8455 <bits/wordsize.h>.
8456 (__WCHAR_MIN): Support __WORDSIZE == 64.
8457 (__WCHAR_MAX): Likewise.
8458
edf2933a
L
8459 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8460 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8461
57c6cf40
L
8462 [BZ #14183]
8463 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8464 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8465
67b6df78 8466 [BZ #14117]
8eb6281e
L
8467 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8468 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8469
aac639f4
L
8470 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8471 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8472
67b6df78
L
8473 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8474 Defined to 1 if __x86_64__ isn't defined.
8475 (_STAT_VER_LINUX_OLD): New.
8476 (st_atime): Remove duplicate.
8477 (st_mtime): Likewise.
8478 (st_ctime): Likewise.
8479
1c2cfe81
DM
84802012-05-31 David S. Miller <davem@davemloft.net>
8481
8482 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8483 entries.
8484
5be8418c
AS
84852012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8486
e7725326
AS
8487 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8488 gen-libm-test.pl.
8489
5be8418c
AS
8490 [BZ #14132]
8491 * elf/dl-reloc.c: Include <_itoa.h>.
8492 (_dl_reloc_bad_type): Remove use of INTUSE.
8493 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8494 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8495 * stdio-common/psiginfo.c (psiginfo): Likewise.
8496 * stdio-common/psignal.c (psignal): Likewise.
8497 * string/strsignal.c (strsignal): Likewise.
8498 * include/signal.h (_sys_siglist): Declare hidden proto.
8499 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8500 INTVARDEF with libc_hidden_data_def.
8501 * stdio-common/itoa-udigits.c: Likewise.
8502 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8503 (_itoa_lower_digits_internal): Remove declaration.
8504 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8505 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8506 (_sys_sigabbrev_internal): Remove aliases.
8507 (_sys_siglist): Define hidden alias.
8508
507352f1
MT
85092012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8510
8511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8512 bits/sysctl.h.
8513
42bbb1c3
L
85142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8515
8516 [BZ #14117]
6bd784b6
L
8517 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8518 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8519
8bca20f0
L
8520 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8521 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8522 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8523 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8524 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8525 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8526
f9e890a9
L
8527 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8528 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8529 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8530
471101a1
L
8531 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8532 with __addr.
8533 (insw): Likewise.
8534 (insl): Likewise.
8535 (outsb): Likewise.
8536 (outsw): Likewise.
8537 (outsl): Likewise.
8538
6451c862
L
8539 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8540 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8541 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8542
a254b8c9
L
8543 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8544 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8545 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8546 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8547 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8548 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8549
b8dfdd92
L
8550 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8551 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8552
578cd270
L
8553 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8554 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8555
de662f5f
L
8556 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8557 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8558 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8559
25653439
L
8560 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8561 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8562 to ...
8563 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8564
6bad24a0
L
8565 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8566 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8567 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8568
42bbb1c3
L
8569 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8570 for x86-64.
8571 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8572
2d10d547
JM
85732012-05-31 Joseph Myers <joseph@codesourcery.com>
8574
8575 * math/math.h (M_El): Use two more decimal places.
8576 (M_LOG2El): Likewise.
8577 (M_LOG10El): Likewise.
8578 (M_LN2l): Likewise.
8579 (M_LN10l): Likewise.
8580 (M_PIl): Likewise.
8581 (M_PI_2l): Likewise.
8582 (M_PI_4l): Likewise.
8583 (M_1_PIl): Likewise.
8584 (M_2_PIl): Likewise.
8585 (M_2_SQRTPIl): Likewise.
8586 (M_SQRT2l): Likewise.
8587 (M_SQRT1_2l): Likewise.
8588
f230c29b
DM
85892012-05-31 David S. Miller <davem@davemloft.net>
8590
8591 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8592 values between float registers.
8593 * sysdeps/sparc/sparc64/memset.S: Likewise.
8594 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8595
fed806c3
MF
85962012-05-31 Mike Frysinger <vapier@gentoo.org>
8597
8598 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8599 -D_FORTIFY_SOURCE=1.
8600 (CPPFLAGS-tst-longjmp_chk.c): Define.
8601 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8602 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8603 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8604 CFLAGS-tst-wchar-h.c.
8605
30917259
MP
86062012-05-31 Marek Polacek <polacek@redhat.com>
8607
8608 [BZ #14132]
8609 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8610 __endmntent_internal): Remove declaration.
8611 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8612 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8613 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8614
1c58d5dc
DM
86152012-05-30 David S. Miller <davem@davemloft.net>
8616
8617 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8618 (___Q_simulate_exceptions): Use real FP ops rather than writing
8619 into the %fsr.
8620 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8621 Likewise.
8622
7dc00e0d
L
86232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8624
8625 [BZ #14117]
0bd53985
L
8626 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8627 * sysdeps/x86/bits/xtitypes.h: This.
8628
3a257e66
L
8629 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8630 * sysdeps/x86/bits/wordsize.h: This.
8631
62f62904
L
8632 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8633 * sysdeps/x86/bits/huge_vall.h: This.
8634
404fe9d9
L
8635 * sysdeps/i386/bits/select.h: Removed.
8636 * sysdeps/x86_64/bits/select.h: Renamed to ...
8637 * sysdeps/x86/bits/select.h: This.
8638
d48d0446
L
8639 * sysdeps/i386/bits/setjmp.h: Removed.
8640 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8641 * sysdeps/x86/bits/setjmp.h: This.
8642
7dc00e0d
L
8643 * sysdeps/i386/bits/mathdef.h: Removed.
8644 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8645 * sysdeps/x86/bits/mathdef.h: This.
8646
03277f8f
AS
86472012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8648
8649 [BZ #14132]
8650 * include/sys/socket.h (__connect_internal)
8651 (__libc_sa_len_internal): Remove declaration.
8652 (__connect, __libc_sa_len): Declare hidden_proto.
8653 (SA_LEN): Remove use of INTUSE.
8654 * socket/connect.c: Add libc_hidden_def.
8655 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8656 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8657 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8658 alias.
8659 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8660 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8661 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8662 of adding _internal alias.
8663
13764867
L
86642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8665
8666 [BZ #14117]
6bd97696
L
8667 * sysdeps/i386/bits/link.h: Removed.
8668 * sysdeps/i386/bits/linkmap.h: Likewise.
8669 * sysdeps/x86_64/bits/link.h: Renamed to ...
8670 * sysdeps/x86/bits/link.h: This.
8671 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8672 * sysdeps/x86/bits/linkmap.h: This.
8673
f726f0bb
L
8674 * sysdeps/i386/bits/endian.h: Removed.
8675 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8676 * sysdeps/x86/bits/endian.h: This.
8677
13764867
L
8678 * sysdeps/i386/bits/byteswap.h: Removed.
8679 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8680 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8681 * sysdeps/x86/bits/byteswap.h: This.
8682 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8683 * sysdeps/x86/bits/byteswap-16.h: This.
8684 * sysdeps/i386/Implies: Add x86.
8685 * sysdeps/x86_64/Implies: Likewise.
8686
ae251b0b
DM
86872012-05-30 David S. Miller <davem@davemloft.net>
8688
8689 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8690 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8691 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8692 (FP_TRAPPING_EXCEPTIONS): Define.
8693 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8694 (FP_TRAPPING_EXCEPTIONS): Define.
8695 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8696 subnormals only when inexact has been signalled or underflow
8697 exceptions are enabled.
8698 (_FP_PACK_CANONICAL): Likewise.
8699
d5c90867
L
87002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8701
8702 [BZ #14183]
8703 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8704 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8705
63f1549e
RH
87062012-05-30 Richard Henderson <rth@twiddle.net>
8707
8d8f2279
RH
8708 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8709 with #ifndef NOT_IN_libc.
8710
63f1549e
RH
8711 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8712 marked to avoid plt entry.
8713
0ab0291b
L
87142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8715
8716 [BZ #14112]
8717 * Makeconfig (default-abi): New macro.
8718 (abi-includes): Likewise.
8719 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8720 $(abi-$(default-abi)-lib-soname) for soname if defined.
8721 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8722 abi-variants.
8723 * Makefile (installed-stubs): Likewise.
8724 * include/stubs-biarch.h: Removed.
8725 * scripts/lib-names.awk: Only handle one library at a time.
8726 * scripts/soversions.awk: Remove WORDSIZE support.
8727 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8728 entries.
8729 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8730 Removed.
8731 (syscall-list-default-condition): Likewise.
8732 (syscall-list-default-condition): Likewise.
8733 (syscall-list-includes): Likewise.
8734 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8735 syscall-list-* with abi-*. Handle undefined abi-variants.
8736 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8737 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8738 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8739 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8740 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8741 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8742 Removed.
8743 (syscall-list-32-options): Likewise.
8744 (syscall-list-32-condition): Likewise.
8745 (syscall-list-64-options): Likewise.
8746 (syscall-list-64-condition): Likewise.
8747 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8748 macro.
8749 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8750 Renamed to ...
8751 (abi-*): This.
8752 (abi-64-ld-soname): New macro.
8753 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8754 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8755 Renamed to ...
8756 (abi-*): This.
8757 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8758 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8759
4da0431d
JM
87602012-05-30 Joseph Myers <joseph@codesourcery.com>
8761
3a85279c
JM
8762 * sysdeps/unix/sysv/linux/kernel-features.h
8763 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8764 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8765 include <kernel-features.h>.
8766 [!__NR_ftruncate64]: Remove conditional code.
8767 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8768 [__NR_ftruncate64]: Make code unconditional.
8769 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8770 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8771 include <kernel-features.h>.
8772 [!__NR_ftruncate64]: Remove conditional code.
8773 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8774 [__NR_ftruncate64]: Make code unconditional.
8775 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8777 include <kernel-features.h>.
8778 [!__NR_ftruncate64]: Remove conditional code.
8779 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8780 [__NR_ftruncate64]: Make code unconditional.
8781 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8783 include <kernel-features.h>.
8784 [!__NR_ftruncate64]: Remove conditional code.
8785 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8786 [__NR_ftruncate64]: Make code unconditional.
8787 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8788
4da0431d
JM
8789 * configure.in (libc_cv_fpie): Weaken to a compile test using
8790 LIBC_TRY_CC_OPTION.
8791 * configure: Regenerated.
8792
11ef492c
AK
87932012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8794
8795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8799 Refreshed.
8800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8804 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8806 Refreshed.
8807
d66ef399
DM
88082012-05-27 David S. Miller <davem@davemloft.net>
8809
8810 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8811 (___Q_zero): New.
8812 (__Q_simulate_exceptions): Return void. Change to simulate
8813 exceptions by writing into the %fsr.
8814 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8815 (__Qp_handle_exceptions): Likewise.
8816 (numbers): Delete.
8817 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8818 __Qp_handle_exceptions.
8819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8820 __Qp_handle_exceptions.
8821 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8822 as unused and give dummy FP_RND_NEAREST initializer.
8823 (FP_INHIBIT_RESULTS): Define.
8824 (___Q_simulate_exceptions): Update declaration.
8825 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8826 formatting.
8827 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8828 as unused and give dummy FP_RND_NEAREST initializer.
8829 (__Qp_handle_exceptions): Update declaration.
8830 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8831 formatting.
8832
04fb54b5
TS
88332012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8834
8835 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8836 the temporary FPU control word.
8837 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8838 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8839 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8840 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8841 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8842 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8843 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8844 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8845 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8846 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8847 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8848
3f99608f
KK
88492012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8850
8851 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8852 fields.
8853
65a4de4e
CLT
88542012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8855
8856 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8857 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8858 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8859 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8860 Likewise.
8861 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8862 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8863 Likewise.
8864
15749d40
UD
88652012-05-27 Ulrich Drepper <drepper@gmail.com>
8866
8867 * po/h.po: Update from translation team.
8868
25dbcb27
AS
88692012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8870
3d3f8e55
AS
8871 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8872
25dbcb27
AS
8873 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8874 handling of denormals.
8875 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8876 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8877 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8878 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8880 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8881 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8882 Likewise.
8883
7ad47a80 88842012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8885
8886 [BZ #14152]
8887 * math/libm-test.inc (fma_test): Don't always expect underflow
8888 exception.
8889
9c6ea9fa
SP
88902012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8891
8892 [BZ #12416]
8893 * elf/tst-execstack.c: Include stackinfo.h.
8894 (do_test): Adjust test case to ensure that pthread_getattr_np
8895 behaviour remains the same after marking stack executable.
8896
a8239222
JM
88972012-05-25 Joseph Myers <joseph@codesourcery.com>
8898
8899 * sysdeps/unix/sysv/linux/kernel-features.h
8900 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8901 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8902 kernel-features.h.
8903 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8904 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8905 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8906 kernel-features.h.
8907 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8908 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8909
918b5606
L
89102012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8911
8912 * configure.in: Define the default includes to being none.
8913 * configure: Regenerated.
8914
3a097cc7
RM
89152012-05-25 Roland McGrath <roland@hack.frob.com>
8916
8422c9a5
RM
8917 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8918 * sysdeps/x86_64/setjmp.S: Likewise.
8919 * sysdeps/i386/bsd-setjmp.S: Likewise.
8920 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8921 * sysdeps/i386/setjmp.S: Likewise.
8922 * sysdeps/i386/__longjmp.S: Likewise.
8923 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8924 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8925
3a097cc7
RM
8926 * include/stap-probe.h: New file.
8927 * configure.in: Handle --enable-systemtap.
8928 * configure: Regenerated.
8929 * config.h.in (USE_STAP_PROBE): New #undef.
8930 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8931 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8932 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8933
21708942
JM
89342012-05-25 Joseph Myers <joseph@codesourcery.com>
8935
8936 [BZ #13717]
8937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8938 to 2.4.0 where earlier.
8939 * sysdeps/unix/sysv/linux/configure: Regenerated.
8940 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8941 <kernel-features.h>.
8942 [__ASSUME_32BITUIDS]: Make code unconditional.
8943 [!__ASSUME_32BITUIDS]: Remove conditional code.
8944 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8945 <kernel-features.h>.
8946 [__ASSUME_32BITUIDS]: Make code unconditional.
8947 [!__ASSUME_32BITUIDS]: Remove conditional code.
8948 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8949 [__ASSUME_32BITUIDS]: Make code unconditional.
8950 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8951 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8952 <kernel-features.h>.
8953 [__ASSUME_32BITUIDS]: Make code unconditional.
8954 [!__ASSUME_32BITUIDS]: Remove conditional code.
8955 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8956 <kernel-features.h>.
8957 [__ASSUME_32BITUIDS]: Make code unconditional.
8958 [!__ASSUME_32BITUIDS]: Remove conditional code.
8959 * sysdeps/unix/sysv/linux/i386/getgid.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/getgroups.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/getresgid.c: Do not include
8968 <kernel-features.h>.
8969 [__ASSUME_32BITUIDS]: Make code unconditional.
8970 [!__ASSUME_32BITUIDS]: Remove conditional code.
8971 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8972 <kernel-features.h>.
8973 [__ASSUME_32BITUIDS]: Make code unconditional.
8974 [!__ASSUME_32BITUIDS]: Remove conditional code.
8975 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8976 <kernel-features.h>.
8977 [__ASSUME_32BITUIDS]: Make code unconditional.
8978 [!__ASSUME_32BITUIDS]: Remove conditional code.
8979 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8980 <kernel-features.h>.
8981 [__ASSUME_32BITUIDS]: Make code unconditional.
8982 [!__ASSUME_32BITUIDS]: Remove conditional code.
8983 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8984 <kernel-features.h>.
8985 [__ASSUME_32BITUIDS]: Make code unconditional.
8986 [!__ASSUME_32BITUIDS]: Remove conditional code.
8987 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8988 <kernel-features.h>.
8989 [__ASSUME_32BITUIDS]: Make code unconditional.
8990 [!__ASSUME_32BITUIDS]: Remove conditional code.
8991 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8992 <kernel-features.h>.
8993 [__NR_setresgid] (__setresgid): Do not declare.
8994 [__ASSUME_32BITUIDS]: Make code unconditional.
8995 [!__ASSUME_32BITUIDS]: Remove conditional code.
8996 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8997 <kernel-features.h>.
8998 [__NR_setresuid] (__setresuid): Do not declare.
8999 [__ASSUME_32BITUIDS]: Make code unconditional.
9000 [!__ASSUME_32BITUIDS]: Remove conditional code.
9001 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
9002 <kernel-features.h>.
9003 [__ASSUME_32BITUIDS]: Make code unconditional.
9004 [!__ASSUME_32BITUIDS]: Remove conditional code.
9005 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
9006 <kernel-features.h>.
9007 [__ASSUME_32BITUIDS]: Make code unconditional.
9008 [!__ASSUME_32BITUIDS]: Remove conditional code.
9009 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
9010 <kernel-features.h>.
9011 [__ASSUME_32BITUIDS]: Make code unconditional.
9012 [!__ASSUME_32BITUIDS]: Remove conditional code.
9013 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
9014 <kernel-features.h>.
9015 [__ASSUME_32BITUIDS]: Make code unconditional.
9016 [!__ASSUME_32BITUIDS]: Remove conditional code.
9017 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
9018 <kernel-features.h>.
9019 [__ASSUME_32BITUIDS]: Make code unconditional.
9020 [!__ASSUME_32BITUIDS]: Remove conditional code.
9021 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
9022 <kernel-features.h>.
9023 [__ASSUME_32BITUIDS]: Make code unconditional.
9024 [!__ASSUME_32BITUIDS]: Remove conditional code.
9025 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
9026 <kernel-features.h>.
9027 [__ASSUME_32BITUIDS]: Make code unconditional.
9028 [!__ASSUME_32BITUIDS]: Remove conditional code.
9029 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
9030 <kernel-features.h>.
9031 [__ASSUME_32BITUIDS]: Make code unconditional.
9032 [!__ASSUME_32BITUIDS]: Remove conditional code.
9033 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
9034 <kernel-features.h>.
9035 [__ASSUME_32BITUIDS]: Make code unconditional.
9036 [!__ASSUME_32BITUIDS]: Remove conditional code.
9037 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9038 <kernel-features.h>.
9039 [__ASSUME_32BITUIDS]: Make code unconditional.
9040 [!__ASSUME_32BITUIDS]: Remove conditional code.
9041 * sysdeps/unix/sysv/linux/kernel-features.h
9042 (__ASSUME_SETRESUID_SYSCALL): Remove.
9043 (__ASSUME_SETRESGID_SYSCALL): Likewise.
9044 (__ASSUME_32BITUIDS): Likewise.
9045 (__ASSUME_LDT_WORKS): Likewise.
9046 (__ASSUME_O_DIRECTORY): Likewise.
9047 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
9048 architecture but not kernel version.
9049 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9050 (__ASSUME_MMAP2_SYSCALL): Likewise.
9051 (__ASSUME_STAT64_SYSCALL): Likewise.
9052 (__ASSUME_IPC64): Likewise.
9053 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
9054 <kernel-features.h>.
9055 [__ASSUME_32BITUIDS]: Make code unconditional.
9056 [!__ASSUME_32BITUIDS]: Remove conditional code.
9057 * sysdeps/unix/sysv/linux/opendir.c: Do not include
9058 <kernel-features.h>.
9059 [__ASSUME_O_DIRECTORY]: Make code unconditional.
9060 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
9061 132096]: Remove conditional code.
9062 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
9063 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9064 <kernel-features.h>.
9065 [__ASSUME_32BITUIDS]: Make code unconditional.
9066 [!__ASSUME_32BITUIDS]: Remove conditional code.
9067 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9068 <kernel-features.h>.
9069 [__ASSUME_32BITUIDS]: Make code unconditional.
9070 [!__ASSUME_32BITUIDS]: Remove conditional code.
9071 * sysdeps/unix/sysv/linux/setegid.c: Do not include
9072 <kernel-features.h>.
9073 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
9074 unconditional.
9075 (__setresgid): Do not declare.
9076 [__ASSUME_32BITUIDS]: Make code unconditional.
9077 [!__ASSUME_32BITUIDS]: Remove conditional code.
9078 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
9079 <kernel-features.h>.
9080 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
9081 unconditional.
9082 (__setresuid): Do not declare.
9083 [__ASSUME_32BITUIDS]: Make code unconditional.
9084 [!__ASSUME_32BITUIDS]: Remove conditional code.
9085 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9086 <kernel-features.h>.
9087 [__ASSUME_32BITUIDS]: Make code unconditional.
9088 [!__ASSUME_32BITUIDS]: Remove conditional code.
9089 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
9090 <kernel-features.h>.
9091 [__ASSUME_32BITUIDS]: Make code unconditional.
9092 [!__ASSUME_32BITUIDS]: Remove conditional code.
9093
a386f1cc
RH
90942012-05-25 Richard Henderson <rth@twiddle.net>
9095
9096 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
9097 dl_hwcap to ifunc resolver.
9098 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
9099 elf_ifunc_invoke.
9100 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
9101 dl_hwcap to ifunc resolver.
9102 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
9103
b6550497
JM
91042012-05-24 Joseph Myers <joseph@codesourcery.com>
9105
9106 [BZ #14153]
9107 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
9108 for |x| <= 2**-26, not 2**-57.
9109 * math/libm-test.inc (acos_test): Do not allow spurious underflow
9110 exception.
9111
b0bc23a1
JL
91122012-05-24 Jeff Law <law@redhat.com>
9113
9114 * stdio-common/Makefile (tests): Add bug25.
9115 * stdio-common/bug25.c: New test.
9116
347c92e9
L
91172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9118
9119 [BZ #13576]
9120 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
9121 multiple of MALLOC_ALIGNMENT in size.
9122 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
9123
6bcc8b3f
JM
91242012-05-24 Joseph Myers <joseph@codesourcery.com>
9125
9126 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
9127 Require >= 256.
9128 (FILENAME_MAX): Use macro-int-constant.
9129 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
9130 (_IOFBF): Use macro-int-constant.
9131 (_IOLBF): Likewise.
9132 (_IONBF): Likewise.
9133 (SEEK_CUR): Likewise.
9134 (SEEK_END): Likewise.
9135 (SEEK_SET): Likewise.
9136 (TMP_MAX): Likewise.
9137 (EOF): Use macro-int-constant. Require < 0.
9138 (NULL): Use macro-constant. Require == 0.
9139 (stdin): Require type to be FILE *.
9140 (stdout): Likewise.
9141 (stderr): Likewise.
9142 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
9143 macro-int-constant.
9144 (EXIT_SUCCESS): Likewise.
9145 (NULL): Use macro-constant. Require == 0.
9146 (RAND_MAX): Use macro-int-constant.
9147 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
9148 [C99-based standards] (strtof): Require function.
9149 [C99-based standards] (strtold): Likewise.
9150 [C99-based standards] (strtoll): Likewise.
9151 [C99-based standards] (strtoull): Likewise.
9152 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9153 [ISO || ISO99 || ISO11] (limits.h): Likewise.
9154 [ISO || ISO99 || ISO11] (math.h): Likewise.
9155 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
9156 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9158
d18ea0c5
AS
91592012-05-24 Andreas Schwab <schwab@linux-m68k.org>
9160
9161 [BZ #14132]
56d25bb8
AS
9162 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9163 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9164 * intl/dgettext.c (DCGETTEXT): Likewise.
9165 * intl/gettext.c (DCGETTEXT): Likewise.
9166 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9167 * posix/regex_internal.h (gettext): Likewise.
9168 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9169 Remove declaration.
9170 * include/argz.h (__argz_count_internal)
9171 (__argz_stringify_internal): Remove declaration.
9172 (__argz_count, __argz_stringify): Declare hidden proto.
9173 * intl/dcgettext.c: Remove use of INTDEF.
9174 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9175 * string/argz-stringify.c: Likewise.
9176 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9177 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9178 Declare hidden proto.
d18ea0c5
AS
9179 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9180 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9181 Declare hidden proto.
9182 * include/stdio.h (__asprintf_internal): Don't declare.
9183 (__asprintf): Don't define as macro. Declare hidden proto.
9184 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9185 (__fsetlocking): Declare hidden proto.
9186 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9187 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9188 hidden proto.
9189 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9190 (_IO_setlinebuf): Remove use of INTUSE.
9191 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9192 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9193 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9194 Remove declaration.
9195 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9196 (_IO_do_flush): Remove use of INTUSE.
9197 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9198 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9199 (_IO_adjust_column, _IO_least_wmarker)
9200 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9201 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9202 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9203 (_IO_default_doallocate, _IO_wdefault_doallocate)
9204 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9205 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9206 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9207 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9208 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9209 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9210 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9211 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9212 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9213 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9214 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9215 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9216 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9217 proto.
9218 (_IO_flush_all_internal, _IO_adjust_column_internal)
9219 (_IO_default_uflow_internal, _IO_default_finish_internal)
9220 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9221 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9222 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9223 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9224 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9225 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9226 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9227 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9228 (_IO_file_close_internal, _IO_file_close_it_internal)
9229 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9230 (_IO_file_init_internal, _IO_file_attach_internal)
9231 (_IO_file_fopen_internal, _IO_file_read_internal)
9232 (_IO_file_sync_internal, _IO_file_seek_internal)
9233 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9234 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9235 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9236 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9237 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9238 (_IO_list_all_internal, _IO_link_in_internal)
9239 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9240 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9241 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9242 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9243 (_IO_do_write_internal, _IO_padn_internal)
9244 (_IO_getline_info_internal, _IO_getline_internal)
9245 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9246 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9247 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9248 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9249 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9250 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9251 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9252 with libc_hidden_ver, remove use of INTUSE.
9253 * libio/genops.c: Likewise.
9254 * libio/freopen.c: Likewise.
9255 * libio/freopen64.c: Likewise.
9256 * libio/iofclose.c: Likewise.
9257 * libio/iofdopen.c: Likewise.
9258 * libio/iofflush.c: Likewise.
9259 * libio/iofflush_u.c: Likewise.
9260 * libio/iofgets.c: Likewise.
9261 * libio/iofgets_u.c: Likewise.
9262 * libio/iofopen.c: Likewise.
9263 * libio/iofopncook.c: Likewise.
9264 * libio/iofread.c: Likewise.
9265 * libio/iofread_u.c: Likewise.
9266 * libio/ioftell.c: Likewise.
9267 * libio/iofwrite.c: Likewise.
9268 * libio/iogetline.c: Likewise.
9269 * libio/iogets.c: Likewise.
9270 * libio/iogetwline.c: Likewise.
9271 * libio/iopadn.c: Likewise.
9272 * libio/iopopen.c: Likewise.
9273 * libio/ioseekoff.c: Likewise.
9274 * libio/ioseekpos.c: Likewise.
9275 * libio/iosetbuffer.c: Likewise.
9276 * libio/iosetvbuf.c: Likewise.
9277 * libio/ioungetc.c: Likewise.
9278 * libio/ioungetwc.c: Likewise.
9279 * libio/iovdprintf.c: Likewise.
9280 * libio/iovsprintf.c: Likewise.
9281 * libio/iovsscanf.c: Likewise.
9282 * libio/memstream.c: Likewise.
9283 * libio/obprintf.c: Likewise.
9284 * libio/oldfileops.c: Likewise.
9285 * libio/oldiofclose.c: Likewise.
9286 * libio/oldiofdopen.c: Likewise.
9287 * libio/oldiofopen.c: Likewise.
9288 * libio/oldiopopen.c: Likewise.
9289 * libio/oldstdfiles.c: Likewise.
9290 * libio/putc.c: Likewise.
9291 * libio/setbuf.c: Likewise.
9292 * libio/setlinebuf.c: Likewise.
9293 * libio/stdfiles.c: Likewise.
9294 * libio/strops.c: Likewise.
9295 * libio/vasprintf.c: Likewise.
9296 * libio/vscanf.c: Likewise.
9297 * libio/vsnprintf.c: Likewise.
9298 * libio/vswprintf.c: Likewise.
9299 * libio/wfiledoalloc.c: Likewise.
9300 * libio/wfileops.c: Likewise.
9301 * libio/wgenops.c: Likewise.
9302 * libio/wmemstream.c: Likewise.
9303 * libio/wstrops.c: Likewise.
9304 * libio/__fpurge.c: Likewise.
9305 * libio/__fsetlocking.c: Likewise.
9306 * assert/assert.c: Likewise.
9307 * debug/fgets_chk.c: Likewise.
9308 * debug/fgets_u_chk.c: Likewise.
9309 * debug/fread_chk.c: Likewise.
9310 * debug/fread_u_chk.c: Likewise.
9311 * debug/gets_chk.c: Likewise.
9312 * debug/obprintf_chk.c: Likewise.
9313 * debug/vasprintf_chk.c: Likewise.
9314 * debug/vdprintf_chk.c: Likewise.
9315 * debug/vsnprintf_chk.c: Likewise.
9316 * debug/vsprintf_chk.c: Likewise.
9317 * malloc/mtrace.c: Likewise.
9318 * misc/error.c: Likewise.
9319 * misc/syslog.c: Likewise.
9320 * stdio-common/asprintf.c: Likewise.
9321 * stdio-common/fxprintf.c: Likewise.
9322 * stdio-common/getw.c: Likewise.
9323 * stdio-common/isoc99_fscanf.c: Likewise.
9324 * stdio-common/isoc99_scanf.c: Likewise.
9325 * stdio-common/isoc99_vfscanf.c: Likewise.
9326 * stdio-common/isoc99_vscanf.c: Likewise.
9327 * stdio-common/isoc99_vsscanf.c: Likewise.
9328 * stdio-common/printf-prs.c: Likewise.
9329 * stdio-common/printf_fp.c: Likewise.
9330 * stdio-common/printf_fphex.c: Likewise.
9331 * stdio-common/printf_size.c: Likewise.
9332 * stdio-common/putw.c: Likewise.
9333 * stdio-common/scanf.c: Likewise.
9334 * stdio-common/sprintf.c: Likewise.
9335 * stdio-common/tmpfile.c: Likewise.
9336 * stdio-common/vfprintf.c: Likewise.
9337 * stdio-common/vfscanf.c: Likewise.
9338 * stdlib/strfmon_l.c: Likewise.
9339 * sunrpc/openchild.c: Likewise.
9340 * sunrpc/xdr_stdio.c: Likewise.
9341 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9342 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9343
d6c33fda
RM
93442012-05-24 Roland McGrath <roland@hack.frob.com>
9345
c1487492
RM
9346 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9347
9348 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9349 in the third column, to generate for the shared library an IFUNC
9350 that uses _dl_vdso_vsym.
9351 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9352 * Makeconfig (object-suffixes-noshared): New variable.
9353
9354 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9355 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9356 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9357 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9358
d6c33fda
RM
9359 [BZ #14132]
9360 * include/sys/time.h (__gettimeofday): Remove macro.
9361 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9362 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9363 Remove INTDEF.
9364 (__gettimeofday): Add libc_hidden_def.
9365 (gettimeofday): Add libc_hidden_weak.
9366 * sysdeps/mach/gettimeofday.c: Likewise.
9367 * sysdeps/posix/gettimeofday.c: Likewise.
9368 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9369 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9371 (__gettimeofday_internal): Remove strong_alias.
9372 (__gettimeofday): Add libc_hidden_def.
9373 (gettimeofday): Add libc_hidden_weak.
9374 * sysdeps/unix/syscalls.list (gettimeofday):
9375 Remove __gettimeofday_internal alias.
9376
b5a2bbe6
L
93772012-05-24 Daniel Jacobowitz <drow@false.org>
9378 H.J. Lu <hongjiu.lu@intel.com>
9379
9380 [BZ #12495]
9381 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9382 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9383 (largebin_index_32_big): New.
9384 (largebin_index): Use it for 16-byte alignment.
9385 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9386 correction with front_misalign.
9387
cfba4fda
L
93882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9389
7f907421
L
9390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9392 Likewise.
9393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9394 Likewise.
9395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9396 Likewise.
9397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9398 Likewise.
9399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9400 Likewise.
9401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9402 Likewise.
9403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9404 Likewise.
9405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9406 Likewise.
9407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9408 Likewise.
9409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9410 Likewise.
9411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9412 Likewise.
9413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9414 Likewise.
9415
cfba4fda
L
9416 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9417 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9418
80bad0cc
JM
94192012-05-24 Joseph Myers <joseph@codesourcery.com>
9420
7a25eb06
JM
9421 [BZ #10846]
9422 [BZ #14036]
9423 * math/libm-test.inc (exp_test): Add test from bug 14036.
9424 (pow_test): Add test from bug 10846.
9425
795405f9
JM
9426 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9427 and other flags.
9428 (special_function): Do not include flags in test name.
9429 (parse_args): Likewise.
9430 * sysdeps/i386/fpu/libm-test-ulps: Update.
9431 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9432 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9433 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9435
80bad0cc
JM
9436 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9437 exceptions.
9438 * math/libm-test.inc ("Philosophy"): Update comment about
9439 exception testing.
9440 (UNDERFLOW_EXCEPTION): New macro.
9441 (UNDERFLOW_EXCEPTION_OK): Likewise.
9442 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9443 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9444 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9445 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9446 (INVALID_EXCEPTION_OK): Update value.
9447 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9448 (OVERFLOW_EXCEPTION_OK): Likewise.
9449 (IGNORE_ZERO_INF_SIGN): Likewise.
9450 (test_exceptions): Handle underflow exceptions.
9451 (acos_test): Update for underflow exception expectations.
9452 (cexp_test): Likewise.
9453 (clog_test): Likewise.
9454 (clog10_test): Likewise.
9455 (csqrt_test): Likewise.
9456 (ctan_test): Likewise.
9457 (ctanh_test): Likewise.
9458 (exp_test): Likewise.
9459 (exp10_test): Likewise.
9460 (exp2_test): Likewise.
9461 (expm1_test): Likewise.
9462 (fma_test): Likewise.
9463 (j0_test): Likewise.
9464 (jn_test): Likewise.
9465 (nexttoward_test): Likewise.
9466 (pow_test): Likewise.
9467 (scalbn_test): Likewise.
9468 (scalbln_test): Likewise.
9469 (tan_test): Likewise.
9470 (y1_test): Likewise.
9471 * sysdeps/i386/fpu/libm-test-ulps: Update.
9472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9473
9e0e3d0b
DM
94742012-05-23 David S. Miller <davem@davemloft.net>
9475
9476 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9477 (__libc_sigaction): Remove unused local variables.
9478
ccd0a08f
L
94792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9480
9481 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9482
62bdf9a6
PE
94832012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9484
f8591f80
PE
9485 mktime: avoid signed integer overflow
9486 * time/mktime.c (__mktime_internal): Do not mishandle the case
9487 where diff == INT_MIN.
9488
94c7d826
PE
9489 mktime: simplify computation of average
9490 * time/mktime.c (ranged_convert): Use new time_t_avg function
9491 instead of rolling our own (probably-slower) code.
9492
ce73d683
PE
9493 mktime: do not assume signed right shift propagates sign bit
9494 * time/mktime.c (isdst_differ): New static function.
9495 (__mktime_internal): No need to normalize tm_isdst now.
9496 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9497 tm_isdst values.
9498
72a22e59
PE
9499 mktime: merge another wrapv change from gnulib
9500 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9501 from some compilers.
9502
68605433
PE
9503 mktime: remove incorrect attempt at unusual arithmetics
9504 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9505 The code didn't really work on such machines anyway.
9506 (TYPE_MINIMUM): Assume two's complement.
9507 (twos_complement_arithmetic): Verify that long_int and time_t
9508 are two's complement (or unsigned, in the latter case).
9509
03cf7fe3
PE
9510 mktime: check signed shifts on long_int and time_t, too
9511 * time/mktime.c (SHR): Check that shifts work as desired
9512 on the types long_int and time_t too, as SHR is used on
9513 such types.
9514
f04dfbc2
PE
9515 mktime: do not assume 'long' is wide enough
9516 * time/mktime.c (verify): Move decl up.
9517 (long_int): New type.
9518 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9519 to remove assumption in the code that 'long' is wide enough to
9520 store year values. This assumption is not true on x32 and on
9521 some non-glibc platforms.
9522
62bdf9a6
PE
9523 mktime: merge wrapv change from gnulib
9524 * time/mktime.c (WRAPV): New macro.
9525 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9526 (guess_time_tm, __mktime_internal): Do not assume that signed
9527 integer overflow wraps around; modern compilers generate code
9528 where this assumption is no longer valid.
9529
5e292e4f
L
95302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9531
9532 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9533 Replace "jmp L(pseudo_end)" with "ret".
9534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9535 Likewise.
9536
8caf8c87
AJ
95372012-05-23 Andreas Jaeger <aj@suse.de>
9538
9539 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9540 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9541
1a09dc56
AJ
95422012-05-23 Andreas Jaeger <aj@suse.de>
9543 Maximilian Attems <max@stro.at>
9544
9545 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9546 New macros.
9547
1c87aba0
L
95482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9549
9550 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9551 code so that pseudo_end is just ret and the stack pointer is
9552 correct also for static library in error case.
9553
40e45bd5
JM
95542012-05-23 Joseph Myers <joseph@codesourcery.com>
9555
c2670533
JM
9556 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9557 move to syscalls.list.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9562
40e45bd5
JM
9563 * manual/install.texi (Running make install): Do not mention Linux
9564 kernel version for which pt_chown is not needed.
9565 (Linux): Do not mention problems with nscd with 2.0 kernels.
9566 * INSTALL: Regenerated.
9567
be08eda5
AJ
95682012-05-23 Andreas Jaeger <aj@suse.de>
9569
9570 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9571 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9572 macro.
9573 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9574 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9575 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9576 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9577 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9578 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9579 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9580 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9581 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9582 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9583 * sysdeps/unix/sysv/linux/bits/in.h
9584 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9585
a6a056bb
RM
95862012-05-22 Roland McGrath <roland@hack.frob.com>
9587
9588 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9589 (PREPARE_VERSION): Just use assert instead, it will be elided
9590 under [NDEBUG] anyway.
9591
c9009328
L
95922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9593
9594 * sysdeps/unix/sysv/linux/Makefile: Include
9595 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9596 (sysdep_routines): Remove sysctl.
c9009328
L
9597 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9598 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9599 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9600 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9601 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9602
73338355
AJ
96032012-05-22 Andreas Jaeger <aj@suse.de>
9604
9605 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9606 that pseudo_end is just ret and the stack pointer is correct also
9607 for static library in error case.
9608
d44638b0
PP
96092012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9610
9611 [BZ #14122]
9612 * nss/nsswitch.c (defconfig_entries): New variable.
9613 (__nss_database_lookup): Don't leak defconfig entries.
9614 (nss_parse_service_list): Don't leak on error paths.
9615 (free_database_entries): New function.
9616 (free_defconfig): New function.
9617 (free_mem): Move common code to free_database_entries.
9618
31a39bd8
L
96192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9620
da0331a8
L
9621 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9622 Add arch_prctl.
9623 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9624
31a39bd8
L
9625 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9626 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9627 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9628 New macro.
9629 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9630 (INTERNAL_SYSCALL_TYPES): Likewise.
9631 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9632 (LOAD_REGS_TYPES_[1-6]): Likewise.
9633 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9634 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9635
45470df3
AZ
96362012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9637
9638 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9639 copysignl for GLIBC_2_0.
9640 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9641 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9642 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9643 logbl for GLIBC_2_0.
9644 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9645 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9646
98a61bcb
L
96472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9648
a4f6e481
L
9649 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9650 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9651
f63d5db6
L
9652 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9653 Use "neg %eax".
9654
98a61bcb
L
9655 * time/mktime.c: Update copyright years.
9656
95770f14
PE
96572012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9658
6226efbd
PE
9659 mktime: merge comment-quoting-style change from gnulib
9660 * time/mktime.c: Quote 'like this' in comments.
9661 The GNU coding standards suggest that we no longer quote `like this',
9662 as "`" and "'" are typically rendered asymmetrically nowadays.
9663 The typical gnulib style is to quote 'like this' when quoting
9664 code, and "like this" when quoting English.
9665
b99e4f78
PE
9666 * time/mktime.c (compile-command): Add "-I.".
9667
643e01e6
PE
9668 mktime: merge mktime-internal.h change from gnulib
9669 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9670
2554247d
PE
9671 mktime: merge time_r change from gnulib
9672 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9673
826dd0ab
PE
9674 mktime: merge DEBUG change from gnulib
9675 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9676 case system <time.h> has a #define.
9677
bd83aabe
PE
9678 mktime: merge <sys/types.h> change from gnulib
9679 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9680 since <time.t> is now guaranteed to define time_t.
9681
95770f14
PE
9682 mktime: merge HAVE_CONFIG_H change from gnulib
9683 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9684
5e1a27a9
L
96852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9686
0e44a77e
L
9687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9688 Use "neg %eax".
9689
5e1a27a9
L
9690 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9691 __rlim_t cast.
9692 (struct rusage): Use anonymous union to pad each field to
9693 __syscall_slong_t.
9694
46259bec
DM
96952012-05-21 David S. Miller <davem@davemloft.net>
9696
9697 * Makefules (o-iterator): Remove .s cases.
9698 (compile-command.s): Delete.
9699 (COMPILE.s): Delete.
9700 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9701
59f0c22e
JM
97022012-05-21 Joseph Myers <joseph@codesourcery.com>
9703
9704 * configure.in (libc_cv_predef_stack_protector): Only consider
9705 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9706 * configure: Regenerated.
9707
20c07380
L
97082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9709
bbb3154b
L
9710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9711 New macro. Use R*LP on int and pointer.
9712 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9713 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9714 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9715 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9716
20c07380
L
9717 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9718 [__WORDSIZE_TIME64_COMPAT32] instead of
9719 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9720 (struct utmp): Likewise.
9721 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9722 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9723 Renamed to ...
9724 (__WORDSIZE_TIME64_COMPAT32): This.
9725 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9726 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9727 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9728 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9729 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9730 (__WORDSIZE_TIME64_COMPAT32): New macro.
9731
d8d1017e
AJ
97322012-05-21 Andreas Jaeger <aj@suse.de>
9733
9734 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9735 only if [SHARED]. Add prototype for __wcschr_ia32.
9736
6c7fb145
RM
97372012-05-21 Roland McGrath <roland@hack.frob.com>
9738
9739 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9740 of %rbp unmolested in the jmp_buf while mangling the low bits.
9741 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9742 unmolested high bits of %rbp while demangling the low bits.
9743 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9744
66274218
AJ
97452012-05-21 Andreas Jaeger <aj@suse.de>
9746
07c58f8f
AJ
9747 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9748 * sunrpc/svc_simple.c: Use it for registerrpc.
9749 * sunrpc/xcrypt.c: Use it for passwd2des.
9750
66274218
AJ
9751 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9752
61f65140
L
97532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9754
9755 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9756 Don't define if [__SYSCALL_WORDSIZE != 32].
9757 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9758 New macro.
9759
5fefb436
AJ
97602012-05-21 Bruno Haible <bruno@clisp.org>
9761 Andreas Jaeger <aj@suse.de>
9762
9763 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9764 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9765 inptr and inend for must_buffer_ch.
9766 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9767 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9768 * stdio-common/Makefile (tests): Remove bug15.
9769 (bug15-ENV): Remove macro.
9770 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9771 anymore.
9772
d8e272ab
AJ
97732012-05-19 Andreas Jaeger <aj@suse.de>
9774 Roland McGrath <roland@hack.frob.com>
9775
9776 * manual/contrib.texi: Completely rewritten. It contains now an
9777 alphabetical list of contributors and their contributions.
9778
4a56a162
RH
97792012-05-21 Richard Henderson <rth@twiddle.net>
9780
9781 * misc/getauxval.c (__getauxval): Use unsigned long int.
9782 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9783 (getauxval): Use unsigned long int.
9784
d024d23c
L
97852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9786
9787 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9788
cbc00a03
RM
97892012-05-21 Roland McGrath <roland@hack.frob.com>
9790
9791 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9792 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9793 __alignof__ (long double).
9794
478143fa
AZ
97952012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9796
9797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9798
c7683a6d
RH
97992012-05-20 Richard Henderson <rth@twiddle.net>
9800
9801 * misc/getauxval.c: New file.
9802 * misc/sys/auxv.h: New file.
9803 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9804 (routines): Add getauxval.
9805 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9806 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9807 * elf/dl-sysdep.c (_dl_auxv): Remove.
9808 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9809 * elf/dl-support.c (_dl_auxv): New variable.
9810 (_dl_aux_init): Initialize it.
9811 * manual/startup.texi (Auxiliary Vector): New node.
9812 * sysdeps/generic/bits/hwcap.h: New file.
9813 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9814 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9815 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9816 * sysdeps/sparc/sysdep.h: ... here. Include it.
9817 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9818 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9820 Update.
c7683a6d
RH
9821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9824 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9829
a6f1845d
AZ
98302012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9831
9832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9833
cbcbe830
DM
98342012-05-19 David S. Miller <davem@davemloft.net>
9835
9836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9837
e0b16cc2
JM
98382012-05-19 Joseph Myers <joseph@codesourcery.com>
9839
9840 [BZ #14123]
9841 * math/s_ccosh.c: Include <float.h>
9842 (__ccosh): Avoid internal overflow calculating sinh and cosh
9843 values before multiplying by sin and cos values.
9844 * math/s_ccoshf.c: Likewise.
9845 * math/s_ccoshl.c: Likewise.
9846 * math/s_csin.c: Likewise.
9847 * math/s_csinf.c: Likewise.
9848 * math/s_csinl.c: Likewise.
9849 * math/s_csinh.c: Likewise.
9850 * math/s_csinhf.c: Likewise.
9851 * math/s_csinhl.c: Likewise.
9852 * math/libm-test.inc (ccos_test): Add more tests.
9853 (ccosh_test): Likewise.
9854 (csin_test): Likewise.
9855 (csinh_test): Likewise.
9856 * sysdeps/i386/fpu/libm-test-ulps: Update.
9857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9858
6ad13e08
L
98592012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9860
f66f0ce8
L
9861 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9862 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9863
6ad13e08
L
9864 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9865
b1d072a7
JM
98662012-05-19 Joseph Myers <joseph@codesourcery.com>
9867
9868 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9869 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9870 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9871 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9872 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9873 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9874 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9875 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9876 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9877 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9878 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9879 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9880 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9881 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9882 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9883 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9884 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9885 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9886 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9887 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9888 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9889 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9890 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9891 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9892 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9893 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9894 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9895 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9896 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9897 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9898 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9899
9eae47cb
AJ
99002012-05-18 Andreas Jaeger <aj@suse.de>
9901
9902 * csu/.gitignore: Delete.
9903
bb07f69f
L
99042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9905
9906 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9907 (timex): Use __syscall_slong_t.
9908
e6bdb741
AJ
99092012-05-18 Andreas Jaeger <aj@suse.de>
9910 Carlos O'Donell <carlos_odonell@mentor.com>
9911
9912 * manual/install.texi (Configuring and compiling): Update
9913 description about files modified in the source directory.
d6c33fda 9914 * INSTALL: Regenerated.
e6bdb741 9915
1b74487e
L
99162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9917
9918 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9919 value. Use "or" to set return value to -1.
9920 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9921 negate return value.
9922
a88b64b9
TMQMF
99232012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9924
9925 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9926 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9927 failure if the compiler has Graphite support disabled.
9928 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9929 Likewise.
9930 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9931 CFLAGS-memmove.c): Likewise.
9932 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9933 Likewise.
9934
3707636e
L
99352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9936
610b8622
L
9937 * sysdeps/x86_64/x32/_itoa.h: New file.
9938
7cd195df
L
9939 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9940 getdents system call only if kernel and user dirents have the
9941 same d_ino and d_off.
9942
94b07d20
L
9943 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9944 LLONG_MAX != LONG_MAX.
9945 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9946 (_fitoa_word): Likewise.
9947
18298070
L
9948 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9949 years.
9950 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9951 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9952 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9953
553c7ea4
L
9954 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9955 include <bits/wordsize.h>. Check __x86_64__ instead of
9956 __WORDSIZE.
9957 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9958 if __x86_64__ is defined. Use anonymous union on fpstate.
9959
3707636e
L
9960 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9961 anonymous union.
9962
b53ef01a
AS
99632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9964
37fb1dc0
AS
9965 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9966 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9967 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9968 Refer to _rtld_local_ro instead of _rtld_global_ro.
9969 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9970 Likewise.
9971 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9972 Likewise.
9973 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9974 Likewise.
9975 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9976 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9977 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9978
b53ef01a
AS
9979 * sysdeps/powerpc/powerpc32/dl-machine.c
9980 (__elf_machine_runtime_setup) [PROF]: Don't reference
9981 _dl_prof_resolve.
9982
7a185db2
AJ
99832012-05-18 Andreas Jaeger <aj@suse.de>
9984
9985 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9986 function only available for GCCs before 3.4 since GCC 3.4
9987 introduced a builtin.
9988 (lrint): Likewise.
9989 (llrintf): Likewise.
9990 (llrint): Likewise.
9991 (fmaxf): Likewise.
9992 (fmax): Likewise.
9993 (fminf): Likewise.
9994 (fmin): Likewise.
9995 (rint): Likewise.
9996 (rintf): Likewise.
9997 (nearbyint): Likewise.
9998 (nearbyintf): Likewise.
9999 (ceil): Likewise.
10000 (ceilf): Likewise.
10001 (floor): Likewise.
10002 (floorf): Likewise.
10003
3e5aef87
L
100042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10005
428bd707
L
10006 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
10007 on both fields and cast pointer to __syscall_ulong_t.
10008
3e5aef87
L
10009 * bits/types.h (__fsword_t): New type.
10010 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
10011 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
10012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10013 (__FSWORD_T_TYPE): Likewise.
10014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10015 (__FSWORD_T_TYPE): Likewise.
10016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10017 (__FSWORD_T_TYPE): Likewise.
10018 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
10019 (__FSWORD_T_TYPE): Likewise.
10020 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
10021 __SWORD_TYPE with __fsword_t.
10022 (statfs64): Likewise.
10023
1ba7c3dc
DM
100242012-05-17 David S. Miller <davem@davemloft.net>
10025
10026 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
10027
59910343
AJ
100282012-05-17 Andreas Jaeger <aj@suse.de>
10029
10030 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
10031 warning.
10032
2e4c1e9e
L
100332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10034
10035 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
10036
de7f5ce7
AJ
100372012-05-17 Andreas Jaeger <aj@suse.de>
10038
10039 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
10040 when it is used.
10041
286abc3d
CM
100422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10043
10044 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
10045
477cc68e
L
100462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
10047
10048 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
10049 * sysdeps/x86_64/tst-mallocalign1.c: New file.
10050
1a0994f5
CD
100512012-05-17 Andreas Jaeger <aj@suse.de>
10052 Carlos O'Donell <carlos_odonell@mentor.com>
10053
10054 [BZ #14059]
10055 * sysdeps/x86_64/multiarch/init-arch.h
10056 (bit_YMM_Usable): Rename to...
10057 (bit_AVX_Usable): ... this.
10058 (bit_FMA4_Usable): New macro.
10059 (bit_XMM_state): New macro.
10060 (bit_YMM_state): New macro.
10061 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
10062 [__ASSEMBLER__] (index_AVX_Usable): ... this.
10063 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
10064 (CPUID_OSXSAVE): New macro.
10065 (CPUID_AVX): New macro.
10066 (CPUID_FMA4): New macro.
10067 (index_YMM_Usable): Rename to...
10068 (index_AVX_Usable): ... this.
10069 (HAS_AVX): Use HAS_ARCH_FEATURE.
10070 (HAS_FMA4): Likewise.
10071 (HAS_YMM_USABLE): Remove.
10072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10073 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
10074 are present.
10075 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
10076 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
10077 * sysdeps/x86_64/multiarch/Makefile: Likewise.
10078 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
10079 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
10080
0af797de
CM
100812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
10082
10083 * math/libm-test.c: Support platforms without multiple rounding modes.
10084 * math/bug-nextafter.c: Support platforms without FP exceptions.
10085 * math/bug-nexttoward.c: Likewise.
10086 * math/test-fenv.c: Likewise.
10087 * math/test-misc.c: Likewise.
10088 * stdlib/bug-getcontext.c: Likewise.
10089
e39745ff
AJ
100902012-05-17 Andreas Jaeger <aj@suse.de>
10091
10092 * manual/examples/search.c (critter_cmp): Change signature to
10093 avoid warnings.
10094 * manual/string.texi (Collation Functions): Likewise.
10095
48970aba
L
100962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10097
10098 * bits/types.h: Fold copyright years.
10099 * bits/typesizes.h: Likewise.
10100 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
10101 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10102 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
10103 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
10104 * time/time.h: Likewise.
10105
bedee953
PP
101062012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
10107
10108 [BZ #208]
10109 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
10110 in instead of returning them. Return void.
10111 (__libc_mallinfo): Accumulate over all arenas.
10112 (__malloc_stats): Adjust for change in int_mallinfo interface.
10113
61653dfb
RM
101142012-05-16 Roland McGrath <roland@hack.frob.com>
10115
30b99d79
RM
10116 [BZ #10375]
10117 * configure.in (NM): Add AC_CHECK_TOOL for it.
10118 (libc_extra_cflags): New substituted variable.
10119 Check for -fstack-protector being used implicitly.
10120 * configure: Regenerated.
10121 * config.make.in (config-extra-cflags): New variable,
10122 gets @libc_extra_cflags@.
10123 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
10124
61653dfb
RM
10125 [BZ #10375]
10126 * configure.in: Check for _FORTIFY_SOURCE being predefined.
10127 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
10128 * configure: Regenerated.
10129 * config.make.in (CPPUNDEFS): New substituted variable.
10130 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
10131 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
10132 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
10133
661768bb
L
101342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10135
10136 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
10137 (mq_attr): Use __syscall_slong_t.
10138
d4261567
L
101392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10140
10141 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
10142 Check __x86_64__ instead of __WORDSIZE.
10143 (_STAT_VER_LINUX): Likewise.
10144 (stat): Check __x86_64__ instead of __WORDSIZE. Use
10145 __syscall_ulong_t and __syscall_slong_t.
10146 (stat64): Likewise.
10147
cf3ff365
L
101482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10149
10150 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
10151
76cf3e4d
L
101522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10153
10154 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
10155
a637753a
L
101562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10157
10158 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
10159 __syscall_ulong_t.
10160
d5e05119
L
10161 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10162 include <bits/wordsize.h>. Check __x86_64__ instead of
10163 __WORDSIZE.
10164 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10165 defined.
10166 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10167
f62ee380
L
10168 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10169 include <bits/wordsize.h>. Check __x86_64__ instead of
10170 __WORDSIZE.
10171 (user_regs_struct): Use "__extension__ unsigned long long"
10172 instead of "unsigned long" if __x86_64__ is defined.
10173 (user): Likewise. Pad after pointer field if __ILP32__ is
10174 defined.
10175
4e124ced
JM
101762012-05-16 Joseph Myers <joseph@codesourcery.com>
10177
6a3951a0
JM
10178 * configure.in (makeinfo): Require version 4.5 or later. Allow
10179 versions 5 to 9.
10180 * configure: Regenerated.
10181 * manual/install.texi (texinfo): Increase version requirement to
10182 4.5 or later.
10183 * INSTALL: Regenerated.
10184
4e124ced
JM
10185 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10186
953ca31a
L
101872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10188
10189 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10190
617aca05
L
10191 * sysdeps/x86_64/x32/ffs.c: New file.
10192
5762f7ae
L
10193 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10194 __syscall_ulong_t.
10195 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10196 defined. Use __syscall_ulong_t.
10197 (shminfo): Use __syscall_ulong_t.
10198 (shm_info): Likewise.
10199
a26b6856
L
10200 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10201 __syscall_ulong_t.
10202
cb2b9ef7
L
10203 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10204 <bits/wordsize.h>.
10205 (msgqnum_t): Use __syscall_ulong_t.
10206 (msglen_t): Likewise.
10207 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10208 __syscall_ulong_t.
10209
34683bb0
L
10210 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10211 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10212
84a68786
L
10213 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10214
48baa5f1
L
10215 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10216 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10217
180be88b
L
10218 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10219 __syscall_slong_t.
10220
5e90c8ad
L
10221 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10222 include <bits/wordsize.h>. Check __x86_64__ instead of
10223 __WORDSIZE.
10224
23dfb58b
L
10225 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10226 "unsigned long long int" if __x86_64__ is defined.
10227 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10228
ce5d54b0
L
10229 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10230 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10231 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10232
13dc9eac
L
10233 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10234 <stdint.h>.
10235 (GET_PC): Cast to uintptr_t first.
10236 (GET_FRAME): Likewise.
10237 (GET_STACK): Likewise.
10238
a7895d15
L
10239 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10240 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10241 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10242 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10243 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10244 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10245 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10246 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10247 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10248 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10249 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10250 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10251 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10252 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10253 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10254 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10255 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10256 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10257 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10258 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10259 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10260 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10261 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10262 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10263 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10265 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10266 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10267 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10268
656416c9
AS
102692012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10270
5bd66283
AS
10271 * Makerules (+depfiles): Also collect depfiles from .oS in
10272 $(extra-objs).
10273 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10274 .oS, $(libnldbl-routines)).
10275
656416c9
AS
10276 * Makerules (native-compile-mkdep-flags): Define.
10277 * sunrpc/Makefile (extra-objs): Add $(addprefix
10278 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10279 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10280 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10281 calling $(make-target-directory).
10282
a46f2169
L
102832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10284
10285 * bits/types.h (__snseconds_t): Removed.
10286 * time/time.h (struct timespec): Replace __snseconds_t with
10287 __syscall_slong_t.
10288 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10289 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10290 Likewise.
10291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10292 (__SNSECONDS_T_TYPE): Likewise.
10293 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10294 (__SNSECONDS_T_TYPE): Likewise.
10295 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10296 (__SNSECONDS_T_TYPE): Likewise.
10297
6af6528b
L
102982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10299
10300 * sysdeps/mach/hurd/bits/typesizes.h
10301 (__SYSCALL_SLONG_TYPE): New macro.
10302 (__SYSCALL_ULONG_TYPE): Likewise.
10303
de986b56
L
103042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10305
10306 * bits/types.h (__syscall_slong_t): New type.
10307 (__syscall_ulong_t): Likewise.
10308
10309 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10310 (__SYSCALL_ULONG_TYPE): Likewise.
10311 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10312 (__SYSCALL_SLONG_TYPE): Likewise.
10313 (__SYSCALL_ULONG_TYPE): Likewise.
10314 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10315 (__SYSCALL_SLONG_TYPE): Likewise.
10316 (__SYSCALL_ULONG_TYPE): Likewise.
10317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10318 (__SYSCALL_SLONG_TYPE): Likewise.
10319 (__SYSCALL_ULONG_TYPE): Likewise.
10320
85736dc7
L
103212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10324 Add sigaltstack-offsets.sym.
10325 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10326 <sigaltstack-offsets.h>.
10327 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10328 longjmp_msg pointer.
10329 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10330 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10331 signal stack.
10332 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10333
cc03b296
JM
103342012-05-15 Joseph Myers <joseph@codesourcery.com>
10335
a9538892
JM
10336 * elf/stackguard-macros.h: Remove file.
10337 * sysdeps/generic/stackguard-macros.h: New file.
10338 * sysdeps/i386/stackguard-macros.h: Likewise.
10339 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10340 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10341 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10342 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10343 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10344 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10345 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10346 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10347 <elf/stackguard-macros.h>.
10348
cc03b296
JM
10349 [BZ #14109]
10350 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10351 __aligned__ in attribute.
10352 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10353 (gregset_t): Likewise.
10354
93171016
L
103552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10356
10357 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10358 * sysdeps/x86_64/64/Implies-after: Here. New file.
10359 * sysdeps/x86_64/x32/Implies-after: New file.
10360
d86813a0
L
103612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10362
10363 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10364 and access return value for _dl_profile_fixup. Use R10_LP to
10365 load frame size.
10366
2953ec75
L
103672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10368
10369 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10370
3b550e9e
L
103712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10372
10373 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10374 * sysdeps/x86_64/x32/sysdep.h: New file.
10375
eda41706
L
103762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10377
10378 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10379 * sysdeps/x86_64/setjmp.S: Likewise.
10380
9ea01d93
AZ
103812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10382
10383 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10384 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10385 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10386 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10387 remove unused global constant.
10388
02a91938
CM
103892012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10390
10391 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10392 include of <not-cancel.h>.
10393
6540185f
RM
103942012-05-15 Roland McGrath <roland@hack.frob.com>
10395
10396 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10397
509072a0
AJ
103982012-05-15 Jeff Law <law@redhat.com>
10399 Andreas Jaeger <aj@suse.de>
10400
10401 [BZ #13594]
10402 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10403 out from...
10404 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10405 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10406 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10407 code changing __hst_map_handle.map.
10408
ba75122d
RM
104092012-05-15 Roland McGrath <roland@hack.frob.com>
10410
10411 * configure.in (sysnames): Look for Implies-before and Implies-after
10412 files.
10413 * configure: Regenerated.
10414
890d8bd8
L
104152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10416
10417 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10418 8-byte data alignment with LP_SIZE alignment.
10419
f6ee6623
L
104202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10421
10422 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10423 into R10_LP.
10424
ea2626f6
L
104252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10426
10427 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10428
085f715e
L
104292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10430
10431 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10432 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10433 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10434 Likewise.
10435 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10436
be8498fc
L
104372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10438
10439 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10440 (stackinfo_sub_sp): Likewise.
10441
70bc83b9
L
104422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10443
10444 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10445 RAX_LP.
10446
9bc0b730
L
104472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10448
10449 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10450 into R*_LP.
10451
6d2850e7
L
104522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10453
10454 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10455 sizes into R*_LP.
10456
3cb84561
L
104572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10458
10459 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10460
54e2ed81
L
104612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10462
10463 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10464 into R11_LP and load __x86_64_shared_cache_size_half into
10465 R8_LP.
10466
8a17f349
L
104672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10468
10469 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10470 R8_LP.
10471
777b1eea
AZ
104722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10473
10474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10475 logb for POWER7.
10476 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10477 logbf for POWER7.
10478 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10479 logbl for POWER7.
10480 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10481 powerpc32/power7/fpu/s_logb.c via #include.
10482 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10483 powerpc32/power7/fpu/s_logbf.c via #include.
10484 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10485 powerpc32/power7/fpu/s_logbl.c via #include.
10486
d20d4ac2
JM
104872012-05-15 Joseph Myers <joseph@codesourcery.com>
10488
10489 * README.libm: Remove file.
10490
6cdef1ab
L
104912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10492
10493 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10494 count for x32. Use R*_LP and omit operand-size suffix.
10495
0b254d8f
L
104962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10497
10498 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10499 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10500 * sysdeps/x86_64/x32/shlib-versions: New file.
10501
ceb809dc
RM
105022012-05-14 Roland McGrath <roland@hack.frob.com>
10503
10504 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10505 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10506 Use _dl_fatal_printf instead.
10507
37f1abd4
JM
105082012-05-14 Joseph Myers <joseph@codesourcery.com>
10509
10510 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10511 set if not set by the user. Do not allow for being unset.
10512 * sysdeps/unix/sysv/linux/configure: Regenerated.
10513
11de3a33
L
105142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10515
10516 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10517 the `q' suffix from lea and replace .quad with ASM_ADDR.
10518
e02f153a
L
105192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10520
10521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10522 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10523 instead of $17.
10524 (PTR_DEMANGLE): Likewise.
10525
520ae0fd
L
105262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10527
10528 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10529 (LP_OP): Likewise.
10530 (ASM_ADDR): Likewise.
10531 (RAX_LP): Likewise.
10532 (RBP_LP): Likewise.
10533 (RBX_LP): Likewise.
10534 (RCX_LP): Likewise.
10535 (RDI_LP): Likewise.
10536 (RSI_LP): Likewise.
10537 (RSP_LP): Likewise.
10538 (R8_LP): Likewise.
10539 (R9_LP): Likewise.
10540 (R10_LP): Likewise.
10541 (R10_LP): Likewise.
10542 (R11_LP): Likewise.
10543 (R12_LP): Likewise.
10544 (R13_LP): Likewise.
10545 (R14_LP): Likewise.
10546 (R15_LP): Likewise.
10547
b985be81
L
105482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10549
10550 * sysdeps/x86_64/x32/dl-machine.h: New file.
10551
6a4888ff
AJ
105522012-05-14 Andreas Jaeger <aj@suse.de>
10553
10554 * manual/Makefile (subdir): Remove export of subdir.
10555 (all): Remove target.
10556 (.PHONY): Remove all from list.
10557 (mkinstalldirs): Remove.
10558 (.PHONY): Remove installdirs from list.
10559 ($(inst_infodir)/libc.info): Use make-target-directory.
10560 (installdirs): Remove.
10561 (subdir_%): Remove.
10562 (glibc-targets): Remove.
10563 (lib): Remove.
10564 (stubs): Remove.
10565 ($(objpfx)stubs ../po/manual.pot): Remove.
10566 ($(objpfx)stamp%): Remove.
10567 (make-target-directory): Remove.
10568 (subdir_install): Remove.
10569 (routines): Remove.
10570 (aux): Remove.
10571 (sources): Remove.
10572 (objects): Remove.
10573 (headers): Remove.
10574
10575 [BZ #13750]
10576 * manual/.gitignore: Remove, it's not needed anymore.
10577 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10578 all files in it.
10579 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10580 directory.
10581 (texis): Renamed to $(objpfx)texis.
10582 (texis-path): New, contains path to generated files.
10583 (chapters.%): Use texis-path for complete path, add extra argument
10584 libc-texinfo.sh.
10585 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10586 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10587 (summary,texi, stamp-summary): Use complete path of
10588 files. Generate files in build dir.
10589 (dir-add.texi): Build in build dir.
10590 (libm-err.texi,stamp-libm-err): Likewise.
10591 (version.texi, stamp-version): Likewise.
10592 (.%c.texi): Likewise.
10593 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10594 (mostlyclean): Remove target.
10595 (realclean): Remove target.
10596 (generated): Add new variable with contents from mostlyclean and
10597 realclean, remove entries duplicated in common-mostlyclean, add
10598 stamp-libm-err and stamp-version.
10599 (generated-dirs): Add libc directory.
10600 ($(inst_infodir)/libc.info): Install files from build dir.
10601
10602 * manual/install.texi (Configuring and compiling): Adjust since
10603 the info files are not part of the tar ball anymore.
10604
7ac77294
AJ
106052012-05-14 Andreas Jaeger <aj@suse.de>
10606
10607 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10608 variable.
10609
ffb7875d
JM
106102012-05-14 Joseph Myers <joseph@codesourcery.com>
10611
10612 [BZ #13717]
10613 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10614 to 2.2.0 where earlier.
10615 * sysdeps/unix/sysv/linux/configure: Regenerated.
10616 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10617 Remove conditional code.
10618 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10619 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10620 Remove conditional code.
10621 [!__NR_lchown]: Likewise.
10622 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10623 [__NR_lchown]: Likewise.
10624 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10625 comment referencing __ASSUME_LCHOWN_SYSCALL.
10626 * sysdeps/unix/sysv/linux/i386/sigaction.c
10627 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10628 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10629 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10630 Remove conditional code.
10631 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10632 (__protocol_available): Remove #if 0 code.
10633 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10634 conditional code.
10635 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10636 * sysdeps/unix/sysv/linux/kernel-features.h
10637 (__ASSUME_GETCWD_SYSCALL): Don't define.
10638 (__ASSUME_REALTIME_SIGNALS): Likewise.
10639 (__ASSUME_PREAD_SYSCALL): Likewise.
10640 (__ASSUME_PWRITE_SYSCALL): Likewise.
10641 (__ASSUME_POLL_SYSCALL): Likewise.
10642 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10643 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10644 non-SPARC.
10645 (__ASSUME_SIOCGIFNAME): Don't define.
10646 (__ASSUME_MSG_NOSIGNAL): Likewise.
10647 (__ASSUME_SENDFILE): Define unconditionally.
10648 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10649 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10650 conditional code.
10651 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10652 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10653 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10654 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10655 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10656 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10657 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10659 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10662 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10665 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10671 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10672 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10674 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10677 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10678 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10680 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10682 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10683 Remove conditional code.
10684 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10685 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10686 Remove conditional code.
10687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10688 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10689 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10690 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10691 Remove conditional code.
10692 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10693 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10694 Remove conditional code.
10695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10696 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10697 Remove conditional code.
10698 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10699 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10700 Remove conditional code.
10701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10702 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10703 Remove conditional code.
10704 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10705 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10706 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10708 * sysdeps/unix/sysv/linux/sigaction.c
10709 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10710 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10711 * sysdeps/unix/sysv/linux/sigpending.c
10712 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10713 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10714 * sysdeps/unix/sysv/linux/sigprocmask.c
10715 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10716 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10717 * sysdeps/unix/sysv/linux/sigsuspend.c
10718 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10719 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10720 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10721 (__libc_missing_rt_sigs): Remove.
10722 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10723 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10724 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10725 Remove conditional code.
10726 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10727 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10728 return 1.
10729 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10730 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10731 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10732 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10733
1bfb7291
AJ
107342012-05-14 Andreas Jaeger <aj@suse.de>
10735
caae5a81
AJ
10736 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10737 it's not used in glibc.
10738 (__coshm1): Likewise.
10739 (__acosh1p): Likewise.
10740 (__sgn): Likewise.
10741
1bfb7291
AJ
10742 * manual/string.texi (Copying and Concatenation): Add missing
10743 variable in concat example.
10744 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10745
c044d724
L
107462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10747
144c5467 10748 [BZ #14103]
c044d724
L
10749 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10750 __builtin_clzl with __builtin_clzll.
10751
2523c62b
L
107522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10753
10754 [BZ #14104]
10755 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10756 libc_freeres_ptr.
10757
d7bb4c42
LD
107582012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10759
10760 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10761 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10762 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10763 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10764
9dc4e1fb
MF
107652012-05-14 Mike Frysinger <vapier@gentoo.org>
10766
10767 * NEWS: Update ia64 info.
10768
c7df0112
AS
107692012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10770
10771 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10772 used as bcopy.
10773
dc70356c
TS
107742012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10775
10776 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10777 * sysdeps/unix/syscalls.list (dup3): Likewise.
10778 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10779 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10780
9fb1a21f
L
107812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10782
10783 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10784 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10785
4822a2a5
L
107862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10787
10788 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10789 thread pointer.
10790 (TLS_IE): Use mov/add instead of movq/addq to load thread
10791 pointer.
10792 (TLS_GD_PREFIX): New.
10793 (TLS_GD): Use it.
10794
842b81d6
DM
107952012-05-11 David S. Miller <davem@davemloft.net>
10796
10797 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10798 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10799 (_FPU_SETCW): Likewise.
10800
1cf463cd
L
108012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10802
10803 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10804 is 32-byte aligned.
10805
60cc4a18
AS
108062012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10807
10808 [BZ #11837]
10809 * iconvdata/gb18030.c: Update tables.
10810 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10811 characters specially.
10812 (BODY for TO_LOOP): Add encoding of missing ranges.
10813
febb44a4
TS
108142012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10815
10816 [BZ #13673]
10817 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10818 * sysdeps/mach/hurd/dup3.c: Likewise.
10819 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10820 * sysdeps/powerpc/memmove.c:: Likewise.
10821
0a10fb9e
L
108222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10823
10824 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10825 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10826
df8a552f
L
108272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10828
10829 * elf/elf.h (R_X86_64_RELATIVE64): New.
10830 (R_X86_64_NUM): Updated.
10831 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10832 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10833 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10834 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10835 tst-quad1pie tst-quad2pie
10836 (modules-names): Add tst-quadmod1 tst-quadmod2.
10837 ($(objpfx)tst-quad1): New dependency.
10838 ($(objpfx)tst-quad2): Likewise.
10839 ($(objpfx)tst-quad1pie): Likewise.
10840 ($(objpfx)tst-quad2pie): Likewise.
10841 * sysdeps/x86_64/tst-quad1.c: New file.
10842 * sysdeps/x86_64/tst-quad1pie.c: New file.
10843 * sysdeps/x86_64/tst-quad2.c: Likewise.
10844 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10845 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10846 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10847 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10848 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10849
f34d6f84
ST
108502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10851
f42d41d1
ST
10852 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10853 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10854 * streams/stropts.h (t_scalar_t): Define type.
10855
3c3571fc
ST
10856 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10857 (_PATH_PRESERVE): Set to "/var/lib".
10858 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10859
61f06bd3
ST
10860 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10861 instead of int.
10862
918d4d71
ST
10863 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10864 if __dir_mkfile succeeded.
10865
f34d6f84
ST
10866 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10867 checking for _hurd_dtablesize. Unlock it right after having
10868 finished _hurd_dtable allocation.
10869
10589b4a
TS
108702012-05-10 Thomas Schwinge <thomas@schwinge.name>
10871
674cdbc7
TS
10872 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10873 * sysdeps/mach/hurd/configure: Regenerated.
10874 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10875 special-casing to...
10876 * sysdeps/gnu/configure.in: ... this new file.
10877 * sysdeps/unix/sysv/linux/configure: Regenerated.
10878 * sysdeps/gnu/configure: New generated file.
10879
8e41b99f
TS
10880 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10881 for Linux: use nsec instead of usec, as well as:
10882 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10883 members of type struct timespec.
10884 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10885 New macros.
10886 (struct stat64): Likewise.
10887 (_STATBUF_ST_NSEC): New macro.
10888 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10889
10589b4a
TS
10890 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10891 __strtoul_internal rather than strtoul.
10892
63643c85
PT
108932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10894
10895 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10896 and reject them.
10897
3faebe6a
ST
108982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10899
10900 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10901 which preserves existing values.
10902 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10903
c6474b07
PT
109042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10905
10906 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10907 TIMEOUT values. Return EINVAL for NFDS values either negative or
10908 greater than FD_SETSIZE.
10909
1043890b
ST
109102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10911
10912 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10913 allocated, call __vm_protect to finish enabling the existing space, and
10914 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10915 allocate the remainder.
10916
37ed8b9b
PT
109172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10918
10919 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10920 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10921
db653660
ST
109222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10923
37ed8b9b
PT
10924 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10925 sysdeps/mach/hurd/readlink.c.
b29d4053 10926
db653660
ST
10927 * posix/tst-sysconf.c (posix_options): Only use
10928 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10929 _POSIX_SYNCHRONIZED_IO when they are defined
10930 * sysdeps/mach/hurd/bits/posix_opt.h:
10931 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10932 (_XOPEN_REALTIME): Undefine macro.
10933 (_XOPEN_REALTIME_THREADS): Undefine macro.
10934 (_XOPEN_SHM): Undefine macro.
10935 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10936 macro to -1.
10937 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10938 macro to -1.
10939 (_POSIX_ASYNC_IO): Undefine macro.
10940 (_POSIX_PRIORITIZED_IO): Undefine macro.
10941 (_POSIX_SPIN_LOCKS): Define macro to -1.
10942
ee16e894
ST
10943 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10944 SA_NODEFER, SA_RESETHAND.
10945 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10946 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10947 F_DUPFD_CLOEXEC.
10948
6103ae3b
TS
109492012-05-10 Thomas Schwinge <thomas@schwinge.name>
10950
10951 * elf/Makefile (pldd-modules): Define unconditionally.
10952
80b4e5f3
TS
109532012-05-10 Thomas Schwinge <thomas@schwinge.name>
10954
10955 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10956
edadcbd6
ST
109572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10958
10959 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10960 Return ENOENT when name is empty.
10961 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10962
80694780
TS
109632012-05-10 Thomas Schwinge <thomas@schwinge.name>
10964
1792c087
TS
10965 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10966
80694780
TS
10967 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10968
6b645f0d
ST
109692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10970
80694780
TS
10971 Fix mlock in all cases except non-readable pages.
10972 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10973 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10974
6b645f0d
ST
10975 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10976 (__mkdir): When path is `/', just fail with EEXIST.
10977 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10978
e468f8a3
TS
109792012-05-10 Thomas Schwinge <thomas@schwinge.name>
10980
10981 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10982 <sys/uio.h> (for writev).
10983 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10984 and <sys/param.h> (for MIN).
10985
a4186cff
PT
109862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10987
10988 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10989 REQUESTED_TIME. Properly set the remaining time and return EINTR
10990 if interrupted.
10991
510bbf14
TS
109922012-05-10 Thomas Schwinge <thomas@schwinge.name>
10993
10994 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10995 Depend on against $(link-rpcuserlibs).
10996
5d5722e8
ST
109972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10998
a4186cff
PT
10999 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
11000 (__libc_stack_end): Do not use attribute_relro.
11001 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
11002 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 11003 to libthread-provided value.
a4186cff
PT
11004 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
11005 attribute_relro.
5d5722e8 11006
37233df9
TS
110072012-05-10 Thomas Schwinge <thomas@schwinge.name>
11008
be971a2b
TS
11009 [BZ #3748]
11010 * bits/libc-lock.h (__libc_once_get): New macro.
11011 * sysdeps/mach/bits/libc-lock.h: Likewise.
11012 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
11013 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
11014 instead of using implementation details.
11015
37233df9
TS
11016 * libio/fileops.c: Unconditionally include <kernel-features.h>.
11017 * libio/freopen.c: Likewise.
11018 * libio/freopen64.c: Likewise.
11019 * misc/syslog.c: Likewise.
11020 * nscd/connections.c: Likewise.
11021 * nscd/netgroupcache.c: Likewise.
11022 * sysdeps/posix/getcwd.c: Likewise.
11023
38de94a5
RM
110242012-05-10 Roland McGrath <roland@hack.frob.com>
11025
11026 * math/w_ilogbf.c: Add #include <limits.h>.
11027
67530489
ST
110282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11029
a4186cff 11030 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
11031 path instead of returning without unlocking.
11032
67530489
ST
11033 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
11034 immediate-write ioctls.
11035 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
11036
5aa3a74a
TS
110372012-05-10 Thomas Schwinge <thomas@schwinge.name>
11038
18bad2ae
TS
11039 * sysdeps/mach/hurd/i386/init-first.c (init): Use
11040 __builtin_frame_address instead of making assumptions about the
11041 location of the return address relative to DATA. Force early load of
11042 the return address.
11043 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
11044 __builtin_frame_address.
11045
5aa3a74a
TS
11046 dup3 for GNU Hurd.
11047 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
11048 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
11049 implement dup3 and do some further code clean-ups.
11050 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
11051 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
11052
ecd0de9a
ST
110532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11054
cd9fa985
ST
11055 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
11056
a4186cff
PT
11057 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
11058 HURD_CRITICAL_END around holding _hurd_dtable_lock.
11059 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
11060 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
11061 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
11062 d->port.lock.
802ca5a5 11063
a4186cff
PT
11064 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
11065 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
11066 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 11067
bcf55240
TS
110682012-05-10 Thomas Schwinge <thomas@schwinge.name>
11069
6960eb42
TS
11070 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
11071 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
11072 definitions.
11073
eb43375f
TS
11074 accept4 for GNU Hurd.
11075 * include/sys/socket.h (__libc_accept4): New prototype.
11076 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
11077 to implement __libc_accept4.
11078 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
11079 __libc_accept4.
11080 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
11081
bcf55240
TS
11082 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
11083 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
11084 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
11085 signal-defines.sym.
11086
6178c55b
ST
110872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11088
a4186cff 11089 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 11090
6f080c2f
TS
110912012-05-10 Thomas Schwinge <thomas@schwinge.name>
11092
11093 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
11094 assertion on O_CLOEXEC flag.
11095 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
11096 * hurd/intern-fd.c: Likewise.
11097 * hurd/port2fd.c: Likewise.
11098
bcfe3a54
ST
110992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11100
11101 [BZ #3906]
11102 * bits/in.h (IPV6_PKTINFO): Define new macro.
11103 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
11104
89c9aa49
AZ
111052012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11106
11107 [BZ #13954]
11108 [BZ #13955]
11109 [BZ #13956]
11110 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
11111 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11112 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
11113 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11115 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11116 * math/libm-test.inc (logb_test) : Additional logb tests.
11117
021db4be
AJ
111182012-05-09 Andreas Schwab <schwab@linux-m68k.org>
11119 Andreas Jaeger <aj@suse.de>
11120
11121 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
11122 * configure: Regenerated.
11123 * config.h.in (LINK_OBSOLETE_RPC): New macro.
11124 * config.make.in (link-obsolete-rpc): New substituted variable.
11125 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
11126 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
11127 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11128 (shared-only-routines): Don't set it under [link-obsolete-rpc],
11129 so that libc.a contains the symbols.
11130 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
11131 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
11132 * sunrpc/auth_none.c: Likewise.
11133 * sunrpc/auth_unix.c: Likewise.
11134 * sunrpc/authdes_prot.c: Likewise.
11135 * sunrpc/authuxprot.c: Likewise.
11136 * sunrpc/clnt_gen.c: Likewise.
11137 * sunrpc/clnt_perr.c: Likewise.
11138 * sunrpc/clnt_raw.c: Likewise.
11139 * sunrpc/clnt_simp.c: Likewise.
11140 * sunrpc/clnt_tcp.c: Likewise.
11141 * sunrpc/clnt_udp.c: Likewise.
11142 * sunrpc/clnt_unix.c: Likewise.
11143 * sunrpc/des_crypt.c: Likewise.
11144 * sunrpc/des_soft.c: Likewise.
11145 * sunrpc/get_myaddr.c: Likewise.
11146 * sunrpc/key_call.c: Likewise.
11147 * sunrpc/key_prot.c: Likewise.
11148 * sunrpc/netname.c: Likewise.
11149 * sunrpc/pm_getmaps.c: Likewise.
11150 * sunrpc/pm_getport.c: Likewise.
11151 * sunrpc/pmap_clnt.c: Likewise.
11152 * sunrpc/pmap_prot.c: Likewise.
11153 * sunrpc/pmap_prot2.c: Likewise.
11154 * sunrpc/pmap_rmt.c: Likewise.
11155 * sunrpc/publickey.c: Likewise.
11156 * sunrpc/rpc_cmsg.c: Likewise.
11157 * sunrpc/rpc_common.c: Likewise.
11158 * sunrpc/rpc_dtable.c: Likewise.
11159 * sunrpc/rpc_prot.c: Likewise.
11160 * sunrpc/rpc_thread.c: Likewise.
11161 * sunrpc/rtime.c: Likewise.
11162 * sunrpc/svc.c: Likewise.
11163 * sunrpc/svc_auth.c: Likewise.
11164 * sunrpc/svc_raw.c: Likewise.
11165 * sunrpc/svc_run.c: Likewise.
11166 * sunrpc/svc_tcp.c: Likewise.
11167 * sunrpc/svc_udp.c: Likewise.
11168 * sunrpc/svc_unix.c: Likewise.
11169 * sunrpc/svcauth_des.c: Likewise.
11170 * sunrpc/xcrypt.c: Likewise.
11171 * sunrpc/xdr.c: Likewise.
11172 * sunrpc/xdr_array.c: Likewise.
11173 * sunrpc/xdr_float.c: Likewise.
11174 * sunrpc/xdr_intXX_t.c: Likewise.
11175 * sunrpc/xdr_mem.c: Likewise.
11176 * sunrpc/xdr_rec.c: Likewise.
11177 * sunrpc/xdr_ref.c: Likewise.
11178 * sunrpc/xdr_sizeof.c: Likewise.
11179 * sunrpc/xdr_stdio.c: Likewise.
11180
b5c086a2
RM
111812012-05-10 Roland McGrath <roland@hack.frob.com>
11182
11183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11184 change. Update copyright years.
11185
6d74dd09
JM
111862012-05-10 Joseph Myers <joseph@codesourcery.com>
11187
11188 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11189
28e72501
MK
111902012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11191 Joseph Myers <joseph@codesourcery.com>
11192 Paul Pluzhnikov <ppluzhnikov@google.com>
11193
11194 [BZ #14012]
11195 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11196 requiring rpcgen.
11197 [cross-compiling] (extra-libs): Likewise.
11198 [cross-compiling] (extra-libs-others): Likewise.
11199 [cross-compiling] (librpcsvc-routines): Likewise.
11200 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11201 [cross-compiling] (omit-deps): Likewise.
11202 (sunrpc-CPPFLAGS): New variable.
11203 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11204 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11205 (cross-rpcgen-objs): New variable.
11206 (extra-objs): Append $(cross-rpcgen-objs).
11207 ($(cross-rpcgen-objs)): New rule.
11208 ($(objpfx)cross-rpcgen): Likewise.
11209 (rpcgen-cmd): Define to use $(built-program-file). Expand
11210 comment.
11211 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11212 ($(objpfx)x%.stmp): Likewise.
11213 * sunrpc/proto.h [IS_IN_build] (_): Define.
11214 [IS_IN_build] (_libc_intl_domainname): Likewise.
11215
c8c59454
L
112162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11217
11218 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11219 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11220 and R_X86_64_TPOFF64.
11221
6f27cd16
JM
112222012-05-10 Joseph Myers <joseph@codesourcery.com>
11223
11224 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11225 sysdeps/unix/sysv/syscalls.list.
11226 (stime): Likewise.
11227 (utime): Likewise.
11228 * sysdeps/unix/sysv/syscalls.list: Remove file.
11229
02467e1c
PE
112302012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11231
11232 [BZ #3440]
11233 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11234 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11235 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11236 (__LC_IDENTIFICATION): Make these macros useful in #if
11237 expressions, as required by C99.
11238
da392631
AS
112392012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11240
11241 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11242 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11243 after this.
11244
8115f29b
L
112452012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 * stdlib/longlong.h: Updated from GCC.
11248
bdd74070
AJ
112492012-05-09 Andreas Jaeger <aj@suse.de>
11250
edfe0dbe
AJ
11251 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11252 default is first entry.
11253 (run_mode): Set type.
11254 (main): Remove informal message about syslog.
11255 (options): Fix typo.
11256
bcfe3a54
ST
11257 [BZ #14053]
11258 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11259 to asm.
bcfe3a54
ST
11260 (lrint): Likewise.
11261 (llrintf): Likewise.
11262 (llrint): Likewise.
11263 (rint): Likewise.
11264 (rintf): Likewise.
11265 (nearbyint): Likewise.
11266 (nearbyintf): Likewise.
bdd74070 11267
91d8d69e
AJ
112682012-05-09 Andreas Jaeger <aj@suse.de>
11269 Pedro Alves <palves@redhat.com>
11270
11271 * nscd/nscd.c (run_mode): Use enum.
11272 (main): Cleanup coding style issue.
11273
bb90b80b
AJ
112742012-05-09 Alexandre Oliva <aoliva@redhat.com>
11275 Andreas Jaeger <aj@suse.de>
11276
bcfe3a54
ST
11277 * nscd/nscd.c (go_background): Replaced with...
11278 (run_mode): ... this.
bb90b80b 11279 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11280 (options): Add -F --foreground.
11281 (main): Implement it.
11282 (parse_opt): Parse it.
bb90b80b 11283
1a4b75a1
AJ
112842012-05-09 Andreas Jaeger <aj@suse.de>
11285
11286 [BZ #14083]
11287 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11288 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11289 -Wconversion warning.
11290 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11291 Likewise.
11292
b1cc2472
JM
112932012-05-09 Joseph Myers <joseph@codesourcery.com>
11294
11295 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11296 == 0.
11297 (LC_ALL): Use macro-int-constant.
11298 (LC_COLLATE): Likewise.
11299 (LC_CTYPE): Likewise.
11300 (LC_MESSAGES): Likewise.
11301 (LC_MONETARY): Likewise.
11302 (LC_NUMERIC): Likewise.
11303 (LC_TIME): Likewise.
11304 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11305 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11307 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11308 Specify type.
11309 [C99-based standards] (float_t): Expect type.
11310 [C99-based standards] (double_t): Expect type.
11311 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11312 type.
11313 [C99-based standards] (HUGE_VALL): Likewise.
11314 [C99-based standards] (INFINITY): Likewise.
11315 [C99-based standards] (NAN): Likewise.
11316 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11317 [C99-based standards] (FP_NAN): Likewise.
11318 [C99-based standards] (FP_NORMAL): Likewise.
11319 [C99-based standards] (FP_SUBNORMAL): Likewise.
11320 [C99-based standards] (FP_ZERO): Likewise.
11321 [C99-based standards] (FP_FAST_FMA): Use
11322 optional-macro-int-constant. Specify type. Require == 1.
11323 [C99-based standards] (FP_FAST_FMAF): Likewise.
11324 [C99-based standards] (FP_FAST_FMAL): Likewise.
11325 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11326 [C99-based standards] (FP_ILOGBNAN): Likewise.
11327 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11328 Specify type.
11329 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11330 [C99-based standards] (math_errhandling): Specify type.
11331 [ISO99 || ISO11] (signgam): Do not allow.
11332 [non-C99-based standards] (copysignf): Do not allow.
11333 [non-C99-based standards] (exp2f): Likewise.
11334 [non-C99-based standards] (log2f): Likewise.
11335 [non-C99-based standards] (modff): Allow.
11336 [non-C99-based standards] (erff): Do not allow.
11337 [non-C99-based standards] (erfcf): Likewise.
11338 [non-C99-based standards] (gammaf): Likewise.
11339 [non-C99-based standards] (hypotf): Likewise.
11340 [non-C99-based standards] (j0f): Likewise.
11341 [non-C99-based standards] (j1f): Likewise.
11342 [non-C99-based standards] (jnf): Likewise.
11343 [non-C99-based standards] (lgammaf): Likewise.
11344 [non-C99-based standards] (tgammaf): Likewise.
11345 [non-C99-based standards] (y0f): Likewise.
11346 [non-C99-based standards] (y1f): Likewise.
11347 [non-C99-based standards] (ynf): Likewise.
11348 [non-C99-based standards] (isnanf): Likewise.
11349 [non-C99-based standards] (acoshf): Likewise.
11350 [non-C99-based standards] (asinhf): Likewise.
11351 [non-C99-based standards] (atanhf): Likewise.
11352 [non-C99-based standards] (cbrtf): Likewise.
11353 [non-C99-based standards] (expm1f): Likewise.
11354 [non-C99-based standards] (ilogbf): Likewise.
11355 [non-C99-based standards] (log1pf): Likewise.
11356 [non-C99-based standards] (logbf): Likewise.
11357 [non-C99-based standards] (nextafterf): Likewise.
11358 [non-C99-based standards] (remainderf): Likewise.
11359 [non-C99-based standards] (rintf): Likewise.
11360 [non-C99-based standards] (scalbf): Likewise.
11361 [non-C99-based standards] (copysignl): Likewise.
11362 [non-C99-based standards] (exp2l): Likewise.
11363 [non-C99-based standards] (log2l): Likewise.
11364 [non-C99-based standards] (modfl): Allow.
11365 [non-C99-based standards] (erfl): Do not allow.
11366 [non-C99-based standards] (erfcl): Likewise.
11367 [non-C99-based standards] (gammal): Likewise.
11368 [non-C99-based standards] (hypotl): Likewise.
11369 [non-C99-based standards] (j0l): Likewise.
11370 [non-C99-based standards] (j1l): Likewise.
11371 [non-C99-based standards] (jnl): Likewise.
11372 [non-C99-based standards] (lgammal): Likewise.
11373 [non-C99-based standards] (tgammal): Likewise.
11374 [non-C99-based standards] (y0l): Likewise.
11375 [non-C99-based standards] (y1l): Likewise.
11376 [non-C99-based standards] (ynl): Likewise.
11377 [non-C99-based standards] (isnanl): Likewise.
11378 [non-C99-based standards] (acoshl): Likewise.
11379 [non-C99-based standards] (asinhl): Likewise.
11380 [non-C99-based standards] (atanhl): Likewise.
11381 [non-C99-based standards] (cbrtl): Likewise.
11382 [non-C99-based standards] (expm1l): Likewise.
11383 [non-C99-based standards] (ilogbl): Likewise.
11384 [non-C99-based standards] (log1pl): Likewise.
11385 [non-C99-based standards] (logbl): Likewise.
11386 [non-C99-based standards] (nextafterl): Likewise.
11387 [non-C99-based standards] (remainderl): Likewise.
11388 [non-C99-based standards] (rintl): Likewise.
11389 [non-C99-based standards] (scalbl): Likewise.
11390 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11391 [non-C99-based standards] (FP_*): Do not allow.
11392 [C99-based standards] (FP_*): Change to
11393 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11394 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11395 allow.
11396 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11397 (SIG_ERR): Likewise.
11398 [X/Open-based standards] (SIG_HOLD): Likewise.
11399 (SIG_IGN): Likewise.
11400 (SIGABRT): Use macro-int-constant. Specify type. Require
11401 positive value.
11402 (SIGFPE): Likewise.
11403 (SIGILL): Likewise.
11404 (SIGINT): Likewise.
11405 (SIGSEGV): Likewise.
11406 (SIGTER): Likewise.
11407 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11408 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11409 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11410 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11411 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11412 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11413 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11414 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11415 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11416 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11417 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11418 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11419 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11420 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11421 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11422 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11423 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11424 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11425 [X/Open-based standards] (SIGTRAP): Likewise.
11426 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11427 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11428 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11429 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11430 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11431 allow.
11432
b9f1922d
IW
114332012-05-08 Ian Wienand <ianw@vmware.com>
11434
11435 [BZ #14080]
11436 * time/tzset.c (__tzset_parse_tz): Update default rules for
11437 daylight time changes in the Energy Policy Act of 2005.
11438
1db86e88
AJ
114392012-05-09 Andreas Jaeger <aj@suse.de>
11440
11441 [BZ #13983]
11442 * elf/ldconfig.c (parse_conf): Change string to make clear that
11443 ldconfig only issued a warning if ld.so.conf does not exist.
11444
dee4a4e3
DM
114452012-05-08 David S. Miller <davem@davemloft.net>
11446
ee0db190
DM
11447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11448 movxtod instead of popping the value on the stack.
11449
dee4a4e3
DM
11450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11451
6a43ec98
CD
114522012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11453
11454 * config.h.in: Add HAVE_ARM_PCS_VFP.
11455
05c2c961
RMG
114562012-05-08 Roland Mc Grath <roland@hack.frob.com>
11457
bcfe3a54
ST
11458 [BZ #13979]
11459 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11460 checking but the checks are disabled for any reason.
05c2c961 11461
4b30f61a
L
114622012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11463
11464 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11465 and ELF64_R_TYPE with ELFW(R_TYPE).
11466
eee2bc67
JM
114672012-05-08 Joseph Myers <joseph@codesourcery.com>
11468
7ea5391a
JM
11469 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11470 (ulimit): Likewise.
11471
eee2bc67
JM
11472 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11473 (settimeofday): Likewise.
11474
abb66a67
MF
114752012-05-08 Mike Frysinger <vapier@gentoo.org>
11476
11477 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11478 a struct th_u2 inside the union, and move tu_block/tu_code into
11479 a new th_u3 union of tu_block/tu_code inside of that. Move
11480 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11481 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11482 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11483 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11484 (th_stuff): Change to th_u1.tu_stuff.
11485 (th_data): Define.
11486 (th_msg): Change to th_u1.th_u2.tu_data.
11487
7f18b530
DM
114882012-05-07 David S. Miller <davem@davemloft.net>
11489
05760585
DM
11490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11491
7f18b530
DM
11492 [BZ #14074]
11493 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11494 (SETUP_PIC_REG): Use it.
11495 (SETUP_PIC_REG_LEAF): Use it.
11496
495fd99f
JM
114972012-05-07 Joseph Myers <joseph@codesourcery.com>
11498
11499 [BZ #13885]
11500 [BZ #13923]
11501 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11502 USE_AS_EXPM1L.
11503 (EXPL_FINITE): Likewise.
11504 (FLDLOG): Likewise.
11505 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11506 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11507 e_expl.S.
11508 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11509 USE_AS_EXPM1L.
11510 (EXPL_FINITE): Likewise.
11511 (FLDLOG): Likewise.
11512 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11513 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11514 e_expl.S.
11515 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11516 test of -max_value argument for long double.
11517 * sysdeps/i386/fpu/libm-test-ulps: Update.
11518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11519
6693d694
DM
115202012-05-06 David S. Miller <davem@davemloft.net>
11521
11522 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11523 quad soft-float symbols whose references which are compiler
11524 generated.
11525 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11526
6c23e11c
JM
115272012-05-06 Joseph Myers <joseph@codesourcery.com>
11528
d8b82cad
JM
11529 [BZ #13884]
11530 [BZ #13914]
11531 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11532 USE_AS_EXP10L.
11533 (EXPL_FINITE): Likewise.
11534 (FLDLOG): Likewise.
11535 (c0): Likewise.
11536 (c1): Likewise.
11537 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11538 Adjust comments for base varying.
11539 (__expl_finite): Change alias to EXPL_FINITE.
11540 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11541 e_expl.S.
11542 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11543 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11545 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11546 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11547 USE_AS_EXP10L.
11548 (EXPL_FINITE): Likewise.
11549 (FLDLOG): Likewise.
11550 (c0): Likewise.
11551 (c1): Likewise.
11552 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11553 Adjust comments for base varying.
11554 (__expl_finite): Change alias to EXPL_FINITE.
11555 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11556 tests for bugs.
11557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11558
6c23e11c
JM
11559 [BZ #14064]
11560 * math/libm-test.inc (check_float_internal): Correct ulp
11561 calculation for subnormal expected results.
11562
29ba805c
AJ
115632012-05-06 Andreas Jaeger <aj@suse.de>
11564
11565 * Makeconfig (+math-flags): New, set to -frounding-math.
11566 (+cflags): Add +math-flags so that all of glibc gets compiled with
11567 it.
11568
11569 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11570
7b17aeda
JM
115712012-05-05 Joseph Myers <joseph@codesourcery.com>
11572
5779f134
JM
11573 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11574 Disable one test.
11575
41498f4d
JM
11576 [BZ #13787]
11577 [BZ #13922]
11578 [BZ #14036]
11579 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11580 (__ieee754_expl): Allow for and saturate large arguments.
11581 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11582 (u_threshold): Likewise.
11583 (__exp): Call __ieee754_exp before checking for overflow and
11584 underflow.
11585 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11586 (u_threshold): Likewise.
11587 (__expf): Call __ieee754_expf before checking for overflow and
11588 underflow.
11589 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11590 (u_threshold): Likewise.
11591 (__expl): Call __ieee754_expl before checking for overflow and
11592 underflow.
11593 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11594 (__ieee754_expl): Allow for and saturate large arguments.
11595 * math/libm-test.inc (exp_test): Add another test. Do not allow
11596 missing overflow exception on overflow.
11597 (expm1_test): Do not allow missing overflow exception on overflow.
11598
6698b8bf
JM
11599 * sysdeps/i386/fpu/e_expl.c: Move to ...
11600 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11601 rather than using inline asm.
11602 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11603 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11604 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11605
7b17aeda
JM
11606 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11607 (nice): Likewise.
11608 (poll): Likewise.
11609 (signal): Likewise.
11610 (time): Likewise.
11611 (times): Likewise.
11612
f7c85819
JM
116132012-05-04 Joseph Myers <joseph@codesourcery.com>
11614
11615 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11616 sysdeps/unix/common/syscalls.list.
11617 (fchmod): Likewise.
11618 (fchown): Likewise.
11619 (ftruncate): Likewise.
11620 (getrusage): Likewise.
11621 (gettimeofday): Likewise.
11622 (setpgid): Likewise.
11623 (setregid): Likewise.
11624 (setreuid): Likewise.
11625 (sigaction): Likewise.
11626 (truncate): Likewise.
11627 (vhangup): Likewise.
11628 * sysdeps/unix/common/syscalls.list: Remove file.
11629 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11630 * sysdeps/unix/sysv/linux/Implies: Likewise.
11631
336270d0
L
116322012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11633
11634 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11636 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11637 Moved to ...
11638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11639 Here.
11640 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11641 to ...
11642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11643 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11644 to ...
11645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11646 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11647 to ...
11648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11649 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11650 to ...
11651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11652 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11653 to ...
11654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11655 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11656 to ...
11657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11658 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11659 to ...
11660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11661 Here.
11662 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11663 to ...
11664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11665 Here.
11666 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11667 to ...
11668 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11669 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11670 Moved to ...
11671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11672 Here.
11673 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11674 to ...
11675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11676
d128e450
JM
116772012-05-04 Joseph Myers <joseph@codesourcery.com>
11678
fa8ee516
JM
11679 * sysdeps/unix/common/bits/dirent.h: Remove file.
11680 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11681
d128e450
JM
11682 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11683 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11684 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11685 * sysdeps/unix/bsd/isatty.c: Likewise.
11686 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11687 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11688 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11689
ff8faaf0 116902012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11691
62881be4 11692 [BZ #13563]
31dc8730
AZ
11693 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11694 long double comparison inaccuracies.
11695 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11697
6fef930c
AS
116982012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11699
11700 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11701 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11702
8f203e6c
JM
117032012-05-04 Joseph Myers <joseph@codesourcery.com>
11704
11705 [BZ #14049]
11706 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11707 nonzero digits before rounding a hex value.
11708 * stdlib/tst-strtod.c (tests): Add another test.
11709
5197d9c2
AK
117102012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11711
11712 * sysdeps/s390/fpu/libm-test-ulps: Update.
11713
f0c1dedf
AJ
117142012-05-03 Andreas Jaeger <aj@suse.de>
11715
11716 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11717 does not get optimized out.
11718 (malloc_opt_barrier): New.
11719
a65ef2ae 117202012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11721 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11722
2b942cb7 11723 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11724 intermediate file deletion.
2b942cb7 11725 (generated): Add .symlist files.
a65ef2ae 11726
54b71e02
JM
117272012-05-03 Joseph Myers <joseph@codesourcery.com>
11728
11729 [BZ #13775]
11730 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11731 Redirect under this condition.
11732 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11733 [__USE_GNU] (__dprintf_chk): Not under this condition.
11734 [__USE_GNU] (__vdprintf_chk): Likewise.
11735 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11736 under this condition.
11737 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11738 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11739 [__USE_XOPEN2K8] (vdprintf): Likewise.
11740 [__USE_GNU] (__dprintf_chk): Not under this condition.
11741 [__USE_GNU] (__vdprintf_chk): Likewise.
11742 [__USE_GNU] (dprintf): Likewise.
11743 [__USE_GNU] (vdprintf): Likewise.
11744
d3dfcc41
RM
117452012-05-03 Roland McGrath <roland@hack.frob.com>
11746
11747 * elf/Makefile (common-generated): Set this instead of generated for
11748 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11749 $(all-built-dso)-derived lists.
11750
7ac30cc5
AJ
117512012-05-03 Andreas Jaeger <aj@suse.de>
11752
0c51e550
AJ
11753 * sysdeps/i386/fpu/libm-test-ulps: Update.
11754
7ac30cc5
AJ
11755 * FAQ: Removed.
11756 * FAQ.in: Likewise.
11757 * scripts/gen-FAQ.pl: Likewise.
11758 * manual/install.texi (Installation): Point to online location of
11759 FAQ.
11760 * Makefile (files-for-dist): Remove FAQ.
11761 (FAQ): Remove.
11762
d4c2917f
AM
117632012-05-02 Allan McRae <allan@archlinux.org>
11764
11765 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11766 (LDFLAGS-reldepmod5.so): Likewise.
11767 (LDFLAGS-reldep6mod1.so): Likewise.
11768 (LDFLAGS-reldep6mod4.so): Likewise.
11769 (LDFLAGS-reldep8mod3.so): Likewise.
11770 (LDFLAGS-unload4mod1.so): Likewise.
11771 (LDFLAGS-unload4mod2.so): Likewise.
11772 (LDFLAGS-tst-initorder): Likewise.
11773 (LDFLAGS-tst-initordera2.so): Likewise.
11774 (LDFLAGS-tst-initordera3.so): Likewise.
11775 (LDFLAGS-tst-initordera4.so): Likewise.
11776 (LDFLAGS-tst-initorderb2.so): Likewise.
11777 (LDFLAGS-noload): Likewise.
11778 (LDFLAGS-next): Likewise.
11779 (LDFLAGS-order2mod1.so): Likewise.
11780 (LDFLAGS-order2mod2.so): Likewise.
11781 (LDFLAGS-tst-initorder2): Likewise.
11782 (LDFLAGS-tst-initorder2a.so): Likewise.
11783 (LDFLAGS-tst-initorder2b.so): Likewise.
11784 (LDFLAGS-tst-initorder2c.so): Likewise.
11785 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11786
d77f993f
DM
117872012-05-02 David S. Miller <davem@davemloft.net>
11788
11789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11790
171a70b4
PP
117912012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11792
11793 [BZ #14055]
11794 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11795
0be196ad
AJ
117962012-05-02 Andreas Jaeger <aj@suse.de>
11797
11798 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11799 since we manipulate rounding mode.
11800 (CPPFLAGS-test-idouble.c): Likewise.
11801 (CPPFLAGS-test-ifloat.c): Likewise.
11802 (CFLAGS-test-ldouble.c): Likewise.
11803 (CFLAGS-test-double.c): Likewise.
11804 (CFLAGS-test-float.c): Likewise.
11805 (CFLAGS-test-misc.c): Likewise.
11806 (CFLAGS-test-test-fenv.c): Likewise.
11807
4f9d04aa
AZ
118082012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11809
2b942cb7
RM
11810 [BZ #2550]
11811 [BZ #2570]
11812 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11813 comparisons to determine direction to adjust input.
4f9d04aa 11814
82a79e7d
RM
118152012-05-01 Roland McGrath <roland@hack.frob.com>
11816
f5a01ca9
RM
11817 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11818 output to the target.
11819
90fe4186
RM
11820 * scripts/localplt.awk: New file.
11821 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11822 (check-localplt-CFLAGS): Variable removed.
11823 ($(all-built-dso:=.jmprel)): New static pattern rule.
11824 (generated): Add those targets.
11825 (localplt-built-dso): New variable.
11826 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11827
11828 * elf/check-localplt.c: File removed.
11829
82397ed6
RM
11830 * scripts/check-execstack.awk: New file.
11831 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11832 (check-execstack-CFLAGS): Variable removed.
11833 ($(objpfx)check-execstack.h): Target removed.
11834 ($(objpfx)execstack-default): New target.
11835 (generated): Add that instead of check-execstack.h.
11836 ($(all-built-dso:=.phdr)): New static pattern rule.
11837 (generated): Add those targets.
11838 * elf/check-execstack.c: File removed.
11839
82a79e7d
RM
11840 * scripts/check-textrel.awk: New file.
11841 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11842 (check-textrel-CFLAGS): Variable removed.
11843 (all-built-dso): Use := to define.o
11844 ($(all-built-dso:=.dyn)): New static pattern rule.
11845 (generated): Add those targets.
11846 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11847 * config.make.in (READELF): New substituted variable.
11848 * elf/check-textrel.c: File removed.
11849
62fde54f 118502012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11851
615605c9
JM
11852 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11853 allow.
11854 * conform/data/ctype.h-data [C99-based standards] (isblank):
11855 Expect function.
11856 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11857 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11858 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11859 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11860 Specify type. Require positive value.
11861 (EILSEQ): Likewise.
11862 (ERANGE): Likewise.
11863 [ISO || POSIX] (EILSEQ): Do not expect.
11864 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11865 Specify type. Require positive value.
11866 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11867 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11868 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11869 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11870 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11871 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11872 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11873 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11874 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11875 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11876 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11877 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11878 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11879 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11880 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11881 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11882 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11883 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11884 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11885 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11886 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11887 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11888 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11889 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11890 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11891 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11892 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11893 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11894 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11895 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11896 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11897 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11898 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11899 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11900 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11901 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11902 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11903 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11904 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11905 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11906 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11907 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11908 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11909 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11910 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11911 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11912 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11913 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11914 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11915 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11916 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11917 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11918 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11919 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11920 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11921 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11922 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11923 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11924 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11925 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11926 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11927 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11928 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11929 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11930 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11931 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11932 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11933 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11934 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11935 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11936 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11937 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11938 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11939 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11940 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11941 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11942 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11943 Require >= 2.
11944 (FLT_ROUNDS): Expect as macro, not constant.
11945 (FLT_MANT_DIG): Use macro-int-constant.
11946 (DBL_MANT_DIG): Likewise.
11947 (LDBL_MANT_DIG): Likewise.
11948 (FLT_DIG): Likewise.
11949 (DBL_DIG): Likewise.
11950 (LDBL_DIG): Likewise.
11951 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11952 (DBL_MIN_EXP): Likewise.
11953 (LDBL_MIN_EXP): Likewise.
11954 (FLT_MAX_EXP): Use macro-int-constant.
11955 (DBL_MAX_EXP): Likewise.
11956 (LDBL_MAX_EXP): Likewise.
11957 (FLT_MAX_10_EXP): Likewise.
11958 (DBL_MAX_10_EXP): Likewise.
11959 (LDBL_MAX_10_EXP): Likewise.
11960 (FLT_MAX): Use macro-constant.
11961 (DBL_MAX): Likewise.
11962 (LDBL_MAX): Likewise.
11963 (FLT_EPSILON): Use macro-constant. Give upper bound.
11964 (DBL_EPSILON): Likewise.
11965 (LDBL_EPSILON): Likewise.
11966 (FLT_MIN): Likewise.
11967 (DBL_MIN): Likewise.
11968 (LDBL_MIN): Likewise.
11969 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11970 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11971 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11972 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11973 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11974 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11975 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11976 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11977 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11978 [ISO11] (FLT_TRUE_MIN): Likewise.
11979 [ISO11] (LDBL_TRUE_MIN): Likewise.
11980 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11981 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11982 (SCHAR_MIN): Use macro-int-constant. Specify type.
11983 (SCHAR_MAX): Likewise.
11984 (UCHAR_MAX): Likewise.
11985 (CHAR_MIN): Likewise.
11986 (CHAR_MAX): Likewise.
11987 (MB_LEN_MAX): Use macro-int-constant.
11988 (SHRT_MIN): Use macro-int-constant. Specify type.
11989 (SHRT_MAX): Likewise.
11990 (USHRT_MAX): Likewise.
11991 (INT_MAX): Likewise.
11992 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11993 bound negative.
11994 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11995 bound with "U".
11996 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11997 bound with "L".
11998 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11999 bound negative. Suffix upper bound with "L".
12000 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
12001 bound with "UL".
12002 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
12003 Specify type.
12004 [C99-based standards] (LLONG_MAX): Likewise.
12005 [C99-based standards] (ULLONG_MAX): Likewise.
12006 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
12007 == 0.
12008 [ISO11] (max_align_t): Require type.
12009 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12010
c9140a62
JM
12011 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
12012 from $CFLAGS, without defining away __attribute__ calls.
12013 (checknamespace): Use $CFLAGS_namespace.
12014
9af0bf29
JM
12015 * conform/conformtest.pl (@keywords): Only include C99 keywords
12016 for standards based on C99 or C11.
12017
343222a2
JM
12018 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
12019 Disable tests.
12020 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
12021 UNIX98]: Likewise.
12022
661f8cf0
JM
12023 * conform/conformtest.pl: Handle "macro-int-constant" and test for
12024 usability of symbols in #if.
12025
ee74b9cb
JM
12026 * conform/conformtest.pl: If macro or constant types start
12027 "promoted:", expect the symbol to be of the following type
12028 promoted by the integer promotions.
62fde54f 12029
aafc49b3
JM
12030 * conform/conformtest.pl: Parse all "constant" and "macro" lines
12031 in one place. Also handle "macro-constant".
12032
fefdf574
JM
12033 * conform/conformtest.pl: Only accept expected macro values with
12034 "==". Parse all "macro" lines in one place.
12035 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
12036
f2d922fe
JM
12037 * conform/conformtest.pl: Handle braced types on "constant" lines
12038 instead of handling "typed-constant".
12039 * conform/data/signal.h-data: Use "constant" instead of
12040 "typed-constant".
12041
d22956c9
JM
12042 * conform/conformtest.pl: Handle "optional-" at start of lines in
12043 one place rather than duplicating several cases. Handle each
12044 format of "macro" line with initial "optional-".
12045
028e2e38
JM
12046 * conform/conformtest.pl: Only accept expected constant or
12047 optional-constant values with "==". Parse all "constant" lines in
12048 one place. Parse all "optional-constant" lines in one place.
12049 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
12050 * conform/data/fmtmsg.h-data: Likewise.
12051 * conform/data/netinet/in.h-data: Likewise.
12052 * conform/data/tar.h-data: Likewise.
12053 * conform/data/limits.h-data: Use "==" form on "constant" and
12054 "optional-constant" lines.
12055
1b8f2850
JM
12056 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
12057 Use -std=c99 for XOPEN2K.
12058 (@knownproblems): Remove.
12059 (newtoken): Don't check %isknown.
12060
a05a144b
JM
12061 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
12062 Do not expect macro.
12063 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
12064 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
12065 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
12066 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
12067 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
12068 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
12069 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
12070 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
12071 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
12072 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
12073 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
12074 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
12075 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
12076 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
12077 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
12078 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
12079 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
12080 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
12081 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
12082 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
12083 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
12084 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
12085 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
12086 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
12087 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
12088 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
12089 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
12090 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
12091 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
12092 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
12093 [XPG3] (acosh): Likewise.
12094 [XPG3] (asinh): Likewise.
12095 [XPG3] (atanh): Likewise.
12096 [XPG3] (cbrt): Likewise.
12097 [XPG3] (expm1): Likewise.
12098 [XPG3] (ilogb): Likewise.
12099 [XPG3] (log1p): Likewise.
12100 [XPG3] (logb): Likewise.
12101 [XPG3] (nextafter): Likewise.
12102 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
12103 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
12104 [XPG3] (remainder): Likewise.
12105 [XPG3] (rint): Likewise.
12106 [XPG3 || XPG4 || UNIX98] (round): Likewise.
12107 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
12108 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
12109 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
12110 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
12111 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
12112 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
12113 [UNIX98 || XOPEN2K] (scalb): Expect.
12114 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
12115 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
12116 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
12117 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
12118 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
12119 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
12120 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
12121 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
12122 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
12123 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
12124 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
12125 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
12126 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
12127 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
12128 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
12129 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
12130 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
12131 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
12132 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
12133 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
12134 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
12135 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
12136 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
12137 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
12138 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
12139 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
12140 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
12141 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
12142 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
12143 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
12144 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
12145 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
12146 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
12147 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
12148 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
12149 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
12150 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
12151 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
12152 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
12153 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
12154 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
12155 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
12156 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
12157 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
12158 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
12159 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
12160 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12161 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12162 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12163 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12164 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12165 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12166 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12167 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12168 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12169 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12170 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12171 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12172 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12173 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12174 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12175 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12176 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12177 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12178 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12179 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12180 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12181 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12182 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12183 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12184 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12185 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12186 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12187 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12188 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12189 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12190 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12191 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12192 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12193 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12194 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12195 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12196 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12197 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12198 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12199 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12200 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12201 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12202 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12203 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12204 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12205 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12206 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12207 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12208 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12209 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12210 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12211 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12212 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12213 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12214 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12215 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12216 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12217 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12218 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12219 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12220 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12221 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12222 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12223 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12224 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12225 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12226 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12227 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12228 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12229 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12230 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12231 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12232 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12233 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12234 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12235 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12236 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12237 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12238 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12239 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12240 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12241 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12242 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12243 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12244 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12245 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12246 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12247 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12248 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12249 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12250 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12251
73c5ebe3
JM
12252 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12253 _XOPEN_SOURCE_EXTENDED for XPG4.
12254
39c33b6c
JM
12255 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12256
62fde54f
JM
12257 * Makeconfig (localtime): Remove variable.
12258 (inst_localtime-file): Likewise.
12259
0741d64c
AS
122602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12261
12262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12263 Update.
12264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12265 Update.
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12267 Update.
12268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12269 Update.
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12271 Update.
12272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12273 Update.
12274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12275 Update.
12276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12277 Update.
12278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12279 Update.
12280
7cb029ee
JM
122812012-05-01 Joseph Myers <joseph@codesourcery.com>
12282
12283 [BZ #2550]
12284 [BZ #2570]
12285 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12286 comparisons to determine direction to adjust input.
12287 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12288 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12289 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12290 Likewise.
12291 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12292 Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12294 Likewise.
12295 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12296 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12297 Likewise.
12298 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12299 Likewise.
12300 * math/libm-test.inc (nexttoward_test): Add more tests.
12301
412bd966
AS
123022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12303
12304 [BZ #14040]
12305 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12306 in version GLIBC_2.1, not GLIBC_2.0.
12307 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12308 Likewise.
12309
9568c0c2
JM
123102012-04-30 Joseph Myers <joseph@codesourcery.com>
12311
adfbc8ac
JM
12312 [BZ #13942]
12313 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12314 (1 - x) * (1 + x).
12315 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12316 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12317 * math/libm-test.inc (acos_test): Add more tests.
12318 (asin_test): Likewise.
12319 * sysdeps/i386/fpu/libm-test-ulps: Update.
12320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12321
5ba3cc69
JM
12322 [BZ #14034]
12323 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12324 of square root.
12325 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12326 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12327 * math/libm-test.inc (acos_test_tonearest): New function.
12328 (acos_test_towardzero): Likewise.
12329 (acos_test_downward): Likewise.
12330 (acos_test_upward): Likewise.
12331 (asin_test_tonearest): Likewise.
12332 (asin_test_towardzero): Likewise.
12333 (asin_test_downward): Likewise.
12334 (asin_test_upward): Likewise.
12335 (main): Call the new functions.
12336 * sysdeps/i386/fpu/libm-test-ulps: Update.
12337 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12338
9568c0c2
JM
12339 [BZ #13884]
12340 [BZ #13924]
12341 * math/e_exp10.c: Include <float.h>.
12342 (__ieee754_exp10): Handle underflow here rather than multiplying
12343 large negative argument by M_LN10.
12344 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12345 of __ieee754_expf.
12346 * math/e_exp10l.c: Include <float.h>.
12347 (__ieee754_exp10l): Handle underflow here rather than multiplying
12348 large negative argument by M_LN10l.
12349 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12350 spurious overflow exception on underflow.
12351
5ac3ea17
MP
123522012-04-29 Marek Polacek <polacek@redhat.com>
12353
12354 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12355 (__fortify_function): New macro.
12356 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12357 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12358 __extern_always_inline.
12359 * libio/bits/stdio2.h: Likewise.
12360 * libio/bits/stdio.h: Likewise.
12361 * string/string.h: Likewise.
12362 * string/bits/string3.h: Likewise.
12363 * include/stdio.h: Likewise.
12364 * stdlib/bits/stdlib.h: Likewise.
12365 * stdlib/stdlib.h: Likewise.
12366 * rt/bits/mqueue2.h: Likewise.
12367 * rt/mqueue.h: Likewise.
12368 * posix/bits/unistd.h: Likewise.
12369 * posix/unistd.h: Likewise.
12370 * io/bits/poll2.h: Likewise.
12371 * io/bits/fcntl2.h: Likewise.
12372 * io/fcntl.h: Likewise.
12373 * io/sys/poll.h: Likewise.
12374 * misc/bits/syslog.h: Likewise.
12375 * misc/bits/syslog-ldbl.h: Likewise.
12376 * misc/sys/syslog.h: Likewise.
12377 * socket/bits/socket2.h: Likewise.
12378 * socket/sys/socket.h: Likewise.
12379 * debug/tst-chk1.c: Likewise.
12380 * wcsmbs/bits/wchar2.h: Likewise.
12381 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12382 * wcsmbs/wchar.h: Likewise.
12383
ecf0ebfb
AJ
123842012-04-29 Andreas Jaeger <aj@suse.de>
12385
12386 * Makerules (tests): Remove enable-check-abi protection.
12387 (check-abi-warn): Remove.
12388 (check-abi-%): Remove check-abi-warn usage.
12389
12390 * configure.in: Remove check-abi configure option.
12391 * configure: Regenerated.
12392 * config.make.in (enable-check-abi): Remove.
12393
6d5c57fa
AS
123942012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12395
24c5d07e 12396 [BZ #14033]
ded5180a
AS
12397 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12398 double functions to double *_finite functions.
12399
7e0d315d
AS
12400 [BZ #13941]
12401 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12402 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12403 LDBL_MIN_EXP.
12404 * stdio-common/Makefile (tests): Add tst-sprintf3.
12405 * stdio-common/tst-sprintf3.c: New file.
12406
6d5c57fa
AS
12407 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12408 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12409
0749ff8b
JM
124102012-04-28 Joseph Myers <joseph@codesourcery.com>
12411
12412 * conform/conformtest.pl: Remove duplicate typed-constant
12413 handling.
12414
8dbd5d7b
DM
124152012-04-28 David S. Miller <davem@davemloft.net>
12416
12417 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12418 (check-abi-%): Remove AWK script prerequisite and explicit
12419 abilist directory.
12420 (check-abi): Rewrite to just diff the symlist with the abilist.
12421 (config-tls, config-abi-config): Delete, no longer used.
12422 (update-abi-%): Remove AWK script and explicit abilist directory.
12423 (update-abi): Rewrite to simply compare and conditionally copy the
12424 symlist and the sysdep abilist file. Remove update-abi-config
12425 checks.
12426 * abilist/ld.abilist: Remove.
12427 * abilist/libBrokenLocale.abilist: Remove.
12428 * abilist/libanl.abilist: Remove.
12429 * abilist/libcrypt.abilist: Remove.
12430 * abilist/libdl.abilist: Remove.
12431 * abilist/librt.abilist: Remove.
12432 * abilist/libthread_db.abilist: Remove.
12433 * abilist/libutil.abilist: Remove.
12434 * scripts/extract-abilist.awk: Remove.
12435 * scripts/merge-abilist.awk: Remove.
12436 * sysdeps/generic/libcidn.abilist: New file.
12437 * sysdeps/generic/libnss_compat.abilist: New file.
12438 * sysdeps/generic/libnss_db.abilist: New file.
12439 * sysdeps/generic/libnss_dns.abilist: New file.
12440 * sysdeps/generic/libnss_files.abilist: New file.
12441 * sysdeps/generic/libnss_hesiod.abilist: New file.
12442 * sysdeps/generic/libnss_nis.abilist: New file.
12443 * sysdeps/generic/libnss_nisplus.abilist: New file.
12444 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12445 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12446 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12447 file.
12448 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12449 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12450 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12451 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12452 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12453 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12454 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12455 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12456 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12457 file.
12458 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12459 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12460 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12461 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12462 file.
12463 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12464 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12465 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12466 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12467 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12468 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12469 file.
12470 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12471 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12472 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12473 file.
12474 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12476 New file.
12477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12478 New file.
12479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12480 New file.
12481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12482 New file.
12483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12484 New file.
12485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12486 New file.
12487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12488 New file.
12489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12490 New file.
12491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12492 New file.
12493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12494 New file.
12495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12496 New file.
12497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12498 New file.
12499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12500 New file.
12501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12502 file.
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12504 New file.
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12506 New file.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12508 file.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12510 New file.
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12512 New file.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12514 file.
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12516 New file.
12517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12518 New file.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12520 New file.
12521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12522 New file.
12523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12524 New file.
12525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12526 New file.
12527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12529 file.
12530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12531 New file.
12532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12533 file.
12534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12535 file.
12536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12537 file.
12538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12539 file.
12540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12541 file.
12542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12543 New file.
12544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12545 file.
12546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12547 file.
12548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12549 New file.
12550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12551 file.
12552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12554 file.
12555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12556 New file.
12557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12558 file.
12559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12560 file.
12561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12562 file.
12563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12564 file.
12565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12566 file.
12567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12568 New file.
12569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12570 file.
12571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12572 file.
12573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12574 New file.
12575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12576 file.
12577 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12578 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12579 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12580 file.
12581 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12582 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12583 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12584 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12585 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12586 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12587 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12588 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12589 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12590 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12593 file.
12594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12595 New file.
12596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12597 file.
12598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12599 file.
12600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12601 file.
12602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12603 file.
12604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12605 file.
12606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12607 New file.
12608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12609 New file.
12610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12611 file.
12612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12613 New file.
12614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12615 file.
12616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12618 file.
12619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12620 New file.
12621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12622 file.
12623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12624 file.
12625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12626 file.
12627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12628 file.
12629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12630 file.
12631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12632 New file.
12633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12634 New file.
12635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12636 file.
12637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12638 New file.
12639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12640 file.
12641
41d73a1b
JM
126422012-04-28 Joseph Myers <joseph@codesourcery.com>
12643
12644 * conform/conformtest.pl: Fix typo in handling typed-constant from
12645 allow-header.
12646
28aeeda4
JM
126472012-04-27 Joseph Myers <joseph@codesourcery.com>
12648
adae8f5e
JM
12649 * README: Cut down references to pre-2.6 Linux kernels and
12650 Linuxthreads. Update lists of configurations in libc and ports
12651 and sort alphabetically. Say "or newer" with Linux kernel version
12652 requirements.
12653
28aeeda4
JM
12654 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12655
a462cb63
RA
126562012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12657
12658 [BZ #887]
12659 * math/libm-test.inc (logb_test_downward): New test to expose
12660 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12661 rounding mode.
12662
6ad3493e
JM
126632012-04-27 Joseph Myers <joseph@codesourcery.com>
12664
12665 [BZ #14027]
12666 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12667 to be done.
12668 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12669 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12670
2ce4f015
JM
126712012-04-26 Joseph Myers <joseph@codesourcery.com>
12672
5aeb141a
JM
12673 * sysdeps/unix/i386/brk.S: Remove file.
12674 * sysdeps/unix/i386/dl-brk.S: Likewise.
12675 * sysdeps/unix/i386/pipe.S: Likewise.
12676 * sysdeps/unix/i386/sigreturn.S: Likewise.
12677 * sysdeps/unix/i386/syscall.S: Likewise.
12678 * sysdeps/unix/i386/vfork.S: Likewise.
12679 * sysdeps/unix/i386/wait.S: Likewise.
12680
7143acae
JM
12681 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12682 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12683
2ce4f015
JM
12684 * configure.in (arm*-none*): Do not allow without
12685 --enable-hacker-mode.
12686 (netbsd*): Remove case setting base_os.
12687 (386bsd*): Likewise.
12688 (freebsd*): Likewise.
12689 (bsdi*): Likewise.
12690 (osf*): Likewise.
12691 (sunos*): Likewise.
12692 (ultrix*): Likewise.
12693 (newsos*): Likewise.
12694 (dynix*): Likewise.
12695 (*bsd*): Likewise.
12696 (sysv*): Likewise.
12697 (isc*): Likewise.
12698 (esix*): Likewise.
12699 (sco*): Likewise.
12700 (minix*): Likewise.
12701 (irix4*): Likewise.
12702 (irix6*): Likewise.
12703 (solaris[2-9]*): Likewise.
12704 (none): Likewise.
12705 * configure: Regenerated.
12706
0ac229c8
AZ
127072012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12708
12709 [BZ #11521]
12710 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12711 overflow or cancellation in calculating denominator.
12712 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12713 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12714 down expression to avoid unexpected rounding in newer GCCs.
12715 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12716
33f244f4
DM
127172012-04-26 David S. Miller <davem@davemloft.net>
12718
12719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12720 long-double compat symbols.
12721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12734
cfa1f3e8
DM
127352012-04-25 David S. Miller <davem@davemloft.net>
12736
12737 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12738 HWCAP_* values only after the memory barriers have been defined.
12739 (atomic_full_barrier): Define.
12740 (atomic_read_barrier): Define.
12741 (atomic_write_barrier): Define.
12742
6e236b92
SP
127432012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12744
12745 * shlib-versions: Add libgcc_s version information.
12746 * sysdeps/generic/libgcc_s.h: Remove.
12747 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12748 libgcc_s.h.
12749 * sysdeps/gnu/unwind-resume.c: Likewise.
12750 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12751
aab39a09
DM
127522012-04-25 David S. Miller <davem@davemloft.net>
12753
12754 * sysdeps/unix/sparc/brk.S: Delete.
12755 * sysdeps/unix/sparc/dl-brk.S: Delete.
12756 * sysdeps/unix/sparc/pipe.S: Delete.
12757 * sysdeps/unix/sparc/sysdep.S: Delete.
12758 * sysdeps/unix/sparc/sysdep.h: Delete.
12759 * sysdeps/unix/sparc/vfork.S: Delete.
12760 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12761 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12762 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12763 ret_ERRVAL, r0, r1, MOVE): Define.
12764 (JUMPTARGET): Remove.
12765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12766 sysdeps/unix/sparc/sysdep.h
12767 (ENTRY, END): Remove.
12768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12769
a3cc4f48
JM
127702012-04-25 Joseph Myers <joseph@codesourcery.com>
12771
2ed8cda2
JM
12772 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12773 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12774 -DIS_IN_build.
12775
35d76d59
JM
12776 * timezone/README: Update upstream location and email address for
12777 tzcode and tzdata.
12778 * timezone/zdump.c: Update from tzcode 2012b.
12779 * timezone/zic.c: Likewise.
12780
a3cc4f48
JM
12781 * configure.in (libc_cv_as_needed): Remove test.
12782 * configure: Regenerated.
12783 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12784 conditional definition.
12785 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12786 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12787 * config.make.in (have-as-needed): Remove variable.
12788
ceab42c3
SP
127892012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12790 Paul Pluzhnikov <ppluzhnikov@google.com>
12791
12792 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12793 strings correctly.
12794
3ce2865f
CLT
127952012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12796
12797 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12798 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12799 * sysdeps/sh/strlen.S: Likewise.
12800
f37e0d68
JM
128012012-04-24 Joseph Myers <joseph@codesourcery.com>
12802
ae186e9a
JM
12803 * sysdeps/unix/fork.S: Remove file.
12804 * sysdeps/unix/i386/fork.S: Likewise.
12805 * sysdeps/unix/sparc/fork.S: Likewise.
12806
b96914af
JM
12807 * sysdeps/unix/system.c: Remove file.
12808 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12809
f37e0d68
JM
12810 * sysdeps/unix/getegid.S: Remove file.
12811 * sysdeps/unix/geteuid.S: Likewise.
12812
87ef29ca
RM
128132012-04-24 Roland McGrath <roland@hack.frob.com>
12814
83bcd236
RM
12815 * scripts/check-localplt.awk: New file.
12816 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12817 of diff.
12818 * scripts/data/localplt-generic.data: Add a comment.
12819
87ef29ca
RM
12820 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12821 NODE when __dir_mkfile failed.
12822 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12823 Reported by Ludovic Courtès <ludo@gnu.org>.
12824
e5a6e567
AJ
128252012-04-24 Andreas Jaeger <aj@suse.de>
12826
12827 * Makerules (common-clean): Also remove gen-as-const-headers
12828 files.
12829
c1820385
JM
128302012-04-24 Joseph Myers <joseph@codesourcery.com>
12831
12832 * Makerules (native-compile): Do not change working directory for
12833 build. Use $(OUTPUT_OPTION) in command.
12834 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12835
94e02fc4
AZ
128362012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12837
12838 [BZ #13886]
12839 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12840 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12841 * math/libm-test.inc (floor_test): Add more tests.
12842 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12843
3a533ca3
JM
128442012-04-24 Joseph Myers <joseph@codesourcery.com>
12845
940ab4b3
JM
12846 * sysdeps/unix/getdents.c: Remove file.
12847 * sysdeps/unix/sysv/getdents.c: Likewise.
12848 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12849
90e037bd
JM
12850 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12851 sysdeps/unix/mman/syscalls.list.
12852 (mmap): Likewise.
12853 (mprotect): Likewise.
12854 (msync): Likewise.
12855 (munmap): Likewise.
12856 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12857 * sysdeps/unix/mman/syscalls.list: Remove.
12858 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12859
3a533ca3
JM
12860 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12861 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12862 * configure: Regenerated.
12863 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12864 $(libgcc_s_suffix).
12865 * config.make.in (libgcc_s_suffix): Remove variable.
12866
1ad743de
JM
128672012-04-23 Joseph Myers <joseph@codesourcery.com>
12868
4ad451e2
JM
12869 * sysdeps/unix/sysv/gethostname.c: Move to ...
12870 * sysdeps/posix/gethostname.c: ... here.
12871
5e37ce39
JM
12872 * sysdeps/unix/execve.S: Remove file.
12873
1ad743de
JM
12874 * sysdeps/unix/_exit.S: Remove file.
12875
4e681b5b
AJ
128762012-04-23 Andreas Jaeger <aj@suse.de>
12877
12878 [BZ #13739]
12879 * manual/Makefile: Remove make dist support, there's no
12880 need for a stand-alone documentation tar ball.
12881 (TEXI2DVI): Define always, it's not in Makeconfig.
12882 (dist): Removed.
12883 (tar-it): Removed.
12884 (edition): Removed.
12885 (glibc-doc-$(edition).tar): Removed
12886 (%.Z): Removed.
12887 (%.gz): Removed.
12888 (%.uu): Removed.
12889 (ETAGS): Remove, it's in Makeconfig.
12890 (move-if-change): Remove, it's in Makeconfig.
12891
38686a03 128922012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12893
12894 [BZ #13970]
12895 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12896 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12897 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12898 (strtod_l, strtof_l, strtold_l): Remove __wur.
12899 It is not necessarily an error to ignore strtol's return value.
12900 One can reliably look at the stored endptr to decide whether
12901 the number had valid syntax.
12902
7c0616fa
AJ
129032012-04-21 Andreas Jaeger <aj@suse.de>
12904
803cb6b7 12905 [BZ #13739]
7c0616fa
AJ
12906 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12907
b0fe253f
JM
129082012-04-21 Joseph Myers <joseph@codesourcery.com>
12909
12910 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12911 * sysdeps/unix/sysv/Versions: Remove file.
12912
8280f22d
MT
129132012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12914
12915 [BZ #13927]
12916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12917
75ce411f 129182012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12919
12920 [BZ #7064]
12921 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12922 version from __vm86.
12923
097d59fa
JM
129242012-04-20 Joseph Myers <joseph@codesourcery.com>
12925
a90f3bcb
JM
12926 * sysdeps/unix/common/lxstat.c: Remove file.
12927 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12928
edc7ea78
JM
12929 * sysdeps/unix/sysv/Makefile: Remove file.
12930
cb78c221
JM
12931 * sysdeps/unix/sysv/direct.h: Remove file.
12932
efa6a45f
JM
12933 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12934 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12935 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12936 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12937 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12938 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12939 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12940
9c9f2d0c
JM
12941 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12942
4541c83b
JM
12943 * sysdeps/unix/xmknod.c: Remove file.
12944 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12945
f5d153a0
JM
12946 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12947
aa746595
JM
12948 * sysdeps/unix/sysv/i386/time.S: Remove file.
12949
cce5905e
JM
12950 * sysdeps/unix/fxstat.c: Remove file.
12951 * sysdeps/unix/xstat.c: Likewise.
12952 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12953
37fa3841
JM
12954 * sysdeps/unix/sysv/sigaction.c: Remove file.
12955
ff1962a3
JM
12956 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12957 (sysdep_headers): Remove variable.
12958 [termio.h not in sysdep_headers] (generated): Likewise.
12959 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12960 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12961 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12962 * sysdeps/unix/sysv/tcflow.c: Likewise.
12963 * sysdeps/unix/sysv/tcflush.c: Likewise.
12964 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12965 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12966 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12967 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12968 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12969
e7740d31
JM
12970 * sysdeps/unix/siglist.c: Remove file.
12971
ee06f18b
JM
12972 * sysdeps/unix/getppid.S: Remove file.
12973
097d59fa
JM
12974 * sysdeps/unix/mkdir.c: Remove file.
12975 * sysdeps/unix/rmdir.c: Likewise.
12976
ff3d51ec
AS
129772012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12978
12979 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12980 ERR_MAX value.
12981 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12982 errlist-compat value.
12983
50f81fd7
DM
129842012-04-18 David S. Miller <davem@davemloft.net>
12985
12986 * sysdeps/generic/memcopy.h (reg_char): Delete.
12987 * debug/strcat_chk.c: Use char, not reg_char.
12988 * debug/strcpy_chk.c: Likewise.
12989 * debug/strncat_chk.c: Likewise.
12990 * debug/strncpy_chk.c: Likewise.
12991 * string/memchr.c: Likewise.
12992 * string/memrchr.c: Likewise.
12993 * string/rawmemchr.c: Likewise.
12994 * string/strcat.c: Likewise.
12995 * string/strchr.c: Likewise.
12996 * string/strchrnul.c: Likewise.
12997 * string/strcmp.c: Likewise.
12998 * string/strcpy.c: Likewise.
12999 * string/strncat.c: Likewise.
13000 * string/strncmp.c: Likewise.
13001 * string/strncpy.c: Likewise.
13002
8ff41c46
WS
130032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13004
13005 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
13006 __builtin_memcopy is called when src and dest ranges are known to not
13007 overlap.
13008
6b652f46
WS
130092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13010
13011 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
13012 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
13013 fwd_align_merge macro call.
13014 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
13015 bwd_align_merge macro call.
13016 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13017
b282631e
WS
130182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
13019
13020 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
13021 bwd_align_merge macros.
13022 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
13023 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
13024 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13025
95aa737c
DM
130262012-04-18 David S. Miller <davem@davemloft.net>
13027
13028 * sysdeps/sparc/sparc64/memcopy.h: Delete.
13029
7a99a614
AJ
130302012-04-18 Andreas Jaeger <aj@suse.de>
13031
13032 [BZ# 6794]
13033 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
13034 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
13035 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13036
13037 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
13038 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
13039 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13040
13041 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
13042 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
13043 Adjust for changed ldbl-128 files.
13044
13045 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
13046 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
13047 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
13048
e5270c23
DM
130492012-04-17 David S. Miller <davem@davemloft.net>
13050
13051 * sysdeps/sparc/sparc32/memcopy.h: Delete.
13052
fb5e92c9
AS
130532012-04-17 Andreas Schwab <schwab@linux-m68k.org>
13054
13055 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
13056 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
13057 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
13058 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
13059 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13060 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
13061
76da7265
AZ
130622012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13063
13064 [BZ #6794]
13065 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
13066 * math/libm-test.inc: Add ilogb errno and exception tests.
13067 * math/w_ilogb.c: New file: ilogb wrapper.
13068 * math/w_ilogbf.c: New file: ilogbf wrapper.
13069 * math/w_ilogbl.c: New file: ilogbl wrapper.
13070 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
13071 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
13072 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
13073 exception being thrown with 0.0 as argument.
13074 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
13075 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
13076 exception being thrown with 0.0 as argument.
13077 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
13078 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13079 exception being thrown with 0.0 as argument.
13080 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
13081 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
13082 exception being thrown with 0.0 as argument.
13083 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
13084 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 13085 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
13086 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
13087 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
13088 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
13089 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
13090 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
13091 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
13092
0396e69d
PB
130932012-04-17 Petr Baudis <pasky@ucw.cz>
13094
13095 * include/sys/uio.h: Change __vector to __iovec to avoid clash
13096 with altivec.
13097
750b5926
MP
130982012-04-16 Marek Polacek <polacek@redhat.com>
13099
13100 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
13101
751728a1
MP
131022012-04-16 Marek Polacek <polacek@redhat.com>
13103
13104 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
13105 operands of fdivp instruction.
13106
34a27407
L
131072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13108
13109 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
13110 * elf/tst-auditmod3b.c: Likewise.
13111 * elf/tst-auditmod4b.c: Likewise.
13112 * elf/tst-auditmod5b.c: Likewise.
13113 * elf/tst-auditmod6b.c: Likewise.
13114 * elf/tst-auditmod6c.c: Likewise.
13115 * elf/tst-auditmod7b.c: Likewise.
13116 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
13117 * sysdeps/x86_64/preconfigure.in: Likewise.
13118 * sysdeps/x86_64/preconfigure: Regenerated.
13119
7e73e17d
L
131202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
13121
13122 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
13123 __ILP32__.
13124
c7a6ab72
AB
131252012-04-13 Antoine Balestrat <merkil33@gmail.com>
13126
13127 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13128 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
13129
a9e8e0e0
CL
131302012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
13131
13132 [BZ #13973]
13133 * locale/iso-639.def: Fix gl language name. Spotted by
13134 Yaron Shahrabani.
13135
ec98af7d
RM
131362012-04-12 Roland McGrath <roland@hack.frob.com>
13137
13138 [BZ #2074]
13139 * libio/libio.h (__io_write_fn): Update comment.
13140
247c3ede
PB
131412012-04-12 Petr Baudis <pasky@ucw.cz>
13142
13143 [BZ #2074]
13144 * stdio.texi (Hook Functions): The user provided writer function
13145 is not allowed to return -1.
13146
55939d6d
DM
131472012-04-11 David S. Miller <davem@davemloft.net>
13148
13149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13150
90020f5a
MF
131512012-04-11 Mike Frysinger <vapier@gentoo.org>
13152
13153 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
13154 Add a leading slash to rtkaio.
13155
288f9098
JM
131562012-04-11 Jim Meyering <meyering@redhat.com>
13157
90020f5a
MF
13158 [BZ #11959]
13159 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
13160 It is not necessarily an error to ignore fwrite's return
13161 value. One can reliably use ferror to test for errors after
13162 the fact.
288f9098 13163
4be2b570
L
131642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13165
13166 * bits/types.h (__snseconds_t): New type.
13167 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13168
13169 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13170 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13171 (__SNSECONDS_T_TYPE): Likewise.
13172 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13173 (__SNSECONDS_T_TYPE): Likewise.
13174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13175 (__SNSECONDS_T_TYPE): Likewise.
13176
288f9098 131772012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13178
13179 [BZ #2636]
13180 * manual/time.texi (Processor Time): Return type of times is
13181 elapsed real time since an arbitrary point in the past.
13182 (CPU Time): Move CLK_TCK from here...
13183 (Processor Time): ...to here. Correct description.
13184 * manual/conf.texi (Constants for Sysconf): Correct description of
13185 _SC_CLK_TCK.
13186
d7dd4413
DM
131872012-04-10 David S. Miller <davem@davemloft.net>
13188
13189 [BZ #13967]
13190 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13191 where the is a gap between DT_REL(A) and DT_JMPREL.
13192
b46068fc
L
131932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13194
13195 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13196 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13197 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13198
73d65cc3
SP
131992012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13200
13201 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13202 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13203 (dl_main): Handle --inhibit-cache.
13204 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13205 _dl_inhibit_cache.
13206 * elf/dl-load.c (_dl_map_object): Use it.
13207 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13208
bcc8d661
JM
132092012-04-09 Joseph Myers <joseph@codesourcery.com>
13210
8f9a2fae
JM
13211 [BZ #13872]
13212 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13213 (__ieee754_powl): Saturate large exponents rather than testing for
13214 overflow of y*log2(x).
13215 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13216 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13217 exceptions.
13218
bcc8d661
JM
13219 [BZ #11521]
13220 * math/s_ctan.c: Include <float.h>.
13221 (__ctan): Avoid internal overflow or cancellation in calculating
13222 denominator.
13223 * math/s_ctanf.c: Likewise.
13224 * math/s_ctanl.c: Likewise.
13225 * math/s_ctanh.c: Likewise.
13226 * math/s_ctanhf.c: Likewise.
13227 * math/s_ctanhl.c: Likewise.
13228 * math/libm-test.inc (ctan_test): Add more tests.
13229 (ctanh_test): Likewise.
13230 * sysdeps/i386/fpu/libm-test-ulps: Update.
13231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13232
823fbbb4
AJ
132332012-04-09 Andreas Jaeger <aj@suse.de>
13234
03879793
AJ
13235 [BZ #6894]
13236 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13237 is an optional BSD extension.
13238
823fbbb4
AJ
13239 [BZ #10254]
13240 * manual/stdio.texi (Opening Streams): Document additional fopen
13241 parameters.
13242
8de131cb
RM
132432012-04-09 Roland McGrath <roland@hack.frob.com>
13244
13245 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13246 %eax without telling the compiler.
13247
c0ed9d7d
CD
132482012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13249
13250 [BZ # 13963]
13251 * manual/install.texi: Use sourceware.org.
13252
c483f6b4
JM
132532012-04-09 Joseph Myers <joseph@codesourcery.com>
13254
d7dd9453
JM
13255 [BZ #13873]
13256 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13257 (__ieee754_pow): Generate overflow and underflow using huge*huge
13258 and tiny*tiny rather than just returning constant infinity or zero
13259 for large exponents.
13260 * math/libm-test.inc (pow_test): Require overflow exceptions for
13261 applicable cases of large exponents.
13262
c483f6b4
JM
13263 [BZ #706]
13264 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13265 (__ieee754_pow): Use iterative multiplication algorithm only for
13266 integer exponents with absolute value below 1024. Check for odd
13267 integer exponents when using algorithm for real exponents.
13268 * math/libm-test.inc (pow_test): Add more tests.
13269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13270
d2de7579
JM
132712012-04-08 Joseph Myers <joseph@codesourcery.com>
13272
13273 [BZ #13705]
13274 * math/libm-test.inc (exp_test): Do not allow overflow exception
13275 on underflow test.
13276
f77f1232
AJ
132772012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13278
13279 [BZ #13705]
13280 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13281 instead of __kernel_standard_f.
13282
3884932b
MF
132832012-04-08 Mike Frysinger <vapier@gentoo.org>
13284
13285 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13286 * sysdeps/x86_64/memset_chk.S: Likewise.
13287
54472e9c
AJ
132882012-04-08 Andreas Jaeger <aj@suse.de>
13289
6ab0fbfc
AJ
13290 [BZ #10153]
13291 * manual/startup.texi (Environment Access): Describe return value
13292 for putenv and setenv.
13293
61efba8c
AJ
13294 [BZ #6895]
13295 * manual/filesys.texi (Directory Entries): Add description for
13296 DT_LNK.
13297
95c3f29a
AJ
13298 [BZ #6890]
13299 * manual/filesys.texi (Directory Entries): Clarify that it's file
13300 system not operating system in the description of DT_UNKNOWN.
13301
54472e9c
AJ
13302 [BZ #6578]
13303 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13304
624254b1
SC
133052012-04-08 Stephen Compall <s11@member.fsf.org>
13306
13307 [BZ #6649]
13308 * manual/llio.texi (Opening and Closing Files): Add cross
13309 reference to explain mode argument.
13310
1e4920e0
MF
133112012-04-07 Mike Frysinger <vapier@gentoo.org>
13312
13313 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13314 * sysdeps/x86_64/memset_chk.S: Likewise.
13315
5ed848f3
DM
133162012-04-07 David S. Miller <davem@davemloft.net>
13317
13318 * elf/elf.h (R_SPARC_WDISP10): Define.
13319 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13320 R_SPARC_SIZE32.
13321 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13322 R_SPARC_SIZE64 and R_SPARC_H34.
13323
96154cd8
CD
133242012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13325
13326 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13327 conditions and remove no longer applicable assertion.
13328
9904dc47
L
133292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13330
13331 * bits/byteswap.h: Include <features.h>.
13332 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13333 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13334
f8887d0a
L
133352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13336
13337 * bits/byteswap.h (__bswap_16): Removed.
13338 Include <bits/byteswap-16.h> to get __bswap_16.
13339 * sysdeps/i386/bits/byteswap.h: Likewise.
13340 * sysdeps/s390/bits/byteswap.h: Likewise.
13341 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13342 * bits/byteswap-16.h: New file.
13343 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13344 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13345 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13346 * string/Makefile (headers): Add bits/byteswap-16.h.
13347
62470f60
PP
133482012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13349
13350 [BZ #13895]
13351 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13352 extra indirection.
13353 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13354 * nss/tst-nss-static.c: New.
13355
4dad7bab
RM
133562012-04-06 Robert Millan <rmh@gnu.org>
13357
13358 [BZ #6486]
13359 * manual/llio.texi (File Position Primitive): lseek
13360 refers to WHENCE when it really means OFFSET.
13361
e9142a17
AJ
133622012-04-06 Andreas Jaeger <aj@suse.de>
13363
2c040eff
AJ
13364 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13365 strncmp declarations.
13366
e9142a17
AJ
13367 * abilist/libc.abilist: Add __poll and __ppoll.
13368
ff9f1c5f
DM
133692012-04-05 David S. Miller <davem@davemloft.net>
13370
dcd2ae90
DM
13371 * scripts/check-local-headers.sh: Accept a host triplet in the
13372 path matched by the exclude regexp.
13373
993eb054
DM
13374 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13375 definition.
13376 * sysdeps/powerpc/powerpc32/dl-machine.h
13377 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13378 * sysdeps/s390/s390-32/dl-machine.h
13379 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13380 * sysdeps/sparc/sparc32/dl-machine.h
13381 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13382 * sysdeps/sparc/sparc64/dl-machine.h
13383 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13384
ff9f1c5f
DM
13385 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13386 lazy binding.
48e2e132 13387 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13388 undefined symbol errors.
13389
48e2e132 13390 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13391 DT_NEEDED entries.
13392
e80d6f94
MM
133932012-04-05 Michael Matz <matz@suse.de>
13394
13395 [BZ #13592]
13396 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13397
349fa79f
AJ
133982012-04-05 Andreas Jaeger <aj@suse.de>
13399
13400 [BZ #13908]
13401 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13402 comment.
13403
f402708f
KK
134042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13405
13406 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13407 which ROUND is no valid rounding mode.
13408
2ecccfc9
KK
134092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13410
13411 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13412 read again.
13413 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13414
8a53f50f
KK
134152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13416
13417 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13418 an exception using FPU order intentionally.
13419
134202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13421
13422 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13423 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13424 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13425 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13426
d653abb7
SJ
134272012-04-05 Simon Josefsson <simon@josefsson.org>
13428
13429 [BZ #12340]
13430 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13431 EINVAL when BUFLEN is too smal.
13432
c3b1bf7d
TS
134332012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13434
13435 [BZ #13553]
13436 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13437 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13438
b1aa60f3
AJ
134392012-04-03 Andreas Jaeger <aj@suse.de>
13440
c3b1bf7d 13441 [BZ #13938]
67f60a26
AJ
13442 * manual/setjmp.texi (System V contexts): Fix sentence.
13443
b1aa60f3
AJ
13444 [BZ #13926]
13445 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13446 New macro for this case.
13447 [!__GNUC__] (__bswap_64): New inline function for this case.
13448 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13449 * bits/byteswap.h: Likewise.
13450 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13451 ull, guard with __GLIBC_HAVE_LONG_LONG.
13452
13453 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13454 __GLIBC_HAVE_LONG_LONG.
13455
13456 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13457 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13458
39c59c35
TMQMF
134592012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13460
13461 [BZ #13691]
13462 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13463 inptr and inend, rather than using last_ch.
13464
135ffda8
DM
134652012-04-02 David S. Miller <davem@davemloft.net>
13466
13467 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13468 * stdio-common/printf-parse.h (read_int): Change return type to
13469 'int', return -1 on INT_MAX overflow.
13470 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13471 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13472 overflows INT_MAX. Check for overflow of in-format-string precision
13473 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13474 SIZE_MAX not INT_MAX for integer overflow test.
13475 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13476 skip the construct in the format string but do not record anything.
13477 * stdio-common/bug22.c: Adjust to test both width/prevision
13478 INT_MAX overflow as well as total length INT_MAX overflow. Check
13479 explicitly for proper errno values.
13480
228c019e
TS
134812012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13482
302cadd3
TS
13483 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13484 CHAR_MAX.
13485 * string/test-strcmp.c [! WIDE]: Likewise.
13486 * time/tst-mktime2.c: Likewise for INT_MAX.
13487 * string/test-string.h: #include <sys/param.h> for MIN.
13488
228c019e
TS
13489 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13490 * sysdeps/i386/init-first.c (init): Likewise.
13491 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13492 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13493 * sysdeps/sh/init-first.c (init): Likewise.
13494
cfa633f5
UD
134952012-04-01 Ulrich Drepper <drepper@gmail.com>
13496
13497 * po/ru.po: Update from translation team.
d1635ef8 13498 * po/vi.po: Likewise.
cfa633f5 13499
6cd0a5ea
SP
135002012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13501
13502 * resolv/nss_dns/dns-host.c: Merge copyright years.
13503
4b43400f
LD
135042012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13505
13506 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13507 Optimize memcpy with prefetch if
13508 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13509 src, dst pointers have unequal 16 byte alignments.
13510
48c41d04
SP
135112012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13512
13513 [BZ #13928]
13514 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13515 from a CNAME entry and return the minimum ttl for the query.
13516 (gaih_getanswer_slice): Likewise.
13517
b8dc394d
JL
135182012-03-30 Jeff Law <law@redhat.com>
13519
13520 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13521 due to long keys.
13522 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13523 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13524
2f5a5ed0
JL
13525 * resolv/nss_dns/dns-host.c: Update copyright year.
13526
1d39e359
UD
135272012-03-30 Ulrich Drepper <drepper@gmail.com>
13528
c030f70c 13529 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13530 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13531
1d39e359
UD
13532 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13533 comments for sendmmsg.
13534
135352012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13536
13537 [BZ #13691]
13538 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13539 with only 1 character between 0x0041 and 0x01b0.
13540 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13541 * wcsmbs/tst-mbsnrtowcs.c: New file.
13542
20fde227
DM
135432012-03-29 David S. Miller <davem@davemloft.net>
13544
13545 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13546 small copies by hand.
13547
984a4237
JL
135482012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13549
13550 [BZ #13761]
13551 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13552 _nss_compat_initgroups_dyn): Fall back to malloc/free
13553 for large group memberships.
13554
18c9d62b
DM
135552012-03-28 David S. Miller <davem@davemloft.net>
13556
88d85d4f
DM
13557 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13558 that branches into memcpy.
13559 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13560 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13561 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13562 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13563 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13564 bits.
13565 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13566 implementation too.
13567 * sysdeps/sparc/mempcpy.S: New file.
13568
e5aa83e1
DM
13569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13570 the IFUNC routine in the libc case.
13571 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13572
88570753
DM
13573 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13574 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13575 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13576 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13577 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13578 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13579 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13580 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13581
249d7567
DM
13582 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13583 loop to 256 bytes instead of 64 bytes and fix test signedness.
13584
18c9d62b
DM
13585 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13586 * sysdeps/sparc/sparc32/Makefile: rather than here...
13587 * sysdeps/sparc/sparc64/Makefile: and here.
13588
05f3d1f6
UD
135892012-03-28 Ulrich Drepper <drepper@gmail.com>
13590
13591 * malloc/mallocbug.c: Avoid warnings about unused variables.
13592
86ae07a8
JL
135932012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13594
13595 [BZ #13760]
13596 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13597 in the right place. Discard and retry query if response is
13598 larger than input buffer size.
13599
41bf21a1
JM
136002012-03-28 Joseph Myers <joseph@codesourcery.com>
13601
d6270972
JM
13602 [BZ #369]
13603 [BZ #2678]
13604 [BZ #3866]
13605 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13606 x for large integer exponent.
13607 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13608 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13609 sign of result as needed afterwards.
13610 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13611 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13612 result for underflowing pow the same as for overflow.
13613 (__kernel_standard_l): Handle powl overflow and underflow here
13614 rather than calling __kernel_standard.
13615 * math/libm-test.inc (pow_test): Add more tests.
13616
414fca03 13617 [BZ #3868]
41bf21a1
JM
13618 [BZ #13879]
13619 [BZ #13910]
13620 [BZ #13911]
13621 [BZ #13912]
13622 [BZ #13913]
13623 [BZ #13915]
13624 [BZ #13916]
13625 [BZ #13917]
13626 [BZ #13918]
13627 [BZ #13919]
13628 [BZ #13920]
13629 [BZ #13921]
13630 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13631 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13632 (__kernel_standard_l): New function.
13633 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13634 __kernel_standard.
13635 * math/w_acosl.c (__acosl): Likewise.
13636 * math/w_asinl.c (__asinl): Likewise.
13637 * math/w_atan2l.c (__atan2l): Likewise.
13638 * math/w_atanhl.c (__atanhl): Likewise.
13639 * math/w_coshl.c (__coshl): Likewise.
13640 * math/w_exp10l.c (__exp10l): Likewise.
13641 * math/w_exp2l.c (__exp2l): Likewise.
13642 * math/w_fmodl.c (__fmodl): Likewise.
13643 * math/w_hypotl.c (__hypotl): Likewise.
13644 * math/w_j0l.c (__j0l, __y0l): Likewise.
13645 * math/w_j1l.c (__j1l, __y1l): Likewise.
13646 * math/w_jnl.c (__jnl, __ynl): Likewise.
13647 * math/w_lgammal.c (__lgammal): Likewise.
13648 * math/w_log10l.c (__log10l): Likewise.
13649 * math/w_log2l.c (__log2l): Likewise.
13650 * math/w_logl.c (__logl): Likewise.
13651 * math/w_powl.c (__powl): Likewise.
13652 * math/w_remainderl.c (__remainderl): Likewise.
13653 * math/w_scalbl.c (sysv_scalbl): Likewise.
13654 * math/w_sinhl.c (__sinhl): Likewise.
13655 * math/w_sqrtl.c (__sqrtl): Likewise.
13656 * math/w_tgammal.c (__tgammal): Likewise.
13657 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13658 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13659 * math/libm-test.inc (acos_test): Add more tests.
13660 (acosh_test): Likewise.
13661 (asin_test): Likewise.
13662 (atanh_test): Likewise.
13663 (exp_test): Likewise.
13664 (exp10_test): Likewise.
13665 (exp2_test): Likewise.
13666 (expm1_test): Likewise.
13667 (lgamma_test): Likewise.
13668 (log_test): Likewise.
13669 (log10_test): Likewise.
13670 (log1p_test): Likewise.
13671 (log2_test): Likewise.
13672 (pow_test): Do not allow some spurious overflow exceptions.
13673 (sqrt_test): Add more tests.
13674 (tgamma_test): Likewise.
13675 (y0_test): Likewise.
13676 (y1_test): Likewise.
13677 (yn_test): Likewise.
13678
dd62fda6
AB
136792012-03-27 Anton Blanchard <anton@samba.org>
13680
13681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13682 MAP_HUGETLB.
13683 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13684 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13685 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13686
1e3cdfda
AJ
136872012-03-27 David S. Miller <davem@davemloft.net>
13688
b855ab85
DM
13689 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13690
1e3cdfda
AJ
13691 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13692 have-as-vis3 check.
13693
136942012-03-27 Andreas Jaeger <aj@suse.de>
13695
13696 * sysdeps/x86_64/elf/configure.in: Moved to ...
13697 * sysdeps/x86_64/configure.in: ... here.
13698 * sysdeps/x86_64/elf/start.S: Moved to ...
13699 * sysdeps/x86_64/start.S: ... here.
13700 * sysdeps/x86_64/elf/configure: Delete.
13701
13702 * sysdeps/x86_64/configure.in: Merge contents from
13703 sysdeps/i386/configure.in (without i686 check).
13704
13705 * sysdeps/i386/elf/Versions: Merge into ...
13706 * sysdeps/i386/Versions: ... this.
13707 * sysdeps/i386/elf/Versions: Delete file.
13708 * sysdeps/i386/elf/start.S: Moved to ...
13709 * sysdeps/i386/start.S: ...here.
13710 * sysdeps/i386/elf/configure.in: Merge into...
13711 * sysdeps/i386/configure.in: ...here.
13712 * sysdeps/i386/elf/configure.in: Delete file.
13713 * sysdeps/i386/elf/configure: Delete file.
13714
13715 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13716 * debug/backtracesyms.c: ... here.
13717 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13718 * debug/backtracesymsfd.c: ... here.
13719 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13720 * sysdeps/generic/ifunc-sel.h: ... here.
13721
13722 * sysdeps/unix/i386/start.c: Delete file.
13723 * sysdeps/unix/sparc/start.c: Delete file.
13724 * sysdeps/unix/start.c: Delete file.
13725
13726 * sysdeps/sh/elf/configure.in: Moved to ...
13727 * sysdeps/sh/configure.in: ... here.
13728 * sysdeps/sh/elf/start.S: Moved to ...
13729 * sysdeps/sh/start.S: ... here.
13730 * sysdeps/sh/elf/configure: Delete file.
13731
13732 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13733 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13734 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13735 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13736 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13737 * sysdeps/powerpc/powerpc64/start.S: here.
13738 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13739 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13740 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13741 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13742 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13743
13744 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13745 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13746 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13747 * sysdeps/powerpc/powerpc32/start.S: ... here.
13748 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13749 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13750 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13751
13752 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13753 * sysdeps/powerpc/ifunc-sel.h: ... here.
13754 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13755 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13756
13757 * sysdeps/sparc/elf/configure.in: Moved to ...
13758 * sysdeps/sparc/configure.in: ... here.
13759 * sysdeps/sparc/elf/configure: Delete file.
13760 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13761 * sysdeps/sparc/sparc32/start.S: ... here.
13762 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13763 * sysdeps/sparc/sparc64/start.S: ... here.
13764 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13765 * sysdeps/sparc/sparc32/Makefile: ... this.
13766 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13767 * sysdeps/sparc/sparc64/Makefile: ... this.
13768
13769 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13770 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13771 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13772 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13773 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13774 * sysdeps/s390/s390-32/setjmp.S: ... here.
13775 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13776 * sysdeps/s390/s390-32/configure.in: ... here.
13777 * sysdeps/s390/s390-32/elf/configure: Delete file.
13778 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13779 * sysdeps/s390/s390-32/start.S: ... here.
13780
13781 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13782 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13783 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13784 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13785 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13786 * sysdeps/s390/s390-64/setjmp.S: ... here.
13787 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13788 * sysdeps/s390/s390-64/configure.in: ... here
13789 * sysdeps/s390/s390-64/elf/configure: Delete file.
13790 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13791 * sysdeps/s390/s390-64/start.S: ... here.
13792 * sysdeps/s390/s390-64/elf/configure: Delete.
13793
13794 * configure.in: Remove support for elf directories in sysdeps.
13795
13796 * configure: Regenerated.
13797 * sysdeps/i386/configure: Regenerated.
13798 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13799 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13800 * sysdeps/s390/s390-32/configure: Regenerated.
13801 * sysdeps/s390/s390-64/configure: Regenerated.
13802 * sysdeps/sh/configure: Regenerated.
13803 * sysdeps/sparc/configure: Regenerated.
13804 * sysdeps/x86_64/configure: Regenerated.
13805
a3f61311
AS
138062012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13807
c876e002
AS
13808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13809
a3f61311
AS
13810 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13811 denormal result into account.
13812
ac4c54f0
RM
138132012-03-25 Roland McGrath <roland@hack.frob.com>
13814
13815 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13816 Reported by Allan McRae <allan@archlinux.org>.
13817
6a9b9c02
JL
138182012-03-23 Jeff Law <law@redhat.com>
13819
13820 * nss/getnssent.c (__nss_getent): Fix typo.
13821
4c42a0c1
DM
138222012-03-23 David S. Miller <davem@davemloft.net>
13823
13824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13825
1532c7ac
L
138262012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13827
13828 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13829 to pad to uint64_t for each field.
13830 (dl_tls_index): Replace unsigned long with uint64_t.
13831
3ff42526
PP
138322012-03-23 Daniel Jacobowitz <dmj@google.com>
13833 Paul Pluzhnikov <ppluzhnikov@google.com>
13834
13835 [BZ #6528]
13836 * grp/Makefile (otherlibs): Don't set it.
13837 * inet/Makefile (otherlibs): Likewise.
13838 * login/Makefile (otherlibs): Likewise.
13839 * nscd/Makefile (otherlibs): Likewise.
13840 * posix/Makefile (otherlibs): Likewise.
13841 * pwd/Makefile (otherlibs): Likewise.
13842 * rt/Makefile (otherlibs): Likewise.
13843 * sunrpc/Makefile (otherlibs): Likewise.
13844 * nss/Makefile (otherlibs): Likewise.
13845 Add libnss_files to routines and static-only-routines.
13846 ($(objpfx)getent): Remove rule.
13847 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13848 static-only-routines.
13849
7c69cd14
JM
138502012-03-22 Joseph Myers <joseph@codesourcery.com>
13851
13852 [BZ #13892]
13853 * math/s_cexp.c: Include <float.h>.
13854 (__cexp): Handle exp result overflowing not necessarily
13855 overflowing both real and imaginary parts of result.
13856 * math/s_cexpf.c: Likewise.
13857 * math/s_cexpl.c: Likewise.
13858 * math/libm-test.inc (cexp_test): Add more tests.
13859 * sysdeps/i386/fpu/libm-test-ulps: Update.
13860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13861
81b035fe
L
138622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13863
13864 * include/link.h (ELFW): New macro.
13865 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13866 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13867
1da7940c
L
138682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13869
13870 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13871 with uint64_t.
13872
b749dbb9
L
138732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13874
13875 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13876 declaration.
13877 (struct La_x32_retval): Likewise.
13878
2ff87f3f
L
138792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13880
13881 * sysdeps/x86_64/preconfigure.in: New file.
13882 * sysdeps/x86_64/preconfigure: New generated file.
13883
c0df8e69
JM
138842012-03-22 Joseph Myers <joseph@codesourcery.com>
13885
48e44791
JM
13886 [BZ #13824]
13887 * math/e_exp2l.c: Include <float.h>.
13888 (__ieee754_exp2l): Handle overflow and underflow cases
13889 separately. Only pass fractional part of argument to
13890 __ieee754_expl.
13891 * math/libm-test.inc (exp2_test): Add more tests.
13892
c0df8e69
JM
13893 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13894 negating x to take absolute value.
13895 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13896 Likewise.
13897 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13898 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13899 Likewise.
13900 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13901 computing low part if x was negated.
13902 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13903
c8e43ba7
L
139042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13905
13906 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13907 la_x32_gnu_pltexit.
13908 (pltexit): Cast int_retval to ptrdiff_t.
13909 * elf/tst-auditmod3b.c: Likewise.
13910 * elf/tst-auditmod4b.c: Likewise.
13911 * elf/tst-auditmod5b.c: Likewise.
13912 * elf/tst-auditmod6b.c: Likewise.
13913 * elf/tst-auditmod6c.c: Likewise.
13914 * elf/tst-auditmod7b.c: Likewise.
13915
13916 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13917 and x32_gnu_pltexit.
13918
13919 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13920 __ELF_NATIVE_CLASS.
13921 (La_x32_regs): New macro.
13922 (La_x32_retval): Likewise.
13923 (la_x32_gnu_pltenter): New function prototype.
13924 (la_x32_gnu_pltexit): Likewise.
13925
7998fa78
AS
139262012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13927
dcb33988
AS
13928 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13929 exponent.
13930
233fc563
AS
13931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13932
7998fa78
AS
13933 * configure.in (libc_cv_cc_nofma): Check for option to disable
13934 generation of FMA instructions.
13935 * configure: Regenerate.
13936 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13937 * sysdeps/ieee754/dbl-64/Makefile: New file.
13938 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13939 Remove brandred-fma4.
13940 (CFLAGS-brandred-fma4.c): Remove.
13941 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13942 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13943 define.
13944 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13945 define.
13946
8e95c99a
L
139472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13948
13949 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13950 LLONG_MAX != LONG_MAX.
13951 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13952 (_fitoa_word): Likewise.
13953 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13954 LLONG_MAX != LONG_MAX.
13955 * stdio-common/_itowa.h: Include <_itoa.h>.
13956 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13957 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13958 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13959 only if not defined.
13960 (_ITOA_WORD_TYPE): Likewise.
13961 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13962 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13963
6f4db457
DM
139642012-03-21 David S. Miller <davem@davemloft.net>
13965
13966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13967
7785fe5a
L
139682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13969
13970 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13971 of x86_64 when setting libc_cv_slibdir, libdir and
13972 libc_cv_localedir.
13973 * sysdeps/unix/sysv/linux/configure: Regenerated.
13974
4535cd55
JM
139752012-03-21 Joseph Myers <joseph@codesourcery.com>
13976
13977 * manual/lang.texi (Old Varargs): Remove section.
13978 (How Variadic): Update menu.
13979 (va_start): Do not mention varargs.h.
13980
17228132
TS
139812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13982 Joseph Myers <joseph@codesourcery.com>
13983
13984 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13985 link test.
13986 * configure: Regenerated.
13987
8149f976
TS
139882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13989
05f3d1f6
UD
13990 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13991 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13992 conformtest.pl
8149f976 13993
1a4ac776
JM
139942012-03-21 Joseph Myers <joseph@codesourcery.com>
13995
be22ce65
JM
13996 * NOTES: Remove.
13997 * Makefile (files-for-dist): Remove NOTES.
13998 (NOTES): Remove rule.
13999 * README: Don't refer to NOTES.
14000 * manual/creature.texi: Don't include macros.texi.
14001 * manual/intro.texi (creature.texi): Remove comment referring to
14002 NOTES.
14003
40b601fb
JM
14004 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
14005 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
14006 * configure: Regenerated.
14007 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
14008 LIBC_TRY_CC_OPTION.
14009 (libc_cv_as_i686): Likewise.
14010 (libc_cv_cc_avx): Likewise.
14011 (libc_cv_cc_sse2avx): Likewise.
14012 (libc_cv_cc_fma4): Likewise.
14013 (libc_cv_cc_novzeroupper): Likewise.
14014 * sysdeps/i386/configure: Regenerated.
14015
1a4ac776
JM
14016 [BZ #13883]
14017 * sysdeps/i386/fpu/s_cexp.S: Remove.
14018 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
14019 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
14020 * math/libm-test.inc (cexp_test): Add more tests.
14021 * sysdeps/i386/fpu/libm-test-ulps: Update.
14022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14023
a458e7fe
AM
140242012-03-21 Allan McRae <allan@archlinux.org>
14025
14026 * timezone/Makefile: Do not install iso3166.tab and zone.tab
14027
0cb7efc5
JM
140282012-03-21 Joseph Myers <joseph@codesourcery.com>
14029
14030 [BZ #13871]
14031 * math/w_exp2.c: Do not include <float.h>.
14032 (o_threshold, u_threshold): Remove.
14033 (__exp2): Calculate result before checking finiteness and calling
14034 __kernel_standard.
14035 * math/w_exp2f.c: Likewise.
14036 * math/w_exp2l.c: Likewise.
14037 * math/libm-test.inc (exp2_test): Require overflow exception for
14038 1e6 input.
2460d3aa
JM
14039
14040 [BZ #3866]
14041 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
14042 range of signed 64-bit integers before using fistpll. Remove
14043 checks for whether integers fit in mantissa bits.
14044 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
14045 the range of signed 32-bit integers before using fistpl. Remove
14046 checks for whether integers fit in mantissa bits.
14047 * sysdeps/i386/fpu/e_powl.S (p64): New object.
14048 (__ieee754_powl): Test for y outside the range of signed 64-bit
14049 integers before using fistpll. Reduce 64-bit values to 63-bit
14050 ones as needed.
14051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
14052 divide-by-zero is raised for zero to large negative powers.
14053 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
14054 (__ieee754_powl): Test for y outside the range of signed 64-bit
14055 integers before using fistpll. Reduce 64-bit values to 63-bit
14056 ones as needed.
14057 * math/libm-test.inc (pow_test): Add more tests.
14058
eb96ffb0
L
140592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14060
14061 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
14062 <stdio-common/_itoa.h>.
14063 * debug/segfault.c: Likewise.
14064 * elf/dl-cache.c: Likewise.
14065 * elf/dl-minimal.c: Likewise.
14066 * elf/dl-misc.c: Likewise.
14067 * elf/dl-sysdep.c: Likewise.
14068 * elf/dl-version.c: Likewise.
14069 * elf/rtld.c: Likewise.
14070 * hurd/hurdsock.c: Likewise.
14071 * hurd/lookup-retry.c: Likewise.
14072 * malloc/malloc.c: Likewise.
14073 * malloc/mtrace.c: Likewise.
14074 * nscd/nscd_getgr_r.c: Likewise.
14075 * nscd/nscd_getpw_r.c: Likewise.
14076 * nscd/nscd_getserv_r.c: Likewise.
14077 * posix/getopt_init.c: Likewise.
14078 * posix/wordexp.c: Likewise.
14079 * stdio-common/_itoa.c: Likewise.
14080 * stdio-common/printf_fphex.c: Likewise.
14081 * stdio-common/vfprintf.c: Likewise.
14082 * string/_strerror.c: Likewise.
14083 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
14084 * sysdeps/i386/i686/hp-timing.h: Likewise.
14085 * sysdeps/mach/_strerror.c: Likewise.
14086 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
14087 * sysdeps/mach/hurd/sethostid.c: Likewise.
14088 * sysdeps/mach/hurd/xmknodat.c: Likewise.
14089 * sysdeps/mach/xpg-strerror.c: Likewise.
14090 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14091 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14092 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
14093 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
14094 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14095 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
14096 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
14097 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
14098 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
14099 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
14100 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
14101 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14102 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
14103 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14104 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14105 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
14106 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
14107 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
14108 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14109 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14110 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
14111
14112 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
14113
14114 * stdio-common/_itoa.h: Moved to ...
14115 * sysdeps/generic/_itoa.h: Here.
14116
14117 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
14118
14119 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
14120 instead of "_itoa.h" and "_itowa.h".
14121 * stdio-common/vfprintf.: Likewise.
14122
d1af992d
L
141232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14124
14125 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
14126 <bits/wordsize.h>.
14127 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
14128 (__signbit): Likwise.
14129 (llrintf): Likwise.
14130 (llrint): Likwise.
14131
114883e0
L
141322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
14133
14134 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
14135 __WORDSIZE != 64.
14136
c135cc1b
JM
141372012-03-20 Joseph Myers <joseph@codesourcery.com>
14138
14139 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
14140 OVERFLOW_EXCEPTION_OK.
14141 * math/libm-test.inc ("Philosophy"): Update comment about
14142 exception testing.
14143 (OVERFLOW_EXCEPTION): Define.
14144 (OVERFLOW_EXCEPTION_OK): Likewise.
14145 (INVALID_EXCEPTION_OK): Renumber.
14146 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14147 (IGNORE_ZERO_INF_SIGN): Likewise.
14148 (test_exceptions): Handle FE_OVERFLOW.
14149 (exp10_test): Expect overflow exceptions.
14150 (exp2_test): Likewise.
14151 (expm1_test): Likewise.
14152 (nextafter_test): Likewise.
14153 (pow_test): Likewise.
14154 (scalbn_test): Likewise.
14155 (scalbln_test): Likewise.
14156
95443d88
L
141572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14158
14159 * sysdeps/x86_64/bits/atomic.h
14160 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14161 64bit integer.
14162 (atomic_exchange_acq): Likewise.
14163 (__arch_exchange_and_add_body): Likewise.
14164 (__arch_add_body): Likewise.
14165 (atomic_add_negative): Likewise.
14166 (atomic_add_zero): Likewise.
14167
490df6c4
L
141682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14169
c2722551 14170 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14171 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14172
5e52b189
L
141732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14174
14175 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14176 Check __x86_64__ instead of __WORDSIZE.
14177
a9879d4c
L
141782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14179
14180 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14181
5df98260
DM
141822012-03-19 David S. Miller <davem@davemloft.net>
14183
e1497744
DM
14184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14185
5df98260
DM
14186 * sysdeps/sparc/fpu/fenv_private.h: New file.
14187 * sysdeps/sparc/fpu/math_private.h: Use it.
14188 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14189 Remove.
14190 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14191 (libc_feholdexcept_setroundl): Remove.
14192 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14193 Remove.
14194 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14195 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14196
b4c35121
L
141972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14198
14199 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14200 int64_t instead of long int.
14201 (INSERT_WORDS64): Likwise.
14202
56965fd7
L
142032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14204
14205 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14206 _Unwind_GetCFA return to _Unwind_Ptr first.
14207
83d1aec8
JM
142082012-03-19 Joseph Myers <joseph@codesourcery.com>
14209
1897ad44
JM
14210 [BZ #13629]
14211 * math/s_clog.c: Include <float.h>.
14212 (__clog): Scale large or subnormal inputs.
14213 * math/s_clogf.c: Likewise.
14214 * math/s_clogl.c: Likewise.
14215 * math/s_clog10.c: Include <float.h>.
14216 (M_LOG10_2): Define.
14217 (__clog10): Scale large or subnormal inputs.
14218 * math/s_clog10f.c: Likewise.
14219 * math/s_clog10l.c: Likewise.
14220 * math/libm-test.inc (clog_test): Add more tests.
14221 (clog10_test): Likewise.
14222 * sysdeps/i386/fpu/libm-test-ulps: Update.
14223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14224
7726d6a9
JM
14225 [BZ #11451]
14226 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14227 x and y.
14228 * math/libm-test.inc (atan2_test): Add another test.
14229
83d1aec8
JM
14230 * Makerules (common-objdir-compile): Remove.
14231 * sysdeps/unix/Makefile (config-generated): Do not add
14232 $(unix-generated) to variable.
14233 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14234 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14235 Remove rule.
14236 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14237 Likewise.
14238 [generic bits/local_lim.h] (before-compile): Do not append to
14239 variable.
14240 [generic bits/local_lim.h] (common-generated): Likewise.
14241 [generic sys/param.h] (before-compile): Do not append to variable.
14242 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14243 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14244 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14245 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14246 include.
14247 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14248 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14249 [generic sys/param.h] ($(addprefix
14250 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14251 [generic sys/param.h] (common-generated): Do not append to
14252 variable.
14253 [generic sys/param.h] (sysdep_headers): Likewise.
14254 [generic bits/errno.h] (before-compile): Do not append to
14255 variable.
14256 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14257 rule.
14258 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14259 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14260 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14261 [generic bits/errno.h] (common-generated): Do not append to
14262 variable.
14263 [generic bits/ioctls.h] (before-compile): Do not append to
14264 variable.
14265 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14266 rule.
14267 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14268 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14269 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14270 rule.
14271 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14272 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14273 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14274 [generic bits/ioctls.h] (common-generated): Do not append to
14275 variable.
14276 [generic sys/syscall.h] (syscall.h): Remove variable.
14277 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14278 rule.
14279 [generic sys/syscall.h] (before-compile): Do not append to
14280 variable.
14281 [generic sys/syscall.h] (common-generated): Likewise.
14282 * sysdeps/unix/errnos-tmpl.c: Remove file.
14283 * sysdeps/unix/errnos.awk: Likewise.
14284 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14285 * sysdeps/unix/ioctls.awk: Likewise.
14286 * sysdeps/unix/mk-local_lim.c: Likewise.
14287 * sysdeps/unix/snarf-ioctls: Likewise.
14288
4851a949
RH
142892012-03-19 Richard Henderson <rth@twiddle.net>
14290
bd37f2ee
RH
14291 * sysdeps/i386/fpu/fenv_private.h: New file.
14292 * sysdeps/i386/fpu/math_private.h: Use it.
14293 (math_opt_barrier, math_force_eval): Remove.
14294 (libc_feholdexcept_setround_53bit): Remove.
14295 (libc_feupdateenv_53bit): Remove.
14296 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14297 (math_opt_barrier, math_force_eval): Remove.
14298 (libc_feholdexcept): Remove.
14299 (libc_feholdexcept_setround): Remove.
14300 (libc_fetestexcept, libc_fesetenv): Remove.
14301 (libc_feupdateenv_test): Remove.
14302 (libc_feupdateenv, libc_feholdsetround): Remove.
14303 (libc_feresetround): Remove.
14304
d0adc922
RH
14305 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14306 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14307
0fe0f1f8
RH
14308 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14309 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14310 (libc_feupdateenv_testl): New.
14311 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14312 (libc_feupdateenv_testf): New.
14313 (libc_feupdateenv): Use libc_feupdateenv_test.
14314 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14315 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14316
eb92c487
RH
14317 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14318 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14319 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14320 (libc_feresetround_noex): New.
14321 (libc_feresetround_noexf): New.
14322 (libc_feresetround_noexl): New.
14323 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14324 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14325 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14326 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14327 SET_RESTORE_ROUND.
14328 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14329 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14330 (__cos): Likewise.
14331 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14332 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14333 SET_RESTORE_ROUND_NOEX.
14334 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14335 SET_RESTORE_ROUND_NOEXF.
14336 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14337 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14338 (libc_feholdsetroundf): New.
14339 (libc_feresetround, libc_feresetroundf): New.
14340
7d2e8012
RH
14341 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14342 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14343 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14344
b4dabbb4
RH
14345 * sysdeps/generic/math_private.h: Include <fenv.h>.
14346 (default_libc_feholdexcept): New.
14347 (default_libc_feholdexcept_setround): New.
14348 (default_libc_fesetenv, default_libc_feupdateenv): New.
14349 (libc_feholdexcept): Only define if undefined.
14350 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14351 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14352 (libc_feholdexcept_setroundl): Likewise.
14353 (libc_feholdexcept_setround_53bit): Likewise.
14354 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14355 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14356 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14357 (libc_feupdateenv_53bit): Likewise.
14358 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14359 (libc_feholdexcept): Convert from macro to inline function.
14360 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14361 (libc_fesetenv, libc_feupdateenv): Likewise.
14362
4851a949
RH
14363 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14364 not previously defined.
14365 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14366 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14367 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14368 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14369 * sysdeps/ieee754/flt-32/math_private.h: New file.
14370 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14371 math_private.h below SET_FLOAT_WORD.
14372 (__isnan, __isinf_ns, __finite): Remove.
14373 (__isnanf, __isinf_nsf, __finitef): Remove.
14374
e79d442e
AS
143752012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14376
14377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14378
90b80344
DM
143792012-03-17 David S. Miller <davem@davemloft.net>
14380
14381 [BZ #6471]
14382 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14383 for 2.16.
14384
edc21804
DM
143852012-03-16 David S. Miller <davem@davemloft.net>
14386
77e927af
DM
14387 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14388 warnings.
14389
374976dd
DM
14390 [BZ #6471]
14391 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14392 properly.
14393 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14394 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14395 sysdep_routines when subdir is sysvipc.
14396 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14397 __getshmlba helper.
14398
edc21804
DM
14399 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14400
473c3ef3
L
144012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14402
14403 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14404 [__LP64__].
14405
eb0f39b6
L
144062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14407
14408 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14409 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14410 (__lround): Renamed to ...
14411 (__llround): This. Replace long int with long long int.
14412 Define lround functions as aliases of llround functions.
14413 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14414
6b6cd74b
L
144152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14416
14417 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14418 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14419 adresses to uintptr_t. Replace "long int" and "unsigned long
14420 int" with "greg_t" on va_arg.
14421
f1a77b01
L
144222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14423
14424 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14425 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14426
14427 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14428 Move e_machine check before EI_CLASS check. Handle x32
14429 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14430 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14431 SKIP_EM_IA_64 and include
14432 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14433
14434 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14435 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14436 (add_system_dir): New macro.
14437
14438 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14439 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14440
11b90b9f
JM
144412012-03-16 Joseph Myers <joseph@codesourcery.com>
14442
c36e1d23
JM
14443 [BZ #2551]
14444 [BZ #2552]
14445 [BZ #2553]
14446 [BZ #2554]
14447 [BZ #2562]
14448 [BZ #2563]
14449 [BZ #2565]
14450 [BZ #2566]
14451 [BZ #2576]
14452 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14453 (y0): Likewise.
14454 * math/w_j0f.c (j0f): Likewise.
14455 (y0f): Likewise.
14456 * math/w_j0l.c (__j0l): Likewise.
14457 (__y0l): Likewise.
14458 * math/w_j1.c (j1): Likewise.
14459 (y1): Likewise.
14460 * math/w_j1f.c (j1f): Likewise.
14461 (y1f): Likewise.
14462 * math/w_j1l.c (__j1l): Likewise.
14463 (__y1l): Likewise.
14464 * math/w_jn.c (jn): Likewise.
14465 (yn): Likewise.
14466 * math/w_jnf.c (jnf): Likewise.
14467 (ynf): Likewise.
14468 * math/w_jnl.c (__jnl): Likewise.
14469 (__ynl): Likewise.
14470 * math/libm-test.inc (j0_test): Add more tests.
14471 (j1_test): Likewise.
14472 (jn_test): Likewise. Add trailing semicolon to existing test.
14473 (y0_test): Likewise.
14474 (y1_test): Likewise.
14475 * sysdeps/i386/fpu/libm-test-ulps: Update.
14476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14477
11b90b9f
JM
14478 [BZ #13851]
14479 [BZ #13854]
14480 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14481 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14482 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14483 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14484 (__tanl): Set errno for infinite argument.
14485 * sysdeps/i386/fpu/mptan.c: Remove.
14486 * sysdeps/i386/fpu/s_tan.S: Likewise.
14487 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14488 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14489 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14490 * math/libm-test.inc (tan_test): Add more tests and enable more
14491 tests for double and long double.
14492 * sysdeps/i386/fpu/libm-test-ulps: Update.
14493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14494
6a1bd2a1
JK
144952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14496
14497 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14498 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14499
10a803e0
RM
145002012-03-16 Roland McGrath <roland@hack.frob.com>
14501
14502 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14503 * configure.in: Use it for both main tree and add-ons.
14504 * configure: Regenerated.
14505
f196c7f7
L
145062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14507
14508 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14509
8848d99d
JM
145102012-03-16 Joseph Myers <joseph@codesourcery.com>
14511
96cbe7f4
JM
14512 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14513 in comment.
14514
8848d99d
JM
14515 [BZ #13851]
14516 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14517 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14518 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14519 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14520 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14521 infinite argument.
14522 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14524 != 0 for prec == 2.
14525 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14526 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14527 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14528 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14529 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14530 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14531 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14532 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14533 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14534 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14535 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14536 * math/libm-test.inc (cos_test): Add more tests and enable more
14537 tests for long double.
14538 (sin_test): Likewise.
14539 (sincos_test): Likewise.
14540 * sysdeps/i386/fpu/libm-test-ulps: Update.
14541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14542
dd7f4703
DM
145432012-03-16 David S. Miller <davem@davemloft.net>
14544
14545 * sysdeps/sparc/fpu/math_private.h: New file.
14546
006f1daa
DM
145472012-03-15 David S. Miller <davem@davemloft.net>
14548
c0c83bc8
DM
14549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14550 file.
e6a62e18 14551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14553 file.
e6a62e18
DM
14554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14559 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14560 sysdep routines.
14561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14562
88cb87d9
DM
14563 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14564 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14565
006f1daa 14566 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14568 sparc-ifunc.h
006f1daa 14569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14571 Likewise.
14572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14573 Likewise.
006f1daa
DM
14574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14578 Likewise.
006f1daa
DM
14579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14584 Likewise.
14585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14586 Likewise.
006f1daa
DM
14587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14591 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14594 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14606 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14607 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14608 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14609 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14610 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14611
11e0098e
AS
146122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14613
14614 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14615 scaling.
14616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14617
e85b09d0
AJ
146182012-03-15 Andreas Jaeger <aj@suse.de>
14619
14620 [BZ #13852]
14621 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14622 ieee754/flt-32 implementation for sin, cos and sincos.
14623 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14624 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14625 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14626 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14627 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14628 ieee754/flt-32 implementation for tan.
14629
14630 * math/libm-test.inc (cos_test): Enable some large input tests for
14631 float as well
14632 (sin_test): Likewise.
14633 (sincos_test): Likewise.
14634 (tan_test): Add tests for large input.
14635
14636 * sysdeps/i386/fpu/libm-test-ulps: Update.
14637
81c64153
AJ
146382012-03-15 Andreas Jaeger <aj@suse.de>
14639
14640 [BZ #13658]
14641 * math/libm-test.inc (cos_test): Add more test cases.
14642 (sin_test): Likewise.
14643 (sincos_test): Likewise.
14644
7bbfa5c6
AJ
146452012-03-15 Andreas Jaeger <aj@suse.de>
14646
14647 [BZ #13837]
14648 * math/libm-test.inc (cos_test): Add a test case for large input
14649 value.
14650 (sin_test): Likewise.
14651 (sincos_test): Likewise.
14652
146532012-03-15 Andreas Jaeger <aj@suse.de>,
14654 Joseph Myers <joseph@codesourcery.com>
14655
14656 [BZ #13658]
0671f479 14657 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14658 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14659 * sysdeps/i386/fpu/branred.c: Likewise.
14660 * sysdeps/i386/fpu/dosincos.c: Likewise.
14661 * sysdeps/i386/fpu/mpa.c: Likewise.
14662 * sysdeps/i386/fpu/s_cos.S: Likewise.
14663 * sysdeps/i386/fpu/s_sin.S: Likewise.
14664 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14665 * sysdeps/i386/fpu/sincos32.c: Likewise.
14666
14667 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14668 Define.
14669 (libc_feupdateenv_53bit): Define.
14670 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14671 Define.
14672 (libc_feupdateenv_53bit): Define.
14673
14674 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14675 53 bit (without extend i386 double precision).
14676
14677 * math/libm-test.inc (sincos_test): Add tests for large input.
14678 (sin): Likewise.
14679 (cos): Likewise.
14680
14681 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14682
9cad04ea
AS
146832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14684
14685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14686
f7062b9a
DM
146872012-03-15 David S. Miller <davem@davemloft.net>
14688
14689 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14690 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14691 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14692 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14705 file.
f7062b9a 14706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14708 file.
f7062b9a 14709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14711 file.
f7062b9a 14712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14714 file.
f7062b9a
DM
14715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14716 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14717 fmin/fmax sysdep routines.
14718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14719
7bd951ff
DM
147202012-03-14 David S. Miller <davem@davemloft.net>
14721
559398ab
DM
14722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14728 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14729 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14744 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14745 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14748 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14751 routines.
14752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14753 file.
559398ab 14754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14756 file.
559398ab 14757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14759 file.
559398ab 14760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14762 file.
559398ab 14763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14765 file.
559398ab 14766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14768 file.
14769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14770 file.
14771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14772 file.
14773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14774 file.
14775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14776 New file.
14777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14778 file.
14779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14780 file.
559398ab 14781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14783 file.
559398ab 14784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14786 file.
559398ab 14787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14789 file.
559398ab 14790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14792 VIS3 routines.
559398ab
DM
14793
14794 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14795 New file.
14796
5a1c1e32
DM
14797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14798
eae47a36
DM
14799 * sysdeps/sparc/configure.in: New file.
14800 * sysdeps/sparc/configure: Generate.
14801 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14802 * configure: Regenerate.
14803 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14804 * config.make.in (have-as-vis3): New.
14805 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14806 available use -Av9d instead of -Av9a.
14807 * sysdeps/sparc/sparc64/Makefile: Likewise.
14808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14810 New file.
14811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14812 file.
14813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14814 New file.
14815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14816 file.
eae47a36
DM
14817 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14820 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14821 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14822
c0c83bc8
DM
14823 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14824 fzeros/fnegs to load 0x80000000 into a float register instead of
14825 using the stack.
7bd951ff
DM
14826 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14827
bd951ccb
JM
148282012-03-14 Joseph Myers <joseph@codesourcery.com>
14829
14830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14831 bits/syscall.h.
14832 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14833 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14834 ($(inst_includedir)/bits/syscall.h): Remove rule.
14835 ($(objpfx)bits/syscall.d): Include instead of
14836 $(objpfx)syscall-list.d.
14837 (generated): Change syscall-list.h and syscall-list.d to
14838 bits/syscall.h and bits/syscall.d.
14839
bb4e6db2
RM
148402012-03-14 Roland McGrath <roland@hack.frob.com>
14841
14842 [BZ #13846]
14843 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14844
aa4a2ae1
JM
148452012-03-14 Joseph Myers <joseph@codesourcery.com>
14846
e456826d
JM
14847 [BZ #13841]
14848 * math/s_csqrt.c: Include <float.h>.
14849 (__csqrt): Scale large or subnormal inputs.
14850 * math/s_csqrtf.c: Likewise.
14851 * math/s_csqrtl.c: Likewise.
14852 * math/libm-test.inc (csqrt_test): Add more tests.
14853 * sysdeps/i386/fpu/libm-test-ulps: Update.
14854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14855
aa4a2ae1
JM
14856 [BZ #13840]
14857 * math/libm-test.inc (hypot_test): Add more tests.
14858
7c10fd35
DM
148592012-03-13 David S. Miller <davem@davemloft.net>
14860
14861 [BZ #13840]
14862 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14863 double-precision for the calculation instead of scaling.
14864
f453b98b
JM
148652012-03-13 Joseph Myers <joseph@codesourcery.com>
14866
14867 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14868 manipulate bits before adding and subtracting TWO52[sx].
14869 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14870 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14871 Likewise.
14872 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14873
09a3453f
DM
148742012-03-13 David S. Miller <davem@davemloft.net>
14875
8e59da90
DM
14876 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14877 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14878 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14879 rtld-global-offsets.h
14880 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14881
2a8ab7f2
DM
14882 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14883 large parameters.
14884
10f62770
DM
14885 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14886
5f0bdb18
DM
14887 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14888 'err' in the ifdef scope in which it is actually used.
14889
09a3453f
DM
14890 * nss/nss_db/db-init.c: Include string.h
14891
b4b2eb5e
DM
148922012-03-12 David S. Miller <davem@davemloft.net>
14893
98bb2f1c
DM
14894 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14895 masking out of the most significant byte of random value used.
14896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14897 Fix coding style in previous change.
14898
b4b2eb5e
DM
14899 * sysdeps/unix/sysv/linux/kernel-features.h
14900 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14901 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14902 expression.
14903 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14904 later.
14905
6e226b09
DM
149062012-03-11 David S. Miller <davem@davemloft.net>
14907
a1bcbd40
DM
14908 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14909 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14910 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14911 for 'resultvar' otherwise things get truncated on 64-bit.
14912
cb9d6174
DM
14913 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14914 Fix masking out of the most significant byte of random value used.
14915
6e226b09
DM
14916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14917
058c132d
AS
149182012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14919
14920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14921
2d2cd515
DM
149222012-03-09 David S. Miller <davem@davemloft.net>
14923
14924 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14925 variables with appropriate CPP guards.
14926 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14927 frame pointer, not the stack pointer. Correct layout comments. Fix test
14928 on resulting framesize and the management of the outregs buffer for pltexit.
14929 Preserve floating point return values across _dl_call_pltexit call.
14930 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14931 framesize and the management of the outregs buffer for pltexit.
14932 Preserve floating point return values across _dl_call_pltexit
14933 call.
14934 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14935 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14936 (print_exit): Fix format string for return register value.
14937
9a07f9d0
JM
149382012-03-10 Joseph Myers <joseph@codesourcery.com>
14939
14940 * sunrpc/Makefile (others): Add rpcgen.
14941 ($(objpfx)rpcgen): Remove special build rule and dependency on
14942 libc.
14943 * sunrpc/rpcgen.c: New file.
14944
547b5e30
PE
149452012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14946
c524201a
PE
14947 [BZ #13673]
14948 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14949 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14950 * sysdeps/i386/crti.S: Likewise.
14951 * sysdeps/i386/crtn.S: Likewise.
14952 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14953 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14954 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14955 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14956 * sysdeps/sh/crti.S: Likewise.
14957 * sysdeps/sh/crtn.S: Likewise.
14958 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14959
7b6235f2
PE
14960 [BZ #13673]
14961 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14962 with URL.
14963 * locale/programs/locfile-kw.gperf: Likewise.
14964 * locale/programs/charmap-kw.h: Regenerated.
14965 * locale/programs/locfile-kw.h: Likewise.
14966
547b5e30
PE
14967 [BZ #13673]
14968 * intl/plural.y: Replace FSF snail mail address with URL.
14969 * intl/plural.c: Regenerated.
14970
5f0a5dae
RH
149712012-03-09 Richard Henderson <rth@twiddle.net>
14972
14973 * include/math_private.h: Remove file.
14974 * math/math_private.h: Move file ...
14975 * sysdeps/generic/math_private.h: ... here.
14976
b8c03620
RH
14977 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14978 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14979 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14980
4e234f5d 14981 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14982 and <math_private.h>.
14983 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14984 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14985 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14986 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14987 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14988 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14989 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14990 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14991 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14994 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14995 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14996 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14997 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14998 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14999 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15005 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15013 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15014 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15015 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15016 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15017 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15018 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15019 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15020 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15021 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15022 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15023 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
15024 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15025 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
15026 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15027 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15028 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15029 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
15030 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15031 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15032 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15033 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15034 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
15035 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15036 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15037 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15038 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15039 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
15040 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15041 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15042 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
15043 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15044 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15046 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15047 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
15048 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15049 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15050 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15051 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
15052 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
15053 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15054 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
15055 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15056 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15057 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
15058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15059 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
15060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15061 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
15062 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
15063 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15064 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
15065 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15066 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
15067 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
15070 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15071 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
15072 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
15073 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
15074 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
15075 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15076 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
15077 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
15078 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
15079 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
15080 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15081 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15082 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
15083 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
15084 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
15085 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
15086 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
15087 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15088 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
15089 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
15090 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
15091 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15092 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15093 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15094 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15095 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
15096 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15097 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
15098 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
15099 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15100 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
15101 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15102 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
15103 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15104 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
15105 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
15106 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
15107 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15108 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
15109 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
15110 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
15111 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
15112 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
15113 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
15114 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
15115 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15116 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
15117 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
15118 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
15119 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
15120 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
15121 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
15122 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
15123 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
15124 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
15125 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
15126 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
15127 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
15128 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
15129 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
15130 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
15131 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15132 * sysdeps/ieee754/k_standard.c: Likewise.
15133 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
15134 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
15135 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
15136 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
15137 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
15138 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
15139 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
15140 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
15141 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15142 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15143 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15144 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15145 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
15146 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
15147 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
15148 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
15149 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15150 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
15151 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
15152 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
15153 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
15154 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
15155 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15156 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
15157 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15158 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15159 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
15160 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15161 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15162 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15163 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15164 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15165 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15166 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15167 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15168 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15169 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15170 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15171 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15172 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15173 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15174 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15175 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15176 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15177 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15178 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15179 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15180 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15181 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15182 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15183 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15184 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15185 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15186 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15187 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15188 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15189 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15190 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15191 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15192 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15193 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15194 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15195 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15196 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15199 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15203 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15205 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15207 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15209 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15210 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15211 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15212 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15213 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15214 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15215 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15216 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15217 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15218 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15219 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15220 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15221 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15223 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15224 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15225 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15226 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15227 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15228 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15229 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15230 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15231 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15232 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15233 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15234 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15235 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15236 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15237 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15240 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15241 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15242 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15243 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15244 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15245 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15246 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15247 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15248 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15249 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15250 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15251 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15252 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15253 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15254 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15255 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15256 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15257 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15258 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15259 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15260 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15261 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15262 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15263 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15264 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15265 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15266 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15267 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15268 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15269 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15270 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15271 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15272 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15273 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15274 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15275 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15276 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15277 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15278 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15279 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15280 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15281 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15282 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15283 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15284 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15285 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15286 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15287 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15289 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15290 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15293 * sysdeps/ieee754/s_lib_version.c: Likewise.
15294 * sysdeps/ieee754/s_matherr.c: Likewise.
15295 * sysdeps/ieee754/s_signgam.c: Likewise.
15296 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15297 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15298 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15299 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15300 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15301 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15302 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15303 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15304 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15305 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15306 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15307 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15308 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15309 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15310 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15311 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15312 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15313 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15314 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15315 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15317
1991fa03
JM
153182012-03-09 Joseph Myers <joseph@codesourcery.com>
15319
15320 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15321 * sunrpc/rpc_main.c: Likewise.
15322 * sunrpc/rpc_svcout.c: Likewise.
15323
60d6f5a6
DM
153242012-03-09 David S. Miller <davem@davemloft.net>
15325
15326 * include/math_private.h: New file.
15327
4962050e
JM
153282012-03-09 Joseph Myers <joseph@codesourcery.com>
15329
02a6f887
JM
15330 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15331 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15332 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15333 from <bits/socket_type.h>.
15334 (enum __socket_type): Don't define here.
15335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15337 bits/socket_type.h.
15338
c6e013c1
JM
15339 [BZ #13566]
15340 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15341 checking __USE_GNU.
15342
4962050e
JM
15343 * Makerules ($(inst_includedir)/%.h): New rule.
15344 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15345 (install-others): Remove variable setting.
15346 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15347
38842f45
RH
153482012-03-08 Richard Henderson <rth@twiddle.net>
15349
67bb6da6
RH
15350 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15351 from macro to inline function; merge with the
15352 !__LIBC_INTERNAL_MATH_INLINES version.
15353 (__ieee754_sqrtf): Likewise.
15354
15194b4b
RH
15355 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15356 to inline function.
15357 (__rintf, __floor, __floorf): Likewise.
15358
64e21ede
RH
15359 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15360 macro to inline function.
15361 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15362
38842f45
RH
15363 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15364 not <math/math_private.h>.
15365
c64bf5fe
DM
153662012-03-08 David S. Miller <davem@davemloft.net>
15367
15368 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15369 copyright year.
15370 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15371
82d86f28
TS
153722012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15373
15374 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15375 normalization.
15376 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15377 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15378
aea5d727
UD
153792012-03-08 Ulrich Drepper <drepper@gmail.com>
15380
15381 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15382 be defined individually, they must be defined as a block. Define
15383 S for printing a string instead of hidint the different by using a
15384 macro for adding the 'l'.
15385 * stdio-common/tst-fphex-wide.c: Adjust.
15386
70bca0a3
MP
153872012-03-07 Marek Polacek <polacek@redhat.com>
15388
15389 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15390
65b81130
MP
153912012-03-08 Marek Polacek <polacek@redhat.com>
15392
15393 [BZ #13806]
15394 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15395 * stdio-common/tst-fphex.c: Define a few macros to make the
15396 test reusable. Use them.
15397 * stdio-common/tst-fphex-wide.c: New file.
15398
07037eeb
JM
153992012-03-08 Joseph Myers <joseph@codesourcery.com>
15400
a7a93d50
JM
15401 [BZ #6911]
15402 * manual/macros.texi (gnusystems): New macro.
15403 (nongnusystems): Likewise.
15404 (gnulinuxhurdsystems): Likewise.
15405 (gnuhurdsystems): Likewise..
15406 (gnulinuxsystems): Likewise.
15407 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15408 variants of the GNU system, not "GNU system".
15409 * manual/conf.texi: Likewise.
15410 * manual/errno.texi: Likewise. Update example of errno macro
15411 expansion.
15412 * manual/filesys.texi: Likewise.
15413 (getumask): Document as specific to GNU/Hurd.
15414 * manual/install.texi: Likewise. Reword some references to
15415 GNU/Linux.
15416 * manual/intro.texi: Likewise.
15417 * manual/io.texi: Likewise.
15418 (File Name Portability): Detail which constraints are inapplicable
15419 to all GNU systems and which are only inapplicable to GNU/Hurd.
15420 * manual/job.texi: Likewise.
15421 * manual/llio.texi: Likewise.
15422 (O_NOCTTY): Document as present on GNU/Linux.
15423 * manual/maint.texi: Likewise.
15424 * manual/memory.texi: Likewise.
15425 * manual/pattern.texi: Likewise.
15426 * manual/pipe.texi: Likewise.
15427 * manual/process.texi: Likewise.
15428 * manual/resource.texi: Likewise.
15429 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15430 child on GNU/Hurd.
15431 * manual/setjmp.texi: Likewise.
15432 * manual/signal.texi: Likewise.
15433 * manual/startup.texi: Likewise.
15434 * manual/stdio.texi: Likewise.
15435 * manual/terminal.texi: Likewise.
15436 (ONLCR): Document as POSIX.
15437 (OXTABS): Document availability on GNU/Linux as XTABS.
15438 (ONOEOT): Document availability separately from other bits.
15439 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15440 * manual/time.texi: Likewise.
15441 * manual/users.texi: Likewise.
15442 * INSTALL: Regenerated.
15443 * sysdeps/gnu/errlist.c: Regenerated.
15444
07037eeb
JM
15445 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15446 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15447 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15448 puts.
15449 * configure: Regenerated.
15450
d1d3431a
JM
154512012-03-07 Joseph Myers <joseph@codesourcery.com>
15452
af6a1e37
JM
15453 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15454 default includes instead of AC_HEADER_CHECK.
15455 * sysdeps/i386/configure: Regenerated.
15456
d1d3431a
JM
15457 [BZ #10716]
15458 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15459 * math/s_cacoshf.c (__cacoshf): Likewise.
15460 * math/s_cacoshl.c (__cacoshl): Likewise.
15461 * math/s_casinh.c (__casinh): Set signs of result from argument.
15462 * math/s_casinhf.c (__casinhf): Likewise.
15463 * math/s_casinhl.c (__casinhl): Likewise.
15464 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15465 (casinh_test): Add more tests.
15466 * sysdeps/i386/fpu/libm-test-ulps: Update.
15467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15468
482ff4da
UD
154692012-03-07 Ulrich Drepper <drepper@gmail.com>
15470
872fda05
UD
15471 * po/zh_TW.po: Update from translation team.
15472
a4300c7a
UD
15473 * login/Makefile (distribute): Remove variable.
15474 * catgets/Makefile: Likewise.
15475 * mach/Makefile: Likewise.
15476 * malloc/Makefile: Likewise.
15477 * misc/Makefile: Likewise.
15478 * iconv/Makefile: Likewise.
15479 * nscd/Makefile: Likewise.
15480 * hurd/Makefile: Likewise.
15481 * manual/Makefile: Likewise.
15482 * locale/Makefile: Likewise.
15483 * intl/Makefile: Likewise.
15484 * conform/Makefile: Likewise.
15485 * nss/Makefile: Likewise.
15486 * time/Makefile: Likewise.
15487 * soft-fp/Makefile: Likewise.
15488 * dirent/Makefile: Likewise.
15489 * gmon/Makefile: Likewise.
15490 * po/Makefile: Likewise.
15491 * rt/Makefile: Likewise.
15492 * socket/Makefile: Likewise.
15493 * math/Makefile: Likewise.
15494 * signal/Makefile: Likewise.
15495 * debug/Makefile: Likewise.
15496 * elf/Makefile: Likewise.
15497 * timezone/Makefile: Likewise.
15498 * stdlib/Makefile: Likewise.
15499 * iconvdata/Makefile: Likewise.
15500 * sunrpc/Makefile: Likewise.
15501 * io/Makefile: Likewise.
15502 * argp/Makefile: Likewise.
15503 * inet/Makefile: Likewise.
15504 * hesiod/Makefile: Likewise.
15505 * grp/Makefile: Likewise.
15506 * csu/Makefile: Likewise.
15507 * wctype/Makefile: Likewise.
15508 * crypt/Makefile: Likewise.
15509 * libio/Makefile: Likewise.
15510 * string/Makefile: Likewise.
15511 * nis/Makefile: Likewise.
15512 * resolv/Makefile: Likewise.
15513 * stdio-common/Makefile: Likewise.
15514 * wcsmbs/Makefile: Likewise.
15515 * dlfcn/Makefile: Likewise.
15516 * posix/Makefile: Likewise.
15517
3b7c4e74 15518 [BZ #6959]
482ff4da
UD
15519 * timezone/Makefile: Don't install timezone files, just the programs
15520 and scripts.
15521
f72ed77d
UD
155222012-03-06 Ulrich Drepper <drepper@gmail.com>
15523
a000466f
UD
15524 * nss/databases.def: Add missing gshadow entry.
15525
f72ed77d
UD
15526 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15527
a53b7a4e
MP
155282012-03-06 Marek Polacek <polacek@redhat.com>
15529
15530 [BZ #13726]
15531 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15532 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15533 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15534 * stdio-common/tst-long-dbl-fphex.c: New file.
15535
e9258400
DM
155362012-03-06 David S. Miller <davem@davemloft.net>
15537
15538 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15539 (set_obp_int): New function.
15540 (get_obp_int): New function.
15541 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15542 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15543 Avoid unused variable warnings on 'val' and use builtin_expect.
15544 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15545 __builtin_expect.
e9258400
DM
15546 (INLINE_CLONE_SYSCALL): Likewise.
15547
3bd2c723
DM
155482012-03-05 David S. Miller <davem@davemloft.net>
15549
15550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15551
bbb78d03
AS
155522012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15553
884c5db4
AS
15554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15555
bbb78d03
AS
15556 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15557 only for |x| >= 40.
15558 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15559
1c9f702a 155602012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15561
15562 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15563 Replace gettimeofday with __vdso_gettimeofday.
15564
7be16f82
RM
15565 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15566 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15567 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15568
15569 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15570 time with __vdso_time.
15571
ed58a00f
JM
155722012-03-05 Joseph Myers <joseph@codesourcery.com>
15573
15574 * manual/lang.texi (size_t): Note types to which size_t may be
15575 equivalent with the GNU C Library, but do not describe when
15576 differences between them are significant.
15577
30ee4ced
AJ
155782012-03-05 Andreas Jaeger <aj@suse.de>
15579
15580 * sysdeps/i386/fpu/libm-test-ulps: Update.
15581
b7cd39e8
JM
155822012-03-05 Joseph Myers <joseph@codesourcery.com>
15583
15584 [BZ #3976]
15585 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15586 (__ieee754_pow): Save and restore rounding mode and use
15587 round-to-nearest for main computations.
15588 * math/libm-test.inc (pow_test_tonearest): New function.
15589 (pow_test_towardzero): Likewise.
15590 (pow_test_downward): Likewise.
15591 (pow_test_upward): Likewise.
15592 (main): Call the new functions.
15593 * sysdeps/i386/fpu/libm-test-ulps: Update.
15594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15595
15596 [BZ #3976]
15597 * math/libm-test.inc (cosh_test_tonearest): New function.
15598 (cosh_test_towardzero): Likewise.
15599 (cosh_test_downward): Likewise.
15600 (cosh_test_upward): Likewise.
15601 (sinh_test_tonearest): Likewise.
15602 (sinh_test_towardzero): Likewise.
15603 (sinh_test_downward): Likewise.
15604 (sinh_test_upward): Likewise.
15605 (main): Call the new functions.
15606 * sysdeps/i386/fpu/libm-test-ulps: Update.
15607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15608
6c6a98c9
TV
156092012-03-05 Tom de Vries <tom@codesourcery.com>
15610
15611 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15612 default stack guard is set in last bytes.
15613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15614
21bb2d2e 156152012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15616
21bb2d2e 15617 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15618
21bb2d2e
AJ
15619 [BZ #13656]
15620 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15621 possibly allocate from heap instead of stack.
15622 * stdio-common/bug-vfprintf-nargs.c: New file.
15623 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15624
c6922934
AS
156252012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15626
15627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15628
bc957d53
MP
156292012-03-03 Marek Polacek <polacek@redhat.com>
15630
15631 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15632 * math/math_private.h: Likewise.
15633 * stdlib/tst-strtod.c: Likewise.
15634 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15635 * sysdeps/x86_64/bits/atomic.h: Likewise.
15636
6358490d
DM
156372012-03-02 David S. Miller <davem@davemloft.net>
15638
15639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15643 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15644 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15645 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15646 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15647
01ae168d
RM
156482012-03-02 Roland McGrath <roland@hack.frob.com>
15649
d9a17c07
RM
15650 [BZ #13792]
15651 * manual/examples/README: New file, says the example source files
15652 can be used under GPL>=2.
15653 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15654 line containing just "*/".
15655 * manual/examples/add.c: Add copyright header (GPL>=2).
15656 * manual/examples/argp-ex1.c: Likewise.
15657 * manual/examples/argp-ex2.c: Likewise.
15658 * manual/examples/argp-ex3.c: Likewise.
15659 * manual/examples/argp-ex4.c: Likewise.
15660 * manual/examples/atexit.c: Likewise.
15661 * manual/examples/db.c: Likewise.
15662 * manual/examples/dir.c: Likewise.
15663 * manual/examples/dir2.c: Likewise.
15664 * manual/examples/execinfo.c: Likewise.
15665 * manual/examples/filecli.c: Likewise.
15666 * manual/examples/filesrv.c: Likewise.
15667 * manual/examples/fmtmsgexpl.c: Likewise.
15668 * manual/examples/genpass.c: Likewise.
15669 * manual/examples/inetcli.c: Likewise.
15670 * manual/examples/inetsrv.c: Likewise.
15671 * manual/examples/isockad.c: Likewise.
15672 * manual/examples/longopt.c: Likewise.
15673 * manual/examples/memopen.c: Likewise.
15674 * manual/examples/memstrm.c: Likewise.
15675 * manual/examples/mkfsock.c: Likewise.
15676 * manual/examples/mkisock.c: Likewise.
15677 * manual/examples/mygetpass.c: Likewise.
15678 * manual/examples/pipe.c: Likewise.
15679 * manual/examples/popen.c: Likewise.
15680 * manual/examples/rprintf.c: Likewise.
15681 * manual/examples/search.c: Likewise.
15682 * manual/examples/select.c: Likewise.
15683 * manual/examples/setjmp.c: Likewise.
15684 * manual/examples/sigh1.c: Likewise.
15685 * manual/examples/sigusr.c: Likewise.
15686 * manual/examples/stpcpy.c: Likewise.
15687 * manual/examples/strdupa.c: Likewise.
15688 * manual/examples/strftim.c: Likewise.
15689 * manual/examples/strncat.c: Likewise.
15690 * manual/examples/subopt.c: Likewise.
15691 * manual/examples/swapcontext.c: Likewise.
15692 * manual/examples/termios.c: Likewise.
15693 * manual/examples/testopt.c: Likewise.
15694 * manual/examples/testpass.c: Likewise.
15695 * manual/examples/timeval_subtract.c: Likewise.
15696
01ae168d
RM
15697 [BZ #13792]
15698 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15699 function to ...
15700 * manual/timeval_subtract.c.texi: ... here, new file.
15701
49efa33d
DM
157022012-03-02 David S. Miller <davem@davemloft.net>
15703
15704 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15705
28afd92d
JM
157062012-03-02 Joseph Myers <joseph@codesourcery.com>
15707
804360ed
JM
15708 [BZ #3976]
15709 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15710 (__sin): Save and restore rounding mode and use round-to-nearest
15711 for all computations.
15712 (__cos): Save and restore rounding mode and use round-to-nearest
15713 for all computations.
15714 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15715 <fenv.h>.
15716 (tan): Save and restore rounding mode and use round-to-nearest for
15717 all computations.
15718 * math/libm-test.inc (cos_test_tonearest): New function.
15719 (cos_test_towardzero): Likewise.
15720 (cos_test_downward): Likewise.
15721 (cos_test_upward): Likewise.
15722 (sin_test_tonearest): Likewise.
15723 (sin_test_towardzero): Likewise.
15724 (sin_test_downward): Likewise.
15725 (sin_test_upward): Likewise.
15726 (tan_test_tonearest): Likewise.
15727 (tan_test_towardzero): Likewise.
15728 (tan_test_downward): Likewise.
15729 (tan_test_upward): Likewise.
15730 (main): Call the new functions.
15731 * sysdeps/i386/fpu/libm-test-ulps: Update.
15732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15733
a6d06d7b
JM
15734 [BZ #10135]
15735 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15736 small n, then large n, before computing and testing k+n.
15737 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15739 Likewise.
15740 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15741 Likewise.
15742 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15743 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15744 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15745 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15746 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15747 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15748 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15749 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15750 * math/libm-test.inc (scalbn_test): Add more tests.
15751 (scalbln_test): Likewise.
15752
07e12bb3
JM
15753 * manual/filesys.texi (mode_t): Describe constraints on size and
15754 signedness, not exact equivalence to a particular type.
15755 (ino_t): Likewise.
15756 (ino64_t): Likewise.
15757 (dev_t): Likewise.
15758 (nlink_t): Likewise.
15759 (blkcnt_t): Likewise.
15760 (blkcnt64_t): Likewise.
15761 * manual/llio.texi (off_t): Likewise.
15762
28afd92d
JM
15763 [BZ #3976]
15764 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15765 (__ieee754_exp): Save and restore rounding mode and use
15766 round-to-nearest for all computations.
15767 * math/libm-test.inc (exp_test_tonearest): New function.
15768 (exp_test_towardzero): Likewise.
15769 (exp_test_downward): Likewise.
15770 (exp_test_upward): Likewise.
15771 (main): Call the new functions.
15772 * sysdeps/i386/fpu/libm-test-ulps: Update.
15773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15774
b1eeb65d
CD
157752012-03-01 Chris Demetriou <cgd@google.com>
15776
15777 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15778 have predictable order.
15779
53362a4b
DM
157802012-03-01 David S. Miller <davem@davemloft.net>
15781
3c969083
DM
15782 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15783
759707de
DM
15784 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15785 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15786 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15787 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15788
dfdb8ff2
DM
15789 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15790 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15791 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15793 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15794 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15795 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15796 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15797 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15798
ead89f96
DM
15799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15800
7f66bd07
DM
15801 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15802 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15803 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15804
53362a4b
DM
15805 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15806 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15807 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15808 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15809 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15810 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15811 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15812 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15813 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15814 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15815 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15816 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15818 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15819 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15821 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15822 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15823 * sysdeps/sparc/elf/configure: Regenerated.
15824
7b1902cb
JM
158252012-03-01 Joseph Myers <joseph@codesourcery.com>
15826
bec039bc
JM
15827 * configure.in (AS, LD): Require binutils 2.20 or later.
15828 * configure: Regenerated.
15829 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15830 as required minimum version.
15831 * INSTALL: Regenerated.
15832
7b1902cb
JM
15833 [BZ #2541]
15834 [BZ #4108]
15835 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15836 before squaring exponent.
15837 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15838 bottom long double and 27 bits of top long double before squaring
15839 exponent.
15840 * math/libm-test.inc (erfc_test): Add more tests.
15841 * sysdeps/i386/fpu/libm-test-ulps: Update.
15842 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15844
f775c276
KT
158452012-03-01 Kai Tietz <ktietz@redhat.com>
15846
15847 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15848 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15849 containing bit-fields.
15850 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15851 * soft-fp/single.h (_FP_UNION_S): Likewise.
15852 * soft-fp/double.h (_FP_UNION_D): Likewise.
15853
5b8a4d4a
JM
158542012-02-29 Joseph Myers <joseph@codesourcery.com>
15855
0bab47b6
JM
15856 [BZ #13786]
15857 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15858 not include ../strcmp.S.
15859 [USE_AS_STRNCASECMP_L]: Likewise.
15860 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15861 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15862 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15863 (__strncasecmp_l_ia32): Define as alias to
15864 __strncasecmp_l_nonascii.
15865
0fcad3e2
JM
15866 [BZ #5794]
15867 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15868 * sysdeps/i386/fpu/libm-test-ulps: Update.
15869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15870
5b8a4d4a
JM
15871 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15873
8fdceb2e
JL
158742012-02-29 Jeff Law <law@redhat.com>
15875
15876 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15877 out of bounds read.
15878
1f393a11
MP
158792012-02-29 Marek Polacek <polacek@redhat.com>
15880
15881 [BZ #13706]
15882 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15883 * elf/Makefile: Add rules to run tst-unused-dep.out.
15884
8847f037
DM
158852012-02-28 David S. Miller <davem@davemloft.net>
15886
15887 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15888 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15889 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15890 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15891 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15892 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15893
169d7f11
JM
158942012-02-29 Joseph Myers <joseph@codesourcery.com>
15895
15896 * math/libm-test.inc (llround_test): Move one test from
15897 lround_test. Use TEST_f_L in moved test.
15898 (lround_test): Move misplaced test to llround_test. Add testcase
15899 from bug 2561.
15900
39adf059
UD
159012012-02-28 Ulrich Drepper <drepper@gmail.com>
15902
15903 * sysdeps/x86_64/fpu/e_expf.S: New file.
15904 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15905
71b5d1c5
SB
159062012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15907
15908 [BZ #13637]
15909 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15910 of remain_len that may cause incomplete multi-byte character and
15911 false match.
15912 * posix/bug-regex33.c: New file.
15913 * posix/Makefile (tests): Add bug-regex33.
15914
1f77f049
JM
159152012-02-28 Joseph Myers <joseph@codesourcery.com>
15916
15917 * manual/macros.texi: New file.
15918 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15919 * manual/libc.texinfo: Include macros.texi.
15920 * manual/creatute.texi: Likewise.
15921 * manual/install.texi: Likewise.
15922 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15923 @glibcadj{} in references to the GNU C Library.
15924 * manual/charset.texi: Likewise.
15925 * manual/conf.texi: Likewise.
15926 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15927 when not using those macros.
15928 * manual/creature.texi: Likewise.
15929 * manual/crypt.texi: Likewise.
15930 * manual/errno.texi: Likewise.
15931 * manual/filesys.texi: Likewise.
15932 * manual/header.texi: Likewise.
15933 * manual/install.texi: Likewise.
15934 * manual/intro.texi: Likewise.
15935 * manual/io.texi: Likewise.
15936 * manual/job.texi: Likewise.
15937 * manual/lang.texi: Likewise.
15938 * manual/libc.texiinfo: Likewise.
15939 * manual/llio.texi: Likewise.
15940 * manual/locale.texi: Likewise.
15941 * manual/maint.texi: Likewise.
15942 * manual/math.texi: Likewise.
15943 * manual/memory.texi: Likewise.
15944 * manual/message.texi: Likewise.
15945 * manual/nss.texi: Likewise.
15946 * manual/pattern.texi: Likewise.
15947 * manual/process.texi: Likewise.
15948 * manual/resource.texi: Likewise.
15949 * manual/search.texi: Likewise.
15950 * manual/setjmp.texi: Likewise.
15951 * manual/signal.texi: Likewise.
15952 * manual/socket.texi: Likewise.
15953 * manual/startup.texi: Likewise.
15954 * manual/stdio.texi: Likewise.
15955 * manual/string.texi: Likewise.
15956 * manual/sysinfo.texi: Likewise.
15957 * manual/syslog.texi: Likewise.
15958 * manual/terminal.texi: Likewise.
15959 * manual/time.texi: Likewise.
15960 * manual/users.texi: Likewise.
15961 * INSTALL: Regenerated.
15962 * NOTES: Regenerated.
d40c5d54 15963 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15964
450bf206
AS
159652012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15966
15967 * include/dirent.h: Include <dirstream.h> before
15968 <dirent/dirent.h>.
15969
741a235b
DM
159702012-02-28 David S. Miller <davem@davemloft.net>
15971
15972 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15973 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15974 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15975 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15976
d6b5aa58
DM
159772012-02-27 David S. Miller <davem@davemloft.net>
15978
1aff59a3
DM
15979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15981 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15982 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15983
d6b5aa58
DM
15984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15985 frame pointer instead of stack pointer relative arg slot.
15986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15987 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15988 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15989
433f48bf
CD
159902012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15991
15992 [BZ #3992]
15993 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15994
d674b76d
DM
159952012-02-27 David S. Miller <davem@davemloft.net>
15996
15997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
16001 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
16002 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
16003 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
16004 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
16005
0e7727f7
JM
160062012-02-27 Joseph Myers <joseph@codesourcery.com>
16007
16008 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
16009 later. Allow versions 5-9.
43be4ca2 16010 * configure: Regenerated.
0e7727f7
JM
16011 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
16012 required minimum version and 4.6 as recommended version. Do not
16013 mention bugs in GCC 2.7 and 2.8.
43be4ca2 16014 * INSTALL: Regenerated.
0e7727f7 16015
a78bc654
DM
160162012-02-27 David S. Miller <davem@davemloft.net>
16017
428d5830
DM
16018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
16019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
16020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
16021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
16022 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
16023 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
16024 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
16025 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
16026
a78bc654
DM
16027 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
16028 manipulate bits before adding and subtracting TWO112[sx].
16029 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16030
4579f81c
RM
160312012-02-27 Roland McGrath <roland@hack.frob.com>
16032
36c8acb4
RM
16033 [BZ #13775]
16034 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
16035 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
16036 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
16037 being in POSIX, because they are in 1003.1-2008.
16038
84ad622b
RM
16039 * rt/tst-aio.c: Include <fcntl.h>.
16040 * rt/tst-aio7.c: Likewise.
16041 * rt/tst-aio64.c: Likewise.
16042
4579f81c
RM
16043 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
16044
abd923db
JM
160452012-02-27 Joseph Myers <joseph@codesourcery.com>
16046
16047 * manual/install.texi (--with-headers): Describe headers as
16048 interface headers, not private headers.
16049 (Specific advice for GNU/Linux systems): Describe use of headers
16050 from "make headers_install", not private headers from older
16051 kernels.
43be4ca2 16052 * INSTALL: Regenerated.
abd923db
JM
16053 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
16054 Change to 2.6.19.
16055 * sysdeps/unix/sysv/linux/configure: Regenerated.
16056
6664049b
JM
16057 * manual/llio.texi (fclean): Remove documentation.
16058
bb8b6697
JM
16059 * manual/Makefile (libc-texi-generated): New variable. Include
16060 version.texi.
16061 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
16062 $(libc-texi-generated), not duplicated list of files.
16063 (version.texi, stamp-version): New rules.
16064 (realclean): Remove $(libc-texi-generated), not individual files
16065 from that list. Do not remove dir-add.texinfo.
16066 * manual/libc.texinfo: Comment out uses of edition numbers and
16067 references to printed manual. Remove last-updated dates.
16068 (EDITION): Comment out.
16069 (ISBN): Likewise.
16070 (VERSION, UPDATED): Remove.
16071 (version.texi): Include.
16072
12e5c3b9
AS
160732012-02-27 Andreas Schwab <schwab@linux-m68k.org>
16074
16075 * sysdeps/posix/spawni.c: Include <signal.h>.
16076 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
16077 * sysdeps/pthread/aio_fsync.c: Likewise.
16078
4efeffc1 160792012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 16080
ba63ba08
UD
16081 * conform/Makefile (tests): Run only when not cross-compiling and
16082 when fast-check is not defined.
16083
d94a4670
UD
16084 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
16085 * conform/data/limits.h-data: Fixes for POSIX2008.
16086 * conform/run-conformtest.sh: Run all tests.
16087 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
16088 headers.
16089 * include/bits/dlfcn.h: Likewise.
16090 * include/langinfo.h: Likewise.
16091 * include/monetary.h: Likewise.
16092 * include/sys/poll.h: Likewise.
16093
16094 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
16095 for __USE_GNU.
16096 * posix/spawn.h: Define __need_sigset_t.
16097 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
16098 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
16099 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
16100 to get sigevent_t only.
16101 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
16102 only for __USE_GNU.
16103 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16104 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
16105 process_vm_writev only for __USE_GNU.
16106 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
16107
16108 * conform/Makefile: For now ignore errors from run-conformtest.
16109 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
16110 POSIX to avoid namespace pollution. Don't prepend headers.
16111 * conform/data/aio.h-data: Fixes for POSIX testing.
16112 * conform/data/fcntl.h-data: Likewise.
16113 * conform/data/glob.h-data: Likewise.
16114 * conform/data/grp.h-data: Likewise.
16115 * conform/data/pthread.h-data: Likewise.
16116 * conform/data/pwd.h-data: Likewise.
16117 * conform/data/signal.h-data: Likewise.
16118 * conform/data/spawn.h-data: Likewise.
16119 * conform/data/stdio.h-data: Likewise.
16120 * conform/data/stdlib.h-data: Likewise.
16121 * conform/data/stropts.h-data: Likewise.
16122 * conform/data/sys/mman.h-data: Likewise.
16123 * conform/data/sys/stat.h-data: Likewise.
16124 * conform/data/sys/types.h-data: Likewise.
16125 * conform/data/sys/wait.h-data: Likewise.
16126 * conform/data/time.h-data: Likewise.
16127 * conform/data/unistd.h-data: Likewise.
16128 * conform/data/utime.h-data: Likewise.
16129
16130 * io/sys/stat.h: fchmod was always in POSIX.
16131 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
16132 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
16133 * rt/aio.h: Define __need_timespec before including <time.h>.
16134 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
16135 struct. Add forward declaration of pthread_attr_t and use it in
16136 sigevent.
16137 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16138 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16139 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
16140 always remove CLK_TCK definition.
16141
c20105c3
AS
161422012-02-26 Andreas Schwab <schwab@linux-m68k.org>
16143
16144 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
16145
7a270350
UD
161462012-02-25 Ulrich Drepper <drepper@gmail.com>
16147
31341567
UD
16148 * conform/run-conformtest.sh: New file.
16149 * conform/Makefile: Run run-conformtest for tests.
16150 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
16151 support.
16152
16153 * conform/data/uchar.h-data: New file.
16154 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
16155 * conform/data/arpa/inet.h-data: Likewise.
16156 * conform/data/assert.h-data: Likewise.
16157 * conform/data/complex.h-data: Likewise.
16158 * conform/data/cpio.h-data: Likewise.
16159 * conform/data/ctype.h-data: Likewise.
16160 * conform/data/dirent.h-data: Likewise.
16161 * conform/data/dlfcn.h-data: Likewise.
16162 * conform/data/errno.h-data: Likewise.
16163 * conform/data/fcntl.h-data: Likewise.
16164 * conform/data/float.h-data: Likewise.
16165 * conform/data/fmtmsg.h-data: Likewise.
16166 * conform/data/fnmatch.h-data: Likewise.
16167 * conform/data/ftw.h-data: Likewise.
16168 * conform/data/glob.h-data: Likewise.
16169 * conform/data/grp.h-data: Likewise.
16170 * conform/data/iconv.h-data: Likewise.
16171 * conform/data/inttypes.h-data: Likewise.
16172 * conform/data/langinfo.h-data: Likewise.
16173 * conform/data/libgen.h-data: Likewise.
16174 * conform/data/limits.h-data: Likewise.
16175 * conform/data/locale.h-data: Likewise.
16176 * conform/data/math.h-data: Likewise.
16177 * conform/data/monetary.h-data: Likewise.
16178 * conform/data/mqueue.h-data: Likewise.
16179 * conform/data/ndbm.h-data: Likewise.
16180 * conform/data/net/if.h-data: Likewise.
16181 * conform/data/netdb.h-data: Likewise.
16182 * conform/data/netinet/in.h-data: Likewise.
16183 * conform/data/nl_types.h-data: Likewise.
16184 * conform/data/poll.h-data: Likewise.
16185 * conform/data/pthread.h-data: Likewise.
16186 * conform/data/pwd.h-data: Likewise.
16187 * conform/data/regex.h-data: Likewise.
16188 * conform/data/sched.h-data: Likewise.
16189 * conform/data/search.h-data: Likewise.
16190 * conform/data/semaphore.h-data: Likewise.
16191 * conform/data/setjmp.h-data: Likewise.
16192 * conform/data/signal.h-data: Likewise.
16193 * conform/data/spawn.h-data: Likewise.
16194 * conform/data/stdarg.h-data: Likewise.
16195 * conform/data/stdio.h-data: Likewise.
16196 * conform/data/stdlib.h-data: Likewise.
16197 * conform/data/string.h-data: Likewise.
16198 * conform/data/strings.h-data: Likewise.
16199 * conform/data/stropts.h-data: Likewise.
16200 * conform/data/sys/ipc.h-data: Likewise.
16201 * conform/data/sys/mman.h-data: Likewise.
16202 * conform/data/sys/msg.h-data: Likewise.
16203 * conform/data/sys/resource.h-data: Likewise.
16204 * conform/data/sys/select.h-data: Likewise.
16205 * conform/data/sys/sem.h-data: Likewise.
16206 * conform/data/sys/shm.h-data: Likewise.
16207 * conform/data/sys/socket.h-data: Likewise.
16208 * conform/data/sys/stat.h-data: Likewise.
16209 * conform/data/sys/statvfs.h-data: Likewise.
16210 * conform/data/sys/time.h-data: Likewise.
16211 * conform/data/sys/timeb.h-data: Likewise.
16212 * conform/data/sys/times.h-data: Likewise.
16213 * conform/data/sys/types.h-data: Likewise.
16214 * conform/data/sys/uio.h-data: Likewise.
16215 * conform/data/sys/un.h-data: Likewise.
16216 * conform/data/sys/utsname.h-data: Likewise.
16217 * conform/data/sys/wait.h-data: Likewise.
16218 * conform/data/syslog.h-data: Likewise.
16219 * conform/data/tar.h-data: Likewise.
16220 * conform/data/termios.h-data: Likewise.
16221 * conform/data/utime.h-data: Likewise.
16222 * conform/data/utmpx.h-data: Likewise.
16223 * conform/data/varargs.h-data: Likewise.
16224 * conform/data/wchar.h-data: Likewise.
16225 * conform/data/wctype.h-data: Likewise.
16226 * conform/data/wordexp.h-data: Likewise.
16227
16228 * include/stropts.h: New file.
16229 * include/uchar.h: New file.
16230 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16231 * include/assert.h: Likewise.
16232 * include/ctype.h: Likewise.
16233 * include/dirent.h: Likewise.
16234 * include/dlfcn.h: Likewise.
16235 * include/fcntl.h: Likewise.
16236 * include/fnmatch.h: Likewise.
16237 * include/glob.h: Likewise.
16238 * include/grp.h: Likewise.
16239 * include/libio.h: Likewise.
16240 * include/locale.h: Likewise.
16241 * include/math.h: Likewise.
16242 * include/net/if.h: Likewise.
16243 * include/netdb.h: Likewise.
16244 * include/netinet/in.h: Likewise.
16245 * include/pthread.h: Likewise.
16246 * include/pwd.h: Likewise.
16247 * include/regex.h: Likewise.
16248 * include/sched.h: Likewise.
16249 * include/search.h: Likewise.
16250 * include/setjmp.h: Likewise.
16251 * include/signal.h: Likewise.
16252 * include/stdio.h: Likewise.
16253 * include/stdlib.h: Likewise.
16254 * include/string.h: Likewise.
16255 * include/sys/cdefs.h: Likewise.
16256 * include/sys/mman.h: Likewise.
16257 * include/sys/msg.h: Likewise.
16258 * include/sys/resource.h: Likewise.
16259 * include/sys/select.h: Likewise.
16260 * include/sys/socket.h: Likewise.
16261 * include/sys/stat.h: Likewise.
16262 * include/sys/statvfs.h: Likewise.
16263 * include/sys/time.h: Likewise.
16264 * include/sys/times.h: Likewise.
16265 * include/sys/uio.h: Likewise.
16266 * include/sys/utsname.h: Likewise.
16267 * include/sys/wait.h: Likewise.
16268 * include/termios.h: Likewise.
16269 * include/time.h: Likewise.
16270 * include/ulimit.h: Likewise.
16271 * include/unistd.h: Likewise.
16272 * include/utime.h: Likewise.
16273 * include/wchar.h: Likewise.
16274 * include/wctype.h: Likewise.
16275 * include/wordexp.h: Likewise.
16276
16277 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16278
7a270350
UD
16279 * time/time.h: TIME_UTC must be a macro.
16280 Make timespec_get available for ISO C11 only as well.
16281
7724defc
UD
162822012-02-24 Ulrich Drepper <drepper@gmail.com>
16283
16284 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16285 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16286
6b1d1d46
JM
162872012-02-24 Joseph Myers <joseph@codesourcery.com>
16288
16289 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16290
0f8bbd69
JM
162912012-02-24 Joseph Myers <joseph@codesourcery.com>
16292
16293 * manual/texinfo.tex: Update to version 2012-01-19.16.
16294
66ab80bc
JM
162952012-02-24 Joseph Myers <joseph@codesourcery.com>
16296
16297 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16298
74981cc5
RM
162992012-02-24 Roland McGrath <roland@hack.frob.com>
16300
ee968201
RM
16301 [BZ #13738]
16302 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16303 * manual/fdl-1.3.texi: New file.
16304 * manual/fdl-1.1.texi: File removed.
16305
74981cc5
RM
16306 [BZ #13738]
16307 * manual/libc.texinfo (FDL_VERSION): New @set.
16308 Use it for mention of FDL in cover text.
16309 (Documentation License): Use it in @include file name.
16310
7bb764bc
JM
163112012-02-22 Joseph Myers <joseph@codesourcery.com>
16312 Roland McGrath <roland@hack.frob.com>
16313
16314 [BZ #5461]
16315 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16316 not LONG_LONG_MAX and LONG_LONG_MIN.
16317 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16318 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16319 name.
16320 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16321
6cbeae47
JM
163222012-02-22 Joseph Myers <joseph@codesourcery.com>
16323
16324 [BZ #2547]
16325 [BZ #11365]
16326 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16327 manipulate bits before adding and subtracting TWO23[sx].
16328 * math/libm-test.inc (nearbyint_test): Add more tests.
16329
fe45ce09
JM
163302012-02-22 Joseph Myers <joseph@codesourcery.com>
16331
16332 [BZ #2548]
16333 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16334 bits before adding and subtracting TWO23[sx].
16335 * math/libm-test.inc (rint_test): Add more tests.
16336 (rint_test_tonearest): Likewise.
16337 (rint_test_towardzero): Likewise.
16338 (rint_test_downward): Likewise.
16339 (rint_test_upward: Likewise.
16340
ff3b3d82
JM
163412012-02-22 Joseph Myers <joseph@codesourcery.com>
16342
16343 [BZ #10110]
16344 * include/stdc-predef.h: New file. Extracted from features.h.
16345 * include/features.h: Include stdc-predef.h.
16346 * Makefile (headers): Add stdc-predef.h.
16347 * CONFORMANCE (Compiler limitations): Update.
16348
ef0aab35
JM
163492012-02-22 Joseph Myers <joseph@codesourcery.com>
16350
16351 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16352
58639409
DM
163532012-02-21 David S. Miller <davem@davemloft.net>
16354
16355 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16356 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16357
c0e70b25
DM
163582012-02-20 David S. Miller <davem@davemloft.net>
16359
16360 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16361 using a normal save/restore sequence, rather than allocating a
16362 dummy stack frame just to store a frame pointer and restore.
16363 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16364
fb06851d
JM
163652012-02-21 Joseph Myers <joseph@codesourcery.com>
16366
16367 * manual/install.texi: Fix stray word in line-wrapped comment.
16368
7a8b71c3
DM
163692012-02-20 David S. Miller <davem@davemloft.net>
16370
d510c123
DM
16371 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16372 both binutils and gcc support GOTDATA.
16373
0722d7c2
DM
16374 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16375 "rd %pc" in the PIC register setup sequences.
16376
3d2b3019
DM
16377 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16378 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16379 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16380 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16381 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16383 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16384 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16386 (SYSCALL_ERROR_HANDLER): Likewise.
16387 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16388 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16390 (SYSCALL_ERROR_HANDLER): Likewise.
16391
c80098a9
DM
16392 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16393 (HAVE_GCC_GOTDATA): New.
16394 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16395 relocation support in both binutils and gcc.
16396 * sysdeps/sparc/elf/configure: Regenerate.
16397
3a2545a0
DM
16398 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16399 * sysdeps/sparc/sparc32/elf/configure: Delete.
16400 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16401 * sysdeps/sparc/sparc64/elf/configure: Delete.
16402 * sysdeps/sparc/elf/configure.in: New file.
16403 * sysdeps/sparc/elf/configure: Generate.
16404
7a8b71c3
DM
16405 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16406 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16407 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16408 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16409 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16410
f1e86fca
JM
164112012-02-21 Joseph Myers <joseph@codesourcery.com>
16412
16413 * manual/install.texi: Do not mention specific glibc version
16414 numbers.
16415 * manual/libc.texinfo (VERSION, UPDATED): Update.
16416 (@copying): Use @copyright{} and range of years.
16417
0e7dfaef
JM
164182012-02-21 Joseph Myers <joseph@codesourcery.com>
16419
16420 [BZ #13695]
16421 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16422 [crti.S not in sysdirs] (generated): Do not append.
16423 [crti.S not in sysdirs] (omit-deps): Likewise.
16424 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16425 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16426 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16427 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16428 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16429 Likewise.
16430 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16431 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16432 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16433 * csu/defs.awk: Remove file.
16434 * sysdeps/generic/initfini.c: Likewise.
16435 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16436 variable.
16437 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16438 Likewise.
16439
599af3ca
JM
164402012-02-20 Joseph Myers <joseph@codesourcery.com>
16441
16442 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16443 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16444 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16445 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16447 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16448 <bits/epoll.h>.
16449 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16450 (__EPOLL_PACKED): Define to empty if not defined by
16451 <bits/epoll.h>.
16452 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16453 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16454 bits/epoll.h.
16455
0e499750
JM
164562012-02-20 Joseph Myers <joseph@codesourcery.com>
16457
16458 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16459 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16460 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16461 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16462 <bits/timerfd.h>.
16463 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16464 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16465 bits/timerfd.h.
16466
5ad91f6e
JM
164672012-02-20 Joseph Myers <joseph@codesourcery.com>
16468
16469 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16470 in C locale.
16471 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16472 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16473 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16475
06b99b02
AJ
164762012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16477
16478 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16479 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16480
7638c0fd
AS
164812012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16482
16483 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16484 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16485 defined.
16486 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16487 Likewise.
16488 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16489 entry for 2.16.
16490
92221550
AJ
164912012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16492
16493 * math/w_acos.c: Use non-signaling floating-point comparisons.
16494 * math/w_acosf.c: Likewise.
16495 * math/w_acosh.c: Likewise.
16496 * math/w_acoshf.c: Likewise.
16497 * math/w_acoshl.c: Likewise.
16498 * math/w_acosl.c: Likewise.
16499 * math/w_asin.c: Likewise.
16500 * math/w_asinf.c: Likewise.
16501 * math/w_asinl.c: Likewise.
16502 * math/w_atanh.c: Likewise.
16503 * math/w_atanhf.c: Likewise.
16504 * math/w_atanhl.c: Likewise.
16505 * math/w_exp2.c: Likewise.
16506 * math/w_exp2f.c: Likewise.
16507 * math/w_exp2l.c: Likewise.
16508 * math/w_j0.c: Likewise.
16509 * math/w_j0f.c: Likewise.
16510 * math/w_j0l.c: Likewise.
16511 * math/w_j1.c: Likewise.
16512 * math/w_j1f.c: Likewise.
16513 * math/w_j1l.c: Likewise.
16514 * math/w_jn.c: Likewise.
16515 * math/w_jnf.c: Likewise.
16516 * math/w_log.c: Likewise.
16517 * math/w_log10.c: Likewise.
16518 * math/w_log10f.c: Likewise.
16519 * math/w_log10l.c: Likewise.
16520 * math/w_log2.c: Likewise.
16521 * math/w_log2f.c: Likewise.
16522 * math/w_log2l.c: Likewise.
16523 * math/w_logf.c: Likewise.
16524 * math/w_logl.c: Likewise.
16525 * math/w_sqrt.c: Likewise.
16526 * math/w_sqrtf.c: Likewise.
16527 * math/w_sqrtl.c: Likewise.
16528 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16529 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16530 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16531 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16532 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16533
ebaf36eb
JM
165342012-02-19 Joseph Myers <joseph@codesourcery.com>
16535
16536 [BZ #9739]
16537 * manual/string.texi (strnlen): Use correct parameter name in
16538 equivalent expression.
16539
71c254a6
JM
165402012-02-19 Joseph Myers <joseph@codesourcery.com>
16541
16542 [BZ #11174]
16543 * manual/users.texi (seteuid): Consistently use neweuid for
16544 argument name.
16545
16d2c631
JM
165462012-02-19 Joseph Myers <joseph@codesourcery.com>
16547
16548 [BZ #13704]
16549 * manual/nss.texi (Services in the NSS configuration): Correct
16550 list of services in example configuration file.
16551
cd837b09
NB
165522012-02-19 Nick Bowler <nbowler@draconx.ca>
16553
16554 [BZ #11322]
16555 * manual/arith.texi: Remove statements about negative zero
16556 behaving identically to zero.
16557
02c4bbad
JM
165582012-02-18 Joseph Myers <joseph@codesourcery.com>
16559
16560 [BZ #5993]
16561 * manual/install.texi: Do not document upgrading from libc5.
16562
366842e7
JM
165632012-02-18 Joseph Myers <joseph@codesourcery.com>
16564
16565 [BZ #4596]
16566 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16567
dd54084d
DM
165682012-02-18 David S. Miller <davem@davemloft.net>
16569
16570 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16571 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16572 %o7 across the call.
16573 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16574 instead.
16575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16576 SETUP_PIC_REG_LEAF.
16577 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16578 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16579 * sysdeps/sparc/crtn.S: Likewise.
16580
2bcc53a3
UD
165812012-02-17 Ulrich Drepper <drepper@gmail.com>
16582
16583 * aout/Makefile: Remove.
16584
09c093b5
RK
165852012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16586
16587 [BZ #13058]
16588 * manual/examples/argp-ex1.c (main): Format definition in GNU
16589 style.
16590 * manual/examples/argp-ex2.c (main): Likewise.
16591 * manual/examples/argp-ex3.c (main): Likewise.
16592 * manual/examples/argp-ex4.c (main): Likewise.
16593 * manual/examples/longopt.c (main): Use new-style prototype
16594 definition.
16595 * manual/examples/strncat.c (main): Specify return type and use
16596 (void) for arguments.
16597 * manual/examples/subopt.c (main): Use char **argv argument.
16598
2ee633a2
JM
165992012-02-17 Joseph Myers <joseph@codesourcery.com>
16600
16601 [BZ #5077]
16602 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16603 rounding modes.
16604
0520adde
FB
166052012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16606
16607 [BZ #6907]
16608 * manual/string.texi (strchr): Change when strchrnul is
16609 recommended.
16610
3f4081cd
DGM
166112012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16612
16613 [BZ #174]
16614 * manual/locale.texi (setlocale): Document LOCPATH.
16615
d1b10e78
JM
166162012-02-17 Joseph Myers <joseph@codesourcery.com>
16617
16618 [BZ #10210]
16619 * manual/process.texi (execle): Move @dots{} before last argument.
16620
79c6869c
PB
166212012-02-17 Paul Bolle <pebolle@tiscali.nl>
16622
16623 [BZ #12047]
16624 * manual/charset.texi (Generic Charset Conversion): Fix typo
16625 (LC_TYPE -> LC_CTYPE).
16626
cc6e48bc
NB
166272012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16628
16629 [BZ #5805]
16630 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16631 (scalbnf): Likewise.
16632 (scalbnl): Likewise.
16633 (scalbln): Likewise.
16634 (scalblnf): Likewise.
16635 (scalblnl): Likewise.
16636 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16637 (vwarnx): Likewise.
16638 (verr): Likewise.
16639 (verrx): Likewise.
16640 * manual/filesys.texi (telldir): Use braces around return type.
16641 * manual/llio.texi (mmap): Add space after comma.
16642 (mmap64): Likewise.
16643 * manual/math.texi (jn): Use @var{} on parameter names.
16644 (jnf): Likewise.
16645 (jnl): Likewise.
16646 (yn): Likewise.
16647 (ynf): Likewise.
16648 (ynl): Likewise.
16649 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16650 line.
16651 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16652 "...".
16653 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16654 (sched_get_priority_max): Likewise.
16655 * manual/signal.texi (sigvec): Add space after comma.
16656 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16657 names.
16658 (if_indextoname): Likewise.
16659 (if_freenameindex): Likewise.
16660 (sendto): Use ',' instead of '.' in prototype.
16661 * manual/startup.texi (syscall): Use @dots{} instead of literal
16662 "...".
16663 * manual/stdio.texi (__fpending): Separate initial words of
16664 paragraph from @deftypefun line.
16665 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16666 "...".
16667 (vsyslog): Use @var{} on parameter names.
16668 * manual/terminal.texi (stty): Use @var{} on parameter names.
16669 * manual/users.texi (getutmp): Use @var{} on parameter names.
16670 (getutmpx): Likewise.
16671
5b23062f
JM
166722012-02-17 Joseph Myers <joseph@codesourcery.com>
16673
16674 [BZ #6884]
16675 * manual/stdio.texi (fopen): Fix typos in description of
16676 ",ccs=STRING".
16677
8dee4833
AJ
166782012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16679
16680 [BZ #4026]
16681 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16682 get clock_id definition.
16683
9078ce93
TS
166842012-02-17 Thomas Schwinge <thomas@schwinge.name>
16685
16686 [BZ #4822]
16687 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16688 (madvise): Cast every argument to void on its own.
16689
3835c55f
JM
166902012-02-17 Joseph Myers <joseph@codesourcery.com>
16691
16692 [BZ #9902]
16693 * manual/startup.texi (Exit Status): Fix typo.
16694
35c47e37
JM
166952012-02-17 Joseph Myers <joseph@codesourcery.com>
16696
16697 [BZ #10140]
16698 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16699 * manual/examples/argp-ex2.c: Likewise.
16700 * manual/examples/argp-ex3.c: Likewise.
16701
e3b69ca7
RH
167022012-02-16 Richard Henderson <rth@redhat.com>
16703
16704 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16705 * sysdeps/s390/s390-32/initfini.c: Remove.
16706 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16707 * sysdeps/s390/s390-64/initfini.c: Remove.
16708
df83af67
KK
167092012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16710
16711 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16712 compiler output for sysdeps/generic/initfini.c.
16713 * sysdeps/sh/elf/initfini.c: Remove file.
16714
f63f3380
DM
167152012-02-16 David S. Miller <davem@davemloft.net>
16716
fb59b3a4
DM
16717 [BZ #11494]
16718 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16719
f63f3380
DM
16720 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16721 * sysdeps/sparc/crti.S: New file.
16722 * sysdeps/sparc/crtn.S: New file.
16723 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16724 * sysdeps/sparc/sparc64/Makefile: Likewise.
16725
df6a4a4a
MF
167262012-02-15 Mike Frysinger <vapier@gentoo.org>
16727
6dd8f3dc 16728 [BZ #3335]
df6a4a4a
MF
16729 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16730
1cac7236
RM
167312012-02-15 Roland McGrath <roland@hack.frob.com>
16732
d2c736f8
RM
16733 [BZ #4822]
16734 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16735
1cac7236
RM
16736 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16737 (write, read, close): Likewise.
16738 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16739
8e475601
JM
167402012-02-15 Joseph Myers <joseph@codesourcery.com>
16741
16742 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16743 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16744 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16745 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16746 <bits/signalfd.h>.
16747 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16749 bits/signalfd.h.
16750
ed656b40
MP
167512012-02-14 Marek Polacek <polacek@redhat.com>
16752
16753 * sysdeps/x86_64/crti.S: New file.
16754 * sysdeps/x86_64/crtn.S: New file.
16755 * sysdeps/x86_64/elf/initfini.c: Remove file.
16756
2a979d3a
JM
167572012-02-13 Joseph Myers <joseph@codesourcery.com>
16758
16759 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16760 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16761 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16762 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16763 <bits/inotify.h>.
16764 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16766 bits/inotify.h.
16767
2a418ac3
JM
167682012-02-13 Joseph Myers <joseph@codesourcery.com>
16769
16770 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16771 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16772 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16773 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16774 <bits/eventfd.h>.
16775 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16776 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16777 bits/eventfd.h.
16778
fb779be7
TS
167792012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16780
e19e83c5
RM
16781 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16782 __feraiseexcept instead of feraiseexcept.
7c35ffed 16783
fb779be7
TS
16784 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16785 nanosleep invocations.
16786 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16787 strings, and add error checking for a nanosleep invocations.
16788
59ba27a6
PE
167892012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16790
16791 Replace FSF snail mail address with URLs, as per GNU coding standards.
16792 Most of the snail mail addresses were wrong anyway, and omitting
16793 them makes the source code easier to maintain. Almost all of the
16794 changes are to license notices and to locale LC_IDENTIFICATION
16795 addresses, except for this one:
16796 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16797 not its snail mail address.
16798
57b957eb
RH
167992012-02-09 Richard Henderson <rth@twiddle.net>
16800
af850b1c
RH
16801 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16802 of kernel-features.h.
16803
57b957eb
RH
16804 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16805
6b73181a
MP
168062012-02-08 Marek Polacek <polacek@redhat.com>
16807
16808 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16809 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16810 * sysdeps/gnu/_G_config.h: Likewise.
16811 * sysdeps/generic/_G_config.h: Likewise.
16812
26ecc33a
AS
168132012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16814
6c6dbc63
AS
16815 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16816 tests.
16817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16818
e216c012
AS
16819 * sysdeps/powerpc/powerpc32/crti.S: New file.
16820 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16821 * sysdeps/powerpc/powerpc64/crti.S: New file.
16822 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16823
26ecc33a
AS
16824 * Makeconfig (have-initfini): Don't set.
16825 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16826 * configure.in (nopic_initfini): Don't substitute.
16827 * config.h.in (HAVE_INITFINI): Don't #undef.
16828 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16829 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16830
3add8e13
JM
168312012-02-08 Joseph Myers <joseph@codesourcery.com>
16832
16833 Support crti.S and crtn.S provided directly by architectures.
16834 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16835 [crti.S in sysdirs] (omit-deps): Likewise.
16836 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16837 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16838 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16839 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16840 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16841 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16842 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16843 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16844 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16845 compiler output for sysdeps/generic/initfini.c.
16846 * sysdeps/i386/elf/Makefile: Remove file.
16847 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16848
a22f12b4
MP
168492012-02-07 Marek Polacek <polacek@redhat.com>
16850
16851 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16852 * sysdeps/gnu/_G_config.h: Likewise.
16853 * sysdeps/mach/hurd/_G_config.h: Likewise.
16854
148cf100
MP
168552012-02-07 Marek Polacek <polacek@redhat.com>
16856
16857 * math/Makefile (tests): Add tst-CMPLX2.
16858 * math/tst-CMPLX2.c: New file.
16859
cfdc0dd7
AS
168602012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16861
84ba42c4
AS
16862 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16863
cfdc0dd7
AS
16864 * math/libm-test.inc (jn_test): Add missing L suffix.
16865
622c86f4
MP
168662012-02-06 Marek Polacek <polacek@redhat.com>
16867
16868 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16869 * sysdeps/i386/fpu/e_powf.S: Likewise.
16870 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16871 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16872 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16873 * sysdeps/i386/fpu/e_pow.S: Likewise.
16874 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16875 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16876 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16877 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16878 * sysdeps/i386/fpu/e_log2.S: Likewise.
16879 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16880 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16881 * sysdeps/i386/fpu/e_powl.S: Likewise.
16882 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16883 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16884 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16885 * sysdeps/i386/fpu/e_logl.S: Likewise.
16886 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16887 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16888 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16889 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16890 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16891 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16892 * sysdeps/i386/fpu/e_log.S: Likewise.
16893 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16894 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16895 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16896 * sysdeps/i386/fpu/e_logf.S: Likewise.
16897 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16898 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16899 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16900 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16901 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16902 * sysdeps/i386/fpu/e_log10.S: Likewise.
16903 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16904 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16905 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16906 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16907 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16908 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16909 * sysdeps/i386/asm-syntax.h: Likewise.
16910 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16911 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16912 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16913 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16914 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16915 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16916 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16917 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16918 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16919 * sysdeps/powerpc/sysdep.h: Likewise.
16920 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16921 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16922
d4a54ac6
JM
169232012-02-06 Joseph Myers <joseph@codesourcery.com>
16924
16925 [BZ #411]
16926 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16927
314054ea
JM
169282012-02-06 Joseph Myers <joseph@codesourcery.com>
16929
16930 * sysdeps/i386/sysdep.h: Include <features.h>.
16931 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16932 version.
16933
d8e0ca50
JM
169342012-02-05 Joseph Myers <joseph@codesourcery.com>
16935
16936 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16937 Define.
16938 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16939 LOAD_PIC_REG_STR.
16940
b1da7dd9
JM
169412012-02-03 Joseph Myers <joseph@codesourcery.com>
16942
16943 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16944 (SETUP_PIC_REG): Use GET_PC_THUNK.
16945 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16946 macro.
16947
9a1d9254
JM
169482012-02-03 Joseph Myers <joseph@codesourcery.com>
16949
16950 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16951 for non-PIC compilation.
16952 (SETUP_PIC_REG): Add .p2align directive.
16953 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16954 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16955 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16956 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16957 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16958 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16959 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16960 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16961 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16962 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16963 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16964 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16965 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16966 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16967 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16968 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16969 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16970 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16971 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16972 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16973 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16974 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16975 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16976 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16979 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16980 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16981 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16982 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16983 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16984 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16985 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16986 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16987 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16988 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16989 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16990 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16991 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16992 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16993 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16994
65dc3b75
JM
169952012-02-03 Joseph Myers <joseph@codesourcery.com>
16996
16997 * math/tst-CMPLX.c: Include <stdio.h>.
16998
d55bf177
JM
169992012-01-31 Joseph Myers <joseph@codesourcery.com>
17000
17001 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
17002 float.
17003 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17004 * sysdeps/sparc/bits/mathdef.h: Likewise.
17005
69db4f8f
MP
170062012-01-31 Marek Polacek <polacek@redhat.com>
17007
17008 * libio/libio.h: Don't define _PARAMS.
17009 * locale/programs/config.h: Don't define PARAMS.
17010 * stdlib/strtol_l.c: Likewise.
17011 (__strtol_l): Remove PARAMS from the prototype.
17012
41b81892
UD
170132012-01-31 Ulrich Drepper <drepper@gmail.com>
17014
3b49edc0
UD
17015 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
17016 names. Just use the correct names. Remove unnecessary wrapper
17017 functions.
17018 * malloc/arena.c: Likewise.
17019 * malloc/hooks.c: Likewise.
17020
41b81892
UD
17021 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
17022 ARENA_TEST says not to. Simplify test for creation of a new arena.
17023 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
17024
27a25b6e
UD
170252012-01-30 Ulrich Drepper <drepper@gmail.com>
17026
17027 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
17028 into tail calls.
17029 (update_get_addr): New function.
17030 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
17031 GET_ADDR_MODULE parameter.
17032
c8a89e7d
JM
170332012-01-30 Joseph Myers <joseph@codesourcery.com>
17034
17035 * crypt/cert.c: Remove __STDC__ conditionals.
17036 * crypt/crypt-entry.c: Likewise.
17037 * crypt/crypt_util.c: Likewise.
17038 * libio/filedoalloc.c: Likewise.
17039 * libio/fileops.c: Likewise.
17040 * libio/genops.c: Likewise.
17041 * libio/iofclose.c: Likewise.
17042 * libio/iofdopen.c: Likewise.
17043 * libio/iofopen.c: Likewise.
17044 * libio/iofopen64.c: Likewise.
17045 * libio/iogetdelim.c: Likewise.
17046 * libio/iopopen.c: Likewise.
17047 * libio/obprintf.c: Likewise.
17048 * libio/oldfileops.c: Likewise.
17049 * libio/oldiofclose.c: Likewise.
17050 * libio/oldiofdopen.c: Likewise.
17051 * libio/oldiofopen.c: Likewise.
17052 * libio/oldiopopen.c: Likewise.
17053 * libio/wfiledoalloc.c: Likewise.
17054 * libio/wgenops.c: Likewise.
17055 * locale/programs/xmalloc.c: Likewise.
17056 * misc/syslog.c: Likewise.
17057 * stdio-common/xbug.c: Likewise.
17058 * string/memchr.c: Likewise.
17059 * string/memcmp.c: Likewise.
17060 * string/memrchr.c: Likewise.
17061 * string/rawmemchr.c: Likewise.
17062 * sysdeps/posix/getcwd.c: Likewise.
17063 * time/strftime_l.c: Likewise.
17064
3b100462
JM
170652012-01-30 Joseph Myers <joseph@codesourcery.com>
17066
17067 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
17068 * config.make.in (config-cflags-sse2avx): Define.
17069 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
17070 Fix typo.
17071
607998af
CM
170722012-01-29 Chris Metcalf <cmetcalf@tilera.com>
17073
17074 * scripts/config.guess: Update from upstream config git repository.
17075 * scripts/config.sub: Likewise.
17076
3601428f
CM
170772012-01-28 Chris Metcalf <cmetcalf@tilera.com>
17078
3ac8b282
CM
17079 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
17080 (EM_NUM): Update.
17081 (R_TILEPRO_*, R_TILEGX_*): New macros.
17082
e034841e
CM
17083 * scripts/firstversions.awk: Fix bug in version range handling.
17084
540d7568
CM
17085 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
17086
3601428f
CM
17087 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
17088
463de862
CM
17089 * include/sys/epoll.h: New file.
17090 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
17091 libc_hidden_def.
17092
73139a76
UD
170932012-01-28 Ulrich Drepper <drepper@gmail.com>
17094
96bc5b45
UD
17095 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
17096 Avoid unnecessary __WORDSIZE == 64 test.
17097 (fmaxf): Use VEX format if possible.
17098 (fmax): Likewise.
17099 (fminf): Likewise.
17100 (fmin): Likewise.
17101
56f6f6a2
UD
17102 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
17103 * math/math_private.h: Remove libc_fegetround* and
17104 libc_fesetround*.
17105 * sysdeps/i386/configure.in: Check for -msse2avx.
17106 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
17107 also if SSE2AVX is defined.
17108 Remove libc_fegetround* and libc_fesetround*.
17109 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
17110 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
17111 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
17112 of HAS_YMM_USABLE.
17113 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17114 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17115 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17116 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17117 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17118
73139a76
UD
17119 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
17120
d73f93a4
AZ
171212012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17122
17123 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
17124 size is not set.
17125 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17126
6ee65ed6
UD
171272012-01-27 Ulrich Drepper <drepper@gmail.com>
17128
17129 [BZ #13618]
17130 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
17131 relocation.
17132 * Makeconfig (libm): Define.
17133 * elf/Makefile: Add rules to build and run tst-relsort1.
17134 * elf/tst-relsort1.c: New file.
17135 * elf/tst-relsort1mod1.c: New file.
17136 * elf/tst-relsort1mod2.c: New file.
17137
8db21882
JM
171382012-01-27 Joseph Myers <joseph@codesourcery.com>
17139
17140 * math/s_ldexp.c: Remove __STDC__ conditionals.
17141 * math/s_ldexpf.c: Likewise.
17142 * math/s_ldexpl.c: Likewise.
17143 * math/s_nextafter.c: Likewise.
17144 * math/s_nexttowardf.c: Likewise.
17145 * math/s_significand.c: Likewise.
17146 * math/s_significandf.c: Likewise.
17147 * math/s_significandl.c: Likewise.
17148 * math/w_jnl.c: Likewise.
17149 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17150 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17151 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17152 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17153 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17154 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17155 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17157 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17159 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17166 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17167 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17168 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17169 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17170 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17171 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17172 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17173 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17174 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17175 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17176 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17177 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17178 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17179 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17180 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17181 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17182 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17183 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17184 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17185 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17186 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17187 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17188 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17189 * sysdeps/ieee754/k_standard.c: Likewise.
17190 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17191 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17192 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17193 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17194 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17195 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17196 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17197 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17198 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17199 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17200 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17201 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17202 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17203 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17204 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17205 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17206 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17207 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17208 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17209 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17210 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17211 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17212 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17213 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17214 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17215 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17217 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17218 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17219 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17220 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17221 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17222 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17223 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17224 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17225 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17226 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17227 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17228 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17229 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17230 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17232 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17233 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17234 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17235 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17236 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17237 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17238 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17239 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17240 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17241 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17242 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17243 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17244 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17245 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17246 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17247 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17248 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17249 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17250 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17251 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17252 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17253 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17254 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17255 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17256 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17257 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17258 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17259 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17260 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17265 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17269 * sysdeps/ieee754/s_matherr.c: Likewise.
17270 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17271 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17274
965a54a4
JM
172752012-01-26 Joseph Myers <joseph@codesourcery.com>
17276
17277 * crypt/md5.h: Remove __STDC__ conditionals.
17278 * libio/libioP.h: Likewise.
17279 * locale/programs/config.h: Likewise.
17280 * sysdeps/generic/sysdep.h: Likewise.
17281 * sysdeps/i386/asm-syntax.h: Likewise.
17282 * sysdeps/s390/asm-syntax.h: Likewise.
17283 * sysdeps/unix/sysdep.h: Likewise.
17284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17286
7071ad79
JM
172872012-01-26 Joseph Myers <joseph@codesourcery.com>
17288
17289 * libio/libio.h: Remove __STDC__ conditionals.
17290 * malloc/obstack.h: Likewise.
17291 * math/complex.h: Likewise.
17292 * math/math.h: Likewise.
17293 * sysdeps/generic/_G_config.h: Likewise.
17294 * sysdeps/gnu/_G_config.h: Likewise.
17295 * sysdeps/mach/hurd/_G_config.h: Likewise.
17296 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17297 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17298 * sysdeps/sparc/bits/mathdef.h: Likewise.
17299
afc5ed09
UD
173002012-01-26 Ulrich Drepper <drepper@gmail.com>
17301
17302 [BZ #13583]
17303 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17304 Clean up HAS_* macros.
afc5ed09 17305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17306 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17307 possible.
17308 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17309 HAS_AVX.
17310 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17311 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17312 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17313 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17314 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17315
bdb6de1d
JM
173162012-01-25 Joseph Myers <joseph@codesourcery.com>
17317
17318 * elf/tst-unique3.cc (gets): Remove declaration.
17319 * elf/tst-unique3lib.cc (gets): Likewise.
17320 * elf/tst-unique3lib2.cc (gets): Likewise.
17321 * elf/tst-unique4.cc (gets): Likewise.
17322
b15549e6
UD
173232012-01-24 Ulrich Drepper <drepper@gmail.com>
17324
17325 * include/stdio.h: Add C++ protection. Add gets declarations and
17326 definitions.
17327 * debug/tst-chk1.c: Don't declare gets here.
17328 * stdio-common/tst-gets.c: Likewise.
17329
a037381f
JM
173302012-01-24 Joseph Myers <joseph@codesourcery.com>
17331
17332 * posix/glob: Remove directory.
17333
f1d4aa75
JM
173342012-01-24 Joseph Myers <joseph@codesourcery.com>
17335
17336 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17337
81c0c964
PT
173382012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17339
17340 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17341 of the non-standard EPFNOSUPPORT.
17342
0ea698ae
ST
173432011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17344
17345 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17346 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17347 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17348
d220b117
UD
173492012-01-21 Ulrich Drepper <drepper@gmail.com>
17350
17351 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17352
3e1aa84e
UD
173532012-01-20 Ulrich Drepper <drepper@gmail.com>
17354
17355 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17356 transient errors.
17357 * nscd/grpcache.c (cache_addgr): Likewise.
17358 * nscd/hstcache.c (cache_addhst): Likewise.
17359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17360 * nscd/pwdcache.c (cache_addpw): Likewise.
17361 * nscd/servicescache.c (cache_addserv): Likewise.
17362
400aa020
UD
173632012-01-16 Ulrich Drepper <drepper@gmail.com>
17364
d77e7869
UD
17365 * malloc/malloc.c: Various cleanups.
17366 * malloc/hooks.c: Likewise.
17367
400aa020
UD
17368 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17369 * stdlib/bug-fmtmsg1.c: New file.
17370
17371 * stdlib/fmtmsg.c (init): Add missing unlock.
17372 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17373
e0a309cf
MP
173742012-01-12 Marek Polacek <polacek@redhat.com>
17375
17376 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17377 and _GNU_SOURCE.
17378
929d11c7
WS
173792012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17380
17381 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17382 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17383 macro to ensure uniqueness of label name.
17384 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17385 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17386
41d0e869
UD
173872012-01-11 Ulrich Drepper <drepper@gmail.com>
17388
0cc5ed3b
UD
17389 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17390
41d0e869
UD
17391 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17392 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17393 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17395
a47a831a
UD
173962012-01-10 Ulrich Drepper <drepper@gmail.com>
17397
daa891c0
UD
17398 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17399
17400 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17401 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17402 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17403
e58ef0f2
UD
17404 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17405
a47a831a 17406 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17407 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17408 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17409 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17410
17411 * math/bits/math-finite.h: Add ldexp support.
17412
a0bfc9c7
MP
174132012-01-10 Marek Polacek <polacek@redhat.com>
17414
17415 * locale/programs/localedef.h (show_archive_content): Add noreturn
17416 attribute.
17417
d6e97a1d
UD
174182012-01-09 Ulrich Drepper <drepper@gmail.com>
17419
17420 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17421
d5835c26
UD
174222012-01-08 Ulrich Drepper <drepper@gmail.com>
17423
e5f484c6
UD
17424 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17425
d5835c26
UD
17426 * io/Makefile (headers): Add bits/poll2.h.
17427
d1f741e9
WS
174282011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17429
17430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17431 typo #include statement.
17432
ec09c1c4
UD
174332012-01-08 Ulrich Drepper <drepper@gmail.com>
17434
17435 * include/sys/cdefs.h: Define __attribute_alloc_size.
17436 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17437 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17438 * elf/pldd.c: Likewise.
17439 * iconv/iconv_charmap.c: Likewise.
17440 * iconv/iconvconfig.c: Likewise.
17441 * iconv/strtab.c: Likewise.
17442 * locale/programs/locale.c: Likewise.
17443 * locale/programs/localedef.h: Likewise.
17444 * locale/programs/simple-hash.c: Likewise.
17445 * nscd/nscd.h: Likewise.
17446 * nss/makedb.c: Likewise.
17447 * sysdeps/generic/ldconfig.h: Likewise.
17448 * locale/programs/localedef.c: Remove xmalloc prototype.
17449 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17450
20b38e03
PP
174512012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17452
17453 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17454 appropriate.
17455
a0da5fe1
UD
174562012-01-08 Ulrich Drepper <drepper@gmail.com>
17457
1d5a644a 17458 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17459 * math/tst-CMPLX.c: New file.
1d5a644a 17460
8784a6db
UD
17461 * math/complex.h (CMPLXL): Fix typo.
17462
d9a216c0
UD
17463 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17464 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17465 GLIBC_2.16.
17466 * debug/tst-chk1.c: Add poll and ppoll tests.
17467 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17468 * include/sys/poll.h: Add hidden proto for ppoll.
17469 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17470 * sysdeps/mach/hurd/ppoll.c: Likewise.
17471 * io/ppoll.c: Likewise.
17472 * debug/poll_chk.c: New file.
17473 * debug/ppoll_chk.c: New file.
17474 * include/bits/poll2.h: New file.
17475 * io/bits/poll2.h: New file.
17476
ac097f5c
UD
17477 [BZ #1350]
17478 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17479
2119dcfa
UD
17480 * configure.in: static is always set to yes. Remove.
17481 * config.make.in: Don't set build-static.
17482 * Makeconfig: Remove use of build-static.
17483 * dlfcn/Makefile: Likewise.
17484 * elf/Makefile: Likewise.
17485 * math/Makefile: Likewise.
17486 * misc/Makefile: Likewise.
17487 * nptl/Makefile: Likewise.
17488 * sysdeps/mach/hurd/Makefile: Likewise.
17489
121766a9
UD
17490 * configure.in: PWD_P is not used anymore.
17491 * config.make.in: Remove PWD_P entry.
17492
51a1d39c 17493 * configure.in: Remove last remnants of RANLIB.
8720d066 17494 No need to check for signed size_t anymore.
215f4bdc
UD
17495 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17496 and IA-64.
3857022a 17497 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17498 * aclocal.m4: Likewise.
17499
d3ed7225
UD
17500 * wcsmbs/mbrtoc16.c: Implement using towc function.
17501 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17502 * wcsmbs/wcsmbsload.c: Likewise.
17503 * iconv/gconv_simple.c: Likewise.
17504 * iconv/gconv_int.h: Likewise.
17505 * iconv/gconv_builtin.h: Likewise.
17506 * iconv/iconv_prog.c: Remove CHAR16 handling.
17507
17508 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17509
17510 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17511
a0da5fe1
UD
17512 * configure.in: Remove --with-elf and --enable-bounded options.
17513 Dont set base_machine for ia64. More non-ELF conditions removed.
17514 Remove testing and setting of leading underscore information.
17515 * config.make.in (build-bounded): Set to no.
17516 * config.h.in: Remove NO_UNDERSCORES entry.
17517 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17518 them.
17519 * csu/start.c: Remove !NO_UNDERSCORE code.
17520 * locale/localeinfo.h: Likewise.
17521 * sysdeps/generic/machine-gmon.h: Likewise.
17522 * sysdeps/generic/sysdep.h: Likewise.
17523 * sysdeps/i386/sysdep.h: Likewise.
17524 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17525 * sysdeps/mach/sysdep.h: Likewise.
17526 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17527 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17528 * sysdeps/sh/sysdep.h: Likewise.
17529 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17530 * sysdeps/unix/i386/sysdep.S: Likewise.
17531 * sysdeps/unix/sparc/start.c: Likewise.
17532 * sysdeps/unix/sparc/sysdep.S: Likewise.
17533 * sysdeps/unix/sparc/sysdep.h: Likewise.
17534 * sysdeps/unix/start.c: Likewise.
17535 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17536 * sysdeps/x86_64/sysdep.h: Likewise.
17537
df78418a
UD
175382012-01-07 Ulrich Drepper <drepper@gmail.com>
17539
a784e502
UD
17540 [BZ #13553]
17541 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17542 for non-gcc.
17543 * argp/argp-fmtstream.h: Use const instead __const.
17544 * argp/argp.h: Likewise.
17545 * assert/assert.h: Likewise.
17546 * bits/fenv.h: Likewise.
17547 * bits/sched.h: Likewise.
17548 * bits/sigset.h: Likewise.
17549 * bits/sigthread.h: Likewise.
17550 * catgets/nl_types.h: Likewise.
17551 * conform/data/pthread.h-data: Likewise.
17552 * crypt/crypt-private.h: Likewise.
17553 * crypt/crypt.h: Likewise.
17554 * crypt/crypt_util.c: Likewise.
17555 * ctype/ctype.h: Likewise.
17556 * debug/execinfo.h: Likewise.
17557 * debug/mbsnrtowcs_chk.c: Likewise.
17558 * debug/mbsrtowcs_chk.c: Likewise.
17559 * debug/wcsnrtombs_chk.c: Likewise.
17560 * debug/wcsrtombs_chk.c: Likewise.
17561 * debug/wcstombs_chk.c: Likewise.
17562 * dirent/dirent.h: Likewise.
17563 * dlfcn/dlfcn.h: Likewise.
17564 * elf/neededtest4.c: Likewise.
17565 * grp/grp.h: Likewise.
17566 * gshadow/gshadow.h: Likewise.
17567 * iconv/gconv.h: Likewise.
17568 * iconv/gconv_int.h: Likewise.
17569 * iconv/gconv_simple.c: Likewise.
17570 * iconv/iconv.h: Likewise.
17571 * iconv/loop.c: Likewise.
17572 * iconv/skeleton.c: Likewise.
17573 * include/aio.h: Likewise.
17574 * include/aliases.h: Likewise.
17575 * include/argz.h: Likewise.
17576 * include/arpa/inet.h: Likewise.
17577 * include/assert.h: Likewise.
17578 * include/dirent.h: Likewise.
17579 * include/dlfcn.h: Likewise.
17580 * include/execinfo.h: Likewise.
17581 * include/fcntl.h: Likewise.
17582 * include/fenv.h: Likewise.
17583 * include/glob.h: Likewise.
17584 * include/grp.h: Likewise.
17585 * include/libintl.h: Likewise.
17586 * include/mntent.h: Likewise.
17587 * include/netdb.h: Likewise.
17588 * include/pwd.h: Likewise.
17589 * include/rpc/netdb.h: Likewise.
17590 * include/sched.h: Likewise.
17591 * include/search.h: Likewise.
17592 * include/shadow.h: Likewise.
17593 * include/signal.h: Likewise.
17594 * include/stdio.h: Likewise.
17595 * include/stdlib.h: Likewise.
17596 * include/string.h: Likewise.
17597 * include/sys/socket.h: Likewise.
17598 * include/sys/stat.h: Likewise.
17599 * include/sys/statfs.h: Likewise.
17600 * include/sys/statvfs.h: Likewise.
17601 * include/sys/syslog.h: Likewise.
17602 * include/sys/time.h: Likewise.
17603 * include/sys/uio.h: Likewise.
17604 * include/time.h: Likewise.
17605 * include/unistd.h: Likewise.
17606 * include/utmp.h: Likewise.
17607 * include/wchar.h: Likewise.
17608 * include/wctype.h: Likewise.
17609 * inet/aliases.h: Likewise.
17610 * inet/arpa/inet.h: Likewise.
17611 * inet/netinet/ether.h: Likewise.
17612 * inet/netinet/in.h: Likewise.
17613 * intl/libintl.h: Likewise.
17614 * io/bits/fcntl2.h: Likewise.
17615 * io/fcntl.h: Likewise.
17616 * io/ftw.h: Likewise.
17617 * io/sys/poll.h: Likewise.
17618 * io/sys/stat.h: Likewise.
17619 * io/sys/statfs.h: Likewise.
17620 * io/sys/statvfs.h: Likewise.
17621 * io/utime.h: Likewise.
17622 * libio/bits/stdio.h: Likewise.
17623 * libio/bits/stdio2.h: Likewise.
17624 * libio/libio.h: Likewise.
17625 * libio/libioP.h: Likewise.
17626 * libio/stdio.h: Likewise.
17627 * locale/lc-ctype.c: Likewise.
17628 * locale/locale.h: Likewise.
17629 * login/utmp.h: Likewise.
17630 * malloc/arena.c: Likewise.
17631 * malloc/malloc.c: Likewise.
17632 * malloc/malloc.h: Likewise.
17633 * malloc/mcheck.c: Likewise.
17634 * malloc/mtrace.c: Likewise.
17635 * math/bits/mathcalls.h: Likewise.
17636 * math/fenv.h: Likewise.
17637 * math/math_private.h: Likewise.
17638 * misc/bits/error.h: Likewise.
17639 * misc/bits/syslog.h: Likewise.
17640 * misc/err.h: Likewise.
17641 * misc/error.h: Likewise.
17642 * misc/fstab.h: Likewise.
17643 * misc/mntent.h: Likewise.
17644 * misc/regexp.h: Likewise.
17645 * misc/search.h: Likewise.
17646 * misc/sgtty.h: Likewise.
17647 * misc/sys/mman.h: Likewise.
17648 * misc/sys/syslog.h: Likewise.
17649 * misc/sys/uio.h: Likewise.
17650 * misc/sys/xattr.h: Likewise.
17651 * misc/ttyent.h: Likewise.
17652 * nis/rpcsvc/ypclnt.h: Likewise.
17653 * nss/nss.h: Likewise.
17654 * posix/bits/unistd.h: Likewise.
17655 * posix/fnmatch.h: Likewise.
17656 * posix/glob.h: Likewise.
17657 * posix/sched.h: Likewise.
17658 * posix/spawn.h: Likewise.
17659 * posix/sys/wait.h: Likewise.
17660 * posix/unistd.h: Likewise.
17661 * posix/wordexp.h: Likewise.
17662 * pwd/pwd.h: Likewise.
17663 * resolv/netdb.h: Likewise.
17664 * resource/sys/resource.h: Likewise.
17665 * rt/aio.h: Likewise.
17666 * rt/bits/mqueue2.h: Likewise.
17667 * rt/mqueue.h: Likewise.
17668 * shadow/shadow.h: Likewise.
17669 * signal/signal.h: Likewise.
17670 * socket/send.c: Likewise.
17671 * socket/sendto.c: Likewise.
17672 * socket/sys/socket.h: Likewise.
17673 * stdio-common/printf.h: Likewise.
17674 * stdlib/bits/stdlib.h: Likewise.
17675 * stdlib/fmtmsg.h: Likewise.
17676 * stdlib/monetary.h: Likewise.
17677 * stdlib/stdlib.h: Likewise.
17678 * stdlib/ucontext.h: Likewise.
17679 * streams/stropts.h: Likewise.
17680 * string/argz.h: Likewise.
17681 * string/bits/string2.h: Likewise.
17682 * string/string.h: Likewise.
17683 * string/strings.h: Likewise.
17684 * sunrpc/rpc/auth.h: Likewise.
17685 * sunrpc/rpc/auth_des.h: Likewise.
17686 * sunrpc/rpc/clnt.h: Likewise.
17687 * sunrpc/rpc/netdb.h: Likewise.
17688 * sunrpc/rpc/pmap_clnt.h: Likewise.
17689 * sunrpc/rpc/xdr.h: Likewise.
17690 * sysdeps/generic/inttypes.h: Likewise.
17691 * sysdeps/generic/net/if.h: Likewise.
17692 * sysdeps/generic/sys/swap.h: Likewise.
17693 * sysdeps/gnu/net/if.h: Likewise.
17694 * sysdeps/gnu/utmpx.h: Likewise.
17695 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17696 * sysdeps/i386/i486/bits/string.h: Likewise.
17697 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17698 * sysdeps/s390/bits/string.h: Likewise.
17699 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17700 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17701 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17702 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17703 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17704 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17705 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17706 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17707 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17708 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17709 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17710 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17711 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17712 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17713 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17714 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17715 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17716 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17717 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17719 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17720 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17721 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17722 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17723 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17724 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17725 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17726 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17727 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17729 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17730 * sysvipc/sys/ipc.h: Likewise.
17731 * sysvipc/sys/msg.h: Likewise.
17732 * sysvipc/sys/sem.h: Likewise.
17733 * sysvipc/sys/shm.h: Likewise.
17734 * termios/termios.h: Likewise.
17735 * time/sys/time.h: Likewise.
17736 * time/time.h: Likewise.
17737 * wcsmbs/bits/wchar2.h: Likewise.
17738 * wcsmbs/uchar.h: Likewise.
17739 * wcsmbs/wchar.h: Likewise.
17740 * wctype/wctype.h: Likewise.
17741
0269750c
UD
17742 [BZ #13551]
17743 * Makeconfig: Remove all but ELF support including AIX support.
17744 * Makerules: Likewise.
17745 * config.h.in: Likewise.
17746 * config.make.in: Likewise.
17747 * configure: Likewise.
17748 * configure.in: Likewise.
17749 * csu/Makefile: Likewise.
17750 * csu/version.c: Likewise.
17751 * debug/Makefile: Likewise.
17752 * dlfcn/Makefile: Likewise.
17753 * elf/Makefile: Likewise.
17754 * extra-lib.mk: Likewise.
17755 * iconv/Makefile: Likewise.
17756 * include/libc-symbols.h: Likewise.
17757 * include/shlib-compat.h: Likewise.
17758 * resolv/Makefile: Likewise.
17759 * resolv/res_libc.c: Likewise.
17760 * rt/Makefile: Likewise.
17761 * sysdeps/i386/asm-syntax.h: Likewise.
17762 * sysdeps/i386/sysdep.h: Likewise.
17763 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17764 * sysdeps/mach/sysdep.h: Likewise.
17765 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17766 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17767 * sysdeps/s390/asm-syntax.h: Likewise.
17768 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17769 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17770 * sysdeps/sh/sysdep.h: Likewise.
17771 * sysdeps/unix/sparc/sysdep.h: Likewise.
17772 * sysdeps/wordsize-32/divdi3.c: Likewise.
17773 * sysdeps/x86_64/sysdep.h: Likewise.
17774
00bbd29b
UD
17775 * argp/Versions: Remove _argp_unlock_xxx.
17776
17777 [BZ #13559]
17778 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17779 * abilist/libBrokenLocale.abilist: Likewise.
17780 * abilist/libanl.abilist: Likewise.
17781 * abilist/libc.abilist: Likewise.
17782 * abilist/libcrypt.abilist: Likewise.
17783 * abilist/libdl.abilist: Likewise.
17784 * abilist/libm.abilist: Likewise.
17785 * abilist/libnsl.abilist: Likewise.
17786 * abilist/libpthread.abilist: Likewise.
17787 * abilist/libresolv.abilist: Likewise.
17788 * abilist/librt.abilist: Likewise.
17789 * abilist/libthread_db.abilist: Likewise.
17790 * abilist/libutil.abilist: Likewise.
17791 * abilist/libnss_db.abilist: New file.
17792
17793 * scripts/abilist.awk: Add support for indirect functions.
17794
a2693a0e
UD
17795 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17796
3f05895f
UD
17797 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17798
ecb6fb48
UD
17799 * shlib-versions: Remove entries for ports architectures.
17800
664f8cb9
UD
17801 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17802 files in ports.
17803 * elf/stackguard-macros.h: Remove support for IA-64.
17804 * elf/tst-auditmod1.c: Likewise.
17805 * sysdeps/generic/ldsodefs.h: Likewise.
17806
7ae81d88
UD
17807 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17808 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17809 configure files.
17810
bdeba135
UD
17811 [BZ #13552]
17812 * configure.in: Remove --enable-omitfp support.
17813 * FAQ.in: Adjust.
17814 * config.make.in: Likewise.
17815 * Makeconfig: Likewise.
17816 * manual/install.texi: Likewise.
17817
d75a0a62
UD
17818 In case anyone cares, the IA-64 architecture could move to ports.
17819 * sysdeps/ia64/*: Removed.
17820 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17821 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17822
dcc9756b
UD
17823 [BZ #13555]
17824 * configure.in: Remove entries for unsupported architectures.
17825
d3761ebc 17826 [BZ #13533]
9954432e
UD
17827 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17828 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17829 routines.
17830 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17831 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17832 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17833 fall back to using wcrtomb.
17834 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17835 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17836 renaming.
17837 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17838 * wcsmbs/tst-c16c32-1.c: New file.
17839
17840 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17841 local variable.
17842
c3a87236
UD
17843 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17844
28926a1b
UD
17845 * elf/tst-unique3.cc: Add explicit declaration of gets.
17846 * elf/tst-unique3lib.cc: Likewise.
17847 * elf/tst-unique3lib2.cc: Likewise.
17848 * elf/tst-unique4.cc: Likewise.
17849
df78418a
UD
17850 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17851
8ecd6b2a
JM
178522012-01-06 Joseph Myers <joseph@codesourcery.com>
17853
17854 [BZ #13566]
17855 * assert/assert.h (static_assert): Don't define for C++.
17856 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17857 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17858
9f115170
UD
178592012-01-03 Ulrich Drepper <drepper@gmail.com>
17860
5e0d0300
UD
17861 * iconv/loop.c (single loop): Fix assertion in storing of
17862 remaining bytes.
17863
9f115170
UD
17864 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17865
81fb02b0
UD
178662012-01-01 Ulrich Drepper <drepper@gmail.com>
17867
17868 * posix/getconf.c: Update copyright year.
17869 * nss/getent.c: Likewise.
a316c1f6 17870 * nss/makedb.c: Likewise.
81fb02b0
UD
17871 * iconv/iconvconfig.c: Likewise.
17872 * iconv/iconv_prog.c: Likewise.
17873 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17874 * elf/pldd.c: Likewise.
17875 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17876 * catgets/gencat.c: Likewise.
17877 * csu/version.c: Likewise.
17878 * elf/ldd.bash.in: Likewise.
17879 * elf/sprof.c (print_version): Likewise.
17880 * locale/programs/locale.c: Likewise.
17881 * locale/programs/localedef.c: Likewise.
a316c1f6 17882 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17883 * nscd/nscd.c (print_version): Likewise.
17884 * debug/xtrace.sh: Likewise.
17885 * malloc/memusage.sh: Likewise.
17886 * malloc/mtrace.pl: Likewise.
17887 * debug/catchsegv.sh: Likewise.
17888
2ba92745
JJ
178892011-12-30 Jakub Jelinek <jakub@redhat.com>
17890
17891 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17892 pure attribute.
17893
dadebdae
UD
178942011-12-24 Ulrich Drepper <drepper@gmail.com>
17895
d3761ebc 17896 [BZ #13533]
db6af3eb
UD
17897 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17898 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17899 transformations.
17900 * iconv/gconv_int.h: Likewise.
17901 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17902 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17903 from libc for GLIBC_2.16.
17904 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17905 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17906 * wcsmbs/uchar.h: Really define mbstate_t.
17907 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17908 * wcsmbs/c16rtomb.c: New file.
17909 * wcsmbs/mbrtoc16.c: New file.
17910 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17911 for C/POSIX locale.
17912 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17913 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17914
dadebdae
UD
17915 * wcsmbs/wchar.h: Add missing __restrict.
17916
67371b56
UD
179172011-12-23 Ulrich Drepper <drepper@gmail.com>
17918
74033a25
UD
17919 [BZ #13532]
17920 * time/Makefile (routines): Add timespec_get.
17921 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17922 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17923 timespec for ISO C11.
17924 * time/timespec_get.c: New file.
17925 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17926 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17927
380d7e87
UD
17928 [BZ #13531]
17929 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17930 * stdlib/stdlib.h: Declare aligned_alloc.
17931 * Versions.def: Add GLIBC_2.16 for libc.
17932 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17933
4e9e7a35
UD
17934 [BZ 13527]
17935 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17936 ISO C11.
17937
380d7e87 17938 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17939 code.
17940
03a71829
UD
17941 [BZ #13528]
17942 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17943
839e283e
UD
17944 [BZ #13529]
17945 * assert/assert.h (static_assert): Define.
17946
ce5294e2 17947 * version.h: Update for 2.16 development version.
90fa7312 17948
8d44e150 17949 [BZ #13526]
d7809905
UD
17950 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17951 _ISOC11_SOURCE.
17952
c0da14cd
UD
17953 * version.h (RELEASE): Bump for 2.15 release.
17954 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17955
530a3249
MP
17956 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17957 Patch by Marek Polacek <mpolacek@redhat.com>.
17958
67371b56
UD
17959 * bits/byteswap.h: Protect long long constants with __extension__.
17960 * sysdeps/i386/bits/byteswap.h: Likewise.
17961 * sysdeps/ia64/bits/byteswap.h: Likewise.
17962 * sysdeps/s390/bits/byteswap.h: Likewise.
17963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17964
15db4de1
LD
179652011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17966
17967 [BZ #13540]
bbe315ea
LD
17968 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17969 destination buffer.
15db4de1
LD
17970 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17971
2b2596b1
MP
179722011-12-23 Marek Polacek <polacek@redhat.com>
17973
17974 * elf/dl-addr.c (determine_info): Add inline keyword.
17975 * elf/tst-auditmod4b.c (check_avx): Likewise.
17976 * elf/tst-auditmod6b.c (check_avx): Likewise.
17977 * elf/tst-auditmod6c.c (check_avx): Likewise.
17978 * elf/tst-auditmod7b.c (check_avx): Likewise.
17979
70c6c246
UD
179802011-12-23 Ulrich Drepper <drepper@gmail.com>
17981
17982 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17983 !__SSE_MATH__.
17984
c044cf14
LD
179852011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17986
15db4de1 17987 [BZ #13540]
c044cf14
LD
17988 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17989 processing for last bytes.
17990
6b13d9d9
BH
179912011-08-06 Bruno Haible <bruno@clisp.org>
17992
d455f537
BH
17993 [BZ #13061]
17994 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17995 U+0385, not to U+1FEE.
17996
6b13d9d9
BH
17997 [BZ #13062]
17998 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17999 entry for U+00A5 U+0301.
18000
db910efd
UD
180012011-12-22 Ulrich Drepper <drepper@gmail.com>
18002
27deeafc
UD
18003 [BZ #13166]
18004 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
18005 buffer for the output is too small.
18006
aed9d171
UD
18007 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
18008 optimization.
18009
db910efd
UD
18010 [BZ #13185]
18011 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
18012 SSE flags if possible.
18013
2bd779ae
LD
180142011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18015
e7f9dac3 18016 [BZ #13540]
2bd779ae
LD
18017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
18018 processing for last bytes.
18019
154bfc16
JM
180202011-12-22 Joseph Myers <joseph@codesourcery.com>
18021
18022 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
18023 (syscall-list-default-options, syscall-list-default-condition)
18024 (syscall-list-includes): Define.
18025 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
18026 list of ABIs and options and #if conditions for each ABI. Do not
18027 handle common syscalls between ABIs specially.
18028 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
18029 Remove.
18030 (syscall-list-variants, syscall-list-32bit-options)
18031 (syscall-list-32bit-condition, syscall-list-64bit-options)
18032 (syscall-list-64bit-condition): Define.
18033 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
18034 (syscall-list-variants, syscall-list-32bit-options)
18035 (syscall-list-32bit-condition, syscall-list-64bit-options)
18036 (syscall-list-64bit-condition): Define.
18037 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
18038 Remove.
18039 (syscall-list-variants, syscall-list-32bit-options)
18040 (syscall-list-32bit-condition, syscall-list-64bit-options)
18041 (syscall-list-64bit-condition): Define.
18042 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
18043 Remove.
18044 (syscall-list-variants, syscall-list-32bit-options)
18045 (syscall-list-32bit-condition, syscall-list-64bit-options)
18046 (syscall-list-64bit-condition): Define.
18047
21eaf3a5
UD
180482011-12-22 Ulrich Drepper <drepper@gmail.com>
18049
16c6f992
UD
18050 * locale/iso-639.def: Add brx entry.
18051
41043168
UD
18052 [BZ #13328]
18053 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
18054 Proposed by Mariusz_Cukr <marcukr@op.pl>.
18055
21eaf3a5
UD
18056 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
18057 __feraiseexcept_renamed.
18058
e3a851a2
UD
180592011-12-21 Ulrich Drepper <drepper@gmail.com>
18060
4920765e
UD
18061 [BZ #13538]
18062 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
18063 EPOLLET with unsigned values.
18064 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18065 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
18066
e3a851a2
UD
18067 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
18068 to large cancellation.
18069 * math/s_cacoshf.c: Likewise.
18070 * math/s_cacoshl.c: Likewise.
18071
b27e24b8
RK
180722011-11-18 Richard B. Kreckel <kreckel@ginac.de>
18073
18074 [BZ #13305]
aebefeee 18075 [BZ #12786]
b27e24b8
RK
18076 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
18077 * math/s_cacoshf.c: Likewise.
18078 * math/s_cacoshl.c: Likewise.
18079
ee190f67
UD
180802011-12-21 Ulrich Drepper <drepper@gmail.com>
18081
18082 [BZ #13439]
18083 * iconv/gconv.h: Define __GCONV_SWAP.
18084 * iconvdata/unicode.c: The swap bit must be stored in __flags.
18085 * iconvdata/utf-16.c: Likewise.
18086 * iconvdata/utf-32.c: Likewise.
18087
707f25df
AS
180882011-12-21 Andreas Schwab <schwab@linux-m68k.org>
18089
18090 [BZ #13524]
18091 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
18092 numerator after shifting it by one limb.
18093
d2daaa1e
RÁE
180942011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
18095
18096 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
18097 under [__USE_EXTERN_INLINES].
18098
a4647e72
UD
180992011-12-17 Ulrich Drepper <drepper@gmail.com>
18100
18101 [BZ #13446]
18102 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
18103
f0b264f1
AZ
181042011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18105
18106 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
18107 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
18108 optimized code.
18109 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
18110 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
18111 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
18112 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
18113 for strncasecmp/strncasecmp_l compilation.
18114 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
18115 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
18116
8ef4f244
MP
181172011-12-08 Marek Polacek <mpolacek@redhat.com>
18118
18119 [BZ #13484]
18120 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
18121 of __asm__.
18122
97ac2654
UD
181232011-12-17 Ulrich Drepper <drepper@gmail.com>
18124
18125 [BZ #13506]
18126 * time/tzfile.c (__tzfile_read): Check values from file header.
18127
91d2a845
WS
181282011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
18129
18130 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
18131 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
18132 * powerpc/powerpc32/dl-start.S: Likewise.
18133 * powerpc/powerpc32/elf/start.S: Likewise.
18134 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18135 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
18136 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
18137 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
18138 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18139 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
18140 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
18141 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18142 * powerpc/powerpc32/fpu/s_round.S: Likewise.
18143 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18144 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18145 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18146 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18147 * powerpc/powerpc32/memset.S: Likewise.
18148 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18149 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18150 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18151 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18152 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18153 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18154 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18155 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18156 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
18157 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
18158 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
18159 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
18160 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18161
a1267ba1
AZ
181622011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18163
18164 * math/libm-test.inc: Added more nearbyint tests.
18165 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18166 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18167 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18168 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18169
ad8ac1bd
RL
181702011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18171
18172 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18173 FD_CLOEXEC.
18174
1d3e4b61
UD
181752011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18176
18177 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18178 Add wcscpy-ssse3 wcscpy-c.
18179 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18180 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18181 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18182 * sysdeps/x86_64/wcschr.S: New file.
18183 * sysdeps/x86_64/wcsrchr.S: New file.
18184 * string/test-strcmp.c: Remove checking of wcscmp function for
18185 wrong alignments.
18186 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18187 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18188 wcsrchr-sse2 wcsrchr-c.
18189 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18190 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18191 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18192 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18193 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18194 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18195 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18196 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18197 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18198 * wcsmbc/wcschr.c (WCSCHR): New macro.
18199
5b330a2d
UD
182002011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18201
18202 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18203 * wcsmbs/test-wcsrchr.c: New file.
18204 * string/test-strrchr.c: Add wcsrchr support.
18205 (WIDE): New macro.
18206 * wcsmbs/test-wcscpy.c: New file.
18207 * string/test-strcpy.c: Add wcscpy support.
18208 (WIDE): New macro.
26428b7c 18209
f039c043
UD
182102011-12-10 Ulrich Drepper <drepper@gmail.com>
18211
18212 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18213 the inner loop.
18214
850fb039
AS
182152011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18216
18217 [BZ #13472]
18218 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18219
4efbd5cb
UD
182202011-12-04 Ulrich Drepper <drepper@gmail.com>
18221
52ff5dd0 18222 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18223 Minor optimizations.
52ff5dd0 18224
4efbd5cb
UD
18225 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18226 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18227 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18228
8a426e12
UD
182292011-12-03 Ulrich Drepper <drepper@gmail.com>
18230
aff2453d
UD
18231 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18232 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18233 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18234 for gcc to avoid warnings.
18235 * inet/Makefile (tests): Add tst-checks.
18236 * inet/tst-checks.c: New file.
18237
18238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18239 warning.
18240
18241 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18242 __wmemcmp_sse2.
18243
18244 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18245 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18246
8a426e12
UD
18247 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18248
9bea3473
UD
182492011-12-02 Ulrich Drepper <drepper@gmail.com>
18250
3a965496
UD
18251 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18252 problem.
18253
9bea3473
UD
18254 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18255
f101631b
UD
182562011-11-29 Joseph Myers <joseph@codesourcery.com>
18257
18258 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18259 conditional on GCC version.
18260 (__arch_compare_and_exchange_val_8_acq)
18261 (__arch_compare_and_exchange_val_16_acq)
18262 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18263 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18264 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18265
a98275aa
UD
182662011-12-02 Joseph Myers <joseph@codesourcery.com>
18267
18268 * sysdeps/sh/backtrace.c: New file.
18269
d4cc29a2
AS
182702011-12-02 Andreas Schwab <schwab@redhat.com>
18271
18272 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18273 parenthesis.
18274
6257af2d
AS
182752011-12-01 Andreas Schwab <schwab@redhat.com>
18276
18277 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18278 falling back to utime.
18279
b5f44c1a
AS
182802011-11-30 Andreas Schwab <schwab@redhat.com>
18281
18282 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18283 expectations for float.
18284
f3a6cc0a
AS
182852011-11-29 Andreas Schwab <schwab@redhat.com>
18286
18287 * locale/weight.h (findidx): Add parameter len.
18288 * locale/weightwc.h (findidx): Likewise.
18289 * posix/fnmatch_loop.c (FCT): Adjust caller.
18290 * posix/regcomp.c (build_equiv_class): Likewise.
18291 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18292 * posix/regexec.c (check_node_accept_bytes): Likewise.
18293 * string/strcoll_l.c (STRCOLL): Likewise.
18294 * string/strxfrm_l.c (STRXFRM): Likewise.
18295
9d65ea3a
UD
182962011-11-17 Ulrich Drepper <drepper@gmail.com>
18297
18298 * Makefile.in: Remove CVSOPT handling.
18299 * configure.in: Remove use of AC_REVISION.
18300 * iconvdata/Makefile (distribute): No need to filter out CVS.
18301 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18302 handling.
18303
5583a086
AS
183042011-11-16 Andreas Schwab <schwab@redhat.com>
18305
18306 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18307 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18308 [USE_AS_STRNCASECMP_L]: Likewise.
18309 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18310 NO_TLS_DIRECT_SEG_REFS.
18311 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18312 Fix argument offsets for non-PIC.
18313 [USE_AS_STRNCASECMP_L]: Likewise.
18314 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18315 NO_TLS_DIRECT_SEG_REFS.
18316
d62a8200
UD
183172011-11-15 Ulrich Drepper <drepper@gmail.com>
18318
9d65ea3a 18319 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18320 O_CLOEXEC.
18321 * locale/loadlocale.c (_nl_load_locale): Likewise.
18322
09f93bd3
AS
183232011-11-15 Andreas Schwab <schwab@redhat.com>
18324
446514f9
AS
18325 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18326 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18327 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18328 (SYSCALL_GETTIME): Set errno on error.
18329
09f93bd3
AS
18330 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18331 count references to noai6ai_cached.
18332
312be3f9
UD
183332011-11-15 Ulrich Drepper <drepper@gmail.com>
18334
18335 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18336
18337 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18338 FD_CLOEXEC for /proc/self/maps.
18339
18340 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18341 FD_CLOEXEC for /proc/meminfo.
18342
18343 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18344 gai.conf.
18345
18346 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18347 FD_CLOEXEC for given file.
18348
18349 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18350
18351 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18352 FD_CLOEXEC for /etc/hosts.
18353 (_gethtent): Likewise.
18354
18355 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18356
18357 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18358 cancellation and set FD_CLOEXEC for /etc/netgroup.
18359
18360 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18361 reading /etc/publickey.
18362
18363 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18364 allow cancellation when reading /etc/group.
18365
18366 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18367 cancellation.
18368 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18369
18370 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18371 when using data file.
18372
18373 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18374
18375 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18376 (write_nis_obj): Use "c" and "e" in fopen.
18377
18378 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18379
18380 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18381
18382 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18383
18384 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18385
18386 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18387 locale.alias.
18388
18389 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18390
18391 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18392
18393 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18394
18395 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18396 file parsing and set FD_CLOEXEC.
18397
82af0fa8
UD
183982011-11-14 Ulrich Drepper <drepper@gmail.com>
18399
18400 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18401
a5fb313c
AS
184022011-11-14 Andreas Schwab <schwab@redhat.com>
18403
18404 * malloc/arena.c (arena_get2): Don't call reused_arena when
18405 _int_new_arena failed.
18406
6abf3465
UD
184072011-11-14 Ulrich Drepper <drepper@gmail.com>
18408
18409 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18410 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18411 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18412 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18413 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18414 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18415 to compile strcasecmp and strncasecmp.
18416 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18417 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18418
18419 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18420
76e3966e
UD
184212011-11-13 Ulrich Drepper <drepper@gmail.com>
18422
18423 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18424 locale-defines.sym to gen-as-const-headers.
18425 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18426 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18427 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18428 to compile strcasecmp and strncasecmp.
18429 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18430 strcasecmp_l and strncasecmp_l.
18431 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18432 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18433 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18434 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18435 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18436 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18437 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18438 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18439 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18440 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18441 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18442
ab26144e
UD
184432011-11-12 Ulrich Drepper <drepper@gmail.com>
18444
7edb22ef
UD
18445 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18446 result of SYSDEP_GETTIME_CPU to retval.
18447 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18448 parameter list to macro. Remove trailing semicolon. Adjust users.
18449
9694fc44
UD
18450 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18451 variable.
18452
8ad89ef8
UD
18453 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18454 mantissa words.
18455 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18456
0c822ef9
UD
18457 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18458 from unused variable.
18459
874e0564
UD
18460 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18461 DWARF definitions.
18462 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18463 for assembling.
18464
3a2edc79
UD
18465 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18466 over namespaces.
18467
f3c2577f
UD
18468 * sunrpc/rpc_prot.c (rejected): Fix case value.
18469
294ce126
UD
18470 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18471 unsigned long long int to avoid warnings in shift.
18472
5e2b63c6
UD
18473 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18474 of use of trans.
18475 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18476 variable tmp.
18477
e7f4b08e
UD
18478 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18479 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18480 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18481
ab26144e
UD
18482 * nis/nis_table.c (nis_list): Use variable of correct type for
18483 result of __follow_path call.
18484
8a6d5255
AZ
184852011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18486
18487 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18488 of math functions ceil, trunc, floor, round, and sqrt, when
18489 avaliable on the platform.
18490 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18491 name clash.
18492 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18493 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18494 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18495
aaddc98c
MP
184962011-10-30 Marek Polacek <mpolacek@redhat.com>
18497
18498 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18499 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18500
95b7042b
RM
185012011-11-11 Roland McGrath <roland@hack.frob.com>
18502
18503 * include/unistd.h: Fix __readlink return type.
18504 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18505
57769839
UD
185062011-11-11 Ulrich Drepper <drepper@gmail.com>
18507
18508 * stdlib/ucontext.h: Undo last change for makecontext.
18509
edc5984d
AS
185102011-11-11 Andreas Schwab <schwab@redhat.com>
18511
98591e58
AS
18512 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18513
edc5984d
AS
18514 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18515 * setjmp/setjmp.h: Mark functions as non-leaf.
18516 * setjmp/bits/setjmp2.h: Likewise.
18517 * stdlib/ucontext.h: Likewise.
18518
77cdc054
AS
185192011-11-10 Andreas Schwab <schwab@redhat.com>
18520
18521 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18522 (reused_arena): Don't check arena limit.
18523 (arena_get2): Atomically check arena limit.
18524
fe72eebd
UD
185252011-11-08 Ulrich Drepper <drepper@gmail.com>
18526
5f078c32
UD
18527 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18528 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18529
fe72eebd
UD
18530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18531 instructions.
18532
ae1bc2fa
AS
185332011-11-07 Andreas Schwab <schwab@redhat.com>
18534
7583a88d
AS
18535 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18536 handler when locking.
18537
ae1bc2fa
AS
18538 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18539 Fix size of allocated buffer.
18540
10fb0bfa
AS
185412011-11-04 Andreas Schwab <schwab@redhat.com>
18542
998832a4
AS
18543 [BZ #10103]
18544 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18545 declarations for long double functions.
18546 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18547
10fb0bfa
AS
18548 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18549
3d7ba52b
AS
185502011-11-03 Andreas Schwab <schwab@redhat.com>
18551
a9ae54a1
AS
18552 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18553 installed.
18554
3d7ba52b
AS
18555 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18556 is disabled.
18557
bc8db248
ST
185582011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18559
18560 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18561
45b96dd6
AS
185622011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18563
647776f6
AS
18564 * include/alloca.h (stackinfo_alloca_round): Define.
18565 (extend_alloca): Use it.
18566 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18567 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18568 here.
18569
d91a8b93
AS
18570 * scripts/check-local-headers.sh: Ignore libaudit.h.
18571
45b96dd6
AS
18572 * nscd/Makefile (extra-objs): Make recursively expanded.
18573
432d41ce
UD
185742011-11-01 Ulrich Drepper <drepper@gmail.com>
18575
34372fc6
UD
18576 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18577 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18578
fadb59f8
UD
18579 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18580 * posix/tst-rfc3484-2.c: Likewise.
18581 * posix/tst-rfc3484-3.c: Likewise.
18582
78239589
UD
18583 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18584 process_vm_writev.
18585 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18586 process_vm_writev.
18587 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18588 process_vm_writev from libc using GLIBC_2.15 version.
18589
432d41ce
UD
18590 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18591
02f9c6cf
PP
185922011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18593
18594 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18595 stack usage.
18596
3a2c0242
UD
185972011-10-31 Ulrich Drepper <drepper@gmail.com>
18598
f4ec4833
UD
18599 [BZ #13367]
18600 * nss/getent.c (initgroups_keys): Show error message in case no group
18601 names are given.
18602
3a2c0242
UD
18603 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18604 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18605 __bump_nl_timestamp.
18606 * nscd/connections (nscd_init): When host database is served open
18607 netlink socket and request notification about configuration changes.
18608 (main_loop_poll): Track netlink file descriptor and bump timestamp
18609 in case data becomes available.
18610 (main_loop_epoll): Likewise.
18611 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18612 (database_pers_head): Add extra_data fileds.
18613 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18614 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18615 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18616 Adjust caller.
18617 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18618 in6ai data, call __free_in6ai.
18619 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18620 Add -DHAVE_NETLINK.
18621 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18622 interface information. Reuse previous data if netlink timestamp
18623 is not changed.
18624 (__bump_nl_timestamp): New function.
18625 (__free_in6ai): New function.
18626
636064eb
UD
186272011-10-30 Ulrich Drepper <drepper@gmail.com>
18628
18629 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18630 close_not_cancel_no_status here.
18631 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18632
9beb2334
UD
186332011-10-29 Ulrich Drepper <drepper@gmail.com>
18634
6ef76f3b
UD
18635 [BZ #13276]
18636 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18637 return value.
18638
0ffc4f3e 18639 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18640 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18641 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18642
cb95113e
UD
186432011-07-03 Andreas Jaeger <aj@suse.de>
18644
18645 [BZ #10709]
18646 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18647 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18648 * math/libm-test.inc (sin_test): Add test case.
18649
a1b560ff
UD
186502011-10-29 Ulrich Drepper <drepper@gmail.com>
18651
c9aaface
UD
18652 [BZ #13337]
18653 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18654 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18655
d272e7f1
UD
18656 * elf/chroot_canon.c (chroot_canon): Cleanups.
18657
1bc33071
UD
18658 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18659
1760874d
TJ
18660 [BZ #13335]
18661 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18662 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18663
51d91b18
UD
18664 * string/test-strchr.c: Make usable for strchrnul testing.
18665 * string/test-strchrnul.c: New file.
18666 * string/Makefile (strop-tests): Add strchrnul.
18667
a1b560ff 18668 * po/it.po: Update from translation team.
b611fb81 18669 * po/es.po: Likewise.
a1b560ff 18670
a5b81e1f
UD
186712011-10-28 Ulrich Drepper <drepper@gmail.com>
18672
fd52bc6d
UD
18673 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18674 the three constants needed as parameters. Drop the others.
18675 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18676 __m128i_strloadu_tolower.
52e4b9eb
UD
18677 Create and initialize variable zero and use it in all the places
18678 where _mm_setzero_si128 was used.
fd52bc6d 18679
a5b81e1f
UD
18680 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18681 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18682 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18683 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18684 anymore.
18685 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18686 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18687 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18688 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18689 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18690 __mpranred, __mptan.
18691 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18692 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18693 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18694 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18695 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18696 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18697 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18698 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18699 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18700
b4343346
AS
187012011-10-28 Andreas Schwab <schwab@redhat.com>
18702
0c92d8a8
AS
18703 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18704 redefine if SHARED.
18705 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18706
b4343346
AS
18707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18708 wide char related routines to wcsmbs subdir.
18709
3871f58f
AS
187102011-10-27 Andreas Schwab <schwab@redhat.com>
18711
18712 [BZ #13344]
18713 * misc/sys/cdefs.h (__THROWNL): Define.
18714 * posix/unistd.h: Use __THREADNL instead of __THREAD
18715 for memory synchronization functions.
18716
94d44d9f
RM
187172011-10-26 Roland McGrath <roland@hack.frob.com>
18718
21b64b15 18719 [BZ #13349]
94d44d9f
RM
18720 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18721 doesn't exist.
18722 * manual/stdio.texi (Obstack Streams): Node removed.
18723
f6ce9294
AS
187242011-10-26 Andreas Schwab <schwab@redhat.com>
18725
80479147
AS
18726 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18727 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18728 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18729
f6ce9294
AS
18730 * math/math_private.h (math_force_eval): Allow non-addressable
18731 arguments.
18732 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18733
618280a1
UD
187342011-10-25 Ulrich Drepper <drepper@gmail.com>
18735
e0016b11
UD
18736 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18737 file is not needed.
18738
18739 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18740 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18741 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18742 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18743 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18744 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18745 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18746 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18747 Add AVX variants.
18748 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18749 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18750 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18751 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18752 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18753 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18754 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18755 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18756 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18757 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18758 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18759 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18760 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18761 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18762 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18763 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18764 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18765 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18766 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18767
18768 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18769 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18770
618280a1
UD
18771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18772 place. Use VEX encoding when compiling for AVX.
18773
37822576
AS
187742011-10-25 Andreas Schwab <schwab@redhat.com>
18775
1f1e1947
AS
18776 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18777 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18778
37822576
AS
18779 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18780
31ea014d
UD
187812011-10-25 Ulrich Drepper <drepper@gmail.com>
18782
d7826aa1 18783 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18784 useless if() expression.
d7826aa1
UD
18785 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18791 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18793 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18794 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18795 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18796 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18797 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18798 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18799 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18800 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18801 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18803 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18804
31ea014d
UD
18805 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18806
16437fec
AS
188072011-10-25 Andreas Schwab <schwab@redhat.com>
18808
18809 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18810 condition.
18811 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18812
31d3cc00
UD
188132011-10-25 Ulrich Drepper <drepper@gmail.com>
18814
18815 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18816 .text section. Avoid duplicate constants.
18817 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18818 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18819 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18821 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18825 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18826 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18827 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18828 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18829 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18830 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18831 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18832 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18834 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18835 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18840 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18841 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18842 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18843 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18844 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18845 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18846 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18847 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18848 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18849 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18850 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18851 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18852 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18853 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18854 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18855 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18856 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18857 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18858 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18859 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18860 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18861 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18862
58985aa9
UD
188632011-10-24 Ulrich Drepper <drepper@gmail.com>
18864
202c9deb
UD
18865 * sysdeps/x86_64/dla.h: Move to ...
18866 * sysdeps/x86_64/fpu/dla.h: ...here.
18867 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18868 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18869
af968f62
UD
18870 * config.make.in: Add have-mfma4 entry.
18871 * configure.in: Substitute libc_cv_cc_fma4.
18872 * math/Makefile (dbl-only-routines): Add sincostab.
18873 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18874 Use __sincostab not sincos.
18875 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18876 name is a macro.
18877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18880 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18881 using __copysign.
18882 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18883 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18884 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18885 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18886 and __inv.
18887 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18888 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18889 __copysign.
18890 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18891 define aliases when function name is a macro.
18892 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18893 sysdeps/ieee754/dbl-64/sincos.tbl.
18894 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18895 fma4-enabled routines.
18896 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18897 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18898 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18899 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18900 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18901 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18902 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18903 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18904 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18905 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18906 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18907 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18908 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18909 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18910 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18911 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18912 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18913 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18914 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18915 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18916 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18917 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18918 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18919 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18920 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18921 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18923 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18924 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18925 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18926
58985aa9
UD
18927 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18928 rename.
18929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18930 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18934 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18935 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18937
a201fbcf
AS
189382011-10-24 Andreas Schwab <schwab@redhat.com>
18939
18940 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18941
fc2ee42a
LD
189422011-10-23 Ulrich Drepper <drepper@gmail.com>
18943
bb3129bd
UD
18944 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18945
0275fff8
UD
18946 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18947 prediction.
18948 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18949
2fa2ae85
UD
18950 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18951 Remove unused variable magic_bits.
18952 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18953
fc2ee42a
LD
18954 * string/strnlen.c: Define and use STRNLEN macro.
18955 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18956 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18958 * wcsmbs/wcslen.c: Define and use WCSLEN.
18959 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18960 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18961 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18962 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18963 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18964 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18965 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18966
ce7dd29f
LD
189672011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18968
18969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18970 strnlen-sse2-no-bsf.
18971 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18972 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18973 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18974 Add strnlen support.
18975 (USE_AS_STRNLEN): New macro.
18976 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18977 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18978 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18979 * sysdeps/x86_64/wcslen.S: New file.
18980
979c70a3
MZ
189812011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18982
18983 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18984 XMM-moves are used for copying on small sizes.
18985
2d09f82f
LD
189862011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18987
18988 * wcsmbs/Makefile (strop-tests): Add wcschr.
18989 * wcsmbs/test-wcschr.c: New file.
18990 * string/test-strchr.c: Update.
18991 Add wcschr support.
18992 (WIDE): New macro.
18993
619fccca
LD
189942011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18995
2d09f82f 18996 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18997 * wcsmbs/test-wcslen.c: New file.
18998 * string/test-strlen.c: Update.
18999 Add wcslen support.
19000 (WIDE): New macro.
19001
09f699ea
UD
190022011-10-23 Ulrich Drepper <drepper@gmail.com>
19003
19004 * po/it.po: Update from translation team.
19005
95584d3b
LD
190062011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19007
19008 * sysdeps/x86_64/wcscmp.S: Update.
19009 Fix wrong comparison semantics.
19010 wcscmp shall use signed comparison not unsigned.
19011 Don't use substraction to avoid overflow bug.
19012 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
19013 * wcsmbc/wcscmp.c: Likewise.
19014 * string/test-strcmp.c: Likewise.
19015 Add new tests to check cases with negative values.
19016
c8b3296b
UD
190172011-10-23 Ulrich Drepper <drepper@gmail.com>
19018
19019 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
19020 * sysdeps/x86_64/dla.h: ...here. New file.
19021 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
19022 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19025 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19028 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19030
246ad57a
AS
190312011-10-23 Andreas Schwab <schwab@linux-m68k.org>
19032
19033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
19034 __ynl_finite aliases.
19035
a1a87169
UD
190362011-10-22 Ulrich Drepper <drepper@gmail.com>
19037
0d355eb7
UD
19038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19039
a1a87169
UD
19040 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
19041 define DLA_FMA.
19042 [DLA_FMA] (EMULV): Use DLA_FMA.
19043 [DLA_FMA] (MUL12): Use EMULV.
19044 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
19045 that are not needed.
19046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19049 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19053
ee2aafe0
AS
190542011-10-22 Andreas Schwab <schwab@linux-m68k.org>
19055
19056 * math/s_nan.c: Undef __nan.
19057 * math/s_nanf.c: Undef __nanf.
19058 * math/s_nanl.c: Undef __nanl.
19059 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
19060 "math_private.h".
19061
bc62c2fb
UD
190622011-10-22 Ulrich Drepper <drepper@gmail.com>
19063
77425c63
UD
19064 * math/s_catan.c: Add branch predictions.
19065 * math/s_catanf.c: Likewise.
19066 * math/s_catanh.c: Likewise.
19067 * math/s_catanhf.c: Likewise.
19068 * math/s_catanhl.c: Likewise.
19069 * math/s_catanl.c: Likewise.
19070 * math/s_cexp.c: Likewise.
19071 * math/s_cexpf.c: Likewise.
19072 * math/s_cexpl.c: Likewise.
19073 * math/s_clog.c: Likewise.
19074 * math/s_clog10.c: Likewise.
19075 * math/s_clog10f.c: Likewise.
19076 * math/s_clog10l.c: Likewise.
19077 * math/s_clogf.c: Likewise.
19078 * math/s_clogl.c: Likewise.
19079 * math/s_csqrt.c: Likewise.
19080 * math/s_csqrtf.c: Likewise.
19081 * math/s_csqrtl.c: Likewise.
19082 * math/s_ctanf.c: Likewise.
19083 * math/s_ctanh.c: Likewise.
19084 * math/s_ctanhf.c: Likewise.
19085 * math/s_ctanhl.c: Likewise.
19086 * math/s_ctanl.c: Likewise.
19087
bc62c2fb
UD
19088 * math/math_private.h: Define __nan, __nanf, __nanl.
19089 * math/s_cacosh.c: Include <math_private.h>.
19090 * math/s_cacoshl.c: Likewise.
19091 * math/s_casinh.c: Likewise.
19092 * math/s_casinhf.c: Likewise.
19093 * math/s_casinhl.c: Likewise.
19094 * math/s_ccos.c: Rely entire on ccosh.
19095 * math/s_ccosf.c: Rely entire on ccoshf.
19096 * math/s_ccosl.c: Rely entirely on ccoshl.
19097 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
19098 Remove tests for FE_INVALID.
19099 * math/s_ccoshf.c: Likewise.
19100 * math/s_ccoshl.c: Likewise.
19101 * math/s_csin.c: Likewise.
19102 * math/s_csinf.c: Likewise.
19103 * math/s_csinh.c Likewise.
19104 * math/s_csinhf.c: Likewise.
19105 * math/s_csinhl.c: Likewise.
19106 * math/s_csinl.c: Likewise.
19107 * math/s_ctan.c: Likewise.
19108 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
19109 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
19110 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
19111
8ec250a4
UD
191122011-10-21 Ulrich Drepper <drepper@gmail.com>
19113
c196fed8
UD
19114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
19115 compilation problems.
19116
8ec250a4
UD
19117 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
19118 __builtin_expect.
19119
8d4f46c6
UD
191202011-10-20 Ulrich Drepper <drepper@gmail.com>
19121
ed72b654
UD
19122 * sysdeps/i386/configure.in: Test for -mfma4 option.
19123 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
19124 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
19125 COMMON_CPUID_INDEX_80000001.
19126 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
19127 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
19128 use it if FMA3 is not supported.
19129 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19130
8d4f46c6
UD
19131 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
19132 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
19133
d45c60c2
AS
191342011-10-20 Andreas Schwab <schwab@redhat.com>
19135
19136 [BZ #12892]
19137 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
19138 it would create a cycle with a link time dependency.
19139
d9a4d2ab
UD
191402011-10-19 Ulrich Drepper <drepper@gmail.com>
19141
855d1560
UD
19142 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
19143 instruction.
19144 * string/Makefile (strop-tests): Add rawmemchr.
19145 * string/test-rawmemchr.c: New file.
19146
d9a4d2ab
UD
19147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
19148 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
19149 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
19150 when compiling str{,n}casecmp and when AVX is available. Hook up
19151 new optimized code in initializers.
19152
8f3b1ffe
AS
191532011-10-19 Andreas Schwab <schwab@redhat.com>
19154
19155 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
19156 __feraiseexcept instead of feraiseexcept.
19157
d38f1dba
UD
191582011-10-18 Ulrich Drepper <drepper@gmail.com>
19159
d9a8d0ab
UD
19160 * math/math_private.h: Define defaults for libc_fetestexcept and
19161 libc_feupdateenv.
19162 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19163 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19164 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19165 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19166 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19167 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19168 libc_fetestexcept and libc_feupdateenv.
19169
4855e3dd
UD
19170 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19171 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19172 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19173 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19174 libc_feholdexcept_setround.
19175
581d30e3
UD
19176 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19177 Add s_nearbyint-c and s_nearbyintf-c.
19178 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19179 nearbyintf inlines.
19180 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19181 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19182 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19183 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19184
d38f1dba
UD
19185 * math/math_private.h: Define defaults for libc_fegetround,
19186 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19187 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19188 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19189 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19190 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19191 standard functions.
19192 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19193 Remove comments and hacks for old compiler versions.
19194 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19195 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19196 libc_feholdexceptl.
19197
caa6c9d8
AS
191982011-10-18 Andreas Schwab <schwab@redhat.com>
19199
19200 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19201 (__feraiseexcept_renamed): Add __NTH.
19202 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19203 namespace violations.
19204
97c066e6
UD
192052011-10-17 Ulrich Drepper <drepper@gmail.com>
19206
99ce7b04
UD
19207 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19208
1004d182
UD
19209 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19210
228a984d
UD
19211 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19212 recently added interfaces.
19213 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19214
c8553a6a
UD
19215 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19216 about macro parameter expansion.
19217
ed22dcf6
UD
19218 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19219 __NO_MATH_INLINES is defined. Cleanups.
19220
19221 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19222 and __floorf is target has SSE4.1.
19223 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19224 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19225 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19226 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19227
b171c137
UD
19228 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19229 name.
19230 (floorf): Likewise.
19231
97c066e6
UD
19232 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19233
629f62ef
AS
192342011-10-17 Andreas Schwab <schwab@redhat.com>
19235
49a43d80
AS
19236 * misc/sys/cdefs.h: Fix last change.
19237
629f62ef
AS
19238 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19239 database lookup.
19240
e453f6cd
UD
192412011-10-16 Ulrich Drepper <drepper@gmail.com>
19242
aa78043a
UD
19243 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19244
ad0f5cad
UD
19245 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19246 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19247 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19248 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19249 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19250 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19251 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19252 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19253 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19254 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19255 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19256 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19257 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19258 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19259 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19260 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19261 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19262 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19263 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19264 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19265 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19266 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19267
19268 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19269 ceil, ceilf, floor, floorf.
19270
19271 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19272 Perform IRELATIVE relocations last.
19273
e453f6cd
UD
19274 * elf/do-rel.h: Add another parameter nrelative, replacing the
19275 local variable with the same name. Change name of the function
19276 to end in Rel or Rela (uppercase).
19277 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19278 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19279 elf_dynamic_do_##reloc function.
19280
fd5bdc09
UD
192812011-10-15 Ulrich Drepper <drepper@gmail.com>
19282
79b195b5
UD
19283 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19284 is sufficient, at least on modern CPUs.
19285
d4a28569
UD
19286 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19287
b61099b5
UD
19288 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19289 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19290
bcf01e6d
UD
19291 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19292 __expl_finite.
19293 * math/bits/math-finite.h: Add entries for exp.
19294 * math/e_expl.c: Add __*_finite alias.
19295 * sysdeps/i386/fpu/e_exp.S: Likewise.
19296 * sysdeps/i386/fpu/e_expf.S: Likewise.
19297 * sysdeps/i386/fpu/e_expl.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19299 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19300 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19301 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19303 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19304 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19305
ba1a0d59
UD
19306 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19307 is sufficient, at least on modern CPUs.
19308
fd5bdc09
UD
19309 * ctype/ctype-info.c (__ctype_init): Define.
19310 * include/ctype.h (__ctype_init): Declare.
19311 (__ctype_b_loc): The variable is always initialized.
19312 (__ctype_toupper_loc): Likewise.
19313 (__ctype_tolower_loc): Likewise.
19314 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19315 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19316
7872cfb0
AS
193172011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19318
b468825a
AS
19319 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19320
7872cfb0
AS
19321 * configure.in: Also look in $cxxmachine/include for C++ system
19322 headers.
19323
be13f7bf
LD
193242011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19325
19326 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19327 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19328 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19329 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19330 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19331 (USE_AS_WMEMCMP): New macro.
19332 Fixing indents.
19333 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19334 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19335 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19336 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19337 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19338 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19339 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19340 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19341 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19342 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19343 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19344 (USE_AS_WMEMCMP): New macro.
19345 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19346 * sysdeps/string/test-memcmp.c: Update.
19347 Fix simple_wmemcmp.
19348 Add new tests.
19349 * wcsmbs/wmemcmp.c: Update.
19350 (WMEMCMP): New macro.
19351 Fix overflow bug.
19352
556a2007
AJ
193532011-10-12 Andreas Jaeger <aj@suse.de>
19354
19355 [BZ #13268]
19356 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19357
538faaa7
UD
193582011-10-15 Ulrich Drepper <drepper@gmail.com>
19359
ab6737ff
UD
19360 * libio/iofwide.c (do_length): Avoid warning.
19361
538faaa7
UD
19362 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19363
396a21b1
UD
193642011-10-14 Ulrich Drepper <drepper@gmail.com>
19365
cdf2901f
UD
19366 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19367
38ad40ce
UD
19368 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19369 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19370 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19371 * sysdeps/i386/i686/fpu/e_log.S: New file.
19372 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19373 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19374
396a21b1
UD
19375 * ctype/ctype.h: Add support for inlined isXXX functions when
19376 compiling C++ code.
19377
6b1f68c9
AS
193782011-10-14 Andreas Schwab <schwab@redhat.com>
19379
349290c0
AS
19380 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19381
6b1f68c9
AS
19382 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19383
f2282d42
RM
193842011-10-13 Roland McGrath <roland@hack.frob.com>
19385
19386 [BZ #13291]
19387 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19388
5298ffa8
AS
193892011-10-13 Andreas Schwab <schwab@redhat.com>
19390
714fad23
AS
19391 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19392 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19393 feraiseexcept.
19394
81dcc7fb
AS
19395 * sysdeps/x86_64/memrchr.S: Check for zero size.
19396
5298ffa8
AS
19397 * string/stratcliff.c: Add memrchr tests.
19398
951fbcec
LD
193992011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19400
19401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19402 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19403 rawmemchr-sse2 rawmemchr-sse2-bsf.
19404 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19405 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19406 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19407 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19408 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19409 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19410 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19411 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19412 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19413 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19414 * string/memrchr.c (MEMRCHR): New macro.
19415
0ac5ae23
UD
194162011-10-12 Ulrich Drepper <drepper@gmail.com>
19417
19418 Add integration with gcc's -ffinite-math-only and optimize wrapper
19419 functions in libm.
19420 * Versions.def: Define GLIBC_2.15 version for libm.
19421 * math/Makefile (headers): Add bits/math-finite.h.
19422 * math/bits/math-finite.h: New file.
19423 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19424 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19425 * math/e_acoshl.c: Add __*_finite alias.
19426 * math/e_acosl.c: Likewise.
19427 * math/e_asinl.c: Likewise.
19428 * math/e_atan2l.c: Likewise.
19429 * math/e_atanhl.c: Likewise.
19430 * math/e_coshl.c: Likewise.
19431 * math/e_exp10.c: Likewise.
19432 * math/e_exp10f.c: Likewise.
19433 * math/e_exp10l.c: Likewise.
19434 * math/e_exp2l.c: Likewise.
19435 * math/e_fmodl.c: Likewise.
19436 * math/e_gammal_r.c: Likewise.
19437 * math/e_hypotl.c: Likewise.
19438 * math/e_j0l.c: Likewise.
19439 * math/e_j1l.c: Likewise.
19440 * math/e_jnl.c: Likewise.
19441 * math/e_lgammal_r.c: Likewise.
19442 * math/e_log10l.c: Likewise.
19443 * math/e_log2l.c: Likewise.
19444 * math/e_logl.c: Likewise.
19445 * math/e_powl.c: Likewise.
19446 * math/e_sinhl.c: Likewise.
19447 * math/e_sqrtl.c: Likewise.
19448 * math/e_scalb.c: Completely rewritten and optimized.
19449 * math/e_scalbf.c: Likewise.
19450 * math/e_scalbl.c: Likewise.
19451 * math/w_acos.c: Likewise.
19452 * math/w_acosf.c: Likewise.
19453 * math/w_acosl.c: Likewise.
19454 * math/w_acosh.c: Likewise.
19455 * math/w_acoshf.c: Likewise.
19456 * math/w_acoshl.c: Likewise.
19457 * math/w_asin.c: Likewise.
19458 * math/w_asinf.c: Likewise.
19459 * math/w_asinl.c: Likewise.
19460 * math/w_atan2.c: Likewise.
19461 * math/w_atan2f.c: Likewise.
19462 * math/w_atan2l.c: Likewise.
19463 * math/w_atanh.c: Likewise.
19464 * math/w_atanhf.c: Likewise.
19465 * math/w_atanhl.c: Likewise.
19466 * math/w_exp10.c: Likewise.
19467 * math/w_exp10f.c: Likewise.
19468 * math/w_exp10l.c: Likewise.
19469 * math/w_fmod.c: Likewise.
19470 * math/w_fmodf.c: Likewise.
19471 * math/w_fmodl.c: Likewise.
19472 * math/w_j0.c: Likewise.
19473 * math/w_j0f.c: Likewise.
19474 * math/w_j0l.c: Likewise.
19475 * math/w_j1.c: Likewise.
19476 * math/w_j1f.c: Likewise.
19477 * math/w_j1l.c: Likewise.
19478 * math/w_jn.c: Likewise.
19479 * math/w_jnf.c: Likewise.
19480 * math/w_log.c: Likewise.
19481 * math/w_logf.c: Likewise.
19482 * math/w_logl.c: Likewise.
19483 * math/w_log10.c: Likewise.
19484 * math/w_log10f.c: Likewise.
19485 * math/w_log10l.c: Likewise.
19486 * math/w_log2.c: Likewise.
19487 * math/w_log2f.c: Likewise.
19488 * math/w_log2l.c: Likewise.
19489 * math/w_pow.c: Likewise.
19490 * math/w_powf.c: Likewise.
19491 * math/w_powl.c: Likewise.
19492 * math/w_remainder.c: Likewise.
19493 * math/w_remainderf.c: Likewise.
19494 * math/w_remainderl.c: Likewise.
19495 * math/w_scalb.c: Likewise.
19496 * math/w_scalbf.c: Likewise.
19497 * math/w_scalbl.c: Likewise.
19498 * math/w_sqrt.c: Likewise.
19499 * math/w_sqrtf.c: Likewise.
19500 * math/w_sqrtl.c: Likewise.
19501 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19502 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19503 used.
19504 * math/math_private.h: Declare __kernel_standard_f.
19505 * math/w_cosh.c: Remove cruft and optimize a bit.
19506 * math/w_coshf.c: Likewise.
19507 * math/w_coshl.c: Likewise.
19508 * math/w_exp2.c: Likewise.
19509 * math/w_exp2f.c: Likewise.
19510 * math/w_exp2l.c: Likewise.
19511 * math/w_hypot.c: Likewise.
19512 * math/w_hypotf.c: Likewise.
19513 * math/w_hypotl.c: Likewise.
19514 * math/w_lgamma.c: Likewise.
19515 * math/w_lgamma_r.c: Likewise.
19516 * math/w_lgammaf.c: Likewise.
19517 * math/w_lgammaf_r.c: Likewise.
19518 * math/w_lgammal.c: Likewise.
19519 * math/w_lgammal_r.c: Likewise.
19520 * math/w_sinh.c: Likewise.
19521 * math/w_sinhf.c: Likewise.
19522 * math/w_sinhl.c: Likewise.
19523 * math/w_tgamma.c: Likewise.
19524 * math/w_tgammaf.c: Likewise.
19525 * math/w_tgammal.c: Likewise.
19526 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19527 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19528 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19529 Minor optimizations. Pretty printing. Remove cruft.
19530 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19531 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19532 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19533 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19534 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19535 * sysdeps/i386/fpu/e_asin.S: Likewise.
19536 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19537 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19538 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19539 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19540 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19541 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19542 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19543 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19544 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19545 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19546 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19547 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19548 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19549 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19550 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19551 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19552 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19553 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19554 * sysdeps/i386/fpu/e_log.S: Likewise.
19555 * sysdeps/i386/fpu/e_log10.S: Likewise.
19556 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19557 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19558 * sysdeps/i386/fpu/e_log2.S: Likewise.
19559 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19560 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19561 * sysdeps/i386/fpu/e_logf.S: Likewise.
19562 * sysdeps/i386/fpu/e_logl.S: Likewise.
19563 * sysdeps/i386/fpu/e_pow.S: Likewise.
19564 * sysdeps/i386/fpu/e_powf.S: Likewise.
19565 * sysdeps/i386/fpu/e_powl.S: Likewise.
19566 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19567 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19568 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19569 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19570 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19571 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19572 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19573 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19574 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19575 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19576 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19577 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19578 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19579 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19580 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19581 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19582 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19583 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19584 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19585 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19586 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19588 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19589 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19591 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19596 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19597 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19598 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19599 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19600 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19601 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19602 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19603 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19604 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19605 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19606 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19607 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19608 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19609 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19610 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19611 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19612 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19613 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19614 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19615 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19616 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19617 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19621 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19622 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19623 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19624 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19625 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19627 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19628 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19629 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19630 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19631 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19632 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19633 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19634 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19635 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19636 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19637 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19638 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19639 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19640 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19645 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19646 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19647 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19649 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19650 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19651 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19652 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19653 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19654 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19655 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19656 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19657 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19658 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19659 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19660 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19661 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19662 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19663 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19664 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19665 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19666 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19667 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19668 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19669 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19670 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19671 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19672 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19673 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19674 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19675 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19676 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19677 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19678 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19679 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19680 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19681 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19682 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19683 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19684 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19685 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19686 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19687 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19688 (__isnanf): Likewise.
19689 (__isinf_ns): Likewise.
19690 (__isinf_nsf): Likewise.
19691 (__finite): Likewise.
19692 (__finitef): Likewise.
19693 (__ieee754_sqrt): Define as macro.
19694 (__ieee754_sqrtf): Define as macro.
19695 (__ieee754_sqrtl): Define as macro.
19696 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19697 inlined copy.
19698 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19699 __FINITE_MATH_ONLY__ consistent.
19700 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19701
12cc2fcd
AS
197022011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19703
a843a204
AS
19704 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19705 of rawmemchr.
19706
12cc2fcd
AS
19707 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19708
c853acd5
UD
197092011-10-09 Ulrich Drepper <drepper@gmail.com>
19710
19711 * po/ja.po: Update from translation team.
19712
c658d255
RM
197132011-10-08 Roland McGrath <roland@hack.frob.com>
19714
110946e4
RM
19715 * locale/programs/locarchive.c (prepare_address_space): New function.
19716 (create_archive, enlarge_archive, open_archive): Use it.
19717
50604220
RM
19718 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19719 inside [SHARED], where it is used.
19720
c658d255
RM
19721 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19722
19723 * nss/getent.c (netgroup_keys): Remove unused variable.
19724 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19725
6a621eb7
UD
197262011-10-08 Ulrich Drepper <drepper@gmail.com>
19727
7edb55ce
UD
19728 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19729 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19730 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19731 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19732 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19733 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19734 * math/Makefile (libm-calls): Add s_isinf_ns.
19735 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19736 * math/multc3.c: Likewise.
19737 * math/s_casin.c: Likewise.
19738 * math/s_casinf.c: Likewise.
19739 * math/s_casinl.c: Likewise.
19740 * math/s_ccos.c: Likewise.
19741 * math/s_ccosf.c: Likewise.
19742 * math/s_ccosl.c: Likewise.
19743 * math/s_ctan.c: Likewise.
19744 * math/s_ctanf.c: Likewise.
19745 * math/s_ctanh.c: Likewise.
19746 * math/s_ctanhf.c: Likewise.
19747 * math/s_ctanhl.c: Likewise.
19748 * math/s_ctanl.c: Likewise.
19749 * math/w_fmod.c: Likewise.
19750 * math/w_fmodf.c: Likewise.
19751 * math/w_fmodl.c: Likewise.
19752 * math/w_remainder.c: Likewise.
19753 * math/w_remainderf.c: Likewise.
19754 * math/w_remainderl.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19756 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19757 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19758 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19759 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19760 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19761 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19762 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19763
187da0ae
UD
19764 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19765 of the number.
19766 * stdio-common/printf_fphex.c: Likewise.
19767 * stdio-common/printf_size.c: Likewise.
19768
9277c064
UD
19769 * math/e_exp10.c: Include math_private.h using <...> not "...".
19770 * math/e_exp10f.c: Likewise.
19771 * math/e_exp10l.c: Likewise.
19772 * math/e_exp2l.c: Likewise.
19773 * math/e_j0l.c: Likewise.
19774 * math/e_j1l.c: Likewise.
19775 * math/e_jnl.c: Likewise.
19776 * math/e_lgammal_r.c: Likewise.
19777 * math/e_rem_pio2l.c: Likewise.
19778 * math/e_scalb.c: Likewise.
19779 * math/e_scalbf.c: Likewise.
19780 * math/e_scalbl.c: Likewise.
19781 * math/k_cosl.c: Likewise.
19782 * math/k_sinl.c: Likewise.
19783 * math/k_tanl.c: Likewise.
19784 * math/s_cacoshf.c: Likewise.
19785 * math/s_catan.c: Likewise.
19786 * math/s_catanf.c: Likewise.
19787 * math/s_catanh.c: Likewise.
19788 * math/s_catanhf.c: Likewise.
19789 * math/s_catanhl.c: Likewise.
19790 * math/s_catanl.c: Likewise.
19791 * math/s_ccosh.c: Likewise.
19792 * math/s_ccoshf.c: Likewise.
19793 * math/s_ccoshl.c: Likewise.
19794 * math/s_cexp.c: Likewise.
19795 * math/s_cexpf.c: Likewise.
19796 * math/s_cexpl.c: Likewise.
19797 * math/s_clog.c: Likewise.
19798 * math/s_clog10.c: Likewise.
19799 * math/s_clog10f.c: Likewise.
19800 * math/s_clog10l.c: Likewise.
19801 * math/s_clogf.c: Likewise.
19802 * math/s_clogl.c: Likewise.
19803 * math/s_csin.c: Likewise.
19804 * math/s_csinf.c: Likewise.
19805 * math/s_csinh.c: Likewise.
19806 * math/s_csinhf.c: Likewise.
19807 * math/s_csinhl.c: Likewise.
19808 * math/s_csinl.c: Likewise.
19809 * math/s_csqrt.c: Likewise.
19810 * math/s_csqrtf.c: Likewise.
19811 * math/s_csqrtl.c: Likewise.
19812 * math/s_ctan.c: Likewise.
19813 * math/s_ctanf.c: Likewise.
19814 * math/s_ctanh.c: Likewise.
19815 * math/s_ctanhf.c: Likewise.
19816 * math/s_ctanhl.c: Likewise.
19817 * math/s_ctanl.c: Likewise.
19818 * math/s_ldexp.c: Likewise.
19819 * math/s_ldexpf.c: Likewise.
19820 * math/s_ldexpl.c: Likewise.
19821 * math/s_significand.c: Likewise.
19822 * math/s_significandf.c: Likewise.
19823 * math/s_significandl.c: Likewise.
19824 * math/w_acos.c: Likewise.
19825 * math/w_acosf.c: Likewise.
19826 * math/w_acosh.c: Likewise.
19827 * math/w_acoshf.c: Likewise.
19828 * math/w_acoshl.c: Likewise.
19829 * math/w_acosl.c: Likewise.
19830 * math/w_asin.c: Likewise.
19831 * math/w_asinf.c: Likewise.
19832 * math/w_asinl.c: Likewise.
19833 * math/w_atan2.c: Likewise.
19834 * math/w_atan2f.c: Likewise.
19835 * math/w_atan2l.c: Likewise.
19836 * math/w_atanh.c: Likewise.
19837 * math/w_atanhf.c: Likewise.
19838 * math/w_atanhl.c: Likewise.
19839 * math/w_cosh.c: Likewise.
19840 * math/w_coshf.c: Likewise.
19841 * math/w_coshl.c: Likewise.
19842 * math/w_dremf.c: Likewise.
19843 * math/w_exp10.c: Likewise.
19844 * math/w_exp10f.c: Likewise.
19845 * math/w_exp10l.c: Likewise.
19846 * math/w_exp2.c: Likewise.
19847 * math/w_exp2f.c: Likewise.
19848 * math/w_fmod.c: Likewise.
19849 * math/w_fmodf.c: Likewise.
19850 * math/w_fmodl.c: Likewise.
19851 * math/w_hypot.c: Likewise.
19852 * math/w_hypotf.c: Likewise.
19853 * math/w_hypotl.c: Likewise.
19854 * math/w_j0.c: Likewise.
19855 * math/w_j0f.c: Likewise.
19856 * math/w_j0l.c: Likewise.
19857 * math/w_j1.c: Likewise.
19858 * math/w_j1f.c: Likewise.
19859 * math/w_j1l.c: Likewise.
19860 * math/w_jn.c: Likewise.
19861 * math/w_jnf.c: Likewise.
19862 * math/w_jnl.c: Likewise.
19863 * math/w_lgamma.c: Likewise.
19864 * math/w_lgamma_r.c: Likewise.
19865 * math/w_lgammaf.c: Likewise.
19866 * math/w_lgammaf_r.c: Likewise.
19867 * math/w_lgammal.c: Likewise.
19868 * math/w_lgammal_r.c: Likewise.
19869 * math/w_log.c: Likewise.
19870 * math/w_log10.c: Likewise.
19871 * math/w_log10f.c: Likewise.
19872 * math/w_log10l.c: Likewise.
19873 * math/w_log2.c: Likewise.
19874 * math/w_log2f.c: Likewise.
19875 * math/w_log2l.c: Likewise.
19876 * math/w_logf.c: Likewise.
19877 * math/w_logl.c: Likewise.
19878 * math/w_pow.c: Likewise.
19879 * math/w_powf.c: Likewise.
19880 * math/w_powl.c: Likewise.
19881 * math/w_remainder.c: Likewise.
19882 * math/w_remainderf.c: Likewise.
19883 * math/w_remainderl.c: Likewise.
19884 * math/w_scalb.c: Likewise.
19885 * math/w_scalbf.c: Likewise.
19886 * math/w_scalbl.c: Likewise.
19887 * math/w_sinh.c: Likewise.
19888 * math/w_sinhf.c: Likewise.
19889 * math/w_sinhl.c: Likewise.
19890 * math/w_sqrt.c: Likewise.
19891 * math/w_sqrtf.c: Likewise.
19892 * math/w_sqrtl.c: Likewise.
19893 * math/w_tgamma.c: Likewise.
19894 * math/w_tgammaf.c: Likewise.
19895 * math/w_tgammal.c: Likewise.
19896
6a621eb7
UD
19897 * po/ja.po: Update from translation team.
19898
bf582445
AJ
198992011-09-29 Andreas Jaeger <aj@suse.de>
19900
f9efbf3a
AJ
19901 [BZ #13179]
19902 * sunrpc/netname.c (netname2host): Fix logic.
19903
bf582445
AJ
19904 [BZ #6779]
19905 [BZ #6783]
19906 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19907 correctly.
19908 * math/w_remainder.c (__remainder): Likewise.
19909 * math/w_remainderf.c (__remainderf): Likewise.
19910 * math/libm-test.inc (remainder_test): Add test cases.
19911
48693bea
AK
199122011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19913
19914 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19915 sdiv_qrnnd.
19916
42622229
LD
199172011-10-07 Ulrich Drepper <drepper@gmail.com>
19918
19919 * string/test-memcmp.c: Avoid unncessary #defines.
19920 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19921
093ecf92
LD
199222011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19923
19924 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19925 Use new sse2 version for core i3 - i7 as it's faster
19926 than sse42 version.
19927 (bit_Prefer_PMINUB_for_stringop): New.
19928 * sysdeps/x86_64/rawmemchr.S: Update.
19929 Replace with faster SSE2 version.
19930 * sysdeps/x86_64/memrchr.S: New file.
19931 * sysdeps/x86_64/memchr.S: Update.
19932 Replace with faster SSE2 version.
19933
fde56e5c
MP
199342011-09-12 Marek Polacek <mpolacek@redhat.com>
19935
19936 * elf/dl-load.c (lose): Add cast to avoid warning.
19937
21fd49a9
UD
199382011-10-07 Ulrich Drepper <drepper@gmail.com>
19939
5a06e643
UD
19940 * po/ca.po: Update from translation team.
19941
684ae515
UD
19942 * inet/getnetgrent_r.c: Hook up nscd.
19943 * nscd/Makefile (routines): Add nscd_netgroup.
19944 (nscd-modules): Add netgroupcache.
19945 (CFLAGS-netgroupcache.c): Define.
19946 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19947 (cache_search): Add const to second parameter.
19948 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19949 INNETGR.
19950 (dbs): Add netgrdb entry.
19951 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19952 (verify_persistent_db): Handle netgrdb.
19953 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19954 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19955 GETFDNETGR.
19956 (netgroup_response_header): Define.
19957 (innetgroup_response_header): Define.
19958 (datahead): Add netgroup_response_header and innetgroup_response_header
19959 elements.
19960 * nscd/nscd.conf: Add entries for netgroup cache.
19961 * nscd/nscd.h (dbtype): Add netgrdb.
19962 (_PATH_NSCD_NETGROUP_DB): Define.
19963 (netgroup_iov_disabled): Declare.
19964 (xmalloc, xcalloc, xrealloc): Move declarations here.
19965 (cache_search): Adjust prototype.
19966 Add netgroup-related prototypes.
19967 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19968 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19969 (__nscd_innetgr): Declare.
19970 * nscd/selinux.c (perms): Use access_vector_t as element type and
19971 add netgroup-related initializers.
19972 * nscd/netgroupcache.c: New file.
19973 * nscd/nscd_netgroup.c: New file.
19974 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19975 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19976 For four parameters use innetgr.
19977 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19978 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19979 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19980 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19981
21fd49a9
UD
19982 * nscd/connections.c (register_traced_file): Don't register file
19983 for disabled databases.
19984
054c0457
UD
199852011-10-06 Ulrich Drepper <drepper@gmail.com>
19986
32b63198
UD
19987 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19988
054c0457
UD
19989 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19990 from tree and freeing node.
19991
64031225
JO
199922011-09-25 Jiri Olsa <jolsa@redhat.com>
19993
19994 * nss/nsswitch.c (__nss_database_lookup): Handle
19995 nss_parse_service_list out of memory case.
19996
0490345c
JO
199972011-09-15 Jiri Olsa <jolsa@redhat.com>
19998
19999 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
20000 out of memory case.
20001
3a62d00d
AS
200022011-10-04 Andreas Schwab <schwab@redhat.com>
20003
20004 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
20005 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
20006 pass it down.
20007 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
20008 elf_machine_rela, elf_machine_lazy_rel.
20009 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
20010 (ELF_DYNAMIC_DO_REL): Likewise.
20011 (ELF_DYNAMIC_DO_RELA): Likewise.
20012 (ELF_DYNAMIC_RELOCATE): Likewise.
20013 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
20014 to ELF_DYNAMIC_DO_REL.
20015 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
20016 (dl_main): In trace mode always set __RTLD_NOIFUNC.
20017 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
20018 elf_machine_rela.
20019 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
20020 skip_ifunc, don't call ifunc function if non-zero.
20021 (elf_machine_rela): Likewise.
20022 (elf_machine_lazy_rel): Likewise.
20023 (elf_machine_lazy_rela): Likewise.
20024 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
20025 (elf_machine_lazy_rel): Likewise.
20026 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
20027 Likewise.
20028 (elf_machine_lazy_rel): Likewise.
20029 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20030 Likewise.
20031 (elf_machine_lazy_rel): Likewise.
20032 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
20033 (elf_machine_lazy_rel): Likewise.
20034 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
20035 (elf_machine_lazy_rel): Likewise.
20036 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20037 (elf_machine_lazy_rel): Likewise.
20038 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
20039 (elf_machine_lazy_rel): Likewise.
20040 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
20041 (elf_machine_lazy_rel): Likewise.
20042 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
20043 (elf_machine_lazy_rel): Likewise.
20044
68577918
UD
200452011-09-28 Ulrich Drepper <drepper@gmail.com>
20046
20047 * nss/nss_files/files-init.c (_nss_files_init): Use static
20048 initialization for all the *_traced_file variables.
20049
68822d74
AS
200502011-09-28 Andreas Schwab <schwab@redhat.com>
20051
20052 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20053
2056100b
RM
200542011-09-27 Roland McGrath <roland@hack.frob.com>
20055
20056 [BZ #13226]
20057 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
20058
32c76b63
AS
200592011-09-27 Andreas Schwab <schwab@redhat.com>
20060
20061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20062 Reread the line before reparsing it.
20063
bf972c9d
AS
200642011-09-26 Andreas Schwab <schwab@redhat.com>
20065
20066 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
20067
e057a1b5
JM
200682011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
20069 Maxim Kuvyrkov <maxim@codesourcery.com>
20070 Joseph Myers <joseph@codesourcery.com>
20071
20072 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
20073 if needed for __stack_chk_guard.
20074
bc7e1c36
RM
200752011-09-19 Roland McGrath <roland@hack.frob.com>
20076
ecb1482f
RM
20077 * sysdeps/posix/spawni.c (script_execute): Always define it.
20078 It will be optimized away if unused.
20079 (maybe_script_execute): New function.
20080 (__spawni): Call it.
20081
bc7e1c36
RM
20082 * Makerules: Don't include tls.make.
20083 (config-tls): Always set to thread.
20084 * tls.make.c: File removed.
20085
1c3b002b
MF
200862011-09-19 Mike Frysinger <vapier@gentoo.org>
20087
20088 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
20089 * config.make.in (CPPFLAGS-config): New substituted variable.
20090
2840865d
UD
200912011-09-15 Ulrich Drepper <drepper@gmail.com>
20092
88738eb6
UD
20093 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
20094
cbf645a6 20095 [BZ #13192]
2840865d
UD
20096 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
20097 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
20098
b402e91a
RM
200992011-09-15 Roland McGrath <roland@hack.frob.com>
20100
20101 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
20102 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
20103 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
20104 (CALL_FAIL): Likewise.
20105 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
20106 (CALL_FAIL): Macro removed.
20107 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
20108
4c1a1f71
UD
201092011-09-15 Ulrich Drepper <drepper@gmail.com>
20110
20111 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
20112 for __FINITE_MATH_ONLY__ == 1.
20113
edc121be
AS
201142011-09-15 Andreas Schwab <schwab@redhat.com>
20115
20116 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
20117 __ieee754_sqrt instead of sqrt.
20118 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
20119 __ieee754_sqrtf instead of sqrtf.
20120 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
20121 __floorf instead of floorf.
20122 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
20123 __floorf, __truncf instead of floorf, truncf.
20124
cd205654
UD
201252011-09-14 Ulrich Drepper <drepper@gmail.com>
20126
ee4d0315
UD
20127 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
20128
cd205654
UD
20129 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
20130 __extern_always_inline.
20131 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
20132 32-bit.
20133
48b67d71
AS
201342011-09-14 Andreas Schwab <schwab@redhat.com>
20135
20136 * elf/rtld.c (dl_main): Also relocate in dependency order when
20137 doing symbol dependency testing.
20138
1ae12c75
AS
201392011-09-13 Andreas Schwab <schwab@linux-m68k.org>
20140
20141 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
20142 Always define `refsym'.
20143
995a80df
AS
201442011-09-13 Andreas Schwab <schwab@redhat.com>
20145
e529793b
AS
20146 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
20147 (__FD_ELT): Renamed from __FDELT.
20148 * misc/bits/select2.h (__FD_ELT): Likewise.
20149 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
20150 __FD_MASK instead of __FDELT, __FDMASK.
20151 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20152 Likewise.
20153 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
20154 Likewise.
20155
52d4fef8
AS
20156 * elf/Makefile (gen-ldd): Fix pattern.
20157
995a80df
AS
20158 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
20159 (init_tls): Likewise.
20160
8682f8b0
UD
201612011-09-12 Ulrich Drepper <drepper@gmail.com>
20162
20163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20164
de82006d
AS
201652011-09-12 Andreas Schwab <schwab@redhat.com>
20166
a7c8e6a1
AS
20167 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20168 `struct cmsghdr *' instead of `void *'.
20169 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20170 Likewise.
20171
0f31fe77
AS
201722011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20173
20174 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20175 if non-absolute.
20176 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20177 ldd_rewrite_script.
0f31fe77 20178
32b4c839
UD
201792011-09-11 Ulrich Drepper <drepper@gmail.com>
20180
83cd1420
UD
20181 * configure.in: Remove --with-tls option.
20182 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20183 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20184 out in case it is missing.
20185 * sysdeps/ia64/elf/configure.in: Likewise.
20186 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20187 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20188 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20189 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20190 * sysdeps/sh/elf/configure.in: Likewise.
20191 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20192 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20193 * sysdeps/x86_64/elf/configure.in: Likewise.
20194 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20195 * sysdeps/mach/hurd/tls.h: Likewise.
20196
633f745d
UD
20197 [BZ #13067]
20198 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20199
f318beb8
UD
20200 [BZ #13090]
20201 * configure.in: Fix use of AC_INIT.
20202
32b4c839
UD
20203 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20204
3ce1f295
UD
202052011-09-10 Ulrich Drepper <drepper@gmail.com>
20206
bb016596
UD
20207 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20208 __set_errno.
8e58439c
UD
20209 * malloc/hooks.c: Likewise.
20210
aebae053 20211 [BZ #11929]
02d46fc4
UD
20212 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20213 variables statically.
20214 (narenas): Initialize.
20215 (list_lock): Initialize.
bb016596
UD
20216 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20217 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20218 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20219 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20220 Add initializers to main_arena and mp_.
20221 (malloc_state): Remove pagesize member. Change all users to use
20222 GLRO(dl_pagesize).
20223
20224 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20225 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20226 is always initialized.
20227
22a89187
UD
20228 * malloc/malloc.c: Removed unused configurations and dead code.
20229 * malloc/arena.c: Likewise.
20230 * malloc/hooks.c: Likewise.
02d46fc4 20231 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20232
d063d164
UD
20233 * include/tls.h: Removed. USE___THREAD must always be defined.
20234 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20235 * elf/dl-libc.c: Likewise.
20236 * elf/dl-tsd.c: Likewise.
20237 * include/errno.h: Likewise.
20238 * include/netdb.h: Likewise.
20239 * include/resolv.h: Likewise.
20240 * inet/herrno-loc.c: Likewise.
20241 * inet/herrno.c: Likewise.
20242 * malloc/arena.c: Likewise.
20243 * malloc/hooks.c: Likewise.
20244 * malloc/malloc.c: Likewise.
20245 * resolv/res-state.c: Likewise.
20246 * resolv/res_libc.c: Likewise.
20247 * sysdeps/i386/dl-machine.h: Likewise.
20248 * sysdeps/ia64/dl-machine.h: Likewise.
20249 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20250 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20251 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20252 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20253 * sysdeps/sh/dl-machine.h: Likewise.
20254 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20255 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20256 * sysdeps/unix/i386/sysdep.S: Likewise.
20257 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20258 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20259 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20262 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20263 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20264 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20265 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20266 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20267 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20268 * sysdeps/x86_64/dl-machine.h: Likewise.
20269 * tls.make.c: Likewise.
20270
3ce1f295
UD
20271 * configure.in: Remove --with-__thread option. Make tests for
20272 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20273 tls_model attribute fail if no support is available. Remove
20274 USE_IN_LIBIO.
20275 * Makeconfig: Adjust for dropped configure option. All features are
20276 now mandatory.
20277 * Makerules: Likewise.
20278 * Versions.def: Likewise.
20279 * argp/argp-fmtstream.c: Likewise.
20280 * argp/argp-fmtstream.h: Likewise.
20281 * argp/argp-help.c: Likewise.
20282 * assert/assert.c: Likewise.
20283 * config.h.in: Likewise.
20284 * config.make.in: Likewise.
20285 * configure: Likewise.
20286 * configure.in: Likewise.
20287 * csu/Versions: Likewise.
20288 * csu/init.c: Likewise.
20289 * elf/tst-audit2.c: Likewise.
20290 * elf/tst-tls10.c: Likewise.
20291 * elf/tst-tls10.h: Likewise.
20292 * elf/tst-tls11.c: Likewise.
20293 * elf/tst-tls12.c: Likewise.
20294 * elf/tst-tls14.c: Likewise.
20295 * elf/tst-tlsmod11.c: Likewise.
20296 * elf/tst-tlsmod12.c: Likewise.
20297 * elf/tst-tlsmod13.c: Likewise.
20298 * elf/tst-tlsmod13a.c: Likewise.
20299 * elf/tst-tlsmod14a.c: Likewise.
20300 * elf/tst-tlsmod15b.c: Likewise.
20301 * elf/tst-tlsmod16a.c: Likewise.
20302 * elf/tst-tlsmod16b.c: Likewise.
20303 * elf/tst-tlsmod7.c: Likewise.
20304 * elf/tst-tlsmod8.c: Likewise.
20305 * elf/tst-tlsmod9.c: Likewise.
20306 * gmon/gmon.c: Likewise.
20307 * grp/fgetgrent_r.c: Likewise.
20308 * grp/putgrent.c: Likewise.
20309 * hurd/fopenport.c: Likewise.
20310 * include/libc-symbols.h: Likewise.
20311 * include/tls.h: Likewise.
20312 * intl/gettextP.h: Likewise.
20313 * intl/loadinfo.h: Likewise.
20314 * locale/global-locale.c: Likewise.
20315 * locale/localeinfo.h: Likewise.
20316 * mach/devstream.c: Likewise.
20317 * malloc/arena.c: Likewise.
20318 * malloc/set-freeres.c: Likewise.
20319 * misc/err.c: Likewise.
20320 * misc/getttyent.c: Likewise.
20321 * misc/mntent_r.c: Likewise.
20322 * posix/getopt.c: Likewise.
20323 * posix/wordexp.c: Likewise.
20324 * pwd/fgetpwent_r.c: Likewise.
20325 * resolv/Versions: Likewise.
20326 * resolv/res_hconf.c: Likewise.
20327 * shadow/fgetspent_r.c: Likewise.
20328 * shadow/putspent.c: Likewise.
20329 * stdio-common/printf_fphex.c: Likewise.
20330 * stdio-common/tmpfile.c: Likewise.
20331 * stdlib/abort.c: Likewise.
20332 * stdlib/fmtmsg.c: Likewise.
20333 * sunrpc/auth_unix.c: Likewise.
20334 * sunrpc/clnt_perr.c: Likewise.
20335 * sunrpc/clnt_tcp.c: Likewise.
20336 * sunrpc/clnt_udp.c: Likewise.
20337 * sunrpc/clnt_unix.c: Likewise.
20338 * sunrpc/openchild.c: Likewise.
20339 * sunrpc/svc_simple.c: Likewise.
20340 * sunrpc/svc_tcp.c: Likewise.
20341 * sunrpc/svc_udp.c: Likewise.
20342 * sunrpc/svc_unix.c: Likewise.
20343 * sunrpc/xdr.c: Likewise.
20344 * sunrpc/xdr_array.c: Likewise.
20345 * sunrpc/xdr_rec.c: Likewise.
20346 * sunrpc/xdr_ref.c: Likewise.
20347 * sunrpc/xdr_stdio.c: Likewise.
20348
1248c1c4
PB
203492011-09-09 Ulrich Drepper <drepper@gmail.com>
20350
20351 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20352
203532011-07-03 Andreas Jaeger <aj@suse.de>
20354
20355 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20356 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20357 regenerate with gen-libm-tests.pl.
20358
203592010-05-12 Petr Baudis <pasky@suse.cz>
20360
20361 [BZ #11589]
20362 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20363 around j0() zero points by switching to j1().
20364 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20368
f22e1074
UD
203692011-09-09 Ulrich Drepper <drepper@gmail.com>
20370
f19009c1
UD
20371 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20372 instead of 0.
20373 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20374 instead of 0.
f19009c1
UD
20375 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20376 Patch in part by Pavel Roskin <proski@gnu.org>.
20377
3f8cc204
UD
20378 [BZ #13138]
20379 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20380 realloc.
20381 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20382 Free memory block if necessary.
20383
f22e1074
UD
20384 [BZ #12847]
20385 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20386 be NULL. Don't lock in this case.
20387
0a2349f9
RM
203882011-09-09 Roland McGrath <roland@hack.frob.com>
20389
20390 * elf/elf.h (ELFOSABI_GNU): New macro.
20391 (ELFOSABI_LINUX): Define to that.
20392
f3cdd467
DZ
203932011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20394
20395 * string/strncat.c (strncat): Undef the symbol in case it has been
20396 defined in bits/string.h.
20397
74718d13
UD
203982011-09-09 Ulrich Drepper <drepper@gmail.com>
20399
633e9e0f
UD
20400 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20401
0a2349f9 20402 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20403 link map.
20404
f9924780
AJ
204052011-08-17 Andreas Jaeger <aj@suse.de>
20406
20407 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20408
7f5517aa
PP
204092011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20410 Ian Lance Taylor <iant@google.com>
20411
20412 * math/libm-test.inc (lround_test): New testcase.
20413 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20414
762011fe
UD
204152011-09-08 Ulrich Drepper <drepper@gmail.com>
20416
92963737
UD
20417 * Makefile: Remove support for automatic cvs check-ins.
20418 * Makerules: Likewise.
20419 * config.make.in: Likewise.
20420 * configure.in: Likewise.
20421 * intl/Makefile: Likewise.
20422 * locale/Makefile: Likewise.
20423 * po/Makefile: Likewise.
20424 * posix/Makefile: Likewise.
20425 * sysdeps/gnu/Makefile: Likewise.
20426 * sysdeps/mach/hurd/Makefile: Likewise.
20427 * sysdeps/sparc/sparc32/Makefile: Likewise.
20428
b0727fd8
JS
20429 [BZ #13118]
20430 * posix/Makefile (bug-regex32-ENV): Define.
20431 Patch by John Stanley <jpsinthemix@verizon.net>.
20432
a0f33f99
UD
20433 * misc/Makefile (headers): Add bits/select2.h.
20434 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20435 * misc/bits/select2.h: New file.
20436 * include/bits/select2.h: New file.
20437 * debug/Makefile (routines): Add fdelt_chk.
20438 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20439 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20440 FD_ISSET.
20441 * debug/fdelt_chk.c: New file.
20442
762011fe
UD
20443 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20444 * wcsmbs/test-wmemcmp.c: Likewise.
20445 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20446 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20447
204482011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20449
20450 * string/Makefile (strop-tests): Add memcmp.
20451 * string/test-wmemcmp.c: New file.
20452 * string/test-memcmp.c: Add wmemcmp support.
20453
7f513ec8
RM
204542011-09-08 Roland McGrath <roland@hack.frob.com>
20455
0442afb4
RM
20456 [BZ #13153]
20457 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20458 2011-07-19 change.
20459
7f513ec8
RM
20460 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20461 garbage value in a __mach_port_mod_refs call in the cases of the
20462 task-self and thread-self ports.
20463
a12b2239
ST
204642011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20465
20466 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20467
610f9ab4
AS
204682011-09-08 Andreas Schwab <schwab@redhat.com>
20469
7f513ec8 20470 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20471
48882a1a
LD
204722011-09-07 Ulrich Drepper <drepper@gmail.com>
20473
b49865be
UD
20474 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20475
fdc86bc9
UD
20476 * elf/dl-libc.c (dlerror_run): Pass back error code from
20477 dl_catch_error.
20478
c966526a
UD
20479 [BZ #13123]
20480 * elf/dl-load.c (lose): Free l_origin if it is valid.
20481
48882a1a
LD
20482 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20483 names.
20484 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20487 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20489 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20490
77a2a8b4
AZ
204912011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20492
20493 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20494 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20495 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20496 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20497 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20498 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20499 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20500 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20501 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20502 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20503
24f579d8
AM
205042011-08-15 Alan Modra <amodra@gmail.com>
20505
20506 [BZ #13092]
20507 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20508 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20509 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20510 ppc_mcount to static-only-routines.
20511 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20512 __mcount_internal.
20513 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20514 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20515
3d4837df
UD
205162011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20517
20518 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20519 for finite and infinity parameters.
20520
22700377
WS
205212011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20522
20523 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20524 and add nop instructions for throughput optimization.
20525 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20526
5025581e
WS
205272011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20528
20529 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20530 aligned copy for power7 with vector-scalar instructions.
20531 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20532
08a300c9
L
205332011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20534
20535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20536 AVX check.
20537
59178ef9
AS
205382011-09-07 Andreas Schwab <schwab@redhat.com>
20539
20540 [BZ #13144]
20541 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20542 last change.
20543
e38ba7ab
UD
205442011-09-07 Ulrich Drepper <drepper@gmail.com>
20545
20546 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20547 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20548 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20549 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20550 clock_gettime.
20551
d53a73ac
UD
205522011-09-06 Ulrich Drepper <drepper@gmail.com>
20553
fc8bffcc
UD
20554 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20555 Forgot to demangle the pointer.
20556
ceaa0c5d
UD
20557 * sysdeps/i386/sysdep.h: Define atom_text_section.
20558 * sysdeps/x86_64/sysdep.h: Likewise.
20559 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20560 section with atom_text_section.
20561 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20562 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20563 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20564 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20565 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20566
a77d3c17
UD
20567 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20568 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20569 already be defined. Change to take two parameters and don't assign
20570 result to variable. Adjust all users.
20571 Define INTERNAL_GETTIME if not already defined.
20572 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20573 call.
20574 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20575 HAVE_CLOCK_GETTIME_VSYSCALL.
20576 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20577
d53a73ac
UD
20578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20579 gettimeofday vsyscall, just use time.
20580
a8f84144
AS
205812011-09-06 Andreas Schwab <schwab@redhat.com>
20582
20583 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20584 <errno.h>.
20585
ef606249
UD
205862011-09-06 Ulrich Drepper <drepper@gmail.com>
20587
20588 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20589 syscall on x86-64.
20590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20591 syscall.
20592 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20593 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20594 syscall if possible.
20595
6585cb60
UD
205962011-09-05 Ulrich Drepper <drepper@gmail.com>
20597
20598 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20599 e_ident. Don't pass to find_mapsXX.
20600 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20601
a5f524e4
LD
206022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20603
20604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20605 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20606 * sysdeps/x86_64/multiarch/strchr.S: Update.
20607 Check bit_slow_BSF bit.
20608 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20609 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20610 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20611
554881ef
UD
206122011-09-05 Ulrich Drepper <drepper@gmail.com>
20613
d96de963
UD
20614 [BZ #13134]
20615 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20616 before glibc 2.15.
20617 (tryshell): Define.
20618 (__spawni): Change last parameter to be flag. Test
20619 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20620 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20621 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20622 * posix/spawni.c: Likewise.
20623 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20624 * posix/spawnp.c: Likewise. Change normal version to use
20625 SPAWN_XFLAGS_USE_PATH.
20626 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20627 SPAWN_XFLAGS_TRY_SHELL.
20628
d48e5868
UD
20629 [BZ #13150]
20630 * posix/glob.h: Remove gcc 1.x support.
20631
554881ef
UD
20632 [BZ #13068]
20633 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20634
693fb948
LD
206352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20636
20637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20638 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20639 strrchr-sse2-bsf
20640 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20641 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20642 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20643 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20644 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20645 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20646
1b48c537
UD
206472011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20648
49d42c37
UD
20649 * sysdeps/x86_64/wcscmp.S: New file.
20650
1b48c537
UD
20651 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20652 wcscmp-c wcscmp-sse2
20653 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20654 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20655 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20656 * wcsmbs/wcscmp.c: Allow renaming.
20657
15c95c5d
DM
206582011-09-05 David S. Miller <davem@davemloft.net>
20659
20660 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20661 stack slot, rather than the struct return pointer slot.
20662 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20663 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20665 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20666
2f0ad8f3
UD
206672011-09-05 Ulrich Drepper <drepper@gmail.com>
20668
d88ae418
UD
20669 * po/ja.po: Update from translation team.
20670
2f0ad8f3
UD
20671 [BZ #13144]
20672 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20673 kernel in 64-bit binaries.
20674
5f4318d1
DM
206752011-09-01 David S. Miller <davem@davemloft.net>
20676
20677 * elf/elf.h (HWCAP_SPARC_*): Move to..
20678 * sysdeps/sparc/sysdep.h: this new file and add new values.
20679 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20680 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20681 _DL_HWCAP_COUNT to 24.
20682 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20683 entries.
20684 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20685 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20686 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20687 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20688 instead of magic constants.
20689 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20690
3ba57516
DM
206912011-08-31 David S. Miller <davem@davemloft.net>
20692
20693 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20694 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20695 Reimplement to do errno handling inline.
20696 (SYSCALL_ERROR_HANDLER): New macro.
20697 (__SYSCALL_STRING): Do not do errno handling in asm.
20698 (__CLONE_SYSCALL_STRING): Delete.
20699 (__INTERNAL_SYSCALL_STRING): Delete.
20700 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20701 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20702 (PSEUDO): Reimplement to do errno handling inline.
20703 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20704 (SYSCALL_ERROR_HANDLER): New macro.
20705 (__SYSCALL_STRING): Do not do errno handling in asm.
20706 (__CLONE_SYSCALL_STRING): Delete.
20707 (__INTERNAL_SYSCALL_STRING): Delete.
20708 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20709 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20710 i386.
20711 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20712 (inline_syscall*): Add 'err' argument.
20713 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20714 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20715 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20716 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20717
20718 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20719 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20720
2bc17433
AS
207212011-08-30 Andreas Schwab <schwab@redhat.com>
20722
20723 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20724
fbeb5f4d
JO
207252011-08-29 Jiri Olsa <jolsa@redhat.com>
20726
20727 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20728 directive.
20729
ad69cc26
DM
207302011-08-24 David S. Miller <davem@davemloft.net>
20731
20732 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20733
39dd69df
AS
207342011-08-24 Andreas Schwab <schwab@redhat.com>
20735
20736 * elf/Makefile: Add rules to build and run unload8 test.
20737 * elf/unload8.c: New file.
20738 * elf/unload8mod1.c: New file.
20739 * elf/unload8mod1x.c: New file.
20740 * elf/unload8mod2.c: New file.
20741 * elf/unload8mod3.c: New file.
20742
20743 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20744 it wasn't used.
20745
2c0b250a
DM
207462011-08-23 David S. Miller <davem@davemloft.net>
20747
20748 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20749 subtract stack bias.
20750 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20751 %sp not %fp in calculations.
20752 (_JMPBUF_UNWINDS_ADJ): Likewise.
20753
22044b48
DM
20754 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20755 (aio_suspend): Call it to force an exception region around the
20756 AIO_MISC_WAIT() invocation.
20757
2cae4995
AS
207582011-08-23 Andreas Schwab <schwab@redhat.com>
20759
20760 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20761 backslash.
20762
873a772e
AJ
207632011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20764
20765 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20766 protection macro.
20767 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20768 and <dl-machine.h>.
20769 (Elf64_FuncDesc): Remove.
20770
25ad0df1
DM
207712011-08-22 David S. Miller <davem@davemloft.net>
20772
20773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20774 sigaltstack check, add missing cfi directives.
20775 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20776 missing cfi directives, and sigaltstack handling.
20777
e888bcbe
AS
207782011-08-16 Andreas Schwab <schwab@redhat.com>
20779
20780 [BZ #11724]
20781 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20782 object is seen twice.
20783 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20784
20785 * elf/Makefile (distribute): Add tst-initorder2.c.
20786 (tests): Add tst-initorder2.
20787 (modules-names): Add tst-initorder2a tst-initorder2b
20788 tst-initorder2c tst-initorder2d. Add rules to build them.
20789 ($(objpfx)tst-initorder2.out): New rule.
20790 * elf/tst-initorder2.c: New file.
20791 * elf/tst-initorder2.exp: New file.
20792
87162f46
AS
207932011-08-22 Andreas Schwab <schwab@redhat.com>
20794
70538b7f
AS
20795 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20796
f55ffe58
AS
20797 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20798 dependencies back to end of function.
20799
87162f46
AS
20800 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20801 $(elfobjdir)/ld.so.
20802
91b392a4
UD
208032011-08-21 Ulrich Drepper <drepper@gmail.com>
20804
20805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20806 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20807 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20808 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20809 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20810 of __vdso_gettimeofday.
20811 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20812 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20813 attribute_hidden.
20814 (_libc_vdso_platform_setup): Remove initialization of
20815 __vdso_gettimeofday and __vdso_time.
20816
5c43483f
UD
208172011-08-20 Ulrich Drepper <drepper@gmail.com>
20818
775a77e7
UD
20819 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20820 and fgetc_unlocked.
20821 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20822 getc_unlocked.
89f447ed 20823
49c74ba9
UD
20824 * elf/dl-open.c (add_to_global): Report additions to the global scope
20825 for LD_DEBUG=scopes.
20826 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20827 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20828
5c43483f
UD
20829 [BZ #13114]
20830 * stdio-common/Makefile (tests): Add bug24.
20831 * stdio-common/bug24.c: New file.
20832
a101b025
AJ
208332011-08-19 Andreas Jaeger <aj@suse.de>
20834
20835 [BZ #13114]
20836 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20837 non-existant file when using close-on-exec mode.
20838
c88f1766
UD
208392011-08-20 Ulrich Drepper <drepper@gmail.com>
20840
0276a718
UD
20841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20842 the very first instruction.
20843
c88f1766
UD
20844 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20845 the CFI state in the end.
20846 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20847 inclusion of dl-trampoline.h.
20848 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20849
51ccffa0
AS
208502011-08-19 Andreas Schwab <schwab@redhat.com>
20851
94d7165f
AS
20852 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20853 expectations for long double.
20854
51ccffa0
AS
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20856 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20857
fd708658 208582011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20859
20860 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20861 artificual limit depends upon the system page size.
20862
44f0a71e
UD
208632011-08-17 Ulrich Drepper <drepper@gmail.com>
20864
20865 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20866 * resolv/Makefile: Define CFLAGS-libresolv.
20867
8de79a24
AS
208682011-08-17 Andreas Schwab <schwab@redhat.com>
20869
20870 * nss/makedb.c (compute_tables): Make variables used in nested
20871 function static.
20872
27724598
UD
208732011-08-17 Ulrich Drepper <drepper@gmail.com>
20874
c5305d88
UD
20875 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20876 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20877 if buffer was too small.
20878
27724598
UD
20879 * elf/pldd.c (main): Attach to all threads in the process.
20880 Rewrite /proc handling to use *at functions.
20881
076fe015
UD
208822011-08-16 Ulrich Drepper <drepper@gmail.com>
20883
174baab3
UD
20884 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20885 specifies first scope to show.
20886 (dl_open_worker): Update callers. Move printing scope of new
20887 object to before the relocation.
44f0a71e 20888 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20889 * sysdeps/generic/ldsodefs.h: Update declaration.
20890
076fe015
UD
20891 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20892 string for the scope number.
20893
a60df2c3
UD
208942011-08-14 Ulrich Drepper <drepper@gmail.com>
20895
20896 * nscd/servicescache.c (cache_addserv): Make sure written is always
20897 initialized.
20898
5e4287d1
RM
208992011-08-14 Roland McGrath <roland@hack.frob.com>
20900
85ae0589
RM
20901 * sysdeps/i386/i486/bits/atomic.h
20902 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20903 statement expression, so as to suppress "set but not used" warning.
20904 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20905
69f63097
RM
20906 * string/strncat.c (STRNCAT): Use prototype definition.
20907
675456ef
RM
20908 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20909 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20910 -Iprograms here.
20911 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20912 (localedef-modules): Add localedef.
20913 (locale-modules): Add locale.
20914
5e4287d1
RM
20915 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20916 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20917 to avoid a warning.
20918
9c96ff23
DM
209192011-08-14 David S. Miller <davem@davemloft.net>
20920
20921 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20922 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20923
f9ddf089
UD
209242011-08-13 Ulrich Drepper <drepper@gmail.com>
20925
44f0a71e 20926 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20927 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20928 * elf/rtld.c (dl_main): Set l_name of vDSO.
20929 Call _dl_show_scope when DL_DEBUG_SCOPES.
20930 (process_dl_debug): Recognize scopes flag and also set it for all.
20931 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20932 Declare _dl_show_scope.
20933
1dc27704
UD
20934 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20935 (do_dlopen): Pass caller_dlopen to dl_open.
20936 (__libc_dlopen_mode): Initialize caller_dlopen.
20937
f9ddf089
UD
20938 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20939 of libc. Make tolower call locale-independent. Optimize a bit by
20940 using isdigit instead of isalnum.
20941 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20942
9ac533d3
UD
209432011-08-12 Ulrich Drepper <drepper@gmail.com>
20944
20945 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20946 was a dependency or dynamically loaded.
20947
89edf2e9
UD
209482011-08-11 Ulrich Drepper <drepper@gmail.com>
20949
8e999d29
UD
20950 * intl/l10nflist.c: Allow architecture-specific pop function.
20951 * sysdeps/x86_64/l10nflist.c: New file.
20952
89edf2e9
UD
20953 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20954 classification.
20955
14d96785
AS
209562011-08-10 Andreas Schwab <schwab@redhat.com>
20957
20958 * include/dirent.h: Add libc_hidden_proto for scandirat and
20959 scandirat64. Don't declare __scandirat64.
20960 * dirent/scandirat.c: Add libc_hidden_def.
20961 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20962 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20963
6761ac04
DM
209642011-08-10 David S. Miller <davem@davemloft.net>
20965
20966 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20967 enum.
20968 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20969 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20970 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20971
c55fbd1e
UD
209722011-08-09 Ulrich Drepper <drepper@gmail.com>
20973
20974 * Versions.def [libc]: Add GLIBC_2.15.
20975 * dirent/Makefile (routines): Add scandirat and scandirat64.
20976 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20977 GLIBC_2.15.
20978 * dirent/dirent.h: Declare scandirat and scandirat64.
20979 * dirent/scandirat.c: New file.
20980 * dirent/scandirat64.c: New file.
20981 * sysdeps/wordsize-64/scandirat.c: New file.
20982 * sysdeps/wordsize-64/scandirat64.c: New file.
20983 * dirent/opendir.c: Define opendirat.
20984 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20985 using scandirat.
20986 * dirent/scandir64.c: Adjust for scandir.c change.
20987 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20988 __scandirat64, and __scandir_cancel_handler.
20989 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20990 additional parameter and use openat instead of open (outside of ld.so).
20991 Add new __opendir as wrapper around __opendirat.
20992 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20993 here without requiring old scandirat implementation.
20994
879165f2
UD
209952011-08-08 Ulrich Drepper <drepper@gmail.com>
20996
20997 * dirent/scandir.c (cancel_handler): Renamed to
20998 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20999 defined. Adjust users.
21000 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
21001 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
21002
cb7e923b
UD
210032011-08-04 Ulrich Drepper <drepper@gmail.com>
21004
16292edd
UD
21005 * string/test-string.h (IMPL): Use __STRING to expand name and then
21006 stringify it.
21007
cb7e923b
UD
21008 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
21009 of cleanups.
21010
cff82933
LD
210112011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21012
21013 * string/Makefile: Update.
21014 (strop-tests): Append strncat.
21015 * string/test-wcscmp.c: New file.
21016 New comprehensive test for wcscmp.
21017 * string/test-strcmp.c: Update.
21018 (WIDE): New define.
21019
9be9bfcc
AS
210202011-07-22 Andreas Schwab <schwab@redhat.com>
21021
21022 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
21023 line.
21024
2e96f1c7
AS
210252011-07-26 Andreas Schwab <schwab@redhat.com>
21026
21027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
21028 encoding to ACE if AI_IDN.
21029
85188888
JJ
210302011-08-01 Jakub Jelinek <jakub@redhat.com>
21031
21032 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
21033 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
21034
5fa16e9b
LD
210352011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21036
21037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
21038 Fix overflow bug in strncat.
21039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21040
21041 * string/test-strncat.c: Update.
21042 Add new tests for checking overflow bugs.
21043
210442011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21045
21046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21047 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
21048 * sysdeps/i386/i686/multiarch/strcat.S: New file.
21049 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
21050 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
21051 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
21052 * sysdeps/i386/i686/multiarch/strncat.S: New file.
21053 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
21054 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
21055
21056 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
21057 (USE_AS_STRCAT): Define.
21058 Add strcat and strncat support.
21059 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21060
8c1a459f
AS
210612011-07-25 Andreas Schwab <schwab@redhat.com>
21062
21063 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
21064 __n bigger than INT_MAX+1.
21065 (__strncmp_g): Likewise.
21066
bba33c28
UD
210672011-07-23 Ulrich Drepper <drepper@gmail.com>
21068
798be72d
UD
21069 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
21070 * libio/stido.h: Likewise.
21071
8accd4dc
UD
21072 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
21073 (AF_NFC): Define.
21074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
21075 (AF_NFC): Define.
21076
cbff0d96
UD
21077 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
21078 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21079 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21080 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
21081 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21082
9191c04a
UD
21083 [BZ #13021]
21084 * scripts/test-installation.pl: Don't expect libnss_test1 to be
21085 installed.
21086
bba33c28
UD
21087 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
21088 typo.
21089 (_dl_x86_64_save_sse): Likewise.
21090
90f139dd
UD
210912011-07-22 Ulrich Drepper <drepper@gmail.com>
21092
1aae088a
UD
21093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
21094 OSXSAVE.
21095 (_dl_x86_64_save_sse): Likewise.
21096
8e2045f5
UD
21097 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
21098
90f139dd
UD
21099 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
21100
1d002f25
AS
211012011-07-21 Andreas Schwab <schwab@redhat.com>
21102
21103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
21104 change.
21105 (_dl_x86_64_save_sse): Use correct AVX check.
21106
21137f89
UD
211072011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21108
21109 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
21110 bug in strncpy/strncat.
21111 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
21112
a65c0b7a
UD
211132011-07-21 Ulrich Drepper <drepper@gmail.com>
21114
21115 * string/tester.c (test_strcat): Add tests for different alignments
21116 of source and destination.
21117 (test_strncat): Likewise.
21118
6986b98a
UD
211192011-07-20 Ulrich Drepper <drepper@gmail.com>
21120
90bb2039
UD
21121 [BZ #12852]
21122 * posix/glob.c (glob): Check passed in values before using them in
21123 expressions to avoid some overflows.
21124 (glob_in_dir): Likewise.
21125
5644ef54
UD
21126 [BZ #13007]
21127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
21128 check for AVX enablement so that we don't crash with old kernels and
21129 new hardware.
21130 * elf/tst-audit4.c: Add same checks here.
21131 * elf/tst-audit6.c: Likewise.
21132
21133 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 21134
bfc9dc9b
AS
211352011-07-09 Andreas Schwab <schwab@linux-m68k.org>
21136
21137 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
21138
702e64bb
UD
211392011-07-20 Ulrich Drepper <drepper@gmail.com>
21140
21141 * po/cs.po: Update from translation team.
21142 * po/bg.po: Likewise.
21143
295e904f
MP
211442011-07-12 Marek Polacek <mpolacek@redhat.com>
21145
21146 * misc/sys/cdefs.h: Add support for const attribute.
21147 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
21148 to gnu_dev_{major,minor,makedev} functions.
21149
3ff94596
MP
211502011-07-20 Marek Polacek <mpolacek@redhat.com>
21151
21152 * intl/dcigettext.c (get_output_charset): Add missing bracket.
21153
28b59fca
AS
211542011-07-20 Andreas Schwab <schwab@redhat.com>
21155
21156 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
21157 strlen results.
21158
19df733e
AK
211592011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21160
21161 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21162 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21163 register in order to avoid conflicts with the soft frame pointer
21164 being held in r11 when necessary.
21165 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21166 (INTERNAL_VSYSCALL_NCS): Likewise.
21167
c8835729
MP
211682011-07-14 Marek Polacek <mpolacek@redhat.com>
21169
21170 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21171 * elf/dl-fini.c (_dl_fini): Adjust caller.
21172 * elf/dl-close.c (_dl_close_worker): Likewise.
21173 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21174
b902330c
MP
211752011-07-15 Marek Polacek <mpolacek@redhat.com>
21176
8991e135
MP
21177 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21178 "aux_cache->nlibs < 0".
21179
b902330c
MP
21180 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21181 in the reload-count case.
21182
99710781
LD
211832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21184
21185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21186 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21187 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21188 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21189 * sysdeps/x86_64/multiarch/strcat.S: New file.
21190 * sysdeps/x86_64/multiarch/strncat.S: New file.
21191 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21192 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21193 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21194 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21195 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21196 (USE_AS_STRCAT): Define.
21197 Add strcat and strncat support.
21198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21199 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21200 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21201 * string/strncat.c: Update.
21202 (USE_AS_STRNCAT): Define.
21203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21204 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21205 and i7.
21206 * sysdeps/x86_64/multiarch/init-arch.h
21207 (bit_Prefer_PMINUB_for_stringop): New.
21208 (index_Prefer_PMINUB_for_stringop): Likewise.
21209 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21210 bit_Prefer_PMINUB_for_stringop.
21211
7dc6bd90
UD
212122011-07-19 Ulrich Drepper <drepper@gmail.com>
21213
21214 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21215 buffer64.
21216 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21217 of casting of buffer.
21218 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21219 buffer32 and buffer64.
21220 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21221 writes instead of casting of buffer.
21222 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21223 buffer32.
21224 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21225 casting of buffer.
21226
e0e72284
AS
212272011-07-19 Andreas Schwab <schwab@redhat.com>
21228
21229 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21230
feb1eb0b
UD
212312011-07-19 Ulrich Drepper <drepper@gmail.com>
21232
21233 * nscd/nscd.c (termination_handler): Don't do anything for a database
21234 if it has not yet been initialized.
21235
298711ff
UD
212362011-07-18 Ulrich Drepper <drepper@gmail.com>
21237
21238 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21239
212402011-07-15 Marek Polacek <mpolacek@redhat.com>
21241
21242 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21243
f9d68389
UD
212442011-07-18 Ulrich Drepper <drepper@gmail.com>
21245
21246 * po/nl.po: Update from translation team.
21247 * po/sv.po: Likewise.
21248
db290cf5
RM
212492011-07-16 Roland McGrath <roland@hack.frob.com>
21250
21251 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21252 now disallowed by GCC.
5c550700 21253
fd5e21c7
RM
21254 * configure.in (use-default-link): Default to yes if a test -shared
21255 link meets our qualifications.
21256 * configure: Regenerated.
21257
5c550700
RM
21258 * config.make.in (output-format): New variable.
21259 * configure.in: Check for ld --print-output-format support.
21260 * configure: Regenerated.
21261 * Makerules ($(common-objpfx)format.lds)
21262 [$(output-format) != unknown]: Just use $(output-format),
21263 instead of the linker-script munging.
21264
9fa2c032
RM
212652011-07-14 Roland McGrath <roland@hack.frob.com>
21266
a6928d51
RM
21267 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21268 of $(common-objpfx)shlib.lds.
21269 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21270
661607b3
RM
21271 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21272 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21273
9fa2c032
RM
21274 * configure.in (-z relro check): Adjust test code to add a large
21275 writable data section after it.
21276 * configure: Regenerated.
21277
defe9061
RM
212782011-07-11 Roland McGrath <roland@hack.frob.com>
21279
21280 * configure.in (-z relro check): Fix test code to make the variable
21281 truly const.
21282 * configure: Regenerated.
21283
319b9ad4
UD
212842011-07-11 Ulrich Drepper <drepper@gmail.com>
21285
21286 * nscd/nscd.h (struct traced_file): Define.
21287 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21288 elements. Add traced_files.
21289 (inotify_fd): Declare.
21290 (register_traced_file): Declare.
21291 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21292 (inotify_fd): Export.
21293 (resolv_conf_descr): Remove.
21294 (nscd_init): Move inotify descriptor creation to main.
21295 Don't register files for notification here.
21296 (register_traced_file): New function.
21297 (invalidate_cache): Don't use reset_res to determine whether to call
21298 res_init, go through the list of registered files.
21299 (main_loop_poll): The inotify descriptors are now stored in the
21300 structures for the traced files.
21301 (main_loop_epoll): Likewise
21302 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21303 to __nss_disable_nscd.
21304 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21305 for a database anymore. Check the records for all the registered
21306 files instead.
21307 * nss/Makefile (libnss_files-routines): Add files-init.
21308 (libnss_db-routines): Add db-init.
21309 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21310 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21311 * nss/nss_db/db-init.c: New file.
21312 * nss/nss_files/files-init.c: New file.
21313 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21314 __nss_lookup_function.
21315 (__nss_lookup_function): Call nss_load_library.
21316 (nss_load_all_libraries): New function.
21317 (__nss_disable_nscd): Take parameter with callback function for files
21318 to register. Set is_nscd. Load all the DSOs for the NSS modules
21319 used for the cached services.
21320 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21321 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21322 options for features to all the files in nscd.
21323
21324 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21325
23bee3e8
RM
213262011-07-10 Roland McGrath <roland@hack.frob.com>
21327
21328 * csu/elf-init.c (__libc_csu_init): Comment typo.
21329
46a5b7f0
UD
213302011-07-09 Ulrich Drepper <drepper@gmail.com>
21331
21332 * po/pl.po: Update from translation team.
21333 * po/ja.po: Likewise.
21334 * po/ru.po: Likewise.
21335 * po/ko.po: Likewise.
21336 * po/fr.po: Likewise.
21337
d30cf5bb
RM
213382011-07-09 Roland McGrath <roland@hack.frob.com>
21339
113ddea4
RM
21340 * configure.in (.ctors/.dtors header and trailer check):
21341 Use an empirical test on a built program.
21342 * configure: Regenerated.
21343
574920b4
RM
21344 * configure.in (-z relro check): Use an empirical test on a built DSO.
21345 Detect, but do not require, on ia64.
21346 * configure: Regenerated.
21347
d30cf5bb
RM
21348 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21349 Update tests that use readelf to use $READELF instead.
21350 * configure: Regenerated.
21351
8538fdb3
UD
213522011-07-08 Ulrich Drepper <drepper@gmail.com>
21353
21354 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21355 if the result is not used.
21356
04d08991
AJ
213572011-07-05 Andreas Jaeger <aj@suse.de>
21358
21359 [BZ#9696]
21360 * stdlib/tst-strtod.c: Add testcase.
21361
de283087
AD
213622011-07-07 Ulrich Drepper <drepper@gmail.com>
21363
4e5f31c8 21364 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21365 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21366 The latter has a higher limit. Take additional parameter to pass to
21367 the new function.
21368 (__pathconf): Pass file to __statfs_link_max.
21369 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21370 __statfs_link_max.
21371 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21372 __statfs_link_max.
21373
de283087
AD
21374 [BZ #12868]
21375 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21376 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21377 Handle Lustre.
21378 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21379 (__statfs_filesize_max): Likewise.
21380 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21381
c75fa153
AJ
213822011-07-05 Andreas Jaeger <aj@suse.de>
21383
21384 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21385
1a544854
UD
213862011-07-06 Marek Polacek <mpolacek@redhat.com>
21387
21388 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21389 `status' variable.
21390 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21391 Likewise.
21392
6f0eec67
UD
213932011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21394
21395 * Makefile (strop-tests): Add strncat.
21396 * string/test-strncat.c: New file.
21397
aae30307
UD
213982011-06-30 Marek Polacek <mpolacek@redhat.com>
21399
21400 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21401
c0cfb5eb
UD
214022011-06-21 Andreas Jaeger <aj@suse.de>
21403
21404 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21405 Copy rule from iconvdata/Makefile.
21406
01636b21
UD
214072011-07-06 Ulrich Drepper <drepper@gmail.com>
21408
21409 [BZ #12922]
21410 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21411 but no long options are defined, just return 'W'.
21412
9895c8bc
UD
214132011-06-22 Marek Polacek <mpolacek@redhat.com>
21414
21415 [BZ #9696]
21416 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21417
5d4cf042
UD
214182011-07-06 Ulrich Drepper <drepper@gmail.com>
21419
21420 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21421 netgroups to read.
960e5535 21422 (innetgr): Likewise.
5d4cf042 21423
751eb97e
RM
214242011-07-05 Roland McGrath <roland@hack.frob.com>
21425
21426 * config.make.in (install_root): Default to $(DESTDIR).
21427
f15f1e45
UD
214282011-07-05 Ulrich Drepper <drepper@gmail.com>
21429
21430 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21431
4e34ac6a
RM
214322011-07-02 Roland McGrath <roland@hack.frob.com>
21433
5e9b6af4
RM
21434 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21435
84f9ea0f
RM
21436 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21437 containing directory rather than embedding absolute directory names.
21438
ea5ee9f7
RM
21439 * scripts/check-local-headers.sh: Rewritten using awk.
21440 Match by word, not by line. Print error messages for matches.
21441 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21442
1b74661a
RM
21443 * Makerules [shlib-lds-flags empty]:
21444 ($(common-objpfx)libc_pic.opts): New target.
21445 ($(common-objpfx)libc_pic.os.clean): New target.
21446 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21447
21448 * config.make.in (OBJCOPY): New variable.
21449 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21450 * configure: Regenerated.
21451
f781ef40
RM
21452 * config.make.in (use-default-link): New variable.
21453 * configure.in (use_default_link): Grok --with-default-link to set it.
21454 * configure: Regenerated.
21455 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21456 (shlib-lds, shlib-lds-flags): Define to empty.
21457
2d4fa81e
RM
21458 * Makerules (shlib-lds): New variable.
21459 (shlib-lds-flags): New variable.
21460 (build-shlib, build-moduile, build-module-asneeded): Use it.
21461 ($(common-objpfx)libc.so): Use $(shlib-lds).
21462 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21463 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21464
31fffa6b
RM
21465 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21466 DT_FLAGS/DT_FLAGS_1 with zero flags.
21467
4e34ac6a
RM
21468 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21469 linker script munging.
21470
fcfc776b
UD
214712011-07-02 Ulrich Drepper <drepper@gmail.com>
21472
21473 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21474 as 128-bit value.
21475 * crypt/sha512.c (sha512_process_block): Perform total addition using
21476 128-bit if possible.
21477 (__sha512_finish_ctx): Likewise.
21478 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21479 as 64-bit value.
21480 * crypt/sha256.c (SWAP64): Define.
21481 (sha256_process_block): Perform total addition using 64-bit if
21482 possible.
21483 (__sha256_finish_ctx): Likewise.
21484
99231d9a
UD
214852011-07-01 Ulrich Drepper <drepper@gmail.com>
21486
21487 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21488 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21489 * nscd/hstcache.c (cache_addhst): Likewise.
21490 * nscd/grpcache.c (cache_addgr): Likewise.
21491 * nscd/aicache.c (addhstaiX): Likewise
21492 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21493
445b4a53
TK
214942011-07-01 Thorsten Kukuk <kukuk@suse.de>
21495
21496 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21497 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21498 * nscd/hstcache.c (cache_addhst): Likewise.
21499 * nscd/grpcache.c (cache_addgr): Likewise.
21500 * nscd/aicache.c (addhstaiX): Likewise
21501
6d4d8e8e
AS
215022011-07-01 Andreas Schwab <schwab@redhat.com>
21503
21504 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21505 domain only when needed.
21506
89f654c5
AS
215072011-06-30 Andreas Schwab <schwab@redhat.com>
21508
21509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21510 is always restored.
21511
cf3b23ff
UD
215122011-06-29 Ulrich Drepper <drepper@gmail.com>
21513
21514 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21515 are re-adding the entry.
21516 * nscd/servicescache.c (cache_addserv): Likewise.
21517
751626f9
AJ
215182011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21519
21520 * sysdeps/generic/dl-irel.h: fix protection against multiple
21521 inclusions.
21522 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21523
9113ea1f
UD
215242011-06-28 Ulrich Drepper <drepper@gmail.com>
21525
5c0b8d90
UD
21526 [BZ #12935]
21527 * malloc/memusage.sh: Fix quoting in message.
21528 * debug/xtrace.sh: Likewise.
21529
9113ea1f
UD
21530 * configure.in: Remove support for --experimental-malloc option, make
21531 it the default.
21532 * config.make.in: Likewise.
21533 * malloc/Makefile: Likewise.
21534
a4172181
AS
215352011-06-27 Andreas Schwab <schwab@redhat.com>
21536
21537 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21538 two-byte characters.
21539
78a7eee7
RM
215402011-06-27 Roland McGrath <roland@hack.frob.com>
21541
62bede13
RM
21542 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21543 AC_CACHE_CHECK invocation.
21544 * configure: Regenerated.
21545
78a7eee7
RM
21546 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21547
5ce33a62
UD
215482011-06-27 Ulrich Drepper <drepper@gmail.com>
21549
034807a9
UD
21550 [BZ #12350]
21551 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21552 bit from old_res_options.
21553
4902da17
UD
21554 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21555
5ce33a62
UD
21556 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21557 value type for setfct.
21558
c2344f56
L
215592011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21560
21561 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21562 __gettimeofday instead of gettimeofday.
21563
68468076
UD
215642011-06-26 Ulrich Drepper <drepper@gmail.com>
21565
21566 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21567
acb0d739
L
215682011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21569
21570 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21571
21572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21573 info.
21574
8912479f
L
215752011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21576
21577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21578 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21579 strcpy-sse2-unaligned strncpy-sse2-unaligned
21580 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21581 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21582 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21583 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21584 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21585 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21586 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21587 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21588 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21589 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21590 (STRCPY): Support SSE2 and SSSE3 versions.
21591
d5495a11
UD
215922011-06-24 Ulrich Drepper <drepper@gmail.com>
21593
21594 [BZ #12874]
21595 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21596 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21597 kernels which artificially limit size of requests.
21598
0b1cbaae
L
215992011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21600
21601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21602 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21603 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21604 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21605 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21606 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21607 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21608 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21609 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21610 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21611 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21612 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21613 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21614 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21615 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21617 Enable unaligned load optimization for Intel Core i3, i5 and i7
21618 processors.
21619 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21620 Define.
21621 (index_Fast_Unaligned_Load): Define.
21622 (HAS_FAST_UNALIGNED_LOAD): Define.
21623
07f494a0
MP
216242011-06-23 Marek Polacek <mpolacek@redhat.com>
21625
21626 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21627
fa3fc0fe
UD
216282011-06-22 Ulrich Drepper <drepper@gmail.com>
21629
21630 [BZ #12907]
21631 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21632 until it is clear that the information is realy needed.
21633 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21634
e12df166
AS
216352011-06-22 Andreas Schwab <schwab@redhat.com>
21636
21637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21638
852eb34d
UD
216392011-06-22 Ulrich Drepper <drepper@gmail.com>
21640
84e2a551
UD
21641 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21642 /sys/devices/system/cpu/online if it is usable.
21643
852eb34d
UD
21644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21645 reading the information from the /proc filesystem to once a second.
21646
6e502e19
UD
216472011-06-21 Andreas Jaeger <aj@suse.de>
21648
21649 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21650 NULL after inclusion of kernel headers.
21651
75d39ff2
UD
216522011-06-21 Ulrich Drepper <drepper@gmail.com>
21653
51f9aa6a
UD
21654 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21655 calls to internal_setent.
21656
c0244a9d
UD
21657 [BZ #12885]
21658 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21659 addresses using gethostbyname4_r ignore IPv4 addresses.
21660
c5e3c2ae
UD
21661 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21662 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21663
75d39ff2
UD
21664 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21665
42675c6f
DM
216662011-06-20 David S. Miller <davem@davemloft.net>
21667
21668 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21669 inclusions.
21670 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21671
21672 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21673 (elf_irel): Use it.
21674 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21675 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21676 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21677 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21678 * sysdeps/x86_64/dl-irel.h: Likewise.
21679
21680 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21681 * elf/dl-sym.c: Likewise.
21682
57912a71
UD
216832011-06-15 Ulrich Drepper <drepper@gmail.com>
21684
21685 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21686 need to dereference resplen2.
21687
ee22793d
AS
216882011-06-14 Andreas Schwab <schwab@redhat.com>
21689
21690 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21691
a9e836b0
UD
216922011-06-15 Ulrich Drepper <drepper@gmail.com>
21693
77fb9117
UD
21694 * Makeconfig: Define vardbdir and inst_vardbdir.
21695 * nss/Makefile: Add rules to install db-Makefile.
21696
40c1b22c
UD
21697 * nss/nss_db/db-XXX.c: Cleanup.
21698
9f2da732
UD
21699 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21700 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21701 GLIBC_PRIVATE.
21702 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21703 * nss/makedb.c: Implement -g option to specify that value strings
21704 are generated and should not be added to table iterated over for
21705 get*ent calls.
21706 * nss/nss_db/db-initgroups.c: New file.
21707
82e9a1f7
UD
21708 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21709 interface.
21710
c41af17e
UD
21711 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21712 (internal_getgrouplist): Adjust to name change.
21713 Update use_initgroups_entry if this is not the first call.
21714 * nss/databases.def: Add initgroups entry.
21715
a9e836b0
UD
21716 * nss/makedb.c (compute_tables): Check result of multiple hash table
21717 sizes to minimize maximum chain length.
21718
2666d441
UD
217192011-06-14 Ulrich Drepper <drepper@gmail.com>
21720
21721 * Versions.def: Add entry for libnss_db.
21722 * shlib-versions: Likewise.
21723 * nss/Makefile: Add rules to build libnss_db.
21724 * nss/Versions: Add libnss_db information. Organize libnss_files
21725 entries better.
21726 * nss/db-Makefile: Add gshadow support. Change rules for the new
21727 makedb progra. Some minor improvements to generate smaller files.
21728 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21729 here from...
21730 * nss/makedb.c: ...here.
21731 Improve database format to be smaller and require less memory at
21732 runtime.
21733 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21734 db anymore.
21735 * nss/nss_db/db-netgrp.c: Likewise.
21736 * nss/nss_db/db-open.c: Likewise.
21737 * nss/nss_files/flies-XXX.x: Adjust comments.
21738 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21739 * nss/nss_files/files-grp.c: Likewise.
21740 * nss/nss_files/files-hosts.c: Likewise.
21741 * nss/nss_files/files-network.c: Likewise.
21742 * nss/nss_files/files-proto.c: Likewise.
21743 * nss/nss_files/files-pwd.c: Likewise.
21744 * nss/nss_files/files-rpc.c: Likewise.
21745 * nss/nss_files/files-service.c: Likewise.
21746 * nss/nss_files/files-sgrp.c: Likewise.
21747 * nss/nss_files/files-spwd.c: Likewise.
21748 * nss/nss_db/db-alias.c: Removed.
21749 * nss/nss_db/dummy-db.h: Removed.
21750
9ee76b5a
UD
217512011-06-02 Ulrich Drepper <drepper@gmail.com>
21752
21753 * nss/makedb.c: Rewritten to not use database library.
21754 * nss/Makefile: Update to build new makedb program.
21755
c71ca1f8
AJ
217562011-06-14 Andreas Jaeger <aj@suse.de>
21757
21758 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21759 memset declaration.
21760
3154bfb8
UD
217612011-06-10 Andreas Schwab <schwab@redhat.com>
21762
21763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21764 tmpbuf.
21765
b350afab
RM
217662011-06-10 Roland McGrath <roland@hack.frob.com>
21767
decd4e50
RM
21768 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21769 * elf/Makefile ($(objpfx)ld.so): Likewise.
21770
5615eaf2
RM
21771 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21772 Don't list ld.so twice in dependencies.
21773
21774 * posix/bug-regex31.c: Include <stdlib.h>.
21775
21776 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21777
21778 * nis/nss_compat/compat-spwd.c
21779 (getspent_next_nss_netgr): Remove unused variable.
21780 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21781
21782 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21783 nonmembers" output to use the right array.
21784
21785 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21786
21787 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21788
21789 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21790 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21791 * catgets/gencat.c (read_input_file): Likewise.
21792 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21793
21794 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21795 variable definition inside #if's controlling its use.
21796
21797 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21798
21799 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21800
21801 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21802
21803 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21804 unreachable code.
21805
21806 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21807
b68e08db
RM
21808 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21809 * configure: Regenerated.
21810
b350afab
RM
21811 * Makerules: Revert last change.
21812 * elf/Makefile: Likewise.
21813
28368601
RM
218142011-06-09 Roland McGrath <roland@hack.frob.com>
21815
21816 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21817 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21818 (reloc-link): Likewise.
21819
11988f8f
UD
218202011-06-09 Ulrich Drepper <drepper@gmail.com>
21821
21822 * elf/Makefile: Add rules to build pldd.
21823 * elf/pldd.c: New file.
21824 * elf/pldd-xx.c: New file.
21825
e80fab37
UD
218262011-06-07 Ulrich Drepper <drepper@gmail.com>
21827
21828 * version.h: Update for 2.15 development version.
21829
9b849836
DM
218302011-06-07 David S. Miller <davem@davemloft.net>
21831
21832 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21833 ifuncs.
21834 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21835 elf_machine_lazy_rel): Likewise.
21836 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21838 elf_machine_lazy_rel): Likewise.
21839 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21840 dl_hwcap via passed in argument.
21841 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21842 Likewise.
21843
5a31b283
AK
218442011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21845
21846 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21847
069e52f8
RM
218482011-06-06 Roland McGrath <roland@hack.frob.com>
21849
21850 [BZ #12849]
21851 * manual/fdl-1.1.texi: New file, verbatim from:
21852 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21853 * manual/lgpl-2.1.texi: New file, verbatim from:
21854 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21855 * manual/Makefile (licenses): New variable, list those new file names.
21856 (texis): Use it.
21857 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21858
21859 * manual/fdl.texi: File removed.
21860 * manual/lesser.texi: File removed.
21861 * manual/libc.texinfo (Copying, Documentation License):
21862 Use new @include file names, put @appendix directive before @include.
21863
f16846a5
JJ
218642011-06-04 Jakub Jelinek <jakub@redhat.com>
21865
21866 [BZ #12841]
21867 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21868 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21869 (mq_open): Add __NTH.
21870
3d29045b
L
218712011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21872
21873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21874 Assume Intel Core i3/i5/i7 processor if AVX is available.
21875
8c297311
UD
218762011-05-31 Ulrich Drepper <drepper@gmail.com>
21877
21878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21879 typo.
21880
c8fc0c91
UD
218812011-05-31 Andreas Schwab <schwab@redhat.com>
21882
21883 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21884 memory. Use alloca_account. Fix memory leak when retrying.
21885
5b27a807
UD
218862011-05-31 Ulrich Drepper <drepper@gmail.com>
21887
356f8bc6
UD
21888 * version.h (RELEASE): Bump for 2.14 release.
21889 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21890
5b27a807
UD
21891 * config.make.in (RANLIB): Remove entry.
21892
01f16ab0
UD
218932011-05-30 Ulrich Drepper <drepper@gmail.com>
21894
41fce8bd
UD
21895 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21896 (libc.pot): Work around missing support for .ksh extension in xgettext.
21897
4769ae77
UD
21898 [BZ #12684]
21899 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21900 if both request failed.
21901 (send_dg): In case of server errors clear resplen or *resplen2.
21902
6b1e7d19
UD
21903 [BZ #12454]
21904 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21905 when there are multiple maps.
21906 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21907 (_dl_fini): Remove test here.
21908
01f16ab0
UD
21909 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21910
b1ebd700
UD
219112011-05-29 Ulrich Drepper <drepper@gmail.com>
21912
7ae22829
UD
21913 [BZ #12350]
21914 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21915 bit from old_res_options.
21916 (gaih_inet): Likewise.
21917
553149f6 21918 [BZ #11099]
18a84741 21919 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21920 as signed.
21921
652ffab1
UD
21922 * resolv/res_init.c (res_setoptions): Make the code more compact.
21923
16985fd0
UD
21924 [BZ #11558]
21925 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21926 set RES_USEVC.
21927
0464f746
UD
21928 [BZ #11634]
21929 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21930
7d17596c
UD
21931 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21932
cf6bbbd7
UD
21933 [BZ #11781]
21934 * malloc/malloc.h: Declare malloc hook variables as volatile.
21935
13f1ab36
UD
21936 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21937 in last patch.
21938
b1ebd700
UD
21939 [BZ #11799]
21940 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21941 raise in the comment.
80e2212d
UD
21942 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21943 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21944 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21945
ce67228d
UD
219462011-05-28 Ulrich Drepper <drepper@gmail.com>
21947
8887a920
UD
21948 [BZ #12811]
21949 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21950 grow the buffers more if it already has to be sufficient.
21951 (build_wcs_upper_buffer): Likewise.
21952 * posix/regexec.c (check_matching): Likewise.
21953 (clean_state_log_if_needed): Likewise.
21954 (extend_buffers): Don't enlarge buffers beyond size of the input
21955 buffer.
21956 Patches mostly by Emil Wojak <emil@wojak.eu>.
21957 * posix/bug-regex32.c: New file.
21958 * posix/Makefile (tests): Add bug-regex32.
21959
4f031072
UD
21960 * locale/findlocale.c (_nl_find_locale): Return right away if
21961 _nl_explode_name failed.
21962 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21963
d0478f0c
UD
21964 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21965
de81b246
UD
21966 * debug/xtrace.sh: Unify messages.
21967 * malloc/memusage.sh: Likewise.
21968
c738465a
UD
21969 [BZ #12813]
21970 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21971 time symbol from vDSO. Substitute with vsyscall if not available.
21972 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21973 __vdso_time.
21974
f1f929d7
UD
21975 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21976 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21977 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21978 Add sendmmsg and internal_sendmmsg.
21979 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21980 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21981 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21982
ce67228d
UD
21983 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21984 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21985 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21986
e57420c6
UD
219872011-05-27 Ulrich Drepper <drepper@gmail.com>
21988
a8509ca5
UD
21989 [BZ #12813]
21990 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21991 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21992 available.
21993 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21994 __vdso_getcpu.
21995
e57420c6
UD
21996 [BZ #12814]
21997 * iconvdata/Makefile (tests): Add bug-iconv9.
21998 * iconvdata/bug-iconv9.c: New file.
21999
4d07db15
AS
220002011-05-27 Andreas Schwab <schwab@redhat.com>
22001
22002 [BZ #12814]
22003 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
22004
ea486f69
JJ
220052011-05-25 Jakub Jelinek <jakub@redhat.com>
22006
22007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22008 (struct user_regs_struct): Change intcs field back to cs.
22009
6f038433
UD
220102011-05-25 Ulrich Drepper <drepper@gmail.com>
22011
22012 * po/ja.po: Update from translation team.
22013
67f86a25
UD
220142011-05-23 Ulrich Drepper <drepper@gmail.com>
22015
22016 [BZ #12795]
22017 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
22018 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
22019
def7fbd6
AS
220202011-05-20 Andreas Schwab <schwab@redhat.com>
22021
22022 * stdlib/longlong.h: Update from GCC.
22023
f50ef8f1
AS
220242011-05-23 Andreas Schwab <schwab@redhat.com>
22025
22026 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
22027 parameter name.
22028 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
22029 Add parameter name.
22030 (__sysconf): Pass it down.
22031
de7ce8f1
UD
220322011-05-22 Ulrich Drepper <drepper@gmail.com>
22033
f2962a71
UD
22034 [BZ #12671]
22035 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
22036 some situations.
22037 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22038 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
22039 add in in __libc_use_alloca calls. Adjust callers.
22040 (glob): Use malloc in some situations.
22041
de7ce8f1
UD
22042 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
22043 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
22044 pltexit.
22045
aec84f53
UD
220462011-05-21 Ulrich Drepper <drepper@gmail.com>
22047
05bb4a68
UD
22048 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
22049 and CLOCK_BOOTTIME_ALARM.
22050
7ea72f99
UD
22051 [BZ #12782]
22052 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
22053 is returned.
22054
7e4afad5
UD
22055 * string/_strerror.c (__strerror_r): Print negative errors as signed
22056 numbers.
22057
8e211fec
UD
22058 [BZ #12777]
22059 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
22060 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
22061 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
22062
f7d82dc9
UD
22063 * configure.in: Fix typo in redirection and correct removal of test
22064 files in two cases.
22065
cc9e536d
UD
22066 [BZ #12788]
22067 * locale/setlocale.c (new_composite_name): Fix test to check for
22068 identical name of all categories.
22069
aec84f53
UD
22070 [BZ #12792]
22071 * libio/filedoalloc.c (local_isatty): New function.
22072 (_IO_file_doallocate): Use local_isatty.
22073 * stdio-common/perror.c (perror): In case a new stream is used
22074 forward the stream error.
22075 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
22076 error flag.
22077
78e64fdc
RT
220782011-05-20 Ulrich Drepper <drepper@gmail.com>
22079
34a9094f
UD
22080 [BZ #11869]
22081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
22082 alloca.
22083 * include/alloca.h (extend_alloca_account): Define.
22084
78e64fdc
RT
22085 [BZ #11857]
22086 * posix/regex.h: Fix comments with documentation of user-accessible
22087 fields after compilation and describe correct free'ing of pattern
22088 after re_compile_pattern.
22089 Patch by Reuben Thomas <rrt@sc3d.org>.
22090
457bddfc
RA
220912011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
22092
22093 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
22094 and -mno-altivec to prevent the compiler from using Altivec and/or
22095 VSX instructions when the corresponding registers are not available.
22096
a4527b51
AS
220972011-05-19 Andreas Schwab <schwab@redhat.com>
22098
22099 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
22100
ed690b2f
UD
221012011-05-19 Ulrich Drepper <drepper@gmail.com>
22102
22103 * libio/freopen.c (freopen): Use __dup2, not dup2.
22104 * libio/freopen64.c (freopen64): Likewise.
22105
8db73634
L
221062011-05-17 H.J. Lu <hongjiu.lu@intel.com>
22107
22108 [BZ #12775]
22109 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
22110 * math/Makefile (tests): Add test-powl.
22111 (CFLAGS-test-powl.c): Define.
22112 * math/test-powl.c: New file.
22113
0a197a9d
L
221142011-05-16 H.J. Lu <hongjiu.lu@intel.com>
22115
22116 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
22117
ee30c380
UD
221182011-05-17 Ulrich Drepper <drepper@gmail.com>
22119
22120 [BZ #11837]
22121 * iconvdata/gb18030.c: Update to GB18020-2005.
22122
6ce75379
UD
221232011-05-16 Ulrich Drepper <drepper@gmail.com>
22124
a4b89fd8
AR
22125 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
22126 RE_SYNTAX_POSIX_AWK): Update to match recent development.
22127 Patch by Aharon Robbins <arnold@skeeve.com>.
22128
ea389b12
UD
22129 [BZ #11892]
22130 * stdlib/putenv.c (putenv): Don't always create copy of the variable
22131 on the stack.
22132
68a3f91f
UD
22133 [BZ #11895]
22134 * misc/pselect.c (__pselect): Handle timeout value errors hidden
22135 through underflows.
22136
15cc7dd1
UD
22137 [BZ #12766]
22138 * misc/error.c (error_at_line): Ensure file_name and old_file_name
22139 point to strings before performing equality test for error_one_per_line
22140 mode.
22141
f3799213
UD
22142 [BZ #11697]
22143 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
22144
d79a9c94
UD
22145 [BZ #11820]
22146 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
22147 (struct user_fpregs_struct): Avoid __uint*_t types.
22148
56e5eb46
UD
22149 [BZ #6420]
22150 * malloc/mtrace.c (tr_where): Add additional parameter to point to
22151 symbol info. Use it instead of calling _dl_addr locally.
22152 (lock_and_info): New function.
22153 (tr_freehook): Call lock_and_info and pass symbol info as additional
22154 parameter to tr_where.
22155 (tr_mallochook): Likewise.
22156 (tr_reallochook): Likewise.
22157 (tr_memalignhook): Likewise.
22158
6ce75379
UD
22159 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
22160 used and couldn't be at all thread-safe.
22161
f8a3b5bf
UD
221622011-05-15 Ulrich Drepper <drepper@gmail.com>
22163
94b7cc37
UD
22164 * libio/freopen.c (freopen): Don't close old file descriptor
22165 before the new one is opened. Instead dup the new file descriptor
22166 to the old one after the new stream is created.
22167 * libio/freopen64.c (freopen64): Likewise.
22168 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22169 * libio/fileops.c (_IO_new_file_close_it): Handle new
22170 _IO_FLAGS2_NOCLOSE flag.
22171 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22172 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22173 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22174 _IO_FLAGS2_NOCLOSE flag.
22175 * include/unistd.h: Add hidden_proto for dup3.
22176 Define __have_dup3.
22177 * io/dup3.c: Define hidden symbol.
22178 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22179
bd25564e
UD
22180 [BZ #7101]
22181 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22182 when an incomplete long option is used.
22183 * posix/tst-getopt_long1.c: New file.
22184 * posix/Makefile (tests): Add tst-getopt_long1.
22185
c84cfef4
UD
22186 [BZ #10138]
22187 * scripts/config.guess: Update from autoconf-2.68.
22188 * scripts/config.sub: Likewise.
22189
3b85df27
UD
22190 [BZ #10157]
22191 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22192 tests into ...
22193 (has_cpuclock): ...this. New function.
22194 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22195 macro here based on has_cpuclock code.
22196
15a856b1
UD
22197 [BZ #10149]
22198 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22199 First byte (not low byte) is now always NUL.
22200 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22201
05f399e6
UD
22202 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22203 Use non-cancelable interfaces.
22204
10a52685 22205 [BZ #9809]
94ecc67d
UD
22206 * locale/iso-639.def: Add entry for Sorani.
22207
f8a3b5bf
UD
22208 [BZ #11901]
22209 * include/stdlib.h: Move include protection to the right place.
22210 Define abort_msg_s. Declare __abort_msg with it.
22211 * stdlib/abort.c (__abort_msg): Adjust type.
22212 * assert/assert.c (__assert_fail_base): New function. Majority
22213 of code from __assert_fail. Allocate memory for __abort_msg with
22214 mmap.
22215 (__assert_fail): Now call __assert_fail_base.
22216 * assert/assert-perr.c: Remove bulk of implementation. Use
22217 __assert_fail_base.
22218 * include/assert.hL Declare __assert_fail_base.
22219 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22220 mmap.
22221 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22222
1af4e298
UD
222232011-05-14 Ulrich Drepper <drepper@gmail.com>
22224
f8a3b5bf 22225 [BZ #11952]
d26dfc60
MG
22226 [BZ #12453]
22227 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22228 until all modules are registered in the DTV.
22229 * elf/Makefile: Add rules to build and run tst-tls19.
22230 * elf/tst-tls19.c: New file.
22231 * elf/tst-tls19mod1.c: New file.
22232 * elf/tst-tls19mod2.c: New file.
22233 * elf/tst-tls19mod3.c: New file.
22234 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22235
2fc54d6f
UD
22236 [BZ #12083]
22237 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22238 correctly.
22239
98d76b46
UD
22240 [BZ #12601]
22241 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22242 two-byte sequence errors.
22243 * iconvdata/Makefile (tests): Add bug-iconv8.
22244 * iconvdata/bug-iconv8.c: New file.
22245
da3c19ef
UD
22246 [BZ #12626]
22247 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22248 buf2 definition.
22249
ca408c15
UD
22250 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22251
d6f67f7d
UD
22252 [BZ #12432]
22253 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22254 (dummy_getcfa): New function.
22255 (init): Get _Unwind_GetCFA address, use dummy if not found.
22256 (backtrace_helper): In recursion check, also check whether CFA changes.
22257 (__backtrace): Completely initialize arg.
22258
1af4e298 22259 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22260 storing incomplete byte sequence in state object. Avoid testing for
22261 guaranteed too small input if we know there is enough data available.
1af4e298 22262
da62f81b
AS
222632011-05-11 Andreas Schwab <schwab@redhat.com>
22264
22265 * Makeconfig (+link-pie): Indent.
22266 * Rules (binaries-pie): Define if $(have-fpie) and
22267 $(build-shared).
22268 (binaries-shared): Also filter out $(binaries-pie).
22269 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22270 * nscd/Makefile (others-pie): Add nscd.
22271 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22272 ($(objpfx)nscd): Remove command override.
22273 * login/Makefile (others-pie): Add pt_chown.
22274 ($(objpfx)pt_chown): Remove command override.
22275 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22276 remove command overrides.
22277
fcabc0f8
UD
222782011-05-13 Ulrich Drepper <drepper@gmail.com>
22279
20030ae6
UD
22280 * libio/tst_putwc.c: Fix error messages.
22281
fcabc0f8
UD
22282 [BZ #12724]
22283 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22284 currently writing and seek to current position when not.
22285 * libio/Makefile (tests): Add bug-fclose1.
22286 * libio/bug-fclose1.c: New file.
22287
320a5dc0
PB
222882011-05-12 Ulrich Drepper <drepper@gmail.com>
22289
22290 [BZ #12511]
22291 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22292 don't set DF_1_NODELETE here.
22293 (do_lookup_x): When entering new entry test for copy relocation
22294 and if necessary set DF_1_NODELETE flag.
22295 * elf/tst-unique4.cc: New file.
22296 * elf/tst-unique4.h: New file.
22297 * elf/tst-unique4lib.cc: New file.
22298 * elf/Makefile: Add rules to build and run tst-unique4.
22299 Patch by Piotr Bury <pbury@goahead.com>.
22300
22836f52
UD
223012011-05-11 Ulrich Drepper <drepper@gmail.com>
22302
f574184a
UD
22303 [BZ #12052]
22304 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22305
e1fb097f
UD
22306 [BZ #12625]
22307 * misc/mntent_r.c (addmntent): Flush the stream after the output
22308
22836f52
UD
22309 [BZ #12393]
22310 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22311 (is_trusted_path_normalize): Skip initial colon. Append slash
22312 to empty buffer. Duplicate is_trusted_path code but allow
22313 constructed patch to be prefix.
22314 (is_dst): Allow $ORIGIN followed by /.
22315 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22316 Correct testing of result of is_trusted_path_normalize
22317 (decompose_rpath): Fix warning.
22318
7b3b0b2a
UD
223192011-05-10 Ulrich Drepper <drepper@gmail.com>
22320
22321 [BZ #11257]
22322 * grp/initgroups.c (internal_getgrouplist): When we found the service
22323 list through the initgroups entry in nsswitch.conf do not always
22324 continue on a successful lookup. Don't always use the
eac80ce2 22325 __nss_group_database value if it is set.
7b3b0b2a
UD
22326 * nss/nsswitch.conf (initgroups): Change action for successful db
22327 lookup to continue for compatibility.
22328
2a81eaa5
UD
223292011-05-09 Ulrich Drepper <drepper@gmail.com>
22330
be97a69e
UD
22331 [BZ #11532]
22332 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22333 and CP774 modules.
22334 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22335 and CP774 modules.
22336 * iconvdata/tst-tables.sh: Likewise.
22337 * iconvdata/cp770.c: New file.
22338 * iconvdata/cp771.c: New file.
22339 * iconvdata/cp772.c: New file.
22340 * iconvdata/cp773.c: New file.
22341 * iconvdata/cp774.c: New file.
22342 * iconvdata/testdata/CP770: New file.
22343 * iconvdata/testdata/CP770..UTF8: New file.
22344 * iconvdata/testdata/CP771: New file.
22345 * iconvdata/testdata/CP771..UTF8: New file.
22346 * iconvdata/testdata/CP772: New file.
22347 * iconvdata/testdata/CP772..UTF8: New file.
22348 * iconvdata/testdata/CP773: New file.
22349 * iconvdata/testdata/CP773..UTF8: New file.
22350 * iconvdata/testdata/CP774: New file.
22351 * iconvdata/testdata/CP774..UTF8: New file.
22352
22353 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22354 END CHARMAP line.
22355 * iconvdata/gen-8bit-gap.sh: Likewise.
22356 * iconvdata/gen-8bit.sh: Likewise.
22357
c1e9e399
UD
22358 * locale/iso-639.def: Add ary entry.
22359
24c55fb3 22360 [BZ #11258]
96b4b1b0
UD
22361 * locale/C-translit.h.in: Add U20A1 transliteration.
22362
bdc2f971
KB
22363 [BZ #12178]
22364 * locale/iso-639.def: Add wae entry.
22365 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22366
2952b117
UD
22367 [BZ #12545]
22368 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22369 for n.
22370
2a81eaa5
UD
22371 [BZ #12711]
22372 * locale/C-translit.h.in: Add entry for U20B9.
22373 Patch by pravin.d.s@gmail.com.
22374
28377d1b
UD
223752011-05-08 Ulrich Drepper <drepper@gmail.com>
22376
7fb90fb8
UD
22377 [BZ #12713]
22378 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22379 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22380 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22381 in rtld. Use *stat64.
7fb90fb8 22382 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22383 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22384 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22385 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22386 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22387 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22388 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22389 __fstatat64 macros.
7fb90fb8
UD
22390 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22391 * dirent/rewinddir.c: Add libc_hidden_def.
22392 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22393 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22394
28377d1b
UD
22395 * include/dirent.h (__alloc_dir): Add flags parameter.
22396 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22397 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22398 __alloc_dir.
22399 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22400 from fdopendir if O_CLOEXEC is already set.
22401
66bdbaa4
AM
224022011-03-15 Alan Modra <amodra@gmail.com>
22403
22404 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22405 l_tls_firstbyte_offset non-zero. Save padding offset in
22406 l_tls_firstbyte_offset for later use.
22407 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22408 freeing static tls block.
22409
95721191
JN
224102011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22411
22412 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22413 where #ifdef was intended. The intent is to prevent ARG_MAX from
22414 being defined by the kernel headers.
22415
f87dfb1f
UD
224162011-05-07 Ulrich Drepper <drepper@gmail.com>
22417
22418 [BZ #12734]
22419 * resolv/resolv.h: Define RES_NOTLDQUERY.
22420 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22421 no-tld-query and set RES_NOTLDQUERY.
22422 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22423 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22424 modern BIND to search name as TLD unless forbidden.
22425
47c3cd7a
UD
224262011-05-07 Petr Baudis <pasky@suse.cz>
22427 Ulrich Drepper <drepper@gmail.com>
22428
22429 [BZ #12393]
22430 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22431 (is_trusted_path): ...to here.
c1e9ea35 22432 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22433 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22434 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22435
8a35c912
PP
224362011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22437
22438 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22439 __BEGIN/__END_DECLS.
22440
acd41f47
UD
224412011-05-06 Ulrich Drepper <drepper@gmail.com>
22442
22443 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22444 NSS_STATUS_NOTFOUND if no record was found.
22445
597df647
AS
224462011-05-05 Andreas Schwab <schwab@redhat.com>
22447
22448 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22449 (headers-not-in-tirpc): Remove rpc/netdb.h
22450 * resolv/netdb.h: Revert last change.
22451
b9af1301
PP
224522011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22453
22454 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22455 circular dependency between libgcc.a and libc.a.
22456
4e34d5f5
AS
224572011-05-05 Andreas Schwab <schwab@redhat.com>
22458
22459 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22460 * nis/Makefile: Don't install rpcsvc/*.
22461 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22462 instead of <rpc/types.h>.
22463 (MAXHOSTNAMELEN): Define.
22464
00ee369c
AS
224652011-05-03 Andreas Schwab <schwab@redhat.com>
22466
22467 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22468
0b592a30
MB
224692011-04-28 Maciej Babinski <mbabinski@google.com>
22470
22471 [BZ #12714]
22472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22473 gethostbyname4_r when IPv6 results are possible.
22474
6e04cbbe
UD
224752011-05-02 Ulrich Drepper <drepper@gmail.com>
22476
22477 [BZ #12723]
22478 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22479 _PC_PIPE_BUF handling.
22480
e4ecafe0
BH
224812011-04-30 Bruno Haible <bruno@clisp.org>
22482
22483 [BZ #12717]
22484 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22485 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22486 to 'int'.
22487 * inet/getnameinfo.c (getnameinfo): Likewise.
22488
125ee683
UD
224892011-04-29 Ulrich Drepper <drepper@gmail.com>
22490
22491 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22492 to groups setting in database lookup.
22493 * nss/nsswitch.conf: Add initgroups entry.
22494
b722481a
EB
224952011-04-22 Ulrich Drepper <drepper@gmail.com>
22496
22497 [BZ #12685]
22498 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22499 mode string.
22500 Patch by Eric Blake <eblake@redhat.com>.
22501
4df46dbd
L
225022011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22503
22504 * sunrpc/Makefile (need-export-routines): Add svc_run.
22505 (routines): Remove svc_run.
22506 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22507 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22508 * sunrpc/svc_run.c (svc_run): Likewise.
22509 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22510
e84142d2
UD
225112011-04-21 Ulrich Drepper <drepper@gmail.com>
22512
22513 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22514 problem in reallocation in last patch.
22515
877175d8
UD
225162011-04-20 Ulrich Drepper <drepper@gmail.com>
22517
22518 * sunrpc/Makefile: Move inclusion of Rules.
22519
ab8eed78
UD
225202011-04-19 Ulrich Drepper <drepper@gmail.com>
22521
22522 * nss/nss_files/files-initgroups.c: New file.
22523 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22524 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22525 _nss_files_initgroups_dyn.
22526
e3d8f584
RS
225272011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22528
22529 * elf/elf.h (R_ARM_IRELATIVE): Define.
22530
af190f45
UD
225312011-04-19 Ulrich Drepper <drepper@gmail.com>
22532
22533 * po/ru.po: Update from translation team.
22534
53cf59ef
UD
225352011-04-17 Ulrich Drepper <drepper@gmail.com>
22536
22537 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22538 dependencies.
22539
4c559bcd
MF
225402011-02-06 Mike Frysinger <vapier@gentoo.org>
22541
22542 [BZ #12653]
22543 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22544 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22545 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22546 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22547 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22548
4420675c
AS
225492011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22550
22551 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22552 differing bytes.
22553 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22554 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22555 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22556
75ea32ab
UD
225572011-04-17 Ulrich Drepper <drepper@gmail.com>
22558
22559 [BZ #12420]
22560 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22561 storing it.
22562 * stdlib/bug-getcontext.c: New file.
22563 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22564
27390476
AK
225652011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22566
22567 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22568 instructions into .machine "z9-109".
22569 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22570 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22571
10442705
AK
225722011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22573
22574 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22575 between environment variables and auxiliary vector.
22576
7b57bfe5
UD
225772011-04-16 Ulrich Drepper <drepper@gmail.com>
22578
22579 * Makefile: Add rules to build linkobj/libc.so.
22580 * include/libc-symbols.h: Define libc_hidden_nolink.
22581 * include/rpc/auth.h: Mark functions which are to be hidden.
22582 * include/rpc/auth_des.h: Likewise.
22583 * include/rpc/auth_unix.h: Likewise.
22584 * include/rpc/clnt.h: Likewise.
22585 * include/rpc/des_crypt.h: Likewise.
22586 * include/rpc/key_prot.h: Likewise.
22587 * include/rpc/pmap_clnt.h: Likewise.
22588 * include/rpc/pmap_prot.h: Likewise.
22589 * include/rpc/pmap_rmt.h: Likewise.
22590 * include/rpc/rpc_msg.h: Likewise.
22591 * include/rpc/svc.h: Likewise.
22592 * include/rpc/svc_auth.h: Likewise.
22593 * include/rpc/xdr.h: Likewise.
22594 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22595 * nss/Makefile: Likewise.
22596 * sunrpc/Makefile: Don't install headers. Build library with normal
22597 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22598 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22599 for the compat linking library. Remove use of INTDEF/INTUSE.
22600 * sunrpc/auth_none.c: Likewise.
22601 * sunrpc/auth_unix.c: Likewise.
22602 * sunrpc/authdes_prot.c: Likewise.
22603 * sunrpc/authuxprot.c: Likewise.
22604 * sunrpc/clnt_gen.c: Likewise.
22605 * sunrpc/clnt_perr.c: Likewise.
22606 * sunrpc/clnt_raw.c: Likewise.
22607 * sunrpc/clnt_simp.c: Likewise.
22608 * sunrpc/clnt_tcp.c: Likewise.
22609 * sunrpc/clnt_udp.c: Likewise.
22610 * sunrpc/clnt_unix.c: Likewise.
22611 * sunrpc/des_crypt.c: Likewise.
22612 * sunrpc/des_soft.c: Likewise.
22613 * sunrpc/get_myaddr.c: Likewise.
22614 * sunrpc/key_call.c: Likewise.
22615 * sunrpc/key_prot.c: Likewise.
22616 * sunrpc/netname.c: Likewise.
22617 * sunrpc/pm_getmaps.c: Likewise.
22618 * sunrpc/pm_getport.c: Likewise.
22619 * sunrpc/pmap_clnt.c: Likewise.
22620 * sunrpc/pmap_prot.c: Likewise.
22621 * sunrpc/pmap_prot2.c: Likewise.
22622 * sunrpc/pmap_rmt.c: Likewise.
22623 * sunrpc/publickey.c: Likewise.
22624 * sunrpc/rpc_cmsg.c: Likewise.
22625 * sunrpc/rpc_common.c: Likewise.
22626 * sunrpc/rpc_dtable.c: Likewise.
22627 * sunrpc/rpc_prot.c: Likewise.
22628 * sunrpc/rpc_thread.c: Likewise.
22629 * sunrpc/rtime.c: Likewise.
22630 * sunrpc/svc.c: Likewise.
22631 * sunrpc/svc_auth.c: Likewise.
22632 * sunrpc/svc_authux.c: Likewise.
22633 * sunrpc/svc_raw.c: Likewise.
22634 * sunrpc/svc_run.c: Likewise.
22635 * sunrpc/svc_simple.c: Likewise.
22636 * sunrpc/svc_tcp.c: Likewise.
22637 * sunrpc/svc_udp.c: Likewise.
22638 * sunrpc/svc_unix.c: Likewise.
22639 * sunrpc/svcauth_des.c: Likewise.
22640 * sunrpc/xcrypt.c: Likewise.
22641 * sunrpc/xdr.c: Likewise.
22642 * sunrpc/xdr_array.c: Likewise.
22643 * sunrpc/xdr_float.c: Likewise.
22644 * sunrpc/xdr_intXX_t.c: Likewise.
22645 * sunrpc/xdr_mem.c: Likewise.
22646 * sunrpc/xdr_rec.c: Likewise.
22647 * sunrpc/xdr_ref.c: Likewise.
22648 * sunrpc/xdr_sizeof.c: Likewise.
22649 * sunrpc/xdr_stdio.c: Likewise.
22650
e6c61494
UD
226512011-04-10 Ulrich Drepper <drepper@gmail.com>
22652
22653 [BZ #12650]
22654 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22655 * sysdeps/ia64/dl-tls.h: Likewise.
22656 * sysdeps/powerpc/dl-tls.h: Likewise.
22657 * sysdeps/s390/dl-tls.h: Likewise.
22658 * sysdeps/sh/dl-tls.h: Likewise.
22659 * sysdeps/sparc/dl-tls.h: Likewise.
22660 * sysdeps/x86_64/dl-tls.h: Likewise.
22661 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22662
34fe483e
AS
226632011-03-14 Andreas Schwab <schwab@redhat.com>
22664
22665 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22666 rpath element also skip the following colon.
22667 (expand_dynamic_string_token): Add is_path parameter and pass
22668 down to DL_DST_REQUIRED and _dl_dst_substitute.
22669 (decompose_rpath): Call expand_dynamic_string_token with
22670 non-zero is_path. Ignore empty rpaths.
22671 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22672 with zero is_path.
22673
f12a32e6
AS
226742011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22675
22676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22677 Make cancelable.
22678
38a7d692
UD
226792011-04-09 Ulrich Drepper <drepper@gmail.com>
22680
22681 [BZ #12655]
22682 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22683 Patch by Filipe David Manana <fdmanana@apache.org>.
22684
e451d22b
AS
226852011-04-07 Andreas Schwab <schwab@redhat.com>
22686
22687 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22688 Maintain aligned stack.
22689 (CHECK_RSP): Remove unused macro.
22690
dedc7c7b
UD
226912011-04-03 Ulrich Drepper <drepper@gmail.com>
22692
22693 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22694 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22695
94521213
UD
226962011-04-02 Ulrich Drepper <drepper@gmail.com>
22697
22698 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22699
8cb700c0 22700 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22701
0354e355
L
227022011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22703
22704 [BZ #12518]
22705 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22706 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22707 * sysdeps/x86_64/memmove.c: New file.
22708 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22709 (memcpy): Renamed to ...
22710 (__new_memcpy): This.
22711 (memcpy): Provide GLIBC_2_14 memcpy.
22712 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22713 (memcpy): Provide GLIBC_2_2_5 memcpy.
22714
8593482f
UD
227152011-04-01 Ulrich Drepper <drepper@gmail.com>
22716
22717 [BZ #12631]
22718 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22719
81a5726b
AS
227202011-03-30 Andreas Schwab <schwab@redhat.com>
22721
22722 * misc/syncfs.c: New file.
22723 * misc/Makefile (routines): Add syncfs.
22724 * posix/unistd.h: Declare syncfs.
22725 * sysdeps/unix/syscalls.list: Add syncfs.
22726
00e5419f
AS
227272011-04-01 Andreas Schwab <schwab@redhat.com>
22728
22729 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22730 open_by_handle_at.
22731 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22732 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22734 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22736 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22737 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22738
748876bf
UD
227392011-04-01 Ulrich Drepper <drepper@gmail.com>
22740
658e451d
UD
22741 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22742 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22743 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22744 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22745 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22746 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22747 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22748
748876bf
UD
22749 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22750 sync_file_range.c with -fexceptions.
22751 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22752 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22753 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22754 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22755 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22756 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22758 sync_file_range as cancellation point
22759 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22760 now a wrapper around __call_sync_file_range with cancellation handling.
22761 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22762 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22763 function name to __call_sync_file_range.
22764 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22765 Add call_sync_file_range.
748876bf 22766
6e63d5e1
AS
227672011-04-01 Andreas Schwab <schwab@redhat.com>
22768
22769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22770 bits/timex.h.
6e63d5e1 22771
46998f74
UD
227722011-04-01 Ulrich Drepper <drepper@gmail.com>
22773
4c1423ed
UD
22774 * iconv/iconv.h: Fix typo in comment.
22775 * io/fcntl.h: Likewise.
22776 * libio/stdio.h: Likewise.
22777 * posix/spawn.h: Likewise.
22778 * posix/unistd.h: Likewise.
22779 * stdlib/stdlib.h: Likewise.
22780 * time/time.h: Likewise.
22781 * wcsmbs/wchar.h: Likewise.
22782
158648c0
UD
22783 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22784 open_by_handle): Add.
22785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22786 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22787 Augment a few comments.
22788 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22790 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22792 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22793 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22794 open_by_handle.
22795
46998f74
UD
22796 * io/fcntl.h (AT_EMPTY_PATH): Define.
22797
83fe108b
UD
227982011-03-30 Ulrich Drepper <drepper@gmail.com>
22799
22800 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22801 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22802 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22803 to...
22804 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22805 * Versions.def: Add GLIBC_2.14.
22806 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22807 Export.
83fe108b 22808
bb242059
UD
228092011-03-22 Ulrich Drepper <drepper@gmail.com>
22810
22811 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22812 round counter.
22813 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22814
c97a1282
L
228152011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22816
22817 [BZ #12597]
22818 * string/test-strncmp.c (do_page_test): New function.
22819 (check2): Likewise.
22820 (test_main): Call check2.
22821 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22822
2a115601
UD
228232011-03-20 Ulrich Drepper <drepper@gmail.com>
22824
22825 [BZ #12587]
22826 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22827 Handle cache information in CPU leaf 4.
22828 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22829
8126d904
UD
228302011-03-18 Ulrich Drepper <drepper@gmail.com>
22831
042c49c6 22832 [BZ #12583]
8126d904
UD
22833 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22834 character representation.
22835 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22836
ccfe366e
RA
228372011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22838
22839 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22840 END(__isnan) to END(__isnanf) to match function entry point/label
22841 EALIGN(__isnanf,...).
22842
c6e13027
JJ
228432011-03-10 Jakub Jelinek <jakub@redhat.com>
22844
22845 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22846
33f85a3f
UD
228472011-03-10 Ulrich Drepper <drepper@gmail.com>
22848
028478fa
UD
22849 [BZ #12510]
22850 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22851 copy from the symbol referenced in the relocation to initialize the
22852 used variable.
22853 Patch by Piotr Bury <pbury@goahead.com>.
22854 * elf/Makefile: Add rules to build and tst-unique3.
22855 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22856 * elf/tst-unique3.cc: New file.
22857 * elf/tst-unique3.h: New file.
22858 * elf/tst-unique3lib.cc: New file.
22859 * elf/tst-unique3lib2.cc: New file.
22860
33f85a3f
UD
22861 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22862
03592fc7
MF
228632011-03-10 Mike Frysinger <vapier@gentoo.org>
22864
22865 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22866 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22867 to _start.
03592fc7 22868
6a5ee102
UD
228692011-03-06 Ulrich Drepper <drepper@gmail.com>
22870
22871 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22872 to-be-loaded object along a path to loader is ld.so.
22873
7e4ba49c
HJ
228742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22875 Ulrich Drepper <drepper@gmail.com>
22876
22877 * sysdeps/x86_64/memset.S: After aligning destination, code
22878 branches to different locations depending on the value of
22879 misalignment, when multiarch is enabled. Fix this.
22880
228812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22882
22883 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22884 Set _x86_64_preferred_memory_instruction for AMD processsors.
22885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22886 Set bit_Prefer_SSE_for_memop for AMD processors.
22887
13a804de
UD
228882011-03-04 Ulrich Drepper <drepper@gmail.com>
22889
22890 * libio/fmemopen.c (fmemopen): Optimize a bit.
22891
9d25c392
AS
228922011-03-03 Andreas Schwab <schwab@redhat.com>
22893
22894 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22895
a5543c6a
RM
228962011-03-03 Roland McGrath <roland@redhat.com>
22897
22898 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22899
012d35f7
DM
229002011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22901
7e4ba49c 22902 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22903 __bzero_ultra1 instead of __memset_ultra1.
22904
4bff6e01
AS
229052011-02-23 Andreas Schwab <schwab@redhat.com>
22906 Ulrich Drepper <drepper@gmail.com>
22907
22908 [BZ #12509]
22909 * include/link.h (struct link_map): Add l_orig_initfini.
22910 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22911 returning unsuccessfully.
22912 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22913 close of a file loaded at startup, restore the original l_initfini
22914 list.
22915 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22916 list, store the pointer.
22917 * elf/Makefile ($(objpfx)noload-mem): New rule.
22918 (noload-ENV): Define.
22919 (tests): Add $(objpfx)noload-mem.
22920 * elf/noload.c: Include <memcheck.h>.
22921 (main): Call mtrace. Close all opened handles.
22922
f2092faf
AS
229232011-02-17 Andreas Schwab <schwab@redhat.com>
22924
22925 [BZ #12454]
22926 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22927 dependencies are missing.
22928
6c8a2e88
ST
229292011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22930
f2092faf 22931 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22932 Hurd needs munmap.
22933 * sysdeps/mach/hurd/ifreq.h: New file.
22934
84a42118
PB
229352011-01-27 Petr Baudis <pasky@suse.cz>
22936 Ulrich Drepper <drepper@gmail.com>
22937
071f805e 22938 [BZ 12445]#
84a42118
PB
22939 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22940 to extend_alloca().
22941 * stdio-common/bug23.c: New file.
22942 * stdio-common/Makefile (tests): Add bug23.
22943
e23fe25b
AS
229442010-09-28 Andreas Schwab <schwab@redhat.com>
22945 Ulrich Drepper <drepper@gmail.com>
22946
22947 [BZ #12489]
22948 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22949 before performing relro protection. At old place add assertion
22950 to make sure nothing changed.
22951
d3f02e10
NS
229522011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22953 Glauber de Oliveira Costa <glommer@gmail.com>
22954
22955 * elf/elf.h: Add new ARM TLS relocs.
22956
d55fd7a5
RA
229572011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22958
22959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22960 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22961 cast from r3.
22962 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22963 'tests' variable.
22964 * sysdeps/wordsize-64/tst-writev.c: New file.
22965
2206397e
RA
229662011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22967
22968 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22969 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22970 insns in _dl_start to prevent a TOC reference before relocs are
22971 resolved.
22972
e9433893
UD
229732011-02-15 Ulrich Drepper <drepper@gmail.com>
22974
22975 [BZ #12469]
22976 * Makeconfig: Remove RANLIB definition.
22977 * Makerules: Don't use RANLIB.
22978 * aclocal.m4: Remove ranlib test.
22979 * configure.in: No need to check for ranlib.
22980 * elf/rtld-Rules: Don't use RANLIB.
22981
f75286c6
ST
229822011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22983
8e31c82d
ST
22984 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22985 protection macro.
22986 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22987 inclusion protection macro.
22988
f75286c6
ST
22989 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22990 SIGRTMIN and SIGRTMAX and print information in that case only when
22991 SIGRTMIN is defined.
22992
c1d0e639
JJ
229932011-02-11 Jakub Jelinek <jakub@redhat.com>
22994
22995 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22996 arginfo fn returning -1.
22997
22998 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22999 and thousands string is zero terminated.
23000
edf9294e
AS
230012011-02-03 Andreas Schwab <schwab@redhat.com>
23002
23003 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
23004 sysdeps/unix/sysv/linux/bits/socket.h.
23005
2b7e92df
ST
230062011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
23007
edf9294e
AS
23008 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
23009 (__CPU_COUNT): Remove old macros.
23010 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
23011 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
23012 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
23013 (__sched_cpualloc, __sched_cpufree): Add declarations.
23014
a4c7ea7b
UD
230152011-02-05 Ulrich Drepper <drepper@gmail.com>
23016
23017 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
23018 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
23019 * nscd/aicache.c (addhstaiX): Return timeout of added value.
23020 (readdhstai): Return value of addhstaiX call.
23021 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
23022 (addgrbyX): Return value returned by cache_addgr.
23023 (readdgrbyname): Return value returned by addgrbyX.
23024 (readdgrbygid): Likewise.
23025 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
23026 (addpwbyX): Return value returned by cache_addpw.
23027 (readdpwbyname): Return value returned by addhstbyX.
23028 (readdpwbyuid): Likewise.
23029 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
23030 (addservbyX): Return value returned by cache_addserv.
23031 (readdservbyname): Return value returned by addservbyX:
23032 (readdservbyport): Likewise.
23033 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
23034 (addhstbyX): Return value returned by cache_addhst.
23035 (readdhstbyname): Return value returned by addhstbyX.
23036 (readdhstbyaddr): Likewise.
23037 (readdhstbynamev6): Likewise.
23038 (readdhstbyaddrv6): Likewise.
23039 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
23040 (readdinitgroups): Return value returned by addinitgroupsX.
23041 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
23042 (prune_cache): Keep track of timeout value of re-added entries.
23043 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
23044 * nscd/nscd.h: Adjust prototypes of readd* functions.
23045
a0bf67cc
RM
230462011-02-04 Roland McGrath <roland@redhat.com>
23047
23048 * nis/nis_server.c (nis_servstate): Use the right name for 0.
23049 (nis_stats): Likewise.
23050 * nis/nis_modify.c (nis_modify): Likewise.
23051 * nis/nis_remove.c (nis_remove): Likewise.
23052 * nis/nis_add.c (nis_add): Likewise.
23053
23054 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
23055
23056 * posix/fnmatch_loop.c: Add some consts.
23057
23058 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
23059
435b95eb
L
230602011-02-02 H.J. Lu <hongjiu.lu@intel.com>
23061
23062 [BZ #12460]
23063 * config.make.in (config-cflags-novzeroupper): Define.
23064 * configure.in: Substitute libc_cv_cc_novzeroupper.
23065 * elf/Makefile (AVX-CFLAGS): Define.
23066 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
23067 (CFLAGS-tst-auditmod4a.c): Likewise.
23068 (CFLAGS-tst-auditmod4b.c): Likewise.
23069 (CFLAGS-tst-auditmod6b.c): Likewise.
23070 (CFLAGS-tst-auditmod6c.c): Likewise.
23071 (CFLAGS-tst-auditmod7b.c): Likewise.
23072 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
23073
8517b15e
UD
230742011-02-02 Ulrich Drepper <drepper@gmail.com>
23075
23076 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
23077 function to the callback.
23078 Patch partly by Jiri Olsa <jolsa@redhat.com>.
23079
10a656fe
AS
230802011-02-02 Andreas Schwab <schwab@redhat.com>
23081
23082 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
23083 of errno.
23084
968dad0a
UD
230852011-01-19 Ulrich Drepper <drepper@gmail.com>
23086
9f94d2ea 23087 [BZ #11724]
968dad0a
UD
23088 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
23089 of constructors.
23090 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
23091 of destructors.
23092 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
23093
23094 [BZ #11724]
23095 * elf/Makefile: Add rules to build and run new test.
23096 * elf/tst-initorder.c: New file.
23097 * elf/tst-initorder.exp: New file.
23098 * elf/tst-initordera1.c: New file.
23099 * elf/tst-initordera2.c: New file.
23100 * elf/tst-initordera3.c: New file.
23101 * elf/tst-initordera4.c: New file.
23102 * elf/tst-initorderb1.c: New file.
23103 * elf/tst-initorderb2.c: New file.
23104 * elf/tst-order-a1.c: New file.
23105 * elf/tst-order-a2.c: New file.
23106 * elf/tst-order-a3.c: New file.
23107 * elf/tst-order-a4.c: New file.
23108 * elf/tst-order-b1.c: New file.
23109 * elf/tst-order-b2.c: New file.
23110 * elf/tst-order-main.c: New file.
23111 New test case by George Gensure <werkt0@gmail.com>.
23112
86e92359
UD
231132010-10-01 Andreas Schwab <schwab@redhat.com>
23114
23115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23116 decoding ACE if AI_CANONIDN.
23117
5d5732b0
UD
231182011-01-18 Ulrich Drepper <drepper@gmail.com>
23119
23120 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
23121
a77e8cbc
UD
231222011-01-17 Ulrich Drepper <drepper@gmail.com>
23123
6392473f
UD
23124 * version.h (RELEASE): Bump for 2.13 release.
23125 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
23126
620a0529
UD
23127 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
23128
18ba70a5
UD
23129 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
23130 MADV_NOHUGEPAGE.
32465c3e
UD
23131 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
23132 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23133 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23134 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23135 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23136 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23137
c0dafcf1
UD
23138 * posix/getconf.c: Update copyright year.
23139 * catgets/gencat.c: Likewise.
23140 * csu/version.c: Likewise.
23141 * debug/catchsegv.sh: Likewise.
23142 * debug/xtrace.sh: Likewise.
23143 * elf/ldconfig.c: Likewise.
23144 * elf/ldd.bash.in: Likewise.
23145 * elf/sprof.c (print_version): Likewise.
23146 * iconv/iconv_prog.c: Likewise.
23147 * iconv/iconvconfig.c: Likewise.
23148 * locale/programs/locale.c: Likewise.
23149 * locale/programs/localedef.c: Likewise.
23150 * malloc/memusage.sh: Likewise.
23151 * malloc/mtrace.pl: Likewise.
23152 * nscd/nscd.c (print_version): Likewise.
23153 * nss/getent.c: Likewise.
23154
a77e8cbc
UD
23155 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
23156 PF_CAIF, and PF_ALG.
23157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23158
77e8bddf
AS
231592011-01-16 Andreas Schwab <schwab@linux-m68k.org>
23160
1f20b93a
AS
23161 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23162 (modules-names): Use them.
23163 (ifunc-test-modules, ifunc-pie-tests): Define.
23164 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23165 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23166 (test-extras): Likewise.
23167 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23168 $(compile-command.c).
23169 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23170 (all-built-dso): Define.
23171 (check-textrel.out, check-execstack.out): Depend on it.
23172
77e8bddf
AS
23173 * configure.in: Don't override --enable-multi-arch.
23174
bc425b33
UD
231752011-01-15 Ulrich Drepper <drepper@gmail.com>
23176
23177 [BZ #6812]
23178 * nscd/hstcache.c (tryagain): Define.
23179 (cache_addhst): Return tryagain not notfound for temporary errors.
23180 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23181 failed.
23182
794c3ad3
UD
231832011-01-14 Ulrich Drepper <drepper@gmail.com>
23184
70181fdd
UD
23185 [BZ #10563]
23186 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23187 to make the syscall.
23188 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23189
794c3ad3
UD
23190 [BZ #12378]
23191 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23192 and fall back to matching as normal character if the string ends before
23193 the matching ']' is found. This is what POSIX requires.
23194 * posix/testfnm.c: Adjust test result.
23195 * posix/globtest.sh: Adjust test result. Add new test.
23196 * posix/tst-fnmatch.input: Likewise.
23197 * posix/tst-fnmatch2.c: Add new test.
23198
68dc9497
AS
231992010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23200
23201 * elf/Makefile (check-execstack): Revert last change. Depend on
23202 check-execstack.h.
23203 (check-execstack.h): New target.
23204 (generated): Add check-execstack.h.
23205 * elf/check-execstack.c: Include "check-execstack.h".
23206 (main): Revert last change.
23207 (handle_file): Return zero if GNU_STACK is absent and
23208 DEFAULT_STACK_PERMS doesn't include PF_X.
23209
451f001b
UD
232102011-01-13 Ulrich Drepper <drepper@gmail.com>
23211
cfa28e56
UD
23212 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23213 in child fails because the descriptor is already closed.
8cf8ce17
UD
23214 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23215 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23216 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23217
1086d70d
UD
23218 [BZ #12397]
23219 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23220 syscall.
23221
451f001b
UD
23222 [BZ #10484]
23223 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23224 temporary buffer used to handle multi lookups locally.
a85b5cb4 23225 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23226
08769175
UD
232272011-01-12 Ulrich Drepper <drepper@gmail.com>
23228
23229 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23230 loader is ld.so.
23231
5e49c52e
UD
232322011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23233
23234 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23235 alignment for SSE2.
23236
60522a5f
UD
232372011-01-12 Ulrich Drepper <drepper@gmail.com>
23238
23239 [BZ #12394]
23240 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23241 characters. When rounding increased number of integer digits recompute
23242 number of groups.
23243 * stdio-common/tst-grouping.c: New file.
23244 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23245
f257bbd7
UD
232462011-01-09 Ulrich Drepper <drepper@gmail.com>
23247
23248 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23249 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23250
23251 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23252 void.
23253 * bits/select.h: Likewise.
23254
fa9c15cb
UD
232552011-01-08 Ulrich Drepper <drepper@gmail.com>
23256
23257 * po/ja.po: Update from translation team.
23258
16c2895f
DM
232592011-01-04 David S. Miller <davem@sunset.davemloft.net>
23260
23261 [BZ #11155]
23262 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23263 implementation just like for lxstat, fxstatat, et al.
23264
2543fef2
JM
232652010-12-27 Jim Meyering <meyering@redhat.com>
23266
23267 [BZ #12348]
23268 * posix/regexec.c (build_trtable): Return failure indication upon
23269 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23270
98727dbe
UD
232712010-12-25 Ulrich Drepper <drepper@gmail.com>
23272
5bd6dc5c
UD
23273 [BZ #12201]
23274 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23275 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23276 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23277 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23278
97983464
UD
23279 [BZ #12207]
23280 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23281
98727dbe
UD
23282 [BZ #12204]
23283 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23284 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23285
4a531bb0
L
232862010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23287
23288 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23289 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23290 script has SORT_BY_INIT_PRIORITY.
23291 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23292 NO_CTORS_DTORS_SECTIONS is defined.
23293 * elf/soinit.c: Likewise.
23294 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23295 NO_CTORS_DTORS_SECTIONS is defined.
23296 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23297 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23298 * sysdeps/sh/init-first.c: Likewise.
23299 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23300
07eb4b71
UD
233012010-12-24 Ulrich Drepper <drepper@gmail.com>
23302
23303 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23304 always use the slow path.
23305
30950a5f
RA
233062010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23307
23308 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23309 similar rule which adds the sysdep directories to the header search in
23310 order to pick up the correct platform stackinfo.h.
23311 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23312 perform test if it is, otherwise return successfully without testing.
23313 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23314 DEFAULT_STACK_PERMS define in stackinfo.h.
23315 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23316 defined in stackinfo.h.
23317 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23318 DEFAULT_STACK_PERMS defined in stackinfo.h.
23319 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23320 * sysdeps/ia64/stackinfo.h: Likewise.
23321 * sysdeps/s390/stackinfo.h: Likewise.
23322 * sysdeps/sh/stackinfo.h: Likewise.
23323 * sysdeps/sparc/stackinfo.h: Likewise.
23324 * sysdeps/x86_64/stackinfo.h: Likewise.
23325 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23326 PF_X for powerpc64. Retain PF_X for powerpc32.
23327
db753e2c
UD
233282010-12-19 Ulrich Drepper <drepper@gmail.com>
23329
14b697f7
UD
23330 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23331 accurately.
db753e2c
UD
23332 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23333 GETDENTS_64BIT_ALIGNED.
23334
28300719
UD
233352010-12-14 Ulrich Drepper <dreper@gmail.com>
23336
14b697f7 23337 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23338
4f197237
AS
233392010-12-10 Andreas Schwab <schwab@redhat.com>
23340
dbb0472f
AS
23341 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23342 _GNU_SOURCE.
23343
4f197237
AS
23344 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23345 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23346 Remove __restrict.
23347 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23348 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23349
fb88ac72
UD
233502010-12-09 Ulrich Drepper <drepper@gmail.com>
23351
23352 [BZ #11655]
23353 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23354 are initialized.
23355
42acbb92
JJ
233562010-12-09 Jakub Jelinek <jakub@redhat.com>
23357
23358 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23359
c038d98d
UD
233602010-12-03 Ulrich Drepper <drepper@gmail.com>
23361
23362 * po/it.po: Update from translation team.
23363
3a4a2499
L
233642010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23365
23366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23367 unused codes.
23368
1e24cf6e
UD
233692010-11-30 Ulrich Drepper <drepper@gmail.com>
23370
23371 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23372
a7690819
AS
233732010-11-24 Andreas Schwab <schwab@redhat.com>
23374
23375 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23376 specially.
23377 (gaih_getanswer_slice): Likewise.
23378
3bf8d1b1
JJ
233792010-10-20 Jakub Jelinek <jakub@redhat.com>
23380
23381 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23382
6db52fbb
PB
233832010-05-31 Petr Baudis <pasky@suse.cz>
23384
23385 [BZ #11149]
23386 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23387 silently even in the chroot mode.
23388
eaca7569
UD
233892010-11-22 Ulrich Drepper <drepper@gmail.com>
23390
23391 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23392 last patch a bit. Pretty printing
23393
3056dcdb
UD
233942010-05-31 Petr Baudis <pasky@suse.cz>
23395
23396 [BZ #10085]
23397 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23398 initialization of skip_initgroups_dyn.
23399
cf7c9078
UD
234002010-11-19 Ulrich Drepper <drepper@gmail.com>
23401
23402 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23403 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23404
a1fb5e3e
UD
234052010-11-16 Ulrich Drepper <drepper@gmail.com>
23406
23407 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23408
3540d66b
AS
234092010-11-11 Andreas Schwab <schwab@redhat.com>
23410
23411 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23412 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23413 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23414 ($(objpfx)tst-fnmatch-mem): New rule.
23415 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23416 * posix/tst-fnmatch.c (main): Call mtrace.
23417
13b69574
L
234182010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23419
23420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23421 Support Intel processor model 6 and model 0x2c.
23422
da93d214
LM
234232010-11-10 Luis Machado <luisgpm@br.ibm.com>
23424
23425 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23426 signed comparison.
23427
8ca52c6e
L
234282010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23429
23430 [BZ #12205]
23431 * string/test-strncasecmp.c (check_result): New function.
23432 (do_one_test): Use it.
23433 (check1): New function.
23434 (test_main): Use it.
23435 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23436 Support strcasecmp and strncasecmp.
23437
69da074d
UD
234382010-11-08 Ulrich Drepper <drepper@gmail.com>
23439
23440 [BZ #12194]
23441 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23442 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23443
ff02d528
L
234442010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23445
23446 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23447 IFUNC support.
23448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23449 memset-x86-64.
23450 * sysdeps/x86_64/multiarch/bzero.S: New file.
23451 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23452 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23453 * sysdeps/x86_64/multiarch/memset.S: New file.
23454 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23456 Set bit_Prefer_SSE_for_memop for Intel processors.
23457 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23458 Define.
23459 (index_Prefer_SSE_for_memop): Define.
23460 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23461
344d0b54
LM
234622010-11-04 Luis Machado <luisgpm@br.ibm.com>
23463
23464 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23465 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23466
c0dde15b
UD
234672010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23468
23469 [BZ #12191]
23470 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23471 (__x86_64_raw_data_cache_size_half): Likewise.
23472 (__x86_64_raw_shared_cache_size): Likewise.
23473 (__x86_64_raw_shared_cache_size_half): Likewise.
23474
23475 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23476 (__x86_64_raw_data_cache_size_half): Likewise.
23477 (__x86_64_raw_shared_cache_size): Likewise.
23478 (__x86_64_raw_shared_cache_size_half): Likewise.
23479 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23480 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23481 and __x86_64_raw_shared_cache_size_half. Round
23482 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23483 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23484 to multiple of 256 bytes.
23485
0e516e0e
MS
234862010-11-03 Ulrich Drepper <drepper@gmail.com>
23487
23488 [BZ #12167]
23489 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23490 of inacessible symlinks. Verify result of symlink before returning it.
23491 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23492 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23493
0e012e87
ER
234942010-10-28 Erich Ritz <erichritz@gmail.com>
23495
23496 * math/math.h (isinf): Fix typo in comment.
23497
de0ff7bc
UD
234982010-11-01 Ulrich Drepper <drepper@gmail.com>
23499
23500 * po/da.po: Update from translation team.
23501
fa41c84d
UD
235022010-10-26 Ulrich Drepper <drepper@gmail.com>
23503
23504 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23505 is added to the list.
23506
f0967738
AK
235072010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23508 Ulrich Drepper <drepper@gmail.com>
23509
23510 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23511 the global list here. Move code to...
23512 (_dl_add_to_namespace_list): ...here. New function.
23513 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23514 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23515 * elf/dl-load.c (lose): Don't remove the element from the list.
23516 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23517 (_dl_map_object): Likewise.
23518
235192010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23520
23521 [BZ #12159]
23522 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23523 into all bytes of SSE register.
23524 Patch by Richard Li <richardpku@gmail.com>.
23525
f0967738 235262010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23527
23528 [BZ #12140]
23529 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23530 perturbing.
23531
d0b9e94f
MB
235322010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23533
23534 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23535 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23536 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23537 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23539 submachine.
23540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23541
8e9f92e9
AS
235422010-10-22 Andreas Schwab <schwab@redhat.com>
23543
23544 * include/dlfcn.h (__RTLD_SECURE): Define.
23545 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23546 mode & __RTLD_SECURE instead.
23547 (open_path): Rename preloaded parameter to secure.
23548 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23549 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23550 * elf/dl-deps.c (openaux): Likewise.
23551 * elf/rtld.c (struct map_args): Remove is_preloaded.
23552 (map_doit): Don't use it.
23553 (dl_main): Likewise.
23554 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23555 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23556
bc96fbda
AS
235572010-09-09 Andreas Schwab <schwab@redhat.com>
23558
23559 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23560 (sysd-rules-targets): Remove duplicates.
23561 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23562 rtld-%.$o dependency.
23563
22cd1c9b
AS
235642010-10-18 Andreas Schwab <schwab@redhat.com>
23565
23566 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23567 _dl_map_object do it.
23568
18edac48
UD
235692010-10-19 Ulrich Drepper <drepper@gmail.com>
23570
23571 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23572 fast fma builtins, define the macros in the C99 standard.
23573 (FP_FAST_FMAF): Likewise.
23574 (FP_FAST_FMAL): Likewise.
23575 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23576
23577 * bits/mathdef.h: Update copyright year.
23578 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23579
d2050124
MM
235802010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23581
23582 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23583 builtins, define the macros in the C99 standard.
23584 (FP_FAST_FMAF): Likewise.
23585 (FP_FAST_FMAL): Likewise.
23586 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23587 multiply/add.
23588 (FP_FAST_FMAF): Likewise.
23589
475facd1
JJ
235902010-10-15 Jakub Jelinek <jakub@redhat.com>
23591
23592 [BZ #3268]
23593 * math/libm-test.inc (fma_test): Some new testcases.
23594 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23595 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23596 y and infinite z. Do multiplication by C already in long double.
23597 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23599 y and infinite z. Do bitwise or of inexact bit into u.d.
23600 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23601 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23602 * sysdeps/i386/fpu/s_fma.S: Removed.
23603 * sysdeps/i386/fpu/s_fmal.S: Removed.
23604
7c08a05c
JJ
236052010-10-16 Jakub Jelinek <jakub@redhat.com>
23606
23607 [BZ #3268]
23608 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23610 computation is not scheduled after fetestexcept. Fix value
23611 of minimum denormal long double.
23612
f3f7372d
JJ
236132010-10-14 Jakub Jelinek <jakub@redhat.com>
23614
23615 [BZ #3268]
23616 * math/libm-test.inc (fma_test): Add some more tests.
23617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23618 correctly.
23619
14d43591
AS
236202010-10-15 Andreas Schwab <schwab@redhat.com>
23621
23622 * scripts/data/localplt-s390-linux-gnu.data: New file.
23623 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23624
5e908464
JJ
236252010-10-13 Jakub Jelinek <jakub@redhat.com>
23626
23627 [BZ #3268]
23628 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23629 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23630 instead of dbl-64.
23631 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23632 inlines.
23633 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23635 if one of x and y is very large and the other is subnormal.
23636 * sysdeps/s390/fpu/s_fmaf.c: New file.
23637 * sysdeps/s390/fpu/s_fma.c: New file.
23638 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23639 * sysdeps/powerpc/fpu/s_fma.S: New file.
23640 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23641 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23642 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23643
236442010-10-12 Jakub Jelinek <jakub@redhat.com>
23645
23646 [BZ #3268]
23647 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23648 fma tests.
23649 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23650 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23651 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23652 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23653 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23654 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23656
b833d51f
UD
236572010-10-12 Ulrich Drepper <drepper@redhat.com>
23658
23659 [BZ #12078]
23660 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23661 * posix/bug-regex31.input: Add test case.
23662
1751705d
UD
236632010-10-11 Ulrich Drepper <drepper@gmail.com>
23664
e9b9cbf5
UD
23665 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23666 * posix/bug-regex31.input: New file.
23667
23668 [BZ #12078]
23669 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23670 (parse_sub_exp): Fix last change, use postorder.
23671
ef06edbe
UD
23672 * posix/bug-regex31.c: New file.
23673 * posix/Makefile: Add rules to build and run bug-regex31.
23674
a129c80d
UD
23675 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23676
23677 [BZ #12078]
23678 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23679
b76b818e
UD
23680 [BZ #12108]
23681 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23682 to have entries in sys_siglist.
23683
1751705d
UD
23684 [BZ #12093]
23685 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23686 be NULL.
23687
9ff8d36f
JJ
236882010-10-07 Jakub Jelinek <jakub@redhat.com>
23689
23690 [BZ #3268]
23691 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23692 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23693 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23694 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23695 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23696 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23697 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23698 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23699 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23700 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23701 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23702 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23703 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23704 * math/ftestexcept.c (fetestexcept): Likewise.
23705 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23706 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23707 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23708 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23709 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23710 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23711 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23712
af325969
UD
237132010-10-11 Ulrich Drepper <drepper@gmail.com>
23714
c579b202 23715 [BZ #12107]
af325969
UD
23716 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23717 newline.
23718
67a67b95
UD
237192010-10-06 Ulrich Drepper <drepper@gmail.com>
23720
23721 * string/bug-strstr1.c: New file.
23722 * string/Makefile: Add rules to build and run bug-strstr1.
23723
5fb308bc
EB
237242010-10-05 Eric Blake <eblake@redhat.com>
23725
23726 [BZ #12092]
23727 * string/str-two-way.h (two_way_long_needle): Always clear memory
23728 when skipping input due to the shift table.
23729
45db99c7
UD
237302010-10-03 Ulrich Drepper <drepper@gmail.com>
23731
3b111893
UD
23732 [BZ #12005]
23733 * malloc/mcheck.c: Handle large requests.
23734
45db99c7
UD
23735 [BZ #12077]
23736 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23737 for strncmp and strncasecmp.
23738 * string/stratcliff.c: Add tests for strcmp and strncmp.
23739 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23740
cf7a1eb8
NI
237412010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23742
23743 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23744 __set_fpscr.
23745
6484ba5e
AJ
237462010-09-30 Andreas Jaeger <aj@suse.de>
23747
23748 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23749 (CGROUP_SUPER_MAGIC): Define.
23750 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23751 Handle btrfs and cgroup file systems.
23752 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23753 Likewise.
23754
91c42559
LM
237552010-09-27 Luis Machado <luisgpm@br.ibm.com>
23756
23757 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23758 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23759
87a97932
AK
237602010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23761
23762 [BZ #12067]
23763 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23764 trying to locate the ELF header.
23765
c21cc9bc
AS
237662010-09-27 Andreas Schwab <schwab@redhat.com>
23767
23768 [BZ #11611]
23769 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23770 Mask out sign-bit copies when constructing f_fsid.
23771
315970f6
PB
237722010-09-24 Petr Baudis <pasky@suse.cz>
23773
23774 * debug/stack_chk_fail_local.c: Add missing licence exception.
23775 * debug/warning-nop.c: Likewise.
23776
1ac7a2c7
JM
237772010-09-15 Joseph Myers <joseph@codesourcery.com>
23778
23779 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23780 implementing getdents64 using getdents syscall, set d_type if
23781 __ASSUME_GETDENTS32_D_TYPE.
23782
56801c50
AS
237832010-09-16 Andreas Schwab <schwab@redhat.com>
23784
23785 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23786 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23787
dda51327
UD
237882010-09-21 Ulrich Drepper <drepper@redhat.com>
23789
23790 [BZ #12037]
23791 * posix/unistd.h: Undo change of feature selection for ftruncate from
23792 2010-01-11.
23793
8ffcee4a
UD
237942010-09-20 Ulrich Drepper <drepper@redhat.com>
23795
a545ecd9 23796 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23797 detection.
23798
e24f0a8b
AS
237992010-09-20 Andreas Schwab <schwab@redhat.com>
23800
23801 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23802 fanotify_mark.
23803 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23804
7291c56f
AS
238052010-09-14 Andreas Schwab <schwab@redhat.com>
23806
23807 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23808 variables after CHECK_SP call.
23809 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23810
bc5fb037
AS
238112010-09-13 Andreas Schwab <schwab@redhat.com>
23812 Ulrich Drepper <drepper@redhat.com>
23813
23814 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23815 re-relocationg ld.so.
23816 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23817 _dl_init_paths call.
23818 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23819 here anymore.
23820
e66e7419
UD
238212010-09-14 Ulrich Drepper <drepper@redhat.com>
23822
23823 * resolv/res_init.c (__res_vinit): Count the default server we added.
23824
c044aa75
CLT
238252010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23826 Ulrich Drepper <drepper@redhat.com>
23827
23828 [BZ #11968]
23829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23830 (____longjmp_chk): Use %ebx for saving value across system call.
23831 Add unwind info.
23832
32cf4069
AS
238332010-09-06 Andreas Schwab <schwab@redhat.com>
23834
23835 * manual/Makefile: Don't mix pattern rules with normal rules.
23836
817328ee
AS
238372010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23838
23839 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23840 operation.
23841 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23842 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23843 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23844 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23845 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23846 Likewise.
23847
29fddf61
UD
238482010-09-04 Ulrich Drepper <drepper@redhat.com>
23849
23850 [BZ #11979]
23851 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23852 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23853
0959ffc9
UD
238542010-09-02 Ulrich Drepper <drepper@redhat.com>
23855
23856 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23857 * sysdeps/x86_64/addmul_1.S: Likewise.
23858 * sysdeps/x86_64/lshift.S: Likewise.
23859 * sysdeps/x86_64/mul_1.S: Likewise.
23860 * sysdeps/x86_64/rshift.S: Likewise.
23861 * sysdeps/x86_64/sub_n.S: Likewise.
23862 * sysdeps/x86_64/submul_1.S: Likewise.
23863
ece29840
ST
238642010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23865
0959ffc9
UD
23866 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23867 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23868 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23869 * bits/sched.h [__need_schedparam]
ece29840 23870 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23871 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23872 (__defined_schedparam): Define to 1.
ece29840
ST
23873 (__sched_param): New structure, identical to sched_param.
23874 (__need_schedparam): Undefine.
23875
e53a31fe
MF
238762010-08-31 Mike Frysinger <vapier@gentoo.org>
23877
fdc0c10d
MF
23878 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23879 (epoll_create1): Declare.
23880
e53a31fe
MF
23881 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23882
a726d796
AS
238832010-08-31 Andreas Schwab <schwab@redhat.com>
23884
23885 [BZ #7066]
23886 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23887 shifting retval into place.
23888
2f3e3dc7
UD
238892010-09-01 Ulrich Drepper <drepper@redhat.com>
23890
f2933da9
UD
23891 * nis/rpcsvc/nis.h: Update copyright notice.
23892 * nis/rpcsvc/nis.x: Likewise.
23893 * nis/rpcsvc/nis_callback.h: Likewise.
23894 * nis/rpcsvc/nis_callback.x: Likewise.
23895 * nis/rpcsvc/nis_object.x: Likewise.
23896 * nis/rpcsvc/nis_tags.h: Likewise.
23897 * nis/rpcsvc/yp.h: Likewise.
23898 * nis/rpcsvc/yp.x: Likewise.
23899 * nis/rpcsvc/ypupd.h: Likewise.
23900 * nis/yp_xdr.c: Likewise.
23901 * nis/ypupdate_xdr.c: Likewise.
23902
2f3e3dc7
UD
23903 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23904 mainly the body of pmap_getport. Add parameters to specify timeouts.
23905 (pmap_getport): Use __libc_rpc_getport.
23906 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23907 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23908 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23909
f3dcc2f9
AS
239102010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23911
23912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23913 fanotify_mark.
23914
6d34eb5b
RM
239152010-08-27 Roland McGrath <roland@redhat.com>
23916
23917 * sysdeps/i386/i686/multiarch/Makefile
23918 (CFLAGS-varshift.c): New variable.
23919
9ea3de11
UD
239202010-08-27 Ulrich Drepper <drepper@redhat.com>
23921
c96d23fc
UD
23922 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23923 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23924
9ea3de11
UD
23925 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23926
23927 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23928
623aac7f
L
239292010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23930
23931 * sysdeps/x86_64/strlen.S: Unroll the loop.
23932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23933 strlen-sse2 strlen-sse2-bsf.
23934 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23935 __strlen_no_bsf if bit_Slow_BSF is set.
23936 (__strlen_sse42): Removed.
23937 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23938 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23939
8b2b7715
RM
239402010-08-25 Roland McGrath <roland@redhat.com>
23941
23942 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23943 * sysdeps/x86_64/multiarch/varshift.c: New file.
23944 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23945 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23946 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23947 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23948
e73015f2
L
239492010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23950
23951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23952 strlen-sse2 strlen-sse2-bsf.
23953 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23954 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23955 (__strlen_sse2): Removed.
23956 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23957 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23959 bit_Slow_BSF for Atom.
23960 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23961 (index_Slow_BSF): Define.
23962 (HAS_SLOW_BSF): Define.
23963
df24a73e
UD
239642010-08-25 Ulrich Drepper <drepper@redhat.com>
23965
23966 [BZ #10851]
23967 * resolv/res_init.c (__res_vinit): When no server address at all
23968 is given default to loopback.
23969
f2ac4868
RM
239702010-08-24 Roland McGrath <roland@redhat.com>
23971
09055553
RM
23972 * configure.in: Remove config-name.h generation.
23973 * configure: Regenerated.
23974 * config-name.in: File removed.
23975 * scripts/config-uname.sh: New file.
23976 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23977 ($(objdir)config-name.h): New target.
23978
f2ac4868
RM
23979 * sunrpc/rpc_parse.h: Avoid nested comment.
23980
73f27d5e
RH
239812010-08-24 Richard Henderson <rth@redhat.com>
23982 Ulrich Drepper <drepper@redhat.com>
23983 H.J. Lu <hongjiu.lu@intel.com>
23984
23985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23987 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23988 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23989 _mm_alignr_epi8 with _mm_loadu_si128.
23990 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23991 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23992 (__m128i_shift_right): Removed.
23993 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23994 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23995 * sysdeps/x86_64/multiarch/varshift.h: New file.
23996 * sysdeps/x86_64/multiarch/varshift.S: New file.
23997
84b9230c
MF
239982010-08-21 Mike Frysinger <vapier@gentoo.org>
23999
24000 * configure.in: Move assembler checks to before sysdep dir checking.
24001
9bbd0ddc
PB
240022010-08-20 Petr Baudis <pasky@suse.cz>
24003
24004 * LICENSES: Sync the sunrpc license.
24005
9da4bb31
UD
240062010-08-19 Ulrich Drepper <drepper@redhat.com>
24007
a7ab6ec8
UD
24008 * sunrpc/auth_des.c: Update copyright notice once again.
24009 * sunrpc/auth_none.c: Likewise.
24010 * sunrpc/auth_unix.c: Likewise.
24011 * sunrpc/authdes_prot.c: Likewise.
24012 * sunrpc/authuxprot.c: Likewise.
24013 * sunrpc/bindrsvprt.c: Likewise.
24014 * sunrpc/clnt_gen.c: Likewise.
24015 * sunrpc/clnt_perr.c: Likewise.
24016 * sunrpc/clnt_raw.c: Likewise.
24017 * sunrpc/clnt_simp.c: Likewise.
24018 * sunrpc/clnt_tcp.c: Likewise.
24019 * sunrpc/clnt_udp.c: Likewise.
24020 * sunrpc/clnt_unix.c: Likewise.
24021 * sunrpc/des_crypt.c: Likewise.
24022 * sunrpc/des_soft.c: Likewise.
24023 * sunrpc/get_myaddr.c: Likewise.
24024 * sunrpc/getrpcport.c: Likewise.
24025 * sunrpc/key_call.c: Likewise.
24026 * sunrpc/key_prot.c: Likewise.
24027 * sunrpc/openchild.c: Likewise.
24028 * sunrpc/pm_getmaps.c: Likewise.
24029 * sunrpc/pm_getport.c: Likewise.
24030 * sunrpc/pmap_clnt.c: Likewise.
24031 * sunrpc/pmap_prot.c: Likewise.
24032 * sunrpc/pmap_prot2.c: Likewise.
24033 * sunrpc/pmap_rmt.c: Likewise.
24034 * sunrpc/rpc/auth.h: Likewise.
24035 * sunrpc/rpc/auth_unix.h: Likewise.
24036 * sunrpc/rpc/clnt.h: Likewise.
24037 * sunrpc/rpc/des_crypt.h: Likewise.
24038 * sunrpc/rpc/key_prot.h: Likewise.
24039 * sunrpc/rpc/netdb.h: Likewise.
24040 * sunrpc/rpc/pmap_clnt.h: Likewise.
24041 * sunrpc/rpc/pmap_prot.h: Likewise.
24042 * sunrpc/rpc/pmap_rmt.h: Likewise.
24043 * sunrpc/rpc/rpc.h: Likewise.
24044 * sunrpc/rpc/rpc_des.h: Likewise.
24045 * sunrpc/rpc/rpc_msg.h: Likewise.
24046 * sunrpc/rpc/svc.h: Likewise.
24047 * sunrpc/rpc/svc_auth.h: Likewise.
24048 * sunrpc/rpc/types.h: Likewise.
24049 * sunrpc/rpc/xdr.h: Likewise.
24050 * sunrpc/rpc_clntout.c: Likewise.
24051 * sunrpc/rpc_cmsg.c: Likewise.
24052 * sunrpc/rpc_common.c: Likewise.
24053 * sunrpc/rpc_cout.c: Likewise.
24054 * sunrpc/rpc_dtable.c: Likewise.
24055 * sunrpc/rpc_hout.c: Likewise.
24056 * sunrpc/rpc_main.c: Likewise.
24057 * sunrpc/rpc_parse.c: Likewise.
24058 * sunrpc/rpc_parse.h: Likewise.
24059 * sunrpc/rpc_prot.c: Likewise.
24060 * sunrpc/rpc_sample.c: Likewise.
24061 * sunrpc/rpc_scan.c: Likewise.
24062 * sunrpc/rpc_scan.h: Likewise.
24063 * sunrpc/rpc_svcout.c: Likewise.
24064 * sunrpc/rpc_tblout.c: Likewise.
24065 * sunrpc/rpc_util.c: Likewise.
24066 * sunrpc/rpc_util.h: Likewise.
24067 * sunrpc/rpcinfo.c: Likewise.
24068 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
24069 * sunrpc/rpcsvc/key_prot.x: Likewise.
24070 * sunrpc/rpcsvc/klm_prot.x: Likewise.
24071 * sunrpc/rpcsvc/mount.x: Likewise.
24072 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
24073 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
24074 * sunrpc/rpcsvc/rex.x: Likewise.
24075 * sunrpc/rpcsvc/rstat.x: Likewise.
24076 * sunrpc/rpcsvc/rusers.x: Likewise.
24077 * sunrpc/rpcsvc/sm_inter.x: Likewise.
24078 * sunrpc/rpcsvc/spray.x: Likewise.
24079 * sunrpc/rpcsvc/yppasswd.x: Likewise.
24080 * sunrpc/rtime.c: Likewise.
24081 * sunrpc/svc.c: Likewise.
24082 * sunrpc/svc_auth.c: Likewise.
24083 * sunrpc/svc_authux.c: Likewise.
24084 * sunrpc/svc_raw.c: Likewise.
24085 * sunrpc/svc_run.c: Likewise.
24086 * sunrpc/svc_simple.c: Likewise.
24087 * sunrpc/svc_tcp.c: Likewise.
24088 * sunrpc/svc_udp.c: Likewise.
24089 * sunrpc/svc_unix.c: Likewise.
24090 * sunrpc/svcauth_des.c: Likewise.
24091 * sunrpc/xcrypt.c: Likewise.
24092 * sunrpc/xdr.c: Likewise.
24093 * sunrpc/xdr_array.c: Likewise.
24094 * sunrpc/xdr_float.c: Likewise.
24095 * sunrpc/xdr_mem.c: Likewise.
24096 * sunrpc/xdr_rec.c: Likewise.
24097 * sunrpc/xdr_ref.c: Likewise.
24098 * sunrpc/xdr_sizeof.c: Likewise.
24099 * sunrpc/xdr_stdio.c: Likewise.
24100
9da4bb31
UD
24101 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
24102 handling.
24103
bdaa77bc
AS
241042010-08-19 Andreas Schwab <schwab@redhat.com>
24105
24106 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
24107
fe2f79db
LM
241082010-08-19 Luis Machado <luisgpm@br.ibm.com>
24109
24110 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
24111 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
24112 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
24113 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
24114 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
24115 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
24116 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
24117 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
24118 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
24119 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
24120 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
24121 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
24122 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
24123 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
24124
b9b42ee0
AB
241252010-07-26 Anton Blanchard <anton@samba.org>
24126
24127 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
24128 * malloc/arena.c (heap_trim): Likewise.
24129
1c06ba31
UD
241302010-08-16 Ulrich Drepper <drepper@redhat.com>
24131
24132 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
24133 here. Not...
24134 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
24135 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
24136
f8392f40
L
241372010-08-12 H.J. Lu <hongjiu.lu@intel.com>
24138
24139 * sysdeps/i386/elf/Makefile: New file.
24140
3162f12e
AS
241412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24142
24143 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
24144 from fanotify_init.
24145 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
24146 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24147
28c90b2c
UD
241482010-08-15 Ulrich Drepper <drepper@redhat.com>
24149
24150 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
24151 of strncasecmp_l.
1feccb6c 24152 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 24153
ca6bb004
UD
241542010-08-14 Ulrich Drepper <drepper@redhat.com>
24155
e9f82e0d
UD
24156 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24157 strncase_l-nonascii.
24158 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24159 Add strncase_l-ssse3.
24160 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24161 * sysdeps/x86_64/strcmp.S: Likewise.
24162 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24163 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24164 * sysdeps/x86_64/strncase.S: New file.
24165 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24166 * sysdeps/x86_64/strncase_l.S: New file.
24167 * string/Makefile (strop-tests): Add strncasecmp.
24168 * string/test-strncasecmp.c: New file.
24169
24170 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24171 warning.
24172
ca6bb004
UD
24173 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24174 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24175
052fa7b3
AS
241762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24177
24178 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24179
962dba78
UD
241802010-08-12 Ulrich Drepper <drepper@redhat.com>
24181
24182 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24183 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24184 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24185
bebff237
AM
241862010-05-01 Alan Modra <amodra@gmail.com>
24187
24188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24189 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24190 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24191 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24192 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24193 tidying. Don't tail-call __sigjmp_save for static lib.
24194 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24195 save location.
24196 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24197 (CALL_MCOUNT): Add eh info, and nop after bl.
24198 (TAIL_CALL_SYSCALL_ERROR): New macro.
24199 (PSEUDO_RET): Use it.
24200 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24201 Correct save location of integer regs and cr.
24202 (_dl_profile_resolve): Correct cr save location. Delete nops
24203 after bl when SHARED. Reduce cfi size a little by better
24204 placement of cfi directives.
24205 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24206 make a stack frame. Instead use parm save area as a temp.
24207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24208 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24210 Don't make a stack frame for parent, use parm save area.
24211 Increase child stack frame to 112 bytes. Don't save unused reg,
24212 and adjust reg usage. Set up cfi on error recovery and
24213 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24215 (__makecontext): Add dummy nop after jump to exit.
24216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24217 Use correct parm save area and cr save, reduce stack frame.
24218 Correct cfi for possible PSEUDO_RET frame setup.
24219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24220 Branch to local label emitted by PSEUDO_RET rather than
24221 __syscall_error.
24222
02637374
AS
242232010-08-12 Andreas Schwab <schwab@redhat.com>
24224
24225 [BZ #11904]
24226 * locale/programs/locale.c (print_assignment): New function.
24227 (show_locale_vars): Use it.
24228
c3e2f19b
UD
242292010-08-11 Ulrich Drepper <drepper@redhat.com>
24230
3cdaa6ad
UD
24231 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24232 field.
24233 (struct statfs64): Likewise.
24234 (_STATFS_F_FLAGS): Define.
24235 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24236 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24237 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24238 (ST_VALID): Define locally.
24239 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24240 __statvfs_getflags, use the provided value.
24241 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24242 __ASSUME_STATFS_F_FLAGS.
24243
754f7da3
UD
24244 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24245
10b3bedc
UD
24246 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24247 Add sys/fanotify.h.
24248 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24249 fanotify_mask for GLIBC_2.13.
24250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24251 fanotify_init and fanotify_mark.
24252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24253 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24254
c08fb0d7
UD
24255 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24256 Add prlimit.
24257 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24258 prlimit64 for GLIBC_2.13.
24259 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24260 prlimit64.
24261 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24262 syscall.
24263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24264 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24265 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24266 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24268 add prlimit alias.
24269 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24270
15bac72b
UD
24271 [BZ #11903]
24272 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24273 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24274
c3e2f19b
UD
24275 * nss/Makefile: Add rules to build and run tst-nss-test1.
24276 * shlib-versions: Add entry for libnss_test1.
24277 * nss/nss_test1.c: New file.
24278 * nss/tst-nss-test1.c: New file.
24279
24280 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24281 (__nss_configure_lookup): Set appropriate entry in
24282 __nss_configure_lookup to true.
24283 * nss/nsswitch.h: Define enum with indeces of databases in
24284 databases and __nss_database_custom arrays. Declare
24285 __nss_database_custom.
24286 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24287 to avoid using nscd when custom rules are installed.
24288 * nss/getXXbyYY_r.c: Likewise.
24289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24290
24291 * nss/nss_files/files-parse.c: Whitespace fixes.
24292
f15ce4d8
UD
242932010-08-09 Ulrich Drepper <drepper@redhat.com>
24294
24295 [BZ #11883]
24296 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24297 * posix/fnmatch_loop.c: Likewise.
24298
d22e4cc9
AK
242992010-07-17 Andi Kleen <ak@linux.intel.com>
24300
24301 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24302 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24303 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24304 * Versions.def [GLIBC_2.13]: Add.
24305
805bc17d
UD
243062010-08-06 Ulrich Drepper <drepper@redhat.com>
24307
24308 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24309 Also fail if tpwd after pwuid call is NULL.
24310
5a42321d
ST
243112010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24312
24313 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24314 when converting to ms.
24315
fd3ebeda
ST
243162010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24317
24318 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24319 EOPNOTSUPP errors with ENOTTY.
24320 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24321 EOPNOTSUPP errors with ENOTTY.
24322
73507d3a
UD
243232010-07-31 Ulrich Drepper <drepper@redhat.com>
24324
24325 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24326 Add strcasecmp_l-ssse3.
24327 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24328 strcasecmp.
24329 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24330 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24331 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24332
fe36dd02
UD
243332010-07-30 Ulrich Drepper <drepper@redhat.com>
24334
66f6765a
UD
24335 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24336
42e08a54
UD
24337 * string/Makefile (strop-tests): Add strcasecmp.
24338 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24339 strcasecmp_l-nonascii.
24340 (gen-as-const-headers): Add locale-defines.sym.
24341 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24342 * sysdeps/x86_64/strcasecmp.S: New file.
24343 * sysdeps/x86_64/strcasecmp_l.S: New file.
24344 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24345 * sysdeps/x86_64/locale-defines.sym: New file.
24346 * string/test-strcasecmp.c: New file.
24347
fe36dd02
UD
24348 * string/test-strcasestr.c: Test both ends of the range of characters.
24349 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24350
48cbc0d6
RM
243512010-07-29 Roland McGrath <roland@redhat.com>
24352
76e6d6bc 24353 [BZ #11856]
48cbc0d6
RM
24354 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24355
880113d9
UD
243562010-07-27 Ulrich Drepper <drepper@redhat.com>
24357
24358 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24359 for ld.so.
24360
deb9cabb
AS
243612010-07-27 Andreas Schwab <schwab@redhat.com>
24362
24363 * manual/memory.texi (Malloc Tunable Parameters): Document
24364 M_PERTURB.
24365
1c7570ff
RM
243662010-07-26 Roland McGrath <roland@redhat.com>
24367
24368 [BZ #11840]
24369 * configure.in (-fgnu89-inline check): Set and substitute
24370 gnu89_inline, not libc_cv_gnu89_inline.
24371 * configure: Regenerated.
24372 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24373
24fb0f88
UD
243742010-07-26 Ulrich Drepper <drepper@redhat.com>
24375
24376 * string/test-strnlen.c: New file.
24377 * string/Makefile (strop-tests): Add strnlen.
24378 * string/tester.c (test_strnlen): Add a few more test cases.
24379 * string/tst-strlen.c: Better error reporting.
24380
24381 * sysdeps/x86_64/strnlen.S: New file.
24382
8e96b93a
UD
243832010-07-24 Ulrich Drepper <drepper@redhat.com>
24384
24385 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24386 lower-latency instructions.
24387
dbc676d4
UD
243882010-07-23 Ulrich Drepper <drepper@redhat.com>
24389
24390 * string/test-strcasestr.c: New file.
24391 * string/test-strstr.c: New file.
24392 * string/Makefile (strop-tests): Add strstr and strcasestr.
24393 * string/str-two-way.h: Don't undefine MAX.
24394 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24395
f6a31e0e
AS
243962010-07-21 Andreas Schwab <schwab@redhat.com>
24397
24398 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24399 strcasestr-nonascii.
24400 (CFLAGS-strcasestr-nonascii.c): Define.
24401 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24402 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24403 Remove unused attribute.
24404
5dbc3b6c
RM
244052010-07-20 Roland McGrath <roland@redhat.com>
24406
24407 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24408 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24409 ld.so.cache was broken. With it, there is no way to disable dsocaps
24410 like LD_HWCAP_MASK can disable hwcaps.
24411
23d101d8
EPM
244122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24413
24414 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24415
cc9f2e47
UD
244162010-07-16 Ulrich Drepper <drepper@redhat.com>
24417
24418 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24419 call in strcasestr.
24420 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24421 __strcasestr_sse42_nonascii.
24422 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24423 strcasestr-nonascii.c.
24424 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24425
77c1b069
LM
244262010-06-15 Luis Machado <luisgpm@br.ibm.com>
24427
24428 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24429 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24430 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24431 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24432
440566c3
UD
244332010-07-09 Ulrich Drepper <drepper@redhat.com>
24434
24435 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24436 fcntl.
24437
5be9d05d
AS
244382010-07-06 Andreas Schwab <schwab@redhat.com>
24439
c30b7ee2 24440 [BZ #11577]
5be9d05d
AS
24441 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24442 dl_signal_cerror.
24443
8a492a67
UD
244442010-07-06 Ulrich Drepper <drepper@redhat.com>
24445
24446 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24447 _PC_PIPE_BUF using F_GETPIPE_SZ.
24448
713df3d5
RM
244492010-07-05 Roland McGrath <roland@redhat.com>
24450
24451 * manual/arith.texi (Rounding Functions): Fix rint description
24452 implicit in round description.
24453
702e8f14
UD
244542010-07-02 Ulrich Drepper <drepper@redhat.com>
24455
24456 * elf/Makefile: Fix linking for a few tests to make recent linker
24457 happy.
24458
52ed8be9
AS
244592010-06-30 Andreas Schwab <schwab@redhat.com>
24460
24461 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24462 $(common-objpfx)libc_nonshared.a.
24463
f47c9a11
LM
244642010-06-21 Luis Machado <luisgpm@br.ibm.com>
24465
24466 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24467 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24468 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24469 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24470 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24471 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24472 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24473 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24488 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24489 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24490 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24491 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24492 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24493 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24494 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24495 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24496 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24497 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24498 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24499 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24514
6fb8cbcb
L
245152010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24516
24517 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24518 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24519 * string/memmove.c (memmove): Renamed to ...
24520 (MEMMOVE): ...this. Default to memmove.
24521 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24522 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24523 (END_CHK): Define.
24524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24525 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24526 mempcpy-ssse3-back memmove-ssse3-back.
24527 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24528 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24529 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24530 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24531 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24532 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24533 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24534 * sysdeps/x86_64/multiarch/memmove.c: New file.
24535 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24536 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24537 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24538 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24539 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24541 Define.
24542 (index_Fast_Copy_Backward): Define.
24543 (HAS_ARCH_FEATURE): Define.
24544 (HAS_FAST_REP_STRING): Define.
24545 (HAS_FAST_COPY_BACKWARD): Define.
24546
4e733bac 245472010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24548
24549 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24550 Restore proper fallback handling.
24551
63c4ed22
UD
245522010-06-19 Ulrich Drepper <drepper@redhat.com>
24553
ac2b484c
UD
24554 [BZ #11701]
24555 * posix/group_member.c (__group_member): Correct checking loop.
24556
63c4ed22
UD
24557 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24558 OOM in getpwuid_r correctly. Return error number when the caller
24559 should return, otherwise -1.
24560 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24561 call returning > 0 value.
24562 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24563
765ade4b
AS
245642010-06-07 Andreas Schwab <schwab@redhat.com>
24565
24566 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24567 libc_nonshared.a from targets in modules-names.
24568
80da2e09
KS
245692010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24570
24571 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24572 requires it.
24573
158db122
LM
245742010-06-10 Luis Machado <luisgpm@br.ibm.com>
24575
24576 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24577 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24578 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24580
caa78cf8
AS
245812010-06-02 Andreas Schwab <schwab@redhat.com>
24582
24583 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24584
b2ef2c01
UD
245852010-06-14 Ulrich Drepper <drepper@redhat.com>
24586
24587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24588 and F_GETPIPE_SZ.
24589 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24590 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24593 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24594 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24595
fbd643b6
RM
245962010-06-14 Roland McGrath <roland@redhat.com>
24597
24598 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24599
f32f2869
JJ
246002010-06-07 Jakub Jelinek <jakub@redhat.com>
24601
24602 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24603 __REDIRECT followed by __THROW.
24604 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24605 * posix/getopt.h (getopt): Likewise.
24606
2a50c078
EPM
246072010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24608
24609 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24610 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24611 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24612 in AT_FLAGS.
24613 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24614 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24615
eb5ad2eb
LM
246162010-05-28 Luis Machado <luisgpm@br.ibm.com>
24617
24618 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24619
3c88fe1e
L
246202010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24621
24622 [BZ #11640]
24623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24624 Properly check family and model.
24625
d2f73151
TY
246262010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24627
24628 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24629
ebd2e13d
LM
246302010-05-24 Luis Machado <luisgpm@br.ibm.com>
24631
24632 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24633
b32b8b45
UD
246342010-05-21 Ulrich Drepper <drepper@redhat.com>
24635
24636 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24637 symbol reference.
24638
9acbe24d
AS
246392010-05-19 Andreas Schwab <schwab@redhat.com>
24640
24641 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24642 symbol reference.
24643
f0ccf6ea
AS
246442010-05-21 Andreas Schwab <schwab@redhat.com>
24645
3d04ff3a
AS
24646 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24647 and internal_recvmmsg.
24648 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24649 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24650 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24651 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24652
f0ccf6ea
AS
24653 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24654 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24655 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24656
5b08ac57
AS
246572010-05-20 Andreas Schwab <schwab@redhat.com>
24658
24659 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24660
4828935d
LM
246612010-05-17 Luis Machado <luisgpm@br.ibm.com>
24662
24663 POWER7 optimizations.
24664 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24665 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24666
373d545e
UD
246672010-05-19 Ulrich Drepper <drepper@redhat.com>
24668
24669 * version.h: Update for 2.13 development version.
24670
21a2b1ae
AS
246712010-05-12 Andrew Stubbs <ams@codesourcery.com>
24672
24673 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24674 exceptions. Return 0.
24675
3f7dcb2b
RM
246762010-05-07 Roland McGrath <roland@redhat.com>
24677
24678 * elf/ldconfig.c (main): Add a const.
24679
5f24d53a 246802010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24681
a160f8d8
UD
24682 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24683 (args_options): Add no-idn option.
24684 (ahosts_keys_int): Add idn_flags to ai_flags.
24685 (parse_option): Handle 'i' option to clear idn_flags.
24686
5f24d53a
UD
24687 * malloc/malloc.c (_int_free): Possible race in the most recently
24688 added check. Only act on the data if no current modification
24689 happened.
265bb1ce
UD
24690
24691See ChangeLog.17 for earlier changes.
This page took 3.237829 seconds and 5 git commands to generate.