]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
m68k: update libm test ULPs
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ed689c2f
AS
12013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4 "mpa2.h".
5 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6
31d470ac
JM
72013-01-18 Joseph Myers <joseph@codesourcery.com>
8 Mark Mitchell <mark@codesourcery.com>
9 Tom de Vries <tom@codesourcery.com>
10 Paul Pluzhnikov <ppluzhnikov@google.com>
11
12 * debug/tst-backtrace2.c: New file.
13 * debug/tst-backtrace3.c: Likewise.
14 * debug/tst-backtrace4.c: Likewise.
15 * debug/tst-backtrace5.c: Likewise.
16 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17 (CFLAGS-tst-backtrace3.c): Likewise.
18 (CFLAGS-tst-backtrace4.c): Likewise.
19 (CFLAGS-tst-backtrace5.c): Likewise.
20 (LDFLAGS-tst-backtrace2): Likewise.
21 (LDFLAGS-tst-backtrace3): Likewise.
22 (LDFLAGS-tst-backtrace4): Likewise.
23 (LDFLAGS-tst-backtrace5): Likewise.
24 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25 tst-backtrace4 and tst-backtrace5.
26
90567f30 272013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29
30 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36 "+r" and remove output regs list as redundant. Add explicit inline
37 asm to specify register of return val to work around compiler codegen
38 bug. Remove (int) cast on return value. Add return type parameter to
39 use in macro so that this macro does not truncate return value for
40 64-bit values.
41 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42 pass to INTERNAL_VSYSCALL_NCS.
43 (INLINE_VSYSCALL): Add 'long int' as return type to
44 INTERNAL_VSYSCALL_NCS macro invocation.
45 (INTERNAL_VSYSCALL): Add 'long int' as return type to
46 INTERNAL_VSYSCALL_NCS macro invocation.
47 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48
d3b9ea61
SP
492013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
50
0b57daeb
SP
51 [BZ #14496]
52 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53 Fix application of SIMD FP exception mask.
54
caa99d06
SP
55 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56 mp_no from a power of two.
57 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58 __mpexp_twomm1. Use __pow_mp.
59
d3b9ea61
SP
60 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61 multiplication.
62
1dbaee3c
DM
632013-01-17 David S. Miller <davem@davemloft.net>
64
65 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66
728d7b43
JM
672013-01-17 Joseph Myers <joseph@codesourcery.com>
68
69 [BZ #15023]
70 * include/complex.h: Condition contents on [!_COMPLEX_H].
71 (__kernel_casinhf): New prototype.
72 (__kernel_casinh): Likewise.
73 (__kernel_casinhl): Likewise.
74 * math/Makefile (libm_calls): Add k_casinh.
75 * math/k_casinh.c: New file.
76 * math/k_casinhf.c: Likewise.
77 * math/k_casinhl.c: Likewise.
78 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
79 finite nonzero arguments.
80 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
81 finite nonzero arguments.
82 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
83 finite nonzero arguments.
84 * math/s_casinh.c: Do not include <float.h>.
85 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
86 * math/s_casinhf.c: Do not include <float.h>.
87 (__casinhf): Move code for finite nonzero arguments to
88 k_casinhf.c.
89 * math/s_casinhl.c: Do not include <float.h>.
90 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
91 redefine.
92 (__casinhl): Move code for finite nonzero arguments to
93 k_casinhl.c.
94 * math/libm-test.inc (cacos_test): Add more tests.
95 * sysdeps/i386/fpu/libm-test-ulps: Update.
96 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
97
2a26ef3a
PT
982013-01-17 Pino Toscano <toscano.pino@tiscali.it>
99
100 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
101 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
102 [!HAVE_MREMAP]: Remove [defined linux] case.
103 * malloc/arena.c: Do not include <malloc-sysdep.h>.
104
a897655d
SP
1052013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
106
107 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
108
881ebe89 1092013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
110
111 * elf/elf.h (R_386_SIZE32): New relocation.
112 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
113 R_386_SIZE32.
114 (elf_machine_rela): Likewise.
115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
116 R_X86_64_SIZE64 and R_X86_64_SIZE32.
117
59981e9b
JM
1182013-01-17 Joseph Myers <joseph@codesourcery.com>
119
120 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
121 (FP_FAST_FMA): Do not define.
122 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
123 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
124 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
125 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
126 !_SOFT_FLOAT]: Likewise.
127 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
128 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
129 value.
130 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
131 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
132 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
133 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
134 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
135 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
136 file.
137
cfa8054f
AS
1382013-01-16 Andreas Schwab <schwab@suse.de>
139
140 [BZ #14327]
141 * include/stdlib.h (__mktemp): Add declaration.
142 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
143 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
144
dd930cc5
SP
1452013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
146
881ebe89
SP
147 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
148 definitions.
149 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
150 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
151 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
152 definitions here.
153 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
154 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
155 definitions.
156 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
157 and ONE.
158 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
159 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
160 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
161 definitions.
162 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
163 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
164 definitions.
165 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 166
dd930cc5
SP
167 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
168
c19a9f89
DM
1692013-01-15 David S. Miller <davem@davemloft.net>
170
1aa61767
DM
171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
172 trunc{,f} to libm-sysdep_routes.
173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
175 file.
176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
178 file.
179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
180 file.
181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
183 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
184 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
185 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
186 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
187 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
188 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
189
c42d5e98
DM
190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
191 nearbyint{,f} to libm-sysdep_routes.
192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
194 New file.
195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
196 file.
197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
198 New file.
199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
200 file.
201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
204 file.
205 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
206 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
207 file.
208 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
209 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
210 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
211
c19a9f89
DM
212 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
213 libc_feholdexcept and libc_fesetenv.
214
357679d2
MF
2152013-01-15 Mike Frysinger <vapier@gentoo.org>
216
217 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
218
65a82e3d
DM
2192013-01-14 David S. Miller <davem@davemloft.net>
220
8b954ab9
DM
221 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
222 (SPARC_ASM_VIS2_IFUNC): Likewise.
223 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
225 use of 'siam' instruction.
226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
227 Likewise.
228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
229 Likewise.
230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
231 Likewise.
232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
237 file.
238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
239 file.
240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
241 file.
242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
243 file.
244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
249 new VIS2 routines.
250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
253 Likewise.
254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
259 routines to libm-sysdep_routines.
260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
261
65a82e3d
DM
262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
263 fdim/fdimf to libm-sysdep_routines.
264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
265 file.
266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
268 file.
269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
272 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
273 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
274 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
275 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
276
e34ab705
SP
2772013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
278
2a91b573
SP
279 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
280 to optimize copies.
281
1066a534
SP
282 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
285
e34ab705
SP
286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
287 local variable MPTWO.
288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
289 Likewise.
290
aba5e596
MF
2912013-01-13 Mike Frysinger <vapier@gentoo.org>
292
293 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
294 GLOB_NOESCAPE.
295
e557e9e5
MF
2962013-01-13 Mike Frysinger <vapier@gentoo.org>
297
298 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
299
0428cec9
MF
3002013-01-13 Mike Frysinger <vapier@gentoo.org>
301
302 * manual/pattern.texi (glob_t): Document gl_flags.
303 (glob64_t): Likewise.
304
8794a964
DM
3052013-01-11 David S. Miller <davem@davemloft.net>
306
66438c3f
RM
307 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
308 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
309 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
310 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
311 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
312 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
313 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
314 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
315 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
316 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
317 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
318 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
319 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
320
4ae4244d
DM
321 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
322 sparc V9 rather than using V8 code.
323 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
324 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
325
8794a964
DM
326 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
327 Move to...
328 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
329 Here.
330
6270516e
RM
3312013-01-11 Roland McGrath <roland@hack.frob.com>
332
333 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
334 not in the main loop.
335 * configure: Regenerated.
336
6a57d931
JM
3372013-01-11 Joseph Myers <joseph@codesourcery.com>
338
339 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
340 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
341 to just #else.
342 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
343 [!__GLIBC_HAVE_LONG_LONG] case.
344 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
345 condition to just #else.
346 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
347 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
348 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
349 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
350 unconditional.
351 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
352 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
353 #elif condition to just #else.
354 * sysdeps/unix/sysv/linux/sys/sysmacros.h
355 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
356 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
357 #elif condition to just #else.
358
0e8529e9
SE
3592013-01-11 Steve Ellcey <sellcey@mips.com>
360
361 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
362 (EF_MIPS_ARCH_64): Fix value.
363 (EF_MIPS_ARCH_32R2): New.
364 (EF_MIPS_ARCH_64R2): New.
365
740b3dbe
L
3662013-01-11 H.J. Lu <hongjiu.lu@intel.com>
367
368 * Makeconfig (+link-pie-before-libc): New.
369 (+link-pie-after-libc): Likewise.
370 (+link-pie-tests): Likewise.
371 (+link-pie): Rewritten.
372 (link-before-libc): Remove $(config-LDFLAGS).
373 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
374 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
375 (config-LDFLAGS): Renamed to ...
376 (rtld-LDFLAGS): This.
377 (rtld-tests-LDFLAGS): New macro.
378 (link-libc-rpath-link): Likewise.
379 (link-libc-tests-rpath-link): Likewise.
380 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
381 (link-libc): Prepand $(link-libc-rpath-link).
382 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
383 (test-program-prefix): New macro.
384 (test-via-rtld-prefix): Likewise.
385 (test-program-cmd): Likewise.
386 (host-test-program-cmd): Likewise.
387 * Makefile ($(common-objpfx)testrun.sh): Replace
388 $(run-program-prefix) with $(test-program-prefix).
389 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
390 $(rtld-LDFLAGS).
391 ($(common-objpfx)shlib.lds): Likewise.
392 (build-module-helper): Likewise.
393 ($(common-objpfx)format.lds): Likewise.
394 * Rules (binaries-pie-tests): New.
395 (binaries-pie-notests): Likewise.
396 (binaries-pie): Rewritten.
397 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
398 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
399 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
400 (make-test-out): Replace $(host-built-program-cmd) with
401 $(host-test-program-cmd).
402 * config.make.in (build-hardcoded-path-in-tests): New variable.
403 * configure.in (--enable-hardcoded-path-in-tests): New configure
404 option.
405 (hardcoded_path_in_tests): New AC_SUBST.
406 * configure: Regenerated.
407 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
408 $(built-program-cmd) with $(test-program-cmd).
409 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
410 (test_program_cmd): This.
411 * elf/Makefile ($(objpfx)order.out): Run test with
412 $(test-program-prefix).
413 ($(objpfx)order2.out): Likewise.
414 ($(objpfx)tst-initorder.out): Likewise.
415 ($(objpfx)tst-initorder2.out): Likewise.
416 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
417 $(test-program-cmd).
418 ($(objpfx)tst-array1-static.out): Likewise.
419 ($(objpfx)tst-array2.out): Likewise.
420 ($(objpfx)tst-array3.out): Likewise.
421 ($(objpfx)tst-array4.out): Likewise.
422 ($(objpfx)tst-array5.out): Likewise.
423 ($(objpfx)tst-array5-static.out): Likewise.
424 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
425 $(test-program-cmd).
426 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
427 $(run-program-prefix) with $(test-program-prefix).
428 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
429 (test_program_prefix): This.
430 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
431 $(run-program-prefix) with $(test-program-prefix).
432 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
433 (test_program_prefix): This.
434 * iconvdata/tst-tables.sh: Likewise.
435 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
436 $(run-program-prefix) with $(test-program-prefix).
437 ($(objpfx)tst-translit.out): Likewise.
438 ($(objpfx)tst-gettext2.out): Likewise.
439 ($(objpfx)tst-gettext4.out): Likewise.
440 ($(objpfx)tst-gettext6.out): Likewise.
441 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
442 (test_program_prefix): This.
443 * intl/tst-gettext2.sh: Likewise.
444 * intl/tst-gettext4.sh Likewise.
445 * intl/tst-gettext6.sh: Likewise.
446 * intl/tst-translit.sh: Likewise.
447 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
448 with $(test-program-cmd).
449 * libio/Makefile ($(objpfx)test-freopen.out): Replace
450 $(run-program-prefix) with $(test-program-prefix).
451 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
452 (test_program_prefix): This.
453 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
454 $(run-program-prefix) with $(test-program-prefix).
455 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
456 (test_program_prefix): This.
457 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
458 * posix/Makefile ($(objpfx)globtest.out): Replace
459 $(run-via-rtld-prefix) and $(test-wrapper) with
460 $(test-program-prefix) and $(test-via-rtld-prefix).
461 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
462 $(test-program-prefix).
463 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
464 $(host-test-program-cmd).
465 (tst-spawn-ARGS): Likewise.
466 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
467 $(test-program-prefix).
468 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
469 (test_via_rtld_prefix): This.
470 (test_wrapper): Renamed to ...
471 (test_program_prefix): This.
472 (run_program_prefix): Replaced by test_program_prefix.
473 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
474 (test_program_prefix): This.
475 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
476 with $(host-test-program-cmd).
477 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
478 $(run-program-prefix) with $(test-program-prefix).
479 ($(objpfx)tst-printf.out): Likewise.
480 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
481 $(test-program-cmd).
482 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
483 (test_program_prefix): This.
484 * stdio-common/tst-unbputc.sh: Likewise.
485 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
486 $(run-program-prefix) with $(test-program-prefix).
487 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
488 (test_program_prefix): This.
489 * string/Makefile ($(objpfx)tst-svc.out): Replace
490 $(built-program-cmd) with $(test-program-cmd).
491
c6fe55cf
AJ
4922013-01-11 Andreas Jaeger <aj@suse.de>
493
494 [BZ #15003]
495 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
496 value. Sync with Linux 3.7.
497
9e6919c8
DM
4982013-01-10 David S. Miller <davem@davemloft.net>
499
500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
503
1c9f1a02
RM
5042013-01-10 Roland McGrath <roland@hack.frob.com>
505
506 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
507 never set.
508 * configure: Regenerated.
509
b9de2dde
DM
5102013-01-10 David S. Miller <davem@davemloft.net>
511
512 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
513 sparc V9 rather than using V8 code.
514 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
515 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
516
e7f68ef4
RM
5172013-01-10 Roland McGrath <roland@hack.frob.com>
518
519 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
520 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
521 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
522 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
523 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
524 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
525 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
526 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
527 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
528 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
529 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
530 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
531 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
532 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
533 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
534 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
535 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
536 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
537 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
538 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
539 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
540 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
541 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
542 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
543 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
544 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
545 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
546
5a47cc9c
DM
5472013-01-10 David S. Miller <davem@davemloft.net>
548
549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
550
4cf8f209
L
5512013-01-10 H.J. Lu <hongjiu.lu@intel.com>
552
553 * posix/Makefile (tests-static): New variable.
554 (tests): Add $(tests-static).
555 (tst-exec-static-ARGS): New variable.
556 (tst-spawn-static-ARGS): Likewise.
557 * posix/tst-exec-static.c: New file.
558 * posix/tst-spawn-static.c: Likewise.
559 * posix/tst-exec.c: Support run directly.
560 * posix/tst-spawn.c: Likewise.
561
fed0faa1
JM
5622013-01-10 Joseph Myers <joseph@codesourcery.com>
563
828beb13
JM
564 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
565 long.
566 * math/bits/mathcalls.h (llrint): Likewise.
567 (llround): Likewise.
568 * stdlib/stdlib.h (struct drand48_data): Likewise.
569 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
570 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
571 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
572 Likewise.
573 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
574 Likewise.
575 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
576 (elf_greg_t): Likewise.
577 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
578 (__jmp_buf): Likewise.
579 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
580 definitions.
581 (llrint): Likewise, for all definitions.
582 (llrintl): Likewise.
583
fed0faa1
JM
584 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
585 Remove [__GNUC__] condition.
586 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
587 condition to just [__USE_ISOC99].
588 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
589
1a20cb20
L
5902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
591
592 [BZ #14200]
593 * sysdeps/unix/sysv/linux/x86/bits/environments.h
594 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
595 defined.
596 (_POSIX_V6_ILP32_OFF32): Likewise.
597 (_XBS5_ILP32_OFF32): Likewise.
598 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
599 (__ILP32_OFFBIG_LDFLAGS): Likewise.
600
751b85f7
SP
6012013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
602
7490eb81
SP
603 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
604
751b85f7
SP
605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
606 doubles __mpexp_twomm1. Adjust usage.
607 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
608 Remove.
609
988197f0
AS
6102013-01-10 Andreas Schwab <schwab@suse.de>
611
612 [BZ #14964]
613 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
614 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
615
e83d7298
DM
6162013-01-09 David S. Miller <davem@davemloft.net>
617
034ed64b 618 [BZ #15003]
e83d7298
DM
619 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
620 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
621 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
622 TCP_FASTOPEN): Define.
623 (tcp_repair_opt): New structure.
624 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
625 enum values.
626 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
627 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
628 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
629 (tcp_cookie_transactions): New structure.
630
d5e0b9bd
AB
6312013-01-09 Anton Blanchard <anton@samba.org>
632
633 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
634 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
635 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
636 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
637
0c07e3ea
JM
6382013-01-09 Joseph Myers <joseph@codesourcery.com>
639
640 * include/features.h (__USE_ANSI): Remove.
641
232f7002
RM
6422013-01-09 Roland McGrath <roland@hack.frob.com>
643
ad98e30c
RM
644 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
645
232f7002
RM
646 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
647
950c99ca
SP
6482013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
649
b5792741
SP
650 * sysdeps/s390/fpu/libm-test-ulps: Update.
651
47cf2278
SP
652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
653
950c99ca
SP
654 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
655 (__acr): Likewise.
656 (__cpy): Likewise.
657 (norm): Likewise.
658 (denorm): Likewise.
659 (__mp_dbl): Likewise.
660 (__dbl_mp): Likewise.
661 (add_magnitudes): Likewise.
662 (sub_magnitudes): Likewise.
663 (__add): Likewise.
664 (__sub): Likewise.
665 (__mul): Likewise.
666 (__inv): Likewise.
667 (__dvd): Likewise.
668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
669 (__acr): Likewise.
670 (__cpy): Likewise.
671 (norm): Likewise.
672 (denorm): Likewise.
673 (__mp_dbl): Likewise.
674 (__dbl_mp): Likewise.
675 (add_magnitudes): Likewise.
676 (sub_magnitudes): Likewise.
677 (__add): Likewise.
678 (__sub): Likewise.
679 (__mul): Likewise.
680 (__inv): Likewise.
681 (__dvd): Likewise.
682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
683 (__acr): Likewise.
684 (__cpy): Likewise.
685 (norm): Likewise.
686 (denorm): Likewise.
687 (__mp_dbl): Likewise.
688 (__dbl_mp): Likewise.
689 (add_magnitudes): Likewise.
690 (sub_magnitudes): Likewise.
691 (__add): Likewise.
692 (__sub): Likewise.
693 (__mul): Likewise.
694 (__inv): Likewise.
695 (__dvd): Likewise.
696
eede9df9
JM
6972013-01-08 Joseph Myers <joseph@codesourcery.com>
698
699 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
700 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
701 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
702 2 && __USE_EXTERN_INLINES]: Likewise.
703
c40ea3d9
AJ
7042013-01-08 Andreas Jaeger <aj@suse.de>
705
706 [BZ# 14985]
707 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
708 Remove.
709 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
710 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
711
2ccdea26
AB
7122013-01-07 Anton Blanchard <anton@samba.org>
713
714 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
715 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
716 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
717 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
718 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
719 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
720 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
721 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
724 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
725 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
726 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
727 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
728 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
729 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
730 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
731 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
732 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
733 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
734 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
735 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
737 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
738 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
739 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
740 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
741 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
743 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
744 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
746 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
747 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
748 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
749 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
750 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
752 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
754 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
755 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
756 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
757
a9708fed
JM
7582013-01-07 Joseph Myers <joseph@codesourcery.com>
759
375607b9
JM
760 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
761 (__MALLOC_PMT): Likewise.
762 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
763 [__GNUC__], only on [_LIBC].
764 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
765 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
766 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
767 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
768 forward declaration.
769 (realloc_hook_ini): Likewise.
770 (memalign_hook_ini): Likewise.
771 (__libc_memalign): Do not use __MALLOC_PMT in variable
772 declaration.
773 (__libc_valloc): Likewise.
774 (__libc_pvalloc): Likewise.
775 (__libc_calloc): Likewise.
776 (__posix_memalign): Likewise.
777
a9708fed
JM
778 [BZ #14996]
779 * math/s_casinh.c: Include <float.h>.
780 (__casinh): Do not do computation with squaring and square root
781 for large arguments.
782 * math/s_casinhf.c: Include <float.h>.
783 (__casinhf): Do not do computation with squaring and square root
784 for large arguments.
785 * math/s_casinhl.c: Include <float.h>.
786 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
787 (__casinhl): Do not do computation with squaring and square root
788 for large arguments.
789 * math/libm-test.inc (casin_test): Add more tests.
790 (casinh_test): Likewise.
791 * sysdeps/i386/fpu/libm-test-ulps: Update.
792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
793
afec409a
L
7942013-01-04 H.J. Lu <hongjiu.lu@intel.com>
795
796 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
797 (__x86_64_raw_data_cache_size): Likewise.
798 (__x86_64_data_cache_size_half): Likewise.
799 (__x86_64_raw_data_cache_size_half): Likewise.
800 (__x86_64_shared_cache_size): Likewise.
801 (__x86_64_raw_shared_cache_size): Likewise.
802 (__x86_64_shared_cache_size_half): Likewise.
803 (__x86_64_raw_shared_cache_size_half): Likewise.
804 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
805 to ...
806 (__x86_data_cache_size): This.
807 (__x86_64_raw_data_cache_size): Renamed to ...
808 (__x86_raw_data_cache_size): This.
809 (__x86_64_data_cache_size_half): Renamed to ...
810 (__x86_data_cache_size_half): This.
811 (__x86_64_raw_data_cache_size_half): Renamed to ...
812 (__x86_raw_data_cache_size_half): This.
813 (__x86_64_shared_cache_size): Renamed to ...
814 (__x86_shared_cache_size): This.
815 (__x86_64_raw_shared_cache_size): Renamed to ...
816 (__x86_raw_shared_cache_size): This.
817 (__x86_64_shared_cache_size_half): Renamed to ...
818 (__x86_shared_cache_size_half): This.
819 (__x86_64_raw_shared_cache_size_half): Renamed to ...
820 (__x86_raw_shared_cache_size_half): This.
821 * sysdeps/x86_64/memcpy.S: Updated.
822 * sysdeps/x86_64/memset.S: Likewise.
823 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
824 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
825 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
826
0b3986d0
DM
8272013-01-04 David S. Miller <davem@davemloft.net>
828
829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
830
e47686e9
AS
8312013-01-04 Andreas Schwab <schwab@linux-m68k.org>
832
d643bac1
AS
833 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
834 1 to avoid redefinition warning.
835 (__USE_GNU): Don't define.
836 (init_signaling_nan): Protoize.
837
e47686e9
AS
838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
839
b18decba
SP
8402013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
841
fffb407f
SP
842 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
844 (__cpymn): Likewise.
845 (norm): Remove commented code.
846 (denorm): Likewise.
847 (__mp_dbl): Likewise.
848 (__inv): Likewise.
849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
850 (__cpymn): Likewise.
851 (norm): Remove commented code.
852 (denorm): Likewise.
853 (__mp_dbl): Likewise.
854 (__inv): Likewise.
855
b18decba
SP
856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
857 mp_no value for 1.0 and 2.0.
858 (norm): Use RADIXI instead of radixi.d.
859 (denorm): Likewise.
860 (__mul): Use 0.0 instead of zero.d.
861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
862 mp_no value for 1.0 and 2.0.
863 (norm): Use RADIXI instead of radixi.d.
864 (denorm): Likewise.
865 (__mul): Use 0.0 instead of zero.d.
866
cdc1c96f
JM
8672013-01-04 Joseph Myers <joseph@codesourcery.com>
868
869 [BZ #14994]
870 * math/s_casinh.c (__casinh): Reduce finite argument to first
871 quadrant then set signs of results at the end.
872 * math/s_casinhf.c (__casinhf): Likewise.
873 * math/s_casinhl.c (__casinhl): Likewise.
874 * math/libm-test.inc (casin_test): Add more tests.
875 (casinh_test): Likewise.
876 * sysdeps/i386/fpu/libm-test-ulps: Update.
877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
878
302913e1
SP
8792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
880
6420d207
SP
881 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
882
a9e48ab4
SP
883 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
884
b7837264
SP
885 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
886 declarations.
887 (denorm): Likewise.
888 (__mp_dbl): Likewise.
889 (__inv): Likewise.
890
f8af25d2
SP
891 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
892 and adjust the header comment.
893
302913e1
SP
894 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
895 variable name from declaration.
896
5d7dd1ca
L
8972013-01-03 H.J. Lu <hongjiu.lu@intel.com>
898
899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
900 Initialize COMMON_CPUID_INDEX_7 element.
901 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
902 (CPUID_RTM): Likewise.
903 (HAS_RTM): Likewise.
904 (COMMON_CPUID_INDEX_7): New enum.
905
2f5f40f4
AS
9062013-01-03 Andreas Schwab <schwab@linux-m68k.org>
907
908 [BZ #14981]
909 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
910 size is zero, record memory as freed.
911
4056f4a0
AJ
9122013-01-03 Andreas Jaeger <aj@suse.de>
913
914 * po/ia.po: Add new Interlingua translation.
915
ab15736f 9162012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
917
918 * locale/programs/localedef.c: Fix description of '--posix' flag.
919
568035b7
JM
9202013-01-02 Joseph Myers <joseph@codesourcery.com>
921
e6898b8d
JM
922 * NEWS: Update dates in second copyright notice.
923 * README: Update copyright dates in example.
924 * manual/libc.texinfo: Update copyright dates.
925 * scripts/test-installation.pl: Update copyright date in --version
926 output.
927
0e2f9562
JM
928 * hurd/ctty-input.c: Fix copyright notice formatting.
929 * hurd/ctty-output.c: Likewise.
930 * hurd/dtable.c: Likewise.
931 * hurd/hurd-raise.c: Likewise.
932 * hurd/hurdprio.c: Likewise.
933 * hurd/msgportdemux.c: Likewise.
934 * misc/sys/file.h: Likewise.
935 * misc/sys/ioctl.h: Likewise.
936 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
937 * sysdeps/mach/hurd/chdir.c: Likewise.
938 * sysdeps/mach/hurd/fchdir.c: Likewise.
939 * sysdeps/mach/hurd/rename.c: Likewise.
940 * sysdeps/mach/hurd/rmdir.c: Likewise.
941 * sysdeps/mach/hurd/seekdir.c: Likewise.
942 * sysdeps/mach/hurd/setsid.c: Likewise.
943 * sysdeps/posix/wait3.c: Likewise.
944
568035b7
JM
945 * All files with FSF copyright notices: Update copyright dates
946 using scripts/update-copyrights.
947 * intl/plural.c: Regenerated.
948 * locale/programs/charmap-kw.h: Likewise.
949 * locale/programs/locfile-kw.h: Likewise.
950
da08f647
SP
9512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
952
0f5477af
SP
953 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
954 four values.
955
44e0d4c2
SP
956 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
957 calculation loop and add branch prediction.
958
4d55b4e5
SP
959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
960 check access beyond bounds of m1np.
961
da08f647
SP
962 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
963 MPTWO.
964 (__inv): Remove local variable MPTWO to use the global
965 constant.
966 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
968 variable MPTWO.
969 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
970 MP3HALFS static const.
971
8e051029
DM
9722013-01-01 David S. Miller <davem@davemloft.net>
973
974 * po/ca.po: Update from translation team.
975
f4cf5f2d
JM
9762013-01-01 Joseph Myers <joseph@codesourcery.com>
977
978 * scripts/update-copyrights: New file.
979 * Makeconfig: Reformat copyright notice.
980 * ctype/ctype.h: Likewise.
981 * debug/swprintf_chk.c: Likewise.
982 * elf/dl-cache.c: Likewise.
983 * elf/dl-debug.c: Likewise.
984 * elf/dl-object.c: Likewise.
985 * grp/initgroups.c: Likewise.
986 * hurd/Makefile: Likewise.
987 * hurd/hurd/signal.h: Likewise.
988 * hurd/hurdfault.c: Likewise.
989 * hurd/hurdioctl.c: Likewise.
990 * hurd/hurdlookup.c: Likewise.
991 * hurd/intr-msg.c: Likewise.
992 * iconv/gconv_open.c: Likewise.
993 * libio/swprintf.c: Likewise.
994 * locale/lc-ctype.c: Likewise.
995 * locale/nl_langinfo.c: Likewise.
996 * mach/Machrules: Likewise.
997 * mach/Makefile: Likewise.
998 * malloc/obstack.h: Likewise.
999 * manual/Makefile: Likewise.
1000 * manual/tsort.awk: Likewise.
1001 * misc/bits/stab.def: Likewise.
1002 * nis/nis_print_group_entry.c: Likewise.
1003 * nis/nis_table.c: Likewise.
1004 * nis/nss_compat/compat-pwd.c: Likewise.
1005 * nis/nss_compat/compat-spwd.c: Likewise.
1006 * po/Makefile: Likewise.
1007 * posix/fnmatch.c: Likewise.
1008 * posix/regex.h: Likewise.
1009 * resolv/Makefile: Likewise.
1010 * resolv/nss_dns/dns-network.c: Likewise.
1011 * resolv/res_hconf.c: Likewise.
1012 * scripts/gen-sorted.awk: Likewise.
1013 * soft-fp/soft-fp.h: Likewise.
1014 * stdio-common/printf.h: Likewise.
1015 * stdlib/monetary.h: Likewise.
1016 * stdlib/random.c: Likewise.
1017 * stdlib/random_r.c: Likewise.
1018 * sysdeps/generic/Makefile: Likewise.
1019 * sysdeps/gnu/Makefile: Likewise.
1020 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1022 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1024 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1027 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1030 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1031 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1032 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1033 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1034 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1035 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1036 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1037 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1038 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1043 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1044 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1045 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1046 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1047 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1048 * sysdeps/mach/hurd/errnos.awk: Likewise.
1049 * sysdeps/mach/hurd/fork.c: Likewise.
1050 * sysdeps/mach/hurd/getcwd.c: Likewise.
1051 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1052 * sysdeps/mach/hurd/mmap.c: Likewise.
1053 * sysdeps/mach/hurd/utimes.c: Likewise.
1054 * sysdeps/mach/hurd/xmknod.c: Likewise.
1055 * sysdeps/posix/profil.c: Likewise.
1056 * sysdeps/posix/readdir_r.c: Likewise.
1057 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1058 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1059 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1060 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1064 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1066 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1067 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1068 * sysdeps/pthread/lio_listio.c: Likewise.
1069 * sysdeps/sparc/dl-procinfo.h: Likewise.
1070 * sysdeps/unix/i386/sysdep.S: Likewise.
1071 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1072 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1073 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1074 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1076 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1077 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1078 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1079 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1080 * sysdeps/wordsize-32/divdi3.c: Likewise.
1081 * time/sys/time.h: Likewise.
1082 * wcsmbs/Makefile: Likewise.
1083
0549fbba
DM
10842013-01-01 David S. Miller <davem@davemloft.net>
1085
a141f1a7
DM
1086 * po/fr.po: Update from translation team.
1087
0549fbba
DM
1088 * catgets/gencat.c: Update copyright year.
1089 * csu/version.c: Likewise.
1090 * debug/catchsegv.sh: Likewise.
1091 * debug/pcprofiledump.c: Likewise.
1092 * debug/xtrace.sh: Likewise.
1093 * elf/ldconfig.c: Likewise.
1094 * elf/ldd.bash.in: Likewise.
1095 * elf/pldd.c: Likewise.
1096 * elf/sotruss.ksh: Likewise.
1097 * elf/sprof.c: Likewise.
1098 * iconv/iconv_prog.c: Likewise.
1099 * iconv/iconvconfig.c: Likewise.
1100 * locale/programs/locale.c: Likewise.
1101 * locale/programs/localedef.c: Likewise.
1102 * login/programs/pt_chown.c: Likewise.
1103 * malloc/memusage.sh: Likewise.
1104 * malloc/memusagestat.c: Likewise.
1105 * malloc/mtrace.pl: Likewise.
1106 * nscd/nscd.c: Likewise.
1107 * nss/getent.c: Likewise.
1108 * nss/makedb.c: Likewise.
1109 * posix/getconf.c: Likewise.
1110
18ea052c
SP
11112012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1112
1113 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1114 numbers.
1115
9c89fca6
MF
11162012-12-30 Mike Frysinger <vapier@gentoo.org>
1117
1118 * math/bits/mathcalls.h (modf): Use __nonnull.
1119
085ec079
SP
11202012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1121
1122 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1123 (split): Use macro CN instead of the bare value.
1124 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1125 could be used.
1126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1127 instead of the bare value.
1128 (power1): Likewise.
1129
6d9f97e1
SP
11302012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1131
d63f73be
SP
1132 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1133 __ATAN_TWOM.
1134 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1135
6d9f97e1
SP
1136 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1137 their values.
1138 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1139 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1140 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1141 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1142
4c4febf5
AJ
11432012-12-28 Andreas Jaeger <aj@suse.de>
1144
af5843ef
AJ
1145 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1146 values are from Linux 3.7.
1147
4c4febf5
AJ
1148 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1149 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1150
99136f82
SP
11512012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1152
2f216c3c 1153 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1154 TRUE case.
1155
99136f82
SP
1156 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1157 (norm): Likewise.
1158 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1159 variables with preprocessor constants.
1160 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1161 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1162 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1163
7fffbdff
BH
11642012-12-27 Bruno Haible <bruno@clisp.org>
1165
1166 [BZ #14317]
1167 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1168 only if needed.
1169
b76eb5f0
SP
11702012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1171
31a7fe5c
SP
1172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1173 and use variable directly.
1174 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1175
b76eb5f0
SP
1176 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1177 MPONE.
1178 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1180 variable MPONE.
1181 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1183 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1184 include directive. Remove local variable MPONE.
1185 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1186 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1187 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1188
2c8bfe7d
DM
11892012-12-25 David S. Miller <davem@davemloft.net>
1190
1191 * version.h (RELEASE): Set to "development".
1192 (VERSION): Set to "2.17.90".
1193 * NEWS: Add 2.18 section.
1194
147d03b0
DM
11952012-12-21 David S. Miller <davem@davemloft.net>
1196
1197 * po/hr.po: Update from translation team.
1198
a8ebb2b9
AK
11992012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1200
1201 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1202
95b4f1b6
SE
12032012-12-19 Steve Ellcey <sellcey@mips.com>
1204
b2d94007 1205 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1206
cedb2a90
MS
12072012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1208
1209 * manual/contrib.texi (Contributors): Spelling correction.
1210
bbf527d6
DM
12112012-12-15 David S. Miller <davem@davemloft.net>
1212
1213 * po/ru.po: Update from translation team.
1214
bc38c906
DM
12152012-12-13 David S. Miller <davem@davemloft.net>
1216
85429b1a
DM
1217 * NEWS: Mention IFUNC testsuite enhancements.
1218
d283e353
DM
1219 * po/pl.po: Update from translation team.
1220 * po/bg.po: Likewise.
1221
bc38c906
DM
1222 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1223 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1224
a181b0d7
DM
12252012-12-11 David S. Miller <davem@davemloft.net>
1226
4641d57e
DM
1227 * po/sv.po: Update from translation team.
1228
f7bc6495
DM
1229 * po/vi.po: Update from translation team.
1230
6fc9048f
DM
1231 * po/cs.po: Update from translation team.
1232
a181b0d7
DM
1233 * po/de.po: Update from translation team.
1234 * po/eo.po: Likewise.
1235 * po/nl.po: Likewise.
1236
f70bfe80
SP
12372012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1238
3c8b4190
SP
1239 [BZ #14246]
1240 * manual/argp.texi (Argp Helper Functions): Move node to follow
1241 Argp Parsing State.
1242
f70bfe80
SP
1243 [BZ #14872]
1244 * manual/conf.texi (Limits on File System Capacity): Mention if
1245 terminating null is included in the max size.
1246
188f0adf
AJ
12472012-12-10 Andreas Jaeger <aj@suse.de>
1248
1249 * po/cs.po: Update from translation team.
1250
56e7d3ad
SP
12512012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1252
1253 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1254 void pointer and cast to uintptr_t.
1255 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1256 path.
1257 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1258 * sysdeps/s390/s390-64/memset.S: Likewise.
1259
76f2d2ea 12602012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1261
1262 [BZ #14833]
1263 * menual/message.texi (Message Translation): Fix typos.
1264 (Helper programs for gettext): Likewise.
1265
67cbf9a2
AS
12662012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1267
1268 [BZ #14898]
1269 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1270 Change to -1.
1271
682d0e9a
DM
12722012-12-07 David S. Miller <davem@davemloft.net>
1273
1274 * po/libc.pot: Update.
1275
573cd484
RH
12762012-12-07 Richard Henderson <rth@redhat.com>
1277
7e9da188 1278 [BZ #10114]
573cd484
RH
1279 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1280 normal/normal case to before the switch.
1281 (_FP_DIV): Likewise.
1282
e933a943
MF
12832012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1284 Mike Frysinger <vapier@gentoo.org>
1285
1286 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1287 check for __NR_fadvise64_64.
1288
82123268
CM
12892012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1290
1291 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1292 0, not just to plain "0" as a statement.
1293 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1294 with cw.
1295
d9814526
JM
12962012-12-06 Joseph Myers <joseph@codesourcery.com>
1297
1298 * NEWS: Use sourceware.org in Bugzilla URL.
1299
7728c574
SP
13002012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1301
f16946dd
SP
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1303 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1304
5704bbcb
SP
1305 * stdio-common/tst-put-error.c (do_test): Add newline to the
1306 padded test to ensure flush.
1307
17aa0516
JL
13082012-12-05 Jeff Law <law@redhat.com>
1309
1310 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1311
363313b5
JM
13122012-12-05 Joseph Myers <joseph@codesourcery.com>
1313
effbd42a
JM
1314 * README: Don't refer to ports add-on as distributed separately.
1315 Mention AArch64 in list of systems supported in the ports add-on.
1316
87600365
JM
1317 * LICENSES: Add more non-FSF copyright and license notices.
1318
a0d7066a
JM
1319 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1320 ((unused)).
1321
66ca5a5b
JM
1322 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1323
363313b5
JM
1324 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1325 10000 as width of padded output.
1326
b37984ad
JM
13272012-12-04 Joseph Myers <joseph@codesourcery.com>
1328
9003570a
JM
1329 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1330
b37984ad
JM
1331 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1332 variable LX with __attribute__ ((unused)).
1333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1334 Likewise.
1335 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1336 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1337 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1338 with __attribute__ ((unused)).
1339
c8df52ec
DM
13402012-12-04 David S. Miller <davem@abraco.davemloft.net>
1341
1342 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1343
b3b099af
JM
13442012-12-04 Joseph Myers <joseph@codesourcery.com>
1345
c33aa6e3
JM
1346 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1347 (CFLAGS-nldbl-acos.c): New variable.
1348 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1349 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1350 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1351 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1352 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1353 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1354 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1355 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1356 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1357 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1358 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1359 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1360 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1361 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1362 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1363 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1364 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1365 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1366 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1367 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1368 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1369 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1370 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1371 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1372 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1373 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1374 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1375 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1376 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1377 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1378 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1379 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1380 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1381 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1382 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1383 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1384 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1385 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1386 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1387 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1388 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1389 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1390 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1391 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1392 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1393 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1394 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1395 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1396 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1397 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1398 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1399 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1400 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1401 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1402 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1403 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1404 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1405 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1406 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1407 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1408 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1409 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1410 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1411 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1412 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1413 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1414 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1415 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1416 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1417 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1418 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1419 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1420 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1421 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1422 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1423 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1424 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1425 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1426 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1427 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1428 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1429 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1430 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1431 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1432 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1433 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1434 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1435 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1436 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1437 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1438 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1439 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1440 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1441 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1442 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1443 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1444 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1445
20f0018d
JM
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1447 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1448
b3b099af
JM
1449 [BZ #14914]
1450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1451 whole low double instead of just low 47 bits when splitting values
1452 into two parts.
1453
029264d1
AM
14542012-12-03 Allan McRae <allan@archlinux.org>
1455
1456 * manual/stdio.texi (Predefined Printf Handlers): Remove
1457 @hsep and @vsep usage.
1458
c9d6789e
MF
14592012-12-03 Mike Frysinger <vapier@gentoo.org>
1460
1461 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1462 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1463
4b7634a5
JL
14642012-12-03 Jeff Law <law@redhat.com>
1465
1466 * time/sys/time.h (settimeofday): Do not mark TV argument
1467 as __nonnull.
1468
eb6cbd24
MF
14692012-12-01 Mike Frysinger <vapier@gentoo.org>
1470
1471 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1472 when currently writing and seek to current position when not.
1473 * libio/Makefile (tests): Remove bug-fclose1.
1474 * libio/bug-fclose1.c: Delete.
1475
f638872a
JM
14762012-12-01 Joseph Myers <joseph@codesourcery.com>
1477
1478 * manual/arith.texi (feenableexcept): Fix typo.
1479 (fedisableexcept): Likewise.
1480
48085d14
RM
14812012-11-30 Roland McGrath <roland@hack.frob.com>
1482
1483 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1484 second, differently-typed declaration, rather than a cast.
1485
1a538b9f
SP
14862012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1487
1488 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1489 * include/rpc/svc.h: ... here.
1490
d07f2ff1 14912012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1492
1493 [BZ #13013]
1494 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1495 depending n and resplen2 to catch cases where answer
1496 equals answerp2.
1497
c93ec1f0
CD
14982012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1499
1500 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1501 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1502
37db69de
MF
15032012-11-29 Mike Frysinger <vapier@gentoo.org>
1504
1505 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1506
e10c4e4f
RM
15072012-11-29 Roland McGrath <roland@hack.frob.com>
1508
1509 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1510
2af1b328
JL
15112012-11-28 Jeff Law <law@redhat.com>
1512
1513 [BZ #13761]
1514 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1515 dataset_temporary. Track alloca usage into alloca_used.
1516 If dataset is large allocate and release it via malloc/free.
1517
111db5b1
FW
15182012-06-04 Florian Weimer <fweimer@redhat.com>
1519
f06cc227 1520 [BZ #14197]
111db5b1
FW
1521 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1522
dd694abd
DM
15232012-11-28 David S. Miller <davem@davemloft.net>
1524
1525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1526
9984dd01
JM
15272012-11-28 Joseph Myers <joseph@codesourcery.com>
1528
1529 [BZ #14803]
1530 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1531 of pi/2 rounded to nearest to 64 bits.
1532 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1533 nearest to 64 bits.
1534 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1535 bits.
1536
14bc93a9
JL
15372012-11-28 Jeff Law <law@redhat.com>
1538 Martin Osvald <mosvald@redhat.com>
1539
1540 [BZ #14889]
1541 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1542 * sunrpc/svc.c: Include time.h.
1543 (__svc_accept_failed): New function.
1544 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1545 any reason other than EINTR, call __svc_accept_failed.
1546 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1547 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1548
e3c6aa3a
AS
15492012-11-28 Andreas Schwab <schwab@suse.de>
1550
1551 * scripts/abilist.awk: Also handle indirect functions in .opd
1552 section.
1553
1bead169
JM
15542012-11-28 Joseph Myers <joseph@codesourcery.com>
1555
1556 [BZ #13881]
1557 * sysdeps/x86/fpu/powl_helper.c: New file.
1558 * sysdeps/x86/fpu/Makefile: Likewise.
1559 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1560 (p3): New object.
1561 (__ieee754_powl): Use __powl_helper for finite arguments except
1562 integer exponents below 8.
1563 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1564 (p3): New object.
1565 (__ieee754_powl): Use __powl_helper for finite arguments except
1566 integer exponents below 8.
1567 * math/libm-test.inc (pow_test): Add more tests and enable some
1568 previously disabled tests.
1569 * sysdeps/i386/fpu/libm-test-ulps: Update.
1570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1571
0817d63d
SP
15722012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1573 Carlos O'Donell <carlos_odonell@mentor.com>
1574
1575 * nss/makedb.c (is_prime): Assert that input is odd and greater
1576 than 4. Note that fact in a comment too.
1577 (next_prime): Add 4 to input.
1578
de2fd463
SP
15792012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1580
1581 [BZ #11741]
1582 * libio/Makefile (tests): Add test case tst-fwrite-error.
1583 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1584 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1585 * libio/tst-fwrite-error.c: New test case.
1586
c515fb51
L
15872012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1590 before casting to void *.
1591 * include/libc-internal.h (__pointer_type): New macro.
1592 (__integer_if_pointer_type_sub): Likewise.
1593 (__integer_if_pointer_type): Likewise.
1594 (cast_to_integer): Likewise.
1595 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1596 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1597 before casting to atomic64_t.
1598 (atomic_exchange_acq): Likewise.
1599 (__arch_exchange_and_add_body): Likewise.
1600 (__arch_add_body): Likewise.
1601 (atomic_add_negative): Likewise.
1602 (atomic_add_zero): Likewise.
1603
4cf77aa9
JM
16042012-11-26 Joseph Myers <joseph@codesourcery.com>
1605
1606 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1607 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1608 (add_fdes): Likewise.
1609 (linear_search_fdes): Likewise.
1610 (binary_search_unencoded_fdes): Likewise.
1611
d260b3b4
AS
16122012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1613
1614 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1615
67060746
AC
16162012-11-24 Adam Conrad <adconrad@0c3.net>
1617
1618 * configure.in: Autodetect C++ header directories.
1619 * configure: Regenerated.
1620
800938a1
MF
16212012-11-23 Mike Frysinger <vapier@gentoo.org>
1622
1623 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1624
4e6e34e6
AS
16252012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1626
1627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1628
7c7feb47
JM
16292012-11-22 Joseph Myers <joseph@codesourcery.com>
1630
7184dcdf
JM
1631 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1632 LDBL_MANT_DIG == 106]: Disable some tests.
1633 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1634 Likewise.
1635 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1636 Likewise.
1637
0a42601f
JM
1638 [BZ #14871]
1639 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1640 input for small inputs. Return +/- pi/2 for large inputs.
1641 * math/libm-test.inc (atan_test): Add more tests.
1642
79c9b9fe
JM
1643 * sysdeps/generic/unwind-dw2-fde-glibc.c
1644 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1645 __attribute__ ((unused)).
1646
c60d3bf2
JM
1647 [BZ #14645]
1648 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1649 x * y if x and y are nonzero and z is zero.
1650
ef1e0867
JM
1651 [BZ #14811]
1652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1653 nonzero exponents with absolute value below 0x1p-117 to +/-
1654 0x1p-117.
1655
1468ded3
JM
1656 [BZ #14869]
1657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1658 up arguments below 2**-450, not just those below 2**-500.
1659 * math/libm-test.inc (hypot_test): Add another test.
1660
8e27e3cc
JM
1661 [BZ #14868]
1662 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1663 Return a+b for ratio over 2**120, not 2**60.
1664 * math/libm-test.inc (hypot_test): Add another test.
1665
c9c0279b
JM
1666 * math/libm-test.inc (clog_test): Use
1667 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1668 (clog10_test): Likewise.
1669
7c7feb47
JM
1670 [BZ #6778]
1671 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1672
fff1530e
AS
16732012-11-22 Andreas Schwab <schwab@suse.de>
1674
1675 * sysdeps/i386/fpu/libm-test-ulps: Update.
1676
94558d30
PT
16772012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1678
1679 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1680 printf output with newline.
1681
7e1be741
L
16822012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1683
6bfea974
L
1684 [BZ #14865]
1685 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1686 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1687 -z nodlopen, -z initfirst and -z execstack support.
1688 * configure: Regenerated.
1689
7e1be741
L
1690 * elf/elf.h (DF_1_NODIRECT): New macro.
1691 (DF_1_IGNMULDEF): Likewise.
1692 (DF_1_NOKSYMS): Likewise.
1693 (DF_1_NOHDR): Likewise.
1694 (DF_1_EDITED): Likewise.
1695 (DF_1_NORELOC): Likewise.
1696 (DF_1_SYMINTPOSE): Likewise.
1697 (DF_1_GLOBAUDIT): Likewise.
1698 (DF_1_SINGLETON): Likewise.
1699 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1700 DT_1_SUPPORTED_MASK bits.
1701 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1702
105ce2ce
CD
17032012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1704
1705 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1706
123be9de
TS
17072012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1708
d072f3f7
TS
1709 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1710 macro.
1711
123be9de
TS
1712 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1713 (sendmmsg): Move declarations...
1714 * socket/sys/socket.h: ... here.
1715 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1716 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1717 include it from...
1718 * socket/recvmmsg.c: ... this new file.
1719 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1720 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1721 definition of __sendmmsg hidden.
1722 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1723 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1724 Move ENOSYS stub into and include it from...
1725 * socket/sendmmsg.c: ... this new file.
1726 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1727 (sysdep_routines): Move recvmmsg and sendmmsg...
1728 * socket/Makefile (routines): ... here.
1729 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1730 (GLIBC_PRIVATE): Add __sendmmsg.
1731 * include/sys/socket.h (__sendmmsg): Add declarations.
1732 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1733 sendmmsg.
1734
cf9a5d18
JM
17352012-11-20 Joseph Myers <joseph@codesourcery.com>
1736
1737 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1738 variable I1 with __attribute__ ((unused)).
1739 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1740
ecd4caf9
JM
17412012-11-19 Joseph Myers <joseph@codesourcery.com>
1742
be14d48f
JM
1743 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1744 DUMMY variables with __attribute__ ((unused)).
1745
ecd4caf9
JM
1746 * bits/byteswap.h: Include <bits/types.h>.
1747 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1748
986cab95
PT
17492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1750
1751 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1752 string_t. Do not manually set errno.
1753 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1754 length with __strnlen. Make sure to both set errno and return it on
1755 failure.
1756
6d33cc9d
DM
17572012-11-19 David S. Miller <davem@davemloft.net>
1758
1759 With help from Joseph Myers.
1760 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1761 very large arguments properly.
1762 * math/libm-test.inc (atan_test): New tests.
1763 (atan2_test): New tests.
1764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1766
ee663277
JM
17672012-11-19 Joseph Myers <joseph@codesourcery.com>
1768
877f2d8e
JM
1769 [BZ #14856]
1770 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1771 Define to 3.
1772
116fc08a
JM
1773 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1774 [POSIX] (EADDRNOTAVAIL): Likewise.
1775 [POSIX] (EAFNOSUPPORT): Likewise.
1776 [POSIX] (EALREADY): Likewise.
1777 [POSIX] (ECONNABORTED): Likewise.
1778 [POSIX] (ECONNREFUSED): Likewise.
1779 [POSIX] (ECONNRESET): Likewise.
1780 [POSIX] (EDESTADDRREQ): Likewise.
1781 [POSIX] (EDQUOT): Likewise.
1782 [POSIX] (EHOSTUNREACH): Likewise.
1783 [POSIX] (EIDRM): Likewise.
1784 [POSIX] (EISCONN): Likewise.
1785 [POSIX] (ELOOP): Likewise.
1786 [POSIX] (EMULTIHOP): Likewise.
1787 [POSIX] (ENETDOWN): Likewise.
1788 [POSIX] (ENETUNREACH): Likewise.
1789 [POSIX] (ENOBUFS): Likewise.
1790 [POSIX] (ENODATA): Likewise.
1791 [POSIX] (ENOLINK): Likewise.
1792 [POSIX] (ENOMSG): Likewise.
1793 [POSIX] (ENOPROTOOPT): Likewise.
1794 [POSIX] (ENOSR): Likewise.
1795 [POSIX] (ENOSTR): Likewise.
1796 [POSIX] (ENOTCONN): Likewise.
1797 [POSIX] (ENOTSOCK): Likewise.
1798 [POSIX] (EOPNOTSUPP): Likewise.
1799 [POSIX] (EOVERFLOW): Likewise.
1800 [POSIX] (EPROTO): Likewise.
1801 [POSIX] (EPROTONOSUPPORT): Likewise.
1802 [POSIX] (EPROTOTYPE): Likewise.
1803 [POSIX] (ESTALE): Likewise.
1804 [POSIX] (ETIME): Likewise.
1805 [POSIX] (ETXTBSY): Likewise.
1806 [POSIX] (EWOULDBLOCK): Likewise.
1807 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1808 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1809 [POSIX] (SEEK_CUR): Likewise.
1810 [POSIX] (SEEK_END): Likewise.
1811 [POSIX || UNIX98] (mode_t): Do not require.
1812 [POSIX] (off_t): Likewise.
1813 [POSIX] (pid_t): Likewise.
1814 [POSIX] (sys/stat.h): Do not allow header.
1815 [POSIX] (unistd.h): Likewise.
1816 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1817 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1818 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1819 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1820 require.
1821 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1822 sigevent): Specify elements.
1823 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1824 entry.
1825 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1826 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1827
a483863f
JM
1828 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1829 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1830 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1831 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1832 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1833 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1834 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1835 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1836 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1837 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1838 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1839 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1840 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1841 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1842 Likewise.
1843 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1844 Likewise.
1845 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1846 Likewise.
1847 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1848 Likewise.
1849 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1850 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1851 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1852 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1853 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1854 Specify lower bound on value.
1855 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1856 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1857 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1858 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1859 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1860 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1861 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1862 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1863 value.
1864 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1865 as optional.
1866 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1867 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1868 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1869 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1870 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1871 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1872 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1873 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1874 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1875 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1876 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1877 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1878 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1879 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1880 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1881 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1882 entry.
1883 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1884 optional.
1885 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1886 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1887 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1888 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1889 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1890 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1891 Likewise.
1892 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1893 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1894 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1895 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1896 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1897 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1898 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1899 as optional.
1900 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1901 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1902 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1903 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1904 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1905 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1906 specify as optional.
1907 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1908 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1909 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1910 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1911 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1912 [XPG3] (NL_LANGMAX): Likewise.
1913 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1914 [POSIX || XPG3] (NL_NMAX): Likewise.
1915 [POSIX || XPG3] (NL_SETMAX): Likewise.
1916 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1917 [XPG3] (NZERO): Likewise.
1918 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1919 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1920 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1921 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1922 (REG_ERANGE): Expect.
1923 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1924 optional-constant.
1925 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1926 Use (void) in prototype.
1927 [POSIX] (*_t): Allow.
1928 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1929 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1930 (WRDE_BADVAL): Expect.
1931
5ba924e3
JM
1932 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1933 expect.
1934 [XPG3 || XPG4] (O_RSYNC): Likewise.
1935 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1936 Likewise.
1937 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1938 [XPG3 || XPG4] (sigqueue): Likewise.
1939 [XPG3 || XPG4] (sigtimedwait): Likewise.
1940 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1941 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1942 [XPG3 || XPG4] (vsnprintf): Likewise.
1943 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1944 Likewise.
1945 [XPG3 || XPG4] (blksize_t): Likewise.
1946 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1947 Likewise.
1948 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1949 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1950 [XPG3 || XPG4] (struct itimerspec): Likewise.
1951 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1952 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1953 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1954 [XPG3 || XPG4] (clockid_t): Likewise.
1955 [XPG3 || XPG4] (timer_t): Likewise.
1956 [XPG3 || XPG4] (clock_getres): Likewise.
1957 [XPG3 || XPG4] (clock_gettime): Likewise.
1958 [XPG3 || XPG4] (clock_settime): Likewise.
1959 [XPG3 || XPG4] (nanosleep): Likewise.
1960 [XPG3 || XPG4] (timer_create): Likewise.
1961 [XPG3 || XPG4] (timer_delete): Likewise.
1962 [XPG3 || XPG4] (timer_gettime): Likewise.
1963 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1964 [XPG3 || XPG4] (timer_settime): Likewise.
1965 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1966 [XPG3 || XPG4] (getlogin_r): Likewise.
1967 [XPG3 || XPG4] (pread): Likewise.
1968 [XPG3 || XPG4] (pthread_atfork): Likewise.
1969 [XPG3 || XPG4] (pwrite): Likewise.
1970
ee663277
JM
1971 [BZ #14835]
1972 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1973 <bits/siginfo.h>.
1974
942caa16
PT
19752012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1976
e19af380
PT
1977 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1978 finalizing MALLSTREAM.
1979
942caa16
PT
1980 * sysdeps/mach/hurd/syncfs.c: New file.
1981
cfde9b46
SP
19822012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1983
1984 [BZ #14719]
1985 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1986 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1987 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1988 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1989 (_nss_dns_gethostbyname4_r): Likewise.
1990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1991 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1992
f6da27e5
PH
19932012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1994
1995 [BZ #13763]
1996 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1997
6665d4a2
SM
19982012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1999
1f51ee92
SM
2000 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2001 * elf/cache.c (print_entry): Print ",AArch64" for
2002 FLAG_AARCH64_LIB64
2003
6665d4a2
SM
2004 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2005 * elf/cache.c (print_entry): Print ",hard-float" for
2006 FLAG_ARM_LIBHF.
2007
05b227bd
DM
20082012-11-18 David S. Miller <davem@davemloft.net>
2009
2010 With help from Joseph Myers.
2011 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2012 cutoff to 2**-13.
2013 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2014 cutoff to 2**-25.
2015 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2016 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2017 small.
2018 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2019 * math/libm-test.inc (y0_test): New tests.
2020 (y1_test): New tests.
2021 * sysdeps/i386/fpu/libm-test-ulps: Update.
2022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2024
786b0b67
AS
20252012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2026
2027 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2028 64-bit targets.
2029 * configure: Regenerated.
2030
8e18b86d
DM
20312012-11-17 David S. Miller <davem@davemloft.net>
2032
2033 [BZ #14811]
2034 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2035 nonzero exponents with absolute value below 0x1p-128 to +/-
2036 0x1p-128.
2037
531f1ae0
JM
20382012-11-17 Joseph Myers <joseph@codesourcery.com>
2039
12df29e2
JM
2040 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2041
150dc1a0
JM
2042 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2043
531f1ae0
JM
2044 * posix/getconf-speclist.c: New file.
2045 * posix/posix-envs.def: Likewise.
2046 * posix/confstr.c (START_ENV_GROUP): New macro.
2047 (END_ENV_GROUP): Likewise.
2048 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2049 (KNOWN_PRESENT_ENV_STRING): Likewise.
2050 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2051 (UNKNOWN_ENVIRONMENT): Likewise.
2052 (confstr): Include posix-envs.def instead of handling
2053 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2054 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2055 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2056 (END_ENV_GROUP): Likewise.
2057 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2058 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2059 (UNKNOWN_ENVIRONMENT): Likewise.
2060 (__sysconf): Include posix-envs.def instead of handling associated
2061 cases directly here.
2062 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2063 preprocessing getconf-speclist.c rather than running getconf or
2064 generating empty file.
2065
a93f9cbc
PT
20662012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2067
2068 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2069
d64d9f87
AL
20702012-11-16 Andrej Lajovic <natrij@gmail.com>
2071
2072 [BZ #14672]
2073 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2074
447885eb
DM
20752012-11-16 David S. Miller <davem@davemloft.net>
2076
2077 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2078 smaller than LDBL_EPSILON/2.0L, just return xm1.
2079
bcbf9830
L
20802012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2081
2082 * elf/tst-array1.c (init): Set constructor priority to 1000.
2083 (fini): Set destructor priority to 1000.
2084 * elf/tst-array2dep.c: Likewise.
2085
2b766585
SP
20862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2087
2088 [BZ #11741]
2089 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2090 (_IO_new_file_xsputn): Also return EOF if none of the input
2091 data was written when overflow failed.
2092 * libio/iopadn.c (_IO_padn): Likewise.
2093 * libio/iowpadn.c (_IO_wpadn): Likewise.
2094 * stdio-common/tst-put-error.c: Add copyright notice.
2095 (do_test): Add case for printing padded string.
2096 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2097 _IO_padn returned error.
2098 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2099 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2100 return EOF.
2101
b1848fde
SP
21022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2103
2104 * libio/libioP.h: Add comment note that the references to C++
2105 bits are now obsolete.
2106
2fd89785
MS
21072012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2108
2109 * math/libm-test.inc (check_complex): Use asprintf.
2110
e3ea5409
JM
21112012-11-14 Joseph Myers <joseph@codesourcery.com>
2112
2113 * debug/pcprofiledump.c (print_version): Update copyright year.
2114 * malloc/memusagestat.c (print_version): Likewise.
2115
2e64d265
L
21162012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2117
2118 [BZ #14831]
2119 * elf/Makefile (tests): Add tst-audit8.
2120 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2121 ($(objpfx)tst-audit8.out): New target.
2122 (tst-audit8-ENV): New variable.
2123 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2124 audit if l_reloc_result is NULL.
2125 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2126 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2127 * elf/tst-audit8.c: New file.
2128
c485e4d2
MS
21292012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2130
2131 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2132 * misc/Makefile (CFLAGS-select.c): Define.
2133 * posix/Makefile (CFLAGS-pause.c): Define.
2134
3a0d900a
DM
21352012-11-13 David S. Miller <davem@davemloft.net>
2136
2137 * crypt/Makefile: Move test targets after toplevel Rules
2138 inclusion. Grab any necessary sysdep routines when linking.
2139 * crypt/md5.c (md5_process_block): Remove define, we will always
2140 name it __md5_process_block.
2141 (md5_finish_ctx): Update md5_process_block call.
2142 (md5_stream): Likewise.
2143 (md5_process_bytes): Likewise.
2144 (md5_process_block): Rename to __md5_process_block and move to ...
2145 * crypt/md5-block.c: ... here.
2146 * crypt/sha256.c (sha256_process_block): Move to ...
2147 * crypt/sha256-block.c: ... here.
2148 * crypt/sha512.c (sha512_process_block): Move to ...
2149 * crypt/sha512-block.c: ... here.
2150 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2151 path.
2152 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2153 * sysdeps/sparc/sparc64/multiarch/Makefile
2154 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2155 crypt subdir.
2156 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2157 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2158 multiarch changes.
2159 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2160 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2161 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2162 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2163 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2164 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2165 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2166 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2167 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2168 file.
2169 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2170 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2171 file.
2172 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2173
8ca89318
JM
21742012-11-13 Joseph Myers <joseph@codesourcery.com>
2175
e27d476a
JM
2176 * timezone/tzselect.ksh: Update from tzcode git revision
2177 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2178 * timezone/zdump.c: Likewise.
2179 * timezone/zic.c: Likewise.
2180 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2181 in TZVERSION setting, not $(PKGVERSION).
2182 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2183 REPORT_BUGS_TO settings.
2184
8ca89318
JM
2185 [BZ #14838]
2186 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2187 macro.
2188
47594329
MS
21892012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2190
2191 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2192 detection to immediately after _FP_ROUND().
2193 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2194 bits are 0.
2195
640ac3f1
DM
21962012-11-11 David S. Miller <davem@davemloft.net>
2197
2198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2199 inttypes.h
2200 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2201 __close rather than their public counterparts.
2202
3d2577bb
JM
22032012-11-10 Joseph Myers <joseph@codesourcery.com>
2204
2205 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2206 file.
2207 [UNIX98] (sem_timedwait): Do not expect.
2208 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2209 [XPG4 || UNIX98] (sockatmark): Do not expect.
2210 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2211 (clock_getcpuclockid): Do not expect.
2212 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2213 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2214 Do not expect.
2215 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2216 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2217 [UNIX98] (vwscanf): Likewise.
2218 [UNIX98] (vswscanf): Likewise.
2219
fb1ae1ee
JM
22202012-11-09 Joseph Myers <joseph@codesourcery.com>
2221
9ec6f8bd
JM
2222 * timezone/version.h: Remove file.
2223 * timezone/README: Do not refer to version.h.
2224 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2225 $(objpfx)version.h.
2226 ($(objpfx)zdump.o): Likewise.
c3f81911 2227 ($(objpfx)version.h): New target.
9ec6f8bd 2228
0aa8f8a1
JM
2229 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2230 2012i.
2231 * timezone/README: Don't mention modification to tzselect.ksh.
2232 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2233 work on unmodified tzselect.ksh. Substitute version numbers in
2234 tzselect.ksh.
2235
4e87147f
JM
2236 * Makefile (format-me): Remove.
2237 (INSTALL): Adjust indentation. Use commands directly instead of
2238 using $(format-me).
2239
8b748aed
JM
2240 * aclocal.m4 (ACX_PKGVERSION): New macro.
2241 (ACX_BUGURL): Likewise.
2242 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2243 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2244 (REPORT_BUGS_TO): Likewise.
2245 * configure: Regenerated.
2246 * config.h.in (PKGVERSION): New macro.
2247 (REPORT_BUGS_TO): Likewise.
2248 * config.make.in (PKGVERSION): New variable.
2249 (PKGVERSION_TEXI): Likewise.
2250 (REPORT_BUGS_TO): Likewise.
2251 (REPORT_BUGS_TEXI): Likewise.
2252 * Makefile (format-me): Use -I$(common-objpfx)manual.
2253 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2254 ($(common-objpfx)manual/%): New target.
2255 (manual/%): Remove target.
2256 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2257 (print_version): Use PKGVERSION.
2258 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2259 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2260 and REPORT_BUGS_TO.
2261 ($(objpfx)xtrace): Likewise.
2262 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2263 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2264 (print_version): Use PKGVERSION.
2265 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2266 (do_version): Use PKGVERSION.
2267 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2268 REPORT_BUGS_TO.
2269 (common-ldd-rewrite): Likewise.
2270 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2271 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2272 (print_version): Use PKGVERSION.
2273 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2274 * elf/pldd.c (argp_program_bug_address): Remove variable.
2275 (more_help): New function.
2276 (argp): Use more_help.
2277 (print_version): Use PKGVERSION.
2278 * elf/sln.c (main): Use PKGVERSION.
2279 (usage): Use REPORT_BUGS_TO.
2280 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2281 (top level): Use PKGVERSION.
2282 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2283 (print_version): Use PKGVERSION.
2284 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2285 (print_version): Use PKGVERSION.
2286 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2287 (print_version): Use PKGVERSION.
2288 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2289 (print_version): Use PKGVERSION.
2290 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2291 (print_version): Use PKGVERSION.
2292 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2293 (print_version): Use PKGVERSION.
2294 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2295 and BUGURL.
2296 ($(objpfx)memusage): Likewise.
2297 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2298 (do_version): Use PKGVERSION.
2299 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2300 (print_version): Use PKGVERSION.
2301 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2302 ($PKGVERSION): New variable.
2303 ($REPORT_BUGS_TO): Likewise.
2304 (usage): Use $REPORT_BUGS_TO.
2305 (top level): Use $PKGVERSION.
2306 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2307 ($(objpfx)pkgvers.texi): New rule.
2308 ($(objpfx)stamp-pkgvers): Likewise.
2309 * manual/install.texi: Include pkgvers.texi.
2310 (--with-pkgversion): Document new configure option.
2311 (--with-bugurl): Likewise.
2312 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2313 than necessarily for this particular distribution. Use
2314 REPORT_BUGS_TO for where to report bugs.
2315 * INSTALL: Regenerated.
2316 * manual/libc.texinfo: Include pkgvers.texi.
2317 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2318 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2319 (print_version): Use PKGVERSION.
2320 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2321 (print_version): Use PKGVERSION.
2322 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2323 (print_version): Use PKGVERSION.
2324 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2325 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2326 macro.
2327 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2328 (print_version): Use PKGVERSION.
2329 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2330 (print_version): Use PKGVERSION.
2331 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2332 and PKGVERSION.
2333
92e4b6a9
JM
2334 * timezone/checktab.awk: Update from tzcode 2012i.
2335 * timezone/ialloc.c: Likewise.
2336 * timezone/private.h: Likewise.
2337 * timezone/scheck.c: Likewise.
2338 * timezone/tzfile.h: Likewise.
2339 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2340 (TZVERSION): Hardcode tzcode version number.
2341 * timezone/zdump.c: Update from tzcode 2012i.
2342 * timezone/zic.c: Likewise.
2343 * timezone/version.h: New file.
2344 * timezone/README: Describe version.h. Update upstream location.
2345
9bde902c
JM
2346 [BZ #14824]
2347 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2348 (mktemp): Enable declaration.
2349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2352 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2353 Likewise.
2354 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2355 Likewise.
2356 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2357 Likewise.
2358 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2359 Likewise.
2360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2361 Likewise.
2362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2363 Likewise.
2364
fb1ae1ee
JM
2365 [BZ #14821]
2366 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2367 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2368 for copies of such integer values.
2369 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2370 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2371
2c1adbcb
AJ
23722012-11-09 Andreas Jaeger <aj@suse.de>
2373
2374 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2375 definitions and declarations that are provided by
2376 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2377
d0f8457e
AK
23782012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2379
3a235abb 2380 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2381 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2382 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2383 definition.
2384
57241e26
MS
23852012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2386
2387 * elf/elf.h: Update comment before AArch64 relocations.
2388
60e8270d
DM
23892012-11-07 David S. Miller <davem@davemloft.net>
2390
2391 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2392 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2393 (__start_context): Declare.
2394 (__makecontext_ret): Delete.
2395 (__makecontext): Hook up __start_context instead of
2396 __makecontext_ret.
2397 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2398 (sysdep_routines): Add __start_context when in stdlib.
2399
0fbb0fbc
JM
24002012-11-07 Joseph Myers <joseph@codesourcery.com>
2401
2402 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2403 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2404 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2405 hardcoded "nm".
2406 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2407 (READELF): New variable. Use it instead of hardcoded "readelf".
2408
eb48db7e
L
24092012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2410
2411 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2412 * sysdeps/x86/Makefile: Here.
2413 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2414 * sysdeps/x86/tst-xmmymm.sh: This.
2415
05bcf62a
JM
24162012-11-07 Joseph Myers <joseph@codesourcery.com>
2417
c4b6cf53
JM
2418 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2419 expectations.
2420 [UNIX98] (pthread_barrier_t): Do not expect.
2421 [UNIX98] (pthread_barrierattr_t): Likewise.
2422 [UNIX98] (pthread_spinlock_t): Likewise.
2423 [UNIX98] (pthread_barrier_destroy): Likewise.
2424 [UNIX98] (pthread_barrier_init): Likewise.
2425 [UNIX98] (pthread_barrier_wait): Likewise.
2426 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2427 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2428 [UNIX98] (pthread_barrierattr_init): Likewise.
2429 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2430 [UNIX98] (pthread_getcpuclockid): Likewise.
2431 [UNIX98] (pthread_mutex_timedlock): Likewise.
2432 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2433 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2434 [UNIX98] (pthread_sigmask): Likewise.
2435 [UNIX98] (pthread_spin_destroy): Likewise.
2436 [UNIX98] (pthread_spin_init): Likewise.
2437 [UNIX98] (pthread_spin_lock): Likewise.
2438 [UNIX98] (pthread_spin_trylock): Likewise.
2439 [UNIX98] (pthread_spin_unlock): Likewise.
2440 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2441 Do not expect.
2442 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2443 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2444 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2445 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2446 [XPG3 || XPG4] (pthread_key_t): Likewise.
2447 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2448 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2449 [XPG3 || XPG4] (pthread_once_t): Likewise.
2450 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2451 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2452 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2453 [XPG3 || XPG4] (pthread_t): Likewise.
2454
cbe6e120
JM
2455 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2456 not expect.
2457 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2458
1b126443
JM
2459 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2460 Change function return type to int.
2461
b961a573
JM
2462 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2463 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2464 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2465 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2466 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2467 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2468 [!POSIX] (posix_madvise): Likewise.
2469 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2470 && !UNIX98].
2471 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2472 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2473 (mode_t): Likewise.
2474 (posix_mem_offset): Likewise.
2475 (posix_typed_mem_get_info): Likewise.
2476 (posix_typed_mem_open): Likewise.
2477
9e188909
JM
2478 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2479 Change condition to [XOPEN2K8].
2480
05bcf62a
JM
2481 * conform/conformtest.pl: Preprocess allow-header data with -x c
2482 instead of from stdin.
2483 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2484 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2485 [C99-based standards] (cerfc): Likewise.
2486 [C99-based standards] (cexp2): Likewise.
2487 [C99-based standards] (cexpm1): Likewise.
2488 [C99-based standards] (clog10): Likewise.
2489 [C99-based standards] (clog1p): Likewise.
2490 [C99-based standards] (clog2): Likewise.
2491 [C99-based standards] (clgamma): Likewise.
2492 [C99-based standards] (ctgamma): Likewise.
2493 [C99-based standards] (cerff): Likewise.
2494 [C99-based standards] (cerfcf): Likewise.
2495 [C99-based standards] (cexp2f): Likewise.
2496 [C99-based standards] (cexpm1f): Likewise.
2497 [C99-based standards] (clog10f): Likewise.
2498 [C99-based standards] (clog1pf): Likewise.
2499 [C99-based standards] (clog2f): Likewise.
2500 [C99-based standards] (clgammaf): Likewise.
2501 [C99-based standards] (ctgammaf): Likewise.
2502 [C99-based standards] (cerfl): Likewise.
2503 [C99-based standards] (cerfcl): Likewise.
2504 [C99-based standards] (cexp2l): Likewise.
2505 [C99-based standards] (cexpm1l): Likewise.
2506 [C99-based standards] (clog10l): Likewise.
2507 [C99-based standards] (clog1pl): Likewise.
2508 [C99-based standards] (clog2l): Likewise.
2509 [C99-based standards] (clgammal): Likewise.
2510 [C99-based standards] (ctgammal): Likewise.
2511 * conform/data/inttypes.h-data [C99-based standards]: Include
2512 stdint.h-data. Remove all expectations for stdint.h contents.
2513 [C99-based standards] (PRI*): Do not allow.
2514 [C99-based standards] (SCN*): Likewise.
2515 [C99-based standards] (*_t): Likewise.
2516 [C99-based-standards] (PRId8): Expect macro.
2517 [C99-based-standards] (PRIi8): Likewise.
2518 [C99-based-standards] (PRIo8): Likewise.
2519 [C99-based-standards] (PRIu8): Likewise.
2520 [C99-based-standards] (PRIx8): Likewise.
2521 [C99-based-standards] (PRIX8): Likewise.
2522 [C99-based-standards] (SCNd8): Likewise.
2523 [C99-based-standards] (SCNi8): Likewise.
2524 [C99-based-standards] (SCNo8): Likewise.
2525 [C99-based-standards] (SCNu8): Likewise.
2526 [C99-based-standards] (SCNx8): Likewise.
2527 [C99-based-standards] (PRIdLEAST8): Likewise.
2528 [C99-based-standards] (PRIiLEAST8): Likewise.
2529 [C99-based-standards] (PRIoLEAST8): Likewise.
2530 [C99-based-standards] (PRIuLEAST8): Likewise.
2531 [C99-based-standards] (PRIxLEAST8): Likewise.
2532 [C99-based-standards] (PRIXLEAST8): Likewise.
2533 [C99-based-standards] (SCNdLEAST8): Likewise.
2534 [C99-based-standards] (SCNiLEAST8): Likewise.
2535 [C99-based-standards] (SCNoLEAST8): Likewise.
2536 [C99-based-standards] (SCNuLEAST8): Likewise.
2537 [C99-based-standards] (SCNxLEAST8): Likewise.
2538 [C99-based-standards] (PRIdFAST8): Likewise.
2539 [C99-based-standards] (PRIiFAST8): Likewise.
2540 [C99-based-standards] (PRIoFAST8): Likewise.
2541 [C99-based-standards] (PRIuFAST8): Likewise.
2542 [C99-based-standards] (PRIxFAST8): Likewise.
2543 [C99-based-standards] (PRIXFAST8): Likewise.
2544 [C99-based-standards] (SCNdFAST8): Likewise.
2545 [C99-based-standards] (SCNiFAST8): Likewise.
2546 [C99-based-standards] (SCNoFAST8): Likewise.
2547 [C99-based-standards] (SCNuFAST8): Likewise.
2548 [C99-based-standards] (SCNxFAST8): Likewise.
2549 [C99-based-standards] (PRId16): Likewise.
2550 [C99-based-standards] (PRIi16): Likewise.
2551 [C99-based-standards] (PRIo16): Likewise.
2552 [C99-based-standards] (PRIu16): Likewise.
2553 [C99-based-standards] (PRIx16): Likewise.
2554 [C99-based-standards] (PRIX16): Likewise.
2555 [C99-based-standards] (SCNd16): Likewise.
2556 [C99-based-standards] (SCNi16): Likewise.
2557 [C99-based-standards] (SCNo16): Likewise.
2558 [C99-based-standards] (SCNu16): Likewise.
2559 [C99-based-standards] (SCNx16): Likewise.
2560 [C99-based-standards] (PRIdLEAST16): Likewise.
2561 [C99-based-standards] (PRIiLEAST16): Likewise.
2562 [C99-based-standards] (PRIoLEAST16): Likewise.
2563 [C99-based-standards] (PRIuLEAST16): Likewise.
2564 [C99-based-standards] (PRIxLEAST16): Likewise.
2565 [C99-based-standards] (PRIXLEAST16): Likewise.
2566 [C99-based-standards] (SCNdLEAST16): Likewise.
2567 [C99-based-standards] (SCNiLEAST16): Likewise.
2568 [C99-based-standards] (SCNoLEAST16): Likewise.
2569 [C99-based-standards] (SCNuLEAST16): Likewise.
2570 [C99-based-standards] (SCNxLEAST16): Likewise.
2571 [C99-based-standards] (PRIdFAST16): Likewise.
2572 [C99-based-standards] (PRIiFAST16): Likewise.
2573 [C99-based-standards] (PRIoFAST16): Likewise.
2574 [C99-based-standards] (PRIuFAST16): Likewise.
2575 [C99-based-standards] (PRIxFAST16): Likewise.
2576 [C99-based-standards] (PRIXFAST16): Likewise.
2577 [C99-based-standards] (SCNdFAST16): Likewise.
2578 [C99-based-standards] (SCNiFAST16): Likewise.
2579 [C99-based-standards] (SCNoFAST16): Likewise.
2580 [C99-based-standards] (SCNuFAST16): Likewise.
2581 [C99-based-standards] (SCNxFAST16): Likewise.
2582 [C99-based-standards] (PRId32): Likewise.
2583 [C99-based-standards] (PRIi32): Likewise.
2584 [C99-based-standards] (PRIo32): Likewise.
2585 [C99-based-standards] (PRIu32): Likewise.
2586 [C99-based-standards] (PRIx32): Likewise.
2587 [C99-based-standards] (PRIX32): Likewise.
2588 [C99-based-standards] (SCNd32): Likewise.
2589 [C99-based-standards] (SCNi32): Likewise.
2590 [C99-based-standards] (SCNo32): Likewise.
2591 [C99-based-standards] (SCNu32): Likewise.
2592 [C99-based-standards] (SCNx32): Likewise.
2593 [C99-based-standards] (PRIdLEAST32): Likewise.
2594 [C99-based-standards] (PRIiLEAST32): Likewise.
2595 [C99-based-standards] (PRIoLEAST32): Likewise.
2596 [C99-based-standards] (PRIuLEAST32): Likewise.
2597 [C99-based-standards] (PRIxLEAST32): Likewise.
2598 [C99-based-standards] (PRIXLEAST32): Likewise.
2599 [C99-based-standards] (SCNdLEAST32): Likewise.
2600 [C99-based-standards] (SCNiLEAST32): Likewise.
2601 [C99-based-standards] (SCNoLEAST32): Likewise.
2602 [C99-based-standards] (SCNuLEAST32): Likewise.
2603 [C99-based-standards] (SCNxLEAST32): Likewise.
2604 [C99-based-standards] (PRIdFAST32): Likewise.
2605 [C99-based-standards] (PRIiFAST32): Likewise.
2606 [C99-based-standards] (PRIoFAST32): Likewise.
2607 [C99-based-standards] (PRIuFAST32): Likewise.
2608 [C99-based-standards] (PRIxFAST32): Likewise.
2609 [C99-based-standards] (PRIXFAST32): Likewise.
2610 [C99-based-standards] (SCNdFAST32): Likewise.
2611 [C99-based-standards] (SCNiFAST32): Likewise.
2612 [C99-based-standards] (SCNoFAST32): Likewise.
2613 [C99-based-standards] (SCNuFAST32): Likewise.
2614 [C99-based-standards] (SCNxFAST32): Likewise.
2615 [C99-based-standards] (PRId64): Likewise.
2616 [C99-based-standards] (PRIi64): Likewise.
2617 [C99-based-standards] (PRIo64): Likewise.
2618 [C99-based-standards] (PRIu64): Likewise.
2619 [C99-based-standards] (PRIx64): Likewise.
2620 [C99-based-standards] (PRIX64): Likewise.
2621 [C99-based-standards] (SCNd64): Likewise.
2622 [C99-based-standards] (SCNi64): Likewise.
2623 [C99-based-standards] (SCNo64): Likewise.
2624 [C99-based-standards] (SCNu64): Likewise.
2625 [C99-based-standards] (SCNx64): Likewise.
2626 [C99-based-standards] (PRIdLEAST64): Likewise.
2627 [C99-based-standards] (PRIiLEAST64): Likewise.
2628 [C99-based-standards] (PRIoLEAST64): Likewise.
2629 [C99-based-standards] (PRIuLEAST64): Likewise.
2630 [C99-based-standards] (PRIxLEAST64): Likewise.
2631 [C99-based-standards] (PRIXLEAST64): Likewise.
2632 [C99-based-standards] (SCNdLEAST64): Likewise.
2633 [C99-based-standards] (SCNiLEAST64): Likewise.
2634 [C99-based-standards] (SCNoLEAST64): Likewise.
2635 [C99-based-standards] (SCNuLEAST64): Likewise.
2636 [C99-based-standards] (SCNxLEAST64): Likewise.
2637 [C99-based-standards] (PRIdFAST64): Likewise.
2638 [C99-based-standards] (PRIiFAST64): Likewise.
2639 [C99-based-standards] (PRIoFAST64): Likewise.
2640 [C99-based-standards] (PRIuFAST64): Likewise.
2641 [C99-based-standards] (PRIxFAST64): Likewise.
2642 [C99-based-standards] (PRIXFAST64): Likewise.
2643 [C99-based-standards] (SCNdFAST64): Likewise.
2644 [C99-based-standards] (SCNiFAST64): Likewise.
2645 [C99-based-standards] (SCNoFAST64): Likewise.
2646 [C99-based-standards] (SCNuFAST64): Likewise.
2647 [C99-based-standards] (SCNxFAST64): Likewise.
2648 [C99-based-standards] (PRIdMAX): Likewise.
2649 [C99-based-standards] (PRIiMAX): Likewise.
2650 [C99-based-standards] (PRIoMAX): Likewise.
2651 [C99-based-standards] (PRIuMAX): Likewise.
2652 [C99-based-standards] (PRIxMAX): Likewise.
2653 [C99-based-standards] (PRIXMAX): Likewise.
2654 [C99-based-standards] (SCNdMAX): Likewise.
2655 [C99-based-standards] (SCNiMAX): Likewise.
2656 [C99-based-standards] (SCNoMAX): Likewise.
2657 [C99-based-standards] (SCNuMAX): Likewise.
2658 [C99-based-standards] (SCNxMAX): Likewise.
2659 [C99-based-standards] (PRIdPTR): Likewise.
2660 [C99-based-standards] (PRIiPTR): Likewise.
2661 [C99-based-standards] (PRIoPTR): Likewise.
2662 [C99-based-standards] (PRIuPTR): Likewise.
2663 [C99-based-standards] (PRIxPTR): Likewise.
2664 [C99-based-standards] (PRIXPTR): Likewise.
2665 [C99-based-standards] (SCNdPTR): Likewise.
2666 [C99-based-standards] (SCNiPTR): Likewise.
2667 [C99-based-standards] (SCNoPTR): Likewise.
2668 [C99-based-standards] (SCNuPTR): Likewise.
2669 [C99-based-standards] (SCNxPTR): Likewise.
2670 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2671 allow.
2672 * conform/data/stdint.h-data: Update comments to clarify
2673 requirements.
2674 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2675 type.
2676 [C99-based standards] (INT8_MAX): Likewise.
2677 [C99-based standards] (INT16_MIN): Likewise.
2678 [C99-based standards] (INT16_MAX): Likewise.
2679 [C99-based standards] (INT32_MIN): Likewise.
2680 [C99-based standards] (INT32_MAX): Likewise.
2681 [C99-based standards] (INT64_MIN): Likewise.
2682 [C99-based standards] (INT64_MAX): Likewise.
2683 [C99-based standards] (UINT8_MAX): Likewise.
2684 [C99-based standards] (UINT16_MAX): Likewise.
2685 [C99-based standards] (UINT32_MAX): Likewise.
2686 [C99-based standards] (UINT64_MAX): Likewise.
2687 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2688 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2689 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2690 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2691 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2692 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2693 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2694 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2695 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2696 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2697 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2698 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2699 [C99-based standards] (INT_FAST8_MIN): Likewise.
2700 [C99-based standards] (INT_FAST8_MAX): Likewise.
2701 [C99-based standards] (INT_FAST16_MIN): Likewise.
2702 [C99-based standards] (INT_FAST16_MAX): Likewise.
2703 [C99-based standards] (INT_FAST32_MIN): Likewise.
2704 [C99-based standards] (INT_FAST32_MAX): Likewise.
2705 [C99-based standards] (INT_FAST64_MIN): Likewise.
2706 [C99-based standards] (INT_FAST64_MAX): Likewise.
2707 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2708 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2709 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2710 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2711 [C99-based standards] (INTPTR_MIN): Likewise.
2712 [C99-based standards] (INTPTR_MAX): Likewise.
2713 [C99-based standards] (UINTPTR_MAX): Likewise.
2714 [C99-based standards] (INTMAX_MIN): Likewise.
2715 [C99-based standards] (INTMAX_MAX): Likewise.
2716 [C99-based standards] (UINTMAX_MAX): Likewise.
2717 [C99-based standards] (PTRDIFF_MIN): Likewise.
2718 [C99-based standards] (PTRDIFF_MAX): Likewise.
2719 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2720 [C99-based standards] (SIZE_MAX): Likewise.
2721 [C99-based standards] (WCHAR_MAX): Likewise.
2722 [C99-based standards] (WINT_MAX): Likewise.
2723 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2724 constraint on value.
2725 [C99-based standards] (WCHAR_MIN): Likewise.
2726 [C99-based standards] (WINT_MIN): Likewise.
2727 [C99-based standards] (*_t): Allow.
2728 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2729 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2730 Include math.h-data and complex.h-data. Remove all expectations
2731 of math.h and complex.h contents.
2732 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2733 at end of line.
2734 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2735 (struct tm): Expect tag.
2736 [C99-based-standards] (wcstof): Expect function.
2737 [C99-based-standards] (wcstold): Likewise.
2738 [C99-based-standards] (wcstoll): Likewise.
2739 [C99-based-standards] (wcstoull): Likewise.
2740 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2741 macro-int-constant. Specify type.
2742 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2743 constraint on value.
2744 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2745 Specify type.
2746 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2747 Specify value.
2748 [ISO C standards]: Do not allow headers.
2749 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2750 wcs[abcdefghijklmnopqrstuvwxyz]*.
2751 [ISO C standards] (*_t): Do not allow.
2752 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2753 Expect function.
2754 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2755 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2756 Specify type.
2757 [ISO C standards]: Do not allow headers.
2758 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2759 is[abcdefghijklmnopqrstuvwxyz]*.
2760 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2761 to[abcdefghijklmnopqrstuvwxyz]*.
2762 [ISO C standards] (*_t): Do not allow.
2763 * conform/data/stdalign.h-data: New file.
2764 * conform/data/stdbool.h-data: Likewise.
2765 * conform/data/stdnoreturn.h-data: Likewise.
2766
7514feb8
RM
27672012-11-07 Roland McGrath <roland@hack.frob.com>
2768
2769 [BZ #14815]
2770 * manual/filesys.texi (Directory Entries): Typo fix.
2771 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2772
19b2ecfc
MS
27732012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2774
2775 * elf/elf.h (EM_AARCH64): New macro.
2776 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2777 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2778 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2779 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2780 (R_AARCH64_TLSDESC): Likewise.
2781 (NT_ARM_TLS): Likewise.
2782 (NT_ARM_HW_BREAK): Likewise.
2783 (NT_ARM_HW_WATCH): Likewise.
2784
60e235ee
JM
27852012-11-07 Joseph Myers <joseph@codesourcery.com>
2786
2787 [BZ #14811]
2788 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2789 (__ieee754_powl): Saturate nonzero exponents with absolute value
2790 below 0x1p-79 to +/- 0x1p-79.
2791 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2792 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2793 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2794 nonzero exponents with absolute value below 0x1p-32 to +/-
2795 0x1p-32.
2796 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2797 (__ieee754_powl): Saturate nonzero exponents with absolute value
2798 below 0x1p-79 to +/- 0x1p-79.
2799 * math/libm-test.inc (pow_test): Add more tests.
2800
0ab234b7
AK
28012012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2802
2803 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2804 _dl_s390_cap_flags with kernel. Increase string length.
2805 (_dl_s390_platforms): Add z196 and zEC12.
2806
45832f74
JM
28072012-11-07 Joseph Myers <joseph@codesourcery.com>
2808
2809 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2810 Change XOPEN21K to XOPEN2K.
2811
19218757
MK
28122012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2813
2814 * string/memmove.c: Use memcpy when possible.
2815
c5f45721
AJ
28162012-11-06 Andreas Jaeger <aj@suse.de>
2817
2818 * po/eo.po: Update from translation team.
2819
82477c28
JM
28202012-11-06 Joseph Myers <joseph@codesourcery.com>
2821
2822 [BZ #14793]
2823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2824 exponent and small x and y exponents, scale x or y up. Increase
2825 by 2 the exponent used in scaling up.
2826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2828 * math/libm-test.inc (fma_test): Add more tests.
2829 (fma_test_towardzero): Likewise.
2830 (fma_test_downward): Likewise.
2831 (fma_test_upward): Likewise.
2832
99252c8c
JM
28332012-11-05 Joseph Myers <joseph@codesourcery.com>
2834
acfa885f
JM
2835 [BZ #14805]
2836 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2837 fenv_t *.
2838
99252c8c
JM
2839 [BZ #14801]
2840 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2841 namespace for names of struct fields.
2842 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2843 fenv_t fields.
2844 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2845 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2846
d6d98dea
ST
28472012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2848
2849 [BZ #3665]
2850 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2851
e10bb107
TS
28522012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2853
2854 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2855 PTR_DEMANGLE.
2856
2857 [BZ #5246]
2858 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2859 PTR_DEMANGLE.
2860
a0c2940d
JM
28612012-11-04 Joseph Myers <joseph@codesourcery.com>
2862
2863 [BZ #14797]
2864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2865 definitely overflow as x * y not x * y + z.
2866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2868 * math/libm-test.inc (fma_test): Add more tests.
2869 (fma_test_towardzero): Likewise.
2870 (fma_test_downward): Likewise.
2871 (fma_test_upward): Likewise.
2872
b830319d
TS
28732012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2874
2875 [BZ #157]
2876
2877 * include/stub-tag.h: Remove file.
2878 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2879 '#include' of it.
2880 * manual/maint.texi (Porting): Don't reference it.
2881 * Makerules ($(objpfx)stubs): Likewise.
2882 * dirent/closedir.c: Don't include <stub-tag.h>.
2883 * dirent/dirfd.c: Likewise.
2884 * dirent/fdopendir.c: Likewise.
2885 * dirent/getdents.c: Likewise.
2886 * dirent/getdents64.c: Likewise.
2887 * dirent/opendir.c: Likewise.
2888 * dirent/readdir.c: Likewise.
2889 * dirent/readdir64.c: Likewise.
2890 * dirent/readdir64_r.c: Likewise.
2891 * dirent/readdir_r.c: Likewise.
2892 * dirent/rewinddir.c: Likewise.
2893 * dirent/seekdir.c: Likewise.
2894 * dirent/telldir.c: Likewise.
2895 * gmon/profil.c: Likewise.
2896 * grp/setgroups.c: Likewise.
2897 * inet/if_index.c: Likewise.
2898 * io/access.c: Likewise.
2899 * io/chdir.c: Likewise.
2900 * io/chmod.c: Likewise.
2901 * io/chown.c: Likewise.
2902 * io/close.c: Likewise.
2903 * io/dup.c: Likewise.
2904 * io/dup2.c: Likewise.
2905 * io/dup3.c: Likewise.
2906 * io/euidaccess.c: Likewise.
2907 * io/faccessat.c: Likewise.
2908 * io/fchdir.c: Likewise.
2909 * io/fchmod.c: Likewise.
2910 * io/fchmodat.c: Likewise.
2911 * io/fchown.c: Likewise.
2912 * io/fchownat.c: Likewise.
2913 * io/fcntl.c: Likewise.
2914 * io/flock.c: Likewise.
2915 * io/fstatfs.c: Likewise.
2916 * io/fstatfs64.c: Likewise.
2917 * io/fstatvfs.c: Likewise.
2918 * io/fstatvfs64.c: Likewise.
2919 * io/futimens.c: Likewise.
2920 * io/fxstat.c: Likewise.
2921 * io/fxstat64.c: Likewise.
2922 * io/fxstatat.c: Likewise.
2923 * io/fxstatat64.c: Likewise.
2924 * io/getcwd.c: Likewise.
2925 * io/isatty.c: Likewise.
2926 * io/lchmod.c: Likewise.
2927 * io/lchown.c: Likewise.
2928 * io/link.c: Likewise.
2929 * io/linkat.c: Likewise.
2930 * io/lseek.c: Likewise.
2931 * io/lseek64.c: Likewise.
2932 * io/lxstat64.c: Likewise.
2933 * io/mkdir.c: Likewise.
2934 * io/mkdirat.c: Likewise.
2935 * io/mkfifo.c: Likewise.
2936 * io/mkfifoat.c: Likewise.
2937 * io/open.c: Likewise.
2938 * io/open64.c: Likewise.
2939 * io/openat.c: Likewise.
2940 * io/openat64.c: Likewise.
2941 * io/pipe.c: Likewise.
2942 * io/pipe2.c: Likewise.
2943 * io/poll.c: Likewise.
2944 * io/posix_fadvise.c: Likewise.
2945 * io/posix_fadvise64.c: Likewise.
2946 * io/posix_fallocate.c: Likewise.
2947 * io/posix_fallocate64.c: Likewise.
2948 * io/read.c: Likewise.
2949 * io/readlink.c: Likewise.
2950 * io/readlinkat.c: Likewise.
2951 * io/rmdir.c: Likewise.
2952 * io/sendfile.c: Likewise.
2953 * io/sendfile64.c: Likewise.
2954 * io/statfs.c: Likewise.
2955 * io/statfs64.c: Likewise.
2956 * io/statvfs.c: Likewise.
2957 * io/statvfs64.c: Likewise.
2958 * io/symlink.c: Likewise.
2959 * io/symlinkat.c: Likewise.
2960 * io/ttyname.c: Likewise.
2961 * io/ttyname_r.c: Likewise.
2962 * io/umask.c: Likewise.
2963 * io/unlink.c: Likewise.
2964 * io/unlinkat.c: Likewise.
2965 * io/utime.c: Likewise.
2966 * io/utimensat.c: Likewise.
2967 * io/write.c: Likewise.
2968 * io/xmknod.c: Likewise.
2969 * io/xmknodat.c: Likewise.
2970 * io/xstat.c: Likewise.
2971 * io/xstat64.c: Likewise.
2972 * login/getpt.c: Likewise.
2973 * login/grantpt.c: Likewise.
2974 * login/unlockpt.c: Likewise.
2975 * math/e_acoshl.c: Likewise.
2976 * math/e_acosl.c: Likewise.
2977 * math/e_asinl.c: Likewise.
2978 * math/e_atan2l.c: Likewise.
2979 * math/e_atanhl.c: Likewise.
2980 * math/e_coshl.c: Likewise.
2981 * math/e_expl.c: Likewise.
2982 * math/e_fmodl.c: Likewise.
2983 * math/e_gammal_r.c: Likewise.
2984 * math/e_hypotl.c: Likewise.
2985 * math/e_j0l.c: Likewise.
2986 * math/e_j1l.c: Likewise.
2987 * math/e_jnl.c: Likewise.
2988 * math/e_lgammal_r.c: Likewise.
2989 * math/e_log10l.c: Likewise.
2990 * math/e_log2l.c: Likewise.
2991 * math/e_logl.c: Likewise.
2992 * math/e_powl.c: Likewise.
2993 * math/e_rem_pio2l.c: Likewise.
2994 * math/e_sinhl.c: Likewise.
2995 * math/e_sqrtl.c: Likewise.
2996 * math/fclrexcpt.c: Likewise.
2997 * math/fedisblxcpt.c: Likewise.
2998 * math/feenablxcpt.c: Likewise.
2999 * math/fegetenv.c: Likewise.
3000 * math/fegetexcept.c: Likewise.
3001 * math/fegetround.c: Likewise.
3002 * math/feholdexcpt.c: Likewise.
3003 * math/fesetenv.c: Likewise.
3004 * math/fesetround.c: Likewise.
3005 * math/feupdateenv.c: Likewise.
3006 * math/fgetexcptflg.c: Likewise.
3007 * math/fraiseexcpt.c: Likewise.
3008 * math/fsetexcptflg.c: Likewise.
3009 * math/ftestexcept.c: Likewise.
3010 * math/k_cosl.c: Likewise.
3011 * math/k_rem_pio2l.c: Likewise.
3012 * math/k_sinl.c: Likewise.
3013 * math/k_tanl.c: Likewise.
3014 * math/s_asinhl.c: Likewise.
3015 * math/s_atanl.c: Likewise.
3016 * math/s_cbrtl.c: Likewise.
3017 * math/s_erfl.c: Likewise.
3018 * math/s_expm1l.c: Likewise.
3019 * math/s_log1pl.c: Likewise.
3020 * math/s_tanhl.c: Likewise.
3021 * misc/acct.c: Likewise.
3022 * misc/brk.c: Likewise.
3023 * misc/chflags.c: Likewise.
3024 * misc/chroot.c: Likewise.
3025 * misc/fchflags.c: Likewise.
3026 * misc/fgetxattr.c: Likewise.
3027 * misc/flistxattr.c: Likewise.
3028 * misc/fremovexattr.c: Likewise.
3029 * misc/fsetxattr.c: Likewise.
3030 * misc/fsync.c: Likewise.
3031 * misc/ftruncate.c: Likewise.
3032 * misc/futimes.c: Likewise.
3033 * misc/futimesat.c: Likewise.
3034 * misc/getdomain.c: Likewise.
3035 * misc/getdtsz.c: Likewise.
3036 * misc/gethostid.c: Likewise.
3037 * misc/gethostname.c: Likewise.
3038 * misc/getloadavg.c: Likewise.
3039 * misc/getpagesize.c: Likewise.
3040 * misc/getsysstats.c: Likewise.
3041 * misc/getxattr.c: Likewise.
3042 * misc/gtty.c: Likewise.
3043 * misc/ioctl.c: Likewise.
3044 * misc/lgetxattr.c: Likewise.
3045 * misc/listxattr.c: Likewise.
3046 * misc/llistxattr.c: Likewise.
3047 * misc/lremovexattr.c: Likewise.
3048 * misc/lsetxattr.c: Likewise.
3049 * misc/lutimes.c: Likewise.
3050 * misc/madvise.c: Likewise.
3051 * misc/mincore.c: Likewise.
3052 * misc/mlock.c: Likewise.
3053 * misc/mlockall.c: Likewise.
3054 * misc/mmap.c: Likewise.
3055 * misc/mprotect.c: Likewise.
3056 * misc/msync.c: Likewise.
3057 * misc/munlock.c: Likewise.
3058 * misc/munlockall.c: Likewise.
3059 * misc/munmap.c: Likewise.
3060 * misc/preadv.c: Likewise.
3061 * misc/preadv64.c: Likewise.
3062 * misc/ptrace.c: Likewise.
3063 * misc/pwritev.c: Likewise.
3064 * misc/pwritev64.c: Likewise.
3065 * misc/readv.c: Likewise.
3066 * misc/reboot.c: Likewise.
3067 * misc/remap_file_pages.c: Likewise.
3068 * misc/removexattr.c: Likewise.
3069 * misc/revoke.c: Likewise.
3070 * misc/select.c: Likewise.
3071 * misc/setdomain.c: Likewise.
3072 * misc/setegid.c: Likewise.
3073 * misc/seteuid.c: Likewise.
3074 * misc/sethostid.c: Likewise.
3075 * misc/sethostname.c: Likewise.
3076 * misc/setregid.c: Likewise.
3077 * misc/setreuid.c: Likewise.
3078 * misc/setxattr.c: Likewise.
3079 * misc/sstk.c: Likewise.
3080 * misc/stty.c: Likewise.
3081 * misc/swapoff.c: Likewise.
3082 * misc/swapon.c: Likewise.
3083 * misc/sync.c: Likewise.
3084 * misc/syncfs.c: Likewise.
3085 * misc/syscall.c: Likewise.
3086 * misc/truncate.c: Likewise.
3087 * misc/ualarm.c: Likewise.
3088 * misc/usleep.c: Likewise.
3089 * misc/ustat.c: Likewise.
3090 * misc/utimes.c: Likewise.
3091 * misc/vhangup.c: Likewise.
3092 * misc/writev.c: Likewise.
3093 * posix/_exit.c: Likewise.
3094 * posix/alarm.c: Likewise.
3095 * posix/execve.c: Likewise.
3096 * posix/fexecve.c: Likewise.
3097 * posix/fork.c: Likewise.
3098 * posix/fpathconf.c: Likewise.
3099 * posix/getaddrinfo.c: Likewise.
3100 * posix/getegid.c: Likewise.
3101 * posix/geteuid.c: Likewise.
3102 * posix/getgid.c: Likewise.
3103 * posix/getgroups.c: Likewise.
3104 * posix/getlogin.c: Likewise.
3105 * posix/getlogin_r.c: Likewise.
3106 * posix/getpgid.c: Likewise.
3107 * posix/getpid.c: Likewise.
3108 * posix/getppid.c: Likewise.
3109 * posix/getresgid.c: Likewise.
3110 * posix/getresuid.c: Likewise.
3111 * posix/getsid.c: Likewise.
3112 * posix/getuid.c: Likewise.
3113 * posix/glob64.c: Likewise.
3114 * posix/nanosleep.c: Likewise.
3115 * posix/pathconf.c: Likewise.
3116 * posix/pause.c: Likewise.
3117 * posix/posix_madvise.c: Likewise.
3118 * posix/pread.c: Likewise.
3119 * posix/pread64.c: Likewise.
3120 * posix/pwrite.c: Likewise.
3121 * posix/pwrite64.c: Likewise.
3122 * posix/sched_getaffinity.c: Likewise.
3123 * posix/sched_getp.c: Likewise.
3124 * posix/sched_gets.c: Likewise.
3125 * posix/sched_primax.c: Likewise.
3126 * posix/sched_primin.c: Likewise.
3127 * posix/sched_rr_gi.c: Likewise.
3128 * posix/sched_setaffinity.c: Likewise.
3129 * posix/sched_setp.c: Likewise.
3130 * posix/sched_sets.c: Likewise.
3131 * posix/sched_yield.c: Likewise.
3132 * posix/setgid.c: Likewise.
3133 * posix/setlogin.c: Likewise.
3134 * posix/setpgid.c: Likewise.
3135 * posix/setresgid.c: Likewise.
3136 * posix/setresuid.c: Likewise.
3137 * posix/setsid.c: Likewise.
3138 * posix/setuid.c: Likewise.
3139 * posix/sleep.c: Likewise.
3140 * posix/spawni.c: Likewise.
3141 * posix/sysconf.c: Likewise.
3142 * posix/times.c: Likewise.
3143 * posix/wait.c: Likewise.
3144 * posix/wait3.c: Likewise.
3145 * posix/wait4.c: Likewise.
3146 * posix/waitpid.c: Likewise.
3147 * resolv/gai_sigqueue.c: Likewise.
3148 * resource/getpriority.c: Likewise.
3149 * resource/getrlimit.c: Likewise.
3150 * resource/getrusage.c: Likewise.
3151 * resource/nice.c: Likewise.
3152 * resource/setpriority.c: Likewise.
3153 * resource/setrlimit.c: Likewise.
3154 * resource/ulimit.c: Likewise.
3155 * rt/aio_cancel.c: Likewise.
3156 * rt/aio_fsync.c: Likewise.
3157 * rt/aio_read.c: Likewise.
3158 * rt/aio_sigqueue.c: Likewise.
3159 * rt/aio_suspend.c: Likewise.
3160 * rt/aio_write.c: Likewise.
3161 * rt/clock_getres.c: Likewise.
3162 * rt/clock_gettime.c: Likewise.
3163 * rt/clock_nanosleep.c: Likewise.
3164 * rt/clock_settime.c: Likewise.
3165 * rt/lio_listio.c: Likewise.
3166 * rt/mq_close.c: Likewise.
3167 * rt/mq_getattr.c: Likewise.
3168 * rt/mq_notify.c: Likewise.
3169 * rt/mq_open.c: Likewise.
3170 * rt/mq_receive.c: Likewise.
3171 * rt/mq_send.c: Likewise.
3172 * rt/mq_setattr.c: Likewise.
3173 * rt/mq_timedreceive.c: Likewise.
3174 * rt/mq_timedsend.c: Likewise.
3175 * rt/mq_unlink.c: Likewise.
3176 * rt/shm_open.c: Likewise.
3177 * rt/shm_unlink.c: Likewise.
3178 * rt/timer_create.c: Likewise.
3179 * rt/timer_delete.c: Likewise.
3180 * rt/timer_getoverr.c: Likewise.
3181 * rt/timer_gettime.c: Likewise.
3182 * rt/timer_settime.c: Likewise.
3183 * setjmp/__longjmp.c: Likewise.
3184 * setjmp/setjmp.c: Likewise.
3185 * signal/kill.c: Likewise.
3186 * signal/killpg.c: Likewise.
3187 * signal/raise.c: Likewise.
3188 * signal/sigaction.c: Likewise.
3189 * signal/sigaltstack.c: Likewise.
3190 * signal/sigblock.c: Likewise.
3191 * signal/sigignore.c: Likewise.
3192 * signal/sigintr.c: Likewise.
3193 * signal/signal.c: Likewise.
3194 * signal/sigpause.c: Likewise.
3195 * signal/sigpending.c: Likewise.
3196 * signal/sigqueue.c: Likewise.
3197 * signal/sigreturn.c: Likewise.
3198 * signal/sigset.c: Likewise.
3199 * signal/sigsetmask.c: Likewise.
3200 * signal/sigstack.c: Likewise.
3201 * signal/sigsuspend.c: Likewise.
3202 * signal/sigtimedwait.c: Likewise.
3203 * signal/sigvec.c: Likewise.
3204 * signal/sigwait.c: Likewise.
3205 * signal/sigwaitinfo.c: Likewise.
3206 * signal/sysv_signal.c: Likewise.
3207 * socket/accept.c: Likewise.
3208 * socket/accept4.c: Likewise.
3209 * socket/bind.c: Likewise.
3210 * socket/connect.c: Likewise.
3211 * socket/getpeername.c: Likewise.
3212 * socket/getsockname.c: Likewise.
3213 * socket/getsockopt.c: Likewise.
3214 * socket/isfdtype.c: Likewise.
3215 * socket/listen.c: Likewise.
3216 * socket/recv.c: Likewise.
3217 * socket/recvfrom.c: Likewise.
3218 * socket/recvmsg.c: Likewise.
3219 * socket/send.c: Likewise.
3220 * socket/sendmsg.c: Likewise.
3221 * socket/sendto.c: Likewise.
3222 * socket/setsockopt.c: Likewise.
3223 * socket/shutdown.c: Likewise.
3224 * socket/sockatmark.c: Likewise.
3225 * socket/socket.c: Likewise.
3226 * socket/socketpair.c: Likewise.
3227 * stdio-common/ctermid.c: Likewise.
3228 * stdio-common/cuserid.c: Likewise.
3229 * stdio-common/remove.c: Likewise.
3230 * stdio-common/rename.c: Likewise.
3231 * stdio-common/renameat.c: Likewise.
3232 * stdio-common/tempname.c: Likewise.
3233 * stdlib/getcontext.c: Likewise.
3234 * stdlib/makecontext.c: Likewise.
3235 * stdlib/setcontext.c: Likewise.
3236 * stdlib/swapcontext.c: Likewise.
3237 * stdlib/system.c: Likewise.
3238 * streams/fattach.c: Likewise.
3239 * streams/fdetach.c: Likewise.
3240 * streams/getmsg.c: Likewise.
3241 * streams/getpmsg.c: Likewise.
3242 * streams/putmsg.c: Likewise.
3243 * streams/putpmsg.c: Likewise.
3244 * sysdeps/unix/bsd/getpt.c: Likewise.
3245 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3246 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3247 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3249 Likewise.
3250 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3251 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3252 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3253 * sysvipc/msgctl.c: Likewise.
3254 * sysvipc/msgget.c: Likewise.
3255 * sysvipc/msgrcv.c: Likewise.
3256 * sysvipc/msgsnd.c: Likewise.
3257 * sysvipc/semctl.c: Likewise.
3258 * sysvipc/semget.c: Likewise.
3259 * sysvipc/semop.c: Likewise.
3260 * sysvipc/semtimedop.c: Likewise.
3261 * sysvipc/shmat.c: Likewise.
3262 * sysvipc/shmctl.c: Likewise.
3263 * sysvipc/shmdt.c: Likewise.
3264 * sysvipc/shmget.c: Likewise.
3265 * termios/tcdrain.c: Likewise.
3266 * termios/tcflow.c: Likewise.
3267 * termios/tcflush.c: Likewise.
3268 * termios/tcgetattr.c: Likewise.
3269 * termios/tcgetpgrp.c: Likewise.
3270 * termios/tcsendbrk.c: Likewise.
3271 * termios/tcsetattr.c: Likewise.
3272 * termios/tcsetpgrp.c: Likewise.
3273 * time/adjtime.c: Likewise.
3274 * time/clock.c: Likewise.
3275 * time/getitimer.c: Likewise.
3276 * time/gettimeofday.c: Likewise.
3277 * time/setitimer.c: Likewise.
3278 * time/settimeofday.c: Likewise.
3279 * time/stime.c: Likewise.
3280 * time/time.c: Likewise.
3281
32822012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3283
a20492cf
PT
3284 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3285 /usr/old/bin.
3286
72e182e3
PT
3287 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3288 instead of spaces.
3289 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3290
fbeafede
JM
32912012-11-03 Joseph Myers <joseph@codesourcery.com>
3292
5b5b04d6
JM
3293 [BZ #14796]
3294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3295 FE_TONEAREST before applying Dekker multiplication and Knuth
3296 addition. Clear inexact exceptions and check for exact zero
3297 results afterwards.
3298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3299 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3300 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3301 * math/libm-test.inc (fma_test): Add more tests.
3302 (fma_test_towardzero): Likewise.
3303 (fma_test_downward): Likewise.
3304 (fma_test_upward): Likewise.
3305 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3306 function.
3307 (libc_fesetround): New macro.
3308 (libc_fesetroundf): Likewise.
3309 (libc_fesetroundl): Likewise.
3310 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3311 function.
3312 (libc_fesetround_387): Likewise.
3313 (libc_fesetroundf): New macro.
3314 (libc_fesetround): Likewise.
3315 (libc_fesetroundl): Likewise.
3316 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3317 function.
3318 (libc_fesetroundf): New macro.
3319 (libc_fesetround): Likewise.
3320 (libc_fesetroundl): Likewise.
3321 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3322 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3323 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3324 libm_hidden_ver.
3325 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3326 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3327 libm_hidden_def.
3328 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3329 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3330 libm_hidden_ver.
3331 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3332 libm_hidden_def.
3333
fbeafede
JM
3334 [BZ #3439]
3335 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3336 integer constant usable in #if and use that to give value to enum
3337 constant.
3338 (FE_DIVBYZERO): Likewise.
3339 (FE_UNDERFLOW): Likewise.
3340 (FE_OVERFLOW): Likewise.
3341 (FE_INVALID): Likewise.
3342 (FE_INVALID_SNAN): Likewise.
3343 (FE_INVALID_ISI): Likewise.
3344 (FE_INVALID_IDI): Likewise.
3345 (FE_INVALID_ZDZ): Likewise.
3346 (FE_INVALID_IMZ): Likewise.
3347 (FE_INVALID_COMPARE): Likewise.
3348 (FE_INVALID_SOFTWARE): Likewise.
3349 (FE_INVALID_SQRT): Likewise.
3350 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3351 (FE_TONEAREST): Likewise.
3352 (FE_TOWARDZERO): Likewise.
3353 (FE_UPWARD): Likewise.
3354 (FE_DOWNWARD): Likewise.
3355 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3356 (FE_DIVBYZERO): Likewise.
3357 (FE_OVERFLOW): Likewise.
3358 (FE_UNDERFLOW): Likewise.
3359 (FE_INEXACT): Likewise.
3360 (FE_TONEAREST): Likewise.
3361 (FE_DOWNWARD): Likewise.
3362 (FE_UPWARD): Likewise.
3363 (FE_TOWARDZERO): Likewise.
3364 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3365 (FE_UNDERFLOW): Likewise.
3366 (FE_OVERFLOW): Likewise.
3367 (FE_DIVBYZERO): Likewise.
3368 (FE_INVALID): Likewise.
3369 (FE_TONEAREST): Likewise.
3370 (FE_TOWARDZERO): Likewise.
3371 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3372 (FE_OVERFLOW): Likewise.
3373 (FE_UNDERFLOW): Likewise.
3374 (FE_DIVBYZERO): Likewise.
3375 (FE_INEXACT): Likewise.
3376 (FE_TONEAREST): Likewise.
3377 (FE_TOWARDZERO): Likewise.
3378 (FE_UPWARD): Likewise.
3379 (FE_DOWNWARD): Likewise.
3380 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3381 (FE_DIVBYZERO): Likewise.
3382 (FE_OVERFLOW): Likewise.
3383 (FE_UNDERFLOW): Likewise.
3384 (FE_INEXACT): Likewise.
3385 (FE_TONEAREST): Likewise.
3386 (FE_DOWNWARD): Likewise.
3387 (FE_UPWARD): Likewise.
3388 (FE_TOWARDZERO): Likewise.
3389
105ca950
CM
33902012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3391
3392 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3393
a542b389
AS
33942012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3395
3396 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3397 commands. Quote $PWD.
3398 (blacklist_exports): Don't use remove_newlines. Replace "declare
3399 -x" by "export".
3400 (remove_newlines): Remove.
3401
f62c8abc
L
34022012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3403
3404 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3405 * stdlib/stdlib.h (atof): Moved to ...
3406 * include/bits/stdlib-float.h: Here. New file.
3407 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3408 * stdlib/bits/stdlib-float.h: New file.
3409 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3410 -mno-sse -mno-mmx.
3411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3412 <xmmintrin.h>.
3413
0155d5b2
JM
34142012-11-02 Joseph Myers <joseph@codesourcery.com>
3415
a68d0680
JM
3416 * conform/conformtest.pl (@headers): Add fenv.h.
3417 * conform/data/fenv.h-data: New file.
3418 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3419 include of <math/fenv.h>.
3420
caf7f573
JM
3421 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3422 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3423 && !UNIX98]. Enables tests for XOPEN2K8.
3424 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3425 POSIX2008]: Likewise.
3426
6c073ad6
JM
3427 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3428 (struct rusage): Do not expect type or its members.
3429
0155d5b2
JM
3430 [BZ #3439]
3431 * math/math.h (FP_NAN): Define macro to integer constant usable in
3432 #if and use that to give value to enum constant.
3433 (FP_INFINITE): Likewise.
3434 (FP_ZERO): Likewise.
3435 (FP_SUBNORMAL): Likewise.
3436 (FP_NORMAL): Likewise.
3437
b5dcacb4
AS
34382012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3439
3440 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3441 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3442 arguments.
3443
f7934be8
RM
34442012-11-02 Roland McGrath <roland@hack.frob.com>
3445
3446 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3447 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3448 autoconf-time if not.
3449 * configure.in: Remove AC_PREREQ.
3450
d7d08bde
TMQMF
34512012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3452
3453 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3454 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3455 of the internal implementation.
3456
dcdae19a
JM
34572012-11-02 Joseph Myers <joseph@codesourcery.com>
3458
3459 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3460 except include of <misc/sys/syslog.h>.
3461
d6cffd3e
AS
34622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3463
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3465 function returns with a NULL context exit with zero.
3466
b3563932
TMQMF
34672012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3468
3469 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3470
b288a93d
L
34712012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3472
3473 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3474 (run_program_cmd): This.
3475 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3476 (tst_langinfo): New variable. Use it.
3477
a2421a68
SAS
34782012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3479
3480 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3481 floating point opcodes.
3482
6f796e1b
TS
34832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3484
7402596b
TS
3485 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3486 variable.
3487
d0d4f868
TS
3488 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3489
6f796e1b
TS
3490 * sysdeps/mach/hurd/powerpc: Remove directory.
3491 * sysdeps/mach/powerpc: Likewise.
3492
4da224a2
AS
34932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3494
3495 * scripts/check-local-headers.sh: Ignore c++ headers.
3496
341dd673
TS
34972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3498
3499 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3500 __libc_cleanup_region_start argument.
3501
473611b2
JM
35022012-11-01 Joseph Myers <joseph@codesourcery.com>
3503
3504 [BZ #14784]
3505 [BZ #14785]
3506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3507 x * y using scaling, not as x * y + z.
3508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3510 * math/libm-test.inc (fma_test): Add more tests.
3511 (fma_test_towardzero): Likewise.
3512 (fma_test_downward): Likewise.
3513 (fma_test_upward): Likewise.
3514
4078da3d
TS
35152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3516
3517 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3518
903252aa
JM
35192012-10-31 Joseph Myers <joseph@codesourcery.com>
3520
3521 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3522 New variable.
3523
cbc818d0
TS
35242012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3525
3526 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3527
5a03cb1e
AS
35282012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3529
3530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3531 Fix sort order.
3532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3533 Likewise.
3534
90aff2ff
TMQMF
35352012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3536
3537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3538 Fix the order of the list for glibc 2.17.
3539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3540 Likewise.
3541
1818fcb7
AS
35422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3543
3544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3545
ef82f4da
JM
35462012-10-31 Joseph Myers <joseph@codesourcery.com>
3547
16a0e2ec
JM
3548 [BZ #14610]
3549 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3550 for low part of x being zero before using __atanl (y).
3551 * math/libm-test.inc (atan2_test): Add another test.
3552
0eb69512
JM
3553 * manual/install.texi (Configuring and compiling): Document
3554 general use of test-wrapper and test-wrapper-env.
3555 * INSTALL: Regenerated.
3556
ef82f4da
JM
3557 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3558 (__fma): Do not extract and scale down low bits on after-rounding
3559 systems when result rounded to normal precision would have normal
3560 exponent.
3561 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3562 (__fmal): Do not extract and scale down low bits on after-rounding
3563 systems when result rounded to normal precision would have normal
3564 exponent.
3565 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3566 (__fmal): Do not extract and scale down low bits on after-rounding
3567 systems when result rounded to normal precision would have normal
3568 exponent.
3569 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3570 macro.
3571 (fma_test): Add more tests.
3572 (fma_test_towardzero): Likewise.
3573 (fma_test_downward): Likewise.
3574 (fma_test_upward): Likewise.
3575
954ef0d9
L
35762012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3577
3578 * sysdeps/i386/tininess.h: Renamed to ...
3579 * sysdeps/x86/tininess.h: This.
3580 * sysdeps/x86_64/tininess.h: Removed.
3581
df61ffb2
JM
35822012-10-30 Joseph Myers <joseph@codesourcery.com>
3583
3584 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3585 input. Use $(build-program-cmd).
3586 ($(objpfx)tst-array1-static.out): Likewise.
3587 ($(objpfx)tst-array2.out): Likewise.
3588 ($(objpfx)tst-array3.out): Likewise.
3589 ($(objpfx)tst-array4.out): Likewise.
3590 ($(objpfx)tst-array5.out): Likewise.
3591 ($(objpfx)tst-array5-static.out): Likewise.
3592
01767843
CM
35932012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3594
47cc1490
CM
3595 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3596 if defined.
3597
01767843
CM
3598 * nss/nsswitch.h (nss_interface_function): Provide new
3599 macro for use with NSS functions.
3600 * grp/initgroups.c: Use new macro.
3601 * nss/getXXbyYY.c: Likewise.
3602 * nss/getXXbyYY_r.c: Likewise.
3603 * nss/getXXent.c: Likewise.
3604 * nss/getXXent_r.c: Likewise.
3605 * sysdeps/posix/getaddrinfo.c: Likewise.
3606
8321aa97
AJ
36072012-10-30 Andreas Jaeger <aj@suse.de>
3608
3609 * po/ru.po: Update Russion translation from translation project.
3610
2a27fd6d
JM
36112012-10-30 Joseph Myers <joseph@codesourcery.com>
3612
8627a232
JM
3613 [BZ #14152]
3614 [BZ #14783]
3615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3616 result and shift together with sticky bit instead of replicating
3617 round-to-nearest rounding.
3618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3620 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3621 missing underflow exceptions.
3622 (fma_test_towardzero): Add more tests.
3623 (fma_test_downward): Likewise.
3624 (fma_test_upward): Likewise.
3625
2a27fd6d
JM
3626 [BZ #14047]
3627 * sysdeps/generic/tininess.h: New file.
3628 * sysdeps/i386/tininess.h: Likewise.
3629 * sysdeps/sh/tininess.h: Likewise.
3630 * sysdeps/x86_64/tininess.h: Likewise.
3631 * stdlib/tst-strtod-underflow.c: Likewise.
3632 * stdlib/tst-tininess.c: Likewise.
3633 * stdlib/strtod_l.c: Include <tininess.h>.
3634 (round_and_return): Do not set errno for exact underflow cases.
3635 Force an underflow exception when setting errno for underflow.
3636 Determine underflow based on rounding to normal precision if
3637 TININESS_AFTER_ROUNDING.
3638 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3639 ERANGE for exact underflow cases.
3640 * stdlib/Makefile (tests): Add tst-tininess and
3641 tst-strtod-underflow.
3642 ($(objpfx)tst-tininess): Use $(link-libm).
3643 ($(objpfx)tst-strtod-underflow): Likewise.
3644
e7170363
AJ
36452012-10-30 Andreas Jaeger <aj@suse.de>
3646
e5088dc6
AJ
3647 [BZ#14767]
3648 * elf/Makefile (tests): Remove conditional for have-initfini-array
3649 since this is now always required and the variable does not exist
3650 anymore.
3651 (tests-static): Likewise.
3652 (modules-names): Likewise.
3653
e7170363 3654 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3655
3656 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3657 merged with constructor/destructor.
3658 (init_array): Likewise.
3659 * elf/tst-array2dep.c (fini_array): Likewise.
3660 (init_array): Likewise.
3661
60457d8a
MF
36622012-10-29 Mike Frysinger <vapier@gentoo.org>
3663
3664 * manual/message.texi: Delete @cartouche tags.
3665
8bece752
PT
36662012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3667
94ce799f
PT
3668 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3669 EOPNOTSUPP.
3670 * sysdeps/mach/hurd/fsync.c: Likewise.
3671
8bece752
PT
3672 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3673 [_POSIX_REALTIME_SIGNALS]: Change condition to
3674 [_POSIX_REALTIME_SIGNALS > 0].
3675
86ebe6b1
AJ
36762012-10-27 Andreas Jaeger <aj@suse.de>
3677
3678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3679 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3681 [__WORDSIZE != 64]: Likewise.
3682
54399c08
L
36832012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * iconvdata/tst-table.sh: Remove ${SHELL}.
3686 * iconvdata/tst-tables.sh: Likewise.
3687
e2211bed
DM
36882012-10-25 David S. Miller <davem@davemloft.net>
3689
3690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3691 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3692 of strtoull.
3693
f303f97c
DM
3694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3695 ifunc-impl-list.c
3696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3697 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3698 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3699 file.
3700
1e9d84cd
RM
37012012-10-25 Roland McGrath <roland@hack.frob.com>
3702
3703 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3704 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3705 __getdirentries.
3706
df381762
JM
37072012-10-25 Joseph Myers <joseph@codesourcery.com>
3708 Jim Blandy <jimb@codesourcery.com>
3709
3710 * scripts/cross-test-ssh.sh: New file.
3711 * manual/install.texi (Configuring and compiling): Document use of
3712 cross-test-ssh.sh.
3713 * INSTALL: Regenerated.
3714
bff64913
PT
37152012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3716
3717 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3718 EOPNOTSUPP.
3719
25fe8932
JM
37202012-10-25 Joseph Myers <joseph@codesourcery.com>
3721
3722 * Makeconfig (run-program-prefix): Fix comment.
3723
cc1290d0
JM
37242012-10-24 Joseph Myers <joseph@codesourcery.com>
3725 Jim Blandy <jimb@codesourcery.com>
3726
3727 * Makeconfig (test-wrapper): New variable,
3728 (test-wrapper-env): Likewise.
3729 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3730 (run-built-tests): Define to yes.
3731 (run-program-prefix): Use $(test-wrapper).
3732 (built-program-cmd): Likewise.
3733 * Rules (make-test-out): Use $(test-wrapper-env) and
3734 $(host-built-program-cmd).
3735 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3736 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3737 tst-pathopt.sh.
3738 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3739 $(test-wrapper-env) to tst-rtld-load-self.sh.
3740 ($(objpfx)order2.out): Use $(test-wrapper).
3741 ($(objpfx)tst-initorder.out): Likewise.
3742 ($(objpfx)tst-initorder2.out): Likewise.
3743 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3744 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3745 (test_wrapper_env): New variable. Use it to run ld.so.
3746 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3747 Use it to run ld.so.
3748 (test_wrapper_env): Likewise.
3749 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3750 $(test-wrapper) to run-iconv-test.sh.
3751 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3752 (ICONV): Use $test_wrapper.
3753 * posix/Makefile ($(objpfx)globtest.out): Pass
3754 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3755 globtest.sh, not $(run-program-prefix).
3756 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3757 (test_wrapper): Likewise.
3758 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3759 set together with run_via_rtld_prefix.
3760 (run_program_prefix): Define in terms of test_wrapper and
3761 run_via_rtld_prefix.
3762
6e6249d0
RM
37632012-10-24 Roland McGrath <roland@hack.frob.com>
3764
3765 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3766 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3767 Targets removed.
3768
3769 [BZ #14743]
3770 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3771 Declare __clock_getres, __clock_gettime, __clock_settime,
3772 __clock_nanosleep, and __clock_getcpuclockid.
3773 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3774 Remove librt_hidden_def (clock_gettime).
3775 * sysdeps/unix/clock_gettime.c: Likewise.
3776 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3778 * rt/clock_getres.c: Define __clock_getres as an alias.
3779 * sysdeps/posix/clock_getres.c: Likewise.
3780 * rt/clock_settime.c: Define __clock_settime as an alias.
3781 * sysdeps/unix/clock_settime.c: Likewise.
3782 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3783 * sysdeps/unix/clock_nanosleep.c: Likewise.
3784 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3785 * rt/clock-compat.c: New file.
3786 * rt/Makefile (librt-routines): Add clock-compat and move
3787 $(clock-routines) to ...
3788 (routines): ... here, new variable.
3789 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3790 Don't add get_clockfreq here.
3791 * rt/Versions (libc: GLIBC_2.17): New version set.
3792 Add clock_* symbols here.
3793 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3794 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3795 (GLIBC_2.17): Add clock_* symbols.
3796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3800 Likewise.
3801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3802 Likewise.
3803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3807 * NEWS: Mention the move.
3808
3809 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3810 Use __open, __read, __close rather than their public counterparts.
3811 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3812 (__get_clockfreq_via_cpuinfo): Likewise.
3813 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3814 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3815
3816 * config.h.in (HAVE_IFUNC): New #undef.
3817 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3818 was successful.
3819 * configure: Regenerated.
3820
0cae3f4b
MF
38212012-10-24 Mike Frysinger <vapier@gentoo.org>
3822
3823 * configure.in: Move READELF check to start of file.
3824 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3825 libc_cv_asm_gnu_indirect_function in the process.
3826 * configure: Regenerated.
3827
8175a253
MF
38282012-10-24 Mike Frysinger <vapier@gentoo.org>
3829
3830 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3831 send the output to /dev/null.
3832 (libc_cv_cc_with_libunwind): Likewise.
3833 (libc_cv_as_noexecstack): Likewise.
3834 * configure: Regenerate.
3835
0708a7d1
JM
38362012-10-24 Joseph Myers <joseph@codesourcery.com>
3837
10b40d85
JM
3838 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3839
0708a7d1
JM
3840 * posix/globtest.sh (TMPDIR): Do not set.
3841 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3842 (testout): Likewise.
3843
9fddec1a
AJ
38442012-10-24 Andreas Jaeger <aj@suse.de>
3845
3a8db22f
AJ
3846 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3847 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3848 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3849 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3850 posix_fadvise64, posix_fallocate64.
3851
9fddec1a
AJ
3852 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3853 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3854 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3855 Likewise.
3856 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3857 Likewise.
3858 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3859
3860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3861 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3862 <bits/fcntl-linux.h>.
3863 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3864
3865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3866 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3867 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3868 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3869 [__WORDSIZE != 64]: Likewise.
3870
ebfd1bbd
JM
38712012-10-23 Joseph Myers <joseph@codesourcery.com>
3872
03ac099f
JM
3873 * Makeconfig (run-built-tests): New variable.
3874 * Rules [$(cross-compiling) = yes]: Change condition to
3875 [$(run-built-tests) = no].
3876 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3877 to [$(run-built-tests) = yes].
3878 * elf/Makefile [$(cross-compiling) = no]: Likewise
3879 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3880 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3881 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3882 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3883 * io/Makefile [$(cross-compiling) = no]: Likewise.
3884 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3885 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3886 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3887 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3888 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3889 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3890 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3891 * string/Makefile [$(cross-compiling) = no]: Likewise.
3892
ebfd1bbd
JM
3893 * posix/Makefile ($(objpfx)globtest.out): Pass
3894 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3895 $(rtld-installed-name).
3896 * posix/globtest.sh (elf_objpfx): Remove variable.
3897 (rtld_installed_name): Likewise.
3898 (library_path): Likewise.
3899 (run_program_prefix): New variable. Use for running globtest
3900 binary.
3901
166bca24
JB
39022012-10-23 Jim Blandy <jimb@codesourcery.com>
3903 Joseph Myers <joseph@codesourcery.com>
3904
3905 * Makeconfig (host-built-program-cmd): New variable.
3906 * elf/Makefile (tst-stackguard1-ARGS): Use
3907 $(host-built-program-cmd).
3908 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3909 (tst-spawn-ARGS): Likewise.
3910 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3911
88866099
JM
39122012-10-23 Joseph Myers <joseph@codesourcery.com>
3913 Jim Blandy <jimb@codesourcery.com>
3914
3915 * Makeconfig (run-via-rtld-prefix): New variable.
3916 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3917 (built-program-cmd): Likewise.
3918
b4b4c296
AJ
39192012-10-22 Andreas Jaeger <aj@suse.de>
3920
3921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3922 __O_RSYNC if it exists, otherwise to O_SYNC.
3923
6fb54a22
JB
39242012-10-22 Jim Blandy <jimb@codesourcery.com>
3925 Joseph Myers <joseph@codesourcery.com>
3926
3927 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3928 /dev/null.
3929 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3930 from /dev/null
3931 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3932 /dev/null.
3933
481b90b9
AJ
39342012-10-22 Andreas Jaeger <aj@suse.de>
3935
2a0e2669
AJ
3936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3937 Define always.
3938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3939
76e38f9a
AJ
3940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3941 bits/fcntl-linux.h.
3942
7cd37b43
AJ
3943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3944 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3945
481b90b9
AJ
3946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3947 to __O_LARGEFILE.
3948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3949 to __O_LARGEFILE.
3950
aba75984
JB
39512012-10-21 Jim Blandy <jimb@codesourcery.com>
3952 Joseph Myers <joseph@codesourcery.com>
3953
3954 * config.make.in (NM): New variable.
3955
88d4247f
AJ
39562012-10-21 Andreas Jaeger <aj@suse.de>
3957
3958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3959 definitions and declarations that are provided by
3960 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3961
f2eed205
L
39622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3963
3964 [BZ #14683]
3965 * elf/Makefile (tests-static): Add tst-leaks1-static.
3966 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3967 ($(objpfx)tst-leaks1-static): New rule.
3968 ($(objpfx)tst-leaks1-static-mem): Likewise.
3969 (tst-leaks1-static-ENV): New macro.
3970 * elf/dl-open.c (dl_open_worker): Check the main application
3971 only if SHARED is defined.
3972 * elf/tst-leaks1-static.c: New file.
3973
335e6931
AJ
39742012-10-20 Andreas Jaeger <aj@suse.de>
3975
3976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3977 generic values for Linux.
3978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3979 and declarations that are provided by <bits/fcntl-linux.h> and
3980 include <bits/fcntl-linux.h>.
3981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3983
ac5c94d3
RM
39842012-10-20 Roland McGrath <roland@hack.frob.com>
3985
3986 * io/fcntl.h: Move include of <bits/types.h> to the top and
3987 include it unconditionally.
3988
de54b33a
L
39892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3990
228cfb01
L
3991 * wcsmbs/Makefile (tests-ifunc): New variable.
3992 (tests): Add $(tests-ifunc).
3993 * wcsmbs/test-wcschr-ifunc.c: New file.
3994 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3995 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3996 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3997 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3998 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3999
69f07e5f
L
4000 * string/Makefile (tests-ifunc): New variable.
4001 (tests): Add $(tests-ifunc).
4002 * string/test-memccpy.c (TEST_NAME): New macro.
4003 * string/test-memchr.c (TEST_NAME): Likewise.
4004 * string/test-memcmp.c (TEST_NAME): Likewise.
4005 * string/test-memcpy.c (TEST_NAME): Likewise.
4006 * string/test-memmem.c (TEST_NAME): Likewise.
4007 * string/test-memmove.c (TEST_NAME): Likewise.
4008 * string/test-memset.c (TEST_NAME): Likewise.
4009 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4010 * string/test-stpcpy.c (TEST_NAME): Likewise.
4011 * string/test-stpncpy.c (TEST_NAME): Likewise.
4012 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4013 * string/test-strcasestr.c (TEST_NAME): Likewise.
4014 * string/test-strcat.c (TEST_NAME): Likewise.
4015 * string/test-strchr.c (TEST_NAME): Likewise.
4016 * string/test-strcmp.c(TEST_NAME): Likewise.
4017 * string/test-strcpy.c (TEST_NAME): Likewise.
4018 * string/test-strcspn.c (TEST_NAME): Likewise.
4019 * string/test-strlen.c (TEST_NAME): Likewise.
4020 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4021 * string/test-strncmp.c (TEST_NAME): Likewise.
4022 * string/test-strncpy.c (TEST_NAME): Likewise.
4023 * string/test-strnlen.c (TEST_NAME): Likewise.
4024 * string/test-strpbrk.c (TEST_NAME): Likewise.
4025 * string/test-strrchr.c (TEST_NAME): Likewise.
4026 * string/test-strspn.c (TEST_NAME): Likewise.
4027 * string/test-strstr.c (TEST_NAME): Likewise.
4028 * string/test-bcopy-ifunc.c: New file.
4029 * string/test-bzero-ifunc.c: Likewise.
4030 * string/test-memccpy-ifunc.c: Likewise.
4031 * string/test-memchr-ifunc.c: Likewise.
4032 * string/test-memcmp-ifunc.c: Likewise.
4033 * string/test-memcpy-ifunc.c: Likewise.
4034 * string/test-memmem-ifunc.c: Likewise.
4035 * string/test-memmove-ifunc.c: Likewise.
4036 * string/test-mempcpy-ifunc.c: Likewise.
4037 * string/test-memset-ifunc.c: Likewise.
4038 * string/test-rawmemchr-ifunc.c: Likewise.
4039 * string/test-stpcpy-ifunc.c: Likewise.
4040 * string/test-stpncpy-ifunc.c: Likewise.
4041 * string/test-strcasecmp-ifunc.c: Likewise.
4042 * string/test-strcasestr-ifunc.c: Likewise.
4043 * string/test-strcat-ifunc.c: Likewise.
4044 * string/test-strchr-ifunc.c: Likewise.
4045 * string/test-strchrnul-ifunc.c: Likewise.
4046 * string/test-strcmp-ifunc.c: Likewise.
4047 * string/test-strcpy-ifunc.c: Likewise.
4048 * string/test-strcspn-ifunc.c: Likewise.
4049 * string/test-strlen-ifunc.c: Likewise.
4050 * string/test-strncasecmp-ifunc.c: Likewise.
4051 * string/test-strncat-ifunc.c: Likewise.
4052 * string/test-strncmp-ifunc.c: Likewise.
4053 * string/test-strncpy-ifunc.c: Likewise.
4054 * string/test-strnlen-ifunc.c: Likewise.
4055 * string/test-strpbrk-ifunc.c: Likewise.
4056 * string/test-strrchr-ifunc.c: Likewise.
4057 * string/test-strspn-ifunc.c: Likewise.
4058 * string/test-strstr-ifunc.c: Likewise.
4059
de54b33a
L
4060 * debug/Makefile (tests-ifunc): New variable.
4061 (tests): Add $(tests-ifunc).
4062 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4063 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4064 * debug/test-stpcpy_chk-ifunc.c: New file.
4065 * debug/test-strcpy_chk-ifunc.c: Likewise.
4066
88481c16
SP
40672012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4068
4069 [BZ #13601]
4070 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4071 header is not read in.
4072
135948bd
JM
40732012-10-19 Joseph Myers <joseph@codesourcery.com>
4074
89f1c388
JM
4075 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4076 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4077 directly. Pass built executable to script as
4078 $(built-program-cmd).
4079 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4080 $testprogram without using LD_LIBRARY_PATH and $ldso.
4081
e40a0d21
JM
4082 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4083 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4084 $(rtld-installed-name).
4085 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4086 (rtld_installed_name): Likewise.
4087 (library_path): Likewise.
4088 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4089 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4090 $(run-program-prefix) to tst-tables.sh.
4091 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4092 it to run tst-table-from and tst-table-to.
4093 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4094 Pass it to tst-table.sh.
4095 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4096 $(run-program-prefix) to tst-gettext.sh.
4097 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4098 tst-translit.sh.
4099 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4100 tst-gettext2.sh.
4101 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4102 to run tst-gettext.
4103 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4104 to run tst-gettext2.
4105 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4106 to run tst-translit.
4107 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4108 $(run-program-prefix) to tst-mtrace.sh.
4109 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4110 to run tst-mtrace.
4111 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4112 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4113 $(rtld-installed-name).
4114 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4115 (rtld_installed_name): Likewise.
4116 (run_program_prefix): New variable. Use it to run wordexp-test.
4117
728e272a
JM
4118 * Makeconfig (ARCH): Remove all definitions.
4119 (machine): Likewise.
4120 [ARCH]: Remove conditional code.
4121 [!objdir]: Give error.
4122 [!objdir] (objpfx): Remove.
4123 [!objdir] (common-objpfx): Likewise.
4124 [!objdir] (common-objdir): Likewise.
4125 * configure.in (config_makefile): Remove. Hardcode Makefile in
4126 AC_CONFIG_FILES call.
4127 * configure: Regenerated.
4128
d528cdcf
JM
4129 [BZ #13888]
4130 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4131 or TMPDIR.
4132 (testout): Likewise.
4133
135948bd
JM
4134 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4135 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4136 $(rtld-installed-name).
4137 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4138 (rtld_installed_name): Likwise.
4139 (runit): Remove function.
4140 (run_getconf): New variable, Use it for running getconf binary.
4141
38c78296
L
41422012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4143
4144 [BZ #14716]
4145 * string/test-memmem.c (check_result): New function.
4146 (do_one_test): Use it.
4147 (check1): New function.
4148 (test_main): Use it.
4149
d077f65f
MT
41502012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4151
4152 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4153
ced52c71
JM
41542012-10-18 Joseph Myers <joseph@codesourcery.com>
4155
4156 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4157 (_G_LSEEK64): Likewise.
4158 (_G_MMAP64): Likewise.
4159 (_G_FSTAT64): Likewise.
4160 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4161 (_G_LSEEK64): Likewise.
4162 (_G_MMAP64): Likewise.
4163 (_G_FSTAT64): Likewise.
4164 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4165 unconditional. Call __mmap64 directly.
4166 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4167 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4168 __lseek64 directly.
4169 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4170 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4171 __mmap64 directly.
4172 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4173 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4174 __lseek64 directly.
4175 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4176 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4177 __lseek64 directly.
4178 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4179 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4180 __lseek64 directly.
4181 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4182 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4183 __fxstat64 directly.
4184 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4185 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4186 unconditional.
4187 (freopen64) [!_G_OPEN64]: Remove conditional code.
4188 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4189 unconditional.
4190 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4191 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4192 unconditional.
4193 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4194 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4195 unconditional.
4196 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4197 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4198 unconditional.
4199 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4200 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4201 unconditional.
4202 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4203 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4204 unconditional.
4205 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4206 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4207 unconditional.
4208 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4209
b741de23
SP
42102012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4211
4212 [BZ #12140]
4213 * manual/memory.texi (Malloc Tunable Parameters): Add note
4214 about free list pointers overwriting some perturb bytes.
4215 Wording suggested by Roland McGrath.
4216
f9b9d9c9
JM
42172012-10-17 Joseph Myers <joseph@codesourcery.com>
4218
4219 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4220 (lgamma_test): Likewise.
4221 (tgamma_test): Likewise.
4222
172a631a
FW
42232012-10-16 Florian Weimer <fweimer@redhat.com>
4224
4225 [BZ #14700]
4226 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4227 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4228
e9f37252
MK
42292012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4230
4231 * NEWS: Mention BZ #14716.
4232 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4233 when removing AVAILABLE1_USES_J macro.
4234
d394eb74
L
42352012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4236
4237 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4238 (__bswap_64): __uint64_t for unsigned 64-bit int.
4239
ca38dc17
AS
42402012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4241
4242 * include/string.h (memmem): Declare libc hidden alias.
4243 * string/memmem.c (memmem): Define libc hidden alias.
4244 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4245 __read, __close instead of open, read, close.
4246
9a387d1f
L
42472012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4248
ac49ecaf
L
4249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4250 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4251 global and hidden.
4252 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4253 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4254 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4255 Likewise.
4256 (__rawmemchr_sse2): Likewise.
4257 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4258 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4259 (__strchr_sse2): Likewise.
4260 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4261 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4262 (__strcasecmp_sse2): Likewise.
4263 (__strncasecmp_sse2): Likewise.
4264 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4265 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4266 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4267 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4268 (__strrchr_sse2): Likewise.
4269 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4270 ifunc-impl-list.c.
4271 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4272 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4273 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4274 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4275 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4276 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4277 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4278 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4279 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4280 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4281 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4282 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4283 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4284 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4285 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4286 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4287 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4288 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4289 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4290 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4291 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4292 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4293 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4294 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4295 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4296 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4297 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4298 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4299 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4300 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4301
b090e8ea
L
4302 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4303 global and hidden.
4304 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4305 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4306 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4307 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4308 Likewise.
4309 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4310 Likewise.
4311 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4312 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4313 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4314 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4315 ifunc-impl-list.c.
4316 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4317 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4318 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4319 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4320 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4321 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4322 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4323 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4324 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4325 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4326 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4327 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4328 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4329 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4330 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4331 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4332 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4333 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4334 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4335 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4336 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4337 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4338 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4339 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4340 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4341 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4342 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4343 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4344 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4345 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4346 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4347 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4348 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4349 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4350 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4351 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4352 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4353 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4354 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4355 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4356 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4357
11dd4af6
L
4358 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4359 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4360 * include/ifunc-impl-list.h: New file.
4361 * misc/ifunc-impl-list.c: Likewise.
4362 * misc/Makefile (routines): Add ifunc-impl-list.
4363 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4364 * string/test-string.h: Include <ifunc-impl-list.h>.
4365 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4366 impl_array): New variables.
4367 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4368 are defined.
4369 (test_init): Call __libc_ifunc_impl_list to initialize
4370 func_list if TEST_IFUNC and TEST_NAME are defined.
4371
9a387d1f
L
4372 * string/Makefile (strop-tests): Add bcopy and bzero.
4373 * string/test-bcopy.c: New file.
4374 * string/test-bzero.c: Likewise.
4375 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4376 defined.
4377 * string/test-memset.c: Support bzero test if TEST_BZERO is
4378 defined.
4379 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4380 __libc_memmove.
4381 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4382 __libc_memset.
4383 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4384 of memset.
4385
472371b9
JM
43862012-10-10 Joseph Myers <joseph@codesourcery.com>
4387
1e4a9536
JM
4388 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4389 * configure: Regenerated.
4390
d173d12e
JM
4391 * Makeconfig (+link-static-before-libc): Don't include
4392 $(link-static-libc).
4393
472371b9
JM
4394 * libio/libio.h (_IO_pos_t): Remove.
4395
89a3ad0b
AO
43962012-10-10 Alexandre Oliva <aoliva@redhat.com>
4397
4398 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4399 McGrath.
4400
e7451425
AO
44012012-10-10 Alexandre Oliva <aoliva@redhat.com>
4402
4403 * crypt/crypt-entry.c: Include fips-private.h.
4404 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4405 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4406 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4407 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4408
4ba74a35
AO
44092012-10-10 Alexandre Oliva <aoliva@redhat.com>
4410
4411 * crypt/crypt-private.h: Include stdbool.h.
4412 (_ufc_setup_salt_r): Return bool.
4413 * crypt/crypt-entry.c: Include errno.h.
4414 (__crypt_r): Return NULL with EINVAL for bad salt.
4415 * crypt/crypt_util.c (bad_for_salt): New.
4416 (_ufc_setup_salt_r): Check that salt is long enough and within
4417 the specified alphabet.
4418 * crypt/badsalttest.c: New file.
4419 * crypt/Makefile (tests): Add it.
4420 ($(objpfx)badsalttest): New.
4421
f96f1242
MK
44222012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4423
4424 * NEWS: Add entry for BZ #14602.
4425
0e8e0c1c
JM
44262012-10-09 Joseph Myers <joseph@codesourcery.com>
4427
4428 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4429 type-generic.
4430 * math/libm-test.inc: Update comment listing what functions and
4431 macros are tested.
4432 (isgreater_test): New function.
4433 (isgreaterequal_test): Likewise.
4434 (isless_test): Likewise.
4435 (islessequal_test): Likewise.
4436 (islessgreater_test): Likewise.
4437 (isunordered_test): Likewise.
4438 (main): Call the new functions.
4439
273edc5e
RM
44402012-10-09 Roland McGrath <roland@hack.frob.com>
4441
b8493de0
RM
4442 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4443 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4444 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4445 * sysdeps/i386/configure: Regenerated.
4446 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4447 * sysdeps/mach/configure: Regenerated.
4448 * sysdeps/mach/hurd/configure: Regenerated.
4449 * sysdeps/powerpc/configure: Regenerated.
4450 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4451 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4452 * sysdeps/s390/s390-32/configure: Regenerated.
4453 * sysdeps/s390/s390-64/configure: Regenerated.
4454 * sysdeps/sh/configure: Regenerated.
4455 * sysdeps/sparc/configure: Regenerated.
4456 * sysdeps/unix/sysv/linux/configure: Regenerated.
4457 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4458 * sysdeps/x86_64/configure: Regenerated.
4459
273edc5e
RM
4460 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4461 defined. Don't check if MAP is NULL.
4462
c8450f70
JM
44632012-10-09 Joseph Myers <joseph@codesourcery.com>
4464
4465 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4466 (_G_stat64): Likewise.
4467 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4468 (_G_stat64): Likewise.
4469 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4470 instead of struct _G_stat64.
4471 * libio/fileops.c (mmap_remap_check): Likewise.
4472 (decide_maybe_mmap): Likewise.
4473 (_IO_new_file_seekoff): Likewise.
4474 (_IO_file_stat): Likewise.
4475 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4476 _G_off64_t.
4477 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4478 instead of struct _G_stat64.
4479 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4480
57e605ba
MK
44812012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4482
4483 [BZ #14602]
4484 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4485 Replace with ...
4486 (CHECK_EOL): New macro.
4487 (two_way_short_needle): Check beginning of haystack for EOL. Use
4488 CHECK_EOL.
4489 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4490 Replace with CHECK_EOL.
4491 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4492 Replace with CHECK_EOL.
4493
ef1bb361
JM
44942012-10-08 Joseph Myers <joseph@codesourcery.com>
4495
4496 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4497 type-generic.
4498 * math/libm-test.inc: Update comment listing what functions and
4499 macros are tested.
4500 (finite_test): New function.
4501 (isinf_test): Likewise.
4502 (isnan_test): Likewise.
4503 (fpclassify_test): Test subnormal input.
4504 (isfinite_test): Likewise.
4505 (isnormal_test): Likewise.
4506 (main): Call the new functions.
4507
55f11534
JN
45082012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4509
4510 [BZ #14660]
4511 * Makerules (%.dynsym): Force C locale when running
4512 $(OBJDUMP) --dynamic-syms.
4513
1ab29350
AS
45142012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4515
4516 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4517 <stdint.h>.
4518
f1ecb7ef
DM
45192012-10-06 David S. Miller <davem@davemloft.net>
4520
4521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4522 upper 32-bits of the length value in %o2 since we use branch-on-register
4523 tests which consider the entire 64-bit register.
4524
5d41d91a
L
45252012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4526
4527 * string/test-strstr.c (check2): Add a test for page boundary.
4528
3baddb72
DM
45292012-10-05 David S. Miller <davem@davemloft.net>
4530
4531 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4532 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4533 file.
4534 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4535 sysdep_routines.
4536 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4537 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4538 and bzero when HWCAP_SPARC_CRYPTO is present.
4539
9cee5585
L
45402012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4541
d7e0dab9
L
4542 [BZ #14602]
4543 * string/test-strstr.c (check2): New function.
4544 (test_main): Call check2.
4545
03759f47
L
4546 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4547 and bug-strchr1.
4548 * string/bug-strcasestr1.c (do_test): Moved to ...
4549 * string/test-strcasestr.c (check1): Here. New function.
4550 (do_one_test): Break out result checking code into ...
4551 (check_result): This. New function.
4552 (do_one_test): Call check_result.
4553 (test_main): Call check1.
4554 * string/bug-strchr1.c (do_test): Moved to ...
4555 * string/test-strchr.c (check1): Here. New function.
4556 (do_one_test): Break out result checking code into ...
4557 (check_result): This. New function.
4558 (do_one_test): Call check_result.
4559 (test_main): Call check1.
4560 * string/bug-strstr1.c (main): Moved to ...
4561 * string/test-strchr.c (check1): Here. New function.
4562 (do_one_test): Break out result checking code into ...
4563 (check_result): This. New function.
4564 (do_one_test): Call check_result.
4565 (test_main): Call check1.
4566 * string/bug-strcasestr1.c: Removed.
4567 * string/bug-strchr1.c: Likewise.
4568 * string/bug-strstr1.c: Likewise.
4569
53cea63e
L
4570 * elf/Makefile (dl-routines): Add hwcaps.
4571 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4572 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4573 (_dl_important_hwcaps): Moved to ...
4574 * elf/dl-hwcaps.c: Here. New file.
4575 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4576
9cee5585 4577 [BZ #14557]
bb859b06
L
4578 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4579 if IS_IN_rtld isn't defined.
4580
9cee5585
L
4581 * elf/dl-support.c (_dl_sysinfo_map): New.
4582 Include "get-dynamic-info.h" and "setup-vdso.h".
4583 (_dl_non_dynamic_init): Call setup_vdso.
4584 * elf/dynamic-link.h: Don't include <assert.h>.
4585 (elf_get_dynamic_info): Moved to ...
4586 * elf/get-dynamic-info.h: Here. New file.
4587 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4588 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4589 * elf/setup-vdso.h: Here. New file.
4590 * elf/rtld.c: Include "setup-vdso.h".
4591 (dl_main): Call setup_vdso.
4592
23c31b76
JM
45932012-10-05 Joseph Myers <joseph@codesourcery.com>
4594
28234b07
JM
4595 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4596 creal in comment listing functions tested. List finite, isinf,
4597 isnan, isless, islessequal, isgreater, isgreaterequal,
4598 islessgreater, isunordered, lgamma_r and pow10 as functions and
4599 macros not tested. Mention which functions not tested are aliases
4600 for other functions. Fix typo. Note that signs of NaNs are not
4601 tested.
4602
23c31b76
JM
4603 * scripts/config.guess: Update from config.git.
4604 * scripts/config.sub: Likewise.
4605
9043e228
RM
46062012-10-04 Roland McGrath <roland@hack.frob.com>
4607
4608 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4609 * misc/madvise.c (madvise): Renamed to __madvise.
4610 Make madvise a weak alias.
4611 * include/sys/mman.h: Declare __madvise.
4612 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4613 * sysdeps/unix/syscalls.list
4614 (madvise): Make __madvise the strong name, and madvise a weak alias.
4615 * sysdeps/unix/sysv/linux/syscalls.list
4616 (madvise, mmap): Remove redundant entries.
4617 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4618 * malloc/malloc.c (mtrim): Likewise.
4619 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4620
f57f8055
RM
46212012-10-03 Roland McGrath <roland@hack.frob.com>
4622
4623 * sysdeps/mach/hurd/dl-cache.c: File removed.
4624 * config.h.in (USE_LDCONFIG): New #undef.
4625 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4626 * configure: Regenerated.
4627 * elf/Makefile (dl-routines): Add dl-cache only under
4628 [$(use-ldconfig) = yes].
4629 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4630 cache on [USE_LDCONFIG].
4631 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4632 [USE_LDCONFIG].
4633 * elf/rtld.c (dl_main): Likewise.
4634
5bb0c10a
PT
46352012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4636
4637 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4638 _SC_LEVEL4_CACHE_LINESIZE.
4639
010188c6
RM
46402012-10-03 Roland McGrath <roland@hack.frob.com>
4641
4642 * sysdeps/unix/bsd/confstr.h: File removed.
4643
b6c5ec07
AO
46442012-10-02 Alexandre Oliva <aoliva@redhat.com>
4645
4646 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4647 sys/sdt-config.h.
4648
408223d4
RM
46492012-10-02 Roland McGrath <roland@hack.frob.com>
4650
4651 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4652 Make 'mapoff' field ElfW(Off) rather than off_t.
4653
bb9510dc
DL
46542012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4655
fc997c6e
DL
4656 * nscd/Makefile: Remove nscd-cflags and all its users.
4657 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4658 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4659
bb9510dc
DL
4660 [BZ #10631]
4661 * malloc.c (malloc_printerr): Clarify error message.
4662
05699367
L
46632012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4664
4665 [BZ #14648]
4666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4667 Set bit_FMA_Usable if FMA is supported.
4668 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4669 macro.
4670 (bit_FMA4_Usable): Updated.
4671 (index_FMA_Usable): New macro.
4672 (CPUID_FMA): Likewise
4673 (HAS_FMA): Defined with bit_FMA_Usable.
4674
51367701
RM
46752012-10-01 Roland McGrath <roland@hack.frob.com>
4676
4677 * bits/types.h (__swblk_t): Type removed.
4678 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4679 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4681 (__SWBLK_T_TYPE): Likewise.
4682 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4683 (__SWBLK_T_TYPE): Likewise.
4684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4685 (__SWBLK_T_TYPE): Likewise.
4686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4687 (__SWBLK_T_TYPE): Likewise.
4688
4d57bf63 46892012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4690 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4691
4692 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4693 (xdr_mapname): Use YPMAXMAP as maxsize.
4694 (xdr_peername): Use YPMAXPEER as maxsize.
4695 (xdr_keydat): Use YPAXRECORD as maxsize.
4696 (xdr_valdat): Use YPMAXRECORD as maxsize.
4697
93c65d43
RM
46982012-10-01 Roland McGrath <roland@hack.frob.com>
4699
497a03d6
RM
4700 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4701
93c65d43
RM
4702 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4703 * csu/init-first.c: ... here.
4704 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4705 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4706 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4707 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4708 * sysdeps/i386/init-first.c: File removed.
4709 * sysdeps/sh/init-first.c: File removed.
4710
bec749fd
JM
47112012-10-01 Joseph Myers <joseph@codesourcery.com>
4712
4713 [BZ #14645]
4714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4715 if x * y might underflow to zero and z is zero.
4716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4717 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4718 * math/libm-test.inc (min_subnorm_value): New variable.
4719 (fma_test): Add more tests.
4720 (fma_test_towardzero): Likewise.
4721 (fma_test_downward): Likewise
4722 (fma_test_upward): Likewise.
4723 (initialize): Set min_subnorm_value.
4724
8ec5b013
JM
47252012-09-29 Joseph Myers <joseph@codesourcery.com>
4726
4727 [BZ #14638]
4728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4729 0 + 0.
4730 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4731 mode for addition resulting in exact zero.
4732 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4734 exact 0 + 0.
4735 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4737 * math/libm-test.inc (fma_test): Add more tests.
4738 (fma_test_towardzero): New function.
4739 (fma_test_downward): Likewise.
4740 (fma_test_upward): Likewise.
4741 (main): Call the new functions.
4742
b1fa802e
DM
47432012-09-28 David S. Miller <davem@davemloft.net>
4744
4745 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4746
d3b9fd9e
RM
47472012-09-28 Roland McGrath <roland@hack.frob.com>
4748
ea4d37b3
RM
4749 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4750 instead of SIGALRM.
4751
ac51c949
RM
4752 * sysdeps/gnu/_G_config.h: Moved to ...
4753 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4754 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4755 * sysdeps/generic/_G_config.h: ... here.
4756
28c195f7
RM
4757 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4758
848917f9
RM
4759 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4760
6bacf05b
RM
4761 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4762 Conditionalize target on [libnss_test1.so-version].
4763
91363dbb
RM
4764 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4765
cc87f7d8
RM
4766 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4767 (elfobjdir): Move out of conditionals.
4768
b1c608fe
RM
4769 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4770 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4771 (__nss_lookup_function): Conditionalize label remove_from_tree on
4772 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4773
1d9a6d96
DM
47742012-09-28 David S. Miller <davem@davemloft.net>
4775
4776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4777 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4778 file.
4779 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4780 sysdep_routines.
4781 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4782 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4783 when HWCAP_SPARC_CRYPTO is present.
4784
72581615
PT
47852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4786
4787 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4788
715a900c
JL
47892012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4790
4791 [BZ #6530]
4792 * stdio-common/vfprintf.c (process_string_arg): Revert
4793 2000-07-22 change.
4794
47952011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4796
4797 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4798 for testcase.
4799 * stdio-common/tst-sprintf.c: Include <locale.h>
4800 (main): Test sprintf's handling of incomplete multibyte
4801 characters.
4802
9bac1d86
L
48032012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4804
4805 * elf/dl-runtime.c (VERSYMIDX): Removed.
4806 * elf/dl-version.c (VERSYMIDX): Likewise.
4807 * elf/do-rel.h (VERSYMIDX): Likewise.
4808 (VALIDX): Likewise.
4809 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4810 * elf/rtld.c (VALIDX): Likewise.
4811 (ADDRIDX): Likewise.
9bac1d86
L
4812 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4813 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4814 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4815 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4816 (VALIDX): Likewise.
4817 (ADDRIDX): Likewise.
9bac1d86 4818
b31606c0
PT
48192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4820
4821 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4822
11541177
JL
48232012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4824
4825 [BZ #11438]
4826 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4827 to global scope.
4828 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4829 addresses are in the same scope as 192.0.2/24.
4830 * posix/gai.conf: Document new scope table defaults.
4831
adb26fae
SP
48322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4833
4834 [BZ #5298]
4835 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4836 for ftell. Compute offsets from write pointers instead.
4837 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4838
4573c6b0
SP
48392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4840
4841 [BZ #14543]
4842 * libio/Makefile (tests): New test case tst-fseek.
4843 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4844 combination works in wide mode.
4845 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4846 state when the external buffer state changes.
4847
aa9bbfe6
DM
48482012-09-27 David S. Miller <davem@davemloft.net>
4849
4850 [BZ #14376]
4851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4852 pass reloc->r_addend in as the 'high' argument to
4853 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4854
784421e7
DM
4855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4856
c39bc8b8
PT
48572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4858
4859 * rt/tst-aio2.c: Include <pthread.h>.
4860 * rt/tst-aio3.c: Likewise.
4861
1ccc2399
SE
48622012-09-27 Steve Ellcey <sellcey@mips.com>
4863
4864 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4865
31ed4153
L
48662012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4867
25f5f885
L
4868 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4869 contents on [SHARED].
31ed4153 4870
b7bfe116
MP
48712012-09-26 Marek Polacek <polacek@redhat.com>
4872
4873 [BZ #14530]
4874 [BZ #13741]
4875 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4876 for C++ and GCC <4.3 as well as for non GCC compilers.
4877
43c4edba
MT
48782012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4879
4880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4881
6a1bf82f
RM
48822012-09-25 Roland McGrath <roland@hack.frob.com>
4883
4884 * Makefile.in (all, install): Declare with .PHONY.
4885 Reported by Michael Hope <michael.hope@linaro.org>.
4886
8ad11b9a
TMQMF
48872012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4888
4889 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4890 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4891 system header.
4892 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4893 Likewise.
4894 (sydep_routines): Add the new and the internal functions.
4895 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4896 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4898 (GLIBC_2.17): Add the new function.
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4900 (GLIBC_2.17): Likewise.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4902 (GLIBC_2.17): Likewise.
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4904 (GLIBC_2.17): Likewise.
4905 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4906
7e2fca8d
AM
49072012-09-25 Alan Modra <amodra@gmail.com>
4908
4909 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4910 Add release barrier before setting once_control to say
4911 initialisation is done. Add hints on lwarx. Use macro in
4912 place of isync.
4913 (clear_once_control): Add release barrier.
4914
b87c4b24
JM
49152012-09-25 Joseph Myers <joseph@codesourcery.com>
4916
d032e0d2
JM
4917 [BZ #13629]
4918 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4919 specially.
4920 * math/s_clog10.c (__clog10): Likewise.
4921 * math/s_clog10f.c (__clog10f): Likewise.
4922 * math/s_clog10l.c (__clog10l): Likewise.
4923 * math/s_clogf.c (__clogf): Likewise.
4924 * math/s_clogl.c (__clogl): Likewise.
4925 * math/Makefile (libm-calls): Add x2y2m1.
4926 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4927 (__x2y2m1): Likewise.
4928 (__x2y2m1l): Likewise.
4929 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4930 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4931 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4932 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4933 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4934 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4935 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4936 * sysdeps/i386/fpu/libm-test-ulps: Update.
4937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4938
b87c4b24
JM
4939 [BZ #14621]
4940 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4941 int as type of variable DEPTH.
4942 (glob): Use size_t instead of int as type of variables NEWCOUNT
4943 and OLD_PATHC.
4944
6d3bf199
LD
49452012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4946
22bf5c17
LD
4947 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4948 Add s_sincosf-sse2.
4949 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4950 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4951 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4952 macros for using routine as __sincosf_ia32.
4953 Use macro for function declaration and weak_alias.
4954 * sysdeps/i386/fpu/libm-test-ulps: Update.
4955
4956 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4958
4959 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4960 subnormal argument.
4961 * math/s_cexpf.c (__cexpf): Likewise.
4962 * math/s_csinf.c (__csinf): Likewise.
4963 * math/s_csinhf.c (__csinhf): Likewise.
4964 * math/s_ctanf.c (__ctanf): Likewise.
4965 * math/s_ctanhf.c (__ctanhf): Likewise.
4966 * math/s_ccosh.c (__ccoshf): Likewise.
4967 * math/s_cexp.c (__cexpl): Likewise.
4968 * math/s_csin.c (__csin): Likewise.
4969 * math/s_csinh.c (__csinh): Likewise.
4970 * math/s_ctan.c (__ctan): Likewise.
4971 * math/s_ctanh.c (ctanh): Likewise.
4972 * math/s_ccoshl.c (__ccoshl): Likewise.
4973 * math/s_cexpl.c (__cexpl): Likewise.
4974 * math/s_csinl.c (__csinl): Likewise.
4975 * math/s_csinhl.c (__csinhl): Likewise.
4976 * math/s_ctanl.c (__ctanl): Likewise.
4977 * math/s_ctanhl.c (__ctanhl): Likewise.
4978
203e5603
JM
49792012-09-25 Joseph Myers <joseph@codesourcery.com>
4980
4981 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4982 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4983 (_IO_off_t): Define to __off_t, not _G_off_t.
4984 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4985 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4986 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4987 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4988 type of __dummy and __dummy2 fields.
4989 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4990 (_G_ssize_t): Likewise.
4991 (_G_off_t): Likewise.
4992 (_G_pid_t): Likewise.
4993 (_G_uid_t): Likewise.
4994 (_G_wchar_t): Likewise.
4995 (_G_wint_t): Likewise.
4996 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4997 (_G_ssize_t): Likewise.
4998 (_G_off_t): Likewise.
4999 (_G_pid_t): Likewise.
5000 (_G_uid_t): Likewise.
5001 (_G_wchar_t): Likewise.
5002 (_G_wint_t): Likewise.
5003 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5004 (_G_ssize_t): Likewise.
5005 (_G_off_t): Likewise.
5006 (_G_pid_t): Likewise.
5007 (_G_uid_t): Likewise.
5008 (_G_wchar_t): Likewise.
5009 (_G_wint_t): Likewise.
5010
9fab36eb
SP
50112012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5012
5013 * malloc/arena.c: Include malloc-sysdep.h.
5014 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5015 is sufficient to shrink the heap or an unmap is needed.
5016 * sysdeps/generic/malloc-sysdep.h: New file. Define
5017 new function check_may_shrink_heap.
5018 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5019 new function check_may_shrink_heap.
5020
2b4f00d1
SP
50212012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5022
5023 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5024 comments.
5025
9a9028b1
DL
50262012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5027
57c69bef
DL
5028 * catgets/test-gencat.sh: Add "set -e".
5029 * elf/tst-pathopt.sh: Likewise.
5030 * grp/tst_fgetgrent.sh: Likewise.
5031 * iconvdata/run-iconv-test.sh: Likewise.
5032 * intl/tst-gettext.sh: Likewise.
5033 * intl/tst-gettext2.sh: Likewise.
5034 * intl/tst-gettext4.sh: Likewise.
5035 * intl/tst-gettext6.sh: Likewise.
5036 * intl/tst-translit.sh: Likewise.
5037 * io/ftwtest-sh: Likewise.
5038 * libio/test-freopen.sh: Likewise.
5039 * malloc/tst-mtrace.sh: Likewise.
5040 * posix/globtest.sh: Likewise.
5041 * posix/tst-getconf.sh: Likewise.
5042 * posix/wordexp-tst.sh: Likewise.
5043 * stdio-common/tst-printf.sh: Likewise.
5044 * stdio-common/tst-unbputc.sh: Likewise.
5045 * stdlib/tst-fmtmsg.sh: Likewise.
5046 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5047 * catgets/Makefile: Do not specify -e option when running
5048 testsuite shell scripts.
5049 * elf/Makefile: Likewise.
5050 * grp/Makefile: Likewise.
5051 * iconvdata/Makefile: Likewise.
5052 * intl/Makefile: Likewise.
5053 * io/Makefile: Likewise.
5054 * libio/Makefile: Likewise.
5055 * malloc/Makefile: Likewise.
5056 * posix/Makefile: Likewise.
5057 * stdio-common/Makefile: Likewise.
5058 * stdlib/Makefile: Likewise.
5059 * sysdeps/x86_64/Makefile: Likewise.
5060
9a9028b1
DL
5061 * io/ftwtest-sh: Add copyright header.
5062 * posix/globtest.sh: Likewise.
5063 * posix/tst-getconf.sh: Likewise.
5064 * posix/wordexp-tst.sh: Likewise.
5065 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5066
ced6f16e
L
50672012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5068
94b32c39
L
5069 [BZ #13679]
5070 * Makeconfig (+link): Defined as $(+link-static) if
5071 $(build-shared) isn't yes.
5072 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5073 isn't yes.
5074 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5075
189e935b
L
5076 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5077
ced6f16e
L
5078 [BZ #14562]
5079 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5080 new chunk size with MALLOC_ALIGN_MASK.
5081
a9f8e53a
JM
50822012-09-24 Joseph Myers <joseph@codesourcery.com>
5083
5084 [BZ #5044]
5085 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5086 <rounding-mode.h>.
5087 (__printf_fphex): Determine rounding using get_rounding_mode and
5088 round_away.
5089 * stdio-common/tst-printf-round.c (struct hex_test): New
5090 structure.
5091 (hex_tests): New variable.
5092 (test_hex_in_one_mode): New function.
5093 (do_test): Also run tests for hex float output.
5094
43153109
JM
50952012-09-21 Joseph Myers <joseph@codesourcery.com>
5096
5097 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5098 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5099 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5100 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5101 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5102 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5103 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5104 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5105
8a26625d
JM
51062012-09-20 Joseph Myers <joseph@codesourcery.com>
5107
5108 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5109 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5110 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5111 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5112
f3fd569c
DL
51132012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5114
5115 [BZ #14579]
5116 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5117 mode only.
5118 * elf/tst-rtld-load-self.sh: New test.
5119 * elf/Makefile: Run it.
5120
63bbedd4
JM
51212012-09-18 Joseph Myers <joseph@codesourcery.com>
5122
5123 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5124 (tst-writev-ENV): Remove.
5125 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5126
626f8b6a
CM
51272012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5128
5129 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5130
b7aaa4d6
JM
51312012-09-17 Joseph Myers <joseph@codesourcery.com>
5132
5133 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5134 unconditional.
5135 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5136 Likewise.
5137 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5138 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5139 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5140 Likewise.
5141
65513990
L
51422012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5143
5144 [BZ #14587]
5145 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5146 * config.make.in (have-cpp-asm-debuginfo): Removed.
5147 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5148 * configure: Regenerated.
5149
784761be
JM
51502012-09-14 Joseph Myers <joseph@codesourcery.com>
5151
5152 [BZ #5044]
5153 * stdio-common/printf_fp.c: Include <stdbool.h> and
5154 <rounding-mode.h>.
5155 (___printf_fp): Determine rounding using get_rounding_mode and
5156 round_away.
5157 * stdio-common/tst-printf-round.c: New file.
5158 * stdio-common/Makefile (tests): Add tst-printf-round.
5159 (link-libm): New variable.
5160 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5161
9503345f
L
51622012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5163
5164 [BZ #14576]
5165 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5166 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5167 Likewise.
5168 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5169 Likewise.
5170
ad35fc00
JM
51712012-09-13 Joseph Myers <joseph@codesourcery.com>
5172
5173 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5174 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5175 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5176 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5177
6c9b0f68
JM
51782012-09-12 Joseph Myers <joseph@codesourcery.com>
5179
5180 [BZ #14518]
5181 * include/rounding-mode.h: New file.
5182 * sysdeps/generic/get-rounding-mode.h: Likewise.
5183 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5184 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5185 (MAX_VALUE): New macro.
5186 (MIN_VALUE): Likewise.
5187 (overflow_value): New function.
5188 (underflow_value): Likewise.
5189 (round_and_return): Use overflow_value and underflow_value to
5190 determine return values in overflow and underflow cases. Use
5191 round_away to determine rounding depending on rounding mode.
5192 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5193 determine return values in overflow and underflow cases.
5194 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5195 (struct test_results): New structure.
5196 (struct test): Use struct test_results to store expected results
5197 for all rounding modes.
5198 (TEST): Include expected results for all rounding modes.
5199 (test_in_one_mode): New function.
5200 (do_test): Use test_in_one_mode to compute and check results.
5201 Check results for all rounding modes.
5202 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5203 $(link-libm).
5204
19fcedd5
AM
52052012-12-09 Allan McRae <allan@archlinux.org>
5206
1e9d84cd 5207 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5208
8bbfd2f1
JM
52092012-09-11 Joseph Myers <joseph@codesourcery.com>
5210
5211 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5212 (_G_int32_t): Likewise.
5213 (_G_uint16_t): Likewise.
5214 (_G_uint32_t): Likewise.
5215 (_G_HAVE_BOOL): Likewise.
5216 (_G_HAVE_ATEXIT): Likewise.
5217 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5218 (_G_HAVE_IO_FILE_OPEN): Likewise.
5219 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5220 (_G_int32_t): Likewise.
5221 (_G_uint16_t): Likewise.
5222 (_G_uint32_t): Likewise.
5223 (_G_HAVE_BOOL): Likewise.
5224 (_G_HAVE_ATEXIT): Likewise.
5225 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5226 (_G_HAVE_IO_FILE_OPEN): Likewise.
5227 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5228 (_G_int32_t): Likewise.
5229 (_G_uint16_t): Likewise.
5230 (_G_uint32_t): Likewise.
5231 (_G_HAVE_BOOL): Likewise.
5232 (_G_HAVE_ATEXIT): Likewise.
5233 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5234 (_G_HAVE_IO_FILE_OPEN): Likewise.
5235
b1dc5912
L
52362012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5237
5238 * csu/libc-tls.c: Update copyright years.
5239
0e886ef9
JM
52402012-09-10 Joseph Myers <joseph@codesourcery.com>
5241
28361c5e
JM
5242 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5243 [!_G_USING_THUNKS]: Remove conditional code.
5244 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5245 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5246
0e886ef9
JM
5247 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5248 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5249 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5250 (_G_VTABLE_LABEL_PREFIX): Likewise.
5251 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5252 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5253 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5254 (_G_VTABLE_LABEL_PREFIX): Likewise.
5255 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5256 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5257 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5258 (_G_VTABLE_LABEL_PREFIX): Likewise.
5259 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5260
bcba7aa2
L
52612012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5262
5263 * libio/Makefile: Include ../Makeconfig before tests.
5264 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5265 only if $(build-shared) is yes.
5266
06585ee8
L
5267 * iconv/gconv_db.c: Update copyright years.
5268
80ccd52c
LD
52692012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5270
5271 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5272 unwind info if defined PIC. Fix special cases description.
5273 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5274
5275 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5276 DP_HI_MASK entry.
5277 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5278
691bc9c1
L
52792012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5280
3d9b46b3
L
5281 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5282
de2139a9
L
5283 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5284 is NULL.
5285
5ca78dd0
L
5286 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5287 (LDLIBS-tst-chk4): This.
5288 (LDFLAGS-tst-chk5): Renamed to ...
5289 (LDLIBS-tst-chk5): This.
5290 (LDFLAGS-tst-chk6): Renamed to ...
5291 (LDLIBS-tst-chk6): This.
5292 (LDFLAGS-tst-lfschk4): Renamed to ...
5293 (LDLIBS-tst-lfschk4): This.
5294 (LDFLAGS-tst-lfschk5): Renamed to ...
5295 (LDLIBS-tst-lfschk5): This.
5296 (LDFLAGS-tst-lfschk6): Renamed to ...
5297 (LDLIBS-tst-lfschk6): This.
5298
691bc9c1
L
5299 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5300 on $(common-objpfx)soversions.mk.
5301
65cafb1c
JM
53022012-09-07 Joseph Myers <joseph@codesourcery.com>
5303
5304 [BZ #10014]
5305 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5306 example host name.
5307
c78ab094
SP
53082012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5309
5310 * malloc/arena.c (arena_get_retry): New function that gets
5311 another arena for the caller to try its request on.
5312 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5313 current arena cannot fulfill the request.
5314 (__libc_memalign): Likewise.
5315 (__libc_memalign): Likewise.
5316 (__libc_pvalloc): Likewise.
5317 (__libc_calloc): Likewise.
5318
01f49f59
JT
53192012-09-05 John Tobey <john.tobey@gmail.com>
5320
5321 [BZ #13542]
5322 * manual/arith.texi (Operations on Complex): Fix description
5323 of carg branch cut.
5324
4c23fed5
JM
53252012-09-06 Joseph Myers <joseph@codesourcery.com>
5326
1d3c8572
JM
5327 [BZ #10014]
5328 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5329 host name.
5330
4c23fed5
JM
5331 [BZ #10038]
5332 * manual/memory.texi (Memory): Make order of menu items match
5333 order of sections.
5334
04570aaa
L
53352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5336
5337 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5338 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5339 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5340
b80af2f4
L
53412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5342
5343 * csu/libc-tls.c (static_dtv): Renamed to ...
5344 (_dl_static_dtv): This. Make it global.
5345 (_dl_initial_dtv): Removed.
5346 (__libc_setup_tls): Updated.
5347 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5348 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5349 DL_INITIAL_DTV.
5350
2abe9f15
PM
53512012-09-06 Petr Machata <pmachata@redhat.com>
5352
5353 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5354 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5355 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5356 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5357
0948c3af
L
53582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5359
5360 [BZ #14545]
5361 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5362 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5363 freeing dtv[-1].
5364
a5055ad1
L
53652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5366
5367 [BZ #14544]
5368 * Makeconfig (link-static-before-libc): Replace $(+prector)
5369 with $(+prectorT).
5370 (link-static-after-libc): Replace $(+postctor) with
5371 $(+postctorT).
5372 (link-bounded): Replace $(+prector)/$(+postctor) with
5373 $(+prectorT)/$(+postctorT).
5374 (+prectorT): New macro.
5375 (+postctorT): Likewise.
5376
ed8c2ecd
JM
53772012-09-06 Joseph Myers <joseph@codesourcery.com>
5378
5379 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5380 (round_str): Handle values above the maximum for IBM long double
5381 as inexact.
5382 * stdlib/tst-strtod-round.c (tests): Regenerated.
5383
14c996c8
AK
53842012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5385
5386 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5387 assembler flag.
5388 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5389 zarch_nohighgprs around the zarch optimized routines.
5390 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5391 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5392 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5393 for zarch.
5394
430d6ce6
DM
53952012-09-05 David S. Miller <davem@davemloft.net>
5396
5397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5398
ff04dda4
DM
5399 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5400 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5401 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5402 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5403 entries.
5404
24d4e01b
AO
54052012-09-05 Alexandre Oliva <aoliva@redhat.com>
5406
5407 * malloc/arena.c: Fold copyright years.
5408 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5409
61d58174
AO
54102012-09-05 Alexandre Oliva <aoliva@redhat.com>
5411
5412 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5413
20196a5e
AO
54142012-09-05 Alexandre Oliva <aoliva@redhat.com>
5415
5416 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5417
5c447383
AO
54182012-09-05 Alexandre Oliva <aoliva@redhat.com>
5419
5420 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5421 change internal state upon failure.
5422
fad64255
AO
54232012-09-05 Alexandre Oliva <aoliva@redhat.com>
5424
5425 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5426 * malloc/memusage.c (mmap): Likewise.
5427 (mmap64, mremap): Likewise. Adjust name in comment.
5428
1ffb8c90
SP
54292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5430
5431 * libio/fileops.c: Fix typos in comments.
5432 * libio/oldfileops.c: Likewise.
5433 * libio/wfileops.c: Likewise.
5434
6ef9cc37
SP
54352012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5436
5437 [BZ #1349]
5438 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5439 (tst-malloc-usable-ENV): Set environment for test case.
5440 * malloc/hooks.c (malloc_check_get_size): New function to get
5441 requested size.
5442 * malloc/malloc.c (musable): Use malloc_check_get_size.
5443 * malloc/tst-malloc-usable.c: New test case.
5444
4d038ae3
AS
54452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5446
5447 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5448
c4e85184
AM
54492012-09-05 Allan McRae <allan@archlinux.org>
5450
b9dafc56 5451 [BZ #13966]
c4e85184
AM
5452 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5453 determine header location.
5454 * configure: Regenerated.
5455
e1343020
AS
54562012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5457
5458 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5459 float format.
5460 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5461 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5462 format.
e1343020
AS
5463 (test): Regenerate.
5464
0a9f1987
DM
54652012-09-04 David S. Miller <davem@davemloft.net>
5466
5467 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5468 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5469 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5470
29237804
FW
54712012-09-04 Florian Weimer <fweimer@redhat.com>
5472
5473 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5474 failures.
5475
edb3cb88
FW
5476 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5477
60160d83
JM
54782012-09-04 Joseph Myers <joseph@codesourcery.com>
5479
5480 [BZ #9914]
5481 * libio/iogetdelim.c: Include <limits.h>.
5482 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5483 + len + 1 would overflow.
5484
bcd6c8dc
AJ
54852012-09-03 Andreas Jaeger <aj@suse.de>
5486
5487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5488 * sysdeps/i386/fpu/libm-test-ulps: Update.
5489
4ffffbd2
LD
54902012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5491
5492 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5493 Add s_sinf-sse2, s_conf-sse2.
5494
5495 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5496 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5497 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5498 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5499
5500 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5501 for using routine as __sinf_ia32.
5502 Use macro for function declaration and weak_alias.
5503 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5504 for using routine as __cosf_ia32.
5505 Use macro for function declaration and weak_alias.
5506
5507 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5508 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5509
5510 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5511 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5513
5514 * math/libm-test.inc (cos_test): Add more test cases.
5515 (sin_test): Likewise.
5516 (sincos_test): Likewise.
5517
511fa286
AK
55182012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5519
5520 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5521 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5522 hidden.
5523 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5524
5f30cfec
L
55252012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5526
5527 [BZ #14538]
5528 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5529 first element of the GOT.
5530 (elf_machine_load_address): Return the difference between
5531 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5532
0786794f
AM
55332012-09-01 Allan McRae <allan@archlinux.org>
5534
5f30cfec
L
5535 [BZ #13412]
5536 * configure.in (AWK): Require gawk version 3.0 or later.
5537 * configure: Regenerated.
0786794f 5538
26889eac
JM
55392012-09-01 Joseph Myers <joseph@codesourcery.com>
5540
5541 * sysdeps/unix/sysv/linux/kernel-features.h
5542 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5543 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5544 [__NR_clock_getres]: Make code unconditional.
5545 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5546 (clock_getcpuclockid): Remove code left unreachable by removal of
5547 conditionals.
5548 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5549 code unconditional.
5550 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5551 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5552 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5553 Make code unconditional.
5554 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5555 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5556 * sysdeps/unix/sysv/linux/clock_settime.c
5557 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5558 conditional code.
5559 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5560 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5561
d22e28b0
L
55622012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5563
5564 [BZ #14476]
5565 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5566 scripts/test-installation.pl.
5567
5568 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5569 and $ld_so_version if it is set.
5570
050af9c4
SP
55712012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5572
5573 [BZ #14516]
5574 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5575 failure if reading from procfs failed.
5576 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5577
ad845c0b
JM
55782012-08-27 Joseph Myers <joseph@codesourcery.com>
5579
5580 * sysdeps/unix/sysv/linux/kernel-features.h
5581 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5582 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5583 Remove conditional code.
5584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5585 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5586 Remove conditional code.
5587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5588 * sysdeps/unix/sysv/linux/i386/fxstat.c
5589 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5591 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5592 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5594 * sysdeps/unix/sysv/linux/i386/lxstat.c
5595 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5597 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5598 Remove conditional code.
5599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5600 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5601 Remove conditional code.
5602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5603 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5604 <kernel-features.h>.
5605 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5606 Remove.
5607 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5608 Remove conditional code.
5609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5610 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5611 Remove conditional.
5612
5dbf56af
MF
56132012-08-27 Mike Frysinger <vapier@gentoo.org>
5614
5615 [BZ #5400]
5616 * NEWS: Add fixed bug number.
5617
d6e70f43
JM
56182012-08-27 Joseph Myers <joseph@codesourcery.com>
5619
7efb4737
JM
5620 [BZ #14519]
5621 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5622 underflowing exponent in case of negative sign.
5623 * stdlib/tst-strtod-round-data: Add more tests.
5624 * stdlib/tst-strtod-round.c (tests): Regenerated.
5625
af92131a
JM
5626 [BZ #3479]
5627 * stdlib/strtod_l.c (NDIG): Remove.
5628 (HEXNDIG): Likewise.
5629 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5630 smallest representable value.
5631 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5632 lie within an exact representation of 1/2 ulp of the result.
5633 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5634 unconditionally.
5635 (TENS_P9_IDX): Define unconditionally.
5636 (TENS_P9_SIZE): Likewise.
5637 (TENS_P10_IDX): Likewise.
5638 (TENS_P10_SIZE): Likewise.
5639 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5640 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5641 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5642 entries for 10^2^13 and 10^2^14.
5643 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5644 (TENS_P13_IDX): Define.
5645 (TENS_P13_SIZE): Likewise.
5646 (TENS_P14_IDX): Likewise.
5647 (TENS_P14_SIZE): Likewise.
5648 (_fpioconst_pow10): Change array size to
5649 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5650 unconditional.
5651 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5652 1024]: Add entries for 10^2^13 and 10^2^14.
5653 [LAST_POW10 > _LAST_POW10]: Remove #error.
5654 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5655 (_fpioconst_pow10): Change array size to
5656 FPIOCONST_POW10_ARRAY_SIZE.
5657 * stdlib/gen-fpioconst.c: New file.
5658 * stdlib/gen-tst-strtod-round.c: Likewise.
5659 * stdlib/tst-strtod-round-data: Likewise.
5660 * stdlib/tst-strtod-round.c: Likewise.
5661 * stdlib/Makefile (tests): Add tst-strtod-round.
5662
d6e70f43
JM
5663 [BZ #14459]
5664 * stdlib/strtod_l.c: Include <stdint.h>.
5665 (NDEBUG): Do not define.
5666 (round_and_return): Change EXPONENT parameter to type intmax_t.
5667 Rearrange calculations to avoid internal overflow possibilities.
5668 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5669 Rearrange calculations to avoid internal overflow possibilities.
5670 Assert that number fits inside MPNSIZE limbs.
5671 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5672 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5673 calculations and add assertions to avoid internal overflow
5674 possibilities. Add casts to avoid signed/unsigned operations.
5675 * stdlib/tst-strtod-overflow.c: New file.
5676 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5677
1f529f7d
MP
56782012-08-25 Marek Polacek <polacek@redhat.com>
5679
5680 * time/time.h: Fix some typos in comments.
5681
59a629f1
RM
56822012-08-23 Roland McGrath <roland@hack.frob.com>
5683
5684 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5685 * posix/tst-rfc3484-2.c: Likewise.
5686 * posix/tst-rfc3484-3.c: Likewise.
5687
d3bafbc9
SM
56882012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5689
5690 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5691 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5692
4efcc022
JM
56932012-08-23 Joseph Myers <joseph@codesourcery.com>
5694
5695 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5696 #include of fxstatat64.c.
5697
3cc3ef96
RM
56982012-08-22 Roland McGrath <roland@hack.frob.com>
5699
f04e2132
RM
5700 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5701 * shadow/getspent_r.c: Likewise.
5702 * shadow/getspnam.c: Likewise.
5703 * shadow/getspnam_r.c: Likewise.
5704 * gshadow/getsgent.c: Likewise.
5705 * gshadow/getsgent_r.c: Likewise.
5706 * gshadow/getsgnam.c: Likewise.
5707 * gshadow/getsgnam_r.c: Likewise.
5708 * inet/getnetbyad.c: Likewise.
5709 * inet/getnetbyad_r.c: Likewise.
5710 * inet/getnetbynm.c: Likewise.
5711 * inet/getnetbynm_r.c: Likewise.
5712 * inet/getnetent.c: Likewise.
5713 * inet/getnetent_r.c: Likewise.
5714 * inet/getproto.c: Likewise.
5715 * inet/getproto_r.c: Likewise.
5716 * inet/getprtent.c: Likewise.
5717 * inet/getprtent_r.c: Likewise.
5718 * inet/getprtname.c: Likewise.
5719 * inet/getprtname_r.c: Likewise.
5720 * inet/getrpcbyname.c: Likewise.
5721 * inet/getrpcbyname_r.c: Likewise.
5722 * inet/getrpcbynumber.c: Likewise.
5723 * inet/getrpcbynumber_r.c: Likewise.
5724 * inet/getrpcent.c: Likewise.
5725 * inet/getrpcent_r.c: Likewise.
5726 * inet/getaliasent.c: Likewise.
5727 * inet/getaliasent_r.c: Likewise.
5728 * inet/getaliasname.c: Likewise.
5729 * inet/getaliasname_r.c: Likewise.
5730 * nscd/getgrgid_r.c: Likewise.
5731 * nscd/getgrnam_r.c: Likewise.
5732 * nscd/gethstbyad_r.c: Likewise.
5733 * nscd/gethstbynm3_r.c: Likewise.
5734 * nscd/getpwnam_r.c: Likewise.
5735 * nscd/getpwuid_r.c: Likewise.
5736 * nscd/getsrvbynm_r.c: Likewise.
5737 * nscd/getsrvbypt_r.c: Likewise.
5738 * nscd/gai.c: Likewise.
5739
c53d909c
RM
5740 * configure.in (build_nscd): New substituted variable, set
5741 by --disable-build-nscd and defaults to $use_nscd.
5742 * configure: Regenerated.
5743 * config.make.in (build-nscd): New substituted variable.
5744 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5745 Change conditional to require [$(build-nscd) = yes] as well.
5746 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5747
3cc3ef96
RM
5748 [BZ# 13696]
5749 * configure.in (use_nscd): New substituted variable, set by
5750 --disable-nscd. If enabled, define USE_NSCD.
5751 * configure: Regenerated.
5752 * config.h.in: Add USE_NSCD.
5753 * config.make.in (use-nscd): New substituted variable.
5754 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5755 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5756 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5757 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5758 (CFLAGS-getgrnam_r.c): Likewise.
5759 (CFLAGS-initgroups.c): Likewise.
5760 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5761 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5762 Variables removed.
5763 * inet/getnetgrent_r.c
5764 (nscd_setnetgrent): New function, broken out of ...
5765 (setnetgrent): ... here. Call it.
5766 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5767 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5768 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5769 * nscd/Makefile (routines, aux): Move definitions after include of
5770 Makeconfig. Conditionalize on [$(use-nscd) != no].
5771 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5772 Conditionalize on [USE_NSCD].
5773 (is_nscd, nscd_init_cb): Likewise.
5774 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5775 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5776 * nss/nss_db/db-init.c: Likewise.
5777 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5778 [USE_NSCD].
5779 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5780 (make_request): Use it.
5781 (cache_valid_p): New function.
5782 (__check_pf): Use it.
5783 * NEWS: Add item for --disable-nscd.
5784
07e51550
DL
57852012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5786
5787 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5788 to support sed >= 4.2.1-20-ga9bf076.
5789 * configure: Regenerated.
5790
35a5b08b
RM
57912012-08-22 Roland McGrath <roland@hack.frob.com>
5792
5793 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5794 Conditionalize whole body on [IREL].
5795
8479f23a
JL
57962012-08-22 Jeff Law <law@redhat.com>
5797
5798 [BZ #14505]
5799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5800 if the family is PF_UNSPEC.
5801
48da0b21
MF
58022012-08-22 Mike Frysinger <vapier@gentoo.org>
5803
5804 * Makerules (lib-version): Rename from V.
5805 (install-lib-nosubdir): Change V to lib-version.
5806
15d0da8c
WS
58072012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5808
5809 [BZ #14252]
5810 * powerpc32/power6/wcschr.c: New file.
5811 * powerpc32/power6/wcscpy.c: New file.
5812 * powerpc32/power6/wcsrchr.c: New file.
5813 * powerpc64/power6/wcschr.c: New file.
5814 * powerpc64/power6/wcscpy.c: New file.
5815 * powerpc64/power6/wcsrchr.c: New file.
5816
bcca0895
MK
58172012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5818
5819 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5820 (two_way_short_needle): Use it.
5a4aaa33
RM
5821 * string/strstr.c (AVAILABLE1_USES_J): Define.
5822 * string/strcasestr.c: Likewise.
99677e57
MK
5823
5824 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5825 array references.
5826 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5827
400726de
MK
5828 [BZ #11607]
5829 * NEWS: Add an entry.
5830 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5831 define their defaults.
5832 (two_way_short_needle): Detect end-of-string on-the-fly.
5833 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5834 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5835 * string/bug-strcasestr1.c: New test.
5836 * string/Makefile: Run it.
5837
20a71f2c
MK
58382012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5839
5840 [BZ #11607]
5841 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5842 the first character.
5843
21ad0558
RM
58442012-08-21 Roland McGrath <roland@hack.frob.com>
5845
5846 * csu/elf-init.c (__libc_csu_irel): Function removed.
5847 * csu/libc-start.c (apply_irel): New function.
5848 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5849
0e1d9911
JM
58502012-08-21 Joseph Myers <joseph@codesourcery.com>
5851
5852 * sysdeps/unix/sysv/linux/kernel-features.h
5853 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5854 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5855 <kernel-features.h>.
5856 [__NR_fadvise64_64]: Make code unconditional.
5857 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5858 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5859 !__NR_fadvise64_64)]: Likewise.
5860 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5861 !__NR_fadvise64_64))]: Likewise.
5862 [__NR_fadvise64]: Make code unconditional.
5863 [!__NR_fadvise64]: Remove conditional code.
5864 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5865 <kernel-features.h>.
5866 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5867 unconditional.
5868 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5869 conditional code.
5870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5871 not include <kernel-features.h>.
5872 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5873 unconditional.
5874 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5875 conditional code.
5876 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5877 include <kernel-features.h>.
5878 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5879 unconditional.
5880 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5881 conditional code.
5882
14a50c9d
WS
58832012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5884
5885 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5886 slight instruction rearrangements per scrollpipe analysis.
5887 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5888
c0f4faf0
RM
58892012-08-20 Roland McGrath <roland@hack.frob.com>
5890
696da859
RM
5891 * manual/syslog.texi (syslog; vsyslog, closelog):
5892 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5893 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5894
c0f4faf0
RM
5895 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5896 DSOCAPS to match condition on defining it.
5897
348363b2
JM
58982012-08-20 Joseph Myers <joseph@codesourcery.com>
5899
a35cbf28
JM
5900 * sysdeps/unix/sysv/linux/kernel-features.h
5901 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5903 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5904 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5906 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5907 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5909 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5910 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5911
445f7ecd
JM
5912 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5913 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5914
348363b2
JM
5915 * sysdeps/unix/sysv/linux/kernel-features.h
5916 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5917 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5918 unconditional.
5919 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5920 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5921 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5922 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5923 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5924 Make code unconditional.
5925 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5926 (__mmap64) [!__NR_mmap2]: Likewise.
5927 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5928 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5929 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5930 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5931 [__NR_mmap2]: Make code unconditional.
5932 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5933 (__mmap64) [!__NR_mmap2]: Likewise.
5934
bc5bc0e5
AK
59352012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5936
5937 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5938
88d506de
AJ
59392012-08-18 Andreas Jaeger <aj@suse.de>
5940
5941 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5942
493387d2
MF
59432012-08-18 Mike Frysinger <vapier@gentoo.org>
5944
5945 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5946 * include/unistd.h (__have_sock_cloexec): Likewise.
5947 (__have_pipe2): Likewise.
5948 (__have_dup3): Likewise.
5949
a277af22
MF
59502012-08-18 Mike Frysinger <vapier@gentoo.org>
5951
5952 [BZ #9685]
5953 * include/unistd.h (__have_pipe2): Change define into an extern int.
5954 (__have_dup3): Likewise.
5955 * socket/have_sock_cloexec.c: Include fcntl.h.
5956 (__have_pipe2): New variable.
5957 (__have_dup3): Likewise.
5958
fdab8fd3
MF
59592012-08-17 Mike Frysinger <vapier@gentoo.org>
5960
5961 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5962
31035e80
MP
59632012-08-17 Marek Polacek <polacek@redhat.com>
5964
5965 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5966 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5967
3bd9e993
RM
59682012-08-17 Roland McGrath <roland@hack.frob.com>
5969
c91c505f
RM
5970 * configure.in: Add AC_SUBST for sysheaders.
5971 * configure: Regenerated.
5972 * config.make.in (sysheaders): New substituted variable.
5973
7c6f9d53
RM
5974 * sysdeps/unix/mkfifo.c: Moved ...
5975 * sysdeps/posix/mkfifo.c: ... here.
5976 * sysdeps/unix/mkfifoat.c: Moved ...
5977 * sysdeps/posix/mkfifoat.c: ... here.
5978
5979 * sysdeps/unix/utime.c: Moved ...
5980 * sysdeps/posix/utime.c: ... here.
5981
5982 * sysdeps/unix/time.c: Moved ...
5983 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
5984 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5985 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
5986
5987 * sysdeps/unix/nice.c: Moved ...
5988 * sysdeps/posix/nice.c: ... here.
5989
5990 * sysdeps/unix/alarm.c: Moved ...
5991 * sysdeps/posix/alarm.c: ... here.
5992
3bd9e993
RM
5993 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5994
d1f09384
JL
59952012-08-17 Jeff Law <law@redhat.com>
5996
5997 * intl/Makefile (codeset_mo): New variable.
5998 ($(codeset_mo)): New target.
5999 (tst-codeset.out): Depend on that. Remove explicit rule.
6000 (tst-gettext3.out, tst-gettext5.out): Likewise.
6001 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6002 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6003 * intl/tst-codeset.sh: Remove.
6004 * intl/tst-gettext3.sh: Likewise.
6005 * intl/tst-gettext5.sh: Likewise.
6006
2ae1ae5c
RM
60072012-08-17 Roland McGrath <roland@hack.frob.com>
6008
c31fdb83
RM
6009 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6010 * sysdeps/unix/syscalls.list: ... here.
6011
a0844057
RM
6012 * sysdeps/posix/getaddrinfo.c
6013 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6014 (gaiconf_init, gaiconf_reload): Use them.
6015 [!_STATBUF_ST_NSEC]
6016 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6017 Define using time_t rather than struct timespec.
6018
750c1f2a
RM
6019 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6020 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6021 Macros removed.
6022 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6023 [!NO_THREADS].
6024 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6025 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6026 Likewise.
6027
2ae1ae5c
RM
6028 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6029 __libc_cleanup_push argument.
6030
e66a42f5
RM
6031 * bits/param.h: New file.
6032 * misc/sys/param.h: New file.
6033 * include/sys/param.h: New file.
6034 * misc/Makefile (headers): Add bits/param.h.
6035 * sysdeps/generic/sys/param.h: File removed.
6036 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6037 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6038 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6039 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6040
b7c08a66
RM
6041 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6042 last change.
6043
b2e1c562
RM
6044 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6045 [_IO_MTSAFE_IO].
6046 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6047 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6048 New macros.
6049
c75ccd4c
RM
6050 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6051 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6052 rather than -D_IO_MTSAFE_IO conditionally.
6053 * stdio-common/Makefile (CPPFLAGS): Likewise.
6054 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6055 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6056 Use $(libio-mtsafe).
6057 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6058 of -D_IO_MTSAFE_IO.
6059 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6060 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6061 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6062 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6063 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6064 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6065 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6066 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6067 (CFLAGS-fread_u_chk.c): Likewise.
6068 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6069 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6070 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6071 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6072 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6073 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6074 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6075 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6076 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6077
6078 * libio/Makefile: Test [$(libc-reentrant) = yes]
6079 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6080
6081 * Makeconfig
6082 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6083 * sysdeps/pthread/configure: File removed.
6084 * sysdeps/pthread/Makeconfig: New file.
6085 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6086 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6087
d9195db8
GB
60882012-08-16 Gary Benson <gbenson@redhat.com>
6089
6090 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6091 unmapping the first object in a namespace.
6092
86466cd9
RM
60932012-08-16 Roland McGrath <roland@hack.frob.com>
6094
6095 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6096 (__internal_setnetgrent): ... this. Add internal_function to
6097 definition. Add libc_hidden_def.
6098 (setnetgrent): Update caller.
6099 (internal_endnetgrent): Renamed to ...
6100 (__internal_endnetgrent): ... this. Add internal_function to
6101 definition. Add libc_hidden_def.
6102 (endnetgrent): Update caller.
6103 (internal_getnetgrent_r): Renamed to ...
6104 (__internal_getnetgrent_r): ... this. Add internal_function to
6105 definition. Add libc_hidden_def.
6106 (__getnetgrent_r): Update caller.
6107 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6108
c3c8283c
JM
61092012-08-16 Joseph Myers <joseph@codesourcery.com>
6110
6111 * stdlib/longlong.h: Update from GCC.
6112
db1ee0a8
RM
61132012-08-16 Roland McGrath <roland@hack.frob.com>
6114
6115 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6116 on _QL, which is set by umul_ppmm but never used.
6117 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6118 variables, which are set by GMP macros but never used.
6119 * stdio-common/_itowa.c (_itowa): Likewise.
6120 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6121 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6122
30f69637
CD
61232012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6124
6125 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6126 struct La_sh_regs is not constant.
6127 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6128 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6129 and struct La_sparc64_regs are not constant.
6130
93a78ac4
JM
61312012-08-16 Joseph Myers <joseph@codesourcery.com>
6132
6133 * sysdeps/unix/sysv/linux/kernel-features.h
6134 (__ASSUME_POSIX_TIMERS): Remove.
6135 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6137 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6138 Make code unconditional.
6139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6140 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6141 Make code unconditional.
6142 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6143 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6144 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6145 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6146 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6147 Make code unconditional.
6148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6149 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6150 (__libc_missing_posix_timers): Remove.
6151
dd924cd7
RM
61522012-08-15 Roland McGrath <roland@hack.frob.com>
6153
4b4f2771
RM
6154 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6155 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6156
601c888b
RM
6157 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6158
176790a7
RM
6159 * elf/dl-sym.c: Include <stdlib.h>.
6160
329bc018
RM
6161 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6162 constants, which avoids warnings in 32-bit builds.
6163
e04e272d
RM
6164 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6165 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6166
952bf94a
RM
6167 * misc/lseek.c: File moved to ...
6168 * io/lseek.c: ... here.
6169
7c99b50a
RM
6170 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6171
dd924cd7
RM
6172 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6173 shifting LEN more than 31 bits at once.
6174
b3f479a8
LD
61752012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6176
6177 [BZ #14195]
8c4ae0d4
RM
6178 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6179 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6180 * string/test-strncasecmp.c (check1): Renamed to...
6181 (bz12205): ...this.
6182 (bz14195): Add new testcase for two empty input strings and N > 0.
6183 (test_main): Call new testcase, adapt for renamed function.
6184
9c55864e
AJ
61852012-08-15 Andreas Jaeger <aj@suse.de>
6186
6187 [BZ #14090]
6188 * crypt/md5test2.c: New test, based on test supplied by Serge
6189 Belyshev <belyshev@depni.sinp.msu.ru>.
6190 * crypt/Makefile (xtests): Add md5test-giant..
6191 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6192
02dcb6c5
PE
61932012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6194
6195 [BZ #14090]
6196 * crypt/md5.c (md5_process_block): Don't assume the buffer
6197 length is less than 2**32.
6198 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6199 length is less than 2**64.
6200
a3f95dcc
RM
62012012-08-15 Roland McGrath <roland@hack.frob.com>
6202
be75d758
RM
6203 * string/str-two-way.h: Include <sys/param.h>.
6204 (MAX): Macro removed.
6205
7312ca90
RM
6206 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6207 Move #define and #undef of memmove to just before and after
6208 including <string.h>.
6209
9a0a5486
RM
6210 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6211 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6212 and after including <string.h>. Move declarations of
6213 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6214 to before #include "string/memmove.c".
6215
67cc348d
RM
6216 * include/dirent.h: Declare __getdirentries.
6217
a3f95dcc
RM
6218 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6219 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6220
ca98e171
MF
62212012-08-14 Mike Frysinger <vapier@gentoo.org>
6222
6223 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6224 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6225 * sysdeps/i386/configure: Regenerated.
6226 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6227 STABS_CURRENT_FILE, and STABS_FUN.
6228 (END): Remove call to STABS_FUN_END.
6229 (STABS_CURRENT_FILE1): Delete.
6230 (STABS_CURRENT_FILE): Likewise.
6231 (STABS_FUN): Likewise.
6232 (STABS_FUN_END): Likewise.
6233 (STABS_FUN2): Likewise.
6234 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6235 * sysdeps/x86_64/configure: Regenerated.
6236
5908bf46
RM
62372012-08-14 Roland McGrath <roland@hack.frob.com>
6238
6239 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6240 * elf/dl-lookup.c: Likewise.
5908bf46 6241
f2c05b9e
JM
62422012-08-14 Joseph Myers <joseph@codesourcery.com>
6243
6244 * sysdeps/unix/sysv/linux/kernel-features.h
6245 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6246 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6247 unconditionally.
6248 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6249 unconditionally.
6250 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6251 condition on __ASSUME_CLONE_THREAD_FLAGS.
6252
e11f5155
AJ
62532012-08-14 Andreas Jaeger <aj@suse.de>
6254
6255 * sysdeps/i386/fpu/libm-test-ulps: Update.
6256
51a9ba86
MK
62572012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6258
2fdd4f78
AJ
6259 * include/atomic.h (atomic_exchange_and_add): Split into ...
6260 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6261 New atomic macros.
51a9ba86 6262
ba6cba9e
MT
62632012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6264
6265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6266
42443a47
JL
62672012-08-13 Jeff Law <law@redhat.com>
6268
6269 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6270 null byte in the output string.
6271
121dce05
JM
62722012-08-10 Joseph Myers <joseph@codesourcery.com>
6273
6274 * sysdeps/unix/sysv/linux/kernel-features.h
6275 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6276 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6277 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6278 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6279 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6280 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6281 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6282
bf51f568
JL
62832012-08-09 Jeff Law <law@redhat.com>
6284
6285 [BZ #13939]
6286 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6287 When avoid_arena is set, don't retry in the that arena. Pick the
6288 next one, whatever it might be.
6289 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6290 (arena_lock): Pass in new parameter to arena_get2.
6291 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6292 arena_get2.
6293 (__libc_malloc): Unify retrying after main arena failure with
6294 __libc_memalign version.
6295 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6296
f85fa270
L
62972012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6298
6299 [BZ #14166]
6300 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6301 to __redirect_strstr.
6302 (__strstr_sse42): Use typeof __redirect_strstr.
6303 (__strstr_ia32): Likewise.
6304 (__libc_strstr): New prototype.
6305 (strstr): Renamed to ...
6306 (__libc_strstr): This.
6307 (strstr): New strong alias of __libc_strstr.
6308 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6309 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6310 __redirect_time.
6311 Include <time.h>.
6312 (__libc_time): New prototype.
6313 (time_ifunc): Replace time with __libc_time.
6314 (time): New strong alias and hidden definition of __libc_time.
6315 (__GI_time): Remove strong alias.
6316 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6317 Include <stddef.h>.
6318 (memmove): Redefined to __redirect_memmove.
6319 (__memmove_sse2): Use typeof __redirect_memmove.
6320 (__memmove_ssse3): Likewise.
6321 (__memmove_ssse3_back): Likewise.
6322 (__libc_memmove): New prototype.
6323 (memmove): Renamed to ...
6324 (__libc_memmove): This.
6325 (memmove): New strong alias of __libc_memmove.
6326
33b4a91e
MS
63272012-08-08 Mark Salter <msalter@redhat.com>
6328
6329 * elf/elf.h
6330 (R_MN10300_TLS_GD): Define.
6331 (R_MN10300_TLS_LD): Likewise.
6332 (R_MN10300_TLS_LDO): Likewise.
6333 (R_MN10300_TLS_GOTIE): Likewise.
6334 (R_MN10300_TLS_IE): Likewise.
6335 (R_MN10300_TLS_LE): Likewise.
6336 (R_MN10300_TLS_DTPMOD): Likewise.
6337 (R_MN10300_TLS_DTPOFF): Likewise.
6338 (R_MN10300_TLS_TPOFF): Likewise.
6339 (R_MN10300_SYM_DIFF): Likewise.
6340 (R_MN10300_ALIGN): Likewise.
6341 (R_MN10300_NUM): Update.
6342
b36137f1
JM
63432012-08-08 Joseph Myers <joseph@codesourcery.com>
6344
6345 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6346 Remove.
6347
cdd915fd
RM
63482012-08-08 Roland McGrath <roland@hack.frob.com>
6349
a2433aac
RM
6350 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6351
cdd915fd
RM
6352 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6353 sysdeps/unix -> sysdeps/posix move.
6354 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6355
bf9b740a
AM
63562012-08-07 Allan McRae <allan@archlinux.org>
6357
6358 [BZ #14303]
6359 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6360 (SUNOS_CPP): Likewise.
6361 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6362 not found.
6363 (open_input): Call CPP using execvp.
6364
93df14ee
JM
63652012-08-07 Joseph Myers <joseph@codesourcery.com>
6366
6367 * sysdeps/unix/sysv/linux/kernel-features.h
6368 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6369 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6370 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6371 (__ASSUME_WAITID_SYSCALL): Likewise.
6372 * sysdeps/unix/sysv/linux/dl-execstack.c
6373 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6374 code unconditional.
6375 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6376 conditional code.
6377 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6378 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6379 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6380 code.
6381 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6382 unconditional.
6383 [__ASSUME_WAITID_SYSCALL]: Likewise.
6384 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6385
d34689de
RM
63862012-08-07 Roland McGrath <roland@hack.frob.com>
6387
a281decc
RM
6388 * sysdeps/unix/closedir.c: Renamed to ...
6389 * sysdeps/posix/closedir.c: ... here.
6390 * sysdeps/unix/dirfd.c: Renamed to ...
6391 * sysdeps/posix/dirfd.c: ... here.
6392 * sysdeps/unix/dirstream.h: Renamed to ...
6393 * sysdeps/posix/dirstream.h: ... here.
6394 * sysdeps/unix/fdopendir.c: Renamed to ...
6395 * sysdeps/posix/fdopendir.c: ... here.
6396 * sysdeps/unix/opendir.c: Renamed to ...
6397 * sysdeps/posix/opendir.c: ... here.
6398 * sysdeps/unix/readdir.c: Renamed to ...
6399 * sysdeps/posix/readdir.c: ... here.
6400 * sysdeps/unix/readdir_r.c: Renamed to ...
6401 * sysdeps/posix/readdir_r.c: ... here.
6402 * sysdeps/unix/rewinddir.c: Renamed to ...
6403 * sysdeps/posix/rewinddir.c: ... here.
6404 * sysdeps/unix/seekdir.c: Renamed to ...
6405 * sysdeps/posix/seekdir.c: ... here.
6406 * sysdeps/unix/telldir.c: Renamed to ...
6407 * sysdeps/posix/telldir.c: ... here.
6408 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6409 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6410 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6411 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6412
22895b47
RM
6413 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6414 * bits/fcntl.h: ... here.
6415
707a53b6
RM
6416 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6417 not 0.
6418 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6419 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6420 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6421 (struct flock): Move l_start, l_len to the beginning.
6422 Use __pid_t for l_pid.
6423 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6424 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6425 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6426 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6427 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6428 [__USE_LARGEFILE64] (struct flock64): New type.
6429 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6430
f0bd3e25
RM
6431 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6432 * bits/dirent.h: ... here.
6433
d34689de
RM
6434 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6435 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6436
6dad2c06
JM
64372012-08-07 Joseph Myers <joseph@codesourcery.com>
6438
6439 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6440 Change from 2.6.0 to 2.6.16.
6441 * sysdeps/unix/sysv/linux/configure: Regenerated.
6442 * sysdeps/unix/sysv/linux/kernel-features.h
6443 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6444 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6445 version.
6446 (__ASSUME_UTIMES): Likewise.
6447 (__ASSUME_CLONE_STOPPED): Remove.
6448 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6449 architectures, not kernel version.
6450 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6451 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6452 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6453 (__ASSUME_WAITID_SYSCALL): Likewise.
6454 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6455 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6456 * README: State 2.6.16 as minimum Linux kernel version. Do not
6457 refer to older versions.
6458
03af9520
RM
64592012-08-06 Roland McGrath <roland@hack.frob.com>
6460
8e49df1d
RM
6461 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6462 Define alphasort64 as an alias.
6463 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6464 Define versionsort64 as an alias.
6465 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6466 Define scandir64 as an alias.
6467 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6468 Define scandirat64 as an alias.
6469 * dirent/alphasort64.c (alphasort64):
6470 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6471 * dirent/versionsort64.c: Likewise.
6472 * dirent/scandir64.c: Likewise.
6473 * dirent/scandirat64.c: Likewise.
6474 * sysdeps/wordsize-64/alphasort.c: File removed.
6475 * sysdeps/wordsize-64/alphasort64.c: File removed.
6476 * sysdeps/wordsize-64/scandir.c: File removed.
6477 * sysdeps/wordsize-64/scandir64.c: File removed.
6478 * sysdeps/wordsize-64/scandirat.c: File removed.
6479 * sysdeps/wordsize-64/scandirat64.c: File removed.
6480 * sysdeps/wordsize-64/versionsort.c: File removed.
6481 * sysdeps/wordsize-64/versionsort64.c: File removed.
6482 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6483 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6484 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6485 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6486 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6487 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6488 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6489 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6490
6491 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6493 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6495 [defined __arch64__ || defined __sparcv9]
6496 (__INO_T_MATCHES_INO64_T): New macro.
6497 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6498 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6499 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6500 * sysdeps/unix/sysv/linux/bits/dirent.h
6501 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6502 (_DIRENT_MATCHES_DIRENT64): New macro.
6503
03af9520
RM
6504 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6505 Define lockf64 as an alias.
6506 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6507 Define fseeko64 as an alias.
6508 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6509 Define ftello64 as an alias.
6510 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6511 Define _IO_fgetpos64 and fgetpos64 as aliases.
6512 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6513 Define _IO_fsetpos64 and fsetpos64 as aliases.
6514 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6515 Conditionalize body on this.
6516 * libio/fseeko64.c: Likewise.
6517 * libio/ftello64.c: Likewise.
6518 * libio/iofgetpos64.c: Likewise.
6519 * libio/iofsetpos64.c: Likewise.
6520 * sysdeps/wordsize-64/lockf.c: File removed.
6521 * sysdeps/wordsize-64/lockf64.c: File removed.
6522 * sysdeps/wordsize-64/fseeko.c: File removed.
6523 * sysdeps/wordsize-64/fseeko64.c: File removed.
6524 * sysdeps/wordsize-64/ftello.c: File removed.
6525 * sysdeps/wordsize-64/ftello64.c: File removed.
6526 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6527 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6528 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6529 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6530 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6531 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6532 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6534 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6536 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6537 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6538 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6540
6541 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6542 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6543 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6545 [defined __arch64__ || defined __sparcv9]
6546 (__OFF_T_MATCHES_OFF64_T): New macro.
6547 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6548 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6550 (__OFF_T_MATCHES_OFF64_T): New macro.
6551
c5757acd
L
65522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6553
6554 * stdlib/secure-getenv.c (__secure_getenv): Replace
6555 GLIBC_2_16 with GLIBC_2_17.
6556
3a31811e
L
65572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6558
6559 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6560 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6561
faa2bccb
DM
65622012-08-03 David S. Miller <davem@davemloft.net>
6563
6564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6565
85fe1997
JM
65662012-08-03 Joseph Myers <joseph@codesourcery.com>
6567
6568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6569 Remove.
6570 (__ASSUME_CORRECT_SI_PID): Likewise.
6571 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6572 (__ASSUME_TMPFS_NAME): Likewise.
6573 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6574 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6575 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6576 (HAVE_AUX_SECURE): Make definition unconditional.
6577 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6578 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6579
4f75b7a0
RM
65802012-08-03 Roland McGrath <roland@hack.frob.com>
6581
6582 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6583 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6584 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6585 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6586 __eloop_threshold instead of SYMLOOP_MAX.
6587
6588 * sysdeps/generic/eloop-threshold.h: New file.
6589 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6590 of MAXSYMLINKS.
6591 * elf/chroot_canon.c (chroot_canon): Likewise.
6592
7aab07e4
JM
65932012-08-03 Joseph Myers <joseph@codesourcery.com>
6594
6595 [BZ #13717]
6596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6597 Change to 2.6.0 everywhere.
6598 * sysdeps/unix/sysv/linux/configure: Regenerated.
6599 * sysdeps/unix/sysv/linux/kernel-features.h
6600 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6601 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6602 kernel versions.
6603 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6604 (__ASSUME_FUTEX_REQUEUE): Remove.
6605 (__ASSUME_STATFS64): Define unconditionally.
6606 (__ASSUME_AT_SECURE): Likewise.
6607 (__ASSUME_CORRECT_SI_PID): Likewise.
6608 (__ASSUME_TGKILL): Define without depending on kernel version for
6609 i386.
6610 (__ASSUME_UTIMES): Likewise.
6611 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6612 kernel version.
6613 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6614 (__ASSUME_TMPFS_NAME): Likewise.
6615 * README: Update reference to Linux kernel versions.
6616
b67e9372
MP
66172012-08-02 Marek Polacek <polacek@redhat.com>
6618
1f529f7d 6619 [BZ# 14150]
b67e9372
MP
6620 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6621 libc_cv_asm_type_prefix with %.
6622 * configure: Regenerated.
d2441631
RM
6623 * include/libc-symbols.h: Remove comment about
6624 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6625 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6626 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6627 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6628 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6629 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6630 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6631 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6632 * elf/tst-unique2mod1.c: Likewise.
6633 * elf/tst-unique1mod2.c: Likewise.
6634 * elf/tst-unique1mod1.c: Likewise.
6635 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6636 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6637 Replace ASM_TYPE_DIRECTIVE with .type.
6638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6639 * sysdeps/i386/sysdep.h: Likewise.
6640 * sysdeps/x86_64/sysdep.h: Likewise.
6641 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6643 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6644 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6645 * sysdeps/powerpc/powerpc32/sysdep.h:
6646 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6647 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6648 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6649 * sysdeps/i386/fpu/e_powf.S: Likewise.
6650 * sysdeps/i386/fpu/e_expl.S: Likewise.
6651 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6652 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6653 * sysdeps/i386/fpu/e_pow.S: Likewise.
6654 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6655 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6656 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6657 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6658 * sysdeps/i386/fpu/e_log2.S: Likewise.
6659 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6660 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6661 * sysdeps/i386/fpu/e_powl.S: Likewise.
6662 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6663 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6664 * sysdeps/i386/fpu/e_logl.S: Likewise.
6665 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6666 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6667 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6668 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6669 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6670 * sysdeps/i386/fpu/e_log.S: Likewise.
6671 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6672 * sysdeps/i386/fpu/e_logf.S: Likewise.
6673 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6674 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6675 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6676 * sysdeps/i386/fpu/e_log10.S: Likewise.
6677 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6678 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6679 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6680 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6681 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6682 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6683 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6684 * sysdeps/i386/i686/strtok.S: Likewise.
6685 * sysdeps/i386/i386-mcount.S: Likewise.
6686 * sysdeps/i386/strtok.S: Likewise.
6687 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6688 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6690 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6691 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6692 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6693 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6694 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6695 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6696 * sysdeps/x86_64/_mcount.S: Likewise.
6697 * sysdeps/x86_64/strtok.S: Likewise.
6698 * sysdeps/sh/_mcount.S: Likewise.
6699
2747bf9a
RM
67002012-08-01 Roland McGrath <roland@hack.frob.com>
6701
6702 * libio/iofopen.c: Include <fcntl.h>.
6703 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6704 (_IO_fopen64, fopen64): Define as aliases.
6705 * libio/iofopen64.c: Include <fcntl.h>.
6706 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6707 Conditionalize body on this.
6708 * sysdeps/wordsize-64/iofopen.c: File removed.
6709 * sysdeps/wordsize-64/iofopen64.c: File removed.
6710
3fb791b8
MP
67112012-08-01 Marek Polacek <polacek@redhat.com>
6712
6713 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6714 Use dlfcn directly instead of a variable.
6715 (binfmt-subdir): Do not define.
6716 (dlfcn): Likewise.
6717
a9f1039f
JM
67182012-08-01 Joseph Myers <joseph@codesourcery.com>
6719
23bddc06
JM
6720 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6721 Remove all definitions.
6722 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6723 <kernel-features.h>.
6724 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6725 (miss_F_GETOWN_EX): Remove all definitions.
6726 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6727 macro definition.
6728 [!__ASSUME_FCNTL64]: Remove conditional code.
6729 [__ASSUME_FCNTL64]: Make code unconditional.
6730 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6731 <kernel-features.h>.
6732 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6733 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6734 (lockf64) [__NR_fcntl64]: Make code unconditional.
6735 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6736
a9f1039f
JM
6737 * sysdeps/unix/sysv/linux/kernel-features.h
6738 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6739 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6740 Make code unconditional.
6741 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6742 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6744 [__NR_vfork]: Make code unconditional.
6745 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6746 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6748 [__NR_vfork]: Make code unconditional.
6749 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6750 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6751
09c0ee5f
RM
67522012-08-01 Roland McGrath <roland@hack.frob.com>
6753
48aec5b9
RM
6754 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6755 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6756
cd97c966
RM
6757 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6758 Define mkstemp64 as an alias.
3f55550c
RM
6759 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6760 Define mkstemps64 as an alias.
cd97c966
RM
6761 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6762 Define mkostemp64 as an alias.
b8625cfc
RM
6763 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6764 Define mkostemps64 as an alias.
cd97c966
RM
6765 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6766 Conditionalize body on this.
6767 * misc/mkostemp64.c: Likewise.
b8625cfc 6768 * misc/mkostemps64.c: Likewise.
3f55550c 6769 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6770 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6771 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6772 * sysdeps/wordsize-64/mkostemp.c: File removed.
6773 * sysdeps/wordsize-64/mkstemp.c: File removed.
6774 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6775 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6776 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6777 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6778
09c0ee5f
RM
6779 [BZ #14138]
6780 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6781 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6782 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6783 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6784
6785 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6786 compat_symbol macros from <shlib-compat.h> rather than the underlying
6787 default_symbol_version and symbol_version macros, so that DEFAULT
6788 lines in shlib-versions are respected.
6789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6790
7e66ee51
FW
67912012-08-01 Florian Weimer <fweimer@redhat.com>
6792
6793 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6794 Declare with warn_unused_result.
6795 (setgid, setregid, setegid, setresgid): Likewise.
6796 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6797 Likewise.
6798 * WUR-REPORT: Remove set*id functions.
6799
d2a54255
PT
68002012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6801
6802 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6803
7ecdb005
RM
68042012-07-31 Roland McGrath <roland@hack.frob.com>
6805
789bd351
RM
6806 * include/sys/socket.h (__libc_accept, __libc_accept4):
6807 Add attribute_hidden.
6808 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6809
40ce302d
RM
6810 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6811 use of PTR_MANGLE.
6812 * inet/getnetgrent_r.c (setup): Likewise.
6813
7ecdb005
RM
6814 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6815
e2eabb2c
DM
68162012-07-31 David S. Miller <davem@davemloft.net>
6817
6818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6819
d0419dbf
JM
68202012-07-31 Joseph Myers <joseph@codesourcery.com>
6821
6822 [BZ #13629]
6823 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6824 value between 1.0 and 2.0 and smaller part has absolute value less
6825 than 1.0.
6826 * math/s_clog10.c (__clog10): Likewise.
6827 * math/s_clog10f.c (__clog10f): Likewise.
6828 * math/s_clog10l.c (__clog10l): Likewise.
6829 * math/s_clogf.c (__clogf): Likewise.
6830 * math/s_clogl.c (__clogl): Likewise.
6831 * math/libm-test.inc (clog_test): Add more tests.
6832 (clog10_test): Likewise.
6833 * sysdeps/i386/fpu/libm-test-ulps: Update.
6834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6835
2bc13872
FW
68362012-07-31 Florian Weimer <fweimer@redhat.com>
6837
6838 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6839 Exit with zero in case no suitable GID is found, and write a
6840 message to standard error.
6841
bea9b193
RM
68422012-07-30 Roland McGrath <roland@hack.frob.com>
6843
6844 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6845 rather than to 1.
6846 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6847 (MAXPATHLEN): Removed.
6848 (NOGROUP, NODEV): New macros.
6849 (setbit, clrbit, isset, isclr): New macros.
6850 (howmany, roundup, powerof2): New macros.
6851 (DEV_BSIZE): New macro.
6852
6853 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6854 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6855
6856 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6857 definition on [!__NO_LONG_DOUBLE_MATH].
6858
6859 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6860 PTR_MANGLE and PTR_DEMANGLE.
6861
6862 * socket/accept4.c (accept4): Rename to __libc_accept4.
6863 Define accept4 as a weak alias.
6864
6865 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6866 on [_DIRENT_HAVE_D_TYPE].
6867 * io/ftw.c (ftw_dir): Likewise.
6868
6869 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6870
6871 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6872
6873 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6874 Use the BSD numbers rather than the arbitrary ones we had.
6875 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6876 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6877 (SIGXCPU, SIGXFSZ): New macros.
6878 (_NSIG): Now 32.
6879
6880 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6881 initializer on [_LIBC_REENTRANT].
6882
6883 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6884 definitions inside [_POSIX_MAPPED_FILES].
6885
6886 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6887
6888 * dirent/opendir.c: Include <fcntl.h>.
6889
6890 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6891 (__libc_getspecific): Likewise.
6892 (__libc_key_create): Likewise.
6893
6894 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6895 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6896 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6897 (tmpfile64): Define as alias.
6898 * sysdeps/wordsize-64/tmpfile.c: File removed.
6899 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6900 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6901 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6902
6903 * stdio-common/vfscanf.c: Include <stdbool.h>.
6904 * nss/makedb.c: Likewise.
6905 * stdio-common/_i18n_number.h: Likewise.
6906 * argp/argp-help.c: Likewise.
6907 * posix/wordexp.c: Likewise.
6908 * sysdeps/posix/spawni.c: Likewise.
6909 * nss/nss_files/files-initgroups.c: Likewise.
6910 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6911 * nss/nss_files/files-initgroups.c: Likewise.
6912 * nss/nss_db/db-netgrp.c: Likewise.
6913 * nss/nss_db/db-initgroups.c: Likewise.
6914 * io/fchmodat.c: Include <sys/stat.h>.
6915
6916 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6917 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6918
6919 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6920 [HAVE_MMAP].
6921
6922 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6923 Add multiple inclusion protection.
6924
e5abc686
DM
69252012-07-27 David S. Miller <davem@davemloft.net>
6926
6927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6928
815e6fa3
GB
69292012-07-27 Gary Benson <gbenson@redhat.com>
6930
6931 [BZ #14298]
6932 * elf/rtld.c: Include <stap-probe.h>.
6933 (dl_main): Added static probes "init_start" and "init_complete".
6934 * elf/dl-load.c: Include <stap-probe.h>.
6935 (lose): Take new parameter "nsid".
6936 Added static probe "map_failed".
6937 (_dl_map_object_from_fd): Pass namespace id to lose.
6938 Added static probe "map_start".
6939 (open_verify): Pass namespace id to lose.
6940 * elf/dl-open.c: Include <stap-probe.h>.
6941 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6942 and "reloc_complete".
6943 * elf/dl-close.c: Include <stap-probe.h>.
6944 (_dl_close_worker): Added static probes "unmap_start" and
6945 "unmap_complete".
6946 * elf/rtld-debugger-interface.txt: New file documenting the above.
6947
9f98c16c
RM
69482012-07-26 Roland McGrath <roland@hack.frob.com>
6949
6950 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6951 rather than a string variable.
6952 * sunrpc/rpc_main.c (h_output): Likewise.
6953 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6954
f3c22df3
PT
69552012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6956
6957 * inet/check_native.c: New file.
6958
3129cfc6
JM
69592012-07-26 Joseph Myers <joseph@codesourcery.com>
6960
da865e95
JM
6961 [BZ #13629]
6962 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6963 if larger part has absolute value 1.0.
6964 * math/s_clog10.c (__clog10): Likewise.
6965 * math/s_clog10f.c (__clog10f): Likewise.
6966 * math/s_clog10l.c (__clog10l): Likewise.
6967 * math/s_clogf.c (__clogf): Likewise.
6968 * math/s_clogl.c (__clogl): Likewise.
6969 * math/libm-test.inc (clog_test): Add more tests.
6970 (clog10_test): Likewise.
6971 * sysdeps/i386/fpu/libm-test-ulps: Update.
6972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6973
3129cfc6
JM
6974 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6975 (pltexit): Likewise.
6976 (La_regs): Likewise.
6977 (La_retval): Likewise.
6978 (int_retval): Likewise.
6979 Update #error for removed macros to refer only to definitions in
6980 tst-audit.h.
6981 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6982 macro.
6983 (pltexit): Likewise.
6984 (La_regs): Likewise.
6985 (La_retval): Likewise.
6986 (int_retval): Likewise.
6987 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6988 macro.
6989 (pltexit): Likewise.
6990 (La_regs): Likewise.
6991 (La_retval): Likewise.
6992 (int_retval): Likewise.
6993 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6994 macro.
6995 (pltexit): Likewise.
6996 (La_regs): Likewise.
6997 (La_retval): Likewise.
6998 (int_retval): Likewise.
6999 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7000 macro.
7001 (pltexit): Likewise.
7002 (La_regs): Likewise.
7003 (La_retval): Likewise.
7004 (int_retval): Likewise.
7005 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7006 macro.
7007 (pltexit): Likewise.
7008 (La_regs): Likewise.
7009 (La_retval): Likewise.
7010 (int_retval): Likewise.
7011 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7012 macro.
7013 (pltexit): Likewise.
7014 (La_regs): Likewise.
7015 (La_retval): Likewise.
7016 (int_retval): Likewise.
7017 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7018 macro definitions in tst-audit.h.
7019 * sysdeps/i386/tst-audit.h: New file.
7020 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7021 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7022 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7023 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7024 * sysdeps/sh/tst-audit.h: Likewise.
7025 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7026 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7027 * sysdeps/x86_64/tst-audit.h: Likewise.
7028
bfc07087
AJ
70292012-07-26 Andreas Jaeger <aj@suse.de>
7030
b1b2aaf8
AJ
7031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7032 ptrace.
7033
7034 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7035 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7036 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7037 PTRACE_O_MASK.
7038 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7039 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7040 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7041
bfc07087
AJ
7042 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7043 value.
7044
7045 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7046 _sigsys.
7047 (si_call_addr, si_syscall, si_arch): Define new macro.
7048 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7049 _sigsys.
7050 (si_call_addr, si_syscall, si_arch): Define new marcro.
7051 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7052 _sigsys.
7053 (si_call_addr, si_syscall, si_arch): Define new macro.
7054 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7055 _sigsys.
7056 (si_call_addr, si_syscall, si_arch): Define new macro.
7057
89b4b02f
JM
70582012-07-25 Joseph Myers <joseph@codesourcery.com>
7059
7060 [BZ #13717]
7061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7062 Change to 2.4.21 where previously 2.4.1.
7063 * sysdeps/unix/sysv/linux/configure: Regenerated.
7064 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7065 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7066 Linux kernel version.
7067 (__ASSUME_STD_AUXV): Remove.
7068 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7069 kernel version.
7070 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7071 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7072 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7073 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7074 (__ASSUME_NETLINK_SUPPORT): Likewise.
7075 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7076 (__no_netlink_support): Remove conditional definition.
7077 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7078 Remove.
7079 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7080 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7081 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7082 (if_nameindex_ioctl): Remove.
7083 (if_nameindex_netlink): Do not handle __no_netlink_support.
7084 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7085 code.
7086 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7087 Remove conditional code.
7088 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7089 code.
7090 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7091 unconditional.
7092 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7093 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7094 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7095 Remove.
7096 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7097 [!__ASSUME_STD_AUXV]: Remove conditional code.
7098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7099 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7100 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7102 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7103 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7104 code.
7105 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7107 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7108 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7109 conditional code.
7110 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7112 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7113 code.
7114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7115 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7116 conditional code.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7118 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7119 code unconditional.
7120 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7121 conditional code.
7122 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7123 unconditional.
7124 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7125 conditional code.
7126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7127 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7128 unconditional.
7129 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7130 conditional code.
7131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7132 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7133 code unconditional.
7134 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7135 conditional code.
7136 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7137 unconditional.
7138 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7139 conditional code.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7141 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7142 code unconditional.
7143 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7144 conditional code.
7145 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7146 unconditional.
7147 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7148 conditional code.
7149
842a39cd
AS
71502012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7151
7152 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7153 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7154 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7155 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7156 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7157 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7158 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7159 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7160 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7161 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7162 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7163 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7164 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7165 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7166 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7167 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7168 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7169 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7170 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7172 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7173 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7174 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7175
84b3fd84
FW
71762012-07-25 Florian Weimer <fweimer@redhat.com>
7177
7178 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7179 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7180 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7181 Introduce __libc_secure_getenv.
0c7936d5
FW
7182 * stdlib/Versions (2.17): Add secure_getenv
7183 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7184 * stdlib/secure-getenv.c: Rename __secure_getenv to
7185 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7186 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7187 * stdlib/tst-secure-getenv.c: New.
7188 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7189 * manual/startup.texi (Environment Access): Document
7190 secure_getenv.
84b3fd84
FW
7191 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7192 __libc_secure_getenv.
7193 * inet/ruserpass.c (ruserpass): Likewise.
7194 * malloc/mtrace.c (mtrace): Likewise.
7195 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7196 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7197 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7198 * sysdeps/posix/tempname.c: Likewise. Evaluate
7199 HAVE_SECURE_GETENV.
7200 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7201 __secure_getenv to __libc_secure_getenv.
84b3fd84 7202 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7204 Likewise.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7206 Likewise.
7207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7214
56e49b71
JM
72152012-07-25 Joseph Myers <joseph@codesourcery.com>
7216
7217 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7218 (struct La_i86_retval): Likewise.
7219 (struct La_x86_64_regs): Likewise.
7220 (struct La_x86_64_retval): Likewise.
7221 (struct La_x32_regs): Likewise.
7222 (struct La_x32_retval): Likewise.
7223 (struct La_ppc32_regs): Likewise.
7224 (struct La_ppc32_retval): Likewise.
7225 (struct La_ppc64_regs): Likewise.
7226 (struct La_ppc64_retval): Likewise.
7227 (struct La_sh_regs): Likewise.
7228 (struct La_sh_retval): Likewise.
7229 (struct La_s390_32_regs): Likewise.
7230 (struct La_s390_32_retval): Likewise.
7231 (struct La_s390_64_regs): Likewise.
7232 (struct La_s390_64_retval): Likewise.
7233 (struct La_sparc32_regs): Likewise.
7234 (struct La_sparc32_retval): Likewise.
7235 (struct La_sparc64_regs): Likewise.
7236 (struct La_sparc64_retval): Likewise.
7237 (struct audit_ifaces): Remove architecture-specific pltenter and
7238 pltexit members.
7239 * sysdeps/i386/ldsodefs.h: New file.
7240 * sysdeps/powerpc/ldsodefs.h: Likewise.
7241 * sysdeps/s390/ldsodefs.h: Likewise.
7242 * sysdeps/sh/ldsodefs.h: Likewise.
7243 * sysdeps/sparc/ldsodefs.h: Likewise.
7244 * sysdeps/x86_64/ldsodefs.h: Likewise.
7245
354691b7
MP
72462012-07-25 Marek Polacek <polacek@redhat.com>
7247
7248 [BZ #6808]
7249 * math/libm-test.inc (yn_test): Add another test.
7250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7251 to ERANGE when the result is +-Inf.
7252 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7253 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7254 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7255 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7256
bf9e2071
JM
72572012-07-24 Joseph Myers <joseph@codesourcery.com>
7258
7259 * conform/data/time.h-data (NULL): Use macro-constant. Require
7260 equal to 0.
7261 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7262 clock_t.
7263 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7264
57633811
TS
72652012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7266
7267 * configure.in <sysdeps resolving>: Correct printing
7268 Implies_before.
7269 * configure: Regenerate.
7270
c23c33b0
TS
72712012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7272
7273 * math/w_ilogb.c: Include <limits.h>.
7274 * math/w_ilogbl.c: Likewise.
7275
b5982523
JM
72762012-07-20 Joseph Myers <joseph@codesourcery.com>
7277
7278 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7279 va_copy. Document allowing for unavailable va_copy only as
7280 pre-C99 compatibility.
7281 * manual/string.texi (Copying and Concatenation): Use va_copy
7282 instead of __va_copy in concat example.
7283
ac4ea442
PT
72842012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7285
7286 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7287 (__sendto): Use create_address_port. Initialize APORT and deallocate
7288 it if not null.
7289
f98eafbd
PT
7290 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7291 with O_NOLINK passed to __file_name_lookup.
7292
898c7aab
PT
7293 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7294 with O_NOLINK passed to __file_name_lookup.
7295
0ced335a
PT
7296 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7297 negative N or less than NGIDS.
7298
b3404dbd
PT
7299 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7300 type to string_t. Set ERANGE as errno and return it if NAME is not big
7301 enough. Use memcpy instead of strncpy.
7302
0f48659e
JM
73032012-07-20 Joseph Myers <joseph@codesourcery.com>
7304
7305 * elf/Makefile (check-data): Remove.
7306 (localplt.data): New vpath directive.
7307 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7308 instead of $(check-data).
7309 * scripts/data/localplt-generic.data: Move to ...
7310 * sysdeps/generic/localplt.data: ... here.
7311 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7312 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7313 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7315 ... here.
7316 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7318 ... here.
7319 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7321 ... here.
7322 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7324 ... here.
7325 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7327 ... here.
7328 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7330 ... here.
7331
d37cbdaa
AZ
73322012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7333
7334 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7335 PPC32 and PPC64 files.
7336 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7337 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7338
46f85fc2
AK
73392012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7340
7341 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7342 __makecontext_ret to ...
7343 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7344 ... here and call exit if uc_link is NULL. New file.
7345 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7346 __makecontext_ret.S.
7347 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7348 __makecontext_ret to ...
7349 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7350 ... here and call exit if uc_link is NULL. New file.
7351 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7352 __makecontext_ret.S.
7353
08f43f9b
AK
73542012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7355
7356 * elf/elf.h (R_390_IRELATIVE): New definition.
7357 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7358 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7359 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7360 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7361 (elf_machine_lazy_rel): Likewise.
7362 * sysdeps/s390/dl-irel.h: New file.
7363 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7364 * sysdeps/s390/s390-64/memset.S: New asm code.
7365 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7366 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7367 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7368 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7369 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7370 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7371 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7372 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7373 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7374 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7375 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7376 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7377 * sysdeps/s390/s390-32/memset.S: New asm code.
7378 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7379
3b05db33
MP
73802012-07-17 Marek Polacek <polacek@redhat.com>
7381
7382 [BZ #14349]
7383 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7384 * sysdeps/s390/s390-64/configure.in: Likewise.
7385 * sysdeps/sparc/configure.in: Likewise.
7386 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7387 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7388 * sysdeps/i386/configure.in: Likewise.
7389 * sysdeps/x86_64/configure.in: Likewise.
7390 * sysdeps/sh/configure.in: Likewise.
7391 * sysdeps/s390/s390-32/configure: Regenerated.
7392 * sysdeps/s390/s390-64/configure: Likewise.
7393 * sysdeps/x86_64/configure: Likewise.
7394 * sysdeps/sh/configure: Likewise.
7395 * sysdeps/powerpc/powerpc64/configure: Likewise.
7396 * sysdeps/powerpc/powerpc32/configure: Likewise.
7397 * sysdeps/sparc/configure: Likwise.
7398 * sysdeps/i386/configure: Likewise.
7399
a66877c6
MP
7400 * elf/dl-open.c: Comment fixes.
7401
cfc82fd8
JM
74022012-07-17 Joseph Myers <joseph@codesourcery.com>
7403
bd29910a
JM
7404 * Makefile [CXX] (check-data): Remove.
7405 [CXX] (c++-types.data): New vpath directive.
7406 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7407 vpath. Do not allow for C++ type data being missing.
7408 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7409 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7410 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7411 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7412 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7413 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7414 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7416 ... here.
7417 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7419 ... here.
7420 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7422 ... here.
7423 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7425 ... here.
7426 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7428 ... here.
7429 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7431 ... here.
7432 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7434 ... here.
7435 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7436 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7437
cfc82fd8
JM
7438 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7439 definitions to architecture-specific files.
7440 (TLS_IE): Likewise.
7441 (TLS_LD): Likewise.
7442 (TLS_GD): Likewise.
7443 * sysdeps/i386/tls-macros.h: New file.
7444 * sysdeps/powerpc/tls-macros.h: Likewise.
7445 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7446 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7447 * sysdeps/sh/tls-macros.h: Likewise.
7448 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7449 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7450 * sysdeps/x86_64/tls-macros.h: Likewise.
7451
f7db3170
TS
74522012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7453
07cbfc23
TS
7454 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7455 zero value for regular exit case.
7456
f7db3170
TS
7457 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7458 (__start_context): Preserve zero value for regular exit case.
7459
dc97c227
TS
74602012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7461 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7462
7463 * manual/setjmp.texi (setcontext): Clarify normal process
7464 termination when uc_link is the null pointer.
7465 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7466 exit call.
7467
d0cd7d02
AS
74682012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7469
7470 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7471 preprocessor. Test for each exception mask separately.
7472
dd318934
AJ
74732012-07-16 Andreas Jaeger <aj@suse.de>
7474
7475 * po/ru.po: Update from translation team.
7476
8048311a
JM
74772012-07-15 Joseph Myers <joseph@codesourcery.com>
7478
7479 * conform/data/string.h-data (NULL): Use macro-constant. Require
7480 equal to 0.
7481 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7482 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7483 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7484 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7486
b637d46e
AJ
74872012-07-13 Andreas Jaeger <aj@suse.de>
7488
7489 * po/fr.po: Update from translation team.
7490
541428fe
MP
74912012-07-12 Marek Polacek <polacek@redhat.com>
7492
7493 [BZ #14173]
7494 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7495 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7496 loop condition.
7497
ec332e94
JM
74982012-07-12 Joseph Myers <joseph@codesourcery.com>
7499
7500 [BZ #13717]
7501 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7502 Change to 2.4.1 where previously 2.4.0.
7503 * sysdeps/unix/sysv/linux/configure: Regenerated.
7504 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7505 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7506 version.
7507 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7508 (__ASSUME_AT_CLKTCK): Remove.
7509 (__ASSUME_AT_PAGESIZE): Likewise.
7510 (__ASSUME_AT_XID): Likewise.
7511 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7512 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7513 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7514 unconditionally.
7515 (HAVE_AUX_PAGESIZE): Likewise.
7516 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7517 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7518 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7519
7b6e99be
JB
75202012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7521
7522 [BZ #14307]
7523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7524 the temporary buffer used to invoke __gethostbyname2_r,
7525 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7526 host_data / struct gaih_addrtuple.
7527 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7528 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7529 header file nss/nsswitch.h.
7530 * nss/nsswitch.h (global scope): Add definition of implementation
7531 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7532 resolv/nss_dns/dns-host.c).
7533
608404eb
AJ
75342012-07-11 Andreas Jaeger <aj@suse.de>
7535
7536 * po/fr.po: Update from translation team.
7537
71220aca
AJ
7538 * po/sv.po: Update from translation team
7539 * po/fr.po: Another update from translation team.
7540
28cfe843
AZ
75412012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7542
7543 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7544 for subnormals or multiply small sinh result by itself.
7545 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7547
6b90f981
DM
75482012-07-11 David S. Miller <davem@davemloft.net>
7549
7550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7551
c6825772
AS
75522012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7553
7554 [BZ #14347]
7555 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7556 (INTERNAL_MARK): Shift it here.
7557
7b8e0d49
MP
75582012-07-10 Marek Polacek <polacek@redhat.com>
7559
7560 [BZ #14151]
7561 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7562 libc_cv_asm_global_directive with .globl.
7563 * configure: Regenerated.
7564 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7565 with .globl.
7566 * sysdeps/i386/configure: Regenerated.
7567 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7568 with .globl.
7569 * sysdeps/x86_64/configure: Regenerated.
7570 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7571 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7572 * elf/tst-unique2mod2.c: Likewise.
7573 * elf/tst-unique2mod1.c: Likewise.
7574 * elf/tst-unique1mod2.c: Likewise.
7575 * elf/tst-unique1mod1.c: Likewise.
7576 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7577 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7578 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7579 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7580 * sysdeps/mach/sysdep.h: Likewise.
7581 * sysdeps/i386/sysdep.h: Likewise.
7582 * sysdeps/i386/i386-mcount.S: Likewise.
7583 * sysdeps/x86_64/_mcount.S: Likewise.
7584 * sysdeps/x86_64/sysdep.h: Likewise.
7585 * sysdeps/sh/_mcount.S: Likewise.
7586 * sysdeps/sh/sysdep.h: Likewise.
7587 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7588 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7589 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7590 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7591 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7592 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7593 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7594 * locale/localeinfo.h: Likewise.
7595 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7596 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7597
6c55cda3
RM
75982012-07-09 Roland McGrath <roland@hack.frob.com>
7599
7600 [BZ #14336]
7601 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7602 system".
7603 * manual/message.texi (The Uniforum approach): Likewise.
7604 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7605 (glibc iconv Implementation): Likewise.
7606
638a572e
JM
76072012-07-09 Joseph Myers <joseph@codesourcery.com>
7608
7609 [BZ #14337]
7610 * math/s_clog.c (__clog): Avoid scaling a value down where that
7611 could result in underflow.
7612 * math/s_clog10.c (__clog10): Likewise.
7613 * math/s_clog10f.c (__clog10f): Likewise.
7614 * math/s_clog10l.c (__clog10l): Likewise.
7615 * math/s_clogf.c (__clogf): Likewise.
7616 * math/s_clogl.c (__clogl): Likewise.
7617 * math/libm-test.inc (clog_test): Add more tests.
7618 (clog10_test): Likewise.
7619 * sysdeps/i386/fpu/libm-test-ulps: Update.
7620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7621
261f4859
AS
76222012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7623
0abaf3e4
AS
7624 [BZ #14283]
7625 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7626 by 7 not 8 to examine high bit of fractional part.
7627
261f4859
AS
7628 [BZ #14042]
7629 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7630 for call to __mcount_internal.
7631 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7632 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7633 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7634
f17ac40d
JM
76352012-07-06 Joseph Myers <joseph@codesourcery.com>
7636
9ad63c23
JM
7637 [BZ #14154]
7638 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7639 approximation for values within 0x1p-13f of an odd multiple of
7640 pi/4.
7641 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7642 exception. Add more tests.
7643 * sysdeps/i386/fpu/libm-test-ulps: Update.
7644
f17ac40d
JM
7645 [BZ #6778]
7646 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7647 inputs and return -1 for them. Do not check for +Inf in case not
7648 reachable for +Inf.
7649 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7650 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7651 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7652 and return -1 for them. Do not check for +Inf in case not
7653 reachable for +Inf.
7654 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7655 define.
7656 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7657 and return -1 for them. Do not check for +Inf in case not
7658 reachable for +Inf.
7659 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7660 spurious underflow.
7661 * sysdeps/i386/fpu/libm-test-ulps: Update.
7662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7663
fb21f89b
MF
76642012-07-06 Mike Frysinger <vapier@gentoo.org>
7665
7666 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7667
cdfe2c5e
JM
76682012-07-05 Joseph Myers <joseph@codesourcery.com>
7669
7670 [BZ #14157]
7671 [BZ #14331]
7672 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7673 could result in spurious underflow. Scale down values above
7674 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7675 * math/s_csqrtf.c (__csqrtf): Likewise.
7676 * math/s_csqrtl.c (__csqrtl): Likewise.
7677 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7678 spurious underflow.
7679 * sysdeps/i386/fpu/libm-test-ulps: Update.
7680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7681
70d35b67
AS
76822012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7683
704bc459
AS
7684 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7685 xopen-msg.sed.
7686 * catgets/xopen-msg.awk: New file.
7687 * catgets/xopen-msg.sed: Removed.
7688
70d35b67
AS
7689 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7690 po2text.sed.
7691 * intl/po2test.awk: New file.
7692 * intl/po2test.sed: Removed.
7693
ca61cf32
JM
76942012-07-04 Joseph Myers <joseph@codesourcery.com>
7695
7696 [BZ #14328]
7697 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7698 or multiply small sinh result by itself.
7699 * math/s_ctanf.c (__ctanf): Likewise.
7700 * math/s_ctanh.c (__ctanh): Likewise.
7701 * math/s_ctanhf.c (__ctanhf): Likewise.
7702 * math/s_ctanhl.c (__ctanhl): Likewise.
7703 * math/s_ctanl.c (__ctanl): Likewise.
7704 * math/libm-test.inc (ctan_test_tonearest): New function.
7705 (ctan_test_towardzero): Likewise.
7706 (ctan_test_downward): Likewise.
7707 (ctan_test_upward): Likewise.
7708 (ctanh_test_tonearest): Likewise.
7709 (ctanh_test_towardzero): Likewise.
7710 (ctanh_test_downward): Likewise.
7711 (ctanh_test_upward): Likewise.
7712 (main): Call these new functions.
7713 * sysdeps/i386/fpu/libm-test-ulps: Update.
7714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7715
ca48a46a
MF
77162012-07-03 Mike Frysinger <vapier@gentoo.org>
7717
7718 * .gitignore: Delete /ports entry.
7719
9d63d37d
AJ
77202012-07-03 Andreas Jaeger <aj@suse.de>
7721
7722 * po/bg.po: Update from translation team.
7723 * po/cs.po: Likewise.
7724 * po/de.po: Likewise.
7725 * po/hr.po: Likewise.
7726 * po/nl.pl: Likewise.
7727 * po/pl.po: Likewise.
7728 * po/vi.po: Likewise.
7729
370ca3d2
JM
77302012-07-03 Joseph Myers <joseph@codesourcery.com>
7731
95f5a9a8
JM
7732 * Makeconfig [!+link] (+link-before-libc): New variable.
7733 [!+link] (+link-after-libc): Likewise.
7734 [!+link] (+link-tests): Likewise.
7735 [!+link] (+link): Define in terms of $(+link-before-libc) and
7736 $(+link-after-libc).
7737 [!+link-static] (+link-static-before-libc): New variable.
7738 [!+link-static] (+link-static-after-libc): Likewise.
7739 [!+link-static] (+link-static-tests): Likewise.
7740 [!+link-static] (+link-static): Define in terms of
7741 $(+link-static-before-libc) and $(+link-static-after-libc).
7742 [build-shared] (link-libc-before-gnulib): New variable.
7743 [build-shared] (link-libc-tests): Likewise.
7744 [build-shared] (link-libc): Define in terms of
7745 $(link-libc-before-gnulib).
7746 [!build-shared] (link-libc-tests): New variable.
7747 (link-libc-static-tests): New variable.
7748 [!gnulib] (gnulib-arch): New variable.
7749 [!gnulib] (gnulib-tests): Likewise.
7750 [!gnulib] (static-gnulib-arch): Likewise.
7751 [!gnulib] (static-gnulib-tests): Likewise.
7752 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7753 Define with "=" instead of ":=".
7754 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7755 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7756 * Rules (binaries-all-notests): New variable.
7757 (binaries-all-tests): Likewise.
7758 (binaries-static-notests): Likewise.
7759 (binaries-static-tests): Likewise.
7760 (binaries-all): Define using $(binaries-all-notests) and
7761 $(binaries-all-tests).
7762 (binaries-static): Define using $(binaries-static-notests) and
7763 $(binaries-static-tests).
7764 (binaries-shared-tests): New variable.
7765 (binaries-shared-notests): Likewise.
7766 (binaries-shared): Remove variable.
7767 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7768 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7769 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7770 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7771 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7772 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7773 * elf/Makefile (sln-modules): New variable.
7774 (extra-objs): Add $(sln-modules:=.o).
7775 (ldconfig-modules): Add static-stubs.
7776 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7777 * elf/static-stubs.c: New file.
7778
7a845b2c
JM
7779 [BZ #14283]
7780 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7781 by 7 not 8 to examine high bit of fractional part. Use volatile
7782 variables when splitting into final array of floats if
7783 __FLT_EVAL_METHOD__ != 0.
7784 * math/libm-test.inc (cos_test): Add another test.
7785 (sin_test): Likewise.
7786 * sysdeps/i386/fpu/libm-test-ulps: Update.
7787
e2283f38
JM
7788 [BZ #14273]
7789 * math/libm-test.inc (cosh_test): Add more tests.
7790
370ca3d2
JM
7791 * version.h (RELEASE): Set to "development".
7792 (VERSION): Set to "2.16.90".
7793
ee9247c3
CD
77942012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7795
7796 * NEWS: Update copyright. Remove last-updated date.
7797 Mention math library bug fixes and timezone data changes.
7798 * README: Mention GNU/Hurd, x32, and HPPA support status.
7799
4648c381
TS
78002012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7801
7802 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7803
aac78a43
AJ
78042012-06-27 Andreas Jaeger <aj@suse.de>
7805
7806 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7807
ed3dbfad
AJ
78082012-06-25 Andreas Jaeger <aj@suse.de>
7809
7810 * sysdeps/s390/fpu/libm-test-ulps: Update.
7811
4d0ee855
AS
78122012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7813 Thomas Schwinge <thomas@codesourcery.com>
7814
7815 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7816 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7818 fanotify_mark.
7819
af1bce34
TS
78202012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7821
a9fa33ba
TS
7822 * sysdeps/mach/start.c: Remove file.
7823 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7824 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7825 * sysdeps/sh/init-first.c: Likewise.
7826
58f902b8
TS
7827 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7828 registers for frame unwinding purposes, add CFI directives.
7829 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7830 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7831 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7832 Likewise.
7833
1518f58b
TS
7834 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7835 __fortify_fail returning.
7836 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7837
db9b5059
TS
7838 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7839 sysdeps/sh/____longjmp_chk.S.
7840 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7841 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7842 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7843 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7844
967705fe
TS
7845 * sysdeps/sh/abort-instr.h: New file.
7846 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7847 process in case exit returns.
7848
a9def8c4
TS
7849 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7850 initialize the GOT register before use.
7851
2a649725
TS
7852 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7853 calculation of ARGC > 4.
7854
af1bce34
TS
7855 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7856 meaningful names to some local labels.
7857
d230f50a
KK
78582012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7859 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7860
7861 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7862 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7863 (__arch_compare_and_exchange_val_16_acq): Likewise.
7864 (__arch_compare_and_exchange_val_32_acq): Likewise.
7865 (atomic_exchange_and_add): Fix gUSA sequence.
7866 (atomic_add): Likewise.
7867 (atomic_add_negative): Likewise.
7868 (atomic_add_zero): Likewise.
7869 (atomic_bit_test_set): Likewise.
7870
0479b305
AS
78712012-06-22 Andreas Schwab <schwab@redhat.com>
7872
7873 [BZ #13579]
7874 * include/link.h (struct link_map): Add l_free_initfini.
7875 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7876 l_initfini.
7877 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7878 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7879 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7880 set.
7881
0e3933b9
CD
78822012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7883
7884 * configure.in: Use AC_LANG_SOURCE.
7885 * configure: Regenerate.
7886
4248b1b1
RM
78872012-06-22 Roland McGrath <roland@hack.frob.com>
7888
7889 * configure.in (libc_cv_localstatedir): New substituted variable.
7890 * configure: Regenerated.
7891 * config.make.in (localstatedir): New variable, substituted from
7892 libc_cv_localstatedir.
7893 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7894 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7895 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7896 * sysdeps/gnu/configure: Regenerated.
7897
006dd861
JL
78982012-06-21 Jeff Law <law@redhat.com>
7899
7900 [BZ #14277]
7901 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7902 free. Simplify list management for _LIBC case.
7903
79662d42
JM
79042012-06-21 Joseph Myers <joseph@codesourcery.com>
7905
b7abb4bf
JM
7906 [BZ #14273]
7907 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7908 Clear sign bit of 64-bit integer value before comparing against
7909 overflow value.
7910
79662d42
JM
7911 * sysdeps/mach/configure: Regenerated.
7912
1f150908
L
79132012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7914
7915 [BZ #14278]
7916 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7917
28363bbf
JL
79182012-06-21 Jeff Law <law@redhat.com>
7919
7920 [BZ #13882]
7921 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7922 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7923 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7924 * elf/dl-open.c (dl_open_worker): Likewise.
7925
09615db4
CD
79262012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7927
7928 * scripts/list-sources.sh: Scan PORTS for translations.
7929 * po/libc.pot: Regenerated.
7930
2174c6dd
AJ
79312012-06-21 Andreas Jaeger <aj@suse.de>
7932
7933 [BZ #12194]
7934 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7935 warning.
7936 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7937 * bits/byteswap-16.h (__bswap_16): Likewise.
7938 * bits/byteswap.h (__bswap_constant_16): Likewise.
7939
3ee947b1
L
79402012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7941
7942 [BZ #14117]
a2f34833
L
7943 * sysdeps/i386/fpu_control.h: Removed.
7944 * sysdeps/x86_64/fpu_control.h: Moved to ...
7945 * sysdeps/x86/fpu_control.h: Here.
7946
3ee947b1
L
7947 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7948 (_FPU_SETCW): Likewise.
7949
ed1825f8
L
79502012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7951
25f1282a
L
7952 [BZ #14117]
7953 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7954 * sysdeps/x86/fpu/bits/mathinline.h: This.
7955 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7956
ed1825f8
L
7957 [BZ #14050]
7958 [BZ #14117]
7959 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7960 functions if __x86_64__ is defined.
7961
36d54b74
CLT
79622012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7963
7964 * string/endian.h: Add !__ASSEMBLER__ condition for including
7965 conversion interfaces.
7966
10285c21
JM
79672012-06-15 Joseph Myers <joseph@codesourcery.com>
7968
7969 [BZ #14241]
7970 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7971 of ABS(x) in calculating zero to negative powers other than odd
7972 integers.
7973 * math/libm-test.inc (pow_test): Add more tests.
7974
06c5abbd
AJ
79752012-06-15 Andreas Jaeger <aj@suse.de>
7976
7977 * manual/contrib.texi (Contributors): Update entry of Liubov
7978 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7979 Machado Filho.
7980
a3aeac40
CH
79812012-06-15 Cyril Hrubis <metan@ucw.cz>
7982
7983 * string/string.h: Add __wur to GNU version of strerror_r.
7984
49bdf4c1
L
79852012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7986
7987 [BZ #14229]
7988 * string/Makefile (tests): Add tst-strtok_r.
7989 * string/tst-strtok_r.c: New file.
7990 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7991 RAX_LP/RDX_LP on SAVE_PTR.
7992
834f9b8d
RM
79932012-06-14 Roland McGrath <roland@hack.frob.com>
7994
7995 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7996
75fa1921
JM
79972012-06-14 Joseph Myers <joseph@codesourcery.com>
7998
7999 * libm_test.inc (csqrt_test): Allow more spurious underflow
8000 exceptions.
8001 (j0_test): Likewise.
8002 (j1_test): Likewise.
8003 (y0_test): Likewise.
8004 (y1_test): Likewise.
8005
771766df
CD
80062012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8007
8008 * po/Makefile (libc.pot): Use UTF-8 charset.
8009
ceb9e56b
PP
80102012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8011
8012 [BZ #14210]
8013 Suppress sign-conversion warning from FD_SET.
8014 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8015 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8016 not unsigned long int.
8017 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8018
ddb28975
L
80192012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8020
8021 [BZ #14050]
8022 [BZ #14117]
8023 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8024 __extern_always_inline instead of __extern_inline.
8025 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8026 (__signbit): Likewise.
8027 (__signbitl): Support C++ namespace.
8028 (lrintf): New inline function.
8029 (lrint): Likewise.
8030 (llrintf): Likewise.
8031 (llrint): Likewise.
8032 (fmaxf): Likewise.
8033 (fmax): Likewise.
8034 (fminf): Likewise.
8035 (fmin): Likewise.
8036 (rint): Likewise.
8037 (rintf): Likewise.
8038 (ceil): Likewise.
8039 (ceilf): Likewise.
8040 (floor): Likewise.
8041 (floorf): Likewise.
8042 (nearbyint): Likewise.
8043 (nearbyintf): Likewise.
8044
d7b4fb26
TS
80452012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8046
8047 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8048 non-default versions.
8049
eb55f5c2
RM
80502012-06-11 Roland McGrath <roland@hack.frob.com>
8051
8052 [BZ #14218]
8053 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8054
366af02c
TS
80552012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8056
99ff6e5c
TS
8057 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8058 (FE_UPWARD, FE_DOWNWARD): Don't define.
8059 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8060 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8061
366af02c
TS
8062 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8063 reading it.
8064 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8065 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8066
793ea851
KK
80672012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8068
8069 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8071 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8072 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8073
a728a38f
L
80742012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8075
8076 [BZ #14117]
c08010c7
L
8077 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8078 * sysdeps/i386/fpu/Implies: New file.
8079 * sysdeps/x86_64/fpu/Implies: Likewise.
8080 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8081 * sysdeps/x86/fpu/bits/fenv.h: This.
8082
a728a38f
L
8083 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8084 __SSE_MATH__.
8085
6e230d11
SP
80862012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8087
8088 [BZ #14134]
8089 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8090 character 0xffff that matches the last element of the
8091 conversion table.
8092
1b671feb
AZ
80932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8094
8095 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8096 fmodl commit.
8097
6043738b
AZ
80982012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8099
8100 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8101 values higher than 25.6283.
8102
34ae0b32
AZ
81032012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8104
8105 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8106 subnormal exponent extraction and add some __builtin_expect.
8107 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8108 Fix for subnormal mantissa calculation.
8109
1214ec8f
MF
81102012-06-04 Mike Frysinger <vapier@gentoo.org>
8111
8112 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8113 cpu2 is -1 and errno is not ENOSYS.
8114
f3d1f93c
L
81152012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8116
8117 [BZ #14117]
0e4a3cd7
L
8118 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8119 * sysdeps/x86/bits/string.h: This.
8120 * sysdeps/x86_64/bits/string.h: Removed.
8121
6704c645
L
8122 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8123 if not compiling for x86-64, but compiling for >= i486.
8124
48495318
L
8125 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8126 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8127
14adcbfc
L
8128 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8129 New macro from Linux kernel 3.4.0.
8130 (FP_XSTATE_MAGIC2): Likewise.
8131 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8132 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8133 (struct _fpx_sw_bytes): New struct.
8134 (struct _xsave_hdr): Likewise.
8135 (struct _ymmh_state): Likewise.
8136 (struct _xstate): Likewise.
8137
68e408ab
L
8138 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8139 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8140 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8141 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8142 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8143 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8144
f3d1f93c
L
8145 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8146 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8147 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8148 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8149 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8150 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8151
d9dc34cd
TMQMF
81522012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8153
8154 [BZ #13743]
8155 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8156 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8157 (sysdep_headers): Include sys/platform/ppc.h.
8158 * sysdeps/powerpc/test-gettimebase.c: Test for
8159 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8160 * manual/Makefile (appendices): Include platform.texi.
8161 * manual/contrib.texi (Contributors): Update @node pointers.
8162 * manual/maint.texi (Maintenance): Likewise.
8163 (Platform): New node.
8164 * manual/platform.texi: New file. Document the new features.
8165
4af3879c
SP
81662012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8167 Jakub Jelinek <jakub@redhat.com>
8168
8169 [BZ #14188]
8170 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8171 where __builtin_expect is unavailable.
8172
2fd6ff13
DM
81732012-06-03 David S. Miller <davem@davemloft.net>
8174
8175 * stdlib/longlong.h: Updated from GCC.
8176
173f7220
AS
81772012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8178
8179 [BZ #14042]
8180 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8181 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8182 __mcount_internal.
8183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8184 (GLIBC_2.16): Likewise.
8185
f34a1c6f
L
81862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8187
8188 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8189
88a4576f
JM
81902012-06-01 Joseph Myers <joseph@codesourcery.com>
8191
ea32bcdd
JM
8192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8193 (default-abi): New variable.
8194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8195 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8196 variable.
8197 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8198 Likewise.
8199 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8200 Likewise.
8201 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8202 Likewise.
8203
88a4576f
JM
8204 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8205 definition. Document in comment.
8206
402fe938
DM
82072012-06-01 David S. Miller <davem@davemloft.net>
8208
8209 * stdlib/longlong.h: Updated from GCC.
8210
3553723f
L
82112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8212
8213 [BZ #14117]
3bd872c4
L
8214 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8215 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8216 sys/debugreg.h sys/io.h here.
8217 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8218 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8219 sys/io.h.
8220 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8221 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8222 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8223 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8224 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8225 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8226
3553723f
L
8227 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8228 Define only if __x86_64__ is defined.
8229
4842e4fe
JM
82302012-06-01 Joseph Myers <joseph@codesourcery.com>
8231
c5bfe3d5
JM
8232 [BZ #14048]
8233 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8234 Use int64_t for variable i.
8235 * math/libm-test.inc (fmod_test): Add more tests.
8236
4842e4fe
JM
8237 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8238 z computation is not scheduled after fetestexcept.
8239 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8240 Use math_force_eval instead of asm to ensure calculation scheduled
8241 before exception test.
8242 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8243 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8244
efb73488
AJ
82452012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8246
8247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8248 computation is not scheduled after fetestexcept.
8249
29bcce7c
L
82502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8251
8252 [BZ #14117]
8253 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8254 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8255
73a68f94
AZ
82562012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8257
8258 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8259 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8260
67b6df78
L
82612012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8262
edf2933a 8263 [BZ #14117]
ebc64a18
L
8264 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8265 <bits/wordsize.h>.
8266 (__WCHAR_MIN): Support __WORDSIZE == 64.
8267 (__WCHAR_MAX): Likewise.
8268
edf2933a
L
8269 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8270 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8271
57c6cf40
L
8272 [BZ #14183]
8273 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8274 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8275
67b6df78 8276 [BZ #14117]
8eb6281e
L
8277 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8278 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8279
aac639f4
L
8280 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8281 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8282
67b6df78
L
8283 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8284 Defined to 1 if __x86_64__ isn't defined.
8285 (_STAT_VER_LINUX_OLD): New.
8286 (st_atime): Remove duplicate.
8287 (st_mtime): Likewise.
8288 (st_ctime): Likewise.
8289
1c2cfe81
DM
82902012-05-31 David S. Miller <davem@davemloft.net>
8291
8292 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8293 entries.
8294
5be8418c
AS
82952012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8296
e7725326
AS
8297 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8298 gen-libm-test.pl.
8299
5be8418c
AS
8300 [BZ #14132]
8301 * elf/dl-reloc.c: Include <_itoa.h>.
8302 (_dl_reloc_bad_type): Remove use of INTUSE.
8303 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8304 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8305 * stdio-common/psiginfo.c (psiginfo): Likewise.
8306 * stdio-common/psignal.c (psignal): Likewise.
8307 * string/strsignal.c (strsignal): Likewise.
8308 * include/signal.h (_sys_siglist): Declare hidden proto.
8309 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8310 INTVARDEF with libc_hidden_data_def.
8311 * stdio-common/itoa-udigits.c: Likewise.
8312 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8313 (_itoa_lower_digits_internal): Remove declaration.
8314 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8315 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8316 (_sys_sigabbrev_internal): Remove aliases.
8317 (_sys_siglist): Define hidden alias.
8318
507352f1
MT
83192012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8320
8321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8322 bits/sysctl.h.
8323
42bbb1c3
L
83242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8325
8326 [BZ #14117]
6bd784b6
L
8327 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8328 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8329
8bca20f0
L
8330 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8331 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8332 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8333 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8334 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8335 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8336
f9e890a9
L
8337 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8338 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8339 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8340
471101a1
L
8341 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8342 with __addr.
8343 (insw): Likewise.
8344 (insl): Likewise.
8345 (outsb): Likewise.
8346 (outsw): Likewise.
8347 (outsl): Likewise.
8348
6451c862
L
8349 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8350 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8351 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8352
a254b8c9
L
8353 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8354 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8355 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8356 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8357 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8358 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8359
b8dfdd92
L
8360 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8361 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8362
578cd270
L
8363 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8364 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8365
de662f5f
L
8366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8367 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8368 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8369
25653439
L
8370 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8371 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8372 to ...
8373 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8374
6bad24a0
L
8375 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8376 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8377 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8378
42bbb1c3
L
8379 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8380 for x86-64.
8381 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8382
2d10d547
JM
83832012-05-31 Joseph Myers <joseph@codesourcery.com>
8384
8385 * math/math.h (M_El): Use two more decimal places.
8386 (M_LOG2El): Likewise.
8387 (M_LOG10El): Likewise.
8388 (M_LN2l): Likewise.
8389 (M_LN10l): Likewise.
8390 (M_PIl): Likewise.
8391 (M_PI_2l): Likewise.
8392 (M_PI_4l): Likewise.
8393 (M_1_PIl): Likewise.
8394 (M_2_PIl): Likewise.
8395 (M_2_SQRTPIl): Likewise.
8396 (M_SQRT2l): Likewise.
8397 (M_SQRT1_2l): Likewise.
8398
f230c29b
DM
83992012-05-31 David S. Miller <davem@davemloft.net>
8400
8401 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8402 values between float registers.
8403 * sysdeps/sparc/sparc64/memset.S: Likewise.
8404 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8405
fed806c3
MF
84062012-05-31 Mike Frysinger <vapier@gentoo.org>
8407
8408 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8409 -D_FORTIFY_SOURCE=1.
8410 (CPPFLAGS-tst-longjmp_chk.c): Define.
8411 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8412 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8413 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8414 CFLAGS-tst-wchar-h.c.
8415
30917259
MP
84162012-05-31 Marek Polacek <polacek@redhat.com>
8417
8418 [BZ #14132]
8419 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8420 __endmntent_internal): Remove declaration.
8421 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8422 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8423 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8424
1c58d5dc
DM
84252012-05-30 David S. Miller <davem@davemloft.net>
8426
8427 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8428 (___Q_simulate_exceptions): Use real FP ops rather than writing
8429 into the %fsr.
8430 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8431 Likewise.
8432
7dc00e0d
L
84332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8434
8435 [BZ #14117]
0bd53985
L
8436 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8437 * sysdeps/x86/bits/xtitypes.h: This.
8438
3a257e66
L
8439 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8440 * sysdeps/x86/bits/wordsize.h: This.
8441
62f62904
L
8442 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8443 * sysdeps/x86/bits/huge_vall.h: This.
8444
404fe9d9
L
8445 * sysdeps/i386/bits/select.h: Removed.
8446 * sysdeps/x86_64/bits/select.h: Renamed to ...
8447 * sysdeps/x86/bits/select.h: This.
8448
d48d0446
L
8449 * sysdeps/i386/bits/setjmp.h: Removed.
8450 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8451 * sysdeps/x86/bits/setjmp.h: This.
8452
7dc00e0d
L
8453 * sysdeps/i386/bits/mathdef.h: Removed.
8454 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8455 * sysdeps/x86/bits/mathdef.h: This.
8456
03277f8f
AS
84572012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8458
8459 [BZ #14132]
8460 * include/sys/socket.h (__connect_internal)
8461 (__libc_sa_len_internal): Remove declaration.
8462 (__connect, __libc_sa_len): Declare hidden_proto.
8463 (SA_LEN): Remove use of INTUSE.
8464 * socket/connect.c: Add libc_hidden_def.
8465 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8466 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8467 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8468 alias.
8469 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8470 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8471 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8472 of adding _internal alias.
8473
13764867
L
84742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8475
8476 [BZ #14117]
6bd97696
L
8477 * sysdeps/i386/bits/link.h: Removed.
8478 * sysdeps/i386/bits/linkmap.h: Likewise.
8479 * sysdeps/x86_64/bits/link.h: Renamed to ...
8480 * sysdeps/x86/bits/link.h: This.
8481 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8482 * sysdeps/x86/bits/linkmap.h: This.
8483
f726f0bb
L
8484 * sysdeps/i386/bits/endian.h: Removed.
8485 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8486 * sysdeps/x86/bits/endian.h: This.
8487
13764867
L
8488 * sysdeps/i386/bits/byteswap.h: Removed.
8489 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8490 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8491 * sysdeps/x86/bits/byteswap.h: This.
8492 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8493 * sysdeps/x86/bits/byteswap-16.h: This.
8494 * sysdeps/i386/Implies: Add x86.
8495 * sysdeps/x86_64/Implies: Likewise.
8496
ae251b0b
DM
84972012-05-30 David S. Miller <davem@davemloft.net>
8498
8499 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8500 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8501 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8502 (FP_TRAPPING_EXCEPTIONS): Define.
8503 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8504 (FP_TRAPPING_EXCEPTIONS): Define.
8505 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8506 subnormals only when inexact has been signalled or underflow
8507 exceptions are enabled.
8508 (_FP_PACK_CANONICAL): Likewise.
8509
d5c90867
L
85102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8511
8512 [BZ #14183]
8513 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8514 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8515
63f1549e
RH
85162012-05-30 Richard Henderson <rth@twiddle.net>
8517
8d8f2279
RH
8518 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8519 with #ifndef NOT_IN_libc.
8520
63f1549e
RH
8521 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8522 marked to avoid plt entry.
8523
0ab0291b
L
85242012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8525
8526 [BZ #14112]
8527 * Makeconfig (default-abi): New macro.
8528 (abi-includes): Likewise.
8529 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8530 $(abi-$(default-abi)-lib-soname) for soname if defined.
8531 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8532 abi-variants.
8533 * Makefile (installed-stubs): Likewise.
8534 * include/stubs-biarch.h: Removed.
8535 * scripts/lib-names.awk: Only handle one library at a time.
8536 * scripts/soversions.awk: Remove WORDSIZE support.
8537 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8538 entries.
8539 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8540 Removed.
8541 (syscall-list-default-condition): Likewise.
8542 (syscall-list-default-condition): Likewise.
8543 (syscall-list-includes): Likewise.
8544 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8545 syscall-list-* with abi-*. Handle undefined abi-variants.
8546 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8547 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8548 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8549 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8550 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8551 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8552 Removed.
8553 (syscall-list-32-options): Likewise.
8554 (syscall-list-32-condition): Likewise.
8555 (syscall-list-64-options): Likewise.
8556 (syscall-list-64-condition): Likewise.
8557 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8558 macro.
8559 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8560 Renamed to ...
8561 (abi-*): This.
8562 (abi-64-ld-soname): New macro.
8563 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8564 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8565 Renamed to ...
8566 (abi-*): This.
8567 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8568 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8569
4da0431d
JM
85702012-05-30 Joseph Myers <joseph@codesourcery.com>
8571
3a85279c
JM
8572 * sysdeps/unix/sysv/linux/kernel-features.h
8573 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8574 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8575 include <kernel-features.h>.
8576 [!__NR_ftruncate64]: Remove conditional code.
8577 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8578 [__NR_ftruncate64]: Make code unconditional.
8579 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8580 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8581 include <kernel-features.h>.
8582 [!__NR_ftruncate64]: Remove conditional code.
8583 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8584 [__NR_ftruncate64]: Make code unconditional.
8585 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8587 include <kernel-features.h>.
8588 [!__NR_ftruncate64]: Remove conditional code.
8589 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8590 [__NR_ftruncate64]: Make code unconditional.
8591 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8593 include <kernel-features.h>.
8594 [!__NR_ftruncate64]: Remove conditional code.
8595 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8596 [__NR_ftruncate64]: Make code unconditional.
8597 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8598
4da0431d
JM
8599 * configure.in (libc_cv_fpie): Weaken to a compile test using
8600 LIBC_TRY_CC_OPTION.
8601 * configure: Regenerated.
8602
11ef492c
AK
86032012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8604
8605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8609 Refreshed.
8610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8616 Refreshed.
8617
d66ef399
DM
86182012-05-27 David S. Miller <davem@davemloft.net>
8619
8620 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8621 (___Q_zero): New.
8622 (__Q_simulate_exceptions): Return void. Change to simulate
8623 exceptions by writing into the %fsr.
8624 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8625 (__Qp_handle_exceptions): Likewise.
8626 (numbers): Delete.
8627 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8628 __Qp_handle_exceptions.
8629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8630 __Qp_handle_exceptions.
8631 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8632 as unused and give dummy FP_RND_NEAREST initializer.
8633 (FP_INHIBIT_RESULTS): Define.
8634 (___Q_simulate_exceptions): Update declaration.
8635 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8636 formatting.
8637 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8638 as unused and give dummy FP_RND_NEAREST initializer.
8639 (__Qp_handle_exceptions): Update declaration.
8640 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8641 formatting.
8642
04fb54b5
TS
86432012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8644
8645 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8646 the temporary FPU control word.
8647 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8648 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8649 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8650 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8651 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8652 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8653 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8654 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8655 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8656 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8657 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8658
3f99608f
KK
86592012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8660
8661 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8662 fields.
8663
65a4de4e
CLT
86642012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8665
8666 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8667 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8668 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8669 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8670 Likewise.
8671 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8672 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8673 Likewise.
8674
15749d40
UD
86752012-05-27 Ulrich Drepper <drepper@gmail.com>
8676
8677 * po/h.po: Update from translation team.
8678
25dbcb27
AS
86792012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8680
3d3f8e55
AS
8681 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8682
25dbcb27
AS
8683 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8684 handling of denormals.
8685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8686 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8687 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8688 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8692 Likewise.
8693
7ad47a80 86942012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8695
8696 [BZ #14152]
8697 * math/libm-test.inc (fma_test): Don't always expect underflow
8698 exception.
8699
9c6ea9fa
SP
87002012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8701
8702 [BZ #12416]
8703 * elf/tst-execstack.c: Include stackinfo.h.
8704 (do_test): Adjust test case to ensure that pthread_getattr_np
8705 behaviour remains the same after marking stack executable.
8706
a8239222
JM
87072012-05-25 Joseph Myers <joseph@codesourcery.com>
8708
8709 * sysdeps/unix/sysv/linux/kernel-features.h
8710 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8711 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8712 kernel-features.h.
8713 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8714 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8715 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8716 kernel-features.h.
8717 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8718 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8719
918b5606
L
87202012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8721
8722 * configure.in: Define the default includes to being none.
8723 * configure: Regenerated.
8724
3a097cc7
RM
87252012-05-25 Roland McGrath <roland@hack.frob.com>
8726
8422c9a5
RM
8727 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8728 * sysdeps/x86_64/setjmp.S: Likewise.
8729 * sysdeps/i386/bsd-setjmp.S: Likewise.
8730 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8731 * sysdeps/i386/setjmp.S: Likewise.
8732 * sysdeps/i386/__longjmp.S: Likewise.
8733 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8734 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8735
3a097cc7
RM
8736 * include/stap-probe.h: New file.
8737 * configure.in: Handle --enable-systemtap.
8738 * configure: Regenerated.
8739 * config.h.in (USE_STAP_PROBE): New #undef.
8740 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8741 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8742 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8743
21708942
JM
87442012-05-25 Joseph Myers <joseph@codesourcery.com>
8745
8746 [BZ #13717]
8747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8748 to 2.4.0 where earlier.
8749 * sysdeps/unix/sysv/linux/configure: Regenerated.
8750 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8751 <kernel-features.h>.
8752 [__ASSUME_32BITUIDS]: Make code unconditional.
8753 [!__ASSUME_32BITUIDS]: Remove conditional code.
8754 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8755 <kernel-features.h>.
8756 [__ASSUME_32BITUIDS]: Make code unconditional.
8757 [!__ASSUME_32BITUIDS]: Remove conditional code.
8758 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8759 [__ASSUME_32BITUIDS]: Make code unconditional.
8760 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8761 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8762 <kernel-features.h>.
8763 [__ASSUME_32BITUIDS]: Make code unconditional.
8764 [!__ASSUME_32BITUIDS]: Remove conditional code.
8765 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8766 <kernel-features.h>.
8767 [__ASSUME_32BITUIDS]: Make code unconditional.
8768 [!__ASSUME_32BITUIDS]: Remove conditional code.
8769 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8770 <kernel-features.h>.
8771 [__ASSUME_32BITUIDS]: Make code unconditional.
8772 [!__ASSUME_32BITUIDS]: Remove conditional code.
8773 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8774 <kernel-features.h>.
8775 [__ASSUME_32BITUIDS]: Make code unconditional.
8776 [!__ASSUME_32BITUIDS]: Remove conditional code.
8777 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8778 <kernel-features.h>.
8779 [__ASSUME_32BITUIDS]: Make code unconditional.
8780 [!__ASSUME_32BITUIDS]: Remove conditional code.
8781 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8782 <kernel-features.h>.
8783 [__ASSUME_32BITUIDS]: Make code unconditional.
8784 [!__ASSUME_32BITUIDS]: Remove conditional code.
8785 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8786 <kernel-features.h>.
8787 [__ASSUME_32BITUIDS]: Make code unconditional.
8788 [!__ASSUME_32BITUIDS]: Remove conditional code.
8789 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8790 <kernel-features.h>.
8791 [__ASSUME_32BITUIDS]: Make code unconditional.
8792 [!__ASSUME_32BITUIDS]: Remove conditional code.
8793 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8794 <kernel-features.h>.
8795 [__ASSUME_32BITUIDS]: Make code unconditional.
8796 [!__ASSUME_32BITUIDS]: Remove conditional code.
8797 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8798 <kernel-features.h>.
8799 [__ASSUME_32BITUIDS]: Make code unconditional.
8800 [!__ASSUME_32BITUIDS]: Remove conditional code.
8801 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8802 <kernel-features.h>.
8803 [__NR_setresgid] (__setresgid): Do not declare.
8804 [__ASSUME_32BITUIDS]: Make code unconditional.
8805 [!__ASSUME_32BITUIDS]: Remove conditional code.
8806 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8807 <kernel-features.h>.
8808 [__NR_setresuid] (__setresuid): Do not declare.
8809 [__ASSUME_32BITUIDS]: Make code unconditional.
8810 [!__ASSUME_32BITUIDS]: Remove conditional code.
8811 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8812 <kernel-features.h>.
8813 [__ASSUME_32BITUIDS]: Make code unconditional.
8814 [!__ASSUME_32BITUIDS]: Remove conditional code.
8815 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8816 <kernel-features.h>.
8817 [__ASSUME_32BITUIDS]: Make code unconditional.
8818 [!__ASSUME_32BITUIDS]: Remove conditional code.
8819 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8820 <kernel-features.h>.
8821 [__ASSUME_32BITUIDS]: Make code unconditional.
8822 [!__ASSUME_32BITUIDS]: Remove conditional code.
8823 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8824 <kernel-features.h>.
8825 [__ASSUME_32BITUIDS]: Make code unconditional.
8826 [!__ASSUME_32BITUIDS]: Remove conditional code.
8827 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8828 <kernel-features.h>.
8829 [__ASSUME_32BITUIDS]: Make code unconditional.
8830 [!__ASSUME_32BITUIDS]: Remove conditional code.
8831 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8832 <kernel-features.h>.
8833 [__ASSUME_32BITUIDS]: Make code unconditional.
8834 [!__ASSUME_32BITUIDS]: Remove conditional code.
8835 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8836 <kernel-features.h>.
8837 [__ASSUME_32BITUIDS]: Make code unconditional.
8838 [!__ASSUME_32BITUIDS]: Remove conditional code.
8839 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8840 <kernel-features.h>.
8841 [__ASSUME_32BITUIDS]: Make code unconditional.
8842 [!__ASSUME_32BITUIDS]: Remove conditional code.
8843 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8844 <kernel-features.h>.
8845 [__ASSUME_32BITUIDS]: Make code unconditional.
8846 [!__ASSUME_32BITUIDS]: Remove conditional code.
8847 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8848 <kernel-features.h>.
8849 [__ASSUME_32BITUIDS]: Make code unconditional.
8850 [!__ASSUME_32BITUIDS]: Remove conditional code.
8851 * sysdeps/unix/sysv/linux/kernel-features.h
8852 (__ASSUME_SETRESUID_SYSCALL): Remove.
8853 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8854 (__ASSUME_32BITUIDS): Likewise.
8855 (__ASSUME_LDT_WORKS): Likewise.
8856 (__ASSUME_O_DIRECTORY): Likewise.
8857 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8858 architecture but not kernel version.
8859 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8860 (__ASSUME_MMAP2_SYSCALL): Likewise.
8861 (__ASSUME_STAT64_SYSCALL): Likewise.
8862 (__ASSUME_IPC64): Likewise.
8863 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8864 <kernel-features.h>.
8865 [__ASSUME_32BITUIDS]: Make code unconditional.
8866 [!__ASSUME_32BITUIDS]: Remove conditional code.
8867 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8868 <kernel-features.h>.
8869 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8870 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8871 132096]: Remove conditional code.
8872 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8873 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8874 <kernel-features.h>.
8875 [__ASSUME_32BITUIDS]: Make code unconditional.
8876 [!__ASSUME_32BITUIDS]: Remove conditional code.
8877 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8878 <kernel-features.h>.
8879 [__ASSUME_32BITUIDS]: Make code unconditional.
8880 [!__ASSUME_32BITUIDS]: Remove conditional code.
8881 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8882 <kernel-features.h>.
8883 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8884 unconditional.
8885 (__setresgid): Do not declare.
8886 [__ASSUME_32BITUIDS]: Make code unconditional.
8887 [!__ASSUME_32BITUIDS]: Remove conditional code.
8888 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8889 <kernel-features.h>.
8890 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8891 unconditional.
8892 (__setresuid): Do not declare.
8893 [__ASSUME_32BITUIDS]: Make code unconditional.
8894 [!__ASSUME_32BITUIDS]: Remove conditional code.
8895 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8896 <kernel-features.h>.
8897 [__ASSUME_32BITUIDS]: Make code unconditional.
8898 [!__ASSUME_32BITUIDS]: Remove conditional code.
8899 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8900 <kernel-features.h>.
8901 [__ASSUME_32BITUIDS]: Make code unconditional.
8902 [!__ASSUME_32BITUIDS]: Remove conditional code.
8903
a386f1cc
RH
89042012-05-25 Richard Henderson <rth@twiddle.net>
8905
8906 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8907 dl_hwcap to ifunc resolver.
8908 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8909 elf_ifunc_invoke.
8910 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8911 dl_hwcap to ifunc resolver.
8912 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8913
b6550497
JM
89142012-05-24 Joseph Myers <joseph@codesourcery.com>
8915
8916 [BZ #14153]
8917 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8918 for |x| <= 2**-26, not 2**-57.
8919 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8920 exception.
8921
b0bc23a1
JL
89222012-05-24 Jeff Law <law@redhat.com>
8923
8924 * stdio-common/Makefile (tests): Add bug25.
8925 * stdio-common/bug25.c: New test.
8926
347c92e9
L
89272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8928
8929 [BZ #13576]
8930 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8931 multiple of MALLOC_ALIGNMENT in size.
8932 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8933
6bcc8b3f
JM
89342012-05-24 Joseph Myers <joseph@codesourcery.com>
8935
8936 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8937 Require >= 256.
8938 (FILENAME_MAX): Use macro-int-constant.
8939 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8940 (_IOFBF): Use macro-int-constant.
8941 (_IOLBF): Likewise.
8942 (_IONBF): Likewise.
8943 (SEEK_CUR): Likewise.
8944 (SEEK_END): Likewise.
8945 (SEEK_SET): Likewise.
8946 (TMP_MAX): Likewise.
8947 (EOF): Use macro-int-constant. Require < 0.
8948 (NULL): Use macro-constant. Require == 0.
8949 (stdin): Require type to be FILE *.
8950 (stdout): Likewise.
8951 (stderr): Likewise.
8952 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8953 macro-int-constant.
8954 (EXIT_SUCCESS): Likewise.
8955 (NULL): Use macro-constant. Require == 0.
8956 (RAND_MAX): Use macro-int-constant.
8957 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8958 [C99-based standards] (strtof): Require function.
8959 [C99-based standards] (strtold): Likewise.
8960 [C99-based standards] (strtoll): Likewise.
8961 [C99-based standards] (strtoull): Likewise.
8962 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8963 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8964 [ISO || ISO99 || ISO11] (math.h): Likewise.
8965 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8966 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8968
d18ea0c5
AS
89692012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8970
8971 [BZ #14132]
56d25bb8
AS
8972 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8973 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8974 * intl/dgettext.c (DCGETTEXT): Likewise.
8975 * intl/gettext.c (DCGETTEXT): Likewise.
8976 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8977 * posix/regex_internal.h (gettext): Likewise.
8978 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8979 Remove declaration.
8980 * include/argz.h (__argz_count_internal)
8981 (__argz_stringify_internal): Remove declaration.
8982 (__argz_count, __argz_stringify): Declare hidden proto.
8983 * intl/dcgettext.c: Remove use of INTDEF.
8984 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8985 * string/argz-stringify.c: Likewise.
8986 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8987 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8988 Declare hidden proto.
d18ea0c5
AS
8989 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8990 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8991 Declare hidden proto.
8992 * include/stdio.h (__asprintf_internal): Don't declare.
8993 (__asprintf): Don't define as macro. Declare hidden proto.
8994 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8995 (__fsetlocking): Declare hidden proto.
8996 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8997 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8998 hidden proto.
8999 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9000 (_IO_setlinebuf): Remove use of INTUSE.
9001 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9002 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9003 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9004 Remove declaration.
9005 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9006 (_IO_do_flush): Remove use of INTUSE.
9007 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9008 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9009 (_IO_adjust_column, _IO_least_wmarker)
9010 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9011 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9012 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9013 (_IO_default_doallocate, _IO_wdefault_doallocate)
9014 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9015 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9016 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9017 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9018 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9019 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9020 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9021 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9022 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9023 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9024 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9025 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9026 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9027 proto.
9028 (_IO_flush_all_internal, _IO_adjust_column_internal)
9029 (_IO_default_uflow_internal, _IO_default_finish_internal)
9030 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9031 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9032 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9033 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9034 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9035 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9036 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9037 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9038 (_IO_file_close_internal, _IO_file_close_it_internal)
9039 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9040 (_IO_file_init_internal, _IO_file_attach_internal)
9041 (_IO_file_fopen_internal, _IO_file_read_internal)
9042 (_IO_file_sync_internal, _IO_file_seek_internal)
9043 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9044 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9045 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9046 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9047 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9048 (_IO_list_all_internal, _IO_link_in_internal)
9049 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9050 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9051 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9052 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9053 (_IO_do_write_internal, _IO_padn_internal)
9054 (_IO_getline_info_internal, _IO_getline_internal)
9055 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9056 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9057 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9058 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9059 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9060 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9061 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9062 with libc_hidden_ver, remove use of INTUSE.
9063 * libio/genops.c: Likewise.
9064 * libio/freopen.c: Likewise.
9065 * libio/freopen64.c: Likewise.
9066 * libio/iofclose.c: Likewise.
9067 * libio/iofdopen.c: Likewise.
9068 * libio/iofflush.c: Likewise.
9069 * libio/iofflush_u.c: Likewise.
9070 * libio/iofgets.c: Likewise.
9071 * libio/iofgets_u.c: Likewise.
9072 * libio/iofopen.c: Likewise.
9073 * libio/iofopncook.c: Likewise.
9074 * libio/iofread.c: Likewise.
9075 * libio/iofread_u.c: Likewise.
9076 * libio/ioftell.c: Likewise.
9077 * libio/iofwrite.c: Likewise.
9078 * libio/iogetline.c: Likewise.
9079 * libio/iogets.c: Likewise.
9080 * libio/iogetwline.c: Likewise.
9081 * libio/iopadn.c: Likewise.
9082 * libio/iopopen.c: Likewise.
9083 * libio/ioseekoff.c: Likewise.
9084 * libio/ioseekpos.c: Likewise.
9085 * libio/iosetbuffer.c: Likewise.
9086 * libio/iosetvbuf.c: Likewise.
9087 * libio/ioungetc.c: Likewise.
9088 * libio/ioungetwc.c: Likewise.
9089 * libio/iovdprintf.c: Likewise.
9090 * libio/iovsprintf.c: Likewise.
9091 * libio/iovsscanf.c: Likewise.
9092 * libio/memstream.c: Likewise.
9093 * libio/obprintf.c: Likewise.
9094 * libio/oldfileops.c: Likewise.
9095 * libio/oldiofclose.c: Likewise.
9096 * libio/oldiofdopen.c: Likewise.
9097 * libio/oldiofopen.c: Likewise.
9098 * libio/oldiopopen.c: Likewise.
9099 * libio/oldstdfiles.c: Likewise.
9100 * libio/putc.c: Likewise.
9101 * libio/setbuf.c: Likewise.
9102 * libio/setlinebuf.c: Likewise.
9103 * libio/stdfiles.c: Likewise.
9104 * libio/strops.c: Likewise.
9105 * libio/vasprintf.c: Likewise.
9106 * libio/vscanf.c: Likewise.
9107 * libio/vsnprintf.c: Likewise.
9108 * libio/vswprintf.c: Likewise.
9109 * libio/wfiledoalloc.c: Likewise.
9110 * libio/wfileops.c: Likewise.
9111 * libio/wgenops.c: Likewise.
9112 * libio/wmemstream.c: Likewise.
9113 * libio/wstrops.c: Likewise.
9114 * libio/__fpurge.c: Likewise.
9115 * libio/__fsetlocking.c: Likewise.
9116 * assert/assert.c: Likewise.
9117 * debug/fgets_chk.c: Likewise.
9118 * debug/fgets_u_chk.c: Likewise.
9119 * debug/fread_chk.c: Likewise.
9120 * debug/fread_u_chk.c: Likewise.
9121 * debug/gets_chk.c: Likewise.
9122 * debug/obprintf_chk.c: Likewise.
9123 * debug/vasprintf_chk.c: Likewise.
9124 * debug/vdprintf_chk.c: Likewise.
9125 * debug/vsnprintf_chk.c: Likewise.
9126 * debug/vsprintf_chk.c: Likewise.
9127 * malloc/mtrace.c: Likewise.
9128 * misc/error.c: Likewise.
9129 * misc/syslog.c: Likewise.
9130 * stdio-common/asprintf.c: Likewise.
9131 * stdio-common/fxprintf.c: Likewise.
9132 * stdio-common/getw.c: Likewise.
9133 * stdio-common/isoc99_fscanf.c: Likewise.
9134 * stdio-common/isoc99_scanf.c: Likewise.
9135 * stdio-common/isoc99_vfscanf.c: Likewise.
9136 * stdio-common/isoc99_vscanf.c: Likewise.
9137 * stdio-common/isoc99_vsscanf.c: Likewise.
9138 * stdio-common/printf-prs.c: Likewise.
9139 * stdio-common/printf_fp.c: Likewise.
9140 * stdio-common/printf_fphex.c: Likewise.
9141 * stdio-common/printf_size.c: Likewise.
9142 * stdio-common/putw.c: Likewise.
9143 * stdio-common/scanf.c: Likewise.
9144 * stdio-common/sprintf.c: Likewise.
9145 * stdio-common/tmpfile.c: Likewise.
9146 * stdio-common/vfprintf.c: Likewise.
9147 * stdio-common/vfscanf.c: Likewise.
9148 * stdlib/strfmon_l.c: Likewise.
9149 * sunrpc/openchild.c: Likewise.
9150 * sunrpc/xdr_stdio.c: Likewise.
9151 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9152 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9153
d6c33fda
RM
91542012-05-24 Roland McGrath <roland@hack.frob.com>
9155
c1487492
RM
9156 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9157
9158 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9159 in the third column, to generate for the shared library an IFUNC
9160 that uses _dl_vdso_vsym.
9161 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9162 * Makeconfig (object-suffixes-noshared): New variable.
9163
9164 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9165 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9166 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9167 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9168
d6c33fda
RM
9169 [BZ #14132]
9170 * include/sys/time.h (__gettimeofday): Remove macro.
9171 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9172 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9173 Remove INTDEF.
9174 (__gettimeofday): Add libc_hidden_def.
9175 (gettimeofday): Add libc_hidden_weak.
9176 * sysdeps/mach/gettimeofday.c: Likewise.
9177 * sysdeps/posix/gettimeofday.c: Likewise.
9178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9179 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9181 (__gettimeofday_internal): Remove strong_alias.
9182 (__gettimeofday): Add libc_hidden_def.
9183 (gettimeofday): Add libc_hidden_weak.
9184 * sysdeps/unix/syscalls.list (gettimeofday):
9185 Remove __gettimeofday_internal alias.
9186
b5a2bbe6
L
91872012-05-24 Daniel Jacobowitz <drow@false.org>
9188 H.J. Lu <hongjiu.lu@intel.com>
9189
9190 [BZ #12495]
9191 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9192 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9193 (largebin_index_32_big): New.
9194 (largebin_index): Use it for 16-byte alignment.
9195 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9196 correction with front_misalign.
9197
cfba4fda
L
91982012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9199
7f907421
L
9200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9202 Likewise.
9203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9204 Likewise.
9205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9206 Likewise.
9207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9208 Likewise.
9209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9210 Likewise.
9211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9212 Likewise.
9213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9214 Likewise.
9215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9216 Likewise.
9217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9218 Likewise.
9219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9220 Likewise.
9221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9222 Likewise.
9223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9224 Likewise.
9225
cfba4fda
L
9226 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9227 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9228
80bad0cc
JM
92292012-05-24 Joseph Myers <joseph@codesourcery.com>
9230
7a25eb06
JM
9231 [BZ #10846]
9232 [BZ #14036]
9233 * math/libm-test.inc (exp_test): Add test from bug 14036.
9234 (pow_test): Add test from bug 10846.
9235
795405f9
JM
9236 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9237 and other flags.
9238 (special_function): Do not include flags in test name.
9239 (parse_args): Likewise.
9240 * sysdeps/i386/fpu/libm-test-ulps: Update.
9241 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9242 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9243 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9245
80bad0cc
JM
9246 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9247 exceptions.
9248 * math/libm-test.inc ("Philosophy"): Update comment about
9249 exception testing.
9250 (UNDERFLOW_EXCEPTION): New macro.
9251 (UNDERFLOW_EXCEPTION_OK): Likewise.
9252 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9253 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9254 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9255 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9256 (INVALID_EXCEPTION_OK): Update value.
9257 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9258 (OVERFLOW_EXCEPTION_OK): Likewise.
9259 (IGNORE_ZERO_INF_SIGN): Likewise.
9260 (test_exceptions): Handle underflow exceptions.
9261 (acos_test): Update for underflow exception expectations.
9262 (cexp_test): Likewise.
9263 (clog_test): Likewise.
9264 (clog10_test): Likewise.
9265 (csqrt_test): Likewise.
9266 (ctan_test): Likewise.
9267 (ctanh_test): Likewise.
9268 (exp_test): Likewise.
9269 (exp10_test): Likewise.
9270 (exp2_test): Likewise.
9271 (expm1_test): Likewise.
9272 (fma_test): Likewise.
9273 (j0_test): Likewise.
9274 (jn_test): Likewise.
9275 (nexttoward_test): Likewise.
9276 (pow_test): Likewise.
9277 (scalbn_test): Likewise.
9278 (scalbln_test): Likewise.
9279 (tan_test): Likewise.
9280 (y1_test): Likewise.
9281 * sysdeps/i386/fpu/libm-test-ulps: Update.
9282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9283
9e0e3d0b
DM
92842012-05-23 David S. Miller <davem@davemloft.net>
9285
9286 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9287 (__libc_sigaction): Remove unused local variables.
9288
ccd0a08f
L
92892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9290
9291 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9292
62bdf9a6
PE
92932012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9294
f8591f80
PE
9295 mktime: avoid signed integer overflow
9296 * time/mktime.c (__mktime_internal): Do not mishandle the case
9297 where diff == INT_MIN.
9298
94c7d826
PE
9299 mktime: simplify computation of average
9300 * time/mktime.c (ranged_convert): Use new time_t_avg function
9301 instead of rolling our own (probably-slower) code.
9302
ce73d683
PE
9303 mktime: do not assume signed right shift propagates sign bit
9304 * time/mktime.c (isdst_differ): New static function.
9305 (__mktime_internal): No need to normalize tm_isdst now.
9306 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9307 tm_isdst values.
9308
72a22e59
PE
9309 mktime: merge another wrapv change from gnulib
9310 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9311 from some compilers.
9312
68605433
PE
9313 mktime: remove incorrect attempt at unusual arithmetics
9314 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9315 The code didn't really work on such machines anyway.
9316 (TYPE_MINIMUM): Assume two's complement.
9317 (twos_complement_arithmetic): Verify that long_int and time_t
9318 are two's complement (or unsigned, in the latter case).
9319
03cf7fe3
PE
9320 mktime: check signed shifts on long_int and time_t, too
9321 * time/mktime.c (SHR): Check that shifts work as desired
9322 on the types long_int and time_t too, as SHR is used on
9323 such types.
9324
f04dfbc2
PE
9325 mktime: do not assume 'long' is wide enough
9326 * time/mktime.c (verify): Move decl up.
9327 (long_int): New type.
9328 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9329 to remove assumption in the code that 'long' is wide enough to
9330 store year values. This assumption is not true on x32 and on
9331 some non-glibc platforms.
9332
62bdf9a6
PE
9333 mktime: merge wrapv change from gnulib
9334 * time/mktime.c (WRAPV): New macro.
9335 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9336 (guess_time_tm, __mktime_internal): Do not assume that signed
9337 integer overflow wraps around; modern compilers generate code
9338 where this assumption is no longer valid.
9339
5e292e4f
L
93402012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9341
9342 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9343 Replace "jmp L(pseudo_end)" with "ret".
9344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9345 Likewise.
9346
8caf8c87
AJ
93472012-05-23 Andreas Jaeger <aj@suse.de>
9348
9349 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9350 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9351
1a09dc56
AJ
93522012-05-23 Andreas Jaeger <aj@suse.de>
9353 Maximilian Attems <max@stro.at>
9354
9355 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9356 New macros.
9357
1c87aba0
L
93582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9359
9360 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9361 code so that pseudo_end is just ret and the stack pointer is
9362 correct also for static library in error case.
9363
40e45bd5
JM
93642012-05-23 Joseph Myers <joseph@codesourcery.com>
9365
c2670533
JM
9366 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9367 move to syscalls.list.
9368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9372
40e45bd5
JM
9373 * manual/install.texi (Running make install): Do not mention Linux
9374 kernel version for which pt_chown is not needed.
9375 (Linux): Do not mention problems with nscd with 2.0 kernels.
9376 * INSTALL: Regenerated.
9377
be08eda5
AJ
93782012-05-23 Andreas Jaeger <aj@suse.de>
9379
9380 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9381 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9382 macro.
9383 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9384 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9385 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9386 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9387 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9388 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9389 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9390 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9391 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9392 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9393 * sysdeps/unix/sysv/linux/bits/in.h
9394 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9395
a6a056bb
RM
93962012-05-22 Roland McGrath <roland@hack.frob.com>
9397
9398 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9399 (PREPARE_VERSION): Just use assert instead, it will be elided
9400 under [NDEBUG] anyway.
9401
c9009328
L
94022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9403
9404 * sysdeps/unix/sysv/linux/Makefile: Include
9405 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9406 (sysdep_routines): Remove sysctl.
c9009328
L
9407 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9408 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9409 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9410 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9411 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9412
73338355
AJ
94132012-05-22 Andreas Jaeger <aj@suse.de>
9414
9415 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9416 that pseudo_end is just ret and the stack pointer is correct also
9417 for static library in error case.
9418
d44638b0
PP
94192012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9420
9421 [BZ #14122]
9422 * nss/nsswitch.c (defconfig_entries): New variable.
9423 (__nss_database_lookup): Don't leak defconfig entries.
9424 (nss_parse_service_list): Don't leak on error paths.
9425 (free_database_entries): New function.
9426 (free_defconfig): New function.
9427 (free_mem): Move common code to free_database_entries.
9428
31a39bd8
L
94292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9430
da0331a8
L
9431 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9432 Add arch_prctl.
9433 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9434
31a39bd8
L
9435 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9436 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9438 New macro.
9439 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9440 (INTERNAL_SYSCALL_TYPES): Likewise.
9441 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9442 (LOAD_REGS_TYPES_[1-6]): Likewise.
9443 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9444 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9445
45470df3
AZ
94462012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9447
9448 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9449 copysignl for GLIBC_2_0.
9450 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9451 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9452 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9453 logbl for GLIBC_2_0.
9454 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9455 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9456
98a61bcb
L
94572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9458
a4f6e481
L
9459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9460 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9461
f63d5db6
L
9462 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9463 Use "neg %eax".
9464
98a61bcb
L
9465 * time/mktime.c: Update copyright years.
9466
95770f14
PE
94672012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9468
6226efbd
PE
9469 mktime: merge comment-quoting-style change from gnulib
9470 * time/mktime.c: Quote 'like this' in comments.
9471 The GNU coding standards suggest that we no longer quote `like this',
9472 as "`" and "'" are typically rendered asymmetrically nowadays.
9473 The typical gnulib style is to quote 'like this' when quoting
9474 code, and "like this" when quoting English.
9475
b99e4f78
PE
9476 * time/mktime.c (compile-command): Add "-I.".
9477
643e01e6
PE
9478 mktime: merge mktime-internal.h change from gnulib
9479 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9480
2554247d
PE
9481 mktime: merge time_r change from gnulib
9482 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9483
826dd0ab
PE
9484 mktime: merge DEBUG change from gnulib
9485 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9486 case system <time.h> has a #define.
9487
bd83aabe
PE
9488 mktime: merge <sys/types.h> change from gnulib
9489 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9490 since <time.t> is now guaranteed to define time_t.
9491
95770f14
PE
9492 mktime: merge HAVE_CONFIG_H change from gnulib
9493 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9494
5e1a27a9
L
94952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9496
0e44a77e
L
9497 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9498 Use "neg %eax".
9499
5e1a27a9
L
9500 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9501 __rlim_t cast.
9502 (struct rusage): Use anonymous union to pad each field to
9503 __syscall_slong_t.
9504
46259bec
DM
95052012-05-21 David S. Miller <davem@davemloft.net>
9506
9507 * Makefules (o-iterator): Remove .s cases.
9508 (compile-command.s): Delete.
9509 (COMPILE.s): Delete.
9510 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9511
59f0c22e
JM
95122012-05-21 Joseph Myers <joseph@codesourcery.com>
9513
9514 * configure.in (libc_cv_predef_stack_protector): Only consider
9515 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9516 * configure: Regenerated.
9517
20c07380
L
95182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9519
bbb3154b
L
9520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9521 New macro. Use R*LP on int and pointer.
9522 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9523 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9524 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9525 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9526
20c07380
L
9527 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9528 [__WORDSIZE_TIME64_COMPAT32] instead of
9529 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9530 (struct utmp): Likewise.
9531 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9532 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9533 Renamed to ...
9534 (__WORDSIZE_TIME64_COMPAT32): This.
9535 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9536 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9537 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9538 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9539 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9540 (__WORDSIZE_TIME64_COMPAT32): New macro.
9541
d8d1017e
AJ
95422012-05-21 Andreas Jaeger <aj@suse.de>
9543
9544 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9545 only if [SHARED]. Add prototype for __wcschr_ia32.
9546
6c7fb145
RM
95472012-05-21 Roland McGrath <roland@hack.frob.com>
9548
9549 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9550 of %rbp unmolested in the jmp_buf while mangling the low bits.
9551 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9552 unmolested high bits of %rbp while demangling the low bits.
9553 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9554
66274218
AJ
95552012-05-21 Andreas Jaeger <aj@suse.de>
9556
07c58f8f
AJ
9557 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9558 * sunrpc/svc_simple.c: Use it for registerrpc.
9559 * sunrpc/xcrypt.c: Use it for passwd2des.
9560
66274218
AJ
9561 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9562
61f65140
L
95632012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9564
9565 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9566 Don't define if [__SYSCALL_WORDSIZE != 32].
9567 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9568 New macro.
9569
5fefb436
AJ
95702012-05-21 Bruno Haible <bruno@clisp.org>
9571 Andreas Jaeger <aj@suse.de>
9572
9573 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9574 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9575 inptr and inend for must_buffer_ch.
9576 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9577 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9578 * stdio-common/Makefile (tests): Remove bug15.
9579 (bug15-ENV): Remove macro.
9580 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9581 anymore.
9582
d8e272ab
AJ
95832012-05-19 Andreas Jaeger <aj@suse.de>
9584 Roland McGrath <roland@hack.frob.com>
9585
9586 * manual/contrib.texi: Completely rewritten. It contains now an
9587 alphabetical list of contributors and their contributions.
9588
4a56a162
RH
95892012-05-21 Richard Henderson <rth@twiddle.net>
9590
9591 * misc/getauxval.c (__getauxval): Use unsigned long int.
9592 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9593 (getauxval): Use unsigned long int.
9594
d024d23c
L
95952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9596
9597 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9598
cbc00a03
RM
95992012-05-21 Roland McGrath <roland@hack.frob.com>
9600
9601 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9602 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9603 __alignof__ (long double).
9604
478143fa
AZ
96052012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9606
9607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9608
c7683a6d
RH
96092012-05-20 Richard Henderson <rth@twiddle.net>
9610
9611 * misc/getauxval.c: New file.
9612 * misc/sys/auxv.h: New file.
9613 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9614 (routines): Add getauxval.
9615 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9616 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9617 * elf/dl-sysdep.c (_dl_auxv): Remove.
9618 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9619 * elf/dl-support.c (_dl_auxv): New variable.
9620 (_dl_aux_init): Initialize it.
9621 * manual/startup.texi (Auxiliary Vector): New node.
9622 * sysdeps/generic/bits/hwcap.h: New file.
9623 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9624 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9625 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9626 * sysdeps/sparc/sysdep.h: ... here. Include it.
9627 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9628 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9630 Update.
c7683a6d
RH
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9634 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9639
a6f1845d
AZ
96402012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9641
9642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9643
cbcbe830
DM
96442012-05-19 David S. Miller <davem@davemloft.net>
9645
9646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9647
e0b16cc2
JM
96482012-05-19 Joseph Myers <joseph@codesourcery.com>
9649
9650 [BZ #14123]
9651 * math/s_ccosh.c: Include <float.h>
9652 (__ccosh): Avoid internal overflow calculating sinh and cosh
9653 values before multiplying by sin and cos values.
9654 * math/s_ccoshf.c: Likewise.
9655 * math/s_ccoshl.c: Likewise.
9656 * math/s_csin.c: Likewise.
9657 * math/s_csinf.c: Likewise.
9658 * math/s_csinl.c: Likewise.
9659 * math/s_csinh.c: Likewise.
9660 * math/s_csinhf.c: Likewise.
9661 * math/s_csinhl.c: Likewise.
9662 * math/libm-test.inc (ccos_test): Add more tests.
9663 (ccosh_test): Likewise.
9664 (csin_test): Likewise.
9665 (csinh_test): Likewise.
9666 * sysdeps/i386/fpu/libm-test-ulps: Update.
9667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9668
6ad13e08
L
96692012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9670
f66f0ce8
L
9671 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9672 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9673
6ad13e08
L
9674 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9675
b1d072a7
JM
96762012-05-19 Joseph Myers <joseph@codesourcery.com>
9677
9678 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9679 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9680 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9681 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9682 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9683 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9684 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9685 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9686 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9687 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9688 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9689 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9690 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9691 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9692 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9693 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9694 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9695 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9696 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9697 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9698 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9699 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9700 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9701 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9702 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9703 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9704 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9705 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9706 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9707 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9708 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9709
9eae47cb
AJ
97102012-05-18 Andreas Jaeger <aj@suse.de>
9711
9712 * csu/.gitignore: Delete.
9713
bb07f69f
L
97142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9715
9716 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9717 (timex): Use __syscall_slong_t.
9718
e6bdb741
AJ
97192012-05-18 Andreas Jaeger <aj@suse.de>
9720 Carlos O'Donell <carlos_odonell@mentor.com>
9721
9722 * manual/install.texi (Configuring and compiling): Update
9723 description about files modified in the source directory.
d6c33fda 9724 * INSTALL: Regenerated.
e6bdb741 9725
1b74487e
L
97262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9727
9728 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9729 value. Use "or" to set return value to -1.
9730 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9731 negate return value.
9732
a88b64b9
TMQMF
97332012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9734
9735 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9736 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9737 failure if the compiler has Graphite support disabled.
9738 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9739 Likewise.
9740 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9741 CFLAGS-memmove.c): Likewise.
9742 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9743 Likewise.
9744
3707636e
L
97452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9746
610b8622
L
9747 * sysdeps/x86_64/x32/_itoa.h: New file.
9748
7cd195df
L
9749 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9750 getdents system call only if kernel and user dirents have the
9751 same d_ino and d_off.
9752
94b07d20
L
9753 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9754 LLONG_MAX != LONG_MAX.
9755 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9756 (_fitoa_word): Likewise.
9757
18298070
L
9758 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9759 years.
9760 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9761 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9762 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9763
553c7ea4
L
9764 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9765 include <bits/wordsize.h>. Check __x86_64__ instead of
9766 __WORDSIZE.
9767 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9768 if __x86_64__ is defined. Use anonymous union on fpstate.
9769
3707636e
L
9770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9771 anonymous union.
9772
b53ef01a
AS
97732012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9774
37fb1dc0
AS
9775 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9776 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9777 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9778 Refer to _rtld_local_ro instead of _rtld_global_ro.
9779 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9780 Likewise.
9781 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9782 Likewise.
9783 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9784 Likewise.
9785 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9786 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9787 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9788
b53ef01a
AS
9789 * sysdeps/powerpc/powerpc32/dl-machine.c
9790 (__elf_machine_runtime_setup) [PROF]: Don't reference
9791 _dl_prof_resolve.
9792
7a185db2
AJ
97932012-05-18 Andreas Jaeger <aj@suse.de>
9794
9795 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9796 function only available for GCCs before 3.4 since GCC 3.4
9797 introduced a builtin.
9798 (lrint): Likewise.
9799 (llrintf): Likewise.
9800 (llrint): Likewise.
9801 (fmaxf): Likewise.
9802 (fmax): Likewise.
9803 (fminf): Likewise.
9804 (fmin): Likewise.
9805 (rint): Likewise.
9806 (rintf): Likewise.
9807 (nearbyint): Likewise.
9808 (nearbyintf): Likewise.
9809 (ceil): Likewise.
9810 (ceilf): Likewise.
9811 (floor): Likewise.
9812 (floorf): Likewise.
9813
3e5aef87
L
98142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9815
428bd707
L
9816 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9817 on both fields and cast pointer to __syscall_ulong_t.
9818
3e5aef87
L
9819 * bits/types.h (__fsword_t): New type.
9820 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9821 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9823 (__FSWORD_T_TYPE): Likewise.
9824 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9825 (__FSWORD_T_TYPE): Likewise.
9826 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9827 (__FSWORD_T_TYPE): Likewise.
9828 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9829 (__FSWORD_T_TYPE): Likewise.
9830 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9831 __SWORD_TYPE with __fsword_t.
9832 (statfs64): Likewise.
9833
1ba7c3dc
DM
98342012-05-17 David S. Miller <davem@davemloft.net>
9835
9836 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9837
59910343
AJ
98382012-05-17 Andreas Jaeger <aj@suse.de>
9839
9840 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9841 warning.
9842
2e4c1e9e
L
98432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9844
9845 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9846
de7f5ce7
AJ
98472012-05-17 Andreas Jaeger <aj@suse.de>
9848
9849 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9850 when it is used.
9851
286abc3d
CM
98522012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9853
9854 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9855
477cc68e
L
98562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9857
9858 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9859 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9860
1a0994f5
CD
98612012-05-17 Andreas Jaeger <aj@suse.de>
9862 Carlos O'Donell <carlos_odonell@mentor.com>
9863
9864 [BZ #14059]
9865 * sysdeps/x86_64/multiarch/init-arch.h
9866 (bit_YMM_Usable): Rename to...
9867 (bit_AVX_Usable): ... this.
9868 (bit_FMA4_Usable): New macro.
9869 (bit_XMM_state): New macro.
9870 (bit_YMM_state): New macro.
9871 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9872 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9873 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9874 (CPUID_OSXSAVE): New macro.
9875 (CPUID_AVX): New macro.
9876 (CPUID_FMA4): New macro.
9877 (index_YMM_Usable): Rename to...
9878 (index_AVX_Usable): ... this.
9879 (HAS_AVX): Use HAS_ARCH_FEATURE.
9880 (HAS_FMA4): Likewise.
9881 (HAS_YMM_USABLE): Remove.
9882 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9883 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9884 are present.
9885 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9886 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9887 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9888 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9889 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9890
0af797de
CM
98912012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9892
9893 * math/libm-test.c: Support platforms without multiple rounding modes.
9894 * math/bug-nextafter.c: Support platforms without FP exceptions.
9895 * math/bug-nexttoward.c: Likewise.
9896 * math/test-fenv.c: Likewise.
9897 * math/test-misc.c: Likewise.
9898 * stdlib/bug-getcontext.c: Likewise.
9899
e39745ff
AJ
99002012-05-17 Andreas Jaeger <aj@suse.de>
9901
9902 * manual/examples/search.c (critter_cmp): Change signature to
9903 avoid warnings.
9904 * manual/string.texi (Collation Functions): Likewise.
9905
48970aba
L
99062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9907
9908 * bits/types.h: Fold copyright years.
9909 * bits/typesizes.h: Likewise.
9910 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9911 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9912 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9914 * time/time.h: Likewise.
9915
bedee953
PP
99162012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9917
9918 [BZ #208]
9919 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9920 in instead of returning them. Return void.
9921 (__libc_mallinfo): Accumulate over all arenas.
9922 (__malloc_stats): Adjust for change in int_mallinfo interface.
9923
61653dfb
RM
99242012-05-16 Roland McGrath <roland@hack.frob.com>
9925
30b99d79
RM
9926 [BZ #10375]
9927 * configure.in (NM): Add AC_CHECK_TOOL for it.
9928 (libc_extra_cflags): New substituted variable.
9929 Check for -fstack-protector being used implicitly.
9930 * configure: Regenerated.
9931 * config.make.in (config-extra-cflags): New variable,
9932 gets @libc_extra_cflags@.
9933 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9934
61653dfb
RM
9935 [BZ #10375]
9936 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9937 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9938 * configure: Regenerated.
9939 * config.make.in (CPPUNDEFS): New substituted variable.
9940 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9941 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9942 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9943
661768bb
L
99442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9945
9946 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9947 (mq_attr): Use __syscall_slong_t.
9948
d4261567
L
99492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9950
9951 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9952 Check __x86_64__ instead of __WORDSIZE.
9953 (_STAT_VER_LINUX): Likewise.
9954 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9955 __syscall_ulong_t and __syscall_slong_t.
9956 (stat64): Likewise.
9957
cf3ff365
L
99582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9959
9960 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9961
76cf3e4d
L
99622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9963
9964 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9965
a637753a
L
99662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9967
9968 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9969 __syscall_ulong_t.
9970
d5e05119
L
9971 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9972 include <bits/wordsize.h>. Check __x86_64__ instead of
9973 __WORDSIZE.
9974 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9975 defined.
9976 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9977
f62ee380
L
9978 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9979 include <bits/wordsize.h>. Check __x86_64__ instead of
9980 __WORDSIZE.
9981 (user_regs_struct): Use "__extension__ unsigned long long"
9982 instead of "unsigned long" if __x86_64__ is defined.
9983 (user): Likewise. Pad after pointer field if __ILP32__ is
9984 defined.
9985
4e124ced
JM
99862012-05-16 Joseph Myers <joseph@codesourcery.com>
9987
6a3951a0
JM
9988 * configure.in (makeinfo): Require version 4.5 or later. Allow
9989 versions 5 to 9.
9990 * configure: Regenerated.
9991 * manual/install.texi (texinfo): Increase version requirement to
9992 4.5 or later.
9993 * INSTALL: Regenerated.
9994
4e124ced
JM
9995 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9996
953ca31a
L
99972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9998
9999 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10000
617aca05
L
10001 * sysdeps/x86_64/x32/ffs.c: New file.
10002
5762f7ae
L
10003 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10004 __syscall_ulong_t.
10005 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10006 defined. Use __syscall_ulong_t.
10007 (shminfo): Use __syscall_ulong_t.
10008 (shm_info): Likewise.
10009
a26b6856
L
10010 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10011 __syscall_ulong_t.
10012
cb2b9ef7
L
10013 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10014 <bits/wordsize.h>.
10015 (msgqnum_t): Use __syscall_ulong_t.
10016 (msglen_t): Likewise.
10017 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10018 __syscall_ulong_t.
10019
34683bb0
L
10020 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10021 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10022
84a68786
L
10023 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10024
48baa5f1
L
10025 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10026 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10027
180be88b
L
10028 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10029 __syscall_slong_t.
10030
5e90c8ad
L
10031 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10032 include <bits/wordsize.h>. Check __x86_64__ instead of
10033 __WORDSIZE.
10034
23dfb58b
L
10035 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10036 "unsigned long long int" if __x86_64__ is defined.
10037 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10038
ce5d54b0
L
10039 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10040 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10041 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10042
13dc9eac
L
10043 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10044 <stdint.h>.
10045 (GET_PC): Cast to uintptr_t first.
10046 (GET_FRAME): Likewise.
10047 (GET_STACK): Likewise.
10048
a7895d15
L
10049 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10050 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10051 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10053 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10055 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10056 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10057 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10058 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10060 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10061 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10062 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10063 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10064 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10065 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10066 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10067 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10068 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10069 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10070 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10071 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10072 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10073 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10076 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10078
656416c9
AS
100792012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10080
5bd66283
AS
10081 * Makerules (+depfiles): Also collect depfiles from .oS in
10082 $(extra-objs).
10083 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10084 .oS, $(libnldbl-routines)).
10085
656416c9
AS
10086 * Makerules (native-compile-mkdep-flags): Define.
10087 * sunrpc/Makefile (extra-objs): Add $(addprefix
10088 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10089 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10090 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10091 calling $(make-target-directory).
10092
a46f2169
L
100932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10094
10095 * bits/types.h (__snseconds_t): Removed.
10096 * time/time.h (struct timespec): Replace __snseconds_t with
10097 __syscall_slong_t.
10098 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10099 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10100 Likewise.
10101 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10102 (__SNSECONDS_T_TYPE): Likewise.
10103 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10104 (__SNSECONDS_T_TYPE): Likewise.
10105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10106 (__SNSECONDS_T_TYPE): Likewise.
10107
6af6528b
L
101082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10109
10110 * sysdeps/mach/hurd/bits/typesizes.h
10111 (__SYSCALL_SLONG_TYPE): New macro.
10112 (__SYSCALL_ULONG_TYPE): Likewise.
10113
de986b56
L
101142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10115
10116 * bits/types.h (__syscall_slong_t): New type.
10117 (__syscall_ulong_t): Likewise.
10118
10119 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10120 (__SYSCALL_ULONG_TYPE): Likewise.
10121 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10122 (__SYSCALL_SLONG_TYPE): Likewise.
10123 (__SYSCALL_ULONG_TYPE): Likewise.
10124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10125 (__SYSCALL_SLONG_TYPE): Likewise.
10126 (__SYSCALL_ULONG_TYPE): Likewise.
10127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10128 (__SYSCALL_SLONG_TYPE): Likewise.
10129 (__SYSCALL_ULONG_TYPE): Likewise.
10130
85736dc7
L
101312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10132
10133 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10134 Add sigaltstack-offsets.sym.
10135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10136 <sigaltstack-offsets.h>.
10137 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10138 longjmp_msg pointer.
10139 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10140 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10141 signal stack.
10142 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10143
cc03b296
JM
101442012-05-15 Joseph Myers <joseph@codesourcery.com>
10145
a9538892
JM
10146 * elf/stackguard-macros.h: Remove file.
10147 * sysdeps/generic/stackguard-macros.h: New file.
10148 * sysdeps/i386/stackguard-macros.h: Likewise.
10149 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10150 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10151 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10152 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10153 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10154 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10155 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10156 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10157 <elf/stackguard-macros.h>.
10158
cc03b296
JM
10159 [BZ #14109]
10160 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10161 __aligned__ in attribute.
10162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10163 (gregset_t): Likewise.
10164
93171016
L
101652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10166
10167 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10168 * sysdeps/x86_64/64/Implies-after: Here. New file.
10169 * sysdeps/x86_64/x32/Implies-after: New file.
10170
d86813a0
L
101712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10172
10173 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10174 and access return value for _dl_profile_fixup. Use R10_LP to
10175 load frame size.
10176
2953ec75
L
101772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10178
10179 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10180
3b550e9e
L
101812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10182
10183 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10184 * sysdeps/x86_64/x32/sysdep.h: New file.
10185
eda41706
L
101862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10187
10188 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10189 * sysdeps/x86_64/setjmp.S: Likewise.
10190
9ea01d93
AZ
101912012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10192
10193 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10194 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10195 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10196 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10197 remove unused global constant.
10198
02a91938
CM
101992012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10200
10201 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10202 include of <not-cancel.h>.
10203
6540185f
RM
102042012-05-15 Roland McGrath <roland@hack.frob.com>
10205
10206 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10207
509072a0
AJ
102082012-05-15 Jeff Law <law@redhat.com>
10209 Andreas Jaeger <aj@suse.de>
10210
10211 [BZ #13594]
10212 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10213 out from...
10214 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10215 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10216 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10217 code changing __hst_map_handle.map.
10218
ba75122d
RM
102192012-05-15 Roland McGrath <roland@hack.frob.com>
10220
10221 * configure.in (sysnames): Look for Implies-before and Implies-after
10222 files.
10223 * configure: Regenerated.
10224
890d8bd8
L
102252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10226
10227 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10228 8-byte data alignment with LP_SIZE alignment.
10229
f6ee6623
L
102302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10231
10232 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10233 into R10_LP.
10234
ea2626f6
L
102352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10236
10237 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10238
085f715e
L
102392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10240
10241 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10242 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10243 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10244 Likewise.
10245 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10246
be8498fc
L
102472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10248
10249 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10250 (stackinfo_sub_sp): Likewise.
10251
70bc83b9
L
102522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10253
10254 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10255 RAX_LP.
10256
9bc0b730
L
102572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10258
10259 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10260 into R*_LP.
10261
6d2850e7
L
102622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10263
10264 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10265 sizes into R*_LP.
10266
3cb84561
L
102672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10268
10269 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10270
54e2ed81
L
102712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10272
10273 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10274 into R11_LP and load __x86_64_shared_cache_size_half into
10275 R8_LP.
10276
8a17f349
L
102772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10278
10279 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10280 R8_LP.
10281
777b1eea
AZ
102822012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10283
10284 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10285 logb for POWER7.
10286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10287 logbf for POWER7.
10288 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10289 logbl for POWER7.
10290 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10291 powerpc32/power7/fpu/s_logb.c via #include.
10292 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10293 powerpc32/power7/fpu/s_logbf.c via #include.
10294 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10295 powerpc32/power7/fpu/s_logbl.c via #include.
10296
d20d4ac2
JM
102972012-05-15 Joseph Myers <joseph@codesourcery.com>
10298
10299 * README.libm: Remove file.
10300
6cdef1ab
L
103012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10302
10303 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10304 count for x32. Use R*_LP and omit operand-size suffix.
10305
0b254d8f
L
103062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10307
10308 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10309 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10310 * sysdeps/x86_64/x32/shlib-versions: New file.
10311
ceb809dc
RM
103122012-05-14 Roland McGrath <roland@hack.frob.com>
10313
10314 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10315 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10316 Use _dl_fatal_printf instead.
10317
37f1abd4
JM
103182012-05-14 Joseph Myers <joseph@codesourcery.com>
10319
10320 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10321 set if not set by the user. Do not allow for being unset.
10322 * sysdeps/unix/sysv/linux/configure: Regenerated.
10323
11de3a33
L
103242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10325
10326 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10327 the `q' suffix from lea and replace .quad with ASM_ADDR.
10328
e02f153a
L
103292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10330
10331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10332 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10333 instead of $17.
10334 (PTR_DEMANGLE): Likewise.
10335
520ae0fd
L
103362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10337
10338 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10339 (LP_OP): Likewise.
10340 (ASM_ADDR): Likewise.
10341 (RAX_LP): Likewise.
10342 (RBP_LP): Likewise.
10343 (RBX_LP): Likewise.
10344 (RCX_LP): Likewise.
10345 (RDI_LP): Likewise.
10346 (RSI_LP): Likewise.
10347 (RSP_LP): Likewise.
10348 (R8_LP): Likewise.
10349 (R9_LP): Likewise.
10350 (R10_LP): Likewise.
10351 (R10_LP): Likewise.
10352 (R11_LP): Likewise.
10353 (R12_LP): Likewise.
10354 (R13_LP): Likewise.
10355 (R14_LP): Likewise.
10356 (R15_LP): Likewise.
10357
b985be81
L
103582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10359
10360 * sysdeps/x86_64/x32/dl-machine.h: New file.
10361
6a4888ff
AJ
103622012-05-14 Andreas Jaeger <aj@suse.de>
10363
10364 * manual/Makefile (subdir): Remove export of subdir.
10365 (all): Remove target.
10366 (.PHONY): Remove all from list.
10367 (mkinstalldirs): Remove.
10368 (.PHONY): Remove installdirs from list.
10369 ($(inst_infodir)/libc.info): Use make-target-directory.
10370 (installdirs): Remove.
10371 (subdir_%): Remove.
10372 (glibc-targets): Remove.
10373 (lib): Remove.
10374 (stubs): Remove.
10375 ($(objpfx)stubs ../po/manual.pot): Remove.
10376 ($(objpfx)stamp%): Remove.
10377 (make-target-directory): Remove.
10378 (subdir_install): Remove.
10379 (routines): Remove.
10380 (aux): Remove.
10381 (sources): Remove.
10382 (objects): Remove.
10383 (headers): Remove.
10384
10385 [BZ #13750]
10386 * manual/.gitignore: Remove, it's not needed anymore.
10387 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10388 all files in it.
10389 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10390 directory.
10391 (texis): Renamed to $(objpfx)texis.
10392 (texis-path): New, contains path to generated files.
10393 (chapters.%): Use texis-path for complete path, add extra argument
10394 libc-texinfo.sh.
10395 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10396 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10397 (summary,texi, stamp-summary): Use complete path of
10398 files. Generate files in build dir.
10399 (dir-add.texi): Build in build dir.
10400 (libm-err.texi,stamp-libm-err): Likewise.
10401 (version.texi, stamp-version): Likewise.
10402 (.%c.texi): Likewise.
10403 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10404 (mostlyclean): Remove target.
10405 (realclean): Remove target.
10406 (generated): Add new variable with contents from mostlyclean and
10407 realclean, remove entries duplicated in common-mostlyclean, add
10408 stamp-libm-err and stamp-version.
10409 (generated-dirs): Add libc directory.
10410 ($(inst_infodir)/libc.info): Install files from build dir.
10411
10412 * manual/install.texi (Configuring and compiling): Adjust since
10413 the info files are not part of the tar ball anymore.
10414
7ac77294
AJ
104152012-05-14 Andreas Jaeger <aj@suse.de>
10416
10417 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10418 variable.
10419
ffb7875d
JM
104202012-05-14 Joseph Myers <joseph@codesourcery.com>
10421
10422 [BZ #13717]
10423 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10424 to 2.2.0 where earlier.
10425 * sysdeps/unix/sysv/linux/configure: Regenerated.
10426 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10427 Remove conditional code.
10428 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10429 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10430 Remove conditional code.
10431 [!__NR_lchown]: Likewise.
10432 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10433 [__NR_lchown]: Likewise.
10434 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10435 comment referencing __ASSUME_LCHOWN_SYSCALL.
10436 * sysdeps/unix/sysv/linux/i386/sigaction.c
10437 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10438 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10439 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10440 Remove conditional code.
10441 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10442 (__protocol_available): Remove #if 0 code.
10443 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10444 conditional code.
10445 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10446 * sysdeps/unix/sysv/linux/kernel-features.h
10447 (__ASSUME_GETCWD_SYSCALL): Don't define.
10448 (__ASSUME_REALTIME_SIGNALS): Likewise.
10449 (__ASSUME_PREAD_SYSCALL): Likewise.
10450 (__ASSUME_PWRITE_SYSCALL): Likewise.
10451 (__ASSUME_POLL_SYSCALL): Likewise.
10452 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10453 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10454 non-SPARC.
10455 (__ASSUME_SIOCGIFNAME): Don't define.
10456 (__ASSUME_MSG_NOSIGNAL): Likewise.
10457 (__ASSUME_SENDFILE): Define unconditionally.
10458 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10459 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10460 conditional code.
10461 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10462 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10463 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10464 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10465 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10466 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10467 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10469 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10472 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10473 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10475 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10476 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10478 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10479 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10481 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10482 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10484 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10485 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10487 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10488 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10490 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10492 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10493 Remove conditional code.
10494 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10495 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10496 Remove conditional code.
10497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10498 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10499 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10500 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10501 Remove conditional code.
10502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10503 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10504 Remove conditional code.
10505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10506 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10507 Remove conditional code.
10508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10509 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10510 Remove conditional code.
10511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10512 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10513 Remove conditional code.
10514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10515 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10518 * sysdeps/unix/sysv/linux/sigaction.c
10519 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10520 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10521 * sysdeps/unix/sysv/linux/sigpending.c
10522 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10523 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10524 * sysdeps/unix/sysv/linux/sigprocmask.c
10525 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10526 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10527 * sysdeps/unix/sysv/linux/sigsuspend.c
10528 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10529 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10530 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10531 (__libc_missing_rt_sigs): Remove.
10532 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10533 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10534 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10535 Remove conditional code.
10536 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10537 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10538 return 1.
10539 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10540 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10541 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10542 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10543
1bfb7291
AJ
105442012-05-14 Andreas Jaeger <aj@suse.de>
10545
caae5a81
AJ
10546 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10547 it's not used in glibc.
10548 (__coshm1): Likewise.
10549 (__acosh1p): Likewise.
10550 (__sgn): Likewise.
10551
1bfb7291
AJ
10552 * manual/string.texi (Copying and Concatenation): Add missing
10553 variable in concat example.
10554 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10555
c044d724
L
105562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10557
144c5467 10558 [BZ #14103]
c044d724
L
10559 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10560 __builtin_clzl with __builtin_clzll.
10561
2523c62b
L
105622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10563
10564 [BZ #14104]
10565 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10566 libc_freeres_ptr.
10567
d7bb4c42
LD
105682012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10569
10570 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10571 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10572 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10573 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10574
9dc4e1fb
MF
105752012-05-14 Mike Frysinger <vapier@gentoo.org>
10576
10577 * NEWS: Update ia64 info.
10578
c7df0112
AS
105792012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10580
10581 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10582 used as bcopy.
10583
dc70356c
TS
105842012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10585
10586 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10587 * sysdeps/unix/syscalls.list (dup3): Likewise.
10588 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10589 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10590
9fb1a21f
L
105912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10592
10593 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10594 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10595
4822a2a5
L
105962012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10597
10598 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10599 thread pointer.
10600 (TLS_IE): Use mov/add instead of movq/addq to load thread
10601 pointer.
10602 (TLS_GD_PREFIX): New.
10603 (TLS_GD): Use it.
10604
842b81d6
DM
106052012-05-11 David S. Miller <davem@davemloft.net>
10606
10607 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10608 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10609 (_FPU_SETCW): Likewise.
10610
1cf463cd
L
106112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10612
10613 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10614 is 32-byte aligned.
10615
60cc4a18
AS
106162012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10617
10618 [BZ #11837]
10619 * iconvdata/gb18030.c: Update tables.
10620 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10621 characters specially.
10622 (BODY for TO_LOOP): Add encoding of missing ranges.
10623
febb44a4
TS
106242012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10625
10626 [BZ #13673]
10627 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10628 * sysdeps/mach/hurd/dup3.c: Likewise.
10629 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10630 * sysdeps/powerpc/memmove.c:: Likewise.
10631
0a10fb9e
L
106322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10633
10634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10635 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10636
df8a552f
L
106372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10638
10639 * elf/elf.h (R_X86_64_RELATIVE64): New.
10640 (R_X86_64_NUM): Updated.
10641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10642 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10643 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10644 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10645 tst-quad1pie tst-quad2pie
10646 (modules-names): Add tst-quadmod1 tst-quadmod2.
10647 ($(objpfx)tst-quad1): New dependency.
10648 ($(objpfx)tst-quad2): Likewise.
10649 ($(objpfx)tst-quad1pie): Likewise.
10650 ($(objpfx)tst-quad2pie): Likewise.
10651 * sysdeps/x86_64/tst-quad1.c: New file.
10652 * sysdeps/x86_64/tst-quad1pie.c: New file.
10653 * sysdeps/x86_64/tst-quad2.c: Likewise.
10654 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10655 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10656 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10657 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10658 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10659
f34d6f84
ST
106602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10661
f42d41d1
ST
10662 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10663 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10664 * streams/stropts.h (t_scalar_t): Define type.
10665
3c3571fc
ST
10666 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10667 (_PATH_PRESERVE): Set to "/var/lib".
10668 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10669
61f06bd3
ST
10670 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10671 instead of int.
10672
918d4d71
ST
10673 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10674 if __dir_mkfile succeeded.
10675
f34d6f84
ST
10676 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10677 checking for _hurd_dtablesize. Unlock it right after having
10678 finished _hurd_dtable allocation.
10679
10589b4a
TS
106802012-05-10 Thomas Schwinge <thomas@schwinge.name>
10681
674cdbc7
TS
10682 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10683 * sysdeps/mach/hurd/configure: Regenerated.
10684 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10685 special-casing to...
10686 * sysdeps/gnu/configure.in: ... this new file.
10687 * sysdeps/unix/sysv/linux/configure: Regenerated.
10688 * sysdeps/gnu/configure: New generated file.
10689
8e41b99f
TS
10690 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10691 for Linux: use nsec instead of usec, as well as:
10692 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10693 members of type struct timespec.
10694 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10695 New macros.
10696 (struct stat64): Likewise.
10697 (_STATBUF_ST_NSEC): New macro.
10698 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10699
10589b4a
TS
10700 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10701 __strtoul_internal rather than strtoul.
10702
63643c85
PT
107032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10704
10705 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10706 and reject them.
10707
3faebe6a
ST
107082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10709
10710 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10711 which preserves existing values.
10712 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10713
c6474b07
PT
107142012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10715
10716 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10717 TIMEOUT values. Return EINVAL for NFDS values either negative or
10718 greater than FD_SETSIZE.
10719
1043890b
ST
107202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10721
10722 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10723 allocated, call __vm_protect to finish enabling the existing space, and
10724 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10725 allocate the remainder.
10726
37ed8b9b
PT
107272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10728
10729 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10730 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10731
db653660
ST
107322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10733
37ed8b9b
PT
10734 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10735 sysdeps/mach/hurd/readlink.c.
b29d4053 10736
db653660
ST
10737 * posix/tst-sysconf.c (posix_options): Only use
10738 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10739 _POSIX_SYNCHRONIZED_IO when they are defined
10740 * sysdeps/mach/hurd/bits/posix_opt.h:
10741 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10742 (_XOPEN_REALTIME): Undefine macro.
10743 (_XOPEN_REALTIME_THREADS): Undefine macro.
10744 (_XOPEN_SHM): Undefine macro.
10745 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10746 macro to -1.
10747 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10748 macro to -1.
10749 (_POSIX_ASYNC_IO): Undefine macro.
10750 (_POSIX_PRIORITIZED_IO): Undefine macro.
10751 (_POSIX_SPIN_LOCKS): Define macro to -1.
10752
ee16e894
ST
10753 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10754 SA_NODEFER, SA_RESETHAND.
10755 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10756 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10757 F_DUPFD_CLOEXEC.
10758
6103ae3b
TS
107592012-05-10 Thomas Schwinge <thomas@schwinge.name>
10760
10761 * elf/Makefile (pldd-modules): Define unconditionally.
10762
80b4e5f3
TS
107632012-05-10 Thomas Schwinge <thomas@schwinge.name>
10764
10765 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10766
edadcbd6
ST
107672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10768
10769 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10770 Return ENOENT when name is empty.
10771 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10772
80694780
TS
107732012-05-10 Thomas Schwinge <thomas@schwinge.name>
10774
1792c087
TS
10775 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10776
80694780
TS
10777 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10778
6b645f0d
ST
107792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10780
80694780
TS
10781 Fix mlock in all cases except non-readable pages.
10782 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10783 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10784
6b645f0d
ST
10785 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10786 (__mkdir): When path is `/', just fail with EEXIST.
10787 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10788
e468f8a3
TS
107892012-05-10 Thomas Schwinge <thomas@schwinge.name>
10790
10791 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10792 <sys/uio.h> (for writev).
10793 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10794 and <sys/param.h> (for MIN).
10795
a4186cff
PT
107962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10797
10798 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10799 REQUESTED_TIME. Properly set the remaining time and return EINTR
10800 if interrupted.
10801
510bbf14
TS
108022012-05-10 Thomas Schwinge <thomas@schwinge.name>
10803
10804 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10805 Depend on against $(link-rpcuserlibs).
10806
5d5722e8
ST
108072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10808
a4186cff
PT
10809 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10810 (__libc_stack_end): Do not use attribute_relro.
10811 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10812 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10813 to libthread-provided value.
a4186cff
PT
10814 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10815 attribute_relro.
5d5722e8 10816
37233df9
TS
108172012-05-10 Thomas Schwinge <thomas@schwinge.name>
10818
be971a2b
TS
10819 [BZ #3748]
10820 * bits/libc-lock.h (__libc_once_get): New macro.
10821 * sysdeps/mach/bits/libc-lock.h: Likewise.
10822 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10823 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10824 instead of using implementation details.
10825
37233df9
TS
10826 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10827 * libio/freopen.c: Likewise.
10828 * libio/freopen64.c: Likewise.
10829 * misc/syslog.c: Likewise.
10830 * nscd/connections.c: Likewise.
10831 * nscd/netgroupcache.c: Likewise.
10832 * sysdeps/posix/getcwd.c: Likewise.
10833
38de94a5
RM
108342012-05-10 Roland McGrath <roland@hack.frob.com>
10835
10836 * math/w_ilogbf.c: Add #include <limits.h>.
10837
67530489
ST
108382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10839
a4186cff 10840 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10841 path instead of returning without unlocking.
10842
67530489
ST
10843 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10844 immediate-write ioctls.
10845 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10846
5aa3a74a
TS
108472012-05-10 Thomas Schwinge <thomas@schwinge.name>
10848
18bad2ae
TS
10849 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10850 __builtin_frame_address instead of making assumptions about the
10851 location of the return address relative to DATA. Force early load of
10852 the return address.
10853 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10854 __builtin_frame_address.
10855
5aa3a74a
TS
10856 dup3 for GNU Hurd.
10857 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10858 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10859 implement dup3 and do some further code clean-ups.
10860 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10861 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10862
ecd0de9a
ST
108632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10864
cd9fa985
ST
10865 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10866
a4186cff
PT
10867 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10868 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10869 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10870 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10871 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10872 d->port.lock.
802ca5a5 10873
a4186cff
PT
10874 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10875 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10876 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10877
bcf55240
TS
108782012-05-10 Thomas Schwinge <thomas@schwinge.name>
10879
6960eb42
TS
10880 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10881 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10882 definitions.
10883
eb43375f
TS
10884 accept4 for GNU Hurd.
10885 * include/sys/socket.h (__libc_accept4): New prototype.
10886 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10887 to implement __libc_accept4.
10888 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10889 __libc_accept4.
10890 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10891
bcf55240
TS
10892 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10893 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10894 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10895 signal-defines.sym.
10896
6178c55b
ST
108972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10898
a4186cff 10899 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10900
6f080c2f
TS
109012012-05-10 Thomas Schwinge <thomas@schwinge.name>
10902
10903 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10904 assertion on O_CLOEXEC flag.
10905 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10906 * hurd/intern-fd.c: Likewise.
10907 * hurd/port2fd.c: Likewise.
10908
bcfe3a54
ST
109092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10910
10911 [BZ #3906]
10912 * bits/in.h (IPV6_PKTINFO): Define new macro.
10913 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10914
89c9aa49
AZ
109152012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10916
10917 [BZ #13954]
10918 [BZ #13955]
10919 [BZ #13956]
10920 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10921 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10922 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10923 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10924 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10925 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10926 * math/libm-test.inc (logb_test) : Additional logb tests.
10927
021db4be
AJ
109282012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10929 Andreas Jaeger <aj@suse.de>
10930
10931 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10932 * configure: Regenerated.
10933 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10934 * config.make.in (link-obsolete-rpc): New substituted variable.
10935 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10936 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10937 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10938 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10939 so that libc.a contains the symbols.
10940 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10941 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10942 * sunrpc/auth_none.c: Likewise.
10943 * sunrpc/auth_unix.c: Likewise.
10944 * sunrpc/authdes_prot.c: Likewise.
10945 * sunrpc/authuxprot.c: Likewise.
10946 * sunrpc/clnt_gen.c: Likewise.
10947 * sunrpc/clnt_perr.c: Likewise.
10948 * sunrpc/clnt_raw.c: Likewise.
10949 * sunrpc/clnt_simp.c: Likewise.
10950 * sunrpc/clnt_tcp.c: Likewise.
10951 * sunrpc/clnt_udp.c: Likewise.
10952 * sunrpc/clnt_unix.c: Likewise.
10953 * sunrpc/des_crypt.c: Likewise.
10954 * sunrpc/des_soft.c: Likewise.
10955 * sunrpc/get_myaddr.c: Likewise.
10956 * sunrpc/key_call.c: Likewise.
10957 * sunrpc/key_prot.c: Likewise.
10958 * sunrpc/netname.c: Likewise.
10959 * sunrpc/pm_getmaps.c: Likewise.
10960 * sunrpc/pm_getport.c: Likewise.
10961 * sunrpc/pmap_clnt.c: Likewise.
10962 * sunrpc/pmap_prot.c: Likewise.
10963 * sunrpc/pmap_prot2.c: Likewise.
10964 * sunrpc/pmap_rmt.c: Likewise.
10965 * sunrpc/publickey.c: Likewise.
10966 * sunrpc/rpc_cmsg.c: Likewise.
10967 * sunrpc/rpc_common.c: Likewise.
10968 * sunrpc/rpc_dtable.c: Likewise.
10969 * sunrpc/rpc_prot.c: Likewise.
10970 * sunrpc/rpc_thread.c: Likewise.
10971 * sunrpc/rtime.c: Likewise.
10972 * sunrpc/svc.c: Likewise.
10973 * sunrpc/svc_auth.c: Likewise.
10974 * sunrpc/svc_raw.c: Likewise.
10975 * sunrpc/svc_run.c: Likewise.
10976 * sunrpc/svc_tcp.c: Likewise.
10977 * sunrpc/svc_udp.c: Likewise.
10978 * sunrpc/svc_unix.c: Likewise.
10979 * sunrpc/svcauth_des.c: Likewise.
10980 * sunrpc/xcrypt.c: Likewise.
10981 * sunrpc/xdr.c: Likewise.
10982 * sunrpc/xdr_array.c: Likewise.
10983 * sunrpc/xdr_float.c: Likewise.
10984 * sunrpc/xdr_intXX_t.c: Likewise.
10985 * sunrpc/xdr_mem.c: Likewise.
10986 * sunrpc/xdr_rec.c: Likewise.
10987 * sunrpc/xdr_ref.c: Likewise.
10988 * sunrpc/xdr_sizeof.c: Likewise.
10989 * sunrpc/xdr_stdio.c: Likewise.
10990
b5c086a2
RM
109912012-05-10 Roland McGrath <roland@hack.frob.com>
10992
10993 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10994 change. Update copyright years.
10995
6d74dd09
JM
109962012-05-10 Joseph Myers <joseph@codesourcery.com>
10997
10998 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10999
28e72501
MK
110002012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11001 Joseph Myers <joseph@codesourcery.com>
11002 Paul Pluzhnikov <ppluzhnikov@google.com>
11003
11004 [BZ #14012]
11005 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11006 requiring rpcgen.
11007 [cross-compiling] (extra-libs): Likewise.
11008 [cross-compiling] (extra-libs-others): Likewise.
11009 [cross-compiling] (librpcsvc-routines): Likewise.
11010 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11011 [cross-compiling] (omit-deps): Likewise.
11012 (sunrpc-CPPFLAGS): New variable.
11013 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11014 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11015 (cross-rpcgen-objs): New variable.
11016 (extra-objs): Append $(cross-rpcgen-objs).
11017 ($(cross-rpcgen-objs)): New rule.
11018 ($(objpfx)cross-rpcgen): Likewise.
11019 (rpcgen-cmd): Define to use $(built-program-file). Expand
11020 comment.
11021 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11022 ($(objpfx)x%.stmp): Likewise.
11023 * sunrpc/proto.h [IS_IN_build] (_): Define.
11024 [IS_IN_build] (_libc_intl_domainname): Likewise.
11025
c8c59454
L
110262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11027
11028 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11029 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11030 and R_X86_64_TPOFF64.
11031
6f27cd16
JM
110322012-05-10 Joseph Myers <joseph@codesourcery.com>
11033
11034 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11035 sysdeps/unix/sysv/syscalls.list.
11036 (stime): Likewise.
11037 (utime): Likewise.
11038 * sysdeps/unix/sysv/syscalls.list: Remove file.
11039
02467e1c
PE
110402012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11041
11042 [BZ #3440]
11043 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11044 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11045 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11046 (__LC_IDENTIFICATION): Make these macros useful in #if
11047 expressions, as required by C99.
11048
da392631
AS
110492012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11050
11051 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11052 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11053 after this.
11054
8115f29b
L
110552012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11056
11057 * stdlib/longlong.h: Updated from GCC.
11058
bdd74070
AJ
110592012-05-09 Andreas Jaeger <aj@suse.de>
11060
edfe0dbe
AJ
11061 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11062 default is first entry.
11063 (run_mode): Set type.
11064 (main): Remove informal message about syslog.
11065 (options): Fix typo.
11066
bcfe3a54
ST
11067 [BZ #14053]
11068 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11069 to asm.
bcfe3a54
ST
11070 (lrint): Likewise.
11071 (llrintf): Likewise.
11072 (llrint): Likewise.
11073 (rint): Likewise.
11074 (rintf): Likewise.
11075 (nearbyint): Likewise.
11076 (nearbyintf): Likewise.
bdd74070 11077
91d8d69e
AJ
110782012-05-09 Andreas Jaeger <aj@suse.de>
11079 Pedro Alves <palves@redhat.com>
11080
11081 * nscd/nscd.c (run_mode): Use enum.
11082 (main): Cleanup coding style issue.
11083
bb90b80b
AJ
110842012-05-09 Alexandre Oliva <aoliva@redhat.com>
11085 Andreas Jaeger <aj@suse.de>
11086
bcfe3a54
ST
11087 * nscd/nscd.c (go_background): Replaced with...
11088 (run_mode): ... this.
bb90b80b 11089 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11090 (options): Add -F --foreground.
11091 (main): Implement it.
11092 (parse_opt): Parse it.
bb90b80b 11093
1a4b75a1
AJ
110942012-05-09 Andreas Jaeger <aj@suse.de>
11095
11096 [BZ #14083]
11097 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11098 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11099 -Wconversion warning.
11100 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11101 Likewise.
11102
b1cc2472
JM
111032012-05-09 Joseph Myers <joseph@codesourcery.com>
11104
11105 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11106 == 0.
11107 (LC_ALL): Use macro-int-constant.
11108 (LC_COLLATE): Likewise.
11109 (LC_CTYPE): Likewise.
11110 (LC_MESSAGES): Likewise.
11111 (LC_MONETARY): Likewise.
11112 (LC_NUMERIC): Likewise.
11113 (LC_TIME): Likewise.
11114 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11115 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11116 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11117 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11118 Specify type.
11119 [C99-based standards] (float_t): Expect type.
11120 [C99-based standards] (double_t): Expect type.
11121 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11122 type.
11123 [C99-based standards] (HUGE_VALL): Likewise.
11124 [C99-based standards] (INFINITY): Likewise.
11125 [C99-based standards] (NAN): Likewise.
11126 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11127 [C99-based standards] (FP_NAN): Likewise.
11128 [C99-based standards] (FP_NORMAL): Likewise.
11129 [C99-based standards] (FP_SUBNORMAL): Likewise.
11130 [C99-based standards] (FP_ZERO): Likewise.
11131 [C99-based standards] (FP_FAST_FMA): Use
11132 optional-macro-int-constant. Specify type. Require == 1.
11133 [C99-based standards] (FP_FAST_FMAF): Likewise.
11134 [C99-based standards] (FP_FAST_FMAL): Likewise.
11135 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11136 [C99-based standards] (FP_ILOGBNAN): Likewise.
11137 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11138 Specify type.
11139 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11140 [C99-based standards] (math_errhandling): Specify type.
11141 [ISO99 || ISO11] (signgam): Do not allow.
11142 [non-C99-based standards] (copysignf): Do not allow.
11143 [non-C99-based standards] (exp2f): Likewise.
11144 [non-C99-based standards] (log2f): Likewise.
11145 [non-C99-based standards] (modff): Allow.
11146 [non-C99-based standards] (erff): Do not allow.
11147 [non-C99-based standards] (erfcf): Likewise.
11148 [non-C99-based standards] (gammaf): Likewise.
11149 [non-C99-based standards] (hypotf): Likewise.
11150 [non-C99-based standards] (j0f): Likewise.
11151 [non-C99-based standards] (j1f): Likewise.
11152 [non-C99-based standards] (jnf): Likewise.
11153 [non-C99-based standards] (lgammaf): Likewise.
11154 [non-C99-based standards] (tgammaf): Likewise.
11155 [non-C99-based standards] (y0f): Likewise.
11156 [non-C99-based standards] (y1f): Likewise.
11157 [non-C99-based standards] (ynf): Likewise.
11158 [non-C99-based standards] (isnanf): Likewise.
11159 [non-C99-based standards] (acoshf): Likewise.
11160 [non-C99-based standards] (asinhf): Likewise.
11161 [non-C99-based standards] (atanhf): Likewise.
11162 [non-C99-based standards] (cbrtf): Likewise.
11163 [non-C99-based standards] (expm1f): Likewise.
11164 [non-C99-based standards] (ilogbf): Likewise.
11165 [non-C99-based standards] (log1pf): Likewise.
11166 [non-C99-based standards] (logbf): Likewise.
11167 [non-C99-based standards] (nextafterf): Likewise.
11168 [non-C99-based standards] (remainderf): Likewise.
11169 [non-C99-based standards] (rintf): Likewise.
11170 [non-C99-based standards] (scalbf): Likewise.
11171 [non-C99-based standards] (copysignl): Likewise.
11172 [non-C99-based standards] (exp2l): Likewise.
11173 [non-C99-based standards] (log2l): Likewise.
11174 [non-C99-based standards] (modfl): Allow.
11175 [non-C99-based standards] (erfl): Do not allow.
11176 [non-C99-based standards] (erfcl): Likewise.
11177 [non-C99-based standards] (gammal): Likewise.
11178 [non-C99-based standards] (hypotl): Likewise.
11179 [non-C99-based standards] (j0l): Likewise.
11180 [non-C99-based standards] (j1l): Likewise.
11181 [non-C99-based standards] (jnl): Likewise.
11182 [non-C99-based standards] (lgammal): Likewise.
11183 [non-C99-based standards] (tgammal): Likewise.
11184 [non-C99-based standards] (y0l): Likewise.
11185 [non-C99-based standards] (y1l): Likewise.
11186 [non-C99-based standards] (ynl): Likewise.
11187 [non-C99-based standards] (isnanl): Likewise.
11188 [non-C99-based standards] (acoshl): Likewise.
11189 [non-C99-based standards] (asinhl): Likewise.
11190 [non-C99-based standards] (atanhl): Likewise.
11191 [non-C99-based standards] (cbrtl): Likewise.
11192 [non-C99-based standards] (expm1l): Likewise.
11193 [non-C99-based standards] (ilogbl): Likewise.
11194 [non-C99-based standards] (log1pl): Likewise.
11195 [non-C99-based standards] (logbl): Likewise.
11196 [non-C99-based standards] (nextafterl): Likewise.
11197 [non-C99-based standards] (remainderl): Likewise.
11198 [non-C99-based standards] (rintl): Likewise.
11199 [non-C99-based standards] (scalbl): Likewise.
11200 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11201 [non-C99-based standards] (FP_*): Do not allow.
11202 [C99-based standards] (FP_*): Change to
11203 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11204 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11205 allow.
11206 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11207 (SIG_ERR): Likewise.
11208 [X/Open-based standards] (SIG_HOLD): Likewise.
11209 (SIG_IGN): Likewise.
11210 (SIGABRT): Use macro-int-constant. Specify type. Require
11211 positive value.
11212 (SIGFPE): Likewise.
11213 (SIGILL): Likewise.
11214 (SIGINT): Likewise.
11215 (SIGSEGV): Likewise.
11216 (SIGTER): Likewise.
11217 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11218 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11219 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11220 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11221 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11222 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11223 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11224 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11225 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11226 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11227 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11228 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11229 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11230 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11231 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11232 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11233 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11234 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11235 [X/Open-based standards] (SIGTRAP): Likewise.
11236 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11237 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11238 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11239 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11240 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11241 allow.
11242
b9f1922d
IW
112432012-05-08 Ian Wienand <ianw@vmware.com>
11244
11245 [BZ #14080]
11246 * time/tzset.c (__tzset_parse_tz): Update default rules for
11247 daylight time changes in the Energy Policy Act of 2005.
11248
1db86e88
AJ
112492012-05-09 Andreas Jaeger <aj@suse.de>
11250
11251 [BZ #13983]
11252 * elf/ldconfig.c (parse_conf): Change string to make clear that
11253 ldconfig only issued a warning if ld.so.conf does not exist.
11254
dee4a4e3
DM
112552012-05-08 David S. Miller <davem@davemloft.net>
11256
ee0db190
DM
11257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11258 movxtod instead of popping the value on the stack.
11259
dee4a4e3
DM
11260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11261
6a43ec98
CD
112622012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11263
11264 * config.h.in: Add HAVE_ARM_PCS_VFP.
11265
05c2c961
RMG
112662012-05-08 Roland Mc Grath <roland@hack.frob.com>
11267
bcfe3a54
ST
11268 [BZ #13979]
11269 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11270 checking but the checks are disabled for any reason.
05c2c961 11271
4b30f61a
L
112722012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11273
11274 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11275 and ELF64_R_TYPE with ELFW(R_TYPE).
11276
eee2bc67
JM
112772012-05-08 Joseph Myers <joseph@codesourcery.com>
11278
7ea5391a
JM
11279 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11280 (ulimit): Likewise.
11281
eee2bc67
JM
11282 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11283 (settimeofday): Likewise.
11284
abb66a67
MF
112852012-05-08 Mike Frysinger <vapier@gentoo.org>
11286
11287 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11288 a struct th_u2 inside the union, and move tu_block/tu_code into
11289 a new th_u3 union of tu_block/tu_code inside of that. Move
11290 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11291 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11292 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11293 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11294 (th_stuff): Change to th_u1.tu_stuff.
11295 (th_data): Define.
11296 (th_msg): Change to th_u1.th_u2.tu_data.
11297
7f18b530
DM
112982012-05-07 David S. Miller <davem@davemloft.net>
11299
05760585
DM
11300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11301
7f18b530
DM
11302 [BZ #14074]
11303 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11304 (SETUP_PIC_REG): Use it.
11305 (SETUP_PIC_REG_LEAF): Use it.
11306
495fd99f
JM
113072012-05-07 Joseph Myers <joseph@codesourcery.com>
11308
11309 [BZ #13885]
11310 [BZ #13923]
11311 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11312 USE_AS_EXPM1L.
11313 (EXPL_FINITE): Likewise.
11314 (FLDLOG): Likewise.
11315 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11316 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11317 e_expl.S.
11318 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11319 USE_AS_EXPM1L.
11320 (EXPL_FINITE): Likewise.
11321 (FLDLOG): Likewise.
11322 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11323 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11324 e_expl.S.
11325 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11326 test of -max_value argument for long double.
11327 * sysdeps/i386/fpu/libm-test-ulps: Update.
11328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11329
6693d694
DM
113302012-05-06 David S. Miller <davem@davemloft.net>
11331
11332 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11333 quad soft-float symbols whose references which are compiler
11334 generated.
11335 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11336
6c23e11c
JM
113372012-05-06 Joseph Myers <joseph@codesourcery.com>
11338
d8b82cad
JM
11339 [BZ #13884]
11340 [BZ #13914]
11341 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11342 USE_AS_EXP10L.
11343 (EXPL_FINITE): Likewise.
11344 (FLDLOG): Likewise.
11345 (c0): Likewise.
11346 (c1): Likewise.
11347 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11348 Adjust comments for base varying.
11349 (__expl_finite): Change alias to EXPL_FINITE.
11350 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11351 e_expl.S.
11352 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11353 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11355 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11356 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11357 USE_AS_EXP10L.
11358 (EXPL_FINITE): Likewise.
11359 (FLDLOG): Likewise.
11360 (c0): Likewise.
11361 (c1): Likewise.
11362 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11363 Adjust comments for base varying.
11364 (__expl_finite): Change alias to EXPL_FINITE.
11365 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11366 tests for bugs.
11367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11368
6c23e11c
JM
11369 [BZ #14064]
11370 * math/libm-test.inc (check_float_internal): Correct ulp
11371 calculation for subnormal expected results.
11372
29ba805c
AJ
113732012-05-06 Andreas Jaeger <aj@suse.de>
11374
11375 * Makeconfig (+math-flags): New, set to -frounding-math.
11376 (+cflags): Add +math-flags so that all of glibc gets compiled with
11377 it.
11378
11379 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11380
7b17aeda
JM
113812012-05-05 Joseph Myers <joseph@codesourcery.com>
11382
5779f134
JM
11383 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11384 Disable one test.
11385
41498f4d
JM
11386 [BZ #13787]
11387 [BZ #13922]
11388 [BZ #14036]
11389 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11390 (__ieee754_expl): Allow for and saturate large arguments.
11391 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11392 (u_threshold): Likewise.
11393 (__exp): Call __ieee754_exp before checking for overflow and
11394 underflow.
11395 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11396 (u_threshold): Likewise.
11397 (__expf): Call __ieee754_expf before checking for overflow and
11398 underflow.
11399 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11400 (u_threshold): Likewise.
11401 (__expl): Call __ieee754_expl before checking for overflow and
11402 underflow.
11403 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11404 (__ieee754_expl): Allow for and saturate large arguments.
11405 * math/libm-test.inc (exp_test): Add another test. Do not allow
11406 missing overflow exception on overflow.
11407 (expm1_test): Do not allow missing overflow exception on overflow.
11408
6698b8bf
JM
11409 * sysdeps/i386/fpu/e_expl.c: Move to ...
11410 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11411 rather than using inline asm.
11412 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11413 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11414 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11415
7b17aeda
JM
11416 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11417 (nice): Likewise.
11418 (poll): Likewise.
11419 (signal): Likewise.
11420 (time): Likewise.
11421 (times): Likewise.
11422
f7c85819
JM
114232012-05-04 Joseph Myers <joseph@codesourcery.com>
11424
11425 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11426 sysdeps/unix/common/syscalls.list.
11427 (fchmod): Likewise.
11428 (fchown): Likewise.
11429 (ftruncate): Likewise.
11430 (getrusage): Likewise.
11431 (gettimeofday): Likewise.
11432 (setpgid): Likewise.
11433 (setregid): Likewise.
11434 (setreuid): Likewise.
11435 (sigaction): Likewise.
11436 (truncate): Likewise.
11437 (vhangup): Likewise.
11438 * sysdeps/unix/common/syscalls.list: Remove file.
11439 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11440 * sysdeps/unix/sysv/linux/Implies: Likewise.
11441
336270d0
L
114422012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11443
11444 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11446 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11447 Moved to ...
11448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11449 Here.
11450 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11451 to ...
11452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11453 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11454 to ...
11455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11456 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11457 to ...
11458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11459 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11460 to ...
11461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11462 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11463 to ...
11464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11465 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11466 to ...
11467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11468 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11469 to ...
11470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11471 Here.
11472 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11473 to ...
11474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11475 Here.
11476 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11477 to ...
11478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11479 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11480 Moved to ...
11481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11482 Here.
11483 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11484 to ...
11485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11486
d128e450
JM
114872012-05-04 Joseph Myers <joseph@codesourcery.com>
11488
fa8ee516
JM
11489 * sysdeps/unix/common/bits/dirent.h: Remove file.
11490 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11491
d128e450
JM
11492 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11493 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11494 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11495 * sysdeps/unix/bsd/isatty.c: Likewise.
11496 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11497 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11498 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11499
ff8faaf0 115002012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11501
62881be4 11502 [BZ #13563]
31dc8730
AZ
11503 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11504 long double comparison inaccuracies.
11505 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11507
6fef930c
AS
115082012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11509
11510 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11511 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11512
8f203e6c
JM
115132012-05-04 Joseph Myers <joseph@codesourcery.com>
11514
11515 [BZ #14049]
11516 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11517 nonzero digits before rounding a hex value.
11518 * stdlib/tst-strtod.c (tests): Add another test.
11519
5197d9c2
AK
115202012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11521
11522 * sysdeps/s390/fpu/libm-test-ulps: Update.
11523
f0c1dedf
AJ
115242012-05-03 Andreas Jaeger <aj@suse.de>
11525
11526 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11527 does not get optimized out.
11528 (malloc_opt_barrier): New.
11529
a65ef2ae 115302012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11531 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11532
2b942cb7 11533 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11534 intermediate file deletion.
2b942cb7 11535 (generated): Add .symlist files.
a65ef2ae 11536
54b71e02
JM
115372012-05-03 Joseph Myers <joseph@codesourcery.com>
11538
11539 [BZ #13775]
11540 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11541 Redirect under this condition.
11542 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11543 [__USE_GNU] (__dprintf_chk): Not under this condition.
11544 [__USE_GNU] (__vdprintf_chk): Likewise.
11545 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11546 under this condition.
11547 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11548 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11549 [__USE_XOPEN2K8] (vdprintf): Likewise.
11550 [__USE_GNU] (__dprintf_chk): Not under this condition.
11551 [__USE_GNU] (__vdprintf_chk): Likewise.
11552 [__USE_GNU] (dprintf): Likewise.
11553 [__USE_GNU] (vdprintf): Likewise.
11554
d3dfcc41
RM
115552012-05-03 Roland McGrath <roland@hack.frob.com>
11556
11557 * elf/Makefile (common-generated): Set this instead of generated for
11558 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11559 $(all-built-dso)-derived lists.
11560
7ac30cc5
AJ
115612012-05-03 Andreas Jaeger <aj@suse.de>
11562
0c51e550
AJ
11563 * sysdeps/i386/fpu/libm-test-ulps: Update.
11564
7ac30cc5
AJ
11565 * FAQ: Removed.
11566 * FAQ.in: Likewise.
11567 * scripts/gen-FAQ.pl: Likewise.
11568 * manual/install.texi (Installation): Point to online location of
11569 FAQ.
11570 * Makefile (files-for-dist): Remove FAQ.
11571 (FAQ): Remove.
11572
d4c2917f
AM
115732012-05-02 Allan McRae <allan@archlinux.org>
11574
11575 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11576 (LDFLAGS-reldepmod5.so): Likewise.
11577 (LDFLAGS-reldep6mod1.so): Likewise.
11578 (LDFLAGS-reldep6mod4.so): Likewise.
11579 (LDFLAGS-reldep8mod3.so): Likewise.
11580 (LDFLAGS-unload4mod1.so): Likewise.
11581 (LDFLAGS-unload4mod2.so): Likewise.
11582 (LDFLAGS-tst-initorder): Likewise.
11583 (LDFLAGS-tst-initordera2.so): Likewise.
11584 (LDFLAGS-tst-initordera3.so): Likewise.
11585 (LDFLAGS-tst-initordera4.so): Likewise.
11586 (LDFLAGS-tst-initorderb2.so): Likewise.
11587 (LDFLAGS-noload): Likewise.
11588 (LDFLAGS-next): Likewise.
11589 (LDFLAGS-order2mod1.so): Likewise.
11590 (LDFLAGS-order2mod2.so): Likewise.
11591 (LDFLAGS-tst-initorder2): Likewise.
11592 (LDFLAGS-tst-initorder2a.so): Likewise.
11593 (LDFLAGS-tst-initorder2b.so): Likewise.
11594 (LDFLAGS-tst-initorder2c.so): Likewise.
11595 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11596
d77f993f
DM
115972012-05-02 David S. Miller <davem@davemloft.net>
11598
11599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11600
171a70b4
PP
116012012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11602
11603 [BZ #14055]
11604 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11605
0be196ad
AJ
116062012-05-02 Andreas Jaeger <aj@suse.de>
11607
11608 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11609 since we manipulate rounding mode.
11610 (CPPFLAGS-test-idouble.c): Likewise.
11611 (CPPFLAGS-test-ifloat.c): Likewise.
11612 (CFLAGS-test-ldouble.c): Likewise.
11613 (CFLAGS-test-double.c): Likewise.
11614 (CFLAGS-test-float.c): Likewise.
11615 (CFLAGS-test-misc.c): Likewise.
11616 (CFLAGS-test-test-fenv.c): Likewise.
11617
4f9d04aa
AZ
116182012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11619
2b942cb7
RM
11620 [BZ #2550]
11621 [BZ #2570]
11622 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11623 comparisons to determine direction to adjust input.
4f9d04aa 11624
82a79e7d
RM
116252012-05-01 Roland McGrath <roland@hack.frob.com>
11626
f5a01ca9
RM
11627 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11628 output to the target.
11629
90fe4186
RM
11630 * scripts/localplt.awk: New file.
11631 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11632 (check-localplt-CFLAGS): Variable removed.
11633 ($(all-built-dso:=.jmprel)): New static pattern rule.
11634 (generated): Add those targets.
11635 (localplt-built-dso): New variable.
11636 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11637
11638 * elf/check-localplt.c: File removed.
11639
82397ed6
RM
11640 * scripts/check-execstack.awk: New file.
11641 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11642 (check-execstack-CFLAGS): Variable removed.
11643 ($(objpfx)check-execstack.h): Target removed.
11644 ($(objpfx)execstack-default): New target.
11645 (generated): Add that instead of check-execstack.h.
11646 ($(all-built-dso:=.phdr)): New static pattern rule.
11647 (generated): Add those targets.
11648 * elf/check-execstack.c: File removed.
11649
82a79e7d
RM
11650 * scripts/check-textrel.awk: New file.
11651 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11652 (check-textrel-CFLAGS): Variable removed.
11653 (all-built-dso): Use := to define.o
11654 ($(all-built-dso:=.dyn)): New static pattern rule.
11655 (generated): Add those targets.
11656 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11657 * config.make.in (READELF): New substituted variable.
11658 * elf/check-textrel.c: File removed.
11659
62fde54f 116602012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11661
615605c9
JM
11662 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11663 allow.
11664 * conform/data/ctype.h-data [C99-based standards] (isblank):
11665 Expect function.
11666 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11667 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11669 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11670 Specify type. Require positive value.
11671 (EILSEQ): Likewise.
11672 (ERANGE): Likewise.
11673 [ISO || POSIX] (EILSEQ): Do not expect.
11674 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11675 Specify type. Require positive value.
11676 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11677 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11678 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11679 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11680 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11681 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11682 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11683 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11684 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11685 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11686 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11687 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11688 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11689 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11690 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11691 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11692 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11693 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11694 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11695 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11696 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11697 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11698 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11699 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11700 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11701 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11702 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11703 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11704 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11705 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11706 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11707 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11708 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11709 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11710 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11711 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11712 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11713 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11714 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11715 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11716 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11717 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11718 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11719 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11720 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11721 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11722 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11723 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11724 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11725 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11726 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11727 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11728 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11729 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11730 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11731 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11732 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11733 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11734 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11735 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11736 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11737 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11738 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11739 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11740 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11741 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11742 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11743 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11744 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11745 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11746 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11747 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11748 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11749 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11750 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11751 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11752 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11753 Require >= 2.
11754 (FLT_ROUNDS): Expect as macro, not constant.
11755 (FLT_MANT_DIG): Use macro-int-constant.
11756 (DBL_MANT_DIG): Likewise.
11757 (LDBL_MANT_DIG): Likewise.
11758 (FLT_DIG): Likewise.
11759 (DBL_DIG): Likewise.
11760 (LDBL_DIG): Likewise.
11761 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11762 (DBL_MIN_EXP): Likewise.
11763 (LDBL_MIN_EXP): Likewise.
11764 (FLT_MAX_EXP): Use macro-int-constant.
11765 (DBL_MAX_EXP): Likewise.
11766 (LDBL_MAX_EXP): Likewise.
11767 (FLT_MAX_10_EXP): Likewise.
11768 (DBL_MAX_10_EXP): Likewise.
11769 (LDBL_MAX_10_EXP): Likewise.
11770 (FLT_MAX): Use macro-constant.
11771 (DBL_MAX): Likewise.
11772 (LDBL_MAX): Likewise.
11773 (FLT_EPSILON): Use macro-constant. Give upper bound.
11774 (DBL_EPSILON): Likewise.
11775 (LDBL_EPSILON): Likewise.
11776 (FLT_MIN): Likewise.
11777 (DBL_MIN): Likewise.
11778 (LDBL_MIN): Likewise.
11779 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11780 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11781 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11782 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11783 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11784 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11785 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11786 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11787 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11788 [ISO11] (FLT_TRUE_MIN): Likewise.
11789 [ISO11] (LDBL_TRUE_MIN): Likewise.
11790 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11791 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11792 (SCHAR_MIN): Use macro-int-constant. Specify type.
11793 (SCHAR_MAX): Likewise.
11794 (UCHAR_MAX): Likewise.
11795 (CHAR_MIN): Likewise.
11796 (CHAR_MAX): Likewise.
11797 (MB_LEN_MAX): Use macro-int-constant.
11798 (SHRT_MIN): Use macro-int-constant. Specify type.
11799 (SHRT_MAX): Likewise.
11800 (USHRT_MAX): Likewise.
11801 (INT_MAX): Likewise.
11802 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11803 bound negative.
11804 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11805 bound with "U".
11806 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11807 bound with "L".
11808 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11809 bound negative. Suffix upper bound with "L".
11810 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11811 bound with "UL".
11812 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11813 Specify type.
11814 [C99-based standards] (LLONG_MAX): Likewise.
11815 [C99-based standards] (ULLONG_MAX): Likewise.
11816 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11817 == 0.
11818 [ISO11] (max_align_t): Require type.
11819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11820
c9140a62
JM
11821 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11822 from $CFLAGS, without defining away __attribute__ calls.
11823 (checknamespace): Use $CFLAGS_namespace.
11824
9af0bf29
JM
11825 * conform/conformtest.pl (@keywords): Only include C99 keywords
11826 for standards based on C99 or C11.
11827
343222a2
JM
11828 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11829 Disable tests.
11830 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11831 UNIX98]: Likewise.
11832
661f8cf0
JM
11833 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11834 usability of symbols in #if.
11835
ee74b9cb
JM
11836 * conform/conformtest.pl: If macro or constant types start
11837 "promoted:", expect the symbol to be of the following type
11838 promoted by the integer promotions.
62fde54f 11839
aafc49b3
JM
11840 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11841 in one place. Also handle "macro-constant".
11842
fefdf574
JM
11843 * conform/conformtest.pl: Only accept expected macro values with
11844 "==". Parse all "macro" lines in one place.
11845 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11846
f2d922fe
JM
11847 * conform/conformtest.pl: Handle braced types on "constant" lines
11848 instead of handling "typed-constant".
11849 * conform/data/signal.h-data: Use "constant" instead of
11850 "typed-constant".
11851
d22956c9
JM
11852 * conform/conformtest.pl: Handle "optional-" at start of lines in
11853 one place rather than duplicating several cases. Handle each
11854 format of "macro" line with initial "optional-".
11855
028e2e38
JM
11856 * conform/conformtest.pl: Only accept expected constant or
11857 optional-constant values with "==". Parse all "constant" lines in
11858 one place. Parse all "optional-constant" lines in one place.
11859 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11860 * conform/data/fmtmsg.h-data: Likewise.
11861 * conform/data/netinet/in.h-data: Likewise.
11862 * conform/data/tar.h-data: Likewise.
11863 * conform/data/limits.h-data: Use "==" form on "constant" and
11864 "optional-constant" lines.
11865
1b8f2850
JM
11866 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11867 Use -std=c99 for XOPEN2K.
11868 (@knownproblems): Remove.
11869 (newtoken): Don't check %isknown.
11870
a05a144b
JM
11871 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11872 Do not expect macro.
11873 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11874 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11875 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11876 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11877 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11878 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11879 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11880 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11881 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11882 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11883 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11884 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11885 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11886 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11887 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11888 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11889 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11890 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11891 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11892 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11893 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11894 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11895 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11896 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11897 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11898 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11899 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11900 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11901 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11902 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11903 [XPG3] (acosh): Likewise.
11904 [XPG3] (asinh): Likewise.
11905 [XPG3] (atanh): Likewise.
11906 [XPG3] (cbrt): Likewise.
11907 [XPG3] (expm1): Likewise.
11908 [XPG3] (ilogb): Likewise.
11909 [XPG3] (log1p): Likewise.
11910 [XPG3] (logb): Likewise.
11911 [XPG3] (nextafter): Likewise.
11912 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11913 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11914 [XPG3] (remainder): Likewise.
11915 [XPG3] (rint): Likewise.
11916 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11917 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11918 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11919 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11920 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11921 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11922 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11923 [UNIX98 || XOPEN2K] (scalb): Expect.
11924 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11925 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11926 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11927 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11928 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11929 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11930 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11931 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11932 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11933 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11934 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11935 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11936 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11937 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11938 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11939 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11940 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11941 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11942 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11943 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11944 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11945 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11946 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11947 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11948 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11949 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11950 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11951 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11952 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11953 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11954 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11955 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11956 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11957 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11958 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11959 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11960 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11961 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11962 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11963 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11964 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11965 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11966 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11967 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11968 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11969 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11970 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11971 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11972 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11973 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11974 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11975 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11976 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11977 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11978 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11979 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11980 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11981 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11982 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11983 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11984 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11985 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11986 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11987 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11988 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11989 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11990 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11991 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11992 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11993 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11994 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11995 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11996 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11997 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11998 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11999 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12000 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12001 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12002 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12003 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12004 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12005 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12006 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12007 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12008 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12009 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12010 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12011 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12012 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12013 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12014 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12015 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12016 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12017 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12018 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12019 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12020 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12021 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12022 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12023 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12024 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12025 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12026 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12027 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12028 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12029 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12030 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12031 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12032 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12033 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12034 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12035 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12036 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12037 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12038 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12039 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12040 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12041 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12042 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12043 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12044 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12045 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12046 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12047 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12048 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12049 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12050 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12051 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12052 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12053 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12054 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12055 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12056 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12057 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12058 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12059 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12060 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12061
73c5ebe3
JM
12062 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12063 _XOPEN_SOURCE_EXTENDED for XPG4.
12064
39c33b6c
JM
12065 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12066
62fde54f
JM
12067 * Makeconfig (localtime): Remove variable.
12068 (inst_localtime-file): Likewise.
12069
0741d64c
AS
120702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12071
12072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12073 Update.
12074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12075 Update.
12076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12077 Update.
12078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12079 Update.
12080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12081 Update.
12082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12083 Update.
12084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12085 Update.
12086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12087 Update.
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12089 Update.
12090
7cb029ee
JM
120912012-05-01 Joseph Myers <joseph@codesourcery.com>
12092
12093 [BZ #2550]
12094 [BZ #2570]
12095 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12096 comparisons to determine direction to adjust input.
12097 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12098 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12099 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12100 Likewise.
12101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12102 Likewise.
12103 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12104 Likewise.
12105 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12106 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12107 Likewise.
12108 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12109 Likewise.
12110 * math/libm-test.inc (nexttoward_test): Add more tests.
12111
412bd966
AS
121122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12113
12114 [BZ #14040]
12115 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12116 in version GLIBC_2.1, not GLIBC_2.0.
12117 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12118 Likewise.
12119
9568c0c2
JM
121202012-04-30 Joseph Myers <joseph@codesourcery.com>
12121
adfbc8ac
JM
12122 [BZ #13942]
12123 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12124 (1 - x) * (1 + x).
12125 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12126 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12127 * math/libm-test.inc (acos_test): Add more tests.
12128 (asin_test): Likewise.
12129 * sysdeps/i386/fpu/libm-test-ulps: Update.
12130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12131
5ba3cc69
JM
12132 [BZ #14034]
12133 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12134 of square root.
12135 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12136 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12137 * math/libm-test.inc (acos_test_tonearest): New function.
12138 (acos_test_towardzero): Likewise.
12139 (acos_test_downward): Likewise.
12140 (acos_test_upward): Likewise.
12141 (asin_test_tonearest): Likewise.
12142 (asin_test_towardzero): Likewise.
12143 (asin_test_downward): Likewise.
12144 (asin_test_upward): Likewise.
12145 (main): Call the new functions.
12146 * sysdeps/i386/fpu/libm-test-ulps: Update.
12147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12148
9568c0c2
JM
12149 [BZ #13884]
12150 [BZ #13924]
12151 * math/e_exp10.c: Include <float.h>.
12152 (__ieee754_exp10): Handle underflow here rather than multiplying
12153 large negative argument by M_LN10.
12154 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12155 of __ieee754_expf.
12156 * math/e_exp10l.c: Include <float.h>.
12157 (__ieee754_exp10l): Handle underflow here rather than multiplying
12158 large negative argument by M_LN10l.
12159 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12160 spurious overflow exception on underflow.
12161
5ac3ea17
MP
121622012-04-29 Marek Polacek <polacek@redhat.com>
12163
12164 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12165 (__fortify_function): New macro.
12166 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12167 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12168 __extern_always_inline.
12169 * libio/bits/stdio2.h: Likewise.
12170 * libio/bits/stdio.h: Likewise.
12171 * string/string.h: Likewise.
12172 * string/bits/string3.h: Likewise.
12173 * include/stdio.h: Likewise.
12174 * stdlib/bits/stdlib.h: Likewise.
12175 * stdlib/stdlib.h: Likewise.
12176 * rt/bits/mqueue2.h: Likewise.
12177 * rt/mqueue.h: Likewise.
12178 * posix/bits/unistd.h: Likewise.
12179 * posix/unistd.h: Likewise.
12180 * io/bits/poll2.h: Likewise.
12181 * io/bits/fcntl2.h: Likewise.
12182 * io/fcntl.h: Likewise.
12183 * io/sys/poll.h: Likewise.
12184 * misc/bits/syslog.h: Likewise.
12185 * misc/bits/syslog-ldbl.h: Likewise.
12186 * misc/sys/syslog.h: Likewise.
12187 * socket/bits/socket2.h: Likewise.
12188 * socket/sys/socket.h: Likewise.
12189 * debug/tst-chk1.c: Likewise.
12190 * wcsmbs/bits/wchar2.h: Likewise.
12191 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12192 * wcsmbs/wchar.h: Likewise.
12193
ecf0ebfb
AJ
121942012-04-29 Andreas Jaeger <aj@suse.de>
12195
12196 * Makerules (tests): Remove enable-check-abi protection.
12197 (check-abi-warn): Remove.
12198 (check-abi-%): Remove check-abi-warn usage.
12199
12200 * configure.in: Remove check-abi configure option.
12201 * configure: Regenerated.
12202 * config.make.in (enable-check-abi): Remove.
12203
6d5c57fa
AS
122042012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12205
24c5d07e 12206 [BZ #14033]
ded5180a
AS
12207 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12208 double functions to double *_finite functions.
12209
7e0d315d
AS
12210 [BZ #13941]
12211 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12212 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12213 LDBL_MIN_EXP.
12214 * stdio-common/Makefile (tests): Add tst-sprintf3.
12215 * stdio-common/tst-sprintf3.c: New file.
12216
6d5c57fa
AS
12217 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12218 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12219
0749ff8b
JM
122202012-04-28 Joseph Myers <joseph@codesourcery.com>
12221
12222 * conform/conformtest.pl: Remove duplicate typed-constant
12223 handling.
12224
8dbd5d7b
DM
122252012-04-28 David S. Miller <davem@davemloft.net>
12226
12227 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12228 (check-abi-%): Remove AWK script prerequisite and explicit
12229 abilist directory.
12230 (check-abi): Rewrite to just diff the symlist with the abilist.
12231 (config-tls, config-abi-config): Delete, no longer used.
12232 (update-abi-%): Remove AWK script and explicit abilist directory.
12233 (update-abi): Rewrite to simply compare and conditionally copy the
12234 symlist and the sysdep abilist file. Remove update-abi-config
12235 checks.
12236 * abilist/ld.abilist: Remove.
12237 * abilist/libBrokenLocale.abilist: Remove.
12238 * abilist/libanl.abilist: Remove.
12239 * abilist/libcrypt.abilist: Remove.
12240 * abilist/libdl.abilist: Remove.
12241 * abilist/librt.abilist: Remove.
12242 * abilist/libthread_db.abilist: Remove.
12243 * abilist/libutil.abilist: Remove.
12244 * scripts/extract-abilist.awk: Remove.
12245 * scripts/merge-abilist.awk: Remove.
12246 * sysdeps/generic/libcidn.abilist: New file.
12247 * sysdeps/generic/libnss_compat.abilist: New file.
12248 * sysdeps/generic/libnss_db.abilist: New file.
12249 * sysdeps/generic/libnss_dns.abilist: New file.
12250 * sysdeps/generic/libnss_files.abilist: New file.
12251 * sysdeps/generic/libnss_hesiod.abilist: New file.
12252 * sysdeps/generic/libnss_nis.abilist: New file.
12253 * sysdeps/generic/libnss_nisplus.abilist: New file.
12254 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12255 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12256 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12257 file.
12258 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12259 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12260 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12261 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12262 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12263 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12264 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12265 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12266 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12267 file.
12268 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12269 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12270 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12271 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12272 file.
12273 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12274 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12275 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12276 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12277 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12278 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12279 file.
12280 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12281 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12282 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12283 file.
12284 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12286 New file.
12287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12288 New file.
12289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12290 New file.
12291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12292 New file.
12293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12294 New file.
12295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12296 New file.
12297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12298 New file.
12299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12300 New file.
12301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12302 New file.
12303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12304 New file.
12305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12306 New file.
12307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12308 New file.
12309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12310 New file.
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12312 file.
12313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12314 New file.
12315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12316 New file.
12317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12318 file.
12319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12320 New file.
12321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12322 New file.
12323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12324 file.
12325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12326 New file.
12327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12328 New file.
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12330 New file.
12331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12332 New file.
12333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12334 New file.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12336 New file.
12337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12339 file.
12340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12341 New file.
12342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12343 file.
12344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12345 file.
12346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12347 file.
12348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12349 file.
12350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12351 file.
12352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12353 New file.
12354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12355 file.
12356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12357 file.
12358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12359 New file.
12360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12361 file.
12362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12364 file.
12365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12366 New file.
12367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12368 file.
12369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12370 file.
12371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12372 file.
12373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12374 file.
12375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12376 file.
12377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12378 New file.
12379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12380 file.
12381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12382 file.
12383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12384 New file.
12385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12386 file.
12387 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12388 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12389 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12390 file.
12391 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12392 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12393 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12394 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12395 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12396 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12397 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12398 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12399 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12400 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12403 file.
12404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12405 New file.
12406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12407 file.
12408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12409 file.
12410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12411 file.
12412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12413 file.
12414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12415 file.
12416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12417 New file.
12418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12419 New file.
12420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12421 file.
12422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12423 New file.
12424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12425 file.
12426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12428 file.
12429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12430 New file.
12431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12432 file.
12433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12434 file.
12435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12436 file.
12437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12438 file.
12439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12440 file.
12441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12442 New file.
12443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12444 New file.
12445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12446 file.
12447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12448 New file.
12449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12450 file.
12451
41d73a1b
JM
124522012-04-28 Joseph Myers <joseph@codesourcery.com>
12453
12454 * conform/conformtest.pl: Fix typo in handling typed-constant from
12455 allow-header.
12456
28aeeda4
JM
124572012-04-27 Joseph Myers <joseph@codesourcery.com>
12458
adae8f5e
JM
12459 * README: Cut down references to pre-2.6 Linux kernels and
12460 Linuxthreads. Update lists of configurations in libc and ports
12461 and sort alphabetically. Say "or newer" with Linux kernel version
12462 requirements.
12463
28aeeda4
JM
12464 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12465
a462cb63
RA
124662012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12467
12468 [BZ #887]
12469 * math/libm-test.inc (logb_test_downward): New test to expose
12470 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12471 rounding mode.
12472
6ad3493e
JM
124732012-04-27 Joseph Myers <joseph@codesourcery.com>
12474
12475 [BZ #14027]
12476 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12477 to be done.
12478 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12479 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12480
2ce4f015
JM
124812012-04-26 Joseph Myers <joseph@codesourcery.com>
12482
5aeb141a
JM
12483 * sysdeps/unix/i386/brk.S: Remove file.
12484 * sysdeps/unix/i386/dl-brk.S: Likewise.
12485 * sysdeps/unix/i386/pipe.S: Likewise.
12486 * sysdeps/unix/i386/sigreturn.S: Likewise.
12487 * sysdeps/unix/i386/syscall.S: Likewise.
12488 * sysdeps/unix/i386/vfork.S: Likewise.
12489 * sysdeps/unix/i386/wait.S: Likewise.
12490
7143acae
JM
12491 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12492 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12493
2ce4f015
JM
12494 * configure.in (arm*-none*): Do not allow without
12495 --enable-hacker-mode.
12496 (netbsd*): Remove case setting base_os.
12497 (386bsd*): Likewise.
12498 (freebsd*): Likewise.
12499 (bsdi*): Likewise.
12500 (osf*): Likewise.
12501 (sunos*): Likewise.
12502 (ultrix*): Likewise.
12503 (newsos*): Likewise.
12504 (dynix*): Likewise.
12505 (*bsd*): Likewise.
12506 (sysv*): Likewise.
12507 (isc*): Likewise.
12508 (esix*): Likewise.
12509 (sco*): Likewise.
12510 (minix*): Likewise.
12511 (irix4*): Likewise.
12512 (irix6*): Likewise.
12513 (solaris[2-9]*): Likewise.
12514 (none): Likewise.
12515 * configure: Regenerated.
12516
0ac229c8
AZ
125172012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12518
12519 [BZ #11521]
12520 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12521 overflow or cancellation in calculating denominator.
12522 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12523 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12524 down expression to avoid unexpected rounding in newer GCCs.
12525 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12526
33f244f4
DM
125272012-04-26 David S. Miller <davem@davemloft.net>
12528
12529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12530 long-double compat symbols.
12531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12544
cfa1f3e8
DM
125452012-04-25 David S. Miller <davem@davemloft.net>
12546
12547 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12548 HWCAP_* values only after the memory barriers have been defined.
12549 (atomic_full_barrier): Define.
12550 (atomic_read_barrier): Define.
12551 (atomic_write_barrier): Define.
12552
6e236b92
SP
125532012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12554
12555 * shlib-versions: Add libgcc_s version information.
12556 * sysdeps/generic/libgcc_s.h: Remove.
12557 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12558 libgcc_s.h.
12559 * sysdeps/gnu/unwind-resume.c: Likewise.
12560 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12561
aab39a09
DM
125622012-04-25 David S. Miller <davem@davemloft.net>
12563
12564 * sysdeps/unix/sparc/brk.S: Delete.
12565 * sysdeps/unix/sparc/dl-brk.S: Delete.
12566 * sysdeps/unix/sparc/pipe.S: Delete.
12567 * sysdeps/unix/sparc/sysdep.S: Delete.
12568 * sysdeps/unix/sparc/sysdep.h: Delete.
12569 * sysdeps/unix/sparc/vfork.S: Delete.
12570 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12571 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12572 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12573 ret_ERRVAL, r0, r1, MOVE): Define.
12574 (JUMPTARGET): Remove.
12575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12576 sysdeps/unix/sparc/sysdep.h
12577 (ENTRY, END): Remove.
12578 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12579
a3cc4f48
JM
125802012-04-25 Joseph Myers <joseph@codesourcery.com>
12581
2ed8cda2
JM
12582 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12583 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12584 -DIS_IN_build.
12585
35d76d59
JM
12586 * timezone/README: Update upstream location and email address for
12587 tzcode and tzdata.
12588 * timezone/zdump.c: Update from tzcode 2012b.
12589 * timezone/zic.c: Likewise.
12590
a3cc4f48
JM
12591 * configure.in (libc_cv_as_needed): Remove test.
12592 * configure: Regenerated.
12593 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12594 conditional definition.
12595 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12596 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12597 * config.make.in (have-as-needed): Remove variable.
12598
ceab42c3
SP
125992012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12600 Paul Pluzhnikov <ppluzhnikov@google.com>
12601
12602 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12603 strings correctly.
12604
3ce2865f
CLT
126052012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12606
12607 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12608 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12609 * sysdeps/sh/strlen.S: Likewise.
12610
f37e0d68
JM
126112012-04-24 Joseph Myers <joseph@codesourcery.com>
12612
ae186e9a
JM
12613 * sysdeps/unix/fork.S: Remove file.
12614 * sysdeps/unix/i386/fork.S: Likewise.
12615 * sysdeps/unix/sparc/fork.S: Likewise.
12616
b96914af
JM
12617 * sysdeps/unix/system.c: Remove file.
12618 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12619
f37e0d68
JM
12620 * sysdeps/unix/getegid.S: Remove file.
12621 * sysdeps/unix/geteuid.S: Likewise.
12622
87ef29ca
RM
126232012-04-24 Roland McGrath <roland@hack.frob.com>
12624
83bcd236
RM
12625 * scripts/check-localplt.awk: New file.
12626 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12627 of diff.
12628 * scripts/data/localplt-generic.data: Add a comment.
12629
87ef29ca
RM
12630 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12631 NODE when __dir_mkfile failed.
12632 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12633 Reported by Ludovic Courtès <ludo@gnu.org>.
12634
e5a6e567
AJ
126352012-04-24 Andreas Jaeger <aj@suse.de>
12636
12637 * Makerules (common-clean): Also remove gen-as-const-headers
12638 files.
12639
c1820385
JM
126402012-04-24 Joseph Myers <joseph@codesourcery.com>
12641
12642 * Makerules (native-compile): Do not change working directory for
12643 build. Use $(OUTPUT_OPTION) in command.
12644 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12645
94e02fc4
AZ
126462012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12647
12648 [BZ #13886]
12649 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12650 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12651 * math/libm-test.inc (floor_test): Add more tests.
12652 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12653
3a533ca3
JM
126542012-04-24 Joseph Myers <joseph@codesourcery.com>
12655
940ab4b3
JM
12656 * sysdeps/unix/getdents.c: Remove file.
12657 * sysdeps/unix/sysv/getdents.c: Likewise.
12658 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12659
90e037bd
JM
12660 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12661 sysdeps/unix/mman/syscalls.list.
12662 (mmap): Likewise.
12663 (mprotect): Likewise.
12664 (msync): Likewise.
12665 (munmap): Likewise.
12666 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12667 * sysdeps/unix/mman/syscalls.list: Remove.
12668 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12669
3a533ca3
JM
12670 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12671 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12672 * configure: Regenerated.
12673 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12674 $(libgcc_s_suffix).
12675 * config.make.in (libgcc_s_suffix): Remove variable.
12676
1ad743de
JM
126772012-04-23 Joseph Myers <joseph@codesourcery.com>
12678
4ad451e2
JM
12679 * sysdeps/unix/sysv/gethostname.c: Move to ...
12680 * sysdeps/posix/gethostname.c: ... here.
12681
5e37ce39
JM
12682 * sysdeps/unix/execve.S: Remove file.
12683
1ad743de
JM
12684 * sysdeps/unix/_exit.S: Remove file.
12685
4e681b5b
AJ
126862012-04-23 Andreas Jaeger <aj@suse.de>
12687
12688 [BZ #13739]
12689 * manual/Makefile: Remove make dist support, there's no
12690 need for a stand-alone documentation tar ball.
12691 (TEXI2DVI): Define always, it's not in Makeconfig.
12692 (dist): Removed.
12693 (tar-it): Removed.
12694 (edition): Removed.
12695 (glibc-doc-$(edition).tar): Removed
12696 (%.Z): Removed.
12697 (%.gz): Removed.
12698 (%.uu): Removed.
12699 (ETAGS): Remove, it's in Makeconfig.
12700 (move-if-change): Remove, it's in Makeconfig.
12701
38686a03 127022012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12703
12704 [BZ #13970]
12705 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12706 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12707 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12708 (strtod_l, strtof_l, strtold_l): Remove __wur.
12709 It is not necessarily an error to ignore strtol's return value.
12710 One can reliably look at the stored endptr to decide whether
12711 the number had valid syntax.
12712
7c0616fa
AJ
127132012-04-21 Andreas Jaeger <aj@suse.de>
12714
803cb6b7 12715 [BZ #13739]
7c0616fa
AJ
12716 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12717
b0fe253f
JM
127182012-04-21 Joseph Myers <joseph@codesourcery.com>
12719
12720 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12721 * sysdeps/unix/sysv/Versions: Remove file.
12722
8280f22d
MT
127232012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12724
12725 [BZ #13927]
12726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12727
75ce411f 127282012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12729
12730 [BZ #7064]
12731 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12732 version from __vm86.
12733
097d59fa
JM
127342012-04-20 Joseph Myers <joseph@codesourcery.com>
12735
a90f3bcb
JM
12736 * sysdeps/unix/common/lxstat.c: Remove file.
12737 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12738
edc7ea78
JM
12739 * sysdeps/unix/sysv/Makefile: Remove file.
12740
cb78c221
JM
12741 * sysdeps/unix/sysv/direct.h: Remove file.
12742
efa6a45f
JM
12743 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12744 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12745 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12746 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12747 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12748 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12749 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12750
9c9f2d0c
JM
12751 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12752
4541c83b
JM
12753 * sysdeps/unix/xmknod.c: Remove file.
12754 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12755
f5d153a0
JM
12756 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12757
aa746595
JM
12758 * sysdeps/unix/sysv/i386/time.S: Remove file.
12759
cce5905e
JM
12760 * sysdeps/unix/fxstat.c: Remove file.
12761 * sysdeps/unix/xstat.c: Likewise.
12762 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12763
37fa3841
JM
12764 * sysdeps/unix/sysv/sigaction.c: Remove file.
12765
ff1962a3
JM
12766 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12767 (sysdep_headers): Remove variable.
12768 [termio.h not in sysdep_headers] (generated): Likewise.
12769 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12770 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12771 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12772 * sysdeps/unix/sysv/tcflow.c: Likewise.
12773 * sysdeps/unix/sysv/tcflush.c: Likewise.
12774 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12775 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12776 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12777 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12778 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12779
e7740d31
JM
12780 * sysdeps/unix/siglist.c: Remove file.
12781
ee06f18b
JM
12782 * sysdeps/unix/getppid.S: Remove file.
12783
097d59fa
JM
12784 * sysdeps/unix/mkdir.c: Remove file.
12785 * sysdeps/unix/rmdir.c: Likewise.
12786
ff3d51ec
AS
127872012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12788
12789 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12790 ERR_MAX value.
12791 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12792 errlist-compat value.
12793
50f81fd7
DM
127942012-04-18 David S. Miller <davem@davemloft.net>
12795
12796 * sysdeps/generic/memcopy.h (reg_char): Delete.
12797 * debug/strcat_chk.c: Use char, not reg_char.
12798 * debug/strcpy_chk.c: Likewise.
12799 * debug/strncat_chk.c: Likewise.
12800 * debug/strncpy_chk.c: Likewise.
12801 * string/memchr.c: Likewise.
12802 * string/memrchr.c: Likewise.
12803 * string/rawmemchr.c: Likewise.
12804 * string/strcat.c: Likewise.
12805 * string/strchr.c: Likewise.
12806 * string/strchrnul.c: Likewise.
12807 * string/strcmp.c: Likewise.
12808 * string/strcpy.c: Likewise.
12809 * string/strncat.c: Likewise.
12810 * string/strncmp.c: Likewise.
12811 * string/strncpy.c: Likewise.
12812
8ff41c46
WS
128132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12814
12815 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12816 __builtin_memcopy is called when src and dest ranges are known to not
12817 overlap.
12818
6b652f46
WS
128192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12820
12821 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12822 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12823 fwd_align_merge macro call.
12824 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12825 bwd_align_merge macro call.
12826 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12827
b282631e
WS
128282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12829
12830 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12831 bwd_align_merge macros.
12832 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12833 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12834 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12835
95aa737c
DM
128362012-04-18 David S. Miller <davem@davemloft.net>
12837
12838 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12839
7a99a614
AJ
128402012-04-18 Andreas Jaeger <aj@suse.de>
12841
12842 [BZ# 6794]
12843 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12844 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12845 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12846
12847 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12848 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12849 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12850
12851 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12852 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12853 Adjust for changed ldbl-128 files.
12854
12855 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12856 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12857 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12858
e5270c23
DM
128592012-04-17 David S. Miller <davem@davemloft.net>
12860
12861 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12862
fb5e92c9
AS
128632012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12864
12865 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12866 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12867 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12868 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12869 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12870 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12871
76da7265
AZ
128722012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12873
12874 [BZ #6794]
12875 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12876 * math/libm-test.inc: Add ilogb errno and exception tests.
12877 * math/w_ilogb.c: New file: ilogb wrapper.
12878 * math/w_ilogbf.c: New file: ilogbf wrapper.
12879 * math/w_ilogbl.c: New file: ilogbl wrapper.
12880 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12881 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12882 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12883 exception being thrown with 0.0 as argument.
12884 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12885 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12886 exception being thrown with 0.0 as argument.
12887 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12888 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12889 exception being thrown with 0.0 as argument.
12890 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12891 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12892 exception being thrown with 0.0 as argument.
12893 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12894 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12895 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12896 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12897 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12898 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12899 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12900 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12901 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12902
0396e69d
PB
129032012-04-17 Petr Baudis <pasky@ucw.cz>
12904
12905 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12906 with altivec.
12907
750b5926
MP
129082012-04-16 Marek Polacek <polacek@redhat.com>
12909
12910 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12911
751728a1
MP
129122012-04-16 Marek Polacek <polacek@redhat.com>
12913
12914 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12915 operands of fdivp instruction.
12916
34a27407
L
129172012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12920 * elf/tst-auditmod3b.c: Likewise.
12921 * elf/tst-auditmod4b.c: Likewise.
12922 * elf/tst-auditmod5b.c: Likewise.
12923 * elf/tst-auditmod6b.c: Likewise.
12924 * elf/tst-auditmod6c.c: Likewise.
12925 * elf/tst-auditmod7b.c: Likewise.
12926 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12927 * sysdeps/x86_64/preconfigure.in: Likewise.
12928 * sysdeps/x86_64/preconfigure: Regenerated.
12929
7e73e17d
L
129302012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12931
12932 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12933 __ILP32__.
12934
c7a6ab72
AB
129352012-04-13 Antoine Balestrat <merkil33@gmail.com>
12936
12937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12938 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12939
a9e8e0e0
CL
129402012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12941
12942 [BZ #13973]
12943 * locale/iso-639.def: Fix gl language name. Spotted by
12944 Yaron Shahrabani.
12945
ec98af7d
RM
129462012-04-12 Roland McGrath <roland@hack.frob.com>
12947
12948 [BZ #2074]
12949 * libio/libio.h (__io_write_fn): Update comment.
12950
247c3ede
PB
129512012-04-12 Petr Baudis <pasky@ucw.cz>
12952
12953 [BZ #2074]
12954 * stdio.texi (Hook Functions): The user provided writer function
12955 is not allowed to return -1.
12956
55939d6d
DM
129572012-04-11 David S. Miller <davem@davemloft.net>
12958
12959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12960
90020f5a
MF
129612012-04-11 Mike Frysinger <vapier@gentoo.org>
12962
12963 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12964 Add a leading slash to rtkaio.
12965
288f9098
JM
129662012-04-11 Jim Meyering <meyering@redhat.com>
12967
90020f5a
MF
12968 [BZ #11959]
12969 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12970 It is not necessarily an error to ignore fwrite's return
12971 value. One can reliably use ferror to test for errors after
12972 the fact.
288f9098 12973
4be2b570
L
129742012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12975
12976 * bits/types.h (__snseconds_t): New type.
12977 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12978
12979 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12981 (__SNSECONDS_T_TYPE): Likewise.
12982 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12983 (__SNSECONDS_T_TYPE): Likewise.
12984 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12985 (__SNSECONDS_T_TYPE): Likewise.
12986
288f9098 129872012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
12988
12989 [BZ #2636]
12990 * manual/time.texi (Processor Time): Return type of times is
12991 elapsed real time since an arbitrary point in the past.
12992 (CPU Time): Move CLK_TCK from here...
12993 (Processor Time): ...to here. Correct description.
12994 * manual/conf.texi (Constants for Sysconf): Correct description of
12995 _SC_CLK_TCK.
12996
d7dd4413
DM
129972012-04-10 David S. Miller <davem@davemloft.net>
12998
12999 [BZ #13967]
13000 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13001 where the is a gap between DT_REL(A) and DT_JMPREL.
13002
b46068fc
L
130032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13004
13005 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13006 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13007 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13008
73d65cc3
SP
130092012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13010
13011 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13012 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13013 (dl_main): Handle --inhibit-cache.
13014 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13015 _dl_inhibit_cache.
13016 * elf/dl-load.c (_dl_map_object): Use it.
13017 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13018
bcc8d661
JM
130192012-04-09 Joseph Myers <joseph@codesourcery.com>
13020
8f9a2fae
JM
13021 [BZ #13872]
13022 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13023 (__ieee754_powl): Saturate large exponents rather than testing for
13024 overflow of y*log2(x).
13025 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13026 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13027 exceptions.
13028
bcc8d661
JM
13029 [BZ #11521]
13030 * math/s_ctan.c: Include <float.h>.
13031 (__ctan): Avoid internal overflow or cancellation in calculating
13032 denominator.
13033 * math/s_ctanf.c: Likewise.
13034 * math/s_ctanl.c: Likewise.
13035 * math/s_ctanh.c: Likewise.
13036 * math/s_ctanhf.c: Likewise.
13037 * math/s_ctanhl.c: Likewise.
13038 * math/libm-test.inc (ctan_test): Add more tests.
13039 (ctanh_test): Likewise.
13040 * sysdeps/i386/fpu/libm-test-ulps: Update.
13041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13042
823fbbb4
AJ
130432012-04-09 Andreas Jaeger <aj@suse.de>
13044
03879793
AJ
13045 [BZ #6894]
13046 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13047 is an optional BSD extension.
13048
823fbbb4
AJ
13049 [BZ #10254]
13050 * manual/stdio.texi (Opening Streams): Document additional fopen
13051 parameters.
13052
8de131cb
RM
130532012-04-09 Roland McGrath <roland@hack.frob.com>
13054
13055 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13056 %eax without telling the compiler.
13057
c0ed9d7d
CD
130582012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13059
13060 [BZ # 13963]
13061 * manual/install.texi: Use sourceware.org.
13062
c483f6b4
JM
130632012-04-09 Joseph Myers <joseph@codesourcery.com>
13064
d7dd9453
JM
13065 [BZ #13873]
13066 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13067 (__ieee754_pow): Generate overflow and underflow using huge*huge
13068 and tiny*tiny rather than just returning constant infinity or zero
13069 for large exponents.
13070 * math/libm-test.inc (pow_test): Require overflow exceptions for
13071 applicable cases of large exponents.
13072
c483f6b4
JM
13073 [BZ #706]
13074 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13075 (__ieee754_pow): Use iterative multiplication algorithm only for
13076 integer exponents with absolute value below 1024. Check for odd
13077 integer exponents when using algorithm for real exponents.
13078 * math/libm-test.inc (pow_test): Add more tests.
13079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13080
d2de7579
JM
130812012-04-08 Joseph Myers <joseph@codesourcery.com>
13082
13083 [BZ #13705]
13084 * math/libm-test.inc (exp_test): Do not allow overflow exception
13085 on underflow test.
13086
f77f1232
AJ
130872012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13088
13089 [BZ #13705]
13090 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13091 instead of __kernel_standard_f.
13092
3884932b
MF
130932012-04-08 Mike Frysinger <vapier@gentoo.org>
13094
13095 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13096 * sysdeps/x86_64/memset_chk.S: Likewise.
13097
54472e9c
AJ
130982012-04-08 Andreas Jaeger <aj@suse.de>
13099
6ab0fbfc
AJ
13100 [BZ #10153]
13101 * manual/startup.texi (Environment Access): Describe return value
13102 for putenv and setenv.
13103
61efba8c
AJ
13104 [BZ #6895]
13105 * manual/filesys.texi (Directory Entries): Add description for
13106 DT_LNK.
13107
95c3f29a
AJ
13108 [BZ #6890]
13109 * manual/filesys.texi (Directory Entries): Clarify that it's file
13110 system not operating system in the description of DT_UNKNOWN.
13111
54472e9c
AJ
13112 [BZ #6578]
13113 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13114
624254b1
SC
131152012-04-08 Stephen Compall <s11@member.fsf.org>
13116
13117 [BZ #6649]
13118 * manual/llio.texi (Opening and Closing Files): Add cross
13119 reference to explain mode argument.
13120
1e4920e0
MF
131212012-04-07 Mike Frysinger <vapier@gentoo.org>
13122
13123 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13124 * sysdeps/x86_64/memset_chk.S: Likewise.
13125
5ed848f3
DM
131262012-04-07 David S. Miller <davem@davemloft.net>
13127
13128 * elf/elf.h (R_SPARC_WDISP10): Define.
13129 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13130 R_SPARC_SIZE32.
13131 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13132 R_SPARC_SIZE64 and R_SPARC_H34.
13133
96154cd8
CD
131342012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13135
13136 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13137 conditions and remove no longer applicable assertion.
13138
9904dc47
L
131392012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13140
13141 * bits/byteswap.h: Include <features.h>.
13142 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13143 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13144
f8887d0a
L
131452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13146
13147 * bits/byteswap.h (__bswap_16): Removed.
13148 Include <bits/byteswap-16.h> to get __bswap_16.
13149 * sysdeps/i386/bits/byteswap.h: Likewise.
13150 * sysdeps/s390/bits/byteswap.h: Likewise.
13151 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13152 * bits/byteswap-16.h: New file.
13153 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13154 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13155 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13156 * string/Makefile (headers): Add bits/byteswap-16.h.
13157
62470f60
PP
131582012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13159
13160 [BZ #13895]
13161 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13162 extra indirection.
13163 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13164 * nss/tst-nss-static.c: New.
13165
4dad7bab
RM
131662012-04-06 Robert Millan <rmh@gnu.org>
13167
13168 [BZ #6486]
13169 * manual/llio.texi (File Position Primitive): lseek
13170 refers to WHENCE when it really means OFFSET.
13171
e9142a17
AJ
131722012-04-06 Andreas Jaeger <aj@suse.de>
13173
2c040eff
AJ
13174 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13175 strncmp declarations.
13176
e9142a17
AJ
13177 * abilist/libc.abilist: Add __poll and __ppoll.
13178
ff9f1c5f
DM
131792012-04-05 David S. Miller <davem@davemloft.net>
13180
dcd2ae90
DM
13181 * scripts/check-local-headers.sh: Accept a host triplet in the
13182 path matched by the exclude regexp.
13183
993eb054
DM
13184 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13185 definition.
13186 * sysdeps/powerpc/powerpc32/dl-machine.h
13187 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13188 * sysdeps/s390/s390-32/dl-machine.h
13189 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13190 * sysdeps/sparc/sparc32/dl-machine.h
13191 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13192 * sysdeps/sparc/sparc64/dl-machine.h
13193 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13194
ff9f1c5f
DM
13195 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13196 lazy binding.
48e2e132 13197 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13198 undefined symbol errors.
13199
48e2e132 13200 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13201 DT_NEEDED entries.
13202
e80d6f94
MM
132032012-04-05 Michael Matz <matz@suse.de>
13204
13205 [BZ #13592]
13206 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13207
349fa79f
AJ
132082012-04-05 Andreas Jaeger <aj@suse.de>
13209
13210 [BZ #13908]
13211 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13212 comment.
13213
f402708f
KK
132142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13215
13216 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13217 which ROUND is no valid rounding mode.
13218
2ecccfc9
KK
132192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13220
13221 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13222 read again.
13223 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13224
8a53f50f
KK
132252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13226
13227 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13228 an exception using FPU order intentionally.
13229
132302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13231
13232 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13233 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13234 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13235 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13236
d653abb7
SJ
132372012-04-05 Simon Josefsson <simon@josefsson.org>
13238
13239 [BZ #12340]
13240 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13241 EINVAL when BUFLEN is too smal.
13242
c3b1bf7d
TS
132432012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13244
13245 [BZ #13553]
13246 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13247 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13248
b1aa60f3
AJ
132492012-04-03 Andreas Jaeger <aj@suse.de>
13250
c3b1bf7d 13251 [BZ #13938]
67f60a26
AJ
13252 * manual/setjmp.texi (System V contexts): Fix sentence.
13253
b1aa60f3
AJ
13254 [BZ #13926]
13255 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13256 New macro for this case.
13257 [!__GNUC__] (__bswap_64): New inline function for this case.
13258 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13259 * bits/byteswap.h: Likewise.
13260 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13261 ull, guard with __GLIBC_HAVE_LONG_LONG.
13262
13263 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13264 __GLIBC_HAVE_LONG_LONG.
13265
13266 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13267 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13268
39c59c35
TMQMF
132692012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13270
13271 [BZ #13691]
13272 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13273 inptr and inend, rather than using last_ch.
13274
135ffda8
DM
132752012-04-02 David S. Miller <davem@davemloft.net>
13276
13277 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13278 * stdio-common/printf-parse.h (read_int): Change return type to
13279 'int', return -1 on INT_MAX overflow.
13280 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13281 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13282 overflows INT_MAX. Check for overflow of in-format-string precision
13283 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13284 SIZE_MAX not INT_MAX for integer overflow test.
13285 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13286 skip the construct in the format string but do not record anything.
13287 * stdio-common/bug22.c: Adjust to test both width/prevision
13288 INT_MAX overflow as well as total length INT_MAX overflow. Check
13289 explicitly for proper errno values.
13290
228c019e
TS
132912012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13292
302cadd3
TS
13293 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13294 CHAR_MAX.
13295 * string/test-strcmp.c [! WIDE]: Likewise.
13296 * time/tst-mktime2.c: Likewise for INT_MAX.
13297 * string/test-string.h: #include <sys/param.h> for MIN.
13298
228c019e
TS
13299 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13300 * sysdeps/i386/init-first.c (init): Likewise.
13301 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13302 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13303 * sysdeps/sh/init-first.c (init): Likewise.
13304
cfa633f5
UD
133052012-04-01 Ulrich Drepper <drepper@gmail.com>
13306
13307 * po/ru.po: Update from translation team.
d1635ef8 13308 * po/vi.po: Likewise.
cfa633f5 13309
6cd0a5ea
SP
133102012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13311
13312 * resolv/nss_dns/dns-host.c: Merge copyright years.
13313
4b43400f
LD
133142012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13315
13316 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13317 Optimize memcpy with prefetch if
13318 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13319 src, dst pointers have unequal 16 byte alignments.
13320
48c41d04
SP
133212012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13322
13323 [BZ #13928]
13324 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13325 from a CNAME entry and return the minimum ttl for the query.
13326 (gaih_getanswer_slice): Likewise.
13327
b8dc394d
JL
133282012-03-30 Jeff Law <law@redhat.com>
13329
13330 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13331 due to long keys.
13332 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13333 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13334
2f5a5ed0
JL
13335 * resolv/nss_dns/dns-host.c: Update copyright year.
13336
1d39e359
UD
133372012-03-30 Ulrich Drepper <drepper@gmail.com>
13338
c030f70c 13339 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13340 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13341
1d39e359
UD
13342 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13343 comments for sendmmsg.
13344
133452012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13346
13347 [BZ #13691]
13348 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13349 with only 1 character between 0x0041 and 0x01b0.
13350 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13351 * wcsmbs/tst-mbsnrtowcs.c: New file.
13352
20fde227
DM
133532012-03-29 David S. Miller <davem@davemloft.net>
13354
13355 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13356 small copies by hand.
13357
984a4237
JL
133582012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13359
13360 [BZ #13761]
13361 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13362 _nss_compat_initgroups_dyn): Fall back to malloc/free
13363 for large group memberships.
13364
18c9d62b
DM
133652012-03-28 David S. Miller <davem@davemloft.net>
13366
88d85d4f
DM
13367 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13368 that branches into memcpy.
13369 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13370 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13372 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13374 bits.
13375 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13376 implementation too.
13377 * sysdeps/sparc/mempcpy.S: New file.
13378
e5aa83e1
DM
13379 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13380 the IFUNC routine in the libc case.
13381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13382
88570753
DM
13383 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13384 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13385 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13386 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13387 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13388 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13389 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13390 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13391
249d7567
DM
13392 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13393 loop to 256 bytes instead of 64 bytes and fix test signedness.
13394
18c9d62b
DM
13395 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13396 * sysdeps/sparc/sparc32/Makefile: rather than here...
13397 * sysdeps/sparc/sparc64/Makefile: and here.
13398
05f3d1f6
UD
133992012-03-28 Ulrich Drepper <drepper@gmail.com>
13400
13401 * malloc/mallocbug.c: Avoid warnings about unused variables.
13402
86ae07a8
JL
134032012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13404
13405 [BZ #13760]
13406 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13407 in the right place. Discard and retry query if response is
13408 larger than input buffer size.
13409
41bf21a1
JM
134102012-03-28 Joseph Myers <joseph@codesourcery.com>
13411
d6270972
JM
13412 [BZ #369]
13413 [BZ #2678]
13414 [BZ #3866]
13415 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13416 x for large integer exponent.
13417 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13418 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13419 sign of result as needed afterwards.
13420 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13421 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13422 result for underflowing pow the same as for overflow.
13423 (__kernel_standard_l): Handle powl overflow and underflow here
13424 rather than calling __kernel_standard.
13425 * math/libm-test.inc (pow_test): Add more tests.
13426
414fca03 13427 [BZ #3868]
41bf21a1
JM
13428 [BZ #13879]
13429 [BZ #13910]
13430 [BZ #13911]
13431 [BZ #13912]
13432 [BZ #13913]
13433 [BZ #13915]
13434 [BZ #13916]
13435 [BZ #13917]
13436 [BZ #13918]
13437 [BZ #13919]
13438 [BZ #13920]
13439 [BZ #13921]
13440 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13441 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13442 (__kernel_standard_l): New function.
13443 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13444 __kernel_standard.
13445 * math/w_acosl.c (__acosl): Likewise.
13446 * math/w_asinl.c (__asinl): Likewise.
13447 * math/w_atan2l.c (__atan2l): Likewise.
13448 * math/w_atanhl.c (__atanhl): Likewise.
13449 * math/w_coshl.c (__coshl): Likewise.
13450 * math/w_exp10l.c (__exp10l): Likewise.
13451 * math/w_exp2l.c (__exp2l): Likewise.
13452 * math/w_fmodl.c (__fmodl): Likewise.
13453 * math/w_hypotl.c (__hypotl): Likewise.
13454 * math/w_j0l.c (__j0l, __y0l): Likewise.
13455 * math/w_j1l.c (__j1l, __y1l): Likewise.
13456 * math/w_jnl.c (__jnl, __ynl): Likewise.
13457 * math/w_lgammal.c (__lgammal): Likewise.
13458 * math/w_log10l.c (__log10l): Likewise.
13459 * math/w_log2l.c (__log2l): Likewise.
13460 * math/w_logl.c (__logl): Likewise.
13461 * math/w_powl.c (__powl): Likewise.
13462 * math/w_remainderl.c (__remainderl): Likewise.
13463 * math/w_scalbl.c (sysv_scalbl): Likewise.
13464 * math/w_sinhl.c (__sinhl): Likewise.
13465 * math/w_sqrtl.c (__sqrtl): Likewise.
13466 * math/w_tgammal.c (__tgammal): Likewise.
13467 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13468 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13469 * math/libm-test.inc (acos_test): Add more tests.
13470 (acosh_test): Likewise.
13471 (asin_test): Likewise.
13472 (atanh_test): Likewise.
13473 (exp_test): Likewise.
13474 (exp10_test): Likewise.
13475 (exp2_test): Likewise.
13476 (expm1_test): Likewise.
13477 (lgamma_test): Likewise.
13478 (log_test): Likewise.
13479 (log10_test): Likewise.
13480 (log1p_test): Likewise.
13481 (log2_test): Likewise.
13482 (pow_test): Do not allow some spurious overflow exceptions.
13483 (sqrt_test): Add more tests.
13484 (tgamma_test): Likewise.
13485 (y0_test): Likewise.
13486 (y1_test): Likewise.
13487 (yn_test): Likewise.
13488
dd62fda6
AB
134892012-03-27 Anton Blanchard <anton@samba.org>
13490
13491 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13492 MAP_HUGETLB.
13493 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13494 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13496
1e3cdfda
AJ
134972012-03-27 David S. Miller <davem@davemloft.net>
13498
b855ab85
DM
13499 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13500
1e3cdfda
AJ
13501 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13502 have-as-vis3 check.
13503
135042012-03-27 Andreas Jaeger <aj@suse.de>
13505
13506 * sysdeps/x86_64/elf/configure.in: Moved to ...
13507 * sysdeps/x86_64/configure.in: ... here.
13508 * sysdeps/x86_64/elf/start.S: Moved to ...
13509 * sysdeps/x86_64/start.S: ... here.
13510 * sysdeps/x86_64/elf/configure: Delete.
13511
13512 * sysdeps/x86_64/configure.in: Merge contents from
13513 sysdeps/i386/configure.in (without i686 check).
13514
13515 * sysdeps/i386/elf/Versions: Merge into ...
13516 * sysdeps/i386/Versions: ... this.
13517 * sysdeps/i386/elf/Versions: Delete file.
13518 * sysdeps/i386/elf/start.S: Moved to ...
13519 * sysdeps/i386/start.S: ...here.
13520 * sysdeps/i386/elf/configure.in: Merge into...
13521 * sysdeps/i386/configure.in: ...here.
13522 * sysdeps/i386/elf/configure.in: Delete file.
13523 * sysdeps/i386/elf/configure: Delete file.
13524
13525 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13526 * debug/backtracesyms.c: ... here.
13527 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13528 * debug/backtracesymsfd.c: ... here.
13529 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13530 * sysdeps/generic/ifunc-sel.h: ... here.
13531
13532 * sysdeps/unix/i386/start.c: Delete file.
13533 * sysdeps/unix/sparc/start.c: Delete file.
13534 * sysdeps/unix/start.c: Delete file.
13535
13536 * sysdeps/sh/elf/configure.in: Moved to ...
13537 * sysdeps/sh/configure.in: ... here.
13538 * sysdeps/sh/elf/start.S: Moved to ...
13539 * sysdeps/sh/start.S: ... here.
13540 * sysdeps/sh/elf/configure: Delete file.
13541
13542 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13543 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13544 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13545 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13546 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13547 * sysdeps/powerpc/powerpc64/start.S: here.
13548 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13549 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13550 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13551 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13552 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13553
13554 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13555 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13556 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13557 * sysdeps/powerpc/powerpc32/start.S: ... here.
13558 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13559 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13560 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13561
13562 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13563 * sysdeps/powerpc/ifunc-sel.h: ... here.
13564 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13565 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13566
13567 * sysdeps/sparc/elf/configure.in: Moved to ...
13568 * sysdeps/sparc/configure.in: ... here.
13569 * sysdeps/sparc/elf/configure: Delete file.
13570 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13571 * sysdeps/sparc/sparc32/start.S: ... here.
13572 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13573 * sysdeps/sparc/sparc64/start.S: ... here.
13574 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13575 * sysdeps/sparc/sparc32/Makefile: ... this.
13576 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13577 * sysdeps/sparc/sparc64/Makefile: ... this.
13578
13579 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13580 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13581 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13582 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13583 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13584 * sysdeps/s390/s390-32/setjmp.S: ... here.
13585 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13586 * sysdeps/s390/s390-32/configure.in: ... here.
13587 * sysdeps/s390/s390-32/elf/configure: Delete file.
13588 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13589 * sysdeps/s390/s390-32/start.S: ... here.
13590
13591 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13592 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13593 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13594 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13595 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13596 * sysdeps/s390/s390-64/setjmp.S: ... here.
13597 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13598 * sysdeps/s390/s390-64/configure.in: ... here
13599 * sysdeps/s390/s390-64/elf/configure: Delete file.
13600 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13601 * sysdeps/s390/s390-64/start.S: ... here.
13602 * sysdeps/s390/s390-64/elf/configure: Delete.
13603
13604 * configure.in: Remove support for elf directories in sysdeps.
13605
13606 * configure: Regenerated.
13607 * sysdeps/i386/configure: Regenerated.
13608 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13609 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13610 * sysdeps/s390/s390-32/configure: Regenerated.
13611 * sysdeps/s390/s390-64/configure: Regenerated.
13612 * sysdeps/sh/configure: Regenerated.
13613 * sysdeps/sparc/configure: Regenerated.
13614 * sysdeps/x86_64/configure: Regenerated.
13615
a3f61311
AS
136162012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13617
c876e002
AS
13618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13619
a3f61311
AS
13620 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13621 denormal result into account.
13622
ac4c54f0
RM
136232012-03-25 Roland McGrath <roland@hack.frob.com>
13624
13625 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13626 Reported by Allan McRae <allan@archlinux.org>.
13627
6a9b9c02
JL
136282012-03-23 Jeff Law <law@redhat.com>
13629
13630 * nss/getnssent.c (__nss_getent): Fix typo.
13631
4c42a0c1
DM
136322012-03-23 David S. Miller <davem@davemloft.net>
13633
13634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13635
1532c7ac
L
136362012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13637
13638 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13639 to pad to uint64_t for each field.
13640 (dl_tls_index): Replace unsigned long with uint64_t.
13641
3ff42526
PP
136422012-03-23 Daniel Jacobowitz <dmj@google.com>
13643 Paul Pluzhnikov <ppluzhnikov@google.com>
13644
13645 [BZ #6528]
13646 * grp/Makefile (otherlibs): Don't set it.
13647 * inet/Makefile (otherlibs): Likewise.
13648 * login/Makefile (otherlibs): Likewise.
13649 * nscd/Makefile (otherlibs): Likewise.
13650 * posix/Makefile (otherlibs): Likewise.
13651 * pwd/Makefile (otherlibs): Likewise.
13652 * rt/Makefile (otherlibs): Likewise.
13653 * sunrpc/Makefile (otherlibs): Likewise.
13654 * nss/Makefile (otherlibs): Likewise.
13655 Add libnss_files to routines and static-only-routines.
13656 ($(objpfx)getent): Remove rule.
13657 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13658 static-only-routines.
13659
7c69cd14
JM
136602012-03-22 Joseph Myers <joseph@codesourcery.com>
13661
13662 [BZ #13892]
13663 * math/s_cexp.c: Include <float.h>.
13664 (__cexp): Handle exp result overflowing not necessarily
13665 overflowing both real and imaginary parts of result.
13666 * math/s_cexpf.c: Likewise.
13667 * math/s_cexpl.c: Likewise.
13668 * math/libm-test.inc (cexp_test): Add more tests.
13669 * sysdeps/i386/fpu/libm-test-ulps: Update.
13670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13671
81b035fe
L
136722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13673
13674 * include/link.h (ELFW): New macro.
13675 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13676 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13677
1da7940c
L
136782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13679
13680 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13681 with uint64_t.
13682
b749dbb9
L
136832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13684
13685 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13686 declaration.
13687 (struct La_x32_retval): Likewise.
13688
2ff87f3f
L
136892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13690
13691 * sysdeps/x86_64/preconfigure.in: New file.
13692 * sysdeps/x86_64/preconfigure: New generated file.
13693
c0df8e69
JM
136942012-03-22 Joseph Myers <joseph@codesourcery.com>
13695
48e44791
JM
13696 [BZ #13824]
13697 * math/e_exp2l.c: Include <float.h>.
13698 (__ieee754_exp2l): Handle overflow and underflow cases
13699 separately. Only pass fractional part of argument to
13700 __ieee754_expl.
13701 * math/libm-test.inc (exp2_test): Add more tests.
13702
c0df8e69
JM
13703 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13704 negating x to take absolute value.
13705 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13706 Likewise.
13707 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13708 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13709 Likewise.
13710 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13711 computing low part if x was negated.
13712 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13713
c8e43ba7
L
137142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13715
13716 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13717 la_x32_gnu_pltexit.
13718 (pltexit): Cast int_retval to ptrdiff_t.
13719 * elf/tst-auditmod3b.c: Likewise.
13720 * elf/tst-auditmod4b.c: Likewise.
13721 * elf/tst-auditmod5b.c: Likewise.
13722 * elf/tst-auditmod6b.c: Likewise.
13723 * elf/tst-auditmod6c.c: Likewise.
13724 * elf/tst-auditmod7b.c: Likewise.
13725
13726 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13727 and x32_gnu_pltexit.
13728
13729 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13730 __ELF_NATIVE_CLASS.
13731 (La_x32_regs): New macro.
13732 (La_x32_retval): Likewise.
13733 (la_x32_gnu_pltenter): New function prototype.
13734 (la_x32_gnu_pltexit): Likewise.
13735
7998fa78
AS
137362012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13737
dcb33988
AS
13738 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13739 exponent.
13740
233fc563
AS
13741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13742
7998fa78
AS
13743 * configure.in (libc_cv_cc_nofma): Check for option to disable
13744 generation of FMA instructions.
13745 * configure: Regenerate.
13746 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13747 * sysdeps/ieee754/dbl-64/Makefile: New file.
13748 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13749 Remove brandred-fma4.
13750 (CFLAGS-brandred-fma4.c): Remove.
13751 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13752 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13753 define.
13754 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13755 define.
13756
8e95c99a
L
137572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13758
13759 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13760 LLONG_MAX != LONG_MAX.
13761 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13762 (_fitoa_word): Likewise.
13763 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13764 LLONG_MAX != LONG_MAX.
13765 * stdio-common/_itowa.h: Include <_itoa.h>.
13766 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13767 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13768 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13769 only if not defined.
13770 (_ITOA_WORD_TYPE): Likewise.
13771 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13772 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13773
6f4db457
DM
137742012-03-21 David S. Miller <davem@davemloft.net>
13775
13776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13777
7785fe5a
L
137782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13779
13780 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13781 of x86_64 when setting libc_cv_slibdir, libdir and
13782 libc_cv_localedir.
13783 * sysdeps/unix/sysv/linux/configure: Regenerated.
13784
4535cd55
JM
137852012-03-21 Joseph Myers <joseph@codesourcery.com>
13786
13787 * manual/lang.texi (Old Varargs): Remove section.
13788 (How Variadic): Update menu.
13789 (va_start): Do not mention varargs.h.
13790
17228132
TS
137912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13792 Joseph Myers <joseph@codesourcery.com>
13793
13794 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13795 link test.
13796 * configure: Regenerated.
13797
8149f976
TS
137982012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13799
05f3d1f6
UD
13800 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13801 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13802 conformtest.pl
8149f976 13803
1a4ac776
JM
138042012-03-21 Joseph Myers <joseph@codesourcery.com>
13805
be22ce65
JM
13806 * NOTES: Remove.
13807 * Makefile (files-for-dist): Remove NOTES.
13808 (NOTES): Remove rule.
13809 * README: Don't refer to NOTES.
13810 * manual/creature.texi: Don't include macros.texi.
13811 * manual/intro.texi (creature.texi): Remove comment referring to
13812 NOTES.
13813
40b601fb
JM
13814 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13815 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13816 * configure: Regenerated.
13817 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13818 LIBC_TRY_CC_OPTION.
13819 (libc_cv_as_i686): Likewise.
13820 (libc_cv_cc_avx): Likewise.
13821 (libc_cv_cc_sse2avx): Likewise.
13822 (libc_cv_cc_fma4): Likewise.
13823 (libc_cv_cc_novzeroupper): Likewise.
13824 * sysdeps/i386/configure: Regenerated.
13825
1a4ac776
JM
13826 [BZ #13883]
13827 * sysdeps/i386/fpu/s_cexp.S: Remove.
13828 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13829 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13830 * math/libm-test.inc (cexp_test): Add more tests.
13831 * sysdeps/i386/fpu/libm-test-ulps: Update.
13832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13833
a458e7fe
AM
138342012-03-21 Allan McRae <allan@archlinux.org>
13835
13836 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13837
0cb7efc5
JM
138382012-03-21 Joseph Myers <joseph@codesourcery.com>
13839
13840 [BZ #13871]
13841 * math/w_exp2.c: Do not include <float.h>.
13842 (o_threshold, u_threshold): Remove.
13843 (__exp2): Calculate result before checking finiteness and calling
13844 __kernel_standard.
13845 * math/w_exp2f.c: Likewise.
13846 * math/w_exp2l.c: Likewise.
13847 * math/libm-test.inc (exp2_test): Require overflow exception for
13848 1e6 input.
2460d3aa
JM
13849
13850 [BZ #3866]
13851 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13852 range of signed 64-bit integers before using fistpll. Remove
13853 checks for whether integers fit in mantissa bits.
13854 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13855 the range of signed 32-bit integers before using fistpl. Remove
13856 checks for whether integers fit in mantissa bits.
13857 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13858 (__ieee754_powl): Test for y outside the range of signed 64-bit
13859 integers before using fistpll. Reduce 64-bit values to 63-bit
13860 ones as needed.
13861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13862 divide-by-zero is raised for zero to large negative powers.
13863 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13864 (__ieee754_powl): Test for y outside the range of signed 64-bit
13865 integers before using fistpll. Reduce 64-bit values to 63-bit
13866 ones as needed.
13867 * math/libm-test.inc (pow_test): Add more tests.
13868
eb96ffb0
L
138692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13870
13871 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13872 <stdio-common/_itoa.h>.
13873 * debug/segfault.c: Likewise.
13874 * elf/dl-cache.c: Likewise.
13875 * elf/dl-minimal.c: Likewise.
13876 * elf/dl-misc.c: Likewise.
13877 * elf/dl-sysdep.c: Likewise.
13878 * elf/dl-version.c: Likewise.
13879 * elf/rtld.c: Likewise.
13880 * hurd/hurdsock.c: Likewise.
13881 * hurd/lookup-retry.c: Likewise.
13882 * malloc/malloc.c: Likewise.
13883 * malloc/mtrace.c: Likewise.
13884 * nscd/nscd_getgr_r.c: Likewise.
13885 * nscd/nscd_getpw_r.c: Likewise.
13886 * nscd/nscd_getserv_r.c: Likewise.
13887 * posix/getopt_init.c: Likewise.
13888 * posix/wordexp.c: Likewise.
13889 * stdio-common/_itoa.c: Likewise.
13890 * stdio-common/printf_fphex.c: Likewise.
13891 * stdio-common/vfprintf.c: Likewise.
13892 * string/_strerror.c: Likewise.
13893 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13894 * sysdeps/i386/i686/hp-timing.h: Likewise.
13895 * sysdeps/mach/_strerror.c: Likewise.
13896 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13897 * sysdeps/mach/hurd/sethostid.c: Likewise.
13898 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13899 * sysdeps/mach/xpg-strerror.c: Likewise.
13900 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13901 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13902 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13903 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13904 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13905 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13906 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13907 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13908 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13909 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13910 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13911 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13913 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13914 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13915 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13916 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13917 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13918 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13919 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13920 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13921
13922 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13923
13924 * stdio-common/_itoa.h: Moved to ...
13925 * sysdeps/generic/_itoa.h: Here.
13926
13927 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13928
13929 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13930 instead of "_itoa.h" and "_itowa.h".
13931 * stdio-common/vfprintf.: Likewise.
13932
d1af992d
L
139332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13934
13935 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13936 <bits/wordsize.h>.
13937 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13938 (__signbit): Likwise.
13939 (llrintf): Likwise.
13940 (llrint): Likwise.
13941
114883e0
L
139422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13943
13944 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13945 __WORDSIZE != 64.
13946
c135cc1b
JM
139472012-03-20 Joseph Myers <joseph@codesourcery.com>
13948
13949 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13950 OVERFLOW_EXCEPTION_OK.
13951 * math/libm-test.inc ("Philosophy"): Update comment about
13952 exception testing.
13953 (OVERFLOW_EXCEPTION): Define.
13954 (OVERFLOW_EXCEPTION_OK): Likewise.
13955 (INVALID_EXCEPTION_OK): Renumber.
13956 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13957 (IGNORE_ZERO_INF_SIGN): Likewise.
13958 (test_exceptions): Handle FE_OVERFLOW.
13959 (exp10_test): Expect overflow exceptions.
13960 (exp2_test): Likewise.
13961 (expm1_test): Likewise.
13962 (nextafter_test): Likewise.
13963 (pow_test): Likewise.
13964 (scalbn_test): Likewise.
13965 (scalbln_test): Likewise.
13966
95443d88
L
139672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 * sysdeps/x86_64/bits/atomic.h
13970 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13971 64bit integer.
13972 (atomic_exchange_acq): Likewise.
13973 (__arch_exchange_and_add_body): Likewise.
13974 (__arch_add_body): Likewise.
13975 (atomic_add_negative): Likewise.
13976 (atomic_add_zero): Likewise.
13977
490df6c4
L
139782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13979
c2722551 13980 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13981 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13982
5e52b189
L
139832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13984
13985 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13986 Check __x86_64__ instead of __WORDSIZE.
13987
a9879d4c
L
139882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13989
13990 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13991
5df98260
DM
139922012-03-19 David S. Miller <davem@davemloft.net>
13993
e1497744
DM
13994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13995
5df98260
DM
13996 * sysdeps/sparc/fpu/fenv_private.h: New file.
13997 * sysdeps/sparc/fpu/math_private.h: Use it.
13998 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13999 Remove.
14000 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14001 (libc_feholdexcept_setroundl): Remove.
14002 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14003 Remove.
14004 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14005 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14006
b4c35121
L
140072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14008
14009 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14010 int64_t instead of long int.
14011 (INSERT_WORDS64): Likwise.
14012
56965fd7
L
140132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14014
14015 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14016 _Unwind_GetCFA return to _Unwind_Ptr first.
14017
83d1aec8
JM
140182012-03-19 Joseph Myers <joseph@codesourcery.com>
14019
1897ad44
JM
14020 [BZ #13629]
14021 * math/s_clog.c: Include <float.h>.
14022 (__clog): Scale large or subnormal inputs.
14023 * math/s_clogf.c: Likewise.
14024 * math/s_clogl.c: Likewise.
14025 * math/s_clog10.c: Include <float.h>.
14026 (M_LOG10_2): Define.
14027 (__clog10): Scale large or subnormal inputs.
14028 * math/s_clog10f.c: Likewise.
14029 * math/s_clog10l.c: Likewise.
14030 * math/libm-test.inc (clog_test): Add more tests.
14031 (clog10_test): Likewise.
14032 * sysdeps/i386/fpu/libm-test-ulps: Update.
14033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14034
7726d6a9
JM
14035 [BZ #11451]
14036 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14037 x and y.
14038 * math/libm-test.inc (atan2_test): Add another test.
14039
83d1aec8
JM
14040 * Makerules (common-objdir-compile): Remove.
14041 * sysdeps/unix/Makefile (config-generated): Do not add
14042 $(unix-generated) to variable.
14043 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14044 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14045 Remove rule.
14046 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14047 Likewise.
14048 [generic bits/local_lim.h] (before-compile): Do not append to
14049 variable.
14050 [generic bits/local_lim.h] (common-generated): Likewise.
14051 [generic sys/param.h] (before-compile): Do not append to variable.
14052 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14053 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14054 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14055 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14056 include.
14057 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14058 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14059 [generic sys/param.h] ($(addprefix
14060 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14061 [generic sys/param.h] (common-generated): Do not append to
14062 variable.
14063 [generic sys/param.h] (sysdep_headers): Likewise.
14064 [generic bits/errno.h] (before-compile): Do not append to
14065 variable.
14066 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14067 rule.
14068 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14069 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14070 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14071 [generic bits/errno.h] (common-generated): Do not append to
14072 variable.
14073 [generic bits/ioctls.h] (before-compile): Do not append to
14074 variable.
14075 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14076 rule.
14077 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14078 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14079 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14080 rule.
14081 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14082 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14083 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14084 [generic bits/ioctls.h] (common-generated): Do not append to
14085 variable.
14086 [generic sys/syscall.h] (syscall.h): Remove variable.
14087 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14088 rule.
14089 [generic sys/syscall.h] (before-compile): Do not append to
14090 variable.
14091 [generic sys/syscall.h] (common-generated): Likewise.
14092 * sysdeps/unix/errnos-tmpl.c: Remove file.
14093 * sysdeps/unix/errnos.awk: Likewise.
14094 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14095 * sysdeps/unix/ioctls.awk: Likewise.
14096 * sysdeps/unix/mk-local_lim.c: Likewise.
14097 * sysdeps/unix/snarf-ioctls: Likewise.
14098
4851a949
RH
140992012-03-19 Richard Henderson <rth@twiddle.net>
14100
bd37f2ee
RH
14101 * sysdeps/i386/fpu/fenv_private.h: New file.
14102 * sysdeps/i386/fpu/math_private.h: Use it.
14103 (math_opt_barrier, math_force_eval): Remove.
14104 (libc_feholdexcept_setround_53bit): Remove.
14105 (libc_feupdateenv_53bit): Remove.
14106 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14107 (math_opt_barrier, math_force_eval): Remove.
14108 (libc_feholdexcept): Remove.
14109 (libc_feholdexcept_setround): Remove.
14110 (libc_fetestexcept, libc_fesetenv): Remove.
14111 (libc_feupdateenv_test): Remove.
14112 (libc_feupdateenv, libc_feholdsetround): Remove.
14113 (libc_feresetround): Remove.
14114
d0adc922
RH
14115 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14116 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14117
0fe0f1f8
RH
14118 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14119 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14120 (libc_feupdateenv_testl): New.
14121 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14122 (libc_feupdateenv_testf): New.
14123 (libc_feupdateenv): Use libc_feupdateenv_test.
14124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14125 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14126
eb92c487
RH
14127 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14128 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14129 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14130 (libc_feresetround_noex): New.
14131 (libc_feresetround_noexf): New.
14132 (libc_feresetround_noexl): New.
14133 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14134 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14135 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14136 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14137 SET_RESTORE_ROUND.
14138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14140 (__cos): Likewise.
14141 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14142 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14143 SET_RESTORE_ROUND_NOEX.
14144 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14145 SET_RESTORE_ROUND_NOEXF.
14146 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14147 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14148 (libc_feholdsetroundf): New.
14149 (libc_feresetround, libc_feresetroundf): New.
14150
7d2e8012
RH
14151 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14152 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14153 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14154
b4dabbb4
RH
14155 * sysdeps/generic/math_private.h: Include <fenv.h>.
14156 (default_libc_feholdexcept): New.
14157 (default_libc_feholdexcept_setround): New.
14158 (default_libc_fesetenv, default_libc_feupdateenv): New.
14159 (libc_feholdexcept): Only define if undefined.
14160 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14161 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14162 (libc_feholdexcept_setroundl): Likewise.
14163 (libc_feholdexcept_setround_53bit): Likewise.
14164 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14165 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14166 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14167 (libc_feupdateenv_53bit): Likewise.
14168 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14169 (libc_feholdexcept): Convert from macro to inline function.
14170 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14171 (libc_fesetenv, libc_feupdateenv): Likewise.
14172
4851a949
RH
14173 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14174 not previously defined.
14175 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14176 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14177 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14178 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14179 * sysdeps/ieee754/flt-32/math_private.h: New file.
14180 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14181 math_private.h below SET_FLOAT_WORD.
14182 (__isnan, __isinf_ns, __finite): Remove.
14183 (__isnanf, __isinf_nsf, __finitef): Remove.
14184
e79d442e
AS
141852012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14186
14187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14188
90b80344
DM
141892012-03-17 David S. Miller <davem@davemloft.net>
14190
14191 [BZ #6471]
14192 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14193 for 2.16.
14194
edc21804
DM
141952012-03-16 David S. Miller <davem@davemloft.net>
14196
77e927af
DM
14197 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14198 warnings.
14199
374976dd
DM
14200 [BZ #6471]
14201 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14202 properly.
14203 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14204 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14205 sysdep_routines when subdir is sysvipc.
14206 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14207 __getshmlba helper.
14208
edc21804
DM
14209 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14210
473c3ef3
L
142112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14212
14213 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14214 [__LP64__].
14215
eb0f39b6
L
142162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14217
14218 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14219 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14220 (__lround): Renamed to ...
14221 (__llround): This. Replace long int with long long int.
14222 Define lround functions as aliases of llround functions.
14223 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14224
6b6cd74b
L
142252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14226
14227 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14228 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14229 adresses to uintptr_t. Replace "long int" and "unsigned long
14230 int" with "greg_t" on va_arg.
14231
f1a77b01
L
142322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14233
14234 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14235 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14236
14237 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14238 Move e_machine check before EI_CLASS check. Handle x32
14239 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14240 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14241 SKIP_EM_IA_64 and include
14242 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14243
14244 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14245 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14246 (add_system_dir): New macro.
14247
14248 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14249 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14250
11b90b9f
JM
142512012-03-16 Joseph Myers <joseph@codesourcery.com>
14252
c36e1d23
JM
14253 [BZ #2551]
14254 [BZ #2552]
14255 [BZ #2553]
14256 [BZ #2554]
14257 [BZ #2562]
14258 [BZ #2563]
14259 [BZ #2565]
14260 [BZ #2566]
14261 [BZ #2576]
14262 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14263 (y0): Likewise.
14264 * math/w_j0f.c (j0f): Likewise.
14265 (y0f): Likewise.
14266 * math/w_j0l.c (__j0l): Likewise.
14267 (__y0l): Likewise.
14268 * math/w_j1.c (j1): Likewise.
14269 (y1): Likewise.
14270 * math/w_j1f.c (j1f): Likewise.
14271 (y1f): Likewise.
14272 * math/w_j1l.c (__j1l): Likewise.
14273 (__y1l): Likewise.
14274 * math/w_jn.c (jn): Likewise.
14275 (yn): Likewise.
14276 * math/w_jnf.c (jnf): Likewise.
14277 (ynf): Likewise.
14278 * math/w_jnl.c (__jnl): Likewise.
14279 (__ynl): Likewise.
14280 * math/libm-test.inc (j0_test): Add more tests.
14281 (j1_test): Likewise.
14282 (jn_test): Likewise. Add trailing semicolon to existing test.
14283 (y0_test): Likewise.
14284 (y1_test): Likewise.
14285 * sysdeps/i386/fpu/libm-test-ulps: Update.
14286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14287
11b90b9f
JM
14288 [BZ #13851]
14289 [BZ #13854]
14290 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14291 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14292 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14293 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14294 (__tanl): Set errno for infinite argument.
14295 * sysdeps/i386/fpu/mptan.c: Remove.
14296 * sysdeps/i386/fpu/s_tan.S: Likewise.
14297 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14298 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14299 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14300 * math/libm-test.inc (tan_test): Add more tests and enable more
14301 tests for double and long double.
14302 * sysdeps/i386/fpu/libm-test-ulps: Update.
14303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14304
6a1bd2a1
JK
143052012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14306
14307 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14308 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14309
10a803e0
RM
143102012-03-16 Roland McGrath <roland@hack.frob.com>
14311
14312 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14313 * configure.in: Use it for both main tree and add-ons.
14314 * configure: Regenerated.
14315
f196c7f7
L
143162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14317
14318 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14319
8848d99d
JM
143202012-03-16 Joseph Myers <joseph@codesourcery.com>
14321
96cbe7f4
JM
14322 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14323 in comment.
14324
8848d99d
JM
14325 [BZ #13851]
14326 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14327 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14331 infinite argument.
14332 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14333 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14334 != 0 for prec == 2.
14335 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14336 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14337 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14338 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14339 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14340 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14341 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14342 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14343 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14344 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14345 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14346 * math/libm-test.inc (cos_test): Add more tests and enable more
14347 tests for long double.
14348 (sin_test): Likewise.
14349 (sincos_test): Likewise.
14350 * sysdeps/i386/fpu/libm-test-ulps: Update.
14351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14352
dd7f4703
DM
143532012-03-16 David S. Miller <davem@davemloft.net>
14354
14355 * sysdeps/sparc/fpu/math_private.h: New file.
14356
006f1daa
DM
143572012-03-15 David S. Miller <davem@davemloft.net>
14358
c0c83bc8
DM
14359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14360 file.
e6a62e18 14361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14363 file.
e6a62e18
DM
14364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14369 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14370 sysdep routines.
14371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14372
88cb87d9
DM
14373 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14374 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14375
006f1daa 14376 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14378 sparc-ifunc.h
006f1daa 14379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14381 Likewise.
14382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14383 Likewise.
006f1daa
DM
14384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14388 Likewise.
006f1daa
DM
14389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14394 Likewise.
14395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14396 Likewise.
006f1daa
DM
14397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14403 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14405 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14407 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14411 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14415 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14417 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14419 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14421
11e0098e
AS
144222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14423
14424 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14425 scaling.
14426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14427
e85b09d0
AJ
144282012-03-15 Andreas Jaeger <aj@suse.de>
14429
14430 [BZ #13852]
14431 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14432 ieee754/flt-32 implementation for sin, cos and sincos.
14433 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14434 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14435 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14436 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14437 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14438 ieee754/flt-32 implementation for tan.
14439
14440 * math/libm-test.inc (cos_test): Enable some large input tests for
14441 float as well
14442 (sin_test): Likewise.
14443 (sincos_test): Likewise.
14444 (tan_test): Add tests for large input.
14445
14446 * sysdeps/i386/fpu/libm-test-ulps: Update.
14447
81c64153
AJ
144482012-03-15 Andreas Jaeger <aj@suse.de>
14449
14450 [BZ #13658]
14451 * math/libm-test.inc (cos_test): Add more test cases.
14452 (sin_test): Likewise.
14453 (sincos_test): Likewise.
14454
7bbfa5c6
AJ
144552012-03-15 Andreas Jaeger <aj@suse.de>
14456
14457 [BZ #13837]
14458 * math/libm-test.inc (cos_test): Add a test case for large input
14459 value.
14460 (sin_test): Likewise.
14461 (sincos_test): Likewise.
14462
144632012-03-15 Andreas Jaeger <aj@suse.de>,
14464 Joseph Myers <joseph@codesourcery.com>
14465
14466 [BZ #13658]
0671f479 14467 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14468 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14469 * sysdeps/i386/fpu/branred.c: Likewise.
14470 * sysdeps/i386/fpu/dosincos.c: Likewise.
14471 * sysdeps/i386/fpu/mpa.c: Likewise.
14472 * sysdeps/i386/fpu/s_cos.S: Likewise.
14473 * sysdeps/i386/fpu/s_sin.S: Likewise.
14474 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14475 * sysdeps/i386/fpu/sincos32.c: Likewise.
14476
14477 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14478 Define.
14479 (libc_feupdateenv_53bit): Define.
14480 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14481 Define.
14482 (libc_feupdateenv_53bit): Define.
14483
14484 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14485 53 bit (without extend i386 double precision).
14486
14487 * math/libm-test.inc (sincos_test): Add tests for large input.
14488 (sin): Likewise.
14489 (cos): Likewise.
14490
14491 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14492
9cad04ea
AS
144932012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14494
14495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14496
f7062b9a
DM
144972012-03-15 David S. Miller <davem@davemloft.net>
14498
14499 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14500 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14501 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14502 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14515 file.
f7062b9a 14516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14518 file.
f7062b9a 14519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14521 file.
f7062b9a 14522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14524 file.
f7062b9a
DM
14525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14526 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14527 fmin/fmax sysdep routines.
14528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14529
7bd951ff
DM
145302012-03-14 David S. Miller <davem@davemloft.net>
14531
559398ab
DM
14532 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14536 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14552 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14554 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14556 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14561 routines.
14562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14563 file.
559398ab 14564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14566 file.
559398ab 14567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14569 file.
559398ab 14570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14572 file.
559398ab 14573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14575 file.
559398ab 14576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14578 file.
14579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14580 file.
14581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14582 file.
14583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14584 file.
14585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14586 New file.
14587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14588 file.
14589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14590 file.
559398ab 14591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14593 file.
559398ab 14594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14596 file.
559398ab 14597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14599 file.
559398ab 14600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14602 VIS3 routines.
559398ab
DM
14603
14604 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14605 New file.
14606
5a1c1e32
DM
14607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14608
eae47a36
DM
14609 * sysdeps/sparc/configure.in: New file.
14610 * sysdeps/sparc/configure: Generate.
14611 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14612 * configure: Regenerate.
14613 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14614 * config.make.in (have-as-vis3): New.
14615 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14616 available use -Av9d instead of -Av9a.
14617 * sysdeps/sparc/sparc64/Makefile: Likewise.
14618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14620 New file.
14621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14622 file.
14623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14624 New file.
14625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14626 file.
eae47a36
DM
14627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14628 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14632
c0c83bc8
DM
14633 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14634 fzeros/fnegs to load 0x80000000 into a float register instead of
14635 using the stack.
7bd951ff
DM
14636 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14637
bd951ccb
JM
146382012-03-14 Joseph Myers <joseph@codesourcery.com>
14639
14640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14641 bits/syscall.h.
14642 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14643 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14644 ($(inst_includedir)/bits/syscall.h): Remove rule.
14645 ($(objpfx)bits/syscall.d): Include instead of
14646 $(objpfx)syscall-list.d.
14647 (generated): Change syscall-list.h and syscall-list.d to
14648 bits/syscall.h and bits/syscall.d.
14649
bb4e6db2
RM
146502012-03-14 Roland McGrath <roland@hack.frob.com>
14651
14652 [BZ #13846]
14653 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14654
aa4a2ae1
JM
146552012-03-14 Joseph Myers <joseph@codesourcery.com>
14656
e456826d
JM
14657 [BZ #13841]
14658 * math/s_csqrt.c: Include <float.h>.
14659 (__csqrt): Scale large or subnormal inputs.
14660 * math/s_csqrtf.c: Likewise.
14661 * math/s_csqrtl.c: Likewise.
14662 * math/libm-test.inc (csqrt_test): Add more tests.
14663 * sysdeps/i386/fpu/libm-test-ulps: Update.
14664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14665
aa4a2ae1
JM
14666 [BZ #13840]
14667 * math/libm-test.inc (hypot_test): Add more tests.
14668
7c10fd35
DM
146692012-03-13 David S. Miller <davem@davemloft.net>
14670
14671 [BZ #13840]
14672 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14673 double-precision for the calculation instead of scaling.
14674
f453b98b
JM
146752012-03-13 Joseph Myers <joseph@codesourcery.com>
14676
14677 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14678 manipulate bits before adding and subtracting TWO52[sx].
14679 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14680 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14681 Likewise.
14682 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14683
09a3453f
DM
146842012-03-13 David S. Miller <davem@davemloft.net>
14685
8e59da90
DM
14686 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14687 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14688 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14689 rtld-global-offsets.h
14690 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14691
2a8ab7f2
DM
14692 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14693 large parameters.
14694
10f62770
DM
14695 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14696
5f0bdb18
DM
14697 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14698 'err' in the ifdef scope in which it is actually used.
14699
09a3453f
DM
14700 * nss/nss_db/db-init.c: Include string.h
14701
b4b2eb5e
DM
147022012-03-12 David S. Miller <davem@davemloft.net>
14703
98bb2f1c
DM
14704 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14705 masking out of the most significant byte of random value used.
14706 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14707 Fix coding style in previous change.
14708
b4b2eb5e
DM
14709 * sysdeps/unix/sysv/linux/kernel-features.h
14710 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14711 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14712 expression.
14713 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14714 later.
14715
6e226b09
DM
147162012-03-11 David S. Miller <davem@davemloft.net>
14717
a1bcbd40
DM
14718 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14719 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14720 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14721 for 'resultvar' otherwise things get truncated on 64-bit.
14722
cb9d6174
DM
14723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14724 Fix masking out of the most significant byte of random value used.
14725
6e226b09
DM
14726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14727
058c132d
AS
147282012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14729
14730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14731
2d2cd515
DM
147322012-03-09 David S. Miller <davem@davemloft.net>
14733
14734 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14735 variables with appropriate CPP guards.
14736 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14737 frame pointer, not the stack pointer. Correct layout comments. Fix test
14738 on resulting framesize and the management of the outregs buffer for pltexit.
14739 Preserve floating point return values across _dl_call_pltexit call.
14740 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14741 framesize and the management of the outregs buffer for pltexit.
14742 Preserve floating point return values across _dl_call_pltexit
14743 call.
14744 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14745 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14746 (print_exit): Fix format string for return register value.
14747
9a07f9d0
JM
147482012-03-10 Joseph Myers <joseph@codesourcery.com>
14749
14750 * sunrpc/Makefile (others): Add rpcgen.
14751 ($(objpfx)rpcgen): Remove special build rule and dependency on
14752 libc.
14753 * sunrpc/rpcgen.c: New file.
14754
547b5e30
PE
147552012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14756
c524201a
PE
14757 [BZ #13673]
14758 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14759 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14760 * sysdeps/i386/crti.S: Likewise.
14761 * sysdeps/i386/crtn.S: Likewise.
14762 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14763 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14764 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14765 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14766 * sysdeps/sh/crti.S: Likewise.
14767 * sysdeps/sh/crtn.S: Likewise.
14768 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14769
7b6235f2
PE
14770 [BZ #13673]
14771 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14772 with URL.
14773 * locale/programs/locfile-kw.gperf: Likewise.
14774 * locale/programs/charmap-kw.h: Regenerated.
14775 * locale/programs/locfile-kw.h: Likewise.
14776
547b5e30
PE
14777 [BZ #13673]
14778 * intl/plural.y: Replace FSF snail mail address with URL.
14779 * intl/plural.c: Regenerated.
14780
5f0a5dae
RH
147812012-03-09 Richard Henderson <rth@twiddle.net>
14782
14783 * include/math_private.h: Remove file.
14784 * math/math_private.h: Move file ...
14785 * sysdeps/generic/math_private.h: ... here.
14786
b8c03620
RH
14787 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14788 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14789 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14790
4e234f5d 14791 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14792 and <math_private.h>.
14793 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14794 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14795 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14796 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14797 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14798 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14799 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14801 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14802 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14804 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14805 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14806 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14807 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14808 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14809 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14811 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14812 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14833 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14834 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14835 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14836 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14837 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14838 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14839 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14840 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14841 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14842 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14843 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14844 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14845 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14846 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14847 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14848 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14849 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14850 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14851 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14852 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14854 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14856 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14857 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14860 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14861 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14862 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14863 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14867 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14876 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14881 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14882 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14883 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14884 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14885 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14886 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14887 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14888 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14889 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14890 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14891 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14892 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14893 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14894 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14895 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14896 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14897 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14898 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14899 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14900 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14901 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14902 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14903 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14904 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14905 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14906 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14907 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14908 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14909 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14910 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14911 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14912 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14913 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14914 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14915 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14916 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14917 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14918 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14919 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14920 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14921 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14922 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14923 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14924 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14925 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14926 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14927 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14928 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14929 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14930 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14931 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14932 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14933 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14934 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14935 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14936 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14937 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14938 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14939 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14940 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14941 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14942 * sysdeps/ieee754/k_standard.c: Likewise.
14943 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14944 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14945 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14946 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14947 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14948 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14949 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14950 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14951 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14952 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14953 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14954 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14955 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14956 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14957 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14958 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15010 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15022 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15023 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15024 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15026 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15034 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15036 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15055 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15058 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15059 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15062 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15063 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15065 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15067 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15068 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15069 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15070 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15071 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15072 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15075 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15076 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15080 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15081 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15082 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15083 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15085 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15086 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15087 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15088 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15091 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15092 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15093 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15094 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15095 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15096 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15097 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15098 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15099 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15100 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15101 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15102 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15103 * sysdeps/ieee754/s_lib_version.c: Likewise.
15104 * sysdeps/ieee754/s_matherr.c: Likewise.
15105 * sysdeps/ieee754/s_signgam.c: Likewise.
15106 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15107 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15108 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15109 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15110 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15111 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15112 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15113 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15114 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15115 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15116 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15117 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15118 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15119 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15120 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15121 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15122 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15123 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15124 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15125 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15127
1991fa03
JM
151282012-03-09 Joseph Myers <joseph@codesourcery.com>
15129
15130 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15131 * sunrpc/rpc_main.c: Likewise.
15132 * sunrpc/rpc_svcout.c: Likewise.
15133
60d6f5a6
DM
151342012-03-09 David S. Miller <davem@davemloft.net>
15135
15136 * include/math_private.h: New file.
15137
4962050e
JM
151382012-03-09 Joseph Myers <joseph@codesourcery.com>
15139
02a6f887
JM
15140 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15141 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15142 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15143 from <bits/socket_type.h>.
15144 (enum __socket_type): Don't define here.
15145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15146 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15147 bits/socket_type.h.
15148
c6e013c1
JM
15149 [BZ #13566]
15150 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15151 checking __USE_GNU.
15152
4962050e
JM
15153 * Makerules ($(inst_includedir)/%.h): New rule.
15154 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15155 (install-others): Remove variable setting.
15156 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15157
38842f45
RH
151582012-03-08 Richard Henderson <rth@twiddle.net>
15159
67bb6da6
RH
15160 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15161 from macro to inline function; merge with the
15162 !__LIBC_INTERNAL_MATH_INLINES version.
15163 (__ieee754_sqrtf): Likewise.
15164
15194b4b
RH
15165 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15166 to inline function.
15167 (__rintf, __floor, __floorf): Likewise.
15168
64e21ede
RH
15169 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15170 macro to inline function.
15171 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15172
38842f45
RH
15173 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15174 not <math/math_private.h>.
15175
c64bf5fe
DM
151762012-03-08 David S. Miller <davem@davemloft.net>
15177
15178 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15179 copyright year.
15180 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15181
82d86f28
TS
151822012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15183
15184 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15185 normalization.
15186 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15187 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15188
aea5d727
UD
151892012-03-08 Ulrich Drepper <drepper@gmail.com>
15190
15191 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15192 be defined individually, they must be defined as a block. Define
15193 S for printing a string instead of hidint the different by using a
15194 macro for adding the 'l'.
15195 * stdio-common/tst-fphex-wide.c: Adjust.
15196
70bca0a3
MP
151972012-03-07 Marek Polacek <polacek@redhat.com>
15198
15199 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15200
65b81130
MP
152012012-03-08 Marek Polacek <polacek@redhat.com>
15202
15203 [BZ #13806]
15204 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15205 * stdio-common/tst-fphex.c: Define a few macros to make the
15206 test reusable. Use them.
15207 * stdio-common/tst-fphex-wide.c: New file.
15208
07037eeb
JM
152092012-03-08 Joseph Myers <joseph@codesourcery.com>
15210
a7a93d50
JM
15211 [BZ #6911]
15212 * manual/macros.texi (gnusystems): New macro.
15213 (nongnusystems): Likewise.
15214 (gnulinuxhurdsystems): Likewise.
15215 (gnuhurdsystems): Likewise..
15216 (gnulinuxsystems): Likewise.
15217 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15218 variants of the GNU system, not "GNU system".
15219 * manual/conf.texi: Likewise.
15220 * manual/errno.texi: Likewise. Update example of errno macro
15221 expansion.
15222 * manual/filesys.texi: Likewise.
15223 (getumask): Document as specific to GNU/Hurd.
15224 * manual/install.texi: Likewise. Reword some references to
15225 GNU/Linux.
15226 * manual/intro.texi: Likewise.
15227 * manual/io.texi: Likewise.
15228 (File Name Portability): Detail which constraints are inapplicable
15229 to all GNU systems and which are only inapplicable to GNU/Hurd.
15230 * manual/job.texi: Likewise.
15231 * manual/llio.texi: Likewise.
15232 (O_NOCTTY): Document as present on GNU/Linux.
15233 * manual/maint.texi: Likewise.
15234 * manual/memory.texi: Likewise.
15235 * manual/pattern.texi: Likewise.
15236 * manual/pipe.texi: Likewise.
15237 * manual/process.texi: Likewise.
15238 * manual/resource.texi: Likewise.
15239 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15240 child on GNU/Hurd.
15241 * manual/setjmp.texi: Likewise.
15242 * manual/signal.texi: Likewise.
15243 * manual/startup.texi: Likewise.
15244 * manual/stdio.texi: Likewise.
15245 * manual/terminal.texi: Likewise.
15246 (ONLCR): Document as POSIX.
15247 (OXTABS): Document availability on GNU/Linux as XTABS.
15248 (ONOEOT): Document availability separately from other bits.
15249 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15250 * manual/time.texi: Likewise.
15251 * manual/users.texi: Likewise.
15252 * INSTALL: Regenerated.
15253 * sysdeps/gnu/errlist.c: Regenerated.
15254
07037eeb
JM
15255 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15256 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15257 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15258 puts.
15259 * configure: Regenerated.
15260
d1d3431a
JM
152612012-03-07 Joseph Myers <joseph@codesourcery.com>
15262
af6a1e37
JM
15263 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15264 default includes instead of AC_HEADER_CHECK.
15265 * sysdeps/i386/configure: Regenerated.
15266
d1d3431a
JM
15267 [BZ #10716]
15268 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15269 * math/s_cacoshf.c (__cacoshf): Likewise.
15270 * math/s_cacoshl.c (__cacoshl): Likewise.
15271 * math/s_casinh.c (__casinh): Set signs of result from argument.
15272 * math/s_casinhf.c (__casinhf): Likewise.
15273 * math/s_casinhl.c (__casinhl): Likewise.
15274 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15275 (casinh_test): Add more tests.
15276 * sysdeps/i386/fpu/libm-test-ulps: Update.
15277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15278
482ff4da
UD
152792012-03-07 Ulrich Drepper <drepper@gmail.com>
15280
872fda05
UD
15281 * po/zh_TW.po: Update from translation team.
15282
a4300c7a
UD
15283 * login/Makefile (distribute): Remove variable.
15284 * catgets/Makefile: Likewise.
15285 * mach/Makefile: Likewise.
15286 * malloc/Makefile: Likewise.
15287 * misc/Makefile: Likewise.
15288 * iconv/Makefile: Likewise.
15289 * nscd/Makefile: Likewise.
15290 * hurd/Makefile: Likewise.
15291 * manual/Makefile: Likewise.
15292 * locale/Makefile: Likewise.
15293 * intl/Makefile: Likewise.
15294 * conform/Makefile: Likewise.
15295 * nss/Makefile: Likewise.
15296 * time/Makefile: Likewise.
15297 * soft-fp/Makefile: Likewise.
15298 * dirent/Makefile: Likewise.
15299 * gmon/Makefile: Likewise.
15300 * po/Makefile: Likewise.
15301 * rt/Makefile: Likewise.
15302 * socket/Makefile: Likewise.
15303 * math/Makefile: Likewise.
15304 * signal/Makefile: Likewise.
15305 * debug/Makefile: Likewise.
15306 * elf/Makefile: Likewise.
15307 * timezone/Makefile: Likewise.
15308 * stdlib/Makefile: Likewise.
15309 * iconvdata/Makefile: Likewise.
15310 * sunrpc/Makefile: Likewise.
15311 * io/Makefile: Likewise.
15312 * argp/Makefile: Likewise.
15313 * inet/Makefile: Likewise.
15314 * hesiod/Makefile: Likewise.
15315 * grp/Makefile: Likewise.
15316 * csu/Makefile: Likewise.
15317 * wctype/Makefile: Likewise.
15318 * crypt/Makefile: Likewise.
15319 * libio/Makefile: Likewise.
15320 * string/Makefile: Likewise.
15321 * nis/Makefile: Likewise.
15322 * resolv/Makefile: Likewise.
15323 * stdio-common/Makefile: Likewise.
15324 * wcsmbs/Makefile: Likewise.
15325 * dlfcn/Makefile: Likewise.
15326 * posix/Makefile: Likewise.
15327
3b7c4e74 15328 [BZ #6959]
482ff4da
UD
15329 * timezone/Makefile: Don't install timezone files, just the programs
15330 and scripts.
15331
f72ed77d
UD
153322012-03-06 Ulrich Drepper <drepper@gmail.com>
15333
a000466f
UD
15334 * nss/databases.def: Add missing gshadow entry.
15335
f72ed77d
UD
15336 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15337
a53b7a4e
MP
153382012-03-06 Marek Polacek <polacek@redhat.com>
15339
15340 [BZ #13726]
15341 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15342 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15343 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15344 * stdio-common/tst-long-dbl-fphex.c: New file.
15345
e9258400
DM
153462012-03-06 David S. Miller <davem@davemloft.net>
15347
15348 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15349 (set_obp_int): New function.
15350 (get_obp_int): New function.
15351 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15352 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15353 Avoid unused variable warnings on 'val' and use builtin_expect.
15354 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15355 __builtin_expect.
e9258400
DM
15356 (INLINE_CLONE_SYSCALL): Likewise.
15357
3bd2c723
DM
153582012-03-05 David S. Miller <davem@davemloft.net>
15359
15360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15361
bbb78d03
AS
153622012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15363
884c5db4
AS
15364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15365
bbb78d03
AS
15366 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15367 only for |x| >= 40.
15368 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15369
1c9f702a 153702012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15371
15372 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15373 Replace gettimeofday with __vdso_gettimeofday.
15374
7be16f82
RM
15375 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15376 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15377 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15378
15379 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15380 time with __vdso_time.
15381
ed58a00f
JM
153822012-03-05 Joseph Myers <joseph@codesourcery.com>
15383
15384 * manual/lang.texi (size_t): Note types to which size_t may be
15385 equivalent with the GNU C Library, but do not describe when
15386 differences between them are significant.
15387
30ee4ced
AJ
153882012-03-05 Andreas Jaeger <aj@suse.de>
15389
15390 * sysdeps/i386/fpu/libm-test-ulps: Update.
15391
b7cd39e8
JM
153922012-03-05 Joseph Myers <joseph@codesourcery.com>
15393
15394 [BZ #3976]
15395 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15396 (__ieee754_pow): Save and restore rounding mode and use
15397 round-to-nearest for main computations.
15398 * math/libm-test.inc (pow_test_tonearest): New function.
15399 (pow_test_towardzero): Likewise.
15400 (pow_test_downward): Likewise.
15401 (pow_test_upward): Likewise.
15402 (main): Call the new functions.
15403 * sysdeps/i386/fpu/libm-test-ulps: Update.
15404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15405
15406 [BZ #3976]
15407 * math/libm-test.inc (cosh_test_tonearest): New function.
15408 (cosh_test_towardzero): Likewise.
15409 (cosh_test_downward): Likewise.
15410 (cosh_test_upward): Likewise.
15411 (sinh_test_tonearest): Likewise.
15412 (sinh_test_towardzero): Likewise.
15413 (sinh_test_downward): Likewise.
15414 (sinh_test_upward): Likewise.
15415 (main): Call the new functions.
15416 * sysdeps/i386/fpu/libm-test-ulps: Update.
15417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15418
6c6a98c9
TV
154192012-03-05 Tom de Vries <tom@codesourcery.com>
15420
15421 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15422 default stack guard is set in last bytes.
15423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15424
21bb2d2e 154252012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15426
21bb2d2e 15427 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15428
21bb2d2e
AJ
15429 [BZ #13656]
15430 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15431 possibly allocate from heap instead of stack.
15432 * stdio-common/bug-vfprintf-nargs.c: New file.
15433 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15434
c6922934
AS
154352012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15436
15437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15438
bc957d53
MP
154392012-03-03 Marek Polacek <polacek@redhat.com>
15440
15441 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15442 * math/math_private.h: Likewise.
15443 * stdlib/tst-strtod.c: Likewise.
15444 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15445 * sysdeps/x86_64/bits/atomic.h: Likewise.
15446
6358490d
DM
154472012-03-02 David S. Miller <davem@davemloft.net>
15448
15449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15453 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15454 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15455 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15456 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15457
01ae168d
RM
154582012-03-02 Roland McGrath <roland@hack.frob.com>
15459
d9a17c07
RM
15460 [BZ #13792]
15461 * manual/examples/README: New file, says the example source files
15462 can be used under GPL>=2.
15463 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15464 line containing just "*/".
15465 * manual/examples/add.c: Add copyright header (GPL>=2).
15466 * manual/examples/argp-ex1.c: Likewise.
15467 * manual/examples/argp-ex2.c: Likewise.
15468 * manual/examples/argp-ex3.c: Likewise.
15469 * manual/examples/argp-ex4.c: Likewise.
15470 * manual/examples/atexit.c: Likewise.
15471 * manual/examples/db.c: Likewise.
15472 * manual/examples/dir.c: Likewise.
15473 * manual/examples/dir2.c: Likewise.
15474 * manual/examples/execinfo.c: Likewise.
15475 * manual/examples/filecli.c: Likewise.
15476 * manual/examples/filesrv.c: Likewise.
15477 * manual/examples/fmtmsgexpl.c: Likewise.
15478 * manual/examples/genpass.c: Likewise.
15479 * manual/examples/inetcli.c: Likewise.
15480 * manual/examples/inetsrv.c: Likewise.
15481 * manual/examples/isockad.c: Likewise.
15482 * manual/examples/longopt.c: Likewise.
15483 * manual/examples/memopen.c: Likewise.
15484 * manual/examples/memstrm.c: Likewise.
15485 * manual/examples/mkfsock.c: Likewise.
15486 * manual/examples/mkisock.c: Likewise.
15487 * manual/examples/mygetpass.c: Likewise.
15488 * manual/examples/pipe.c: Likewise.
15489 * manual/examples/popen.c: Likewise.
15490 * manual/examples/rprintf.c: Likewise.
15491 * manual/examples/search.c: Likewise.
15492 * manual/examples/select.c: Likewise.
15493 * manual/examples/setjmp.c: Likewise.
15494 * manual/examples/sigh1.c: Likewise.
15495 * manual/examples/sigusr.c: Likewise.
15496 * manual/examples/stpcpy.c: Likewise.
15497 * manual/examples/strdupa.c: Likewise.
15498 * manual/examples/strftim.c: Likewise.
15499 * manual/examples/strncat.c: Likewise.
15500 * manual/examples/subopt.c: Likewise.
15501 * manual/examples/swapcontext.c: Likewise.
15502 * manual/examples/termios.c: Likewise.
15503 * manual/examples/testopt.c: Likewise.
15504 * manual/examples/testpass.c: Likewise.
15505 * manual/examples/timeval_subtract.c: Likewise.
15506
01ae168d
RM
15507 [BZ #13792]
15508 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15509 function to ...
15510 * manual/timeval_subtract.c.texi: ... here, new file.
15511
49efa33d
DM
155122012-03-02 David S. Miller <davem@davemloft.net>
15513
15514 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15515
28afd92d
JM
155162012-03-02 Joseph Myers <joseph@codesourcery.com>
15517
804360ed
JM
15518 [BZ #3976]
15519 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15520 (__sin): Save and restore rounding mode and use round-to-nearest
15521 for all computations.
15522 (__cos): Save and restore rounding mode and use round-to-nearest
15523 for all computations.
15524 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15525 <fenv.h>.
15526 (tan): Save and restore rounding mode and use round-to-nearest for
15527 all computations.
15528 * math/libm-test.inc (cos_test_tonearest): New function.
15529 (cos_test_towardzero): Likewise.
15530 (cos_test_downward): Likewise.
15531 (cos_test_upward): Likewise.
15532 (sin_test_tonearest): Likewise.
15533 (sin_test_towardzero): Likewise.
15534 (sin_test_downward): Likewise.
15535 (sin_test_upward): Likewise.
15536 (tan_test_tonearest): Likewise.
15537 (tan_test_towardzero): Likewise.
15538 (tan_test_downward): Likewise.
15539 (tan_test_upward): Likewise.
15540 (main): Call the new functions.
15541 * sysdeps/i386/fpu/libm-test-ulps: Update.
15542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15543
a6d06d7b
JM
15544 [BZ #10135]
15545 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15546 small n, then large n, before computing and testing k+n.
15547 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15548 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15549 Likewise.
15550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15551 Likewise.
15552 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15553 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15554 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15555 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15556 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15558 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15559 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15560 * math/libm-test.inc (scalbn_test): Add more tests.
15561 (scalbln_test): Likewise.
15562
07e12bb3
JM
15563 * manual/filesys.texi (mode_t): Describe constraints on size and
15564 signedness, not exact equivalence to a particular type.
15565 (ino_t): Likewise.
15566 (ino64_t): Likewise.
15567 (dev_t): Likewise.
15568 (nlink_t): Likewise.
15569 (blkcnt_t): Likewise.
15570 (blkcnt64_t): Likewise.
15571 * manual/llio.texi (off_t): Likewise.
15572
28afd92d
JM
15573 [BZ #3976]
15574 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15575 (__ieee754_exp): Save and restore rounding mode and use
15576 round-to-nearest for all computations.
15577 * math/libm-test.inc (exp_test_tonearest): New function.
15578 (exp_test_towardzero): Likewise.
15579 (exp_test_downward): Likewise.
15580 (exp_test_upward): Likewise.
15581 (main): Call the new functions.
15582 * sysdeps/i386/fpu/libm-test-ulps: Update.
15583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15584
b1eeb65d
CD
155852012-03-01 Chris Demetriou <cgd@google.com>
15586
15587 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15588 have predictable order.
15589
53362a4b
DM
155902012-03-01 David S. Miller <davem@davemloft.net>
15591
3c969083
DM
15592 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15593
759707de
DM
15594 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15595 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15596 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15597 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15598
dfdb8ff2
DM
15599 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15600 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15601 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15603 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15604 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15605 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15606 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15607 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15608
ead89f96
DM
15609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15610
7f66bd07
DM
15611 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15612 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15613 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15614
53362a4b
DM
15615 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15616 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15617 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15618 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15619 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15620 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15621 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15622 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15623 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15624 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15625 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15626 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15628 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15629 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15631 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15632 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15633 * sysdeps/sparc/elf/configure: Regenerated.
15634
7b1902cb
JM
156352012-03-01 Joseph Myers <joseph@codesourcery.com>
15636
bec039bc
JM
15637 * configure.in (AS, LD): Require binutils 2.20 or later.
15638 * configure: Regenerated.
15639 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15640 as required minimum version.
15641 * INSTALL: Regenerated.
15642
7b1902cb
JM
15643 [BZ #2541]
15644 [BZ #4108]
15645 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15646 before squaring exponent.
15647 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15648 bottom long double and 27 bits of top long double before squaring
15649 exponent.
15650 * math/libm-test.inc (erfc_test): Add more tests.
15651 * sysdeps/i386/fpu/libm-test-ulps: Update.
15652 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15654
f775c276
KT
156552012-03-01 Kai Tietz <ktietz@redhat.com>
15656
15657 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15658 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15659 containing bit-fields.
15660 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15661 * soft-fp/single.h (_FP_UNION_S): Likewise.
15662 * soft-fp/double.h (_FP_UNION_D): Likewise.
15663
5b8a4d4a
JM
156642012-02-29 Joseph Myers <joseph@codesourcery.com>
15665
0bab47b6
JM
15666 [BZ #13786]
15667 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15668 not include ../strcmp.S.
15669 [USE_AS_STRNCASECMP_L]: Likewise.
15670 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15671 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15672 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15673 (__strncasecmp_l_ia32): Define as alias to
15674 __strncasecmp_l_nonascii.
15675
0fcad3e2
JM
15676 [BZ #5794]
15677 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15678 * sysdeps/i386/fpu/libm-test-ulps: Update.
15679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15680
5b8a4d4a
JM
15681 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15683
8fdceb2e
JL
156842012-02-29 Jeff Law <law@redhat.com>
15685
15686 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15687 out of bounds read.
15688
1f393a11
MP
156892012-02-29 Marek Polacek <polacek@redhat.com>
15690
15691 [BZ #13706]
15692 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15693 * elf/Makefile: Add rules to run tst-unused-dep.out.
15694
8847f037
DM
156952012-02-28 David S. Miller <davem@davemloft.net>
15696
15697 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15698 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15699 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15700 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15701 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15702 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15703
169d7f11
JM
157042012-02-29 Joseph Myers <joseph@codesourcery.com>
15705
15706 * math/libm-test.inc (llround_test): Move one test from
15707 lround_test. Use TEST_f_L in moved test.
15708 (lround_test): Move misplaced test to llround_test. Add testcase
15709 from bug 2561.
15710
39adf059
UD
157112012-02-28 Ulrich Drepper <drepper@gmail.com>
15712
15713 * sysdeps/x86_64/fpu/e_expf.S: New file.
15714 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15715
71b5d1c5
SB
157162012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15717
15718 [BZ #13637]
15719 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15720 of remain_len that may cause incomplete multi-byte character and
15721 false match.
15722 * posix/bug-regex33.c: New file.
15723 * posix/Makefile (tests): Add bug-regex33.
15724
1f77f049
JM
157252012-02-28 Joseph Myers <joseph@codesourcery.com>
15726
15727 * manual/macros.texi: New file.
15728 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15729 * manual/libc.texinfo: Include macros.texi.
15730 * manual/creatute.texi: Likewise.
15731 * manual/install.texi: Likewise.
15732 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15733 @glibcadj{} in references to the GNU C Library.
15734 * manual/charset.texi: Likewise.
15735 * manual/conf.texi: Likewise.
15736 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15737 when not using those macros.
15738 * manual/creature.texi: Likewise.
15739 * manual/crypt.texi: Likewise.
15740 * manual/errno.texi: Likewise.
15741 * manual/filesys.texi: Likewise.
15742 * manual/header.texi: Likewise.
15743 * manual/install.texi: Likewise.
15744 * manual/intro.texi: Likewise.
15745 * manual/io.texi: Likewise.
15746 * manual/job.texi: Likewise.
15747 * manual/lang.texi: Likewise.
15748 * manual/libc.texiinfo: Likewise.
15749 * manual/llio.texi: Likewise.
15750 * manual/locale.texi: Likewise.
15751 * manual/maint.texi: Likewise.
15752 * manual/math.texi: Likewise.
15753 * manual/memory.texi: Likewise.
15754 * manual/message.texi: Likewise.
15755 * manual/nss.texi: Likewise.
15756 * manual/pattern.texi: Likewise.
15757 * manual/process.texi: Likewise.
15758 * manual/resource.texi: Likewise.
15759 * manual/search.texi: Likewise.
15760 * manual/setjmp.texi: Likewise.
15761 * manual/signal.texi: Likewise.
15762 * manual/socket.texi: Likewise.
15763 * manual/startup.texi: Likewise.
15764 * manual/stdio.texi: Likewise.
15765 * manual/string.texi: Likewise.
15766 * manual/sysinfo.texi: Likewise.
15767 * manual/syslog.texi: Likewise.
15768 * manual/terminal.texi: Likewise.
15769 * manual/time.texi: Likewise.
15770 * manual/users.texi: Likewise.
15771 * INSTALL: Regenerated.
15772 * NOTES: Regenerated.
d40c5d54 15773 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15774
450bf206
AS
157752012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15776
15777 * include/dirent.h: Include <dirstream.h> before
15778 <dirent/dirent.h>.
15779
741a235b
DM
157802012-02-28 David S. Miller <davem@davemloft.net>
15781
15782 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15783 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15784 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15785 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15786
d6b5aa58
DM
157872012-02-27 David S. Miller <davem@davemloft.net>
15788
1aff59a3
DM
15789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15791 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15792 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15793
d6b5aa58
DM
15794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15795 frame pointer instead of stack pointer relative arg slot.
15796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15797 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15798 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15799
433f48bf
CD
158002012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15801
15802 [BZ #3992]
15803 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15804
d674b76d
DM
158052012-02-27 David S. Miller <davem@davemloft.net>
15806
15807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15811 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15812 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15813 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15814 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15815
0e7727f7
JM
158162012-02-27 Joseph Myers <joseph@codesourcery.com>
15817
15818 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15819 later. Allow versions 5-9.
43be4ca2 15820 * configure: Regenerated.
0e7727f7
JM
15821 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15822 required minimum version and 4.6 as recommended version. Do not
15823 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15824 * INSTALL: Regenerated.
0e7727f7 15825
a78bc654
DM
158262012-02-27 David S. Miller <davem@davemloft.net>
15827
428d5830
DM
15828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15832 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15833 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15834 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15835 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15836
a78bc654
DM
15837 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15838 manipulate bits before adding and subtracting TWO112[sx].
15839 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15840
4579f81c
RM
158412012-02-27 Roland McGrath <roland@hack.frob.com>
15842
36c8acb4
RM
15843 [BZ #13775]
15844 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15845 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15846 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15847 being in POSIX, because they are in 1003.1-2008.
15848
84ad622b
RM
15849 * rt/tst-aio.c: Include <fcntl.h>.
15850 * rt/tst-aio7.c: Likewise.
15851 * rt/tst-aio64.c: Likewise.
15852
4579f81c
RM
15853 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15854
abd923db
JM
158552012-02-27 Joseph Myers <joseph@codesourcery.com>
15856
15857 * manual/install.texi (--with-headers): Describe headers as
15858 interface headers, not private headers.
15859 (Specific advice for GNU/Linux systems): Describe use of headers
15860 from "make headers_install", not private headers from older
15861 kernels.
43be4ca2 15862 * INSTALL: Regenerated.
abd923db
JM
15863 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15864 Change to 2.6.19.
15865 * sysdeps/unix/sysv/linux/configure: Regenerated.
15866
6664049b
JM
15867 * manual/llio.texi (fclean): Remove documentation.
15868
bb8b6697
JM
15869 * manual/Makefile (libc-texi-generated): New variable. Include
15870 version.texi.
15871 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15872 $(libc-texi-generated), not duplicated list of files.
15873 (version.texi, stamp-version): New rules.
15874 (realclean): Remove $(libc-texi-generated), not individual files
15875 from that list. Do not remove dir-add.texinfo.
15876 * manual/libc.texinfo: Comment out uses of edition numbers and
15877 references to printed manual. Remove last-updated dates.
15878 (EDITION): Comment out.
15879 (ISBN): Likewise.
15880 (VERSION, UPDATED): Remove.
15881 (version.texi): Include.
15882
12e5c3b9
AS
158832012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15884
15885 * sysdeps/posix/spawni.c: Include <signal.h>.
15886 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15887 * sysdeps/pthread/aio_fsync.c: Likewise.
15888
4efeffc1 158892012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15890
ba63ba08
UD
15891 * conform/Makefile (tests): Run only when not cross-compiling and
15892 when fast-check is not defined.
15893
d94a4670
UD
15894 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15895 * conform/data/limits.h-data: Fixes for POSIX2008.
15896 * conform/run-conformtest.sh: Run all tests.
15897 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15898 headers.
15899 * include/bits/dlfcn.h: Likewise.
15900 * include/langinfo.h: Likewise.
15901 * include/monetary.h: Likewise.
15902 * include/sys/poll.h: Likewise.
15903
15904 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15905 for __USE_GNU.
15906 * posix/spawn.h: Define __need_sigset_t.
15907 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15908 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15909 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15910 to get sigevent_t only.
15911 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15912 only for __USE_GNU.
15913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15914 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15915 process_vm_writev only for __USE_GNU.
15916 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15917
15918 * conform/Makefile: For now ignore errors from run-conformtest.
15919 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15920 POSIX to avoid namespace pollution. Don't prepend headers.
15921 * conform/data/aio.h-data: Fixes for POSIX testing.
15922 * conform/data/fcntl.h-data: Likewise.
15923 * conform/data/glob.h-data: Likewise.
15924 * conform/data/grp.h-data: Likewise.
15925 * conform/data/pthread.h-data: Likewise.
15926 * conform/data/pwd.h-data: Likewise.
15927 * conform/data/signal.h-data: Likewise.
15928 * conform/data/spawn.h-data: Likewise.
15929 * conform/data/stdio.h-data: Likewise.
15930 * conform/data/stdlib.h-data: Likewise.
15931 * conform/data/stropts.h-data: Likewise.
15932 * conform/data/sys/mman.h-data: Likewise.
15933 * conform/data/sys/stat.h-data: Likewise.
15934 * conform/data/sys/types.h-data: Likewise.
15935 * conform/data/sys/wait.h-data: Likewise.
15936 * conform/data/time.h-data: Likewise.
15937 * conform/data/unistd.h-data: Likewise.
15938 * conform/data/utime.h-data: Likewise.
15939
15940 * io/sys/stat.h: fchmod was always in POSIX.
15941 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15942 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15943 * rt/aio.h: Define __need_timespec before including <time.h>.
15944 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15945 struct. Add forward declaration of pthread_attr_t and use it in
15946 sigevent.
15947 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15948 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15949 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15950 always remove CLK_TCK definition.
15951
c20105c3
AS
159522012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15953
15954 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15955
7a270350
UD
159562012-02-25 Ulrich Drepper <drepper@gmail.com>
15957
31341567
UD
15958 * conform/run-conformtest.sh: New file.
15959 * conform/Makefile: Run run-conformtest for tests.
15960 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15961 support.
15962
15963 * conform/data/uchar.h-data: New file.
15964 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15965 * conform/data/arpa/inet.h-data: Likewise.
15966 * conform/data/assert.h-data: Likewise.
15967 * conform/data/complex.h-data: Likewise.
15968 * conform/data/cpio.h-data: Likewise.
15969 * conform/data/ctype.h-data: Likewise.
15970 * conform/data/dirent.h-data: Likewise.
15971 * conform/data/dlfcn.h-data: Likewise.
15972 * conform/data/errno.h-data: Likewise.
15973 * conform/data/fcntl.h-data: Likewise.
15974 * conform/data/float.h-data: Likewise.
15975 * conform/data/fmtmsg.h-data: Likewise.
15976 * conform/data/fnmatch.h-data: Likewise.
15977 * conform/data/ftw.h-data: Likewise.
15978 * conform/data/glob.h-data: Likewise.
15979 * conform/data/grp.h-data: Likewise.
15980 * conform/data/iconv.h-data: Likewise.
15981 * conform/data/inttypes.h-data: Likewise.
15982 * conform/data/langinfo.h-data: Likewise.
15983 * conform/data/libgen.h-data: Likewise.
15984 * conform/data/limits.h-data: Likewise.
15985 * conform/data/locale.h-data: Likewise.
15986 * conform/data/math.h-data: Likewise.
15987 * conform/data/monetary.h-data: Likewise.
15988 * conform/data/mqueue.h-data: Likewise.
15989 * conform/data/ndbm.h-data: Likewise.
15990 * conform/data/net/if.h-data: Likewise.
15991 * conform/data/netdb.h-data: Likewise.
15992 * conform/data/netinet/in.h-data: Likewise.
15993 * conform/data/nl_types.h-data: Likewise.
15994 * conform/data/poll.h-data: Likewise.
15995 * conform/data/pthread.h-data: Likewise.
15996 * conform/data/pwd.h-data: Likewise.
15997 * conform/data/regex.h-data: Likewise.
15998 * conform/data/sched.h-data: Likewise.
15999 * conform/data/search.h-data: Likewise.
16000 * conform/data/semaphore.h-data: Likewise.
16001 * conform/data/setjmp.h-data: Likewise.
16002 * conform/data/signal.h-data: Likewise.
16003 * conform/data/spawn.h-data: Likewise.
16004 * conform/data/stdarg.h-data: Likewise.
16005 * conform/data/stdio.h-data: Likewise.
16006 * conform/data/stdlib.h-data: Likewise.
16007 * conform/data/string.h-data: Likewise.
16008 * conform/data/strings.h-data: Likewise.
16009 * conform/data/stropts.h-data: Likewise.
16010 * conform/data/sys/ipc.h-data: Likewise.
16011 * conform/data/sys/mman.h-data: Likewise.
16012 * conform/data/sys/msg.h-data: Likewise.
16013 * conform/data/sys/resource.h-data: Likewise.
16014 * conform/data/sys/select.h-data: Likewise.
16015 * conform/data/sys/sem.h-data: Likewise.
16016 * conform/data/sys/shm.h-data: Likewise.
16017 * conform/data/sys/socket.h-data: Likewise.
16018 * conform/data/sys/stat.h-data: Likewise.
16019 * conform/data/sys/statvfs.h-data: Likewise.
16020 * conform/data/sys/time.h-data: Likewise.
16021 * conform/data/sys/timeb.h-data: Likewise.
16022 * conform/data/sys/times.h-data: Likewise.
16023 * conform/data/sys/types.h-data: Likewise.
16024 * conform/data/sys/uio.h-data: Likewise.
16025 * conform/data/sys/un.h-data: Likewise.
16026 * conform/data/sys/utsname.h-data: Likewise.
16027 * conform/data/sys/wait.h-data: Likewise.
16028 * conform/data/syslog.h-data: Likewise.
16029 * conform/data/tar.h-data: Likewise.
16030 * conform/data/termios.h-data: Likewise.
16031 * conform/data/utime.h-data: Likewise.
16032 * conform/data/utmpx.h-data: Likewise.
16033 * conform/data/varargs.h-data: Likewise.
16034 * conform/data/wchar.h-data: Likewise.
16035 * conform/data/wctype.h-data: Likewise.
16036 * conform/data/wordexp.h-data: Likewise.
16037
16038 * include/stropts.h: New file.
16039 * include/uchar.h: New file.
16040 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16041 * include/assert.h: Likewise.
16042 * include/ctype.h: Likewise.
16043 * include/dirent.h: Likewise.
16044 * include/dlfcn.h: Likewise.
16045 * include/fcntl.h: Likewise.
16046 * include/fnmatch.h: Likewise.
16047 * include/glob.h: Likewise.
16048 * include/grp.h: Likewise.
16049 * include/libio.h: Likewise.
16050 * include/locale.h: Likewise.
16051 * include/math.h: Likewise.
16052 * include/net/if.h: Likewise.
16053 * include/netdb.h: Likewise.
16054 * include/netinet/in.h: Likewise.
16055 * include/pthread.h: Likewise.
16056 * include/pwd.h: Likewise.
16057 * include/regex.h: Likewise.
16058 * include/sched.h: Likewise.
16059 * include/search.h: Likewise.
16060 * include/setjmp.h: Likewise.
16061 * include/signal.h: Likewise.
16062 * include/stdio.h: Likewise.
16063 * include/stdlib.h: Likewise.
16064 * include/string.h: Likewise.
16065 * include/sys/cdefs.h: Likewise.
16066 * include/sys/mman.h: Likewise.
16067 * include/sys/msg.h: Likewise.
16068 * include/sys/resource.h: Likewise.
16069 * include/sys/select.h: Likewise.
16070 * include/sys/socket.h: Likewise.
16071 * include/sys/stat.h: Likewise.
16072 * include/sys/statvfs.h: Likewise.
16073 * include/sys/time.h: Likewise.
16074 * include/sys/times.h: Likewise.
16075 * include/sys/uio.h: Likewise.
16076 * include/sys/utsname.h: Likewise.
16077 * include/sys/wait.h: Likewise.
16078 * include/termios.h: Likewise.
16079 * include/time.h: Likewise.
16080 * include/ulimit.h: Likewise.
16081 * include/unistd.h: Likewise.
16082 * include/utime.h: Likewise.
16083 * include/wchar.h: Likewise.
16084 * include/wctype.h: Likewise.
16085 * include/wordexp.h: Likewise.
16086
16087 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16088
7a270350
UD
16089 * time/time.h: TIME_UTC must be a macro.
16090 Make timespec_get available for ISO C11 only as well.
16091
7724defc
UD
160922012-02-24 Ulrich Drepper <drepper@gmail.com>
16093
16094 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16095 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16096
6b1d1d46
JM
160972012-02-24 Joseph Myers <joseph@codesourcery.com>
16098
16099 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16100
0f8bbd69
JM
161012012-02-24 Joseph Myers <joseph@codesourcery.com>
16102
16103 * manual/texinfo.tex: Update to version 2012-01-19.16.
16104
66ab80bc
JM
161052012-02-24 Joseph Myers <joseph@codesourcery.com>
16106
16107 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16108
74981cc5
RM
161092012-02-24 Roland McGrath <roland@hack.frob.com>
16110
ee968201
RM
16111 [BZ #13738]
16112 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16113 * manual/fdl-1.3.texi: New file.
16114 * manual/fdl-1.1.texi: File removed.
16115
74981cc5
RM
16116 [BZ #13738]
16117 * manual/libc.texinfo (FDL_VERSION): New @set.
16118 Use it for mention of FDL in cover text.
16119 (Documentation License): Use it in @include file name.
16120
7bb764bc
JM
161212012-02-22 Joseph Myers <joseph@codesourcery.com>
16122 Roland McGrath <roland@hack.frob.com>
16123
16124 [BZ #5461]
16125 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16126 not LONG_LONG_MAX and LONG_LONG_MIN.
16127 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16128 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16129 name.
16130 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16131
6cbeae47
JM
161322012-02-22 Joseph Myers <joseph@codesourcery.com>
16133
16134 [BZ #2547]
16135 [BZ #11365]
16136 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16137 manipulate bits before adding and subtracting TWO23[sx].
16138 * math/libm-test.inc (nearbyint_test): Add more tests.
16139
fe45ce09
JM
161402012-02-22 Joseph Myers <joseph@codesourcery.com>
16141
16142 [BZ #2548]
16143 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16144 bits before adding and subtracting TWO23[sx].
16145 * math/libm-test.inc (rint_test): Add more tests.
16146 (rint_test_tonearest): Likewise.
16147 (rint_test_towardzero): Likewise.
16148 (rint_test_downward): Likewise.
16149 (rint_test_upward: Likewise.
16150
ff3b3d82
JM
161512012-02-22 Joseph Myers <joseph@codesourcery.com>
16152
16153 [BZ #10110]
16154 * include/stdc-predef.h: New file. Extracted from features.h.
16155 * include/features.h: Include stdc-predef.h.
16156 * Makefile (headers): Add stdc-predef.h.
16157 * CONFORMANCE (Compiler limitations): Update.
16158
ef0aab35
JM
161592012-02-22 Joseph Myers <joseph@codesourcery.com>
16160
16161 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16162
58639409
DM
161632012-02-21 David S. Miller <davem@davemloft.net>
16164
16165 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16166 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16167
c0e70b25
DM
161682012-02-20 David S. Miller <davem@davemloft.net>
16169
16170 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16171 using a normal save/restore sequence, rather than allocating a
16172 dummy stack frame just to store a frame pointer and restore.
16173 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16174
fb06851d
JM
161752012-02-21 Joseph Myers <joseph@codesourcery.com>
16176
16177 * manual/install.texi: Fix stray word in line-wrapped comment.
16178
7a8b71c3
DM
161792012-02-20 David S. Miller <davem@davemloft.net>
16180
d510c123
DM
16181 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16182 both binutils and gcc support GOTDATA.
16183
0722d7c2
DM
16184 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16185 "rd %pc" in the PIC register setup sequences.
16186
3d2b3019
DM
16187 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16188 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16189 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16190 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16191 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16193 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16194 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16195 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16196 (SYSCALL_ERROR_HANDLER): Likewise.
16197 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16198 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16199 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16200 (SYSCALL_ERROR_HANDLER): Likewise.
16201
c80098a9
DM
16202 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16203 (HAVE_GCC_GOTDATA): New.
16204 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16205 relocation support in both binutils and gcc.
16206 * sysdeps/sparc/elf/configure: Regenerate.
16207
3a2545a0
DM
16208 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16209 * sysdeps/sparc/sparc32/elf/configure: Delete.
16210 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16211 * sysdeps/sparc/sparc64/elf/configure: Delete.
16212 * sysdeps/sparc/elf/configure.in: New file.
16213 * sysdeps/sparc/elf/configure: Generate.
16214
7a8b71c3
DM
16215 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16216 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16217 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16218 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16219 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16220
f1e86fca
JM
162212012-02-21 Joseph Myers <joseph@codesourcery.com>
16222
16223 * manual/install.texi: Do not mention specific glibc version
16224 numbers.
16225 * manual/libc.texinfo (VERSION, UPDATED): Update.
16226 (@copying): Use @copyright{} and range of years.
16227
0e7dfaef
JM
162282012-02-21 Joseph Myers <joseph@codesourcery.com>
16229
16230 [BZ #13695]
16231 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16232 [crti.S not in sysdirs] (generated): Do not append.
16233 [crti.S not in sysdirs] (omit-deps): Likewise.
16234 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16235 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16236 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16237 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16238 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16239 Likewise.
16240 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16241 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16242 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16243 * csu/defs.awk: Remove file.
16244 * sysdeps/generic/initfini.c: Likewise.
16245 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16246 variable.
16247 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16248 Likewise.
16249
599af3ca
JM
162502012-02-20 Joseph Myers <joseph@codesourcery.com>
16251
16252 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16253 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16254 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16255 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16256 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16257 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16258 <bits/epoll.h>.
16259 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16260 (__EPOLL_PACKED): Define to empty if not defined by
16261 <bits/epoll.h>.
16262 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16264 bits/epoll.h.
16265
0e499750
JM
162662012-02-20 Joseph Myers <joseph@codesourcery.com>
16267
16268 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16269 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16270 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16271 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16272 <bits/timerfd.h>.
16273 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16275 bits/timerfd.h.
16276
5ad91f6e
JM
162772012-02-20 Joseph Myers <joseph@codesourcery.com>
16278
16279 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16280 in C locale.
16281 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16282 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16285
06b99b02
AJ
162862012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16287
16288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16289 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16290
7638c0fd
AS
162912012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16292
16293 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16294 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16295 defined.
16296 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16297 Likewise.
16298 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16299 entry for 2.16.
16300
92221550
AJ
163012012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16302
16303 * math/w_acos.c: Use non-signaling floating-point comparisons.
16304 * math/w_acosf.c: Likewise.
16305 * math/w_acosh.c: Likewise.
16306 * math/w_acoshf.c: Likewise.
16307 * math/w_acoshl.c: Likewise.
16308 * math/w_acosl.c: Likewise.
16309 * math/w_asin.c: Likewise.
16310 * math/w_asinf.c: Likewise.
16311 * math/w_asinl.c: Likewise.
16312 * math/w_atanh.c: Likewise.
16313 * math/w_atanhf.c: Likewise.
16314 * math/w_atanhl.c: Likewise.
16315 * math/w_exp2.c: Likewise.
16316 * math/w_exp2f.c: Likewise.
16317 * math/w_exp2l.c: Likewise.
16318 * math/w_j0.c: Likewise.
16319 * math/w_j0f.c: Likewise.
16320 * math/w_j0l.c: Likewise.
16321 * math/w_j1.c: Likewise.
16322 * math/w_j1f.c: Likewise.
16323 * math/w_j1l.c: Likewise.
16324 * math/w_jn.c: Likewise.
16325 * math/w_jnf.c: Likewise.
16326 * math/w_log.c: Likewise.
16327 * math/w_log10.c: Likewise.
16328 * math/w_log10f.c: Likewise.
16329 * math/w_log10l.c: Likewise.
16330 * math/w_log2.c: Likewise.
16331 * math/w_log2f.c: Likewise.
16332 * math/w_log2l.c: Likewise.
16333 * math/w_logf.c: Likewise.
16334 * math/w_logl.c: Likewise.
16335 * math/w_sqrt.c: Likewise.
16336 * math/w_sqrtf.c: Likewise.
16337 * math/w_sqrtl.c: Likewise.
16338 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16339 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16340 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16341 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16342 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16343
ebaf36eb
JM
163442012-02-19 Joseph Myers <joseph@codesourcery.com>
16345
16346 [BZ #9739]
16347 * manual/string.texi (strnlen): Use correct parameter name in
16348 equivalent expression.
16349
71c254a6
JM
163502012-02-19 Joseph Myers <joseph@codesourcery.com>
16351
16352 [BZ #11174]
16353 * manual/users.texi (seteuid): Consistently use neweuid for
16354 argument name.
16355
16d2c631
JM
163562012-02-19 Joseph Myers <joseph@codesourcery.com>
16357
16358 [BZ #13704]
16359 * manual/nss.texi (Services in the NSS configuration): Correct
16360 list of services in example configuration file.
16361
cd837b09
NB
163622012-02-19 Nick Bowler <nbowler@draconx.ca>
16363
16364 [BZ #11322]
16365 * manual/arith.texi: Remove statements about negative zero
16366 behaving identically to zero.
16367
02c4bbad
JM
163682012-02-18 Joseph Myers <joseph@codesourcery.com>
16369
16370 [BZ #5993]
16371 * manual/install.texi: Do not document upgrading from libc5.
16372
366842e7
JM
163732012-02-18 Joseph Myers <joseph@codesourcery.com>
16374
16375 [BZ #4596]
16376 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16377
dd54084d
DM
163782012-02-18 David S. Miller <davem@davemloft.net>
16379
16380 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16381 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16382 %o7 across the call.
16383 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16384 instead.
16385 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16386 SETUP_PIC_REG_LEAF.
16387 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16388 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16389 * sysdeps/sparc/crtn.S: Likewise.
16390
2bcc53a3
UD
163912012-02-17 Ulrich Drepper <drepper@gmail.com>
16392
16393 * aout/Makefile: Remove.
16394
09c093b5
RK
163952012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16396
16397 [BZ #13058]
16398 * manual/examples/argp-ex1.c (main): Format definition in GNU
16399 style.
16400 * manual/examples/argp-ex2.c (main): Likewise.
16401 * manual/examples/argp-ex3.c (main): Likewise.
16402 * manual/examples/argp-ex4.c (main): Likewise.
16403 * manual/examples/longopt.c (main): Use new-style prototype
16404 definition.
16405 * manual/examples/strncat.c (main): Specify return type and use
16406 (void) for arguments.
16407 * manual/examples/subopt.c (main): Use char **argv argument.
16408
2ee633a2
JM
164092012-02-17 Joseph Myers <joseph@codesourcery.com>
16410
16411 [BZ #5077]
16412 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16413 rounding modes.
16414
0520adde
FB
164152012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16416
16417 [BZ #6907]
16418 * manual/string.texi (strchr): Change when strchrnul is
16419 recommended.
16420
3f4081cd
DGM
164212012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16422
16423 [BZ #174]
16424 * manual/locale.texi (setlocale): Document LOCPATH.
16425
d1b10e78
JM
164262012-02-17 Joseph Myers <joseph@codesourcery.com>
16427
16428 [BZ #10210]
16429 * manual/process.texi (execle): Move @dots{} before last argument.
16430
79c6869c
PB
164312012-02-17 Paul Bolle <pebolle@tiscali.nl>
16432
16433 [BZ #12047]
16434 * manual/charset.texi (Generic Charset Conversion): Fix typo
16435 (LC_TYPE -> LC_CTYPE).
16436
cc6e48bc
NB
164372012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16438
16439 [BZ #5805]
16440 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16441 (scalbnf): Likewise.
16442 (scalbnl): Likewise.
16443 (scalbln): Likewise.
16444 (scalblnf): Likewise.
16445 (scalblnl): Likewise.
16446 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16447 (vwarnx): Likewise.
16448 (verr): Likewise.
16449 (verrx): Likewise.
16450 * manual/filesys.texi (telldir): Use braces around return type.
16451 * manual/llio.texi (mmap): Add space after comma.
16452 (mmap64): Likewise.
16453 * manual/math.texi (jn): Use @var{} on parameter names.
16454 (jnf): Likewise.
16455 (jnl): Likewise.
16456 (yn): Likewise.
16457 (ynf): Likewise.
16458 (ynl): Likewise.
16459 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16460 line.
16461 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16462 "...".
16463 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16464 (sched_get_priority_max): Likewise.
16465 * manual/signal.texi (sigvec): Add space after comma.
16466 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16467 names.
16468 (if_indextoname): Likewise.
16469 (if_freenameindex): Likewise.
16470 (sendto): Use ',' instead of '.' in prototype.
16471 * manual/startup.texi (syscall): Use @dots{} instead of literal
16472 "...".
16473 * manual/stdio.texi (__fpending): Separate initial words of
16474 paragraph from @deftypefun line.
16475 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16476 "...".
16477 (vsyslog): Use @var{} on parameter names.
16478 * manual/terminal.texi (stty): Use @var{} on parameter names.
16479 * manual/users.texi (getutmp): Use @var{} on parameter names.
16480 (getutmpx): Likewise.
16481
5b23062f
JM
164822012-02-17 Joseph Myers <joseph@codesourcery.com>
16483
16484 [BZ #6884]
16485 * manual/stdio.texi (fopen): Fix typos in description of
16486 ",ccs=STRING".
16487
8dee4833
AJ
164882012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16489
16490 [BZ #4026]
16491 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16492 get clock_id definition.
16493
9078ce93
TS
164942012-02-17 Thomas Schwinge <thomas@schwinge.name>
16495
16496 [BZ #4822]
16497 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16498 (madvise): Cast every argument to void on its own.
16499
3835c55f
JM
165002012-02-17 Joseph Myers <joseph@codesourcery.com>
16501
16502 [BZ #9902]
16503 * manual/startup.texi (Exit Status): Fix typo.
16504
35c47e37
JM
165052012-02-17 Joseph Myers <joseph@codesourcery.com>
16506
16507 [BZ #10140]
16508 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16509 * manual/examples/argp-ex2.c: Likewise.
16510 * manual/examples/argp-ex3.c: Likewise.
16511
e3b69ca7
RH
165122012-02-16 Richard Henderson <rth@redhat.com>
16513
16514 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16515 * sysdeps/s390/s390-32/initfini.c: Remove.
16516 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16517 * sysdeps/s390/s390-64/initfini.c: Remove.
16518
df83af67
KK
165192012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16520
16521 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16522 compiler output for sysdeps/generic/initfini.c.
16523 * sysdeps/sh/elf/initfini.c: Remove file.
16524
f63f3380
DM
165252012-02-16 David S. Miller <davem@davemloft.net>
16526
fb59b3a4
DM
16527 [BZ #11494]
16528 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16529
f63f3380
DM
16530 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16531 * sysdeps/sparc/crti.S: New file.
16532 * sysdeps/sparc/crtn.S: New file.
16533 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16534 * sysdeps/sparc/sparc64/Makefile: Likewise.
16535
df6a4a4a
MF
165362012-02-15 Mike Frysinger <vapier@gentoo.org>
16537
6dd8f3dc 16538 [BZ #3335]
df6a4a4a
MF
16539 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16540
1cac7236
RM
165412012-02-15 Roland McGrath <roland@hack.frob.com>
16542
d2c736f8
RM
16543 [BZ #4822]
16544 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16545
1cac7236
RM
16546 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16547 (write, read, close): Likewise.
16548 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16549
8e475601
JM
165502012-02-15 Joseph Myers <joseph@codesourcery.com>
16551
16552 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16553 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16554 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16555 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16556 <bits/signalfd.h>.
16557 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16558 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16559 bits/signalfd.h.
16560
ed656b40
MP
165612012-02-14 Marek Polacek <polacek@redhat.com>
16562
16563 * sysdeps/x86_64/crti.S: New file.
16564 * sysdeps/x86_64/crtn.S: New file.
16565 * sysdeps/x86_64/elf/initfini.c: Remove file.
16566
2a979d3a
JM
165672012-02-13 Joseph Myers <joseph@codesourcery.com>
16568
16569 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16570 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16571 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16572 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16573 <bits/inotify.h>.
16574 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16576 bits/inotify.h.
16577
2a418ac3
JM
165782012-02-13 Joseph Myers <joseph@codesourcery.com>
16579
16580 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16581 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16582 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16583 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16584 <bits/eventfd.h>.
16585 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16587 bits/eventfd.h.
16588
fb779be7
TS
165892012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16590
e19e83c5
RM
16591 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16592 __feraiseexcept instead of feraiseexcept.
7c35ffed 16593
fb779be7
TS
16594 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16595 nanosleep invocations.
16596 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16597 strings, and add error checking for a nanosleep invocations.
16598
59ba27a6
PE
165992012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16600
16601 Replace FSF snail mail address with URLs, as per GNU coding standards.
16602 Most of the snail mail addresses were wrong anyway, and omitting
16603 them makes the source code easier to maintain. Almost all of the
16604 changes are to license notices and to locale LC_IDENTIFICATION
16605 addresses, except for this one:
16606 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16607 not its snail mail address.
16608
57b957eb
RH
166092012-02-09 Richard Henderson <rth@twiddle.net>
16610
af850b1c
RH
16611 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16612 of kernel-features.h.
16613
57b957eb
RH
16614 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16615
6b73181a
MP
166162012-02-08 Marek Polacek <polacek@redhat.com>
16617
16618 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16619 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16620 * sysdeps/gnu/_G_config.h: Likewise.
16621 * sysdeps/generic/_G_config.h: Likewise.
16622
26ecc33a
AS
166232012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16624
6c6dbc63
AS
16625 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16626 tests.
16627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16628
e216c012
AS
16629 * sysdeps/powerpc/powerpc32/crti.S: New file.
16630 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16631 * sysdeps/powerpc/powerpc64/crti.S: New file.
16632 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16633
26ecc33a
AS
16634 * Makeconfig (have-initfini): Don't set.
16635 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16636 * configure.in (nopic_initfini): Don't substitute.
16637 * config.h.in (HAVE_INITFINI): Don't #undef.
16638 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16639 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16640
3add8e13
JM
166412012-02-08 Joseph Myers <joseph@codesourcery.com>
16642
16643 Support crti.S and crtn.S provided directly by architectures.
16644 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16645 [crti.S in sysdirs] (omit-deps): Likewise.
16646 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16647 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16648 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16649 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16650 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16651 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16652 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16653 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16654 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16655 compiler output for sysdeps/generic/initfini.c.
16656 * sysdeps/i386/elf/Makefile: Remove file.
16657 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16658
a22f12b4
MP
166592012-02-07 Marek Polacek <polacek@redhat.com>
16660
16661 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16662 * sysdeps/gnu/_G_config.h: Likewise.
16663 * sysdeps/mach/hurd/_G_config.h: Likewise.
16664
148cf100
MP
166652012-02-07 Marek Polacek <polacek@redhat.com>
16666
16667 * math/Makefile (tests): Add tst-CMPLX2.
16668 * math/tst-CMPLX2.c: New file.
16669
cfdc0dd7
AS
166702012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16671
84ba42c4
AS
16672 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16673
cfdc0dd7
AS
16674 * math/libm-test.inc (jn_test): Add missing L suffix.
16675
622c86f4
MP
166762012-02-06 Marek Polacek <polacek@redhat.com>
16677
16678 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16679 * sysdeps/i386/fpu/e_powf.S: Likewise.
16680 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16681 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16682 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16683 * sysdeps/i386/fpu/e_pow.S: Likewise.
16684 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16685 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16686 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16687 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16688 * sysdeps/i386/fpu/e_log2.S: Likewise.
16689 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16690 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16691 * sysdeps/i386/fpu/e_powl.S: Likewise.
16692 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16693 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16694 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16695 * sysdeps/i386/fpu/e_logl.S: Likewise.
16696 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16697 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16698 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16699 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16700 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16701 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16702 * sysdeps/i386/fpu/e_log.S: Likewise.
16703 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16704 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16705 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16706 * sysdeps/i386/fpu/e_logf.S: Likewise.
16707 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16709 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16710 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16711 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16712 * sysdeps/i386/fpu/e_log10.S: Likewise.
16713 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16714 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16715 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16716 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16717 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16718 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16719 * sysdeps/i386/asm-syntax.h: Likewise.
16720 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16721 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16722 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16723 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16724 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16725 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16726 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16727 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16728 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16729 * sysdeps/powerpc/sysdep.h: Likewise.
16730 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16731 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16732
d4a54ac6
JM
167332012-02-06 Joseph Myers <joseph@codesourcery.com>
16734
16735 [BZ #411]
16736 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16737
314054ea
JM
167382012-02-06 Joseph Myers <joseph@codesourcery.com>
16739
16740 * sysdeps/i386/sysdep.h: Include <features.h>.
16741 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16742 version.
16743
d8e0ca50
JM
167442012-02-05 Joseph Myers <joseph@codesourcery.com>
16745
16746 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16747 Define.
16748 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16749 LOAD_PIC_REG_STR.
16750
b1da7dd9
JM
167512012-02-03 Joseph Myers <joseph@codesourcery.com>
16752
16753 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16754 (SETUP_PIC_REG): Use GET_PC_THUNK.
16755 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16756 macro.
16757
9a1d9254
JM
167582012-02-03 Joseph Myers <joseph@codesourcery.com>
16759
16760 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16761 for non-PIC compilation.
16762 (SETUP_PIC_REG): Add .p2align directive.
16763 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16764 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16765 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16766 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16767 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16768 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16769 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16770 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16771 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16772 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16773 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16774 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16775 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16776 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16777 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16778 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16779 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16780 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16781 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16782 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16783 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16784 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16785 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16786 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16787 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16789 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16790 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16791 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16792 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16793 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16794 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16795 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16796 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16797 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16798 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16799 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16800 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16801 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16802 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16803 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16804
65dc3b75
JM
168052012-02-03 Joseph Myers <joseph@codesourcery.com>
16806
16807 * math/tst-CMPLX.c: Include <stdio.h>.
16808
d55bf177
JM
168092012-01-31 Joseph Myers <joseph@codesourcery.com>
16810
16811 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16812 float.
16813 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16814 * sysdeps/sparc/bits/mathdef.h: Likewise.
16815
69db4f8f
MP
168162012-01-31 Marek Polacek <polacek@redhat.com>
16817
16818 * libio/libio.h: Don't define _PARAMS.
16819 * locale/programs/config.h: Don't define PARAMS.
16820 * stdlib/strtol_l.c: Likewise.
16821 (__strtol_l): Remove PARAMS from the prototype.
16822
41b81892
UD
168232012-01-31 Ulrich Drepper <drepper@gmail.com>
16824
3b49edc0
UD
16825 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16826 names. Just use the correct names. Remove unnecessary wrapper
16827 functions.
16828 * malloc/arena.c: Likewise.
16829 * malloc/hooks.c: Likewise.
16830
41b81892
UD
16831 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16832 ARENA_TEST says not to. Simplify test for creation of a new arena.
16833 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16834
27a25b6e
UD
168352012-01-30 Ulrich Drepper <drepper@gmail.com>
16836
16837 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16838 into tail calls.
16839 (update_get_addr): New function.
16840 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16841 GET_ADDR_MODULE parameter.
16842
c8a89e7d
JM
168432012-01-30 Joseph Myers <joseph@codesourcery.com>
16844
16845 * crypt/cert.c: Remove __STDC__ conditionals.
16846 * crypt/crypt-entry.c: Likewise.
16847 * crypt/crypt_util.c: Likewise.
16848 * libio/filedoalloc.c: Likewise.
16849 * libio/fileops.c: Likewise.
16850 * libio/genops.c: Likewise.
16851 * libio/iofclose.c: Likewise.
16852 * libio/iofdopen.c: Likewise.
16853 * libio/iofopen.c: Likewise.
16854 * libio/iofopen64.c: Likewise.
16855 * libio/iogetdelim.c: Likewise.
16856 * libio/iopopen.c: Likewise.
16857 * libio/obprintf.c: Likewise.
16858 * libio/oldfileops.c: Likewise.
16859 * libio/oldiofclose.c: Likewise.
16860 * libio/oldiofdopen.c: Likewise.
16861 * libio/oldiofopen.c: Likewise.
16862 * libio/oldiopopen.c: Likewise.
16863 * libio/wfiledoalloc.c: Likewise.
16864 * libio/wgenops.c: Likewise.
16865 * locale/programs/xmalloc.c: Likewise.
16866 * misc/syslog.c: Likewise.
16867 * stdio-common/xbug.c: Likewise.
16868 * string/memchr.c: Likewise.
16869 * string/memcmp.c: Likewise.
16870 * string/memrchr.c: Likewise.
16871 * string/rawmemchr.c: Likewise.
16872 * sysdeps/posix/getcwd.c: Likewise.
16873 * time/strftime_l.c: Likewise.
16874
3b100462
JM
168752012-01-30 Joseph Myers <joseph@codesourcery.com>
16876
16877 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16878 * config.make.in (config-cflags-sse2avx): Define.
16879 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16880 Fix typo.
16881
607998af
CM
168822012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16883
16884 * scripts/config.guess: Update from upstream config git repository.
16885 * scripts/config.sub: Likewise.
16886
3601428f
CM
168872012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16888
3ac8b282
CM
16889 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16890 (EM_NUM): Update.
16891 (R_TILEPRO_*, R_TILEGX_*): New macros.
16892
e034841e
CM
16893 * scripts/firstversions.awk: Fix bug in version range handling.
16894
540d7568
CM
16895 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16896
3601428f
CM
16897 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16898
463de862
CM
16899 * include/sys/epoll.h: New file.
16900 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16901 libc_hidden_def.
16902
73139a76
UD
169032012-01-28 Ulrich Drepper <drepper@gmail.com>
16904
96bc5b45
UD
16905 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16906 Avoid unnecessary __WORDSIZE == 64 test.
16907 (fmaxf): Use VEX format if possible.
16908 (fmax): Likewise.
16909 (fminf): Likewise.
16910 (fmin): Likewise.
16911
56f6f6a2
UD
16912 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16913 * math/math_private.h: Remove libc_fegetround* and
16914 libc_fesetround*.
16915 * sysdeps/i386/configure.in: Check for -msse2avx.
16916 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16917 also if SSE2AVX is defined.
16918 Remove libc_fegetround* and libc_fesetround*.
16919 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16920 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16921 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16922 of HAS_YMM_USABLE.
16923 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16924 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16926 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16927 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16928
73139a76
UD
16929 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16930
d73f93a4
AZ
169312012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16932
16933 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16934 size is not set.
16935 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16936
6ee65ed6
UD
169372012-01-27 Ulrich Drepper <drepper@gmail.com>
16938
16939 [BZ #13618]
16940 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16941 relocation.
16942 * Makeconfig (libm): Define.
16943 * elf/Makefile: Add rules to build and run tst-relsort1.
16944 * elf/tst-relsort1.c: New file.
16945 * elf/tst-relsort1mod1.c: New file.
16946 * elf/tst-relsort1mod2.c: New file.
16947
8db21882
JM
169482012-01-27 Joseph Myers <joseph@codesourcery.com>
16949
16950 * math/s_ldexp.c: Remove __STDC__ conditionals.
16951 * math/s_ldexpf.c: Likewise.
16952 * math/s_ldexpl.c: Likewise.
16953 * math/s_nextafter.c: Likewise.
16954 * math/s_nexttowardf.c: Likewise.
16955 * math/s_significand.c: Likewise.
16956 * math/s_significandf.c: Likewise.
16957 * math/s_significandl.c: Likewise.
16958 * math/w_jnl.c: Likewise.
16959 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16960 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16961 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16962 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16963 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16964 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16965 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16966 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16967 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16968 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16969 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16970 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16971 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16972 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16973 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16974 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16975 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16976 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16978 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16979 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16980 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16981 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16982 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16983 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16984 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16985 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16986 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16987 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16988 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16989 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16990 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16991 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16992 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16993 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16994 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16995 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16996 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16997 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16998 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16999 * sysdeps/ieee754/k_standard.c: Likewise.
17000 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17001 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17002 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17007 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17008 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17009 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17010 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17011 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17012 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17013 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17015 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17016 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17017 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17018 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17019 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17020 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17061 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17070 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17071 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17073 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17074 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17075 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17076 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17077 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17078 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17079 * sysdeps/ieee754/s_matherr.c: Likewise.
17080 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17081 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17082 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17083 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17084
965a54a4
JM
170852012-01-26 Joseph Myers <joseph@codesourcery.com>
17086
17087 * crypt/md5.h: Remove __STDC__ conditionals.
17088 * libio/libioP.h: Likewise.
17089 * locale/programs/config.h: Likewise.
17090 * sysdeps/generic/sysdep.h: Likewise.
17091 * sysdeps/i386/asm-syntax.h: Likewise.
17092 * sysdeps/s390/asm-syntax.h: Likewise.
17093 * sysdeps/unix/sysdep.h: Likewise.
17094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17096
7071ad79
JM
170972012-01-26 Joseph Myers <joseph@codesourcery.com>
17098
17099 * libio/libio.h: Remove __STDC__ conditionals.
17100 * malloc/obstack.h: Likewise.
17101 * math/complex.h: Likewise.
17102 * math/math.h: Likewise.
17103 * sysdeps/generic/_G_config.h: Likewise.
17104 * sysdeps/gnu/_G_config.h: Likewise.
17105 * sysdeps/mach/hurd/_G_config.h: Likewise.
17106 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17107 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17108 * sysdeps/sparc/bits/mathdef.h: Likewise.
17109
afc5ed09
UD
171102012-01-26 Ulrich Drepper <drepper@gmail.com>
17111
17112 [BZ #13583]
17113 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17114 Clean up HAS_* macros.
afc5ed09 17115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17116 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17117 possible.
17118 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17119 HAS_AVX.
17120 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17121 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17122 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17123 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17124 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17125
bdb6de1d
JM
171262012-01-25 Joseph Myers <joseph@codesourcery.com>
17127
17128 * elf/tst-unique3.cc (gets): Remove declaration.
17129 * elf/tst-unique3lib.cc (gets): Likewise.
17130 * elf/tst-unique3lib2.cc (gets): Likewise.
17131 * elf/tst-unique4.cc (gets): Likewise.
17132
b15549e6
UD
171332012-01-24 Ulrich Drepper <drepper@gmail.com>
17134
17135 * include/stdio.h: Add C++ protection. Add gets declarations and
17136 definitions.
17137 * debug/tst-chk1.c: Don't declare gets here.
17138 * stdio-common/tst-gets.c: Likewise.
17139
a037381f
JM
171402012-01-24 Joseph Myers <joseph@codesourcery.com>
17141
17142 * posix/glob: Remove directory.
17143
f1d4aa75
JM
171442012-01-24 Joseph Myers <joseph@codesourcery.com>
17145
17146 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17147
81c0c964
PT
171482012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17149
17150 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17151 of the non-standard EPFNOSUPPORT.
17152
0ea698ae
ST
171532011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17154
17155 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17156 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17157 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17158
d220b117
UD
171592012-01-21 Ulrich Drepper <drepper@gmail.com>
17160
17161 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17162
3e1aa84e
UD
171632012-01-20 Ulrich Drepper <drepper@gmail.com>
17164
17165 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17166 transient errors.
17167 * nscd/grpcache.c (cache_addgr): Likewise.
17168 * nscd/hstcache.c (cache_addhst): Likewise.
17169 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17170 * nscd/pwdcache.c (cache_addpw): Likewise.
17171 * nscd/servicescache.c (cache_addserv): Likewise.
17172
400aa020
UD
171732012-01-16 Ulrich Drepper <drepper@gmail.com>
17174
d77e7869
UD
17175 * malloc/malloc.c: Various cleanups.
17176 * malloc/hooks.c: Likewise.
17177
400aa020
UD
17178 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17179 * stdlib/bug-fmtmsg1.c: New file.
17180
17181 * stdlib/fmtmsg.c (init): Add missing unlock.
17182 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17183
e0a309cf
MP
171842012-01-12 Marek Polacek <polacek@redhat.com>
17185
17186 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17187 and _GNU_SOURCE.
17188
929d11c7
WS
171892012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17190
17191 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17192 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17193 macro to ensure uniqueness of label name.
17194 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17195 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17196
41d0e869
UD
171972012-01-11 Ulrich Drepper <drepper@gmail.com>
17198
0cc5ed3b
UD
17199 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17200
41d0e869
UD
17201 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17202 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17203 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17204 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17205
a47a831a
UD
172062012-01-10 Ulrich Drepper <drepper@gmail.com>
17207
daa891c0
UD
17208 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17209
17210 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17211 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17212 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17213
e58ef0f2
UD
17214 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17215
a47a831a 17216 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17217 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17218 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17219 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17220
17221 * math/bits/math-finite.h: Add ldexp support.
17222
a0bfc9c7
MP
172232012-01-10 Marek Polacek <polacek@redhat.com>
17224
17225 * locale/programs/localedef.h (show_archive_content): Add noreturn
17226 attribute.
17227
d6e97a1d
UD
172282012-01-09 Ulrich Drepper <drepper@gmail.com>
17229
17230 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17231
d5835c26
UD
172322012-01-08 Ulrich Drepper <drepper@gmail.com>
17233
e5f484c6
UD
17234 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17235
d5835c26
UD
17236 * io/Makefile (headers): Add bits/poll2.h.
17237
d1f741e9
WS
172382011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17239
17240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17241 typo #include statement.
17242
ec09c1c4
UD
172432012-01-08 Ulrich Drepper <drepper@gmail.com>
17244
17245 * include/sys/cdefs.h: Define __attribute_alloc_size.
17246 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17247 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17248 * elf/pldd.c: Likewise.
17249 * iconv/iconv_charmap.c: Likewise.
17250 * iconv/iconvconfig.c: Likewise.
17251 * iconv/strtab.c: Likewise.
17252 * locale/programs/locale.c: Likewise.
17253 * locale/programs/localedef.h: Likewise.
17254 * locale/programs/simple-hash.c: Likewise.
17255 * nscd/nscd.h: Likewise.
17256 * nss/makedb.c: Likewise.
17257 * sysdeps/generic/ldconfig.h: Likewise.
17258 * locale/programs/localedef.c: Remove xmalloc prototype.
17259 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17260
20b38e03
PP
172612012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17262
17263 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17264 appropriate.
17265
a0da5fe1
UD
172662012-01-08 Ulrich Drepper <drepper@gmail.com>
17267
1d5a644a 17268 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17269 * math/tst-CMPLX.c: New file.
1d5a644a 17270
8784a6db
UD
17271 * math/complex.h (CMPLXL): Fix typo.
17272
d9a216c0
UD
17273 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17274 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17275 GLIBC_2.16.
17276 * debug/tst-chk1.c: Add poll and ppoll tests.
17277 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17278 * include/sys/poll.h: Add hidden proto for ppoll.
17279 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17280 * sysdeps/mach/hurd/ppoll.c: Likewise.
17281 * io/ppoll.c: Likewise.
17282 * debug/poll_chk.c: New file.
17283 * debug/ppoll_chk.c: New file.
17284 * include/bits/poll2.h: New file.
17285 * io/bits/poll2.h: New file.
17286
ac097f5c
UD
17287 [BZ #1350]
17288 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17289
2119dcfa
UD
17290 * configure.in: static is always set to yes. Remove.
17291 * config.make.in: Don't set build-static.
17292 * Makeconfig: Remove use of build-static.
17293 * dlfcn/Makefile: Likewise.
17294 * elf/Makefile: Likewise.
17295 * math/Makefile: Likewise.
17296 * misc/Makefile: Likewise.
17297 * nptl/Makefile: Likewise.
17298 * sysdeps/mach/hurd/Makefile: Likewise.
17299
121766a9
UD
17300 * configure.in: PWD_P is not used anymore.
17301 * config.make.in: Remove PWD_P entry.
17302
51a1d39c 17303 * configure.in: Remove last remnants of RANLIB.
8720d066 17304 No need to check for signed size_t anymore.
215f4bdc
UD
17305 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17306 and IA-64.
3857022a 17307 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17308 * aclocal.m4: Likewise.
17309
d3ed7225
UD
17310 * wcsmbs/mbrtoc16.c: Implement using towc function.
17311 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17312 * wcsmbs/wcsmbsload.c: Likewise.
17313 * iconv/gconv_simple.c: Likewise.
17314 * iconv/gconv_int.h: Likewise.
17315 * iconv/gconv_builtin.h: Likewise.
17316 * iconv/iconv_prog.c: Remove CHAR16 handling.
17317
17318 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17319
17320 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17321
a0da5fe1
UD
17322 * configure.in: Remove --with-elf and --enable-bounded options.
17323 Dont set base_machine for ia64. More non-ELF conditions removed.
17324 Remove testing and setting of leading underscore information.
17325 * config.make.in (build-bounded): Set to no.
17326 * config.h.in: Remove NO_UNDERSCORES entry.
17327 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17328 them.
17329 * csu/start.c: Remove !NO_UNDERSCORE code.
17330 * locale/localeinfo.h: Likewise.
17331 * sysdeps/generic/machine-gmon.h: Likewise.
17332 * sysdeps/generic/sysdep.h: Likewise.
17333 * sysdeps/i386/sysdep.h: Likewise.
17334 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17335 * sysdeps/mach/sysdep.h: Likewise.
17336 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17337 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17338 * sysdeps/sh/sysdep.h: Likewise.
17339 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17340 * sysdeps/unix/i386/sysdep.S: Likewise.
17341 * sysdeps/unix/sparc/start.c: Likewise.
17342 * sysdeps/unix/sparc/sysdep.S: Likewise.
17343 * sysdeps/unix/sparc/sysdep.h: Likewise.
17344 * sysdeps/unix/start.c: Likewise.
17345 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17346 * sysdeps/x86_64/sysdep.h: Likewise.
17347
df78418a
UD
173482012-01-07 Ulrich Drepper <drepper@gmail.com>
17349
a784e502
UD
17350 [BZ #13553]
17351 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17352 for non-gcc.
17353 * argp/argp-fmtstream.h: Use const instead __const.
17354 * argp/argp.h: Likewise.
17355 * assert/assert.h: Likewise.
17356 * bits/fenv.h: Likewise.
17357 * bits/sched.h: Likewise.
17358 * bits/sigset.h: Likewise.
17359 * bits/sigthread.h: Likewise.
17360 * catgets/nl_types.h: Likewise.
17361 * conform/data/pthread.h-data: Likewise.
17362 * crypt/crypt-private.h: Likewise.
17363 * crypt/crypt.h: Likewise.
17364 * crypt/crypt_util.c: Likewise.
17365 * ctype/ctype.h: Likewise.
17366 * debug/execinfo.h: Likewise.
17367 * debug/mbsnrtowcs_chk.c: Likewise.
17368 * debug/mbsrtowcs_chk.c: Likewise.
17369 * debug/wcsnrtombs_chk.c: Likewise.
17370 * debug/wcsrtombs_chk.c: Likewise.
17371 * debug/wcstombs_chk.c: Likewise.
17372 * dirent/dirent.h: Likewise.
17373 * dlfcn/dlfcn.h: Likewise.
17374 * elf/neededtest4.c: Likewise.
17375 * grp/grp.h: Likewise.
17376 * gshadow/gshadow.h: Likewise.
17377 * iconv/gconv.h: Likewise.
17378 * iconv/gconv_int.h: Likewise.
17379 * iconv/gconv_simple.c: Likewise.
17380 * iconv/iconv.h: Likewise.
17381 * iconv/loop.c: Likewise.
17382 * iconv/skeleton.c: Likewise.
17383 * include/aio.h: Likewise.
17384 * include/aliases.h: Likewise.
17385 * include/argz.h: Likewise.
17386 * include/arpa/inet.h: Likewise.
17387 * include/assert.h: Likewise.
17388 * include/dirent.h: Likewise.
17389 * include/dlfcn.h: Likewise.
17390 * include/execinfo.h: Likewise.
17391 * include/fcntl.h: Likewise.
17392 * include/fenv.h: Likewise.
17393 * include/glob.h: Likewise.
17394 * include/grp.h: Likewise.
17395 * include/libintl.h: Likewise.
17396 * include/mntent.h: Likewise.
17397 * include/netdb.h: Likewise.
17398 * include/pwd.h: Likewise.
17399 * include/rpc/netdb.h: Likewise.
17400 * include/sched.h: Likewise.
17401 * include/search.h: Likewise.
17402 * include/shadow.h: Likewise.
17403 * include/signal.h: Likewise.
17404 * include/stdio.h: Likewise.
17405 * include/stdlib.h: Likewise.
17406 * include/string.h: Likewise.
17407 * include/sys/socket.h: Likewise.
17408 * include/sys/stat.h: Likewise.
17409 * include/sys/statfs.h: Likewise.
17410 * include/sys/statvfs.h: Likewise.
17411 * include/sys/syslog.h: Likewise.
17412 * include/sys/time.h: Likewise.
17413 * include/sys/uio.h: Likewise.
17414 * include/time.h: Likewise.
17415 * include/unistd.h: Likewise.
17416 * include/utmp.h: Likewise.
17417 * include/wchar.h: Likewise.
17418 * include/wctype.h: Likewise.
17419 * inet/aliases.h: Likewise.
17420 * inet/arpa/inet.h: Likewise.
17421 * inet/netinet/ether.h: Likewise.
17422 * inet/netinet/in.h: Likewise.
17423 * intl/libintl.h: Likewise.
17424 * io/bits/fcntl2.h: Likewise.
17425 * io/fcntl.h: Likewise.
17426 * io/ftw.h: Likewise.
17427 * io/sys/poll.h: Likewise.
17428 * io/sys/stat.h: Likewise.
17429 * io/sys/statfs.h: Likewise.
17430 * io/sys/statvfs.h: Likewise.
17431 * io/utime.h: Likewise.
17432 * libio/bits/stdio.h: Likewise.
17433 * libio/bits/stdio2.h: Likewise.
17434 * libio/libio.h: Likewise.
17435 * libio/libioP.h: Likewise.
17436 * libio/stdio.h: Likewise.
17437 * locale/lc-ctype.c: Likewise.
17438 * locale/locale.h: Likewise.
17439 * login/utmp.h: Likewise.
17440 * malloc/arena.c: Likewise.
17441 * malloc/malloc.c: Likewise.
17442 * malloc/malloc.h: Likewise.
17443 * malloc/mcheck.c: Likewise.
17444 * malloc/mtrace.c: Likewise.
17445 * math/bits/mathcalls.h: Likewise.
17446 * math/fenv.h: Likewise.
17447 * math/math_private.h: Likewise.
17448 * misc/bits/error.h: Likewise.
17449 * misc/bits/syslog.h: Likewise.
17450 * misc/err.h: Likewise.
17451 * misc/error.h: Likewise.
17452 * misc/fstab.h: Likewise.
17453 * misc/mntent.h: Likewise.
17454 * misc/regexp.h: Likewise.
17455 * misc/search.h: Likewise.
17456 * misc/sgtty.h: Likewise.
17457 * misc/sys/mman.h: Likewise.
17458 * misc/sys/syslog.h: Likewise.
17459 * misc/sys/uio.h: Likewise.
17460 * misc/sys/xattr.h: Likewise.
17461 * misc/ttyent.h: Likewise.
17462 * nis/rpcsvc/ypclnt.h: Likewise.
17463 * nss/nss.h: Likewise.
17464 * posix/bits/unistd.h: Likewise.
17465 * posix/fnmatch.h: Likewise.
17466 * posix/glob.h: Likewise.
17467 * posix/sched.h: Likewise.
17468 * posix/spawn.h: Likewise.
17469 * posix/sys/wait.h: Likewise.
17470 * posix/unistd.h: Likewise.
17471 * posix/wordexp.h: Likewise.
17472 * pwd/pwd.h: Likewise.
17473 * resolv/netdb.h: Likewise.
17474 * resource/sys/resource.h: Likewise.
17475 * rt/aio.h: Likewise.
17476 * rt/bits/mqueue2.h: Likewise.
17477 * rt/mqueue.h: Likewise.
17478 * shadow/shadow.h: Likewise.
17479 * signal/signal.h: Likewise.
17480 * socket/send.c: Likewise.
17481 * socket/sendto.c: Likewise.
17482 * socket/sys/socket.h: Likewise.
17483 * stdio-common/printf.h: Likewise.
17484 * stdlib/bits/stdlib.h: Likewise.
17485 * stdlib/fmtmsg.h: Likewise.
17486 * stdlib/monetary.h: Likewise.
17487 * stdlib/stdlib.h: Likewise.
17488 * stdlib/ucontext.h: Likewise.
17489 * streams/stropts.h: Likewise.
17490 * string/argz.h: Likewise.
17491 * string/bits/string2.h: Likewise.
17492 * string/string.h: Likewise.
17493 * string/strings.h: Likewise.
17494 * sunrpc/rpc/auth.h: Likewise.
17495 * sunrpc/rpc/auth_des.h: Likewise.
17496 * sunrpc/rpc/clnt.h: Likewise.
17497 * sunrpc/rpc/netdb.h: Likewise.
17498 * sunrpc/rpc/pmap_clnt.h: Likewise.
17499 * sunrpc/rpc/xdr.h: Likewise.
17500 * sysdeps/generic/inttypes.h: Likewise.
17501 * sysdeps/generic/net/if.h: Likewise.
17502 * sysdeps/generic/sys/swap.h: Likewise.
17503 * sysdeps/gnu/net/if.h: Likewise.
17504 * sysdeps/gnu/utmpx.h: Likewise.
17505 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17506 * sysdeps/i386/i486/bits/string.h: Likewise.
17507 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17508 * sysdeps/s390/bits/string.h: Likewise.
17509 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17510 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17511 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17512 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17513 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17514 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17515 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17516 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17517 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17518 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17519 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17520 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17521 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17522 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17523 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17524 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17525 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17527 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17528 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17529 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17530 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17531 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17532 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17533 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17534 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17535 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17536 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17537 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17538 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17539 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17540 * sysvipc/sys/ipc.h: Likewise.
17541 * sysvipc/sys/msg.h: Likewise.
17542 * sysvipc/sys/sem.h: Likewise.
17543 * sysvipc/sys/shm.h: Likewise.
17544 * termios/termios.h: Likewise.
17545 * time/sys/time.h: Likewise.
17546 * time/time.h: Likewise.
17547 * wcsmbs/bits/wchar2.h: Likewise.
17548 * wcsmbs/uchar.h: Likewise.
17549 * wcsmbs/wchar.h: Likewise.
17550 * wctype/wctype.h: Likewise.
17551
0269750c
UD
17552 [BZ #13551]
17553 * Makeconfig: Remove all but ELF support including AIX support.
17554 * Makerules: Likewise.
17555 * config.h.in: Likewise.
17556 * config.make.in: Likewise.
17557 * configure: Likewise.
17558 * configure.in: Likewise.
17559 * csu/Makefile: Likewise.
17560 * csu/version.c: Likewise.
17561 * debug/Makefile: Likewise.
17562 * dlfcn/Makefile: Likewise.
17563 * elf/Makefile: Likewise.
17564 * extra-lib.mk: Likewise.
17565 * iconv/Makefile: Likewise.
17566 * include/libc-symbols.h: Likewise.
17567 * include/shlib-compat.h: Likewise.
17568 * resolv/Makefile: Likewise.
17569 * resolv/res_libc.c: Likewise.
17570 * rt/Makefile: Likewise.
17571 * sysdeps/i386/asm-syntax.h: Likewise.
17572 * sysdeps/i386/sysdep.h: Likewise.
17573 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17574 * sysdeps/mach/sysdep.h: Likewise.
17575 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17576 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17577 * sysdeps/s390/asm-syntax.h: Likewise.
17578 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17580 * sysdeps/sh/sysdep.h: Likewise.
17581 * sysdeps/unix/sparc/sysdep.h: Likewise.
17582 * sysdeps/wordsize-32/divdi3.c: Likewise.
17583 * sysdeps/x86_64/sysdep.h: Likewise.
17584
00bbd29b
UD
17585 * argp/Versions: Remove _argp_unlock_xxx.
17586
17587 [BZ #13559]
17588 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17589 * abilist/libBrokenLocale.abilist: Likewise.
17590 * abilist/libanl.abilist: Likewise.
17591 * abilist/libc.abilist: Likewise.
17592 * abilist/libcrypt.abilist: Likewise.
17593 * abilist/libdl.abilist: Likewise.
17594 * abilist/libm.abilist: Likewise.
17595 * abilist/libnsl.abilist: Likewise.
17596 * abilist/libpthread.abilist: Likewise.
17597 * abilist/libresolv.abilist: Likewise.
17598 * abilist/librt.abilist: Likewise.
17599 * abilist/libthread_db.abilist: Likewise.
17600 * abilist/libutil.abilist: Likewise.
17601 * abilist/libnss_db.abilist: New file.
17602
17603 * scripts/abilist.awk: Add support for indirect functions.
17604
a2693a0e
UD
17605 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17606
3f05895f
UD
17607 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17608
ecb6fb48
UD
17609 * shlib-versions: Remove entries for ports architectures.
17610
664f8cb9
UD
17611 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17612 files in ports.
17613 * elf/stackguard-macros.h: Remove support for IA-64.
17614 * elf/tst-auditmod1.c: Likewise.
17615 * sysdeps/generic/ldsodefs.h: Likewise.
17616
7ae81d88
UD
17617 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17618 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17619 configure files.
17620
bdeba135
UD
17621 [BZ #13552]
17622 * configure.in: Remove --enable-omitfp support.
17623 * FAQ.in: Adjust.
17624 * config.make.in: Likewise.
17625 * Makeconfig: Likewise.
17626 * manual/install.texi: Likewise.
17627
d75a0a62
UD
17628 In case anyone cares, the IA-64 architecture could move to ports.
17629 * sysdeps/ia64/*: Removed.
17630 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17631 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17632
dcc9756b
UD
17633 [BZ #13555]
17634 * configure.in: Remove entries for unsupported architectures.
17635
d3761ebc 17636 [BZ #13533]
9954432e
UD
17637 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17638 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17639 routines.
17640 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17641 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17642 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17643 fall back to using wcrtomb.
17644 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17645 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17646 renaming.
17647 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17648 * wcsmbs/tst-c16c32-1.c: New file.
17649
17650 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17651 local variable.
17652
c3a87236
UD
17653 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17654
28926a1b
UD
17655 * elf/tst-unique3.cc: Add explicit declaration of gets.
17656 * elf/tst-unique3lib.cc: Likewise.
17657 * elf/tst-unique3lib2.cc: Likewise.
17658 * elf/tst-unique4.cc: Likewise.
17659
df78418a
UD
17660 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17661
8ecd6b2a
JM
176622012-01-06 Joseph Myers <joseph@codesourcery.com>
17663
17664 [BZ #13566]
17665 * assert/assert.h (static_assert): Don't define for C++.
17666 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17667 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17668
9f115170
UD
176692012-01-03 Ulrich Drepper <drepper@gmail.com>
17670
5e0d0300
UD
17671 * iconv/loop.c (single loop): Fix assertion in storing of
17672 remaining bytes.
17673
9f115170
UD
17674 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17675
81fb02b0
UD
176762012-01-01 Ulrich Drepper <drepper@gmail.com>
17677
17678 * posix/getconf.c: Update copyright year.
17679 * nss/getent.c: Likewise.
a316c1f6 17680 * nss/makedb.c: Likewise.
81fb02b0
UD
17681 * iconv/iconvconfig.c: Likewise.
17682 * iconv/iconv_prog.c: Likewise.
17683 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17684 * elf/pldd.c: Likewise.
17685 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17686 * catgets/gencat.c: Likewise.
17687 * csu/version.c: Likewise.
17688 * elf/ldd.bash.in: Likewise.
17689 * elf/sprof.c (print_version): Likewise.
17690 * locale/programs/locale.c: Likewise.
17691 * locale/programs/localedef.c: Likewise.
a316c1f6 17692 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17693 * nscd/nscd.c (print_version): Likewise.
17694 * debug/xtrace.sh: Likewise.
17695 * malloc/memusage.sh: Likewise.
17696 * malloc/mtrace.pl: Likewise.
17697 * debug/catchsegv.sh: Likewise.
17698
2ba92745
JJ
176992011-12-30 Jakub Jelinek <jakub@redhat.com>
17700
17701 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17702 pure attribute.
17703
dadebdae
UD
177042011-12-24 Ulrich Drepper <drepper@gmail.com>
17705
d3761ebc 17706 [BZ #13533]
db6af3eb
UD
17707 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17708 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17709 transformations.
17710 * iconv/gconv_int.h: Likewise.
17711 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17712 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17713 from libc for GLIBC_2.16.
17714 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17715 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17716 * wcsmbs/uchar.h: Really define mbstate_t.
17717 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17718 * wcsmbs/c16rtomb.c: New file.
17719 * wcsmbs/mbrtoc16.c: New file.
17720 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17721 for C/POSIX locale.
17722 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17723 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17724
dadebdae
UD
17725 * wcsmbs/wchar.h: Add missing __restrict.
17726
67371b56
UD
177272011-12-23 Ulrich Drepper <drepper@gmail.com>
17728
74033a25
UD
17729 [BZ #13532]
17730 * time/Makefile (routines): Add timespec_get.
17731 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17732 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17733 timespec for ISO C11.
17734 * time/timespec_get.c: New file.
17735 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17736 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17737
380d7e87
UD
17738 [BZ #13531]
17739 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17740 * stdlib/stdlib.h: Declare aligned_alloc.
17741 * Versions.def: Add GLIBC_2.16 for libc.
17742 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17743
4e9e7a35
UD
17744 [BZ 13527]
17745 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17746 ISO C11.
17747
380d7e87 17748 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17749 code.
17750
03a71829
UD
17751 [BZ #13528]
17752 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17753
839e283e
UD
17754 [BZ #13529]
17755 * assert/assert.h (static_assert): Define.
17756
ce5294e2 17757 * version.h: Update for 2.16 development version.
90fa7312 17758
8d44e150 17759 [BZ #13526]
d7809905
UD
17760 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17761 _ISOC11_SOURCE.
17762
c0da14cd
UD
17763 * version.h (RELEASE): Bump for 2.15 release.
17764 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17765
530a3249
MP
17766 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17767 Patch by Marek Polacek <mpolacek@redhat.com>.
17768
67371b56
UD
17769 * bits/byteswap.h: Protect long long constants with __extension__.
17770 * sysdeps/i386/bits/byteswap.h: Likewise.
17771 * sysdeps/ia64/bits/byteswap.h: Likewise.
17772 * sysdeps/s390/bits/byteswap.h: Likewise.
17773 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17774
15db4de1
LD
177752011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17776
17777 [BZ #13540]
bbe315ea
LD
17778 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17779 destination buffer.
15db4de1
LD
17780 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17781
2b2596b1
MP
177822011-12-23 Marek Polacek <polacek@redhat.com>
17783
17784 * elf/dl-addr.c (determine_info): Add inline keyword.
17785 * elf/tst-auditmod4b.c (check_avx): Likewise.
17786 * elf/tst-auditmod6b.c (check_avx): Likewise.
17787 * elf/tst-auditmod6c.c (check_avx): Likewise.
17788 * elf/tst-auditmod7b.c (check_avx): Likewise.
17789
70c6c246
UD
177902011-12-23 Ulrich Drepper <drepper@gmail.com>
17791
17792 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17793 !__SSE_MATH__.
17794
c044cf14
LD
177952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17796
15db4de1 17797 [BZ #13540]
c044cf14
LD
17798 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17799 processing for last bytes.
17800
6b13d9d9
BH
178012011-08-06 Bruno Haible <bruno@clisp.org>
17802
d455f537
BH
17803 [BZ #13061]
17804 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17805 U+0385, not to U+1FEE.
17806
6b13d9d9
BH
17807 [BZ #13062]
17808 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17809 entry for U+00A5 U+0301.
17810
db910efd
UD
178112011-12-22 Ulrich Drepper <drepper@gmail.com>
17812
27deeafc
UD
17813 [BZ #13166]
17814 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17815 buffer for the output is too small.
17816
aed9d171
UD
17817 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17818 optimization.
17819
db910efd
UD
17820 [BZ #13185]
17821 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17822 SSE flags if possible.
17823
2bd779ae
LD
178242011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17825
e7f9dac3 17826 [BZ #13540]
2bd779ae
LD
17827 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17828 processing for last bytes.
17829
154bfc16
JM
178302011-12-22 Joseph Myers <joseph@codesourcery.com>
17831
17832 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17833 (syscall-list-default-options, syscall-list-default-condition)
17834 (syscall-list-includes): Define.
17835 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17836 list of ABIs and options and #if conditions for each ABI. Do not
17837 handle common syscalls between ABIs specially.
17838 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17839 Remove.
17840 (syscall-list-variants, syscall-list-32bit-options)
17841 (syscall-list-32bit-condition, syscall-list-64bit-options)
17842 (syscall-list-64bit-condition): Define.
17843 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17844 (syscall-list-variants, syscall-list-32bit-options)
17845 (syscall-list-32bit-condition, syscall-list-64bit-options)
17846 (syscall-list-64bit-condition): Define.
17847 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17848 Remove.
17849 (syscall-list-variants, syscall-list-32bit-options)
17850 (syscall-list-32bit-condition, syscall-list-64bit-options)
17851 (syscall-list-64bit-condition): Define.
17852 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17853 Remove.
17854 (syscall-list-variants, syscall-list-32bit-options)
17855 (syscall-list-32bit-condition, syscall-list-64bit-options)
17856 (syscall-list-64bit-condition): Define.
17857
21eaf3a5
UD
178582011-12-22 Ulrich Drepper <drepper@gmail.com>
17859
16c6f992
UD
17860 * locale/iso-639.def: Add brx entry.
17861
41043168
UD
17862 [BZ #13328]
17863 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17864 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17865
21eaf3a5
UD
17866 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17867 __feraiseexcept_renamed.
17868
e3a851a2
UD
178692011-12-21 Ulrich Drepper <drepper@gmail.com>
17870
4920765e
UD
17871 [BZ #13538]
17872 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17873 EPOLLET with unsigned values.
17874 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17875 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17876
e3a851a2
UD
17877 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17878 to large cancellation.
17879 * math/s_cacoshf.c: Likewise.
17880 * math/s_cacoshl.c: Likewise.
17881
b27e24b8
RK
178822011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17883
17884 [BZ #13305]
aebefeee 17885 [BZ #12786]
b27e24b8
RK
17886 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17887 * math/s_cacoshf.c: Likewise.
17888 * math/s_cacoshl.c: Likewise.
17889
ee190f67
UD
178902011-12-21 Ulrich Drepper <drepper@gmail.com>
17891
17892 [BZ #13439]
17893 * iconv/gconv.h: Define __GCONV_SWAP.
17894 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17895 * iconvdata/utf-16.c: Likewise.
17896 * iconvdata/utf-32.c: Likewise.
17897
707f25df
AS
178982011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17899
17900 [BZ #13524]
17901 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17902 numerator after shifting it by one limb.
17903
d2daaa1e
RÁE
179042011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17905
17906 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17907 under [__USE_EXTERN_INLINES].
17908
a4647e72
UD
179092011-12-17 Ulrich Drepper <drepper@gmail.com>
17910
17911 [BZ #13446]
17912 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17913
f0b264f1
AZ
179142011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17915
17916 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17917 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17918 optimized code.
17919 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17920 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17921 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17922 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17923 for strncasecmp/strncasecmp_l compilation.
17924 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17925 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17926
8ef4f244
MP
179272011-12-08 Marek Polacek <mpolacek@redhat.com>
17928
17929 [BZ #13484]
17930 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17931 of __asm__.
17932
97ac2654
UD
179332011-12-17 Ulrich Drepper <drepper@gmail.com>
17934
17935 [BZ #13506]
17936 * time/tzfile.c (__tzfile_read): Check values from file header.
17937
91d2a845
WS
179382011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17939
17940 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17941 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17942 * powerpc/powerpc32/dl-start.S: Likewise.
17943 * powerpc/powerpc32/elf/start.S: Likewise.
17944 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17945 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17946 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17947 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17948 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17949 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17950 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17951 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17952 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17953 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17954 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17955 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17956 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17957 * powerpc/powerpc32/memset.S: Likewise.
17958 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17959 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17960 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17961 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17962 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17963 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17964 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17965 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17966 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17967 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17968 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17969 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17970 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17971
a1267ba1
AZ
179722011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17973
17974 * math/libm-test.inc: Added more nearbyint tests.
17975 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17976 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17977 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17978 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17979
ad8ac1bd
RL
179802011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17981
17982 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17983 FD_CLOEXEC.
17984
1d3e4b61
UD
179852011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17986
17987 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17988 Add wcscpy-ssse3 wcscpy-c.
17989 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17990 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17991 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17992 * sysdeps/x86_64/wcschr.S: New file.
17993 * sysdeps/x86_64/wcsrchr.S: New file.
17994 * string/test-strcmp.c: Remove checking of wcscmp function for
17995 wrong alignments.
17996 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17997 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17998 wcsrchr-sse2 wcsrchr-c.
17999 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18000 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18001 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18002 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18003 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18004 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18005 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18006 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18007 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18008 * wcsmbc/wcschr.c (WCSCHR): New macro.
18009
5b330a2d
UD
180102011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18011
18012 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18013 * wcsmbs/test-wcsrchr.c: New file.
18014 * string/test-strrchr.c: Add wcsrchr support.
18015 (WIDE): New macro.
18016 * wcsmbs/test-wcscpy.c: New file.
18017 * string/test-strcpy.c: Add wcscpy support.
18018 (WIDE): New macro.
26428b7c 18019
f039c043
UD
180202011-12-10 Ulrich Drepper <drepper@gmail.com>
18021
18022 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18023 the inner loop.
18024
850fb039
AS
180252011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18026
18027 [BZ #13472]
18028 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18029
4efbd5cb
UD
180302011-12-04 Ulrich Drepper <drepper@gmail.com>
18031
52ff5dd0 18032 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18033 Minor optimizations.
52ff5dd0 18034
4efbd5cb
UD
18035 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18036 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18037 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18038
8a426e12
UD
180392011-12-03 Ulrich Drepper <drepper@gmail.com>
18040
aff2453d
UD
18041 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18042 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18043 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18044 for gcc to avoid warnings.
18045 * inet/Makefile (tests): Add tst-checks.
18046 * inet/tst-checks.c: New file.
18047
18048 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18049 warning.
18050
18051 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18052 __wmemcmp_sse2.
18053
18054 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18055 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18056
8a426e12
UD
18057 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18058
9bea3473
UD
180592011-12-02 Ulrich Drepper <drepper@gmail.com>
18060
3a965496
UD
18061 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18062 problem.
18063
9bea3473
UD
18064 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18065
f101631b
UD
180662011-11-29 Joseph Myers <joseph@codesourcery.com>
18067
18068 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18069 conditional on GCC version.
18070 (__arch_compare_and_exchange_val_8_acq)
18071 (__arch_compare_and_exchange_val_16_acq)
18072 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18073 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18074 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18075
a98275aa
UD
180762011-12-02 Joseph Myers <joseph@codesourcery.com>
18077
18078 * sysdeps/sh/backtrace.c: New file.
18079
d4cc29a2
AS
180802011-12-02 Andreas Schwab <schwab@redhat.com>
18081
18082 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18083 parenthesis.
18084
6257af2d
AS
180852011-12-01 Andreas Schwab <schwab@redhat.com>
18086
18087 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18088 falling back to utime.
18089
b5f44c1a
AS
180902011-11-30 Andreas Schwab <schwab@redhat.com>
18091
18092 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18093 expectations for float.
18094
f3a6cc0a
AS
180952011-11-29 Andreas Schwab <schwab@redhat.com>
18096
18097 * locale/weight.h (findidx): Add parameter len.
18098 * locale/weightwc.h (findidx): Likewise.
18099 * posix/fnmatch_loop.c (FCT): Adjust caller.
18100 * posix/regcomp.c (build_equiv_class): Likewise.
18101 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18102 * posix/regexec.c (check_node_accept_bytes): Likewise.
18103 * string/strcoll_l.c (STRCOLL): Likewise.
18104 * string/strxfrm_l.c (STRXFRM): Likewise.
18105
9d65ea3a
UD
181062011-11-17 Ulrich Drepper <drepper@gmail.com>
18107
18108 * Makefile.in: Remove CVSOPT handling.
18109 * configure.in: Remove use of AC_REVISION.
18110 * iconvdata/Makefile (distribute): No need to filter out CVS.
18111 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18112 handling.
18113
5583a086
AS
181142011-11-16 Andreas Schwab <schwab@redhat.com>
18115
18116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18117 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18118 [USE_AS_STRNCASECMP_L]: Likewise.
18119 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18120 NO_TLS_DIRECT_SEG_REFS.
18121 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18122 Fix argument offsets for non-PIC.
18123 [USE_AS_STRNCASECMP_L]: Likewise.
18124 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18125 NO_TLS_DIRECT_SEG_REFS.
18126
d62a8200
UD
181272011-11-15 Ulrich Drepper <drepper@gmail.com>
18128
9d65ea3a 18129 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18130 O_CLOEXEC.
18131 * locale/loadlocale.c (_nl_load_locale): Likewise.
18132
09f93bd3
AS
181332011-11-15 Andreas Schwab <schwab@redhat.com>
18134
446514f9
AS
18135 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18136 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18137 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18138 (SYSCALL_GETTIME): Set errno on error.
18139
09f93bd3
AS
18140 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18141 count references to noai6ai_cached.
18142
312be3f9
UD
181432011-11-15 Ulrich Drepper <drepper@gmail.com>
18144
18145 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18146
18147 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18148 FD_CLOEXEC for /proc/self/maps.
18149
18150 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18151 FD_CLOEXEC for /proc/meminfo.
18152
18153 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18154 gai.conf.
18155
18156 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18157 FD_CLOEXEC for given file.
18158
18159 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18160
18161 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18162 FD_CLOEXEC for /etc/hosts.
18163 (_gethtent): Likewise.
18164
18165 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18166
18167 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18168 cancellation and set FD_CLOEXEC for /etc/netgroup.
18169
18170 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18171 reading /etc/publickey.
18172
18173 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18174 allow cancellation when reading /etc/group.
18175
18176 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18177 cancellation.
18178 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18179
18180 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18181 when using data file.
18182
18183 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18184
18185 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18186 (write_nis_obj): Use "c" and "e" in fopen.
18187
18188 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18189
18190 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18191
18192 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18193
18194 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18195
18196 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18197 locale.alias.
18198
18199 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18200
18201 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18202
18203 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18204
18205 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18206 file parsing and set FD_CLOEXEC.
18207
82af0fa8
UD
182082011-11-14 Ulrich Drepper <drepper@gmail.com>
18209
18210 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18211
a5fb313c
AS
182122011-11-14 Andreas Schwab <schwab@redhat.com>
18213
18214 * malloc/arena.c (arena_get2): Don't call reused_arena when
18215 _int_new_arena failed.
18216
6abf3465
UD
182172011-11-14 Ulrich Drepper <drepper@gmail.com>
18218
18219 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18220 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18221 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18222 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18223 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18225 to compile strcasecmp and strncasecmp.
18226 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18227 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18228
18229 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18230
76e3966e
UD
182312011-11-13 Ulrich Drepper <drepper@gmail.com>
18232
18233 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18234 locale-defines.sym to gen-as-const-headers.
18235 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18236 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18237 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18238 to compile strcasecmp and strncasecmp.
18239 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18240 strcasecmp_l and strncasecmp_l.
18241 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18242 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18243 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18244 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18245 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18246 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18247 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18248 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18249 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18250 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18251 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18252
ab26144e
UD
182532011-11-12 Ulrich Drepper <drepper@gmail.com>
18254
7edb22ef
UD
18255 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18256 result of SYSDEP_GETTIME_CPU to retval.
18257 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18258 parameter list to macro. Remove trailing semicolon. Adjust users.
18259
9694fc44
UD
18260 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18261 variable.
18262
8ad89ef8
UD
18263 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18264 mantissa words.
18265 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18266
0c822ef9
UD
18267 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18268 from unused variable.
18269
874e0564
UD
18270 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18271 DWARF definitions.
18272 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18273 for assembling.
18274
3a2edc79
UD
18275 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18276 over namespaces.
18277
f3c2577f
UD
18278 * sunrpc/rpc_prot.c (rejected): Fix case value.
18279
294ce126
UD
18280 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18281 unsigned long long int to avoid warnings in shift.
18282
5e2b63c6
UD
18283 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18284 of use of trans.
18285 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18286 variable tmp.
18287
e7f4b08e
UD
18288 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18289 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18290 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18291
ab26144e
UD
18292 * nis/nis_table.c (nis_list): Use variable of correct type for
18293 result of __follow_path call.
18294
8a6d5255
AZ
182952011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18296
18297 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18298 of math functions ceil, trunc, floor, round, and sqrt, when
18299 avaliable on the platform.
18300 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18301 name clash.
18302 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18303 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18304 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18305
aaddc98c
MP
183062011-10-30 Marek Polacek <mpolacek@redhat.com>
18307
18308 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18309 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18310
95b7042b
RM
183112011-11-11 Roland McGrath <roland@hack.frob.com>
18312
18313 * include/unistd.h: Fix __readlink return type.
18314 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18315
57769839
UD
183162011-11-11 Ulrich Drepper <drepper@gmail.com>
18317
18318 * stdlib/ucontext.h: Undo last change for makecontext.
18319
edc5984d
AS
183202011-11-11 Andreas Schwab <schwab@redhat.com>
18321
98591e58
AS
18322 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18323
edc5984d
AS
18324 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18325 * setjmp/setjmp.h: Mark functions as non-leaf.
18326 * setjmp/bits/setjmp2.h: Likewise.
18327 * stdlib/ucontext.h: Likewise.
18328
77cdc054
AS
183292011-11-10 Andreas Schwab <schwab@redhat.com>
18330
18331 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18332 (reused_arena): Don't check arena limit.
18333 (arena_get2): Atomically check arena limit.
18334
fe72eebd
UD
183352011-11-08 Ulrich Drepper <drepper@gmail.com>
18336
5f078c32
UD
18337 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18338 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18339
fe72eebd
UD
18340 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18341 instructions.
18342
ae1bc2fa
AS
183432011-11-07 Andreas Schwab <schwab@redhat.com>
18344
7583a88d
AS
18345 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18346 handler when locking.
18347
ae1bc2fa
AS
18348 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18349 Fix size of allocated buffer.
18350
10fb0bfa
AS
183512011-11-04 Andreas Schwab <schwab@redhat.com>
18352
998832a4
AS
18353 [BZ #10103]
18354 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18355 declarations for long double functions.
18356 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18357
10fb0bfa
AS
18358 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18359
3d7ba52b
AS
183602011-11-03 Andreas Schwab <schwab@redhat.com>
18361
a9ae54a1
AS
18362 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18363 installed.
18364
3d7ba52b
AS
18365 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18366 is disabled.
18367
bc8db248
ST
183682011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18369
18370 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18371
45b96dd6
AS
183722011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18373
647776f6
AS
18374 * include/alloca.h (stackinfo_alloca_round): Define.
18375 (extend_alloca): Use it.
18376 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18377 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18378 here.
18379
d91a8b93
AS
18380 * scripts/check-local-headers.sh: Ignore libaudit.h.
18381
45b96dd6
AS
18382 * nscd/Makefile (extra-objs): Make recursively expanded.
18383
432d41ce
UD
183842011-11-01 Ulrich Drepper <drepper@gmail.com>
18385
34372fc6
UD
18386 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18387 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18388
fadb59f8
UD
18389 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18390 * posix/tst-rfc3484-2.c: Likewise.
18391 * posix/tst-rfc3484-3.c: Likewise.
18392
78239589
UD
18393 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18394 process_vm_writev.
18395 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18396 process_vm_writev.
18397 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18398 process_vm_writev from libc using GLIBC_2.15 version.
18399
432d41ce
UD
18400 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18401
02f9c6cf
PP
184022011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18403
18404 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18405 stack usage.
18406
3a2c0242
UD
184072011-10-31 Ulrich Drepper <drepper@gmail.com>
18408
f4ec4833
UD
18409 [BZ #13367]
18410 * nss/getent.c (initgroups_keys): Show error message in case no group
18411 names are given.
18412
3a2c0242
UD
18413 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18414 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18415 __bump_nl_timestamp.
18416 * nscd/connections (nscd_init): When host database is served open
18417 netlink socket and request notification about configuration changes.
18418 (main_loop_poll): Track netlink file descriptor and bump timestamp
18419 in case data becomes available.
18420 (main_loop_epoll): Likewise.
18421 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18422 (database_pers_head): Add extra_data fileds.
18423 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18424 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18425 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18426 Adjust caller.
18427 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18428 in6ai data, call __free_in6ai.
18429 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18430 Add -DHAVE_NETLINK.
18431 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18432 interface information. Reuse previous data if netlink timestamp
18433 is not changed.
18434 (__bump_nl_timestamp): New function.
18435 (__free_in6ai): New function.
18436
636064eb
UD
184372011-10-30 Ulrich Drepper <drepper@gmail.com>
18438
18439 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18440 close_not_cancel_no_status here.
18441 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18442
9beb2334
UD
184432011-10-29 Ulrich Drepper <drepper@gmail.com>
18444
6ef76f3b
UD
18445 [BZ #13276]
18446 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18447 return value.
18448
0ffc4f3e 18449 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18450 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18451 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18452
cb95113e
UD
184532011-07-03 Andreas Jaeger <aj@suse.de>
18454
18455 [BZ #10709]
18456 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18457 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18458 * math/libm-test.inc (sin_test): Add test case.
18459
a1b560ff
UD
184602011-10-29 Ulrich Drepper <drepper@gmail.com>
18461
c9aaface
UD
18462 [BZ #13337]
18463 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18464 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18465
d272e7f1
UD
18466 * elf/chroot_canon.c (chroot_canon): Cleanups.
18467
1bc33071
UD
18468 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18469
1760874d
TJ
18470 [BZ #13335]
18471 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18472 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18473
51d91b18
UD
18474 * string/test-strchr.c: Make usable for strchrnul testing.
18475 * string/test-strchrnul.c: New file.
18476 * string/Makefile (strop-tests): Add strchrnul.
18477
a1b560ff 18478 * po/it.po: Update from translation team.
b611fb81 18479 * po/es.po: Likewise.
a1b560ff 18480
a5b81e1f
UD
184812011-10-28 Ulrich Drepper <drepper@gmail.com>
18482
fd52bc6d
UD
18483 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18484 the three constants needed as parameters. Drop the others.
18485 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18486 __m128i_strloadu_tolower.
52e4b9eb
UD
18487 Create and initialize variable zero and use it in all the places
18488 where _mm_setzero_si128 was used.
fd52bc6d 18489
a5b81e1f
UD
18490 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18491 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18492 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18493 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18494 anymore.
18495 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18496 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18497 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18498 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18499 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18500 __mpranred, __mptan.
18501 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18502 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18503 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18504 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18505 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18506 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18507 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18508 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18509 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18510
b4343346
AS
185112011-10-28 Andreas Schwab <schwab@redhat.com>
18512
0c92d8a8
AS
18513 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18514 redefine if SHARED.
18515 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18516
b4343346
AS
18517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18518 wide char related routines to wcsmbs subdir.
18519
3871f58f
AS
185202011-10-27 Andreas Schwab <schwab@redhat.com>
18521
18522 [BZ #13344]
18523 * misc/sys/cdefs.h (__THROWNL): Define.
18524 * posix/unistd.h: Use __THREADNL instead of __THREAD
18525 for memory synchronization functions.
18526
94d44d9f
RM
185272011-10-26 Roland McGrath <roland@hack.frob.com>
18528
21b64b15 18529 [BZ #13349]
94d44d9f
RM
18530 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18531 doesn't exist.
18532 * manual/stdio.texi (Obstack Streams): Node removed.
18533
f6ce9294
AS
185342011-10-26 Andreas Schwab <schwab@redhat.com>
18535
80479147
AS
18536 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18537 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18538 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18539
f6ce9294
AS
18540 * math/math_private.h (math_force_eval): Allow non-addressable
18541 arguments.
18542 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18543
618280a1
UD
185442011-10-25 Ulrich Drepper <drepper@gmail.com>
18545
e0016b11
UD
18546 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18547 file is not needed.
18548
18549 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18550 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18551 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18552 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18553 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18555 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18556 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18557 Add AVX variants.
18558 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18559 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18560 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18561 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18562 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18563 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18564 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18565 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18566 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18567 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18568 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18569 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18570 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18571 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18572 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18573 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18574 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18575 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18576 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18577
18578 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18579 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18580
618280a1
UD
18581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18582 place. Use VEX encoding when compiling for AVX.
18583
37822576
AS
185842011-10-25 Andreas Schwab <schwab@redhat.com>
18585
1f1e1947
AS
18586 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18587 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18588
37822576
AS
18589 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18590
31ea014d
UD
185912011-10-25 Ulrich Drepper <drepper@gmail.com>
18592
d7826aa1 18593 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18594 useless if() expression.
d7826aa1
UD
18595 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18596 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18597 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18598 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18599 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18600 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18601 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18602 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18603 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18605 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18606 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18607 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18608 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18609 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18610 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18611 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18612 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18613 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18614
31ea014d
UD
18615 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18616
16437fec
AS
186172011-10-25 Andreas Schwab <schwab@redhat.com>
18618
18619 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18620 condition.
18621 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18622
31d3cc00
UD
186232011-10-25 Ulrich Drepper <drepper@gmail.com>
18624
18625 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18626 .text section. Avoid duplicate constants.
18627 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18629 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18630 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18631 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18632 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18633 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18634 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18635 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18636 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18637 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18638 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18639 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18640 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18641 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18642 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18643 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18644 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18645 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18647 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18648 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18649 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18650 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18651 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18652 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18653 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18654 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18655 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18656 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18657 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18658 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18659 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18660 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18661 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18662 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18663 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18664 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18665 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18666 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18667 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18668 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18669 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18670 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18671 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18672
58985aa9
UD
186732011-10-24 Ulrich Drepper <drepper@gmail.com>
18674
202c9deb
UD
18675 * sysdeps/x86_64/dla.h: Move to ...
18676 * sysdeps/x86_64/fpu/dla.h: ...here.
18677 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18678 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18679
af968f62
UD
18680 * config.make.in: Add have-mfma4 entry.
18681 * configure.in: Substitute libc_cv_cc_fma4.
18682 * math/Makefile (dbl-only-routines): Add sincostab.
18683 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18684 Use __sincostab not sincos.
18685 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18686 name is a macro.
18687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18691 using __copysign.
18692 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18693 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18694 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18695 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18696 and __inv.
18697 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18698 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18699 __copysign.
18700 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18701 define aliases when function name is a macro.
18702 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18703 sysdeps/ieee754/dbl-64/sincos.tbl.
18704 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18705 fma4-enabled routines.
18706 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18707 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18708 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18709 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18710 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18711 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18712 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18713 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18714 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18715 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18716 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18717 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18718 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18719 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18720 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18721 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18722 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18723 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18724 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18725 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18726 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18727 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18728 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18729 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18730 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18731 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18733 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18734 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18735 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18736
58985aa9
UD
18737 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18738 rename.
18739 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18745 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18747
a201fbcf
AS
187482011-10-24 Andreas Schwab <schwab@redhat.com>
18749
18750 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18751
fc2ee42a
LD
187522011-10-23 Ulrich Drepper <drepper@gmail.com>
18753
bb3129bd
UD
18754 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18755
0275fff8
UD
18756 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18757 prediction.
18758 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18759
2fa2ae85
UD
18760 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18761 Remove unused variable magic_bits.
18762 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18763
fc2ee42a
LD
18764 * string/strnlen.c: Define and use STRNLEN macro.
18765 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18766 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18767 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18768 * wcsmbs/wcslen.c: Define and use WCSLEN.
18769 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18770 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18771 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18772 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18773 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18774 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18775 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18776
ce7dd29f
LD
187772011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18778
18779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18780 strnlen-sse2-no-bsf.
18781 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18782 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18783 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18784 Add strnlen support.
18785 (USE_AS_STRNLEN): New macro.
18786 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18787 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18788 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18789 * sysdeps/x86_64/wcslen.S: New file.
18790
979c70a3
MZ
187912011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18792
18793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18794 XMM-moves are used for copying on small sizes.
18795
2d09f82f
LD
187962011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18797
18798 * wcsmbs/Makefile (strop-tests): Add wcschr.
18799 * wcsmbs/test-wcschr.c: New file.
18800 * string/test-strchr.c: Update.
18801 Add wcschr support.
18802 (WIDE): New macro.
18803
619fccca
LD
188042011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18805
2d09f82f 18806 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18807 * wcsmbs/test-wcslen.c: New file.
18808 * string/test-strlen.c: Update.
18809 Add wcslen support.
18810 (WIDE): New macro.
18811
09f699ea
UD
188122011-10-23 Ulrich Drepper <drepper@gmail.com>
18813
18814 * po/it.po: Update from translation team.
18815
95584d3b
LD
188162011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18817
18818 * sysdeps/x86_64/wcscmp.S: Update.
18819 Fix wrong comparison semantics.
18820 wcscmp shall use signed comparison not unsigned.
18821 Don't use substraction to avoid overflow bug.
18822 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18823 * wcsmbc/wcscmp.c: Likewise.
18824 * string/test-strcmp.c: Likewise.
18825 Add new tests to check cases with negative values.
18826
c8b3296b
UD
188272011-10-23 Ulrich Drepper <drepper@gmail.com>
18828
18829 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18830 * sysdeps/x86_64/dla.h: ...here. New file.
18831 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18834 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18835 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18836 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18838 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18840
246ad57a
AS
188412011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18842
18843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18844 __ynl_finite aliases.
18845
a1a87169
UD
188462011-10-22 Ulrich Drepper <drepper@gmail.com>
18847
0d355eb7
UD
18848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18849
a1a87169
UD
18850 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18851 define DLA_FMA.
18852 [DLA_FMA] (EMULV): Use DLA_FMA.
18853 [DLA_FMA] (MUL12): Use EMULV.
18854 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18855 that are not needed.
18856 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18857 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18858 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18859 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18860 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18861 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18862 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18863
ee2aafe0
AS
188642011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18865
18866 * math/s_nan.c: Undef __nan.
18867 * math/s_nanf.c: Undef __nanf.
18868 * math/s_nanl.c: Undef __nanl.
18869 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18870 "math_private.h".
18871
bc62c2fb
UD
188722011-10-22 Ulrich Drepper <drepper@gmail.com>
18873
77425c63
UD
18874 * math/s_catan.c: Add branch predictions.
18875 * math/s_catanf.c: Likewise.
18876 * math/s_catanh.c: Likewise.
18877 * math/s_catanhf.c: Likewise.
18878 * math/s_catanhl.c: Likewise.
18879 * math/s_catanl.c: Likewise.
18880 * math/s_cexp.c: Likewise.
18881 * math/s_cexpf.c: Likewise.
18882 * math/s_cexpl.c: Likewise.
18883 * math/s_clog.c: Likewise.
18884 * math/s_clog10.c: Likewise.
18885 * math/s_clog10f.c: Likewise.
18886 * math/s_clog10l.c: Likewise.
18887 * math/s_clogf.c: Likewise.
18888 * math/s_clogl.c: Likewise.
18889 * math/s_csqrt.c: Likewise.
18890 * math/s_csqrtf.c: Likewise.
18891 * math/s_csqrtl.c: Likewise.
18892 * math/s_ctanf.c: Likewise.
18893 * math/s_ctanh.c: Likewise.
18894 * math/s_ctanhf.c: Likewise.
18895 * math/s_ctanhl.c: Likewise.
18896 * math/s_ctanl.c: Likewise.
18897
bc62c2fb
UD
18898 * math/math_private.h: Define __nan, __nanf, __nanl.
18899 * math/s_cacosh.c: Include <math_private.h>.
18900 * math/s_cacoshl.c: Likewise.
18901 * math/s_casinh.c: Likewise.
18902 * math/s_casinhf.c: Likewise.
18903 * math/s_casinhl.c: Likewise.
18904 * math/s_ccos.c: Rely entire on ccosh.
18905 * math/s_ccosf.c: Rely entire on ccoshf.
18906 * math/s_ccosl.c: Rely entirely on ccoshl.
18907 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18908 Remove tests for FE_INVALID.
18909 * math/s_ccoshf.c: Likewise.
18910 * math/s_ccoshl.c: Likewise.
18911 * math/s_csin.c: Likewise.
18912 * math/s_csinf.c: Likewise.
18913 * math/s_csinh.c Likewise.
18914 * math/s_csinhf.c: Likewise.
18915 * math/s_csinhl.c: Likewise.
18916 * math/s_csinl.c: Likewise.
18917 * math/s_ctan.c: Likewise.
18918 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18919 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18920 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18921
8ec250a4
UD
189222011-10-21 Ulrich Drepper <drepper@gmail.com>
18923
c196fed8
UD
18924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18925 compilation problems.
18926
8ec250a4
UD
18927 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18928 __builtin_expect.
18929
8d4f46c6
UD
189302011-10-20 Ulrich Drepper <drepper@gmail.com>
18931
ed72b654
UD
18932 * sysdeps/i386/configure.in: Test for -mfma4 option.
18933 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18934 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18935 COMMON_CPUID_INDEX_80000001.
18936 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18937 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18938 use it if FMA3 is not supported.
18939 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18940
8d4f46c6
UD
18941 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18942 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18943
d45c60c2
AS
189442011-10-20 Andreas Schwab <schwab@redhat.com>
18945
18946 [BZ #12892]
18947 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18948 it would create a cycle with a link time dependency.
18949
d9a4d2ab
UD
189502011-10-19 Ulrich Drepper <drepper@gmail.com>
18951
855d1560
UD
18952 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18953 instruction.
18954 * string/Makefile (strop-tests): Add rawmemchr.
18955 * string/test-rawmemchr.c: New file.
18956
d9a4d2ab
UD
18957 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18958 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18959 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18960 when compiling str{,n}casecmp and when AVX is available. Hook up
18961 new optimized code in initializers.
18962
8f3b1ffe
AS
189632011-10-19 Andreas Schwab <schwab@redhat.com>
18964
18965 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18966 __feraiseexcept instead of feraiseexcept.
18967
d38f1dba
UD
189682011-10-18 Ulrich Drepper <drepper@gmail.com>
18969
d9a8d0ab
UD
18970 * math/math_private.h: Define defaults for libc_fetestexcept and
18971 libc_feupdateenv.
18972 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18973 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18974 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18975 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18976 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18977 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18978 libc_fetestexcept and libc_feupdateenv.
18979
4855e3dd
UD
18980 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18981 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18982 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18983 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18984 libc_feholdexcept_setround.
18985
581d30e3
UD
18986 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18987 Add s_nearbyint-c and s_nearbyintf-c.
18988 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18989 nearbyintf inlines.
18990 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18991 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18992 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18993 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18994
d38f1dba
UD
18995 * math/math_private.h: Define defaults for libc_fegetround,
18996 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18997 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18998 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18999 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19000 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19001 standard functions.
19002 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19003 Remove comments and hacks for old compiler versions.
19004 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19005 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19006 libc_feholdexceptl.
19007
caa6c9d8
AS
190082011-10-18 Andreas Schwab <schwab@redhat.com>
19009
19010 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19011 (__feraiseexcept_renamed): Add __NTH.
19012 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19013 namespace violations.
19014
97c066e6
UD
190152011-10-17 Ulrich Drepper <drepper@gmail.com>
19016
99ce7b04
UD
19017 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19018
1004d182
UD
19019 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19020
228a984d
UD
19021 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19022 recently added interfaces.
19023 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19024
c8553a6a
UD
19025 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19026 about macro parameter expansion.
19027
ed22dcf6
UD
19028 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19029 __NO_MATH_INLINES is defined. Cleanups.
19030
19031 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19032 and __floorf is target has SSE4.1.
19033 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19034 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19035 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19036 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19037
b171c137
UD
19038 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19039 name.
19040 (floorf): Likewise.
19041
97c066e6
UD
19042 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19043
629f62ef
AS
190442011-10-17 Andreas Schwab <schwab@redhat.com>
19045
49a43d80
AS
19046 * misc/sys/cdefs.h: Fix last change.
19047
629f62ef
AS
19048 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19049 database lookup.
19050
e453f6cd
UD
190512011-10-16 Ulrich Drepper <drepper@gmail.com>
19052
aa78043a
UD
19053 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19054
ad0f5cad
UD
19055 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19056 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19057 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19058 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19059 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19060 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19061 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19062 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19063 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19064 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19065 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19066 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19067 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19068 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19069 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19070 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19071 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19072 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19073 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19074 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19075 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19076 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19077
19078 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19079 ceil, ceilf, floor, floorf.
19080
19081 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19082 Perform IRELATIVE relocations last.
19083
e453f6cd
UD
19084 * elf/do-rel.h: Add another parameter nrelative, replacing the
19085 local variable with the same name. Change name of the function
19086 to end in Rel or Rela (uppercase).
19087 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19088 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19089 elf_dynamic_do_##reloc function.
19090
fd5bdc09
UD
190912011-10-15 Ulrich Drepper <drepper@gmail.com>
19092
79b195b5
UD
19093 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19094 is sufficient, at least on modern CPUs.
19095
d4a28569
UD
19096 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19097
b61099b5
UD
19098 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19099 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19100
bcf01e6d
UD
19101 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19102 __expl_finite.
19103 * math/bits/math-finite.h: Add entries for exp.
19104 * math/e_expl.c: Add __*_finite alias.
19105 * sysdeps/i386/fpu/e_exp.S: Likewise.
19106 * sysdeps/i386/fpu/e_expf.S: Likewise.
19107 * sysdeps/i386/fpu/e_expl.c: Likewise.
19108 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19109 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19112 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19113 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19114 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19115
ba1a0d59
UD
19116 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19117 is sufficient, at least on modern CPUs.
19118
fd5bdc09
UD
19119 * ctype/ctype-info.c (__ctype_init): Define.
19120 * include/ctype.h (__ctype_init): Declare.
19121 (__ctype_b_loc): The variable is always initialized.
19122 (__ctype_toupper_loc): Likewise.
19123 (__ctype_tolower_loc): Likewise.
19124 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19125 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19126
7872cfb0
AS
191272011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19128
b468825a
AS
19129 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19130
7872cfb0
AS
19131 * configure.in: Also look in $cxxmachine/include for C++ system
19132 headers.
19133
be13f7bf
LD
191342011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19135
19136 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19137 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19138 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19139 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19140 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19141 (USE_AS_WMEMCMP): New macro.
19142 Fixing indents.
19143 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19144 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19145 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19146 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19148 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19149 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19150 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19151 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19152 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19153 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19154 (USE_AS_WMEMCMP): New macro.
19155 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19156 * sysdeps/string/test-memcmp.c: Update.
19157 Fix simple_wmemcmp.
19158 Add new tests.
19159 * wcsmbs/wmemcmp.c: Update.
19160 (WMEMCMP): New macro.
19161 Fix overflow bug.
19162
556a2007
AJ
191632011-10-12 Andreas Jaeger <aj@suse.de>
19164
19165 [BZ #13268]
19166 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19167
538faaa7
UD
191682011-10-15 Ulrich Drepper <drepper@gmail.com>
19169
ab6737ff
UD
19170 * libio/iofwide.c (do_length): Avoid warning.
19171
538faaa7
UD
19172 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19173
396a21b1
UD
191742011-10-14 Ulrich Drepper <drepper@gmail.com>
19175
cdf2901f
UD
19176 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19177
38ad40ce
UD
19178 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19179 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19180 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19181 * sysdeps/i386/i686/fpu/e_log.S: New file.
19182 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19183 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19184
396a21b1
UD
19185 * ctype/ctype.h: Add support for inlined isXXX functions when
19186 compiling C++ code.
19187
6b1f68c9
AS
191882011-10-14 Andreas Schwab <schwab@redhat.com>
19189
349290c0
AS
19190 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19191
6b1f68c9
AS
19192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19193
f2282d42
RM
191942011-10-13 Roland McGrath <roland@hack.frob.com>
19195
19196 [BZ #13291]
19197 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19198
5298ffa8
AS
191992011-10-13 Andreas Schwab <schwab@redhat.com>
19200
714fad23
AS
19201 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19202 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19203 feraiseexcept.
19204
81dcc7fb
AS
19205 * sysdeps/x86_64/memrchr.S: Check for zero size.
19206
5298ffa8
AS
19207 * string/stratcliff.c: Add memrchr tests.
19208
951fbcec
LD
192092011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19210
19211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19212 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19213 rawmemchr-sse2 rawmemchr-sse2-bsf.
19214 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19215 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19216 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19217 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19218 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19219 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19220 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19221 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19222 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19223 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19224 * string/memrchr.c (MEMRCHR): New macro.
19225
0ac5ae23
UD
192262011-10-12 Ulrich Drepper <drepper@gmail.com>
19227
19228 Add integration with gcc's -ffinite-math-only and optimize wrapper
19229 functions in libm.
19230 * Versions.def: Define GLIBC_2.15 version for libm.
19231 * math/Makefile (headers): Add bits/math-finite.h.
19232 * math/bits/math-finite.h: New file.
19233 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19234 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19235 * math/e_acoshl.c: Add __*_finite alias.
19236 * math/e_acosl.c: Likewise.
19237 * math/e_asinl.c: Likewise.
19238 * math/e_atan2l.c: Likewise.
19239 * math/e_atanhl.c: Likewise.
19240 * math/e_coshl.c: Likewise.
19241 * math/e_exp10.c: Likewise.
19242 * math/e_exp10f.c: Likewise.
19243 * math/e_exp10l.c: Likewise.
19244 * math/e_exp2l.c: Likewise.
19245 * math/e_fmodl.c: Likewise.
19246 * math/e_gammal_r.c: Likewise.
19247 * math/e_hypotl.c: Likewise.
19248 * math/e_j0l.c: Likewise.
19249 * math/e_j1l.c: Likewise.
19250 * math/e_jnl.c: Likewise.
19251 * math/e_lgammal_r.c: Likewise.
19252 * math/e_log10l.c: Likewise.
19253 * math/e_log2l.c: Likewise.
19254 * math/e_logl.c: Likewise.
19255 * math/e_powl.c: Likewise.
19256 * math/e_sinhl.c: Likewise.
19257 * math/e_sqrtl.c: Likewise.
19258 * math/e_scalb.c: Completely rewritten and optimized.
19259 * math/e_scalbf.c: Likewise.
19260 * math/e_scalbl.c: Likewise.
19261 * math/w_acos.c: Likewise.
19262 * math/w_acosf.c: Likewise.
19263 * math/w_acosl.c: Likewise.
19264 * math/w_acosh.c: Likewise.
19265 * math/w_acoshf.c: Likewise.
19266 * math/w_acoshl.c: Likewise.
19267 * math/w_asin.c: Likewise.
19268 * math/w_asinf.c: Likewise.
19269 * math/w_asinl.c: Likewise.
19270 * math/w_atan2.c: Likewise.
19271 * math/w_atan2f.c: Likewise.
19272 * math/w_atan2l.c: Likewise.
19273 * math/w_atanh.c: Likewise.
19274 * math/w_atanhf.c: Likewise.
19275 * math/w_atanhl.c: Likewise.
19276 * math/w_exp10.c: Likewise.
19277 * math/w_exp10f.c: Likewise.
19278 * math/w_exp10l.c: Likewise.
19279 * math/w_fmod.c: Likewise.
19280 * math/w_fmodf.c: Likewise.
19281 * math/w_fmodl.c: Likewise.
19282 * math/w_j0.c: Likewise.
19283 * math/w_j0f.c: Likewise.
19284 * math/w_j0l.c: Likewise.
19285 * math/w_j1.c: Likewise.
19286 * math/w_j1f.c: Likewise.
19287 * math/w_j1l.c: Likewise.
19288 * math/w_jn.c: Likewise.
19289 * math/w_jnf.c: Likewise.
19290 * math/w_log.c: Likewise.
19291 * math/w_logf.c: Likewise.
19292 * math/w_logl.c: Likewise.
19293 * math/w_log10.c: Likewise.
19294 * math/w_log10f.c: Likewise.
19295 * math/w_log10l.c: Likewise.
19296 * math/w_log2.c: Likewise.
19297 * math/w_log2f.c: Likewise.
19298 * math/w_log2l.c: Likewise.
19299 * math/w_pow.c: Likewise.
19300 * math/w_powf.c: Likewise.
19301 * math/w_powl.c: Likewise.
19302 * math/w_remainder.c: Likewise.
19303 * math/w_remainderf.c: Likewise.
19304 * math/w_remainderl.c: Likewise.
19305 * math/w_scalb.c: Likewise.
19306 * math/w_scalbf.c: Likewise.
19307 * math/w_scalbl.c: Likewise.
19308 * math/w_sqrt.c: Likewise.
19309 * math/w_sqrtf.c: Likewise.
19310 * math/w_sqrtl.c: Likewise.
19311 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19312 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19313 used.
19314 * math/math_private.h: Declare __kernel_standard_f.
19315 * math/w_cosh.c: Remove cruft and optimize a bit.
19316 * math/w_coshf.c: Likewise.
19317 * math/w_coshl.c: Likewise.
19318 * math/w_exp2.c: Likewise.
19319 * math/w_exp2f.c: Likewise.
19320 * math/w_exp2l.c: Likewise.
19321 * math/w_hypot.c: Likewise.
19322 * math/w_hypotf.c: Likewise.
19323 * math/w_hypotl.c: Likewise.
19324 * math/w_lgamma.c: Likewise.
19325 * math/w_lgamma_r.c: Likewise.
19326 * math/w_lgammaf.c: Likewise.
19327 * math/w_lgammaf_r.c: Likewise.
19328 * math/w_lgammal.c: Likewise.
19329 * math/w_lgammal_r.c: Likewise.
19330 * math/w_sinh.c: Likewise.
19331 * math/w_sinhf.c: Likewise.
19332 * math/w_sinhl.c: Likewise.
19333 * math/w_tgamma.c: Likewise.
19334 * math/w_tgammaf.c: Likewise.
19335 * math/w_tgammal.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19337 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19338 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19339 Minor optimizations. Pretty printing. Remove cruft.
19340 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19341 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19342 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19343 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19344 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19345 * sysdeps/i386/fpu/e_asin.S: Likewise.
19346 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19347 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19348 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19349 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19350 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19351 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19352 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19353 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19354 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19355 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19356 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19357 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19358 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19359 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19360 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19361 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19362 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19363 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19364 * sysdeps/i386/fpu/e_log.S: Likewise.
19365 * sysdeps/i386/fpu/e_log10.S: Likewise.
19366 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19367 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19368 * sysdeps/i386/fpu/e_log2.S: Likewise.
19369 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19370 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19371 * sysdeps/i386/fpu/e_logf.S: Likewise.
19372 * sysdeps/i386/fpu/e_logl.S: Likewise.
19373 * sysdeps/i386/fpu/e_pow.S: Likewise.
19374 * sysdeps/i386/fpu/e_powf.S: Likewise.
19375 * sysdeps/i386/fpu/e_powl.S: Likewise.
19376 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19377 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19378 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19379 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19380 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19382 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19383 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19384 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19406 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19407 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19408 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19409 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19410 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19411 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19412 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19413 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19414 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19415 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19416 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19417 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19418 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19419 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19420 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19421 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19422 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19423 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19424 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19425 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19426 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19427 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19428 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19429 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19430 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19431 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19432 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19433 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19435 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19437 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19438 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19440 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19441 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19442 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19443 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19444 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19445 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19446 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19447 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19448 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19449 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19450 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19451 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19453 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19454 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19455 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19456 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19457 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19458 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19459 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19460 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19465 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19468 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19469 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19470 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19471 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19472 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19473 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19474 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19475 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19476 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19477 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19478 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19480 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19481 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19482 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19483 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19484 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19485 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19486 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19487 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19488 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19489 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19490 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19491 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19492 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19493 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19494 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19495 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19496 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19497 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19498 (__isnanf): Likewise.
19499 (__isinf_ns): Likewise.
19500 (__isinf_nsf): Likewise.
19501 (__finite): Likewise.
19502 (__finitef): Likewise.
19503 (__ieee754_sqrt): Define as macro.
19504 (__ieee754_sqrtf): Define as macro.
19505 (__ieee754_sqrtl): Define as macro.
19506 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19507 inlined copy.
19508 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19509 __FINITE_MATH_ONLY__ consistent.
19510 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19511
12cc2fcd
AS
195122011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19513
a843a204
AS
19514 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19515 of rawmemchr.
19516
12cc2fcd
AS
19517 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19518
c853acd5
UD
195192011-10-09 Ulrich Drepper <drepper@gmail.com>
19520
19521 * po/ja.po: Update from translation team.
19522
c658d255
RM
195232011-10-08 Roland McGrath <roland@hack.frob.com>
19524
110946e4
RM
19525 * locale/programs/locarchive.c (prepare_address_space): New function.
19526 (create_archive, enlarge_archive, open_archive): Use it.
19527
50604220
RM
19528 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19529 inside [SHARED], where it is used.
19530
c658d255
RM
19531 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19532
19533 * nss/getent.c (netgroup_keys): Remove unused variable.
19534 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19535
6a621eb7
UD
195362011-10-08 Ulrich Drepper <drepper@gmail.com>
19537
7edb55ce
UD
19538 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19539 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19541 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19542 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19543 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19544 * math/Makefile (libm-calls): Add s_isinf_ns.
19545 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19546 * math/multc3.c: Likewise.
19547 * math/s_casin.c: Likewise.
19548 * math/s_casinf.c: Likewise.
19549 * math/s_casinl.c: Likewise.
19550 * math/s_ccos.c: Likewise.
19551 * math/s_ccosf.c: Likewise.
19552 * math/s_ccosl.c: Likewise.
19553 * math/s_ctan.c: Likewise.
19554 * math/s_ctanf.c: Likewise.
19555 * math/s_ctanh.c: Likewise.
19556 * math/s_ctanhf.c: Likewise.
19557 * math/s_ctanhl.c: Likewise.
19558 * math/s_ctanl.c: Likewise.
19559 * math/w_fmod.c: Likewise.
19560 * math/w_fmodf.c: Likewise.
19561 * math/w_fmodl.c: Likewise.
19562 * math/w_remainder.c: Likewise.
19563 * math/w_remainderf.c: Likewise.
19564 * math/w_remainderl.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19566 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19567 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19568 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19569 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19570 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19571 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19572 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19573
187da0ae
UD
19574 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19575 of the number.
19576 * stdio-common/printf_fphex.c: Likewise.
19577 * stdio-common/printf_size.c: Likewise.
19578
9277c064
UD
19579 * math/e_exp10.c: Include math_private.h using <...> not "...".
19580 * math/e_exp10f.c: Likewise.
19581 * math/e_exp10l.c: Likewise.
19582 * math/e_exp2l.c: Likewise.
19583 * math/e_j0l.c: Likewise.
19584 * math/e_j1l.c: Likewise.
19585 * math/e_jnl.c: Likewise.
19586 * math/e_lgammal_r.c: Likewise.
19587 * math/e_rem_pio2l.c: Likewise.
19588 * math/e_scalb.c: Likewise.
19589 * math/e_scalbf.c: Likewise.
19590 * math/e_scalbl.c: Likewise.
19591 * math/k_cosl.c: Likewise.
19592 * math/k_sinl.c: Likewise.
19593 * math/k_tanl.c: Likewise.
19594 * math/s_cacoshf.c: Likewise.
19595 * math/s_catan.c: Likewise.
19596 * math/s_catanf.c: Likewise.
19597 * math/s_catanh.c: Likewise.
19598 * math/s_catanhf.c: Likewise.
19599 * math/s_catanhl.c: Likewise.
19600 * math/s_catanl.c: Likewise.
19601 * math/s_ccosh.c: Likewise.
19602 * math/s_ccoshf.c: Likewise.
19603 * math/s_ccoshl.c: Likewise.
19604 * math/s_cexp.c: Likewise.
19605 * math/s_cexpf.c: Likewise.
19606 * math/s_cexpl.c: Likewise.
19607 * math/s_clog.c: Likewise.
19608 * math/s_clog10.c: Likewise.
19609 * math/s_clog10f.c: Likewise.
19610 * math/s_clog10l.c: Likewise.
19611 * math/s_clogf.c: Likewise.
19612 * math/s_clogl.c: Likewise.
19613 * math/s_csin.c: Likewise.
19614 * math/s_csinf.c: Likewise.
19615 * math/s_csinh.c: Likewise.
19616 * math/s_csinhf.c: Likewise.
19617 * math/s_csinhl.c: Likewise.
19618 * math/s_csinl.c: Likewise.
19619 * math/s_csqrt.c: Likewise.
19620 * math/s_csqrtf.c: Likewise.
19621 * math/s_csqrtl.c: Likewise.
19622 * math/s_ctan.c: Likewise.
19623 * math/s_ctanf.c: Likewise.
19624 * math/s_ctanh.c: Likewise.
19625 * math/s_ctanhf.c: Likewise.
19626 * math/s_ctanhl.c: Likewise.
19627 * math/s_ctanl.c: Likewise.
19628 * math/s_ldexp.c: Likewise.
19629 * math/s_ldexpf.c: Likewise.
19630 * math/s_ldexpl.c: Likewise.
19631 * math/s_significand.c: Likewise.
19632 * math/s_significandf.c: Likewise.
19633 * math/s_significandl.c: Likewise.
19634 * math/w_acos.c: Likewise.
19635 * math/w_acosf.c: Likewise.
19636 * math/w_acosh.c: Likewise.
19637 * math/w_acoshf.c: Likewise.
19638 * math/w_acoshl.c: Likewise.
19639 * math/w_acosl.c: Likewise.
19640 * math/w_asin.c: Likewise.
19641 * math/w_asinf.c: Likewise.
19642 * math/w_asinl.c: Likewise.
19643 * math/w_atan2.c: Likewise.
19644 * math/w_atan2f.c: Likewise.
19645 * math/w_atan2l.c: Likewise.
19646 * math/w_atanh.c: Likewise.
19647 * math/w_atanhf.c: Likewise.
19648 * math/w_atanhl.c: Likewise.
19649 * math/w_cosh.c: Likewise.
19650 * math/w_coshf.c: Likewise.
19651 * math/w_coshl.c: Likewise.
19652 * math/w_dremf.c: Likewise.
19653 * math/w_exp10.c: Likewise.
19654 * math/w_exp10f.c: Likewise.
19655 * math/w_exp10l.c: Likewise.
19656 * math/w_exp2.c: Likewise.
19657 * math/w_exp2f.c: Likewise.
19658 * math/w_fmod.c: Likewise.
19659 * math/w_fmodf.c: Likewise.
19660 * math/w_fmodl.c: Likewise.
19661 * math/w_hypot.c: Likewise.
19662 * math/w_hypotf.c: Likewise.
19663 * math/w_hypotl.c: Likewise.
19664 * math/w_j0.c: Likewise.
19665 * math/w_j0f.c: Likewise.
19666 * math/w_j0l.c: Likewise.
19667 * math/w_j1.c: Likewise.
19668 * math/w_j1f.c: Likewise.
19669 * math/w_j1l.c: Likewise.
19670 * math/w_jn.c: Likewise.
19671 * math/w_jnf.c: Likewise.
19672 * math/w_jnl.c: Likewise.
19673 * math/w_lgamma.c: Likewise.
19674 * math/w_lgamma_r.c: Likewise.
19675 * math/w_lgammaf.c: Likewise.
19676 * math/w_lgammaf_r.c: Likewise.
19677 * math/w_lgammal.c: Likewise.
19678 * math/w_lgammal_r.c: Likewise.
19679 * math/w_log.c: Likewise.
19680 * math/w_log10.c: Likewise.
19681 * math/w_log10f.c: Likewise.
19682 * math/w_log10l.c: Likewise.
19683 * math/w_log2.c: Likewise.
19684 * math/w_log2f.c: Likewise.
19685 * math/w_log2l.c: Likewise.
19686 * math/w_logf.c: Likewise.
19687 * math/w_logl.c: Likewise.
19688 * math/w_pow.c: Likewise.
19689 * math/w_powf.c: Likewise.
19690 * math/w_powl.c: Likewise.
19691 * math/w_remainder.c: Likewise.
19692 * math/w_remainderf.c: Likewise.
19693 * math/w_remainderl.c: Likewise.
19694 * math/w_scalb.c: Likewise.
19695 * math/w_scalbf.c: Likewise.
19696 * math/w_scalbl.c: Likewise.
19697 * math/w_sinh.c: Likewise.
19698 * math/w_sinhf.c: Likewise.
19699 * math/w_sinhl.c: Likewise.
19700 * math/w_sqrt.c: Likewise.
19701 * math/w_sqrtf.c: Likewise.
19702 * math/w_sqrtl.c: Likewise.
19703 * math/w_tgamma.c: Likewise.
19704 * math/w_tgammaf.c: Likewise.
19705 * math/w_tgammal.c: Likewise.
19706
6a621eb7
UD
19707 * po/ja.po: Update from translation team.
19708
bf582445
AJ
197092011-09-29 Andreas Jaeger <aj@suse.de>
19710
f9efbf3a
AJ
19711 [BZ #13179]
19712 * sunrpc/netname.c (netname2host): Fix logic.
19713
bf582445
AJ
19714 [BZ #6779]
19715 [BZ #6783]
19716 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19717 correctly.
19718 * math/w_remainder.c (__remainder): Likewise.
19719 * math/w_remainderf.c (__remainderf): Likewise.
19720 * math/libm-test.inc (remainder_test): Add test cases.
19721
48693bea
AK
197222011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19723
19724 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19725 sdiv_qrnnd.
19726
42622229
LD
197272011-10-07 Ulrich Drepper <drepper@gmail.com>
19728
19729 * string/test-memcmp.c: Avoid unncessary #defines.
19730 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19731
093ecf92
LD
197322011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19733
19734 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19735 Use new sse2 version for core i3 - i7 as it's faster
19736 than sse42 version.
19737 (bit_Prefer_PMINUB_for_stringop): New.
19738 * sysdeps/x86_64/rawmemchr.S: Update.
19739 Replace with faster SSE2 version.
19740 * sysdeps/x86_64/memrchr.S: New file.
19741 * sysdeps/x86_64/memchr.S: Update.
19742 Replace with faster SSE2 version.
19743
fde56e5c
MP
197442011-09-12 Marek Polacek <mpolacek@redhat.com>
19745
19746 * elf/dl-load.c (lose): Add cast to avoid warning.
19747
21fd49a9
UD
197482011-10-07 Ulrich Drepper <drepper@gmail.com>
19749
5a06e643
UD
19750 * po/ca.po: Update from translation team.
19751
684ae515
UD
19752 * inet/getnetgrent_r.c: Hook up nscd.
19753 * nscd/Makefile (routines): Add nscd_netgroup.
19754 (nscd-modules): Add netgroupcache.
19755 (CFLAGS-netgroupcache.c): Define.
19756 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19757 (cache_search): Add const to second parameter.
19758 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19759 INNETGR.
19760 (dbs): Add netgrdb entry.
19761 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19762 (verify_persistent_db): Handle netgrdb.
19763 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19764 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19765 GETFDNETGR.
19766 (netgroup_response_header): Define.
19767 (innetgroup_response_header): Define.
19768 (datahead): Add netgroup_response_header and innetgroup_response_header
19769 elements.
19770 * nscd/nscd.conf: Add entries for netgroup cache.
19771 * nscd/nscd.h (dbtype): Add netgrdb.
19772 (_PATH_NSCD_NETGROUP_DB): Define.
19773 (netgroup_iov_disabled): Declare.
19774 (xmalloc, xcalloc, xrealloc): Move declarations here.
19775 (cache_search): Adjust prototype.
19776 Add netgroup-related prototypes.
19777 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19778 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19779 (__nscd_innetgr): Declare.
19780 * nscd/selinux.c (perms): Use access_vector_t as element type and
19781 add netgroup-related initializers.
19782 * nscd/netgroupcache.c: New file.
19783 * nscd/nscd_netgroup.c: New file.
19784 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19785 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19786 For four parameters use innetgr.
19787 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19788 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19789 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19790 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19791
21fd49a9
UD
19792 * nscd/connections.c (register_traced_file): Don't register file
19793 for disabled databases.
19794
054c0457
UD
197952011-10-06 Ulrich Drepper <drepper@gmail.com>
19796
32b63198
UD
19797 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19798
054c0457
UD
19799 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19800 from tree and freeing node.
19801
64031225
JO
198022011-09-25 Jiri Olsa <jolsa@redhat.com>
19803
19804 * nss/nsswitch.c (__nss_database_lookup): Handle
19805 nss_parse_service_list out of memory case.
19806
0490345c
JO
198072011-09-15 Jiri Olsa <jolsa@redhat.com>
19808
19809 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19810 out of memory case.
19811
3a62d00d
AS
198122011-10-04 Andreas Schwab <schwab@redhat.com>
19813
19814 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19815 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19816 pass it down.
19817 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19818 elf_machine_rela, elf_machine_lazy_rel.
19819 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19820 (ELF_DYNAMIC_DO_REL): Likewise.
19821 (ELF_DYNAMIC_DO_RELA): Likewise.
19822 (ELF_DYNAMIC_RELOCATE): Likewise.
19823 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19824 to ELF_DYNAMIC_DO_REL.
19825 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19826 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19827 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19828 elf_machine_rela.
19829 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19830 skip_ifunc, don't call ifunc function if non-zero.
19831 (elf_machine_rela): Likewise.
19832 (elf_machine_lazy_rel): Likewise.
19833 (elf_machine_lazy_rela): Likewise.
19834 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19835 (elf_machine_lazy_rel): Likewise.
19836 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19837 Likewise.
19838 (elf_machine_lazy_rel): Likewise.
19839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19840 Likewise.
19841 (elf_machine_lazy_rel): Likewise.
19842 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19843 (elf_machine_lazy_rel): Likewise.
19844 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19845 (elf_machine_lazy_rel): Likewise.
19846 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19847 (elf_machine_lazy_rel): Likewise.
19848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19849 (elf_machine_lazy_rel): Likewise.
19850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19851 (elf_machine_lazy_rel): Likewise.
19852 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19853 (elf_machine_lazy_rel): Likewise.
19854
68577918
UD
198552011-09-28 Ulrich Drepper <drepper@gmail.com>
19856
19857 * nss/nss_files/files-init.c (_nss_files_init): Use static
19858 initialization for all the *_traced_file variables.
19859
68822d74
AS
198602011-09-28 Andreas Schwab <schwab@redhat.com>
19861
19862 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19863
2056100b
RM
198642011-09-27 Roland McGrath <roland@hack.frob.com>
19865
19866 [BZ #13226]
19867 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19868
32c76b63
AS
198692011-09-27 Andreas Schwab <schwab@redhat.com>
19870
19871 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19872 Reread the line before reparsing it.
19873
bf972c9d
AS
198742011-09-26 Andreas Schwab <schwab@redhat.com>
19875
19876 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19877
e057a1b5
JM
198782011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19879 Maxim Kuvyrkov <maxim@codesourcery.com>
19880 Joseph Myers <joseph@codesourcery.com>
19881
19882 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19883 if needed for __stack_chk_guard.
19884
bc7e1c36
RM
198852011-09-19 Roland McGrath <roland@hack.frob.com>
19886
ecb1482f
RM
19887 * sysdeps/posix/spawni.c (script_execute): Always define it.
19888 It will be optimized away if unused.
19889 (maybe_script_execute): New function.
19890 (__spawni): Call it.
19891
bc7e1c36
RM
19892 * Makerules: Don't include tls.make.
19893 (config-tls): Always set to thread.
19894 * tls.make.c: File removed.
19895
1c3b002b
MF
198962011-09-19 Mike Frysinger <vapier@gentoo.org>
19897
19898 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19899 * config.make.in (CPPFLAGS-config): New substituted variable.
19900
2840865d
UD
199012011-09-15 Ulrich Drepper <drepper@gmail.com>
19902
88738eb6
UD
19903 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19904
cbf645a6 19905 [BZ #13192]
2840865d
UD
19906 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19907 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19908
b402e91a
RM
199092011-09-15 Roland McGrath <roland@hack.frob.com>
19910
19911 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19912 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19913 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19914 (CALL_FAIL): Likewise.
19915 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19916 (CALL_FAIL): Macro removed.
19917 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19918
4c1a1f71
UD
199192011-09-15 Ulrich Drepper <drepper@gmail.com>
19920
19921 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19922 for __FINITE_MATH_ONLY__ == 1.
19923
edc121be
AS
199242011-09-15 Andreas Schwab <schwab@redhat.com>
19925
19926 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19927 __ieee754_sqrt instead of sqrt.
19928 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19929 __ieee754_sqrtf instead of sqrtf.
19930 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19931 __floorf instead of floorf.
19932 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19933 __floorf, __truncf instead of floorf, truncf.
19934
cd205654
UD
199352011-09-14 Ulrich Drepper <drepper@gmail.com>
19936
ee4d0315
UD
19937 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19938
cd205654
UD
19939 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19940 __extern_always_inline.
19941 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19942 32-bit.
19943
48b67d71
AS
199442011-09-14 Andreas Schwab <schwab@redhat.com>
19945
19946 * elf/rtld.c (dl_main): Also relocate in dependency order when
19947 doing symbol dependency testing.
19948
1ae12c75
AS
199492011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19950
19951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19952 Always define `refsym'.
19953
995a80df
AS
199542011-09-13 Andreas Schwab <schwab@redhat.com>
19955
e529793b
AS
19956 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19957 (__FD_ELT): Renamed from __FDELT.
19958 * misc/bits/select2.h (__FD_ELT): Likewise.
19959 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19960 __FD_MASK instead of __FDELT, __FDMASK.
19961 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19962 Likewise.
19963 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19964 Likewise.
19965
52d4fef8
AS
19966 * elf/Makefile (gen-ldd): Fix pattern.
19967
995a80df
AS
19968 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19969 (init_tls): Likewise.
19970
8682f8b0
UD
199712011-09-12 Ulrich Drepper <drepper@gmail.com>
19972
19973 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19974
de82006d
AS
199752011-09-12 Andreas Schwab <schwab@redhat.com>
19976
a7c8e6a1
AS
19977 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19978 `struct cmsghdr *' instead of `void *'.
19979 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19980 Likewise.
19981
0f31fe77
AS
199822011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19983
19984 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19985 if non-absolute.
19986 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19987 ldd_rewrite_script.
0f31fe77 19988
32b4c839
UD
199892011-09-11 Ulrich Drepper <drepper@gmail.com>
19990
83cd1420
UD
19991 * configure.in: Remove --with-tls option.
19992 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19993 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19994 out in case it is missing.
19995 * sysdeps/ia64/elf/configure.in: Likewise.
19996 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19997 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19998 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19999 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20000 * sysdeps/sh/elf/configure.in: Likewise.
20001 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20002 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20003 * sysdeps/x86_64/elf/configure.in: Likewise.
20004 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20005 * sysdeps/mach/hurd/tls.h: Likewise.
20006
633f745d
UD
20007 [BZ #13067]
20008 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20009
f318beb8
UD
20010 [BZ #13090]
20011 * configure.in: Fix use of AC_INIT.
20012
32b4c839
UD
20013 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20014
3ce1f295
UD
200152011-09-10 Ulrich Drepper <drepper@gmail.com>
20016
bb016596
UD
20017 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20018 __set_errno.
8e58439c
UD
20019 * malloc/hooks.c: Likewise.
20020
aebae053 20021 [BZ #11929]
02d46fc4
UD
20022 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20023 variables statically.
20024 (narenas): Initialize.
20025 (list_lock): Initialize.
bb016596
UD
20026 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20027 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20028 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20029 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20030 Add initializers to main_arena and mp_.
20031 (malloc_state): Remove pagesize member. Change all users to use
20032 GLRO(dl_pagesize).
20033
20034 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20035 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20036 is always initialized.
20037
22a89187
UD
20038 * malloc/malloc.c: Removed unused configurations and dead code.
20039 * malloc/arena.c: Likewise.
20040 * malloc/hooks.c: Likewise.
02d46fc4 20041 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20042
d063d164
UD
20043 * include/tls.h: Removed. USE___THREAD must always be defined.
20044 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20045 * elf/dl-libc.c: Likewise.
20046 * elf/dl-tsd.c: Likewise.
20047 * include/errno.h: Likewise.
20048 * include/netdb.h: Likewise.
20049 * include/resolv.h: Likewise.
20050 * inet/herrno-loc.c: Likewise.
20051 * inet/herrno.c: Likewise.
20052 * malloc/arena.c: Likewise.
20053 * malloc/hooks.c: Likewise.
20054 * malloc/malloc.c: Likewise.
20055 * resolv/res-state.c: Likewise.
20056 * resolv/res_libc.c: Likewise.
20057 * sysdeps/i386/dl-machine.h: Likewise.
20058 * sysdeps/ia64/dl-machine.h: Likewise.
20059 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20060 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20061 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20062 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20063 * sysdeps/sh/dl-machine.h: Likewise.
20064 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20065 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20066 * sysdeps/unix/i386/sysdep.S: Likewise.
20067 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20068 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20069 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20070 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20071 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20072 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20073 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20075 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20077 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20078 * sysdeps/x86_64/dl-machine.h: Likewise.
20079 * tls.make.c: Likewise.
20080
3ce1f295
UD
20081 * configure.in: Remove --with-__thread option. Make tests for
20082 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20083 tls_model attribute fail if no support is available. Remove
20084 USE_IN_LIBIO.
20085 * Makeconfig: Adjust for dropped configure option. All features are
20086 now mandatory.
20087 * Makerules: Likewise.
20088 * Versions.def: Likewise.
20089 * argp/argp-fmtstream.c: Likewise.
20090 * argp/argp-fmtstream.h: Likewise.
20091 * argp/argp-help.c: Likewise.
20092 * assert/assert.c: Likewise.
20093 * config.h.in: Likewise.
20094 * config.make.in: Likewise.
20095 * configure: Likewise.
20096 * configure.in: Likewise.
20097 * csu/Versions: Likewise.
20098 * csu/init.c: Likewise.
20099 * elf/tst-audit2.c: Likewise.
20100 * elf/tst-tls10.c: Likewise.
20101 * elf/tst-tls10.h: Likewise.
20102 * elf/tst-tls11.c: Likewise.
20103 * elf/tst-tls12.c: Likewise.
20104 * elf/tst-tls14.c: Likewise.
20105 * elf/tst-tlsmod11.c: Likewise.
20106 * elf/tst-tlsmod12.c: Likewise.
20107 * elf/tst-tlsmod13.c: Likewise.
20108 * elf/tst-tlsmod13a.c: Likewise.
20109 * elf/tst-tlsmod14a.c: Likewise.
20110 * elf/tst-tlsmod15b.c: Likewise.
20111 * elf/tst-tlsmod16a.c: Likewise.
20112 * elf/tst-tlsmod16b.c: Likewise.
20113 * elf/tst-tlsmod7.c: Likewise.
20114 * elf/tst-tlsmod8.c: Likewise.
20115 * elf/tst-tlsmod9.c: Likewise.
20116 * gmon/gmon.c: Likewise.
20117 * grp/fgetgrent_r.c: Likewise.
20118 * grp/putgrent.c: Likewise.
20119 * hurd/fopenport.c: Likewise.
20120 * include/libc-symbols.h: Likewise.
20121 * include/tls.h: Likewise.
20122 * intl/gettextP.h: Likewise.
20123 * intl/loadinfo.h: Likewise.
20124 * locale/global-locale.c: Likewise.
20125 * locale/localeinfo.h: Likewise.
20126 * mach/devstream.c: Likewise.
20127 * malloc/arena.c: Likewise.
20128 * malloc/set-freeres.c: Likewise.
20129 * misc/err.c: Likewise.
20130 * misc/getttyent.c: Likewise.
20131 * misc/mntent_r.c: Likewise.
20132 * posix/getopt.c: Likewise.
20133 * posix/wordexp.c: Likewise.
20134 * pwd/fgetpwent_r.c: Likewise.
20135 * resolv/Versions: Likewise.
20136 * resolv/res_hconf.c: Likewise.
20137 * shadow/fgetspent_r.c: Likewise.
20138 * shadow/putspent.c: Likewise.
20139 * stdio-common/printf_fphex.c: Likewise.
20140 * stdio-common/tmpfile.c: Likewise.
20141 * stdlib/abort.c: Likewise.
20142 * stdlib/fmtmsg.c: Likewise.
20143 * sunrpc/auth_unix.c: Likewise.
20144 * sunrpc/clnt_perr.c: Likewise.
20145 * sunrpc/clnt_tcp.c: Likewise.
20146 * sunrpc/clnt_udp.c: Likewise.
20147 * sunrpc/clnt_unix.c: Likewise.
20148 * sunrpc/openchild.c: Likewise.
20149 * sunrpc/svc_simple.c: Likewise.
20150 * sunrpc/svc_tcp.c: Likewise.
20151 * sunrpc/svc_udp.c: Likewise.
20152 * sunrpc/svc_unix.c: Likewise.
20153 * sunrpc/xdr.c: Likewise.
20154 * sunrpc/xdr_array.c: Likewise.
20155 * sunrpc/xdr_rec.c: Likewise.
20156 * sunrpc/xdr_ref.c: Likewise.
20157 * sunrpc/xdr_stdio.c: Likewise.
20158
1248c1c4
PB
201592011-09-09 Ulrich Drepper <drepper@gmail.com>
20160
20161 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20162
201632011-07-03 Andreas Jaeger <aj@suse.de>
20164
20165 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20166 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20167 regenerate with gen-libm-tests.pl.
20168
201692010-05-12 Petr Baudis <pasky@suse.cz>
20170
20171 [BZ #11589]
20172 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20173 around j0() zero points by switching to j1().
20174 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20175 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20177 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20178
f22e1074
UD
201792011-09-09 Ulrich Drepper <drepper@gmail.com>
20180
f19009c1
UD
20181 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20182 instead of 0.
20183 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20184 instead of 0.
f19009c1
UD
20185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20186 Patch in part by Pavel Roskin <proski@gnu.org>.
20187
3f8cc204
UD
20188 [BZ #13138]
20189 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20190 realloc.
20191 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20192 Free memory block if necessary.
20193
f22e1074
UD
20194 [BZ #12847]
20195 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20196 be NULL. Don't lock in this case.
20197
0a2349f9
RM
201982011-09-09 Roland McGrath <roland@hack.frob.com>
20199
20200 * elf/elf.h (ELFOSABI_GNU): New macro.
20201 (ELFOSABI_LINUX): Define to that.
20202
f3cdd467
DZ
202032011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20204
20205 * string/strncat.c (strncat): Undef the symbol in case it has been
20206 defined in bits/string.h.
20207
74718d13
UD
202082011-09-09 Ulrich Drepper <drepper@gmail.com>
20209
633e9e0f
UD
20210 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20211
0a2349f9 20212 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20213 link map.
20214
f9924780
AJ
202152011-08-17 Andreas Jaeger <aj@suse.de>
20216
20217 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20218
7f5517aa
PP
202192011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20220 Ian Lance Taylor <iant@google.com>
20221
20222 * math/libm-test.inc (lround_test): New testcase.
20223 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20224
762011fe
UD
202252011-09-08 Ulrich Drepper <drepper@gmail.com>
20226
92963737
UD
20227 * Makefile: Remove support for automatic cvs check-ins.
20228 * Makerules: Likewise.
20229 * config.make.in: Likewise.
20230 * configure.in: Likewise.
20231 * intl/Makefile: Likewise.
20232 * locale/Makefile: Likewise.
20233 * po/Makefile: Likewise.
20234 * posix/Makefile: Likewise.
20235 * sysdeps/gnu/Makefile: Likewise.
20236 * sysdeps/mach/hurd/Makefile: Likewise.
20237 * sysdeps/sparc/sparc32/Makefile: Likewise.
20238
b0727fd8
JS
20239 [BZ #13118]
20240 * posix/Makefile (bug-regex32-ENV): Define.
20241 Patch by John Stanley <jpsinthemix@verizon.net>.
20242
a0f33f99
UD
20243 * misc/Makefile (headers): Add bits/select2.h.
20244 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20245 * misc/bits/select2.h: New file.
20246 * include/bits/select2.h: New file.
20247 * debug/Makefile (routines): Add fdelt_chk.
20248 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20249 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20250 FD_ISSET.
20251 * debug/fdelt_chk.c: New file.
20252
762011fe
UD
20253 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20254 * wcsmbs/test-wmemcmp.c: Likewise.
20255 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20256 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20257
202582011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20259
20260 * string/Makefile (strop-tests): Add memcmp.
20261 * string/test-wmemcmp.c: New file.
20262 * string/test-memcmp.c: Add wmemcmp support.
20263
7f513ec8
RM
202642011-09-08 Roland McGrath <roland@hack.frob.com>
20265
0442afb4
RM
20266 [BZ #13153]
20267 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20268 2011-07-19 change.
20269
7f513ec8
RM
20270 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20271 garbage value in a __mach_port_mod_refs call in the cases of the
20272 task-self and thread-self ports.
20273
a12b2239
ST
202742011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20275
20276 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20277
610f9ab4
AS
202782011-09-08 Andreas Schwab <schwab@redhat.com>
20279
7f513ec8 20280 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20281
48882a1a
LD
202822011-09-07 Ulrich Drepper <drepper@gmail.com>
20283
b49865be
UD
20284 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20285
fdc86bc9
UD
20286 * elf/dl-libc.c (dlerror_run): Pass back error code from
20287 dl_catch_error.
20288
c966526a
UD
20289 [BZ #13123]
20290 * elf/dl-load.c (lose): Free l_origin if it is valid.
20291
48882a1a
LD
20292 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20293 names.
20294 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20295 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20297 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20298 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20299 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20300
77a2a8b4
AZ
203012011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20302
20303 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20304 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20305 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20306 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20307 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20308 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20309 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20310 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20311 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20312 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20313
24f579d8
AM
203142011-08-15 Alan Modra <amodra@gmail.com>
20315
20316 [BZ #13092]
20317 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20318 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20319 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20320 ppc_mcount to static-only-routines.
20321 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20322 __mcount_internal.
20323 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20324 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20325
3d4837df
UD
203262011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20327
20328 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20329 for finite and infinity parameters.
20330
22700377
WS
203312011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20332
20333 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20334 and add nop instructions for throughput optimization.
20335 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20336
5025581e
WS
203372011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20338
20339 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20340 aligned copy for power7 with vector-scalar instructions.
20341 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20342
08a300c9
L
203432011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20344
20345 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20346 AVX check.
20347
59178ef9
AS
203482011-09-07 Andreas Schwab <schwab@redhat.com>
20349
20350 [BZ #13144]
20351 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20352 last change.
20353
e38ba7ab
UD
203542011-09-07 Ulrich Drepper <drepper@gmail.com>
20355
20356 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20357 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20358 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20359 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20360 clock_gettime.
20361
d53a73ac
UD
203622011-09-06 Ulrich Drepper <drepper@gmail.com>
20363
fc8bffcc
UD
20364 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20365 Forgot to demangle the pointer.
20366
ceaa0c5d
UD
20367 * sysdeps/i386/sysdep.h: Define atom_text_section.
20368 * sysdeps/x86_64/sysdep.h: Likewise.
20369 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20370 section with atom_text_section.
20371 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20372 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20373 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20374 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20375 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20376
a77d3c17
UD
20377 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20378 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20379 already be defined. Change to take two parameters and don't assign
20380 result to variable. Adjust all users.
20381 Define INTERNAL_GETTIME if not already defined.
20382 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20383 call.
20384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20385 HAVE_CLOCK_GETTIME_VSYSCALL.
20386 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20387
d53a73ac
UD
20388 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20389 gettimeofday vsyscall, just use time.
20390
a8f84144
AS
203912011-09-06 Andreas Schwab <schwab@redhat.com>
20392
20393 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20394 <errno.h>.
20395
ef606249
UD
203962011-09-06 Ulrich Drepper <drepper@gmail.com>
20397
20398 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20399 syscall on x86-64.
20400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20401 syscall.
20402 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20403 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20404 syscall if possible.
20405
6585cb60
UD
204062011-09-05 Ulrich Drepper <drepper@gmail.com>
20407
20408 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20409 e_ident. Don't pass to find_mapsXX.
20410 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20411
a5f524e4
LD
204122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20413
20414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20415 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20416 * sysdeps/x86_64/multiarch/strchr.S: Update.
20417 Check bit_slow_BSF bit.
20418 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20419 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20420 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20421
554881ef
UD
204222011-09-05 Ulrich Drepper <drepper@gmail.com>
20423
d96de963
UD
20424 [BZ #13134]
20425 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20426 before glibc 2.15.
20427 (tryshell): Define.
20428 (__spawni): Change last parameter to be flag. Test
20429 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20430 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20431 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20432 * posix/spawni.c: Likewise.
20433 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20434 * posix/spawnp.c: Likewise. Change normal version to use
20435 SPAWN_XFLAGS_USE_PATH.
20436 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20437 SPAWN_XFLAGS_TRY_SHELL.
20438
d48e5868
UD
20439 [BZ #13150]
20440 * posix/glob.h: Remove gcc 1.x support.
20441
554881ef
UD
20442 [BZ #13068]
20443 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20444
693fb948
LD
204452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20446
20447 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20448 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20449 strrchr-sse2-bsf
20450 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20451 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20452 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20453 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20454 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20455 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20456
1b48c537
UD
204572011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20458
49d42c37
UD
20459 * sysdeps/x86_64/wcscmp.S: New file.
20460
1b48c537
UD
20461 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20462 wcscmp-c wcscmp-sse2
20463 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20464 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20465 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20466 * wcsmbs/wcscmp.c: Allow renaming.
20467
15c95c5d
DM
204682011-09-05 David S. Miller <davem@davemloft.net>
20469
20470 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20471 stack slot, rather than the struct return pointer slot.
20472 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20473 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20475 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20476
2f0ad8f3
UD
204772011-09-05 Ulrich Drepper <drepper@gmail.com>
20478
d88ae418
UD
20479 * po/ja.po: Update from translation team.
20480
2f0ad8f3
UD
20481 [BZ #13144]
20482 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20483 kernel in 64-bit binaries.
20484
5f4318d1
DM
204852011-09-01 David S. Miller <davem@davemloft.net>
20486
20487 * elf/elf.h (HWCAP_SPARC_*): Move to..
20488 * sysdeps/sparc/sysdep.h: this new file and add new values.
20489 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20490 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20491 _DL_HWCAP_COUNT to 24.
20492 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20493 entries.
20494 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20495 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20496 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20497 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20498 instead of magic constants.
20499 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20500
3ba57516
DM
205012011-08-31 David S. Miller <davem@davemloft.net>
20502
20503 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20504 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20505 Reimplement to do errno handling inline.
20506 (SYSCALL_ERROR_HANDLER): New macro.
20507 (__SYSCALL_STRING): Do not do errno handling in asm.
20508 (__CLONE_SYSCALL_STRING): Delete.
20509 (__INTERNAL_SYSCALL_STRING): Delete.
20510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20511 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20512 (PSEUDO): Reimplement to do errno handling inline.
20513 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20514 (SYSCALL_ERROR_HANDLER): New macro.
20515 (__SYSCALL_STRING): Do not do errno handling in asm.
20516 (__CLONE_SYSCALL_STRING): Delete.
20517 (__INTERNAL_SYSCALL_STRING): Delete.
20518 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20519 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20520 i386.
20521 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20522 (inline_syscall*): Add 'err' argument.
20523 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20524 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20525 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20526 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20527
20528 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20529 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20530
2bc17433
AS
205312011-08-30 Andreas Schwab <schwab@redhat.com>
20532
20533 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20534
fbeb5f4d
JO
205352011-08-29 Jiri Olsa <jolsa@redhat.com>
20536
20537 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20538 directive.
20539
ad69cc26
DM
205402011-08-24 David S. Miller <davem@davemloft.net>
20541
20542 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20543
39dd69df
AS
205442011-08-24 Andreas Schwab <schwab@redhat.com>
20545
20546 * elf/Makefile: Add rules to build and run unload8 test.
20547 * elf/unload8.c: New file.
20548 * elf/unload8mod1.c: New file.
20549 * elf/unload8mod1x.c: New file.
20550 * elf/unload8mod2.c: New file.
20551 * elf/unload8mod3.c: New file.
20552
20553 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20554 it wasn't used.
20555
2c0b250a
DM
205562011-08-23 David S. Miller <davem@davemloft.net>
20557
20558 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20559 subtract stack bias.
20560 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20561 %sp not %fp in calculations.
20562 (_JMPBUF_UNWINDS_ADJ): Likewise.
20563
22044b48
DM
20564 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20565 (aio_suspend): Call it to force an exception region around the
20566 AIO_MISC_WAIT() invocation.
20567
2cae4995
AS
205682011-08-23 Andreas Schwab <schwab@redhat.com>
20569
20570 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20571 backslash.
20572
873a772e
AJ
205732011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20574
20575 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20576 protection macro.
20577 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20578 and <dl-machine.h>.
20579 (Elf64_FuncDesc): Remove.
20580
25ad0df1
DM
205812011-08-22 David S. Miller <davem@davemloft.net>
20582
20583 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20584 sigaltstack check, add missing cfi directives.
20585 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20586 missing cfi directives, and sigaltstack handling.
20587
e888bcbe
AS
205882011-08-16 Andreas Schwab <schwab@redhat.com>
20589
20590 [BZ #11724]
20591 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20592 object is seen twice.
20593 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20594
20595 * elf/Makefile (distribute): Add tst-initorder2.c.
20596 (tests): Add tst-initorder2.
20597 (modules-names): Add tst-initorder2a tst-initorder2b
20598 tst-initorder2c tst-initorder2d. Add rules to build them.
20599 ($(objpfx)tst-initorder2.out): New rule.
20600 * elf/tst-initorder2.c: New file.
20601 * elf/tst-initorder2.exp: New file.
20602
87162f46
AS
206032011-08-22 Andreas Schwab <schwab@redhat.com>
20604
70538b7f
AS
20605 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20606
f55ffe58
AS
20607 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20608 dependencies back to end of function.
20609
87162f46
AS
20610 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20611 $(elfobjdir)/ld.so.
20612
91b392a4
UD
206132011-08-21 Ulrich Drepper <drepper@gmail.com>
20614
20615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20616 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20618 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20619 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20620 of __vdso_gettimeofday.
20621 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20622 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20623 attribute_hidden.
20624 (_libc_vdso_platform_setup): Remove initialization of
20625 __vdso_gettimeofday and __vdso_time.
20626
5c43483f
UD
206272011-08-20 Ulrich Drepper <drepper@gmail.com>
20628
775a77e7
UD
20629 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20630 and fgetc_unlocked.
20631 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20632 getc_unlocked.
89f447ed 20633
49c74ba9
UD
20634 * elf/dl-open.c (add_to_global): Report additions to the global scope
20635 for LD_DEBUG=scopes.
20636 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20637 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20638
5c43483f
UD
20639 [BZ #13114]
20640 * stdio-common/Makefile (tests): Add bug24.
20641 * stdio-common/bug24.c: New file.
20642
a101b025
AJ
206432011-08-19 Andreas Jaeger <aj@suse.de>
20644
20645 [BZ #13114]
20646 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20647 non-existant file when using close-on-exec mode.
20648
c88f1766
UD
206492011-08-20 Ulrich Drepper <drepper@gmail.com>
20650
0276a718
UD
20651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20652 the very first instruction.
20653
c88f1766
UD
20654 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20655 the CFI state in the end.
20656 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20657 inclusion of dl-trampoline.h.
20658 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20659
51ccffa0
AS
206602011-08-19 Andreas Schwab <schwab@redhat.com>
20661
94d7165f
AS
20662 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20663 expectations for long double.
20664
51ccffa0
AS
20665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20666 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20667
fd708658 206682011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20669
20670 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20671 artificual limit depends upon the system page size.
20672
44f0a71e
UD
206732011-08-17 Ulrich Drepper <drepper@gmail.com>
20674
20675 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20676 * resolv/Makefile: Define CFLAGS-libresolv.
20677
8de79a24
AS
206782011-08-17 Andreas Schwab <schwab@redhat.com>
20679
20680 * nss/makedb.c (compute_tables): Make variables used in nested
20681 function static.
20682
27724598
UD
206832011-08-17 Ulrich Drepper <drepper@gmail.com>
20684
c5305d88
UD
20685 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20686 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20687 if buffer was too small.
20688
27724598
UD
20689 * elf/pldd.c (main): Attach to all threads in the process.
20690 Rewrite /proc handling to use *at functions.
20691
076fe015
UD
206922011-08-16 Ulrich Drepper <drepper@gmail.com>
20693
174baab3
UD
20694 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20695 specifies first scope to show.
20696 (dl_open_worker): Update callers. Move printing scope of new
20697 object to before the relocation.
44f0a71e 20698 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20699 * sysdeps/generic/ldsodefs.h: Update declaration.
20700
076fe015
UD
20701 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20702 string for the scope number.
20703
a60df2c3
UD
207042011-08-14 Ulrich Drepper <drepper@gmail.com>
20705
20706 * nscd/servicescache.c (cache_addserv): Make sure written is always
20707 initialized.
20708
5e4287d1
RM
207092011-08-14 Roland McGrath <roland@hack.frob.com>
20710
85ae0589
RM
20711 * sysdeps/i386/i486/bits/atomic.h
20712 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20713 statement expression, so as to suppress "set but not used" warning.
20714 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20715
69f63097
RM
20716 * string/strncat.c (STRNCAT): Use prototype definition.
20717
675456ef
RM
20718 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20719 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20720 -Iprograms here.
20721 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20722 (localedef-modules): Add localedef.
20723 (locale-modules): Add locale.
20724
5e4287d1
RM
20725 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20726 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20727 to avoid a warning.
20728
9c96ff23
DM
207292011-08-14 David S. Miller <davem@davemloft.net>
20730
20731 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20732 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20733
f9ddf089
UD
207342011-08-13 Ulrich Drepper <drepper@gmail.com>
20735
44f0a71e 20736 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20737 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20738 * elf/rtld.c (dl_main): Set l_name of vDSO.
20739 Call _dl_show_scope when DL_DEBUG_SCOPES.
20740 (process_dl_debug): Recognize scopes flag and also set it for all.
20741 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20742 Declare _dl_show_scope.
20743
1dc27704
UD
20744 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20745 (do_dlopen): Pass caller_dlopen to dl_open.
20746 (__libc_dlopen_mode): Initialize caller_dlopen.
20747
f9ddf089
UD
20748 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20749 of libc. Make tolower call locale-independent. Optimize a bit by
20750 using isdigit instead of isalnum.
20751 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20752
9ac533d3
UD
207532011-08-12 Ulrich Drepper <drepper@gmail.com>
20754
20755 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20756 was a dependency or dynamically loaded.
20757
89edf2e9
UD
207582011-08-11 Ulrich Drepper <drepper@gmail.com>
20759
8e999d29
UD
20760 * intl/l10nflist.c: Allow architecture-specific pop function.
20761 * sysdeps/x86_64/l10nflist.c: New file.
20762
89edf2e9
UD
20763 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20764 classification.
20765
14d96785
AS
207662011-08-10 Andreas Schwab <schwab@redhat.com>
20767
20768 * include/dirent.h: Add libc_hidden_proto for scandirat and
20769 scandirat64. Don't declare __scandirat64.
20770 * dirent/scandirat.c: Add libc_hidden_def.
20771 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20772 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20773
6761ac04
DM
207742011-08-10 David S. Miller <davem@davemloft.net>
20775
20776 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20777 enum.
20778 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20780 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20781
c55fbd1e
UD
207822011-08-09 Ulrich Drepper <drepper@gmail.com>
20783
20784 * Versions.def [libc]: Add GLIBC_2.15.
20785 * dirent/Makefile (routines): Add scandirat and scandirat64.
20786 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20787 GLIBC_2.15.
20788 * dirent/dirent.h: Declare scandirat and scandirat64.
20789 * dirent/scandirat.c: New file.
20790 * dirent/scandirat64.c: New file.
20791 * sysdeps/wordsize-64/scandirat.c: New file.
20792 * sysdeps/wordsize-64/scandirat64.c: New file.
20793 * dirent/opendir.c: Define opendirat.
20794 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20795 using scandirat.
20796 * dirent/scandir64.c: Adjust for scandir.c change.
20797 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20798 __scandirat64, and __scandir_cancel_handler.
20799 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20800 additional parameter and use openat instead of open (outside of ld.so).
20801 Add new __opendir as wrapper around __opendirat.
20802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20803 here without requiring old scandirat implementation.
20804
879165f2
UD
208052011-08-08 Ulrich Drepper <drepper@gmail.com>
20806
20807 * dirent/scandir.c (cancel_handler): Renamed to
20808 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20809 defined. Adjust users.
20810 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20812
cb7e923b
UD
208132011-08-04 Ulrich Drepper <drepper@gmail.com>
20814
16292edd
UD
20815 * string/test-string.h (IMPL): Use __STRING to expand name and then
20816 stringify it.
20817
cb7e923b
UD
20818 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20819 of cleanups.
20820
cff82933
LD
208212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20822
20823 * string/Makefile: Update.
20824 (strop-tests): Append strncat.
20825 * string/test-wcscmp.c: New file.
20826 New comprehensive test for wcscmp.
20827 * string/test-strcmp.c: Update.
20828 (WIDE): New define.
20829
9be9bfcc
AS
208302011-07-22 Andreas Schwab <schwab@redhat.com>
20831
20832 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20833 line.
20834
2e96f1c7
AS
208352011-07-26 Andreas Schwab <schwab@redhat.com>
20836
20837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20838 encoding to ACE if AI_IDN.
20839
85188888
JJ
208402011-08-01 Jakub Jelinek <jakub@redhat.com>
20841
20842 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20843 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20844
5fa16e9b
LD
208452011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20846
20847 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20848 Fix overflow bug in strncat.
20849 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20850
20851 * string/test-strncat.c: Update.
20852 Add new tests for checking overflow bugs.
20853
208542011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20855
20856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20857 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20858 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20859 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20860 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20861 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20862 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20863 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20864 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20865
20866 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20867 (USE_AS_STRCAT): Define.
20868 Add strcat and strncat support.
20869 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20870
8c1a459f
AS
208712011-07-25 Andreas Schwab <schwab@redhat.com>
20872
20873 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20874 __n bigger than INT_MAX+1.
20875 (__strncmp_g): Likewise.
20876
bba33c28
UD
208772011-07-23 Ulrich Drepper <drepper@gmail.com>
20878
798be72d
UD
20879 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20880 * libio/stido.h: Likewise.
20881
8accd4dc
UD
20882 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20883 (AF_NFC): Define.
20884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20885 (AF_NFC): Define.
20886
cbff0d96
UD
20887 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20888 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20889 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20890 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20892
9191c04a
UD
20893 [BZ #13021]
20894 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20895 installed.
20896
bba33c28
UD
20897 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20898 typo.
20899 (_dl_x86_64_save_sse): Likewise.
20900
90f139dd
UD
209012011-07-22 Ulrich Drepper <drepper@gmail.com>
20902
1aae088a
UD
20903 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20904 OSXSAVE.
20905 (_dl_x86_64_save_sse): Likewise.
20906
8e2045f5
UD
20907 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20908
90f139dd
UD
20909 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20910
1d002f25
AS
209112011-07-21 Andreas Schwab <schwab@redhat.com>
20912
20913 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20914 change.
20915 (_dl_x86_64_save_sse): Use correct AVX check.
20916
21137f89
UD
209172011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20918
20919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20920 bug in strncpy/strncat.
20921 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20922
a65c0b7a
UD
209232011-07-21 Ulrich Drepper <drepper@gmail.com>
20924
20925 * string/tester.c (test_strcat): Add tests for different alignments
20926 of source and destination.
20927 (test_strncat): Likewise.
20928
6986b98a
UD
209292011-07-20 Ulrich Drepper <drepper@gmail.com>
20930
90bb2039
UD
20931 [BZ #12852]
20932 * posix/glob.c (glob): Check passed in values before using them in
20933 expressions to avoid some overflows.
20934 (glob_in_dir): Likewise.
20935
5644ef54
UD
20936 [BZ #13007]
20937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20938 check for AVX enablement so that we don't crash with old kernels and
20939 new hardware.
20940 * elf/tst-audit4.c: Add same checks here.
20941 * elf/tst-audit6.c: Likewise.
20942
20943 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20944
bfc9dc9b
AS
209452011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20946
20947 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20948
702e64bb
UD
209492011-07-20 Ulrich Drepper <drepper@gmail.com>
20950
20951 * po/cs.po: Update from translation team.
20952 * po/bg.po: Likewise.
20953
295e904f
MP
209542011-07-12 Marek Polacek <mpolacek@redhat.com>
20955
20956 * misc/sys/cdefs.h: Add support for const attribute.
20957 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20958 to gnu_dev_{major,minor,makedev} functions.
20959
3ff94596
MP
209602011-07-20 Marek Polacek <mpolacek@redhat.com>
20961
20962 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20963
28b59fca
AS
209642011-07-20 Andreas Schwab <schwab@redhat.com>
20965
20966 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20967 strlen results.
20968
19df733e
AK
209692011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20970
20971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20972 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20973 register in order to avoid conflicts with the soft frame pointer
20974 being held in r11 when necessary.
20975 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20976 (INTERNAL_VSYSCALL_NCS): Likewise.
20977
c8835729
MP
209782011-07-14 Marek Polacek <mpolacek@redhat.com>
20979
20980 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20981 * elf/dl-fini.c (_dl_fini): Adjust caller.
20982 * elf/dl-close.c (_dl_close_worker): Likewise.
20983 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20984
b902330c
MP
209852011-07-15 Marek Polacek <mpolacek@redhat.com>
20986
8991e135
MP
20987 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20988 "aux_cache->nlibs < 0".
20989
b902330c
MP
20990 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20991 in the reload-count case.
20992
99710781
LD
209932011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20994
20995 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20996 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20997 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20998 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20999 * sysdeps/x86_64/multiarch/strcat.S: New file.
21000 * sysdeps/x86_64/multiarch/strncat.S: New file.
21001 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21002 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21003 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21004 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21005 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21006 (USE_AS_STRCAT): Define.
21007 Add strcat and strncat support.
21008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21009 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21010 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21011 * string/strncat.c: Update.
21012 (USE_AS_STRNCAT): Define.
21013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21014 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21015 and i7.
21016 * sysdeps/x86_64/multiarch/init-arch.h
21017 (bit_Prefer_PMINUB_for_stringop): New.
21018 (index_Prefer_PMINUB_for_stringop): Likewise.
21019 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21020 bit_Prefer_PMINUB_for_stringop.
21021
7dc6bd90
UD
210222011-07-19 Ulrich Drepper <drepper@gmail.com>
21023
21024 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21025 buffer64.
21026 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21027 of casting of buffer.
21028 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21029 buffer32 and buffer64.
21030 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21031 writes instead of casting of buffer.
21032 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21033 buffer32.
21034 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21035 casting of buffer.
21036
e0e72284
AS
210372011-07-19 Andreas Schwab <schwab@redhat.com>
21038
21039 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21040
feb1eb0b
UD
210412011-07-19 Ulrich Drepper <drepper@gmail.com>
21042
21043 * nscd/nscd.c (termination_handler): Don't do anything for a database
21044 if it has not yet been initialized.
21045
298711ff
UD
210462011-07-18 Ulrich Drepper <drepper@gmail.com>
21047
21048 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21049
210502011-07-15 Marek Polacek <mpolacek@redhat.com>
21051
21052 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21053
f9d68389
UD
210542011-07-18 Ulrich Drepper <drepper@gmail.com>
21055
21056 * po/nl.po: Update from translation team.
21057 * po/sv.po: Likewise.
21058
db290cf5
RM
210592011-07-16 Roland McGrath <roland@hack.frob.com>
21060
21061 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21062 now disallowed by GCC.
5c550700 21063
fd5e21c7
RM
21064 * configure.in (use-default-link): Default to yes if a test -shared
21065 link meets our qualifications.
21066 * configure: Regenerated.
21067
5c550700
RM
21068 * config.make.in (output-format): New variable.
21069 * configure.in: Check for ld --print-output-format support.
21070 * configure: Regenerated.
21071 * Makerules ($(common-objpfx)format.lds)
21072 [$(output-format) != unknown]: Just use $(output-format),
21073 instead of the linker-script munging.
21074
9fa2c032
RM
210752011-07-14 Roland McGrath <roland@hack.frob.com>
21076
a6928d51
RM
21077 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21078 of $(common-objpfx)shlib.lds.
21079 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21080
661607b3
RM
21081 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21082 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21083
9fa2c032
RM
21084 * configure.in (-z relro check): Adjust test code to add a large
21085 writable data section after it.
21086 * configure: Regenerated.
21087
defe9061
RM
210882011-07-11 Roland McGrath <roland@hack.frob.com>
21089
21090 * configure.in (-z relro check): Fix test code to make the variable
21091 truly const.
21092 * configure: Regenerated.
21093
319b9ad4
UD
210942011-07-11 Ulrich Drepper <drepper@gmail.com>
21095
21096 * nscd/nscd.h (struct traced_file): Define.
21097 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21098 elements. Add traced_files.
21099 (inotify_fd): Declare.
21100 (register_traced_file): Declare.
21101 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21102 (inotify_fd): Export.
21103 (resolv_conf_descr): Remove.
21104 (nscd_init): Move inotify descriptor creation to main.
21105 Don't register files for notification here.
21106 (register_traced_file): New function.
21107 (invalidate_cache): Don't use reset_res to determine whether to call
21108 res_init, go through the list of registered files.
21109 (main_loop_poll): The inotify descriptors are now stored in the
21110 structures for the traced files.
21111 (main_loop_epoll): Likewise
21112 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21113 to __nss_disable_nscd.
21114 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21115 for a database anymore. Check the records for all the registered
21116 files instead.
21117 * nss/Makefile (libnss_files-routines): Add files-init.
21118 (libnss_db-routines): Add db-init.
21119 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21120 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21121 * nss/nss_db/db-init.c: New file.
21122 * nss/nss_files/files-init.c: New file.
21123 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21124 __nss_lookup_function.
21125 (__nss_lookup_function): Call nss_load_library.
21126 (nss_load_all_libraries): New function.
21127 (__nss_disable_nscd): Take parameter with callback function for files
21128 to register. Set is_nscd. Load all the DSOs for the NSS modules
21129 used for the cached services.
21130 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21131 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21132 options for features to all the files in nscd.
21133
21134 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21135
23bee3e8
RM
211362011-07-10 Roland McGrath <roland@hack.frob.com>
21137
21138 * csu/elf-init.c (__libc_csu_init): Comment typo.
21139
46a5b7f0
UD
211402011-07-09 Ulrich Drepper <drepper@gmail.com>
21141
21142 * po/pl.po: Update from translation team.
21143 * po/ja.po: Likewise.
21144 * po/ru.po: Likewise.
21145 * po/ko.po: Likewise.
21146 * po/fr.po: Likewise.
21147
d30cf5bb
RM
211482011-07-09 Roland McGrath <roland@hack.frob.com>
21149
113ddea4
RM
21150 * configure.in (.ctors/.dtors header and trailer check):
21151 Use an empirical test on a built program.
21152 * configure: Regenerated.
21153
574920b4
RM
21154 * configure.in (-z relro check): Use an empirical test on a built DSO.
21155 Detect, but do not require, on ia64.
21156 * configure: Regenerated.
21157
d30cf5bb
RM
21158 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21159 Update tests that use readelf to use $READELF instead.
21160 * configure: Regenerated.
21161
8538fdb3
UD
211622011-07-08 Ulrich Drepper <drepper@gmail.com>
21163
21164 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21165 if the result is not used.
21166
04d08991
AJ
211672011-07-05 Andreas Jaeger <aj@suse.de>
21168
21169 [BZ#9696]
21170 * stdlib/tst-strtod.c: Add testcase.
21171
de283087
AD
211722011-07-07 Ulrich Drepper <drepper@gmail.com>
21173
4e5f31c8 21174 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21175 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21176 The latter has a higher limit. Take additional parameter to pass to
21177 the new function.
21178 (__pathconf): Pass file to __statfs_link_max.
21179 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21180 __statfs_link_max.
21181 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21182 __statfs_link_max.
21183
de283087
AD
21184 [BZ #12868]
21185 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21186 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21187 Handle Lustre.
21188 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21189 (__statfs_filesize_max): Likewise.
21190 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21191
c75fa153
AJ
211922011-07-05 Andreas Jaeger <aj@suse.de>
21193
21194 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21195
1a544854
UD
211962011-07-06 Marek Polacek <mpolacek@redhat.com>
21197
21198 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21199 `status' variable.
21200 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21201 Likewise.
21202
6f0eec67
UD
212032011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21204
21205 * Makefile (strop-tests): Add strncat.
21206 * string/test-strncat.c: New file.
21207
aae30307
UD
212082011-06-30 Marek Polacek <mpolacek@redhat.com>
21209
21210 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21211
c0cfb5eb
UD
212122011-06-21 Andreas Jaeger <aj@suse.de>
21213
21214 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21215 Copy rule from iconvdata/Makefile.
21216
01636b21
UD
212172011-07-06 Ulrich Drepper <drepper@gmail.com>
21218
21219 [BZ #12922]
21220 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21221 but no long options are defined, just return 'W'.
21222
9895c8bc
UD
212232011-06-22 Marek Polacek <mpolacek@redhat.com>
21224
21225 [BZ #9696]
21226 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21227
5d4cf042
UD
212282011-07-06 Ulrich Drepper <drepper@gmail.com>
21229
21230 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21231 netgroups to read.
960e5535 21232 (innetgr): Likewise.
5d4cf042 21233
751eb97e
RM
212342011-07-05 Roland McGrath <roland@hack.frob.com>
21235
21236 * config.make.in (install_root): Default to $(DESTDIR).
21237
f15f1e45
UD
212382011-07-05 Ulrich Drepper <drepper@gmail.com>
21239
21240 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21241
4e34ac6a
RM
212422011-07-02 Roland McGrath <roland@hack.frob.com>
21243
5e9b6af4
RM
21244 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21245
84f9ea0f
RM
21246 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21247 containing directory rather than embedding absolute directory names.
21248
ea5ee9f7
RM
21249 * scripts/check-local-headers.sh: Rewritten using awk.
21250 Match by word, not by line. Print error messages for matches.
21251 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21252
1b74661a
RM
21253 * Makerules [shlib-lds-flags empty]:
21254 ($(common-objpfx)libc_pic.opts): New target.
21255 ($(common-objpfx)libc_pic.os.clean): New target.
21256 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21257
21258 * config.make.in (OBJCOPY): New variable.
21259 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21260 * configure: Regenerated.
21261
f781ef40
RM
21262 * config.make.in (use-default-link): New variable.
21263 * configure.in (use_default_link): Grok --with-default-link to set it.
21264 * configure: Regenerated.
21265 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21266 (shlib-lds, shlib-lds-flags): Define to empty.
21267
2d4fa81e
RM
21268 * Makerules (shlib-lds): New variable.
21269 (shlib-lds-flags): New variable.
21270 (build-shlib, build-moduile, build-module-asneeded): Use it.
21271 ($(common-objpfx)libc.so): Use $(shlib-lds).
21272 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21273 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21274
31fffa6b
RM
21275 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21276 DT_FLAGS/DT_FLAGS_1 with zero flags.
21277
4e34ac6a
RM
21278 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21279 linker script munging.
21280
fcfc776b
UD
212812011-07-02 Ulrich Drepper <drepper@gmail.com>
21282
21283 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21284 as 128-bit value.
21285 * crypt/sha512.c (sha512_process_block): Perform total addition using
21286 128-bit if possible.
21287 (__sha512_finish_ctx): Likewise.
21288 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21289 as 64-bit value.
21290 * crypt/sha256.c (SWAP64): Define.
21291 (sha256_process_block): Perform total addition using 64-bit if
21292 possible.
21293 (__sha256_finish_ctx): Likewise.
21294
99231d9a
UD
212952011-07-01 Ulrich Drepper <drepper@gmail.com>
21296
21297 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21299 * nscd/hstcache.c (cache_addhst): Likewise.
21300 * nscd/grpcache.c (cache_addgr): Likewise.
21301 * nscd/aicache.c (addhstaiX): Likewise
21302 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21303
445b4a53
TK
213042011-07-01 Thorsten Kukuk <kukuk@suse.de>
21305
21306 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21307 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21308 * nscd/hstcache.c (cache_addhst): Likewise.
21309 * nscd/grpcache.c (cache_addgr): Likewise.
21310 * nscd/aicache.c (addhstaiX): Likewise
21311
6d4d8e8e
AS
213122011-07-01 Andreas Schwab <schwab@redhat.com>
21313
21314 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21315 domain only when needed.
21316
89f654c5
AS
213172011-06-30 Andreas Schwab <schwab@redhat.com>
21318
21319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21320 is always restored.
21321
cf3b23ff
UD
213222011-06-29 Ulrich Drepper <drepper@gmail.com>
21323
21324 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21325 are re-adding the entry.
21326 * nscd/servicescache.c (cache_addserv): Likewise.
21327
751626f9
AJ
213282011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21329
21330 * sysdeps/generic/dl-irel.h: fix protection against multiple
21331 inclusions.
21332 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21333
9113ea1f
UD
213342011-06-28 Ulrich Drepper <drepper@gmail.com>
21335
5c0b8d90
UD
21336 [BZ #12935]
21337 * malloc/memusage.sh: Fix quoting in message.
21338 * debug/xtrace.sh: Likewise.
21339
9113ea1f
UD
21340 * configure.in: Remove support for --experimental-malloc option, make
21341 it the default.
21342 * config.make.in: Likewise.
21343 * malloc/Makefile: Likewise.
21344
a4172181
AS
213452011-06-27 Andreas Schwab <schwab@redhat.com>
21346
21347 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21348 two-byte characters.
21349
78a7eee7
RM
213502011-06-27 Roland McGrath <roland@hack.frob.com>
21351
62bede13
RM
21352 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21353 AC_CACHE_CHECK invocation.
21354 * configure: Regenerated.
21355
78a7eee7
RM
21356 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21357
5ce33a62
UD
213582011-06-27 Ulrich Drepper <drepper@gmail.com>
21359
034807a9
UD
21360 [BZ #12350]
21361 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21362 bit from old_res_options.
21363
4902da17
UD
21364 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21365
5ce33a62
UD
21366 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21367 value type for setfct.
21368
c2344f56
L
213692011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21370
21371 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21372 __gettimeofday instead of gettimeofday.
21373
68468076
UD
213742011-06-26 Ulrich Drepper <drepper@gmail.com>
21375
21376 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21377
acb0d739
L
213782011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21379
21380 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21381
21382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21383 info.
21384
8912479f
L
213852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21386
21387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21388 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21389 strcpy-sse2-unaligned strncpy-sse2-unaligned
21390 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21391 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21392 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21393 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21394 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21395 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21396 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21397 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21398 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21399 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21400 (STRCPY): Support SSE2 and SSSE3 versions.
21401
d5495a11
UD
214022011-06-24 Ulrich Drepper <drepper@gmail.com>
21403
21404 [BZ #12874]
21405 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21406 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21407 kernels which artificially limit size of requests.
21408
0b1cbaae
L
214092011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21410
21411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21412 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21413 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21414 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21415 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21416 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21417 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21418 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21419 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21420 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21421 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21422 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21423 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21424 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21425 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21427 Enable unaligned load optimization for Intel Core i3, i5 and i7
21428 processors.
21429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21430 Define.
21431 (index_Fast_Unaligned_Load): Define.
21432 (HAS_FAST_UNALIGNED_LOAD): Define.
21433
07f494a0
MP
214342011-06-23 Marek Polacek <mpolacek@redhat.com>
21435
21436 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21437
fa3fc0fe
UD
214382011-06-22 Ulrich Drepper <drepper@gmail.com>
21439
21440 [BZ #12907]
21441 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21442 until it is clear that the information is realy needed.
21443 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21444
e12df166
AS
214452011-06-22 Andreas Schwab <schwab@redhat.com>
21446
21447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21448
852eb34d
UD
214492011-06-22 Ulrich Drepper <drepper@gmail.com>
21450
84e2a551
UD
21451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21452 /sys/devices/system/cpu/online if it is usable.
21453
852eb34d
UD
21454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21455 reading the information from the /proc filesystem to once a second.
21456
6e502e19
UD
214572011-06-21 Andreas Jaeger <aj@suse.de>
21458
21459 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21460 NULL after inclusion of kernel headers.
21461
75d39ff2
UD
214622011-06-21 Ulrich Drepper <drepper@gmail.com>
21463
51f9aa6a
UD
21464 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21465 calls to internal_setent.
21466
c0244a9d
UD
21467 [BZ #12885]
21468 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21469 addresses using gethostbyname4_r ignore IPv4 addresses.
21470
c5e3c2ae
UD
21471 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21472 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21473
75d39ff2
UD
21474 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21475
42675c6f
DM
214762011-06-20 David S. Miller <davem@davemloft.net>
21477
21478 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21479 inclusions.
21480 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21481
21482 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21483 (elf_irel): Use it.
21484 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21485 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21486 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21487 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21488 * sysdeps/x86_64/dl-irel.h: Likewise.
21489
21490 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21491 * elf/dl-sym.c: Likewise.
21492
57912a71
UD
214932011-06-15 Ulrich Drepper <drepper@gmail.com>
21494
21495 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21496 need to dereference resplen2.
21497
ee22793d
AS
214982011-06-14 Andreas Schwab <schwab@redhat.com>
21499
21500 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21501
a9e836b0
UD
215022011-06-15 Ulrich Drepper <drepper@gmail.com>
21503
77fb9117
UD
21504 * Makeconfig: Define vardbdir and inst_vardbdir.
21505 * nss/Makefile: Add rules to install db-Makefile.
21506
40c1b22c
UD
21507 * nss/nss_db/db-XXX.c: Cleanup.
21508
9f2da732
UD
21509 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21510 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21511 GLIBC_PRIVATE.
21512 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21513 * nss/makedb.c: Implement -g option to specify that value strings
21514 are generated and should not be added to table iterated over for
21515 get*ent calls.
21516 * nss/nss_db/db-initgroups.c: New file.
21517
82e9a1f7
UD
21518 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21519 interface.
21520
c41af17e
UD
21521 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21522 (internal_getgrouplist): Adjust to name change.
21523 Update use_initgroups_entry if this is not the first call.
21524 * nss/databases.def: Add initgroups entry.
21525
a9e836b0
UD
21526 * nss/makedb.c (compute_tables): Check result of multiple hash table
21527 sizes to minimize maximum chain length.
21528
2666d441
UD
215292011-06-14 Ulrich Drepper <drepper@gmail.com>
21530
21531 * Versions.def: Add entry for libnss_db.
21532 * shlib-versions: Likewise.
21533 * nss/Makefile: Add rules to build libnss_db.
21534 * nss/Versions: Add libnss_db information. Organize libnss_files
21535 entries better.
21536 * nss/db-Makefile: Add gshadow support. Change rules for the new
21537 makedb progra. Some minor improvements to generate smaller files.
21538 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21539 here from...
21540 * nss/makedb.c: ...here.
21541 Improve database format to be smaller and require less memory at
21542 runtime.
21543 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21544 db anymore.
21545 * nss/nss_db/db-netgrp.c: Likewise.
21546 * nss/nss_db/db-open.c: Likewise.
21547 * nss/nss_files/flies-XXX.x: Adjust comments.
21548 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21549 * nss/nss_files/files-grp.c: Likewise.
21550 * nss/nss_files/files-hosts.c: Likewise.
21551 * nss/nss_files/files-network.c: Likewise.
21552 * nss/nss_files/files-proto.c: Likewise.
21553 * nss/nss_files/files-pwd.c: Likewise.
21554 * nss/nss_files/files-rpc.c: Likewise.
21555 * nss/nss_files/files-service.c: Likewise.
21556 * nss/nss_files/files-sgrp.c: Likewise.
21557 * nss/nss_files/files-spwd.c: Likewise.
21558 * nss/nss_db/db-alias.c: Removed.
21559 * nss/nss_db/dummy-db.h: Removed.
21560
9ee76b5a
UD
215612011-06-02 Ulrich Drepper <drepper@gmail.com>
21562
21563 * nss/makedb.c: Rewritten to not use database library.
21564 * nss/Makefile: Update to build new makedb program.
21565
c71ca1f8
AJ
215662011-06-14 Andreas Jaeger <aj@suse.de>
21567
21568 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21569 memset declaration.
21570
3154bfb8
UD
215712011-06-10 Andreas Schwab <schwab@redhat.com>
21572
21573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21574 tmpbuf.
21575
b350afab
RM
215762011-06-10 Roland McGrath <roland@hack.frob.com>
21577
decd4e50
RM
21578 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21579 * elf/Makefile ($(objpfx)ld.so): Likewise.
21580
5615eaf2
RM
21581 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21582 Don't list ld.so twice in dependencies.
21583
21584 * posix/bug-regex31.c: Include <stdlib.h>.
21585
21586 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21587
21588 * nis/nss_compat/compat-spwd.c
21589 (getspent_next_nss_netgr): Remove unused variable.
21590 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21591
21592 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21593 nonmembers" output to use the right array.
21594
21595 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21596
21597 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21598
21599 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21600 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21601 * catgets/gencat.c (read_input_file): Likewise.
21602 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21603
21604 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21605 variable definition inside #if's controlling its use.
21606
21607 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21608
21609 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21610
21611 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21612
21613 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21614 unreachable code.
21615
21616 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21617
b68e08db
RM
21618 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21619 * configure: Regenerated.
21620
b350afab
RM
21621 * Makerules: Revert last change.
21622 * elf/Makefile: Likewise.
21623
28368601
RM
216242011-06-09 Roland McGrath <roland@hack.frob.com>
21625
21626 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21627 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21628 (reloc-link): Likewise.
21629
11988f8f
UD
216302011-06-09 Ulrich Drepper <drepper@gmail.com>
21631
21632 * elf/Makefile: Add rules to build pldd.
21633 * elf/pldd.c: New file.
21634 * elf/pldd-xx.c: New file.
21635
e80fab37
UD
216362011-06-07 Ulrich Drepper <drepper@gmail.com>
21637
21638 * version.h: Update for 2.15 development version.
21639
9b849836
DM
216402011-06-07 David S. Miller <davem@davemloft.net>
21641
21642 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21643 ifuncs.
21644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21645 elf_machine_lazy_rel): Likewise.
21646 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21647 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21648 elf_machine_lazy_rel): Likewise.
21649 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21650 dl_hwcap via passed in argument.
21651 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21652 Likewise.
21653
5a31b283
AK
216542011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21655
21656 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21657
069e52f8
RM
216582011-06-06 Roland McGrath <roland@hack.frob.com>
21659
21660 [BZ #12849]
21661 * manual/fdl-1.1.texi: New file, verbatim from:
21662 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21663 * manual/lgpl-2.1.texi: New file, verbatim from:
21664 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21665 * manual/Makefile (licenses): New variable, list those new file names.
21666 (texis): Use it.
21667 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21668
21669 * manual/fdl.texi: File removed.
21670 * manual/lesser.texi: File removed.
21671 * manual/libc.texinfo (Copying, Documentation License):
21672 Use new @include file names, put @appendix directive before @include.
21673
f16846a5
JJ
216742011-06-04 Jakub Jelinek <jakub@redhat.com>
21675
21676 [BZ #12841]
21677 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21678 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21679 (mq_open): Add __NTH.
21680
3d29045b
L
216812011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21682
21683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21684 Assume Intel Core i3/i5/i7 processor if AVX is available.
21685
8c297311
UD
216862011-05-31 Ulrich Drepper <drepper@gmail.com>
21687
21688 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21689 typo.
21690
c8fc0c91
UD
216912011-05-31 Andreas Schwab <schwab@redhat.com>
21692
21693 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21694 memory. Use alloca_account. Fix memory leak when retrying.
21695
5b27a807
UD
216962011-05-31 Ulrich Drepper <drepper@gmail.com>
21697
356f8bc6
UD
21698 * version.h (RELEASE): Bump for 2.14 release.
21699 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21700
5b27a807
UD
21701 * config.make.in (RANLIB): Remove entry.
21702
01f16ab0
UD
217032011-05-30 Ulrich Drepper <drepper@gmail.com>
21704
41fce8bd
UD
21705 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21706 (libc.pot): Work around missing support for .ksh extension in xgettext.
21707
4769ae77
UD
21708 [BZ #12684]
21709 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21710 if both request failed.
21711 (send_dg): In case of server errors clear resplen or *resplen2.
21712
6b1e7d19
UD
21713 [BZ #12454]
21714 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21715 when there are multiple maps.
21716 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21717 (_dl_fini): Remove test here.
21718
01f16ab0
UD
21719 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21720
b1ebd700
UD
217212011-05-29 Ulrich Drepper <drepper@gmail.com>
21722
7ae22829
UD
21723 [BZ #12350]
21724 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21725 bit from old_res_options.
21726 (gaih_inet): Likewise.
21727
553149f6 21728 [BZ #11099]
18a84741 21729 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21730 as signed.
21731
652ffab1
UD
21732 * resolv/res_init.c (res_setoptions): Make the code more compact.
21733
16985fd0
UD
21734 [BZ #11558]
21735 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21736 set RES_USEVC.
21737
0464f746
UD
21738 [BZ #11634]
21739 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21740
7d17596c
UD
21741 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21742
cf6bbbd7
UD
21743 [BZ #11781]
21744 * malloc/malloc.h: Declare malloc hook variables as volatile.
21745
13f1ab36
UD
21746 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21747 in last patch.
21748
b1ebd700
UD
21749 [BZ #11799]
21750 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21751 raise in the comment.
80e2212d
UD
21752 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21754 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21755
ce67228d
UD
217562011-05-28 Ulrich Drepper <drepper@gmail.com>
21757
8887a920
UD
21758 [BZ #12811]
21759 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21760 grow the buffers more if it already has to be sufficient.
21761 (build_wcs_upper_buffer): Likewise.
21762 * posix/regexec.c (check_matching): Likewise.
21763 (clean_state_log_if_needed): Likewise.
21764 (extend_buffers): Don't enlarge buffers beyond size of the input
21765 buffer.
21766 Patches mostly by Emil Wojak <emil@wojak.eu>.
21767 * posix/bug-regex32.c: New file.
21768 * posix/Makefile (tests): Add bug-regex32.
21769
4f031072
UD
21770 * locale/findlocale.c (_nl_find_locale): Return right away if
21771 _nl_explode_name failed.
21772 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21773
d0478f0c
UD
21774 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21775
de81b246
UD
21776 * debug/xtrace.sh: Unify messages.
21777 * malloc/memusage.sh: Likewise.
21778
c738465a
UD
21779 [BZ #12813]
21780 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21781 time symbol from vDSO. Substitute with vsyscall if not available.
21782 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21783 __vdso_time.
21784
f1f929d7
UD
21785 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21786 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21787 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21788 Add sendmmsg and internal_sendmmsg.
21789 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21790 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21791 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21792
ce67228d
UD
21793 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21794 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21795 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21796
e57420c6
UD
217972011-05-27 Ulrich Drepper <drepper@gmail.com>
21798
a8509ca5
UD
21799 [BZ #12813]
21800 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21801 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21802 available.
21803 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21804 __vdso_getcpu.
21805
e57420c6
UD
21806 [BZ #12814]
21807 * iconvdata/Makefile (tests): Add bug-iconv9.
21808 * iconvdata/bug-iconv9.c: New file.
21809
4d07db15
AS
218102011-05-27 Andreas Schwab <schwab@redhat.com>
21811
21812 [BZ #12814]
21813 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21814
ea486f69
JJ
218152011-05-25 Jakub Jelinek <jakub@redhat.com>
21816
21817 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21818 (struct user_regs_struct): Change intcs field back to cs.
21819
6f038433
UD
218202011-05-25 Ulrich Drepper <drepper@gmail.com>
21821
21822 * po/ja.po: Update from translation team.
21823
67f86a25
UD
218242011-05-23 Ulrich Drepper <drepper@gmail.com>
21825
21826 [BZ #12795]
21827 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21828 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21829
def7fbd6
AS
218302011-05-20 Andreas Schwab <schwab@redhat.com>
21831
21832 * stdlib/longlong.h: Update from GCC.
21833
f50ef8f1
AS
218342011-05-23 Andreas Schwab <schwab@redhat.com>
21835
21836 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21837 parameter name.
21838 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21839 Add parameter name.
21840 (__sysconf): Pass it down.
21841
de7ce8f1
UD
218422011-05-22 Ulrich Drepper <drepper@gmail.com>
21843
f2962a71
UD
21844 [BZ #12671]
21845 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21846 some situations.
21847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21848 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21849 add in in __libc_use_alloca calls. Adjust callers.
21850 (glob): Use malloc in some situations.
21851
de7ce8f1
UD
21852 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21853 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21854 pltexit.
21855
aec84f53
UD
218562011-05-21 Ulrich Drepper <drepper@gmail.com>
21857
05bb4a68
UD
21858 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21859 and CLOCK_BOOTTIME_ALARM.
21860
7ea72f99
UD
21861 [BZ #12782]
21862 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21863 is returned.
21864
7e4afad5
UD
21865 * string/_strerror.c (__strerror_r): Print negative errors as signed
21866 numbers.
21867
8e211fec
UD
21868 [BZ #12777]
21869 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21870 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21871 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21872
f7d82dc9
UD
21873 * configure.in: Fix typo in redirection and correct removal of test
21874 files in two cases.
21875
cc9e536d
UD
21876 [BZ #12788]
21877 * locale/setlocale.c (new_composite_name): Fix test to check for
21878 identical name of all categories.
21879
aec84f53
UD
21880 [BZ #12792]
21881 * libio/filedoalloc.c (local_isatty): New function.
21882 (_IO_file_doallocate): Use local_isatty.
21883 * stdio-common/perror.c (perror): In case a new stream is used
21884 forward the stream error.
21885 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21886 error flag.
21887
78e64fdc
RT
218882011-05-20 Ulrich Drepper <drepper@gmail.com>
21889
34a9094f
UD
21890 [BZ #11869]
21891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21892 alloca.
21893 * include/alloca.h (extend_alloca_account): Define.
21894
78e64fdc
RT
21895 [BZ #11857]
21896 * posix/regex.h: Fix comments with documentation of user-accessible
21897 fields after compilation and describe correct free'ing of pattern
21898 after re_compile_pattern.
21899 Patch by Reuben Thomas <rrt@sc3d.org>.
21900
457bddfc
RA
219012011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21902
21903 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21904 and -mno-altivec to prevent the compiler from using Altivec and/or
21905 VSX instructions when the corresponding registers are not available.
21906
a4527b51
AS
219072011-05-19 Andreas Schwab <schwab@redhat.com>
21908
21909 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21910
ed690b2f
UD
219112011-05-19 Ulrich Drepper <drepper@gmail.com>
21912
21913 * libio/freopen.c (freopen): Use __dup2, not dup2.
21914 * libio/freopen64.c (freopen64): Likewise.
21915
8db73634
L
219162011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21917
21918 [BZ #12775]
21919 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21920 * math/Makefile (tests): Add test-powl.
21921 (CFLAGS-test-powl.c): Define.
21922 * math/test-powl.c: New file.
21923
0a197a9d
L
219242011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21925
21926 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21927
ee30c380
UD
219282011-05-17 Ulrich Drepper <drepper@gmail.com>
21929
21930 [BZ #11837]
21931 * iconvdata/gb18030.c: Update to GB18020-2005.
21932
6ce75379
UD
219332011-05-16 Ulrich Drepper <drepper@gmail.com>
21934
a4b89fd8
AR
21935 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21936 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21937 Patch by Aharon Robbins <arnold@skeeve.com>.
21938
ea389b12
UD
21939 [BZ #11892]
21940 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21941 on the stack.
21942
68a3f91f
UD
21943 [BZ #11895]
21944 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21945 through underflows.
21946
15cc7dd1
UD
21947 [BZ #12766]
21948 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21949 point to strings before performing equality test for error_one_per_line
21950 mode.
21951
f3799213
UD
21952 [BZ #11697]
21953 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21954
d79a9c94
UD
21955 [BZ #11820]
21956 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21957 (struct user_fpregs_struct): Avoid __uint*_t types.
21958
56e5eb46
UD
21959 [BZ #6420]
21960 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21961 symbol info. Use it instead of calling _dl_addr locally.
21962 (lock_and_info): New function.
21963 (tr_freehook): Call lock_and_info and pass symbol info as additional
21964 parameter to tr_where.
21965 (tr_mallochook): Likewise.
21966 (tr_reallochook): Likewise.
21967 (tr_memalignhook): Likewise.
21968
6ce75379
UD
21969 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21970 used and couldn't be at all thread-safe.
21971
f8a3b5bf
UD
219722011-05-15 Ulrich Drepper <drepper@gmail.com>
21973
94b7cc37
UD
21974 * libio/freopen.c (freopen): Don't close old file descriptor
21975 before the new one is opened. Instead dup the new file descriptor
21976 to the old one after the new stream is created.
21977 * libio/freopen64.c (freopen64): Likewise.
21978 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21979 * libio/fileops.c (_IO_new_file_close_it): Handle new
21980 _IO_FLAGS2_NOCLOSE flag.
21981 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21982 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21983 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21984 _IO_FLAGS2_NOCLOSE flag.
21985 * include/unistd.h: Add hidden_proto for dup3.
21986 Define __have_dup3.
21987 * io/dup3.c: Define hidden symbol.
21988 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21989
bd25564e
UD
21990 [BZ #7101]
21991 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21992 when an incomplete long option is used.
21993 * posix/tst-getopt_long1.c: New file.
21994 * posix/Makefile (tests): Add tst-getopt_long1.
21995
c84cfef4
UD
21996 [BZ #10138]
21997 * scripts/config.guess: Update from autoconf-2.68.
21998 * scripts/config.sub: Likewise.
21999
3b85df27
UD
22000 [BZ #10157]
22001 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22002 tests into ...
22003 (has_cpuclock): ...this. New function.
22004 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22005 macro here based on has_cpuclock code.
22006
15a856b1
UD
22007 [BZ #10149]
22008 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22009 First byte (not low byte) is now always NUL.
22010 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22011
05f399e6
UD
22012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22013 Use non-cancelable interfaces.
22014
10a52685 22015 [BZ #9809]
94ecc67d
UD
22016 * locale/iso-639.def: Add entry for Sorani.
22017
f8a3b5bf
UD
22018 [BZ #11901]
22019 * include/stdlib.h: Move include protection to the right place.
22020 Define abort_msg_s. Declare __abort_msg with it.
22021 * stdlib/abort.c (__abort_msg): Adjust type.
22022 * assert/assert.c (__assert_fail_base): New function. Majority
22023 of code from __assert_fail. Allocate memory for __abort_msg with
22024 mmap.
22025 (__assert_fail): Now call __assert_fail_base.
22026 * assert/assert-perr.c: Remove bulk of implementation. Use
22027 __assert_fail_base.
22028 * include/assert.hL Declare __assert_fail_base.
22029 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22030 mmap.
22031 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22032
1af4e298
UD
220332011-05-14 Ulrich Drepper <drepper@gmail.com>
22034
f8a3b5bf 22035 [BZ #11952]
d26dfc60
MG
22036 [BZ #12453]
22037 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22038 until all modules are registered in the DTV.
22039 * elf/Makefile: Add rules to build and run tst-tls19.
22040 * elf/tst-tls19.c: New file.
22041 * elf/tst-tls19mod1.c: New file.
22042 * elf/tst-tls19mod2.c: New file.
22043 * elf/tst-tls19mod3.c: New file.
22044 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22045
2fc54d6f
UD
22046 [BZ #12083]
22047 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22048 correctly.
22049
98d76b46
UD
22050 [BZ #12601]
22051 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22052 two-byte sequence errors.
22053 * iconvdata/Makefile (tests): Add bug-iconv8.
22054 * iconvdata/bug-iconv8.c: New file.
22055
da3c19ef
UD
22056 [BZ #12626]
22057 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22058 buf2 definition.
22059
ca408c15
UD
22060 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22061
d6f67f7d
UD
22062 [BZ #12432]
22063 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22064 (dummy_getcfa): New function.
22065 (init): Get _Unwind_GetCFA address, use dummy if not found.
22066 (backtrace_helper): In recursion check, also check whether CFA changes.
22067 (__backtrace): Completely initialize arg.
22068
1af4e298 22069 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22070 storing incomplete byte sequence in state object. Avoid testing for
22071 guaranteed too small input if we know there is enough data available.
1af4e298 22072
da62f81b
AS
220732011-05-11 Andreas Schwab <schwab@redhat.com>
22074
22075 * Makeconfig (+link-pie): Indent.
22076 * Rules (binaries-pie): Define if $(have-fpie) and
22077 $(build-shared).
22078 (binaries-shared): Also filter out $(binaries-pie).
22079 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22080 * nscd/Makefile (others-pie): Add nscd.
22081 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22082 ($(objpfx)nscd): Remove command override.
22083 * login/Makefile (others-pie): Add pt_chown.
22084 ($(objpfx)pt_chown): Remove command override.
22085 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22086 remove command overrides.
22087
fcabc0f8
UD
220882011-05-13 Ulrich Drepper <drepper@gmail.com>
22089
20030ae6
UD
22090 * libio/tst_putwc.c: Fix error messages.
22091
fcabc0f8
UD
22092 [BZ #12724]
22093 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22094 currently writing and seek to current position when not.
22095 * libio/Makefile (tests): Add bug-fclose1.
22096 * libio/bug-fclose1.c: New file.
22097
320a5dc0
PB
220982011-05-12 Ulrich Drepper <drepper@gmail.com>
22099
22100 [BZ #12511]
22101 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22102 don't set DF_1_NODELETE here.
22103 (do_lookup_x): When entering new entry test for copy relocation
22104 and if necessary set DF_1_NODELETE flag.
22105 * elf/tst-unique4.cc: New file.
22106 * elf/tst-unique4.h: New file.
22107 * elf/tst-unique4lib.cc: New file.
22108 * elf/Makefile: Add rules to build and run tst-unique4.
22109 Patch by Piotr Bury <pbury@goahead.com>.
22110
22836f52
UD
221112011-05-11 Ulrich Drepper <drepper@gmail.com>
22112
f574184a
UD
22113 [BZ #12052]
22114 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22115
e1fb097f
UD
22116 [BZ #12625]
22117 * misc/mntent_r.c (addmntent): Flush the stream after the output
22118
22836f52
UD
22119 [BZ #12393]
22120 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22121 (is_trusted_path_normalize): Skip initial colon. Append slash
22122 to empty buffer. Duplicate is_trusted_path code but allow
22123 constructed patch to be prefix.
22124 (is_dst): Allow $ORIGIN followed by /.
22125 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22126 Correct testing of result of is_trusted_path_normalize
22127 (decompose_rpath): Fix warning.
22128
7b3b0b2a
UD
221292011-05-10 Ulrich Drepper <drepper@gmail.com>
22130
22131 [BZ #11257]
22132 * grp/initgroups.c (internal_getgrouplist): When we found the service
22133 list through the initgroups entry in nsswitch.conf do not always
22134 continue on a successful lookup. Don't always use the
eac80ce2 22135 __nss_group_database value if it is set.
7b3b0b2a
UD
22136 * nss/nsswitch.conf (initgroups): Change action for successful db
22137 lookup to continue for compatibility.
22138
2a81eaa5
UD
221392011-05-09 Ulrich Drepper <drepper@gmail.com>
22140
be97a69e
UD
22141 [BZ #11532]
22142 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22143 and CP774 modules.
22144 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22145 and CP774 modules.
22146 * iconvdata/tst-tables.sh: Likewise.
22147 * iconvdata/cp770.c: New file.
22148 * iconvdata/cp771.c: New file.
22149 * iconvdata/cp772.c: New file.
22150 * iconvdata/cp773.c: New file.
22151 * iconvdata/cp774.c: New file.
22152 * iconvdata/testdata/CP770: New file.
22153 * iconvdata/testdata/CP770..UTF8: New file.
22154 * iconvdata/testdata/CP771: New file.
22155 * iconvdata/testdata/CP771..UTF8: New file.
22156 * iconvdata/testdata/CP772: New file.
22157 * iconvdata/testdata/CP772..UTF8: New file.
22158 * iconvdata/testdata/CP773: New file.
22159 * iconvdata/testdata/CP773..UTF8: New file.
22160 * iconvdata/testdata/CP774: New file.
22161 * iconvdata/testdata/CP774..UTF8: New file.
22162
22163 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22164 END CHARMAP line.
22165 * iconvdata/gen-8bit-gap.sh: Likewise.
22166 * iconvdata/gen-8bit.sh: Likewise.
22167
c1e9e399
UD
22168 * locale/iso-639.def: Add ary entry.
22169
24c55fb3 22170 [BZ #11258]
96b4b1b0
UD
22171 * locale/C-translit.h.in: Add U20A1 transliteration.
22172
bdc2f971
KB
22173 [BZ #12178]
22174 * locale/iso-639.def: Add wae entry.
22175 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22176
2952b117
UD
22177 [BZ #12545]
22178 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22179 for n.
22180
2a81eaa5
UD
22181 [BZ #12711]
22182 * locale/C-translit.h.in: Add entry for U20B9.
22183 Patch by pravin.d.s@gmail.com.
22184
28377d1b
UD
221852011-05-08 Ulrich Drepper <drepper@gmail.com>
22186
7fb90fb8
UD
22187 [BZ #12713]
22188 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22189 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22190 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22191 in rtld. Use *stat64.
7fb90fb8 22192 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22193 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22194 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22195 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22196 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22197 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22198 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22199 __fstatat64 macros.
7fb90fb8
UD
22200 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22201 * dirent/rewinddir.c: Add libc_hidden_def.
22202 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22203 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22204
28377d1b
UD
22205 * include/dirent.h (__alloc_dir): Add flags parameter.
22206 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22207 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22208 __alloc_dir.
22209 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22210 from fdopendir if O_CLOEXEC is already set.
22211
66bdbaa4
AM
222122011-03-15 Alan Modra <amodra@gmail.com>
22213
22214 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22215 l_tls_firstbyte_offset non-zero. Save padding offset in
22216 l_tls_firstbyte_offset for later use.
22217 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22218 freeing static tls block.
22219
95721191
JN
222202011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22221
22222 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22223 where #ifdef was intended. The intent is to prevent ARG_MAX from
22224 being defined by the kernel headers.
22225
f87dfb1f
UD
222262011-05-07 Ulrich Drepper <drepper@gmail.com>
22227
22228 [BZ #12734]
22229 * resolv/resolv.h: Define RES_NOTLDQUERY.
22230 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22231 no-tld-query and set RES_NOTLDQUERY.
22232 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22233 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22234 modern BIND to search name as TLD unless forbidden.
22235
47c3cd7a
UD
222362011-05-07 Petr Baudis <pasky@suse.cz>
22237 Ulrich Drepper <drepper@gmail.com>
22238
22239 [BZ #12393]
22240 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22241 (is_trusted_path): ...to here.
c1e9ea35 22242 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22243 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22244 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22245
8a35c912
PP
222462011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22247
22248 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22249 __BEGIN/__END_DECLS.
22250
acd41f47
UD
222512011-05-06 Ulrich Drepper <drepper@gmail.com>
22252
22253 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22254 NSS_STATUS_NOTFOUND if no record was found.
22255
597df647
AS
222562011-05-05 Andreas Schwab <schwab@redhat.com>
22257
22258 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22259 (headers-not-in-tirpc): Remove rpc/netdb.h
22260 * resolv/netdb.h: Revert last change.
22261
b9af1301
PP
222622011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22263
22264 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22265 circular dependency between libgcc.a and libc.a.
22266
4e34d5f5
AS
222672011-05-05 Andreas Schwab <schwab@redhat.com>
22268
22269 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22270 * nis/Makefile: Don't install rpcsvc/*.
22271 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22272 instead of <rpc/types.h>.
22273 (MAXHOSTNAMELEN): Define.
22274
00ee369c
AS
222752011-05-03 Andreas Schwab <schwab@redhat.com>
22276
22277 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22278
0b592a30
MB
222792011-04-28 Maciej Babinski <mbabinski@google.com>
22280
22281 [BZ #12714]
22282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22283 gethostbyname4_r when IPv6 results are possible.
22284
6e04cbbe
UD
222852011-05-02 Ulrich Drepper <drepper@gmail.com>
22286
22287 [BZ #12723]
22288 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22289 _PC_PIPE_BUF handling.
22290
e4ecafe0
BH
222912011-04-30 Bruno Haible <bruno@clisp.org>
22292
22293 [BZ #12717]
22294 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22295 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22296 to 'int'.
22297 * inet/getnameinfo.c (getnameinfo): Likewise.
22298
125ee683
UD
222992011-04-29 Ulrich Drepper <drepper@gmail.com>
22300
22301 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22302 to groups setting in database lookup.
22303 * nss/nsswitch.conf: Add initgroups entry.
22304
b722481a
EB
223052011-04-22 Ulrich Drepper <drepper@gmail.com>
22306
22307 [BZ #12685]
22308 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22309 mode string.
22310 Patch by Eric Blake <eblake@redhat.com>.
22311
4df46dbd
L
223122011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22313
22314 * sunrpc/Makefile (need-export-routines): Add svc_run.
22315 (routines): Remove svc_run.
22316 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22317 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22318 * sunrpc/svc_run.c (svc_run): Likewise.
22319 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22320
e84142d2
UD
223212011-04-21 Ulrich Drepper <drepper@gmail.com>
22322
22323 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22324 problem in reallocation in last patch.
22325
877175d8
UD
223262011-04-20 Ulrich Drepper <drepper@gmail.com>
22327
22328 * sunrpc/Makefile: Move inclusion of Rules.
22329
ab8eed78
UD
223302011-04-19 Ulrich Drepper <drepper@gmail.com>
22331
22332 * nss/nss_files/files-initgroups.c: New file.
22333 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22334 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22335 _nss_files_initgroups_dyn.
22336
e3d8f584
RS
223372011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22338
22339 * elf/elf.h (R_ARM_IRELATIVE): Define.
22340
af190f45
UD
223412011-04-19 Ulrich Drepper <drepper@gmail.com>
22342
22343 * po/ru.po: Update from translation team.
22344
53cf59ef
UD
223452011-04-17 Ulrich Drepper <drepper@gmail.com>
22346
22347 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22348 dependencies.
22349
4c559bcd
MF
223502011-02-06 Mike Frysinger <vapier@gentoo.org>
22351
22352 [BZ #12653]
22353 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22354 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22355 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22356 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22357 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22358
4420675c
AS
223592011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22360
22361 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22362 differing bytes.
22363 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22364 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22365 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22366
75ea32ab
UD
223672011-04-17 Ulrich Drepper <drepper@gmail.com>
22368
22369 [BZ #12420]
22370 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22371 storing it.
22372 * stdlib/bug-getcontext.c: New file.
22373 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22374
27390476
AK
223752011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22376
22377 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22378 instructions into .machine "z9-109".
22379 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22380 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22381
10442705
AK
223822011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22383
22384 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22385 between environment variables and auxiliary vector.
22386
7b57bfe5
UD
223872011-04-16 Ulrich Drepper <drepper@gmail.com>
22388
22389 * Makefile: Add rules to build linkobj/libc.so.
22390 * include/libc-symbols.h: Define libc_hidden_nolink.
22391 * include/rpc/auth.h: Mark functions which are to be hidden.
22392 * include/rpc/auth_des.h: Likewise.
22393 * include/rpc/auth_unix.h: Likewise.
22394 * include/rpc/clnt.h: Likewise.
22395 * include/rpc/des_crypt.h: Likewise.
22396 * include/rpc/key_prot.h: Likewise.
22397 * include/rpc/pmap_clnt.h: Likewise.
22398 * include/rpc/pmap_prot.h: Likewise.
22399 * include/rpc/pmap_rmt.h: Likewise.
22400 * include/rpc/rpc_msg.h: Likewise.
22401 * include/rpc/svc.h: Likewise.
22402 * include/rpc/svc_auth.h: Likewise.
22403 * include/rpc/xdr.h: Likewise.
22404 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22405 * nss/Makefile: Likewise.
22406 * sunrpc/Makefile: Don't install headers. Build library with normal
22407 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22408 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22409 for the compat linking library. Remove use of INTDEF/INTUSE.
22410 * sunrpc/auth_none.c: Likewise.
22411 * sunrpc/auth_unix.c: Likewise.
22412 * sunrpc/authdes_prot.c: Likewise.
22413 * sunrpc/authuxprot.c: Likewise.
22414 * sunrpc/clnt_gen.c: Likewise.
22415 * sunrpc/clnt_perr.c: Likewise.
22416 * sunrpc/clnt_raw.c: Likewise.
22417 * sunrpc/clnt_simp.c: Likewise.
22418 * sunrpc/clnt_tcp.c: Likewise.
22419 * sunrpc/clnt_udp.c: Likewise.
22420 * sunrpc/clnt_unix.c: Likewise.
22421 * sunrpc/des_crypt.c: Likewise.
22422 * sunrpc/des_soft.c: Likewise.
22423 * sunrpc/get_myaddr.c: Likewise.
22424 * sunrpc/key_call.c: Likewise.
22425 * sunrpc/key_prot.c: Likewise.
22426 * sunrpc/netname.c: Likewise.
22427 * sunrpc/pm_getmaps.c: Likewise.
22428 * sunrpc/pm_getport.c: Likewise.
22429 * sunrpc/pmap_clnt.c: Likewise.
22430 * sunrpc/pmap_prot.c: Likewise.
22431 * sunrpc/pmap_prot2.c: Likewise.
22432 * sunrpc/pmap_rmt.c: Likewise.
22433 * sunrpc/publickey.c: Likewise.
22434 * sunrpc/rpc_cmsg.c: Likewise.
22435 * sunrpc/rpc_common.c: Likewise.
22436 * sunrpc/rpc_dtable.c: Likewise.
22437 * sunrpc/rpc_prot.c: Likewise.
22438 * sunrpc/rpc_thread.c: Likewise.
22439 * sunrpc/rtime.c: Likewise.
22440 * sunrpc/svc.c: Likewise.
22441 * sunrpc/svc_auth.c: Likewise.
22442 * sunrpc/svc_authux.c: Likewise.
22443 * sunrpc/svc_raw.c: Likewise.
22444 * sunrpc/svc_run.c: Likewise.
22445 * sunrpc/svc_simple.c: Likewise.
22446 * sunrpc/svc_tcp.c: Likewise.
22447 * sunrpc/svc_udp.c: Likewise.
22448 * sunrpc/svc_unix.c: Likewise.
22449 * sunrpc/svcauth_des.c: Likewise.
22450 * sunrpc/xcrypt.c: Likewise.
22451 * sunrpc/xdr.c: Likewise.
22452 * sunrpc/xdr_array.c: Likewise.
22453 * sunrpc/xdr_float.c: Likewise.
22454 * sunrpc/xdr_intXX_t.c: Likewise.
22455 * sunrpc/xdr_mem.c: Likewise.
22456 * sunrpc/xdr_rec.c: Likewise.
22457 * sunrpc/xdr_ref.c: Likewise.
22458 * sunrpc/xdr_sizeof.c: Likewise.
22459 * sunrpc/xdr_stdio.c: Likewise.
22460
e6c61494
UD
224612011-04-10 Ulrich Drepper <drepper@gmail.com>
22462
22463 [BZ #12650]
22464 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22465 * sysdeps/ia64/dl-tls.h: Likewise.
22466 * sysdeps/powerpc/dl-tls.h: Likewise.
22467 * sysdeps/s390/dl-tls.h: Likewise.
22468 * sysdeps/sh/dl-tls.h: Likewise.
22469 * sysdeps/sparc/dl-tls.h: Likewise.
22470 * sysdeps/x86_64/dl-tls.h: Likewise.
22471 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22472
34fe483e
AS
224732011-03-14 Andreas Schwab <schwab@redhat.com>
22474
22475 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22476 rpath element also skip the following colon.
22477 (expand_dynamic_string_token): Add is_path parameter and pass
22478 down to DL_DST_REQUIRED and _dl_dst_substitute.
22479 (decompose_rpath): Call expand_dynamic_string_token with
22480 non-zero is_path. Ignore empty rpaths.
22481 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22482 with zero is_path.
22483
f12a32e6
AS
224842011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22485
22486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22487 Make cancelable.
22488
38a7d692
UD
224892011-04-09 Ulrich Drepper <drepper@gmail.com>
22490
22491 [BZ #12655]
22492 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22493 Patch by Filipe David Manana <fdmanana@apache.org>.
22494
e451d22b
AS
224952011-04-07 Andreas Schwab <schwab@redhat.com>
22496
22497 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22498 Maintain aligned stack.
22499 (CHECK_RSP): Remove unused macro.
22500
dedc7c7b
UD
225012011-04-03 Ulrich Drepper <drepper@gmail.com>
22502
22503 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22504 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22505
94521213
UD
225062011-04-02 Ulrich Drepper <drepper@gmail.com>
22507
22508 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22509
8cb700c0 22510 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22511
0354e355
L
225122011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22513
22514 [BZ #12518]
22515 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22516 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22517 * sysdeps/x86_64/memmove.c: New file.
22518 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22519 (memcpy): Renamed to ...
22520 (__new_memcpy): This.
22521 (memcpy): Provide GLIBC_2_14 memcpy.
22522 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22523 (memcpy): Provide GLIBC_2_2_5 memcpy.
22524
8593482f
UD
225252011-04-01 Ulrich Drepper <drepper@gmail.com>
22526
22527 [BZ #12631]
22528 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22529
81a5726b
AS
225302011-03-30 Andreas Schwab <schwab@redhat.com>
22531
22532 * misc/syncfs.c: New file.
22533 * misc/Makefile (routines): Add syncfs.
22534 * posix/unistd.h: Declare syncfs.
22535 * sysdeps/unix/syscalls.list: Add syncfs.
22536
00e5419f
AS
225372011-04-01 Andreas Schwab <schwab@redhat.com>
22538
22539 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22540 open_by_handle_at.
22541 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22542 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22543 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22544 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22545 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22546 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22548
748876bf
UD
225492011-04-01 Ulrich Drepper <drepper@gmail.com>
22550
658e451d
UD
22551 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22552 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22553 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22554 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22555 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22557 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22558
748876bf
UD
22559 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22560 sync_file_range.c with -fexceptions.
22561 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22562 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22563 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22564 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22565 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22566 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22568 sync_file_range as cancellation point
22569 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22570 now a wrapper around __call_sync_file_range with cancellation handling.
22571 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22572 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22573 function name to __call_sync_file_range.
22574 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22575 Add call_sync_file_range.
748876bf 22576
6e63d5e1
AS
225772011-04-01 Andreas Schwab <schwab@redhat.com>
22578
22579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22580 bits/timex.h.
6e63d5e1 22581
46998f74
UD
225822011-04-01 Ulrich Drepper <drepper@gmail.com>
22583
4c1423ed
UD
22584 * iconv/iconv.h: Fix typo in comment.
22585 * io/fcntl.h: Likewise.
22586 * libio/stdio.h: Likewise.
22587 * posix/spawn.h: Likewise.
22588 * posix/unistd.h: Likewise.
22589 * stdlib/stdlib.h: Likewise.
22590 * time/time.h: Likewise.
22591 * wcsmbs/wchar.h: Likewise.
22592
158648c0
UD
22593 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22594 open_by_handle): Add.
22595 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22596 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22597 Augment a few comments.
22598 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22599 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22600 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22602 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22603 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22604 open_by_handle.
22605
46998f74
UD
22606 * io/fcntl.h (AT_EMPTY_PATH): Define.
22607
83fe108b
UD
226082011-03-30 Ulrich Drepper <drepper@gmail.com>
22609
22610 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22611 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22612 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22613 to...
22614 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22615 * Versions.def: Add GLIBC_2.14.
22616 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22617 Export.
83fe108b 22618
bb242059
UD
226192011-03-22 Ulrich Drepper <drepper@gmail.com>
22620
22621 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22622 round counter.
22623 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22624
c97a1282
L
226252011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22626
22627 [BZ #12597]
22628 * string/test-strncmp.c (do_page_test): New function.
22629 (check2): Likewise.
22630 (test_main): Call check2.
22631 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22632
2a115601
UD
226332011-03-20 Ulrich Drepper <drepper@gmail.com>
22634
22635 [BZ #12587]
22636 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22637 Handle cache information in CPU leaf 4.
22638 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22639
8126d904
UD
226402011-03-18 Ulrich Drepper <drepper@gmail.com>
22641
042c49c6 22642 [BZ #12583]
8126d904
UD
22643 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22644 character representation.
22645 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22646
ccfe366e
RA
226472011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22648
22649 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22650 END(__isnan) to END(__isnanf) to match function entry point/label
22651 EALIGN(__isnanf,...).
22652
c6e13027
JJ
226532011-03-10 Jakub Jelinek <jakub@redhat.com>
22654
22655 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22656
33f85a3f
UD
226572011-03-10 Ulrich Drepper <drepper@gmail.com>
22658
028478fa
UD
22659 [BZ #12510]
22660 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22661 copy from the symbol referenced in the relocation to initialize the
22662 used variable.
22663 Patch by Piotr Bury <pbury@goahead.com>.
22664 * elf/Makefile: Add rules to build and tst-unique3.
22665 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22666 * elf/tst-unique3.cc: New file.
22667 * elf/tst-unique3.h: New file.
22668 * elf/tst-unique3lib.cc: New file.
22669 * elf/tst-unique3lib2.cc: New file.
22670
33f85a3f
UD
22671 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22672
03592fc7
MF
226732011-03-10 Mike Frysinger <vapier@gentoo.org>
22674
22675 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22676 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22677 to _start.
03592fc7 22678
6a5ee102
UD
226792011-03-06 Ulrich Drepper <drepper@gmail.com>
22680
22681 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22682 to-be-loaded object along a path to loader is ld.so.
22683
7e4ba49c
HJ
226842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22685 Ulrich Drepper <drepper@gmail.com>
22686
22687 * sysdeps/x86_64/memset.S: After aligning destination, code
22688 branches to different locations depending on the value of
22689 misalignment, when multiarch is enabled. Fix this.
22690
226912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22692
22693 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22694 Set _x86_64_preferred_memory_instruction for AMD processsors.
22695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22696 Set bit_Prefer_SSE_for_memop for AMD processors.
22697
13a804de
UD
226982011-03-04 Ulrich Drepper <drepper@gmail.com>
22699
22700 * libio/fmemopen.c (fmemopen): Optimize a bit.
22701
9d25c392
AS
227022011-03-03 Andreas Schwab <schwab@redhat.com>
22703
22704 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22705
a5543c6a
RM
227062011-03-03 Roland McGrath <roland@redhat.com>
22707
22708 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22709
012d35f7
DM
227102011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22711
7e4ba49c 22712 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22713 __bzero_ultra1 instead of __memset_ultra1.
22714
4bff6e01
AS
227152011-02-23 Andreas Schwab <schwab@redhat.com>
22716 Ulrich Drepper <drepper@gmail.com>
22717
22718 [BZ #12509]
22719 * include/link.h (struct link_map): Add l_orig_initfini.
22720 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22721 returning unsuccessfully.
22722 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22723 close of a file loaded at startup, restore the original l_initfini
22724 list.
22725 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22726 list, store the pointer.
22727 * elf/Makefile ($(objpfx)noload-mem): New rule.
22728 (noload-ENV): Define.
22729 (tests): Add $(objpfx)noload-mem.
22730 * elf/noload.c: Include <memcheck.h>.
22731 (main): Call mtrace. Close all opened handles.
22732
f2092faf
AS
227332011-02-17 Andreas Schwab <schwab@redhat.com>
22734
22735 [BZ #12454]
22736 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22737 dependencies are missing.
22738
6c8a2e88
ST
227392011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22740
f2092faf 22741 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22742 Hurd needs munmap.
22743 * sysdeps/mach/hurd/ifreq.h: New file.
22744
84a42118
PB
227452011-01-27 Petr Baudis <pasky@suse.cz>
22746 Ulrich Drepper <drepper@gmail.com>
22747
071f805e 22748 [BZ 12445]#
84a42118
PB
22749 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22750 to extend_alloca().
22751 * stdio-common/bug23.c: New file.
22752 * stdio-common/Makefile (tests): Add bug23.
22753
e23fe25b
AS
227542010-09-28 Andreas Schwab <schwab@redhat.com>
22755 Ulrich Drepper <drepper@gmail.com>
22756
22757 [BZ #12489]
22758 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22759 before performing relro protection. At old place add assertion
22760 to make sure nothing changed.
22761
d3f02e10
NS
227622011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22763 Glauber de Oliveira Costa <glommer@gmail.com>
22764
22765 * elf/elf.h: Add new ARM TLS relocs.
22766
d55fd7a5
RA
227672011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22768
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22770 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22771 cast from r3.
22772 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22773 'tests' variable.
22774 * sysdeps/wordsize-64/tst-writev.c: New file.
22775
2206397e
RA
227762011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22777
22778 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22779 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22780 insns in _dl_start to prevent a TOC reference before relocs are
22781 resolved.
22782
e9433893
UD
227832011-02-15 Ulrich Drepper <drepper@gmail.com>
22784
22785 [BZ #12469]
22786 * Makeconfig: Remove RANLIB definition.
22787 * Makerules: Don't use RANLIB.
22788 * aclocal.m4: Remove ranlib test.
22789 * configure.in: No need to check for ranlib.
22790 * elf/rtld-Rules: Don't use RANLIB.
22791
f75286c6
ST
227922011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22793
8e31c82d
ST
22794 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22795 protection macro.
22796 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22797 inclusion protection macro.
22798
f75286c6
ST
22799 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22800 SIGRTMIN and SIGRTMAX and print information in that case only when
22801 SIGRTMIN is defined.
22802
c1d0e639
JJ
228032011-02-11 Jakub Jelinek <jakub@redhat.com>
22804
22805 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22806 arginfo fn returning -1.
22807
22808 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22809 and thousands string is zero terminated.
22810
edf9294e
AS
228112011-02-03 Andreas Schwab <schwab@redhat.com>
22812
22813 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22814 sysdeps/unix/sysv/linux/bits/socket.h.
22815
2b7e92df
ST
228162011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22817
edf9294e
AS
22818 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22819 (__CPU_COUNT): Remove old macros.
22820 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22821 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22822 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22823 (__sched_cpualloc, __sched_cpufree): Add declarations.
22824
a4c7ea7b
UD
228252011-02-05 Ulrich Drepper <drepper@gmail.com>
22826
22827 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22828 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22829 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22830 (readdhstai): Return value of addhstaiX call.
22831 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22832 (addgrbyX): Return value returned by cache_addgr.
22833 (readdgrbyname): Return value returned by addgrbyX.
22834 (readdgrbygid): Likewise.
22835 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22836 (addpwbyX): Return value returned by cache_addpw.
22837 (readdpwbyname): Return value returned by addhstbyX.
22838 (readdpwbyuid): Likewise.
22839 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22840 (addservbyX): Return value returned by cache_addserv.
22841 (readdservbyname): Return value returned by addservbyX:
22842 (readdservbyport): Likewise.
22843 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22844 (addhstbyX): Return value returned by cache_addhst.
22845 (readdhstbyname): Return value returned by addhstbyX.
22846 (readdhstbyaddr): Likewise.
22847 (readdhstbynamev6): Likewise.
22848 (readdhstbyaddrv6): Likewise.
22849 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22850 (readdinitgroups): Return value returned by addinitgroupsX.
22851 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22852 (prune_cache): Keep track of timeout value of re-added entries.
22853 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22854 * nscd/nscd.h: Adjust prototypes of readd* functions.
22855
a0bf67cc
RM
228562011-02-04 Roland McGrath <roland@redhat.com>
22857
22858 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22859 (nis_stats): Likewise.
22860 * nis/nis_modify.c (nis_modify): Likewise.
22861 * nis/nis_remove.c (nis_remove): Likewise.
22862 * nis/nis_add.c (nis_add): Likewise.
22863
22864 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22865
22866 * posix/fnmatch_loop.c: Add some consts.
22867
22868 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22869
435b95eb
L
228702011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22871
22872 [BZ #12460]
22873 * config.make.in (config-cflags-novzeroupper): Define.
22874 * configure.in: Substitute libc_cv_cc_novzeroupper.
22875 * elf/Makefile (AVX-CFLAGS): Define.
22876 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22877 (CFLAGS-tst-auditmod4a.c): Likewise.
22878 (CFLAGS-tst-auditmod4b.c): Likewise.
22879 (CFLAGS-tst-auditmod6b.c): Likewise.
22880 (CFLAGS-tst-auditmod6c.c): Likewise.
22881 (CFLAGS-tst-auditmod7b.c): Likewise.
22882 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22883
8517b15e
UD
228842011-02-02 Ulrich Drepper <drepper@gmail.com>
22885
22886 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22887 function to the callback.
22888 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22889
10a656fe
AS
228902011-02-02 Andreas Schwab <schwab@redhat.com>
22891
22892 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22893 of errno.
22894
968dad0a
UD
228952011-01-19 Ulrich Drepper <drepper@gmail.com>
22896
9f94d2ea 22897 [BZ #11724]
968dad0a
UD
22898 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22899 of constructors.
22900 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22901 of destructors.
22902 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22903
22904 [BZ #11724]
22905 * elf/Makefile: Add rules to build and run new test.
22906 * elf/tst-initorder.c: New file.
22907 * elf/tst-initorder.exp: New file.
22908 * elf/tst-initordera1.c: New file.
22909 * elf/tst-initordera2.c: New file.
22910 * elf/tst-initordera3.c: New file.
22911 * elf/tst-initordera4.c: New file.
22912 * elf/tst-initorderb1.c: New file.
22913 * elf/tst-initorderb2.c: New file.
22914 * elf/tst-order-a1.c: New file.
22915 * elf/tst-order-a2.c: New file.
22916 * elf/tst-order-a3.c: New file.
22917 * elf/tst-order-a4.c: New file.
22918 * elf/tst-order-b1.c: New file.
22919 * elf/tst-order-b2.c: New file.
22920 * elf/tst-order-main.c: New file.
22921 New test case by George Gensure <werkt0@gmail.com>.
22922
86e92359
UD
229232010-10-01 Andreas Schwab <schwab@redhat.com>
22924
22925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22926 decoding ACE if AI_CANONIDN.
22927
5d5732b0
UD
229282011-01-18 Ulrich Drepper <drepper@gmail.com>
22929
22930 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22931
a77e8cbc
UD
229322011-01-17 Ulrich Drepper <drepper@gmail.com>
22933
6392473f
UD
22934 * version.h (RELEASE): Bump for 2.13 release.
22935 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22936
620a0529
UD
22937 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22938
18ba70a5
UD
22939 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22940 MADV_NOHUGEPAGE.
32465c3e
UD
22941 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22942 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22943 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22945 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22946 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22947
c0dafcf1
UD
22948 * posix/getconf.c: Update copyright year.
22949 * catgets/gencat.c: Likewise.
22950 * csu/version.c: Likewise.
22951 * debug/catchsegv.sh: Likewise.
22952 * debug/xtrace.sh: Likewise.
22953 * elf/ldconfig.c: Likewise.
22954 * elf/ldd.bash.in: Likewise.
22955 * elf/sprof.c (print_version): Likewise.
22956 * iconv/iconv_prog.c: Likewise.
22957 * iconv/iconvconfig.c: Likewise.
22958 * locale/programs/locale.c: Likewise.
22959 * locale/programs/localedef.c: Likewise.
22960 * malloc/memusage.sh: Likewise.
22961 * malloc/mtrace.pl: Likewise.
22962 * nscd/nscd.c (print_version): Likewise.
22963 * nss/getent.c: Likewise.
22964
a77e8cbc
UD
22965 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22966 PF_CAIF, and PF_ALG.
22967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22968
77e8bddf
AS
229692011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22970
1f20b93a
AS
22971 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22972 (modules-names): Use them.
22973 (ifunc-test-modules, ifunc-pie-tests): Define.
22974 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22975 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22976 (test-extras): Likewise.
22977 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22978 $(compile-command.c).
22979 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22980 (all-built-dso): Define.
22981 (check-textrel.out, check-execstack.out): Depend on it.
22982
77e8bddf
AS
22983 * configure.in: Don't override --enable-multi-arch.
22984
bc425b33
UD
229852011-01-15 Ulrich Drepper <drepper@gmail.com>
22986
22987 [BZ #6812]
22988 * nscd/hstcache.c (tryagain): Define.
22989 (cache_addhst): Return tryagain not notfound for temporary errors.
22990 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22991 failed.
22992
794c3ad3
UD
229932011-01-14 Ulrich Drepper <drepper@gmail.com>
22994
70181fdd
UD
22995 [BZ #10563]
22996 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22997 to make the syscall.
22998 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22999
794c3ad3
UD
23000 [BZ #12378]
23001 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23002 and fall back to matching as normal character if the string ends before
23003 the matching ']' is found. This is what POSIX requires.
23004 * posix/testfnm.c: Adjust test result.
23005 * posix/globtest.sh: Adjust test result. Add new test.
23006 * posix/tst-fnmatch.input: Likewise.
23007 * posix/tst-fnmatch2.c: Add new test.
23008
68dc9497
AS
230092010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23010
23011 * elf/Makefile (check-execstack): Revert last change. Depend on
23012 check-execstack.h.
23013 (check-execstack.h): New target.
23014 (generated): Add check-execstack.h.
23015 * elf/check-execstack.c: Include "check-execstack.h".
23016 (main): Revert last change.
23017 (handle_file): Return zero if GNU_STACK is absent and
23018 DEFAULT_STACK_PERMS doesn't include PF_X.
23019
451f001b
UD
230202011-01-13 Ulrich Drepper <drepper@gmail.com>
23021
cfa28e56
UD
23022 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23023 in child fails because the descriptor is already closed.
8cf8ce17
UD
23024 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23025 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23026 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23027
1086d70d
UD
23028 [BZ #12397]
23029 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23030 syscall.
23031
451f001b
UD
23032 [BZ #10484]
23033 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23034 temporary buffer used to handle multi lookups locally.
a85b5cb4 23035 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23036
08769175
UD
230372011-01-12 Ulrich Drepper <drepper@gmail.com>
23038
23039 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23040 loader is ld.so.
23041
5e49c52e
UD
230422011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23043
23044 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23045 alignment for SSE2.
23046
60522a5f
UD
230472011-01-12 Ulrich Drepper <drepper@gmail.com>
23048
23049 [BZ #12394]
23050 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23051 characters. When rounding increased number of integer digits recompute
23052 number of groups.
23053 * stdio-common/tst-grouping.c: New file.
23054 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23055
f257bbd7
UD
230562011-01-09 Ulrich Drepper <drepper@gmail.com>
23057
23058 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23059 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23060
23061 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23062 void.
23063 * bits/select.h: Likewise.
23064
fa9c15cb
UD
230652011-01-08 Ulrich Drepper <drepper@gmail.com>
23066
23067 * po/ja.po: Update from translation team.
23068
16c2895f
DM
230692011-01-04 David S. Miller <davem@sunset.davemloft.net>
23070
23071 [BZ #11155]
23072 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23073 implementation just like for lxstat, fxstatat, et al.
23074
2543fef2
JM
230752010-12-27 Jim Meyering <meyering@redhat.com>
23076
23077 [BZ #12348]
23078 * posix/regexec.c (build_trtable): Return failure indication upon
23079 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23080
98727dbe
UD
230812010-12-25 Ulrich Drepper <drepper@gmail.com>
23082
5bd6dc5c
UD
23083 [BZ #12201]
23084 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23085 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23086 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23087 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23088
97983464
UD
23089 [BZ #12207]
23090 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23091
98727dbe
UD
23092 [BZ #12204]
23093 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23094 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23095
4a531bb0
L
230962010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23097
23098 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23099 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23100 script has SORT_BY_INIT_PRIORITY.
23101 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23102 NO_CTORS_DTORS_SECTIONS is defined.
23103 * elf/soinit.c: Likewise.
23104 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23105 NO_CTORS_DTORS_SECTIONS is defined.
23106 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23107 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23108 * sysdeps/sh/init-first.c: Likewise.
23109 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23110
07eb4b71
UD
231112010-12-24 Ulrich Drepper <drepper@gmail.com>
23112
23113 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23114 always use the slow path.
23115
30950a5f
RA
231162010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23117
23118 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23119 similar rule which adds the sysdep directories to the header search in
23120 order to pick up the correct platform stackinfo.h.
23121 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23122 perform test if it is, otherwise return successfully without testing.
23123 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23124 DEFAULT_STACK_PERMS define in stackinfo.h.
23125 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23126 defined in stackinfo.h.
23127 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23128 DEFAULT_STACK_PERMS defined in stackinfo.h.
23129 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23130 * sysdeps/ia64/stackinfo.h: Likewise.
23131 * sysdeps/s390/stackinfo.h: Likewise.
23132 * sysdeps/sh/stackinfo.h: Likewise.
23133 * sysdeps/sparc/stackinfo.h: Likewise.
23134 * sysdeps/x86_64/stackinfo.h: Likewise.
23135 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23136 PF_X for powerpc64. Retain PF_X for powerpc32.
23137
db753e2c
UD
231382010-12-19 Ulrich Drepper <drepper@gmail.com>
23139
14b697f7
UD
23140 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23141 accurately.
db753e2c
UD
23142 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23143 GETDENTS_64BIT_ALIGNED.
23144
28300719
UD
231452010-12-14 Ulrich Drepper <dreper@gmail.com>
23146
14b697f7 23147 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23148
4f197237
AS
231492010-12-10 Andreas Schwab <schwab@redhat.com>
23150
dbb0472f
AS
23151 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23152 _GNU_SOURCE.
23153
4f197237
AS
23154 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23155 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23156 Remove __restrict.
23157 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23158 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23159
fb88ac72
UD
231602010-12-09 Ulrich Drepper <drepper@gmail.com>
23161
23162 [BZ #11655]
23163 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23164 are initialized.
23165
42acbb92
JJ
231662010-12-09 Jakub Jelinek <jakub@redhat.com>
23167
23168 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23169
c038d98d
UD
231702010-12-03 Ulrich Drepper <drepper@gmail.com>
23171
23172 * po/it.po: Update from translation team.
23173
3a4a2499
L
231742010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23175
23176 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23177 unused codes.
23178
1e24cf6e
UD
231792010-11-30 Ulrich Drepper <drepper@gmail.com>
23180
23181 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23182
a7690819
AS
231832010-11-24 Andreas Schwab <schwab@redhat.com>
23184
23185 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23186 specially.
23187 (gaih_getanswer_slice): Likewise.
23188
3bf8d1b1
JJ
231892010-10-20 Jakub Jelinek <jakub@redhat.com>
23190
23191 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23192
6db52fbb
PB
231932010-05-31 Petr Baudis <pasky@suse.cz>
23194
23195 [BZ #11149]
23196 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23197 silently even in the chroot mode.
23198
eaca7569
UD
231992010-11-22 Ulrich Drepper <drepper@gmail.com>
23200
23201 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23202 last patch a bit. Pretty printing
23203
3056dcdb
UD
232042010-05-31 Petr Baudis <pasky@suse.cz>
23205
23206 [BZ #10085]
23207 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23208 initialization of skip_initgroups_dyn.
23209
cf7c9078
UD
232102010-11-19 Ulrich Drepper <drepper@gmail.com>
23211
23212 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23213 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23214
a1fb5e3e
UD
232152010-11-16 Ulrich Drepper <drepper@gmail.com>
23216
23217 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23218
3540d66b
AS
232192010-11-11 Andreas Schwab <schwab@redhat.com>
23220
23221 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23222 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23223 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23224 ($(objpfx)tst-fnmatch-mem): New rule.
23225 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23226 * posix/tst-fnmatch.c (main): Call mtrace.
23227
13b69574
L
232282010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23229
23230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23231 Support Intel processor model 6 and model 0x2c.
23232
da93d214
LM
232332010-11-10 Luis Machado <luisgpm@br.ibm.com>
23234
23235 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23236 signed comparison.
23237
8ca52c6e
L
232382010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23239
23240 [BZ #12205]
23241 * string/test-strncasecmp.c (check_result): New function.
23242 (do_one_test): Use it.
23243 (check1): New function.
23244 (test_main): Use it.
23245 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23246 Support strcasecmp and strncasecmp.
23247
69da074d
UD
232482010-11-08 Ulrich Drepper <drepper@gmail.com>
23249
23250 [BZ #12194]
23251 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23252 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23253
ff02d528
L
232542010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23255
23256 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23257 IFUNC support.
23258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23259 memset-x86-64.
23260 * sysdeps/x86_64/multiarch/bzero.S: New file.
23261 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23262 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23263 * sysdeps/x86_64/multiarch/memset.S: New file.
23264 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23266 Set bit_Prefer_SSE_for_memop for Intel processors.
23267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23268 Define.
23269 (index_Prefer_SSE_for_memop): Define.
23270 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23271
344d0b54
LM
232722010-11-04 Luis Machado <luisgpm@br.ibm.com>
23273
23274 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23275 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23276
c0dde15b
UD
232772010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23278
23279 [BZ #12191]
23280 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23281 (__x86_64_raw_data_cache_size_half): Likewise.
23282 (__x86_64_raw_shared_cache_size): Likewise.
23283 (__x86_64_raw_shared_cache_size_half): Likewise.
23284
23285 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23286 (__x86_64_raw_data_cache_size_half): Likewise.
23287 (__x86_64_raw_shared_cache_size): Likewise.
23288 (__x86_64_raw_shared_cache_size_half): Likewise.
23289 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23290 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23291 and __x86_64_raw_shared_cache_size_half. Round
23292 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23293 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23294 to multiple of 256 bytes.
23295
0e516e0e
MS
232962010-11-03 Ulrich Drepper <drepper@gmail.com>
23297
23298 [BZ #12167]
23299 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23300 of inacessible symlinks. Verify result of symlink before returning it.
23301 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23302 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23303
0e012e87
ER
233042010-10-28 Erich Ritz <erichritz@gmail.com>
23305
23306 * math/math.h (isinf): Fix typo in comment.
23307
de0ff7bc
UD
233082010-11-01 Ulrich Drepper <drepper@gmail.com>
23309
23310 * po/da.po: Update from translation team.
23311
fa41c84d
UD
233122010-10-26 Ulrich Drepper <drepper@gmail.com>
23313
23314 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23315 is added to the list.
23316
f0967738
AK
233172010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23318 Ulrich Drepper <drepper@gmail.com>
23319
23320 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23321 the global list here. Move code to...
23322 (_dl_add_to_namespace_list): ...here. New function.
23323 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23324 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23325 * elf/dl-load.c (lose): Don't remove the element from the list.
23326 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23327 (_dl_map_object): Likewise.
23328
233292010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23330
23331 [BZ #12159]
23332 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23333 into all bytes of SSE register.
23334 Patch by Richard Li <richardpku@gmail.com>.
23335
f0967738 233362010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23337
23338 [BZ #12140]
23339 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23340 perturbing.
23341
d0b9e94f
MB
233422010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23343
23344 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23345 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23346 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23347 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23349 submachine.
23350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23351
8e9f92e9
AS
233522010-10-22 Andreas Schwab <schwab@redhat.com>
23353
23354 * include/dlfcn.h (__RTLD_SECURE): Define.
23355 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23356 mode & __RTLD_SECURE instead.
23357 (open_path): Rename preloaded parameter to secure.
23358 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23359 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23360 * elf/dl-deps.c (openaux): Likewise.
23361 * elf/rtld.c (struct map_args): Remove is_preloaded.
23362 (map_doit): Don't use it.
23363 (dl_main): Likewise.
23364 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23365 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23366
bc96fbda
AS
233672010-09-09 Andreas Schwab <schwab@redhat.com>
23368
23369 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23370 (sysd-rules-targets): Remove duplicates.
23371 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23372 rtld-%.$o dependency.
23373
22cd1c9b
AS
233742010-10-18 Andreas Schwab <schwab@redhat.com>
23375
23376 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23377 _dl_map_object do it.
23378
18edac48
UD
233792010-10-19 Ulrich Drepper <drepper@gmail.com>
23380
23381 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23382 fast fma builtins, define the macros in the C99 standard.
23383 (FP_FAST_FMAF): Likewise.
23384 (FP_FAST_FMAL): Likewise.
23385 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23386
23387 * bits/mathdef.h: Update copyright year.
23388 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23389
d2050124
MM
233902010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23391
23392 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23393 builtins, define the macros in the C99 standard.
23394 (FP_FAST_FMAF): Likewise.
23395 (FP_FAST_FMAL): Likewise.
23396 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23397 multiply/add.
23398 (FP_FAST_FMAF): Likewise.
23399
475facd1
JJ
234002010-10-15 Jakub Jelinek <jakub@redhat.com>
23401
23402 [BZ #3268]
23403 * math/libm-test.inc (fma_test): Some new testcases.
23404 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23405 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23406 y and infinite z. Do multiplication by C already in long double.
23407 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23409 y and infinite z. Do bitwise or of inexact bit into u.d.
23410 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23411 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23412 * sysdeps/i386/fpu/s_fma.S: Removed.
23413 * sysdeps/i386/fpu/s_fmal.S: Removed.
23414
7c08a05c
JJ
234152010-10-16 Jakub Jelinek <jakub@redhat.com>
23416
23417 [BZ #3268]
23418 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23419 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23420 computation is not scheduled after fetestexcept. Fix value
23421 of minimum denormal long double.
23422
f3f7372d
JJ
234232010-10-14 Jakub Jelinek <jakub@redhat.com>
23424
23425 [BZ #3268]
23426 * math/libm-test.inc (fma_test): Add some more tests.
23427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23428 correctly.
23429
14d43591
AS
234302010-10-15 Andreas Schwab <schwab@redhat.com>
23431
23432 * scripts/data/localplt-s390-linux-gnu.data: New file.
23433 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23434
5e908464
JJ
234352010-10-13 Jakub Jelinek <jakub@redhat.com>
23436
23437 [BZ #3268]
23438 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23439 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23440 instead of dbl-64.
23441 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23442 inlines.
23443 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23445 if one of x and y is very large and the other is subnormal.
23446 * sysdeps/s390/fpu/s_fmaf.c: New file.
23447 * sysdeps/s390/fpu/s_fma.c: New file.
23448 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23449 * sysdeps/powerpc/fpu/s_fma.S: New file.
23450 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23451 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23452 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23453
234542010-10-12 Jakub Jelinek <jakub@redhat.com>
23455
23456 [BZ #3268]
23457 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23458 fma tests.
23459 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23460 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23461 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23462 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23463 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23464 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23465 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23466
b833d51f
UD
234672010-10-12 Ulrich Drepper <drepper@redhat.com>
23468
23469 [BZ #12078]
23470 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23471 * posix/bug-regex31.input: Add test case.
23472
1751705d
UD
234732010-10-11 Ulrich Drepper <drepper@gmail.com>
23474
e9b9cbf5
UD
23475 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23476 * posix/bug-regex31.input: New file.
23477
23478 [BZ #12078]
23479 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23480 (parse_sub_exp): Fix last change, use postorder.
23481
ef06edbe
UD
23482 * posix/bug-regex31.c: New file.
23483 * posix/Makefile: Add rules to build and run bug-regex31.
23484
a129c80d
UD
23485 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23486
23487 [BZ #12078]
23488 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23489
b76b818e
UD
23490 [BZ #12108]
23491 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23492 to have entries in sys_siglist.
23493
1751705d
UD
23494 [BZ #12093]
23495 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23496 be NULL.
23497
9ff8d36f
JJ
234982010-10-07 Jakub Jelinek <jakub@redhat.com>
23499
23500 [BZ #3268]
23501 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23502 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23503 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23504 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23505 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23506 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23507 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23508 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23509 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23510 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23511 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23512 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23513 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23514 * math/ftestexcept.c (fetestexcept): Likewise.
23515 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23516 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23517 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23518 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23519 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23520 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23521 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23522
af325969
UD
235232010-10-11 Ulrich Drepper <drepper@gmail.com>
23524
c579b202 23525 [BZ #12107]
af325969
UD
23526 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23527 newline.
23528
67a67b95
UD
235292010-10-06 Ulrich Drepper <drepper@gmail.com>
23530
23531 * string/bug-strstr1.c: New file.
23532 * string/Makefile: Add rules to build and run bug-strstr1.
23533
5fb308bc
EB
235342010-10-05 Eric Blake <eblake@redhat.com>
23535
23536 [BZ #12092]
23537 * string/str-two-way.h (two_way_long_needle): Always clear memory
23538 when skipping input due to the shift table.
23539
45db99c7
UD
235402010-10-03 Ulrich Drepper <drepper@gmail.com>
23541
3b111893
UD
23542 [BZ #12005]
23543 * malloc/mcheck.c: Handle large requests.
23544
45db99c7
UD
23545 [BZ #12077]
23546 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23547 for strncmp and strncasecmp.
23548 * string/stratcliff.c: Add tests for strcmp and strncmp.
23549 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23550
cf7a1eb8
NI
235512010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23552
23553 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23554 __set_fpscr.
23555
6484ba5e
AJ
235562010-09-30 Andreas Jaeger <aj@suse.de>
23557
23558 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23559 (CGROUP_SUPER_MAGIC): Define.
23560 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23561 Handle btrfs and cgroup file systems.
23562 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23563 Likewise.
23564
91c42559
LM
235652010-09-27 Luis Machado <luisgpm@br.ibm.com>
23566
23567 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23568 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23569
87a97932
AK
235702010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23571
23572 [BZ #12067]
23573 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23574 trying to locate the ELF header.
23575
c21cc9bc
AS
235762010-09-27 Andreas Schwab <schwab@redhat.com>
23577
23578 [BZ #11611]
23579 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23580 Mask out sign-bit copies when constructing f_fsid.
23581
315970f6
PB
235822010-09-24 Petr Baudis <pasky@suse.cz>
23583
23584 * debug/stack_chk_fail_local.c: Add missing licence exception.
23585 * debug/warning-nop.c: Likewise.
23586
1ac7a2c7
JM
235872010-09-15 Joseph Myers <joseph@codesourcery.com>
23588
23589 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23590 implementing getdents64 using getdents syscall, set d_type if
23591 __ASSUME_GETDENTS32_D_TYPE.
23592
56801c50
AS
235932010-09-16 Andreas Schwab <schwab@redhat.com>
23594
23595 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23596 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23597
dda51327
UD
235982010-09-21 Ulrich Drepper <drepper@redhat.com>
23599
23600 [BZ #12037]
23601 * posix/unistd.h: Undo change of feature selection for ftruncate from
23602 2010-01-11.
23603
8ffcee4a
UD
236042010-09-20 Ulrich Drepper <drepper@redhat.com>
23605
a545ecd9 23606 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23607 detection.
23608
e24f0a8b
AS
236092010-09-20 Andreas Schwab <schwab@redhat.com>
23610
23611 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23612 fanotify_mark.
23613 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23614
7291c56f
AS
236152010-09-14 Andreas Schwab <schwab@redhat.com>
23616
23617 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23618 variables after CHECK_SP call.
23619 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23620
bc5fb037
AS
236212010-09-13 Andreas Schwab <schwab@redhat.com>
23622 Ulrich Drepper <drepper@redhat.com>
23623
23624 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23625 re-relocationg ld.so.
23626 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23627 _dl_init_paths call.
23628 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23629 here anymore.
23630
e66e7419
UD
236312010-09-14 Ulrich Drepper <drepper@redhat.com>
23632
23633 * resolv/res_init.c (__res_vinit): Count the default server we added.
23634
c044aa75
CLT
236352010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23636 Ulrich Drepper <drepper@redhat.com>
23637
23638 [BZ #11968]
23639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23640 (____longjmp_chk): Use %ebx for saving value across system call.
23641 Add unwind info.
23642
32cf4069
AS
236432010-09-06 Andreas Schwab <schwab@redhat.com>
23644
23645 * manual/Makefile: Don't mix pattern rules with normal rules.
23646
817328ee
AS
236472010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23648
23649 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23650 operation.
23651 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23652 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23653 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23654 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23655 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23656 Likewise.
23657
29fddf61
UD
236582010-09-04 Ulrich Drepper <drepper@redhat.com>
23659
23660 [BZ #11979]
23661 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23662 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23663
0959ffc9
UD
236642010-09-02 Ulrich Drepper <drepper@redhat.com>
23665
23666 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23667 * sysdeps/x86_64/addmul_1.S: Likewise.
23668 * sysdeps/x86_64/lshift.S: Likewise.
23669 * sysdeps/x86_64/mul_1.S: Likewise.
23670 * sysdeps/x86_64/rshift.S: Likewise.
23671 * sysdeps/x86_64/sub_n.S: Likewise.
23672 * sysdeps/x86_64/submul_1.S: Likewise.
23673
ece29840
ST
236742010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23675
0959ffc9
UD
23676 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23677 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23678 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23679 * bits/sched.h [__need_schedparam]
ece29840 23680 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23681 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23682 (__defined_schedparam): Define to 1.
ece29840
ST
23683 (__sched_param): New structure, identical to sched_param.
23684 (__need_schedparam): Undefine.
23685
e53a31fe
MF
236862010-08-31 Mike Frysinger <vapier@gentoo.org>
23687
fdc0c10d
MF
23688 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23689 (epoll_create1): Declare.
23690
e53a31fe
MF
23691 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23692
a726d796
AS
236932010-08-31 Andreas Schwab <schwab@redhat.com>
23694
23695 [BZ #7066]
23696 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23697 shifting retval into place.
23698
2f3e3dc7
UD
236992010-09-01 Ulrich Drepper <drepper@redhat.com>
23700
f2933da9
UD
23701 * nis/rpcsvc/nis.h: Update copyright notice.
23702 * nis/rpcsvc/nis.x: Likewise.
23703 * nis/rpcsvc/nis_callback.h: Likewise.
23704 * nis/rpcsvc/nis_callback.x: Likewise.
23705 * nis/rpcsvc/nis_object.x: Likewise.
23706 * nis/rpcsvc/nis_tags.h: Likewise.
23707 * nis/rpcsvc/yp.h: Likewise.
23708 * nis/rpcsvc/yp.x: Likewise.
23709 * nis/rpcsvc/ypupd.h: Likewise.
23710 * nis/yp_xdr.c: Likewise.
23711 * nis/ypupdate_xdr.c: Likewise.
23712
2f3e3dc7
UD
23713 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23714 mainly the body of pmap_getport. Add parameters to specify timeouts.
23715 (pmap_getport): Use __libc_rpc_getport.
23716 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23717 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23718 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23719
f3dcc2f9
AS
237202010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23721
23722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23723 fanotify_mark.
23724
6d34eb5b
RM
237252010-08-27 Roland McGrath <roland@redhat.com>
23726
23727 * sysdeps/i386/i686/multiarch/Makefile
23728 (CFLAGS-varshift.c): New variable.
23729
9ea3de11
UD
237302010-08-27 Ulrich Drepper <drepper@redhat.com>
23731
c96d23fc
UD
23732 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23733 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23734
9ea3de11
UD
23735 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23736
23737 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23738
623aac7f
L
237392010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23740
23741 * sysdeps/x86_64/strlen.S: Unroll the loop.
23742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23743 strlen-sse2 strlen-sse2-bsf.
23744 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23745 __strlen_no_bsf if bit_Slow_BSF is set.
23746 (__strlen_sse42): Removed.
23747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23748 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23749
8b2b7715
RM
237502010-08-25 Roland McGrath <roland@redhat.com>
23751
23752 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23753 * sysdeps/x86_64/multiarch/varshift.c: New file.
23754 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23755 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23756 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23757 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23758
e73015f2
L
237592010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23760
23761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23762 strlen-sse2 strlen-sse2-bsf.
23763 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23764 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23765 (__strlen_sse2): Removed.
23766 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23767 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23769 bit_Slow_BSF for Atom.
23770 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23771 (index_Slow_BSF): Define.
23772 (HAS_SLOW_BSF): Define.
23773
df24a73e
UD
237742010-08-25 Ulrich Drepper <drepper@redhat.com>
23775
23776 [BZ #10851]
23777 * resolv/res_init.c (__res_vinit): When no server address at all
23778 is given default to loopback.
23779
f2ac4868
RM
237802010-08-24 Roland McGrath <roland@redhat.com>
23781
09055553
RM
23782 * configure.in: Remove config-name.h generation.
23783 * configure: Regenerated.
23784 * config-name.in: File removed.
23785 * scripts/config-uname.sh: New file.
23786 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23787 ($(objdir)config-name.h): New target.
23788
f2ac4868
RM
23789 * sunrpc/rpc_parse.h: Avoid nested comment.
23790
73f27d5e
RH
237912010-08-24 Richard Henderson <rth@redhat.com>
23792 Ulrich Drepper <drepper@redhat.com>
23793 H.J. Lu <hongjiu.lu@intel.com>
23794
23795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23797 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23798 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23799 _mm_alignr_epi8 with _mm_loadu_si128.
23800 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23801 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23802 (__m128i_shift_right): Removed.
23803 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23804 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23805 * sysdeps/x86_64/multiarch/varshift.h: New file.
23806 * sysdeps/x86_64/multiarch/varshift.S: New file.
23807
84b9230c
MF
238082010-08-21 Mike Frysinger <vapier@gentoo.org>
23809
23810 * configure.in: Move assembler checks to before sysdep dir checking.
23811
9bbd0ddc
PB
238122010-08-20 Petr Baudis <pasky@suse.cz>
23813
23814 * LICENSES: Sync the sunrpc license.
23815
9da4bb31
UD
238162010-08-19 Ulrich Drepper <drepper@redhat.com>
23817
a7ab6ec8
UD
23818 * sunrpc/auth_des.c: Update copyright notice once again.
23819 * sunrpc/auth_none.c: Likewise.
23820 * sunrpc/auth_unix.c: Likewise.
23821 * sunrpc/authdes_prot.c: Likewise.
23822 * sunrpc/authuxprot.c: Likewise.
23823 * sunrpc/bindrsvprt.c: Likewise.
23824 * sunrpc/clnt_gen.c: Likewise.
23825 * sunrpc/clnt_perr.c: Likewise.
23826 * sunrpc/clnt_raw.c: Likewise.
23827 * sunrpc/clnt_simp.c: Likewise.
23828 * sunrpc/clnt_tcp.c: Likewise.
23829 * sunrpc/clnt_udp.c: Likewise.
23830 * sunrpc/clnt_unix.c: Likewise.
23831 * sunrpc/des_crypt.c: Likewise.
23832 * sunrpc/des_soft.c: Likewise.
23833 * sunrpc/get_myaddr.c: Likewise.
23834 * sunrpc/getrpcport.c: Likewise.
23835 * sunrpc/key_call.c: Likewise.
23836 * sunrpc/key_prot.c: Likewise.
23837 * sunrpc/openchild.c: Likewise.
23838 * sunrpc/pm_getmaps.c: Likewise.
23839 * sunrpc/pm_getport.c: Likewise.
23840 * sunrpc/pmap_clnt.c: Likewise.
23841 * sunrpc/pmap_prot.c: Likewise.
23842 * sunrpc/pmap_prot2.c: Likewise.
23843 * sunrpc/pmap_rmt.c: Likewise.
23844 * sunrpc/rpc/auth.h: Likewise.
23845 * sunrpc/rpc/auth_unix.h: Likewise.
23846 * sunrpc/rpc/clnt.h: Likewise.
23847 * sunrpc/rpc/des_crypt.h: Likewise.
23848 * sunrpc/rpc/key_prot.h: Likewise.
23849 * sunrpc/rpc/netdb.h: Likewise.
23850 * sunrpc/rpc/pmap_clnt.h: Likewise.
23851 * sunrpc/rpc/pmap_prot.h: Likewise.
23852 * sunrpc/rpc/pmap_rmt.h: Likewise.
23853 * sunrpc/rpc/rpc.h: Likewise.
23854 * sunrpc/rpc/rpc_des.h: Likewise.
23855 * sunrpc/rpc/rpc_msg.h: Likewise.
23856 * sunrpc/rpc/svc.h: Likewise.
23857 * sunrpc/rpc/svc_auth.h: Likewise.
23858 * sunrpc/rpc/types.h: Likewise.
23859 * sunrpc/rpc/xdr.h: Likewise.
23860 * sunrpc/rpc_clntout.c: Likewise.
23861 * sunrpc/rpc_cmsg.c: Likewise.
23862 * sunrpc/rpc_common.c: Likewise.
23863 * sunrpc/rpc_cout.c: Likewise.
23864 * sunrpc/rpc_dtable.c: Likewise.
23865 * sunrpc/rpc_hout.c: Likewise.
23866 * sunrpc/rpc_main.c: Likewise.
23867 * sunrpc/rpc_parse.c: Likewise.
23868 * sunrpc/rpc_parse.h: Likewise.
23869 * sunrpc/rpc_prot.c: Likewise.
23870 * sunrpc/rpc_sample.c: Likewise.
23871 * sunrpc/rpc_scan.c: Likewise.
23872 * sunrpc/rpc_scan.h: Likewise.
23873 * sunrpc/rpc_svcout.c: Likewise.
23874 * sunrpc/rpc_tblout.c: Likewise.
23875 * sunrpc/rpc_util.c: Likewise.
23876 * sunrpc/rpc_util.h: Likewise.
23877 * sunrpc/rpcinfo.c: Likewise.
23878 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23879 * sunrpc/rpcsvc/key_prot.x: Likewise.
23880 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23881 * sunrpc/rpcsvc/mount.x: Likewise.
23882 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23883 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23884 * sunrpc/rpcsvc/rex.x: Likewise.
23885 * sunrpc/rpcsvc/rstat.x: Likewise.
23886 * sunrpc/rpcsvc/rusers.x: Likewise.
23887 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23888 * sunrpc/rpcsvc/spray.x: Likewise.
23889 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23890 * sunrpc/rtime.c: Likewise.
23891 * sunrpc/svc.c: Likewise.
23892 * sunrpc/svc_auth.c: Likewise.
23893 * sunrpc/svc_authux.c: Likewise.
23894 * sunrpc/svc_raw.c: Likewise.
23895 * sunrpc/svc_run.c: Likewise.
23896 * sunrpc/svc_simple.c: Likewise.
23897 * sunrpc/svc_tcp.c: Likewise.
23898 * sunrpc/svc_udp.c: Likewise.
23899 * sunrpc/svc_unix.c: Likewise.
23900 * sunrpc/svcauth_des.c: Likewise.
23901 * sunrpc/xcrypt.c: Likewise.
23902 * sunrpc/xdr.c: Likewise.
23903 * sunrpc/xdr_array.c: Likewise.
23904 * sunrpc/xdr_float.c: Likewise.
23905 * sunrpc/xdr_mem.c: Likewise.
23906 * sunrpc/xdr_rec.c: Likewise.
23907 * sunrpc/xdr_ref.c: Likewise.
23908 * sunrpc/xdr_sizeof.c: Likewise.
23909 * sunrpc/xdr_stdio.c: Likewise.
23910
9da4bb31
UD
23911 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23912 handling.
23913
bdaa77bc
AS
239142010-08-19 Andreas Schwab <schwab@redhat.com>
23915
23916 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23917
fe2f79db
LM
239182010-08-19 Luis Machado <luisgpm@br.ibm.com>
23919
23920 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23921 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23922 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23923 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23924 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23925 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23926 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23927 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23928 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23929 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23930 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23931 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23932 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23933 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23934
b9b42ee0
AB
239352010-07-26 Anton Blanchard <anton@samba.org>
23936
23937 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23938 * malloc/arena.c (heap_trim): Likewise.
23939
1c06ba31
UD
239402010-08-16 Ulrich Drepper <drepper@redhat.com>
23941
23942 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23943 here. Not...
23944 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23945 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23946
f8392f40
L
239472010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23948
23949 * sysdeps/i386/elf/Makefile: New file.
23950
3162f12e
AS
239512010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23952
23953 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23954 from fanotify_init.
23955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23956 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23957
28c90b2c
UD
239582010-08-15 Ulrich Drepper <drepper@redhat.com>
23959
23960 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23961 of strncasecmp_l.
1feccb6c 23962 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23963
ca6bb004
UD
239642010-08-14 Ulrich Drepper <drepper@redhat.com>
23965
e9f82e0d
UD
23966 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23967 strncase_l-nonascii.
23968 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23969 Add strncase_l-ssse3.
23970 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23971 * sysdeps/x86_64/strcmp.S: Likewise.
23972 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23973 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23974 * sysdeps/x86_64/strncase.S: New file.
23975 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23976 * sysdeps/x86_64/strncase_l.S: New file.
23977 * string/Makefile (strop-tests): Add strncasecmp.
23978 * string/test-strncasecmp.c: New file.
23979
23980 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23981 warning.
23982
ca6bb004
UD
23983 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23984 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23985
052fa7b3
AS
239862010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23987
23988 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23989
962dba78
UD
239902010-08-12 Ulrich Drepper <drepper@redhat.com>
23991
23992 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23993 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23994 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23995
bebff237
AM
239962010-05-01 Alan Modra <amodra@gmail.com>
23997
23998 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23999 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24000 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24001 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24002 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24003 tidying. Don't tail-call __sigjmp_save for static lib.
24004 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24005 save location.
24006 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24007 (CALL_MCOUNT): Add eh info, and nop after bl.
24008 (TAIL_CALL_SYSCALL_ERROR): New macro.
24009 (PSEUDO_RET): Use it.
24010 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24011 Correct save location of integer regs and cr.
24012 (_dl_profile_resolve): Correct cr save location. Delete nops
24013 after bl when SHARED. Reduce cfi size a little by better
24014 placement of cfi directives.
24015 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24016 make a stack frame. Instead use parm save area as a temp.
24017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24018 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24020 Don't make a stack frame for parent, use parm save area.
24021 Increase child stack frame to 112 bytes. Don't save unused reg,
24022 and adjust reg usage. Set up cfi on error recovery and
24023 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24025 (__makecontext): Add dummy nop after jump to exit.
24026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24027 Use correct parm save area and cr save, reduce stack frame.
24028 Correct cfi for possible PSEUDO_RET frame setup.
24029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24030 Branch to local label emitted by PSEUDO_RET rather than
24031 __syscall_error.
24032
02637374
AS
240332010-08-12 Andreas Schwab <schwab@redhat.com>
24034
24035 [BZ #11904]
24036 * locale/programs/locale.c (print_assignment): New function.
24037 (show_locale_vars): Use it.
24038
c3e2f19b
UD
240392010-08-11 Ulrich Drepper <drepper@redhat.com>
24040
3cdaa6ad
UD
24041 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24042 field.
24043 (struct statfs64): Likewise.
24044 (_STATFS_F_FLAGS): Define.
24045 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24046 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24047 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24048 (ST_VALID): Define locally.
24049 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24050 __statvfs_getflags, use the provided value.
24051 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24052 __ASSUME_STATFS_F_FLAGS.
24053
754f7da3
UD
24054 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24055
10b3bedc
UD
24056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24057 Add sys/fanotify.h.
24058 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24059 fanotify_mask for GLIBC_2.13.
24060 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24061 fanotify_init and fanotify_mark.
24062 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24063 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24064
c08fb0d7
UD
24065 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24066 Add prlimit.
24067 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24068 prlimit64 for GLIBC_2.13.
24069 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24070 prlimit64.
24071 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24072 syscall.
24073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24074 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24075 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24076 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24077 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24078 add prlimit alias.
24079 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24080
15bac72b
UD
24081 [BZ #11903]
24082 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24083 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24084
c3e2f19b
UD
24085 * nss/Makefile: Add rules to build and run tst-nss-test1.
24086 * shlib-versions: Add entry for libnss_test1.
24087 * nss/nss_test1.c: New file.
24088 * nss/tst-nss-test1.c: New file.
24089
24090 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24091 (__nss_configure_lookup): Set appropriate entry in
24092 __nss_configure_lookup to true.
24093 * nss/nsswitch.h: Define enum with indeces of databases in
24094 databases and __nss_database_custom arrays. Declare
24095 __nss_database_custom.
24096 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24097 to avoid using nscd when custom rules are installed.
24098 * nss/getXXbyYY_r.c: Likewise.
24099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24100
24101 * nss/nss_files/files-parse.c: Whitespace fixes.
24102
f15ce4d8
UD
241032010-08-09 Ulrich Drepper <drepper@redhat.com>
24104
24105 [BZ #11883]
24106 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24107 * posix/fnmatch_loop.c: Likewise.
24108
d22e4cc9
AK
241092010-07-17 Andi Kleen <ak@linux.intel.com>
24110
24111 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24112 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24113 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24114 * Versions.def [GLIBC_2.13]: Add.
24115
805bc17d
UD
241162010-08-06 Ulrich Drepper <drepper@redhat.com>
24117
24118 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24119 Also fail if tpwd after pwuid call is NULL.
24120
5a42321d
ST
241212010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24122
24123 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24124 when converting to ms.
24125
fd3ebeda
ST
241262010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24127
24128 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24129 EOPNOTSUPP errors with ENOTTY.
24130 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24131 EOPNOTSUPP errors with ENOTTY.
24132
73507d3a
UD
241332010-07-31 Ulrich Drepper <drepper@redhat.com>
24134
24135 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24136 Add strcasecmp_l-ssse3.
24137 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24138 strcasecmp.
24139 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24140 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24141 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24142
fe36dd02
UD
241432010-07-30 Ulrich Drepper <drepper@redhat.com>
24144
66f6765a
UD
24145 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24146
42e08a54
UD
24147 * string/Makefile (strop-tests): Add strcasecmp.
24148 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24149 strcasecmp_l-nonascii.
24150 (gen-as-const-headers): Add locale-defines.sym.
24151 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24152 * sysdeps/x86_64/strcasecmp.S: New file.
24153 * sysdeps/x86_64/strcasecmp_l.S: New file.
24154 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24155 * sysdeps/x86_64/locale-defines.sym: New file.
24156 * string/test-strcasecmp.c: New file.
24157
fe36dd02
UD
24158 * string/test-strcasestr.c: Test both ends of the range of characters.
24159 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24160
48cbc0d6
RM
241612010-07-29 Roland McGrath <roland@redhat.com>
24162
76e6d6bc 24163 [BZ #11856]
48cbc0d6
RM
24164 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24165
880113d9
UD
241662010-07-27 Ulrich Drepper <drepper@redhat.com>
24167
24168 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24169 for ld.so.
24170
deb9cabb
AS
241712010-07-27 Andreas Schwab <schwab@redhat.com>
24172
24173 * manual/memory.texi (Malloc Tunable Parameters): Document
24174 M_PERTURB.
24175
1c7570ff
RM
241762010-07-26 Roland McGrath <roland@redhat.com>
24177
24178 [BZ #11840]
24179 * configure.in (-fgnu89-inline check): Set and substitute
24180 gnu89_inline, not libc_cv_gnu89_inline.
24181 * configure: Regenerated.
24182 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24183
24fb0f88
UD
241842010-07-26 Ulrich Drepper <drepper@redhat.com>
24185
24186 * string/test-strnlen.c: New file.
24187 * string/Makefile (strop-tests): Add strnlen.
24188 * string/tester.c (test_strnlen): Add a few more test cases.
24189 * string/tst-strlen.c: Better error reporting.
24190
24191 * sysdeps/x86_64/strnlen.S: New file.
24192
8e96b93a
UD
241932010-07-24 Ulrich Drepper <drepper@redhat.com>
24194
24195 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24196 lower-latency instructions.
24197
dbc676d4
UD
241982010-07-23 Ulrich Drepper <drepper@redhat.com>
24199
24200 * string/test-strcasestr.c: New file.
24201 * string/test-strstr.c: New file.
24202 * string/Makefile (strop-tests): Add strstr and strcasestr.
24203 * string/str-two-way.h: Don't undefine MAX.
24204 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24205
f6a31e0e
AS
242062010-07-21 Andreas Schwab <schwab@redhat.com>
24207
24208 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24209 strcasestr-nonascii.
24210 (CFLAGS-strcasestr-nonascii.c): Define.
24211 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24212 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24213 Remove unused attribute.
24214
5dbc3b6c
RM
242152010-07-20 Roland McGrath <roland@redhat.com>
24216
24217 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24218 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24219 ld.so.cache was broken. With it, there is no way to disable dsocaps
24220 like LD_HWCAP_MASK can disable hwcaps.
24221
23d101d8
EPM
242222010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24223
24224 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24225
cc9f2e47
UD
242262010-07-16 Ulrich Drepper <drepper@redhat.com>
24227
24228 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24229 call in strcasestr.
24230 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24231 __strcasestr_sse42_nonascii.
24232 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24233 strcasestr-nonascii.c.
24234 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24235
77c1b069
LM
242362010-06-15 Luis Machado <luisgpm@br.ibm.com>
24237
24238 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24239 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24240 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24241 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24242
440566c3
UD
242432010-07-09 Ulrich Drepper <drepper@redhat.com>
24244
24245 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24246 fcntl.
24247
5be9d05d
AS
242482010-07-06 Andreas Schwab <schwab@redhat.com>
24249
c30b7ee2 24250 [BZ #11577]
5be9d05d
AS
24251 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24252 dl_signal_cerror.
24253
8a492a67
UD
242542010-07-06 Ulrich Drepper <drepper@redhat.com>
24255
24256 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24257 _PC_PIPE_BUF using F_GETPIPE_SZ.
24258
713df3d5
RM
242592010-07-05 Roland McGrath <roland@redhat.com>
24260
24261 * manual/arith.texi (Rounding Functions): Fix rint description
24262 implicit in round description.
24263
702e8f14
UD
242642010-07-02 Ulrich Drepper <drepper@redhat.com>
24265
24266 * elf/Makefile: Fix linking for a few tests to make recent linker
24267 happy.
24268
52ed8be9
AS
242692010-06-30 Andreas Schwab <schwab@redhat.com>
24270
24271 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24272 $(common-objpfx)libc_nonshared.a.
24273
f47c9a11
LM
242742010-06-21 Luis Machado <luisgpm@br.ibm.com>
24275
24276 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24277 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24278 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24279 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24280 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24281 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24282 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24283 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24298 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24299 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24300 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24301 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24302 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24303 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24304 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24305 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24306 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24307 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24308 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24309 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24324
6fb8cbcb
L
243252010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24326
24327 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24328 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24329 * string/memmove.c (memmove): Renamed to ...
24330 (MEMMOVE): ...this. Default to memmove.
24331 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24332 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24333 (END_CHK): Define.
24334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24335 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24336 mempcpy-ssse3-back memmove-ssse3-back.
24337 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24338 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24339 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24340 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24341 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24342 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24343 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24344 * sysdeps/x86_64/multiarch/memmove.c: New file.
24345 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24346 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24347 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24348 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24349 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24351 Define.
24352 (index_Fast_Copy_Backward): Define.
24353 (HAS_ARCH_FEATURE): Define.
24354 (HAS_FAST_REP_STRING): Define.
24355 (HAS_FAST_COPY_BACKWARD): Define.
24356
4e733bac 243572010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24358
24359 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24360 Restore proper fallback handling.
24361
63c4ed22
UD
243622010-06-19 Ulrich Drepper <drepper@redhat.com>
24363
ac2b484c
UD
24364 [BZ #11701]
24365 * posix/group_member.c (__group_member): Correct checking loop.
24366
63c4ed22
UD
24367 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24368 OOM in getpwuid_r correctly. Return error number when the caller
24369 should return, otherwise -1.
24370 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24371 call returning > 0 value.
24372 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24373
765ade4b
AS
243742010-06-07 Andreas Schwab <schwab@redhat.com>
24375
24376 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24377 libc_nonshared.a from targets in modules-names.
24378
80da2e09
KS
243792010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24380
24381 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24382 requires it.
24383
158db122
LM
243842010-06-10 Luis Machado <luisgpm@br.ibm.com>
24385
24386 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24387 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24388 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24389 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24390
caa78cf8
AS
243912010-06-02 Andreas Schwab <schwab@redhat.com>
24392
24393 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24394
b2ef2c01
UD
243952010-06-14 Ulrich Drepper <drepper@redhat.com>
24396
24397 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24398 and F_GETPIPE_SZ.
24399 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24400 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24402 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24403 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24404 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24405
fbd643b6
RM
244062010-06-14 Roland McGrath <roland@redhat.com>
24407
24408 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24409
f32f2869
JJ
244102010-06-07 Jakub Jelinek <jakub@redhat.com>
24411
24412 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24413 __REDIRECT followed by __THROW.
24414 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24415 * posix/getopt.h (getopt): Likewise.
24416
2a50c078
EPM
244172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24418
24419 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24420 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24421 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24422 in AT_FLAGS.
24423 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24424 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24425
eb5ad2eb
LM
244262010-05-28 Luis Machado <luisgpm@br.ibm.com>
24427
24428 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24429
3c88fe1e
L
244302010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24431
24432 [BZ #11640]
24433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24434 Properly check family and model.
24435
d2f73151
TY
244362010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24437
24438 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24439
ebd2e13d
LM
244402010-05-24 Luis Machado <luisgpm@br.ibm.com>
24441
24442 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24443
b32b8b45
UD
244442010-05-21 Ulrich Drepper <drepper@redhat.com>
24445
24446 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24447 symbol reference.
24448
9acbe24d
AS
244492010-05-19 Andreas Schwab <schwab@redhat.com>
24450
24451 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24452 symbol reference.
24453
f0ccf6ea
AS
244542010-05-21 Andreas Schwab <schwab@redhat.com>
24455
3d04ff3a
AS
24456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24457 and internal_recvmmsg.
24458 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24459 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24460 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24461 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24462
f0ccf6ea
AS
24463 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24464 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24465 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24466
5b08ac57
AS
244672010-05-20 Andreas Schwab <schwab@redhat.com>
24468
24469 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24470
4828935d
LM
244712010-05-17 Luis Machado <luisgpm@br.ibm.com>
24472
24473 POWER7 optimizations.
24474 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24475 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24476
373d545e
UD
244772010-05-19 Ulrich Drepper <drepper@redhat.com>
24478
24479 * version.h: Update for 2.13 development version.
24480
21a2b1ae
AS
244812010-05-12 Andrew Stubbs <ams@codesourcery.com>
24482
24483 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24484 exceptions. Return 0.
24485
3f7dcb2b
RM
244862010-05-07 Roland McGrath <roland@redhat.com>
24487
24488 * elf/ldconfig.c (main): Add a const.
24489
5f24d53a 244902010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24491
a160f8d8
UD
24492 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24493 (args_options): Add no-idn option.
24494 (ahosts_keys_int): Add idn_flags to ai_flags.
24495 (parse_option): Handle 'i' option to clear idn_flags.
24496
5f24d53a
UD
24497 * malloc/malloc.c (_int_free): Possible race in the most recently
24498 added check. Only act on the data if no current modification
24499 happened.
265bb1ce
UD
24500
24501See ChangeLog.17 for earlier changes.