]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use libgcc unwinder for sparc backtraces, if available.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7c1e01aa
DM
12013-01-21 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/sparc/backtrace.c: New file.
4 * sysdeps/sparc/sparc32/backtrace.h: New file.
5 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
6 * sysdeps/sparc/sparc64/backtrace.h: New file.
7 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9 -funwind-tables.
10
ab087e0a
AS
112013-01-21 Andreas Schwab <schwab@suse.de>
12
13 [BZ #15020]
14 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
15 closed its stdout.
16
ed689c2f
AS
172013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18
19 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20 "mpa2.h".
21 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22
31d470ac
JM
232013-01-18 Joseph Myers <joseph@codesourcery.com>
24 Mark Mitchell <mark@codesourcery.com>
25 Tom de Vries <tom@codesourcery.com>
26 Paul Pluzhnikov <ppluzhnikov@google.com>
27
28 * debug/tst-backtrace2.c: New file.
29 * debug/tst-backtrace3.c: Likewise.
30 * debug/tst-backtrace4.c: Likewise.
31 * debug/tst-backtrace5.c: Likewise.
32 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33 (CFLAGS-tst-backtrace3.c): Likewise.
34 (CFLAGS-tst-backtrace4.c): Likewise.
35 (CFLAGS-tst-backtrace5.c): Likewise.
36 (LDFLAGS-tst-backtrace2): Likewise.
37 (LDFLAGS-tst-backtrace3): Likewise.
38 (LDFLAGS-tst-backtrace4): Likewise.
39 (LDFLAGS-tst-backtrace5): Likewise.
40 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41 tst-backtrace4 and tst-backtrace5.
42
90567f30 432013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
44 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45
46 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
49 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
50 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
52 "+r" and remove output regs list as redundant. Add explicit inline
53 asm to specify register of return val to work around compiler codegen
54 bug. Remove (int) cast on return value. Add return type parameter to
55 use in macro so that this macro does not truncate return value for
56 64-bit values.
57 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58 pass to INTERNAL_VSYSCALL_NCS.
59 (INLINE_VSYSCALL): Add 'long int' as return type to
60 INTERNAL_VSYSCALL_NCS macro invocation.
61 (INTERNAL_VSYSCALL): Add 'long int' as return type to
62 INTERNAL_VSYSCALL_NCS macro invocation.
63 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64
d3b9ea61
SP
652013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
66
0b57daeb
SP
67 [BZ #14496]
68 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
69 Fix application of SIMD FP exception mask.
70
caa99d06
SP
71 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72 mp_no from a power of two.
73 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
74 __mpexp_twomm1. Use __pow_mp.
75
d3b9ea61
SP
76 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
77 multiplication.
78
1dbaee3c
DM
792013-01-17 David S. Miller <davem@davemloft.net>
80
81 * sysdeps/sparc/fpu/libm-test-ulps: Update.
82
728d7b43
JM
832013-01-17 Joseph Myers <joseph@codesourcery.com>
84
85 [BZ #15023]
86 * include/complex.h: Condition contents on [!_COMPLEX_H].
87 (__kernel_casinhf): New prototype.
88 (__kernel_casinh): Likewise.
89 (__kernel_casinhl): Likewise.
90 * math/Makefile (libm_calls): Add k_casinh.
91 * math/k_casinh.c: New file.
92 * math/k_casinhf.c: Likewise.
93 * math/k_casinhl.c: Likewise.
94 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
95 finite nonzero arguments.
96 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
97 finite nonzero arguments.
98 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
99 finite nonzero arguments.
100 * math/s_casinh.c: Do not include <float.h>.
101 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
102 * math/s_casinhf.c: Do not include <float.h>.
103 (__casinhf): Move code for finite nonzero arguments to
104 k_casinhf.c.
105 * math/s_casinhl.c: Do not include <float.h>.
106 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
107 redefine.
108 (__casinhl): Move code for finite nonzero arguments to
109 k_casinhl.c.
110 * math/libm-test.inc (cacos_test): Add more tests.
111 * sysdeps/i386/fpu/libm-test-ulps: Update.
112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
113
2a26ef3a
PT
1142013-01-17 Pino Toscano <toscano.pino@tiscali.it>
115
116 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
117 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
118 [!HAVE_MREMAP]: Remove [defined linux] case.
119 * malloc/arena.c: Do not include <malloc-sysdep.h>.
120
a897655d
SP
1212013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
122
123 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
124
881ebe89 1252013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
126
127 * elf/elf.h (R_386_SIZE32): New relocation.
128 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
129 R_386_SIZE32.
130 (elf_machine_rela): Likewise.
131 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
132 R_X86_64_SIZE64 and R_X86_64_SIZE32.
133
59981e9b
JM
1342013-01-17 Joseph Myers <joseph@codesourcery.com>
135
136 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
137 (FP_FAST_FMA): Do not define.
138 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
139 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
140 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
141 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
142 !_SOFT_FLOAT]: Likewise.
143 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
144 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
145 value.
146 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
147 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
148 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
149 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
150 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
151 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
152 file.
153
cfa8054f
AS
1542013-01-16 Andreas Schwab <schwab@suse.de>
155
156 [BZ #14327]
157 * include/stdlib.h (__mktemp): Add declaration.
158 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
159 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
160
dd930cc5
SP
1612013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
162
881ebe89
SP
163 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
164 definitions.
165 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
166 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
167 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
168 definitions here.
169 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
170 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
171 definitions.
172 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
173 and ONE.
174 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
175 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
176 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
177 definitions.
178 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
179 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
180 definitions.
181 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 182
dd930cc5
SP
183 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
184
c19a9f89
DM
1852013-01-15 David S. Miller <davem@davemloft.net>
186
1aa61767
DM
187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
188 trunc{,f} to libm-sysdep_routes.
189 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
191 file.
192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
194 file.
195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
196 file.
197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
199 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
200 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
201 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
202 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
203 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
204 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
205
c42d5e98
DM
206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
207 nearbyint{,f} to libm-sysdep_routes.
208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
210 New file.
211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
212 file.
213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
214 New file.
215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
216 file.
217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
219 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
220 file.
221 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
222 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
223 file.
224 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
225 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
226 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
227
c19a9f89
DM
228 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
229 libc_feholdexcept and libc_fesetenv.
230
357679d2
MF
2312013-01-15 Mike Frysinger <vapier@gentoo.org>
232
233 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
234
65a82e3d
DM
2352013-01-14 David S. Miller <davem@davemloft.net>
236
8b954ab9
DM
237 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
238 (SPARC_ASM_VIS2_IFUNC): Likewise.
239 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
241 use of 'siam' instruction.
242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
243 Likewise.
244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
245 Likewise.
246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
247 Likewise.
248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
253 file.
254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
255 file.
256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
257 file.
258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
259 file.
260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
265 new VIS2 routines.
266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
269 Likewise.
270 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
275 routines to libm-sysdep_routines.
276 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
277
65a82e3d
DM
278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
279 fdim/fdimf to libm-sysdep_routines.
280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
281 file.
282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
284 file.
285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
288 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
289 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
290 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
291 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
292
e34ab705
SP
2932013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
294
2a91b573
SP
295 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
296 to optimize copies.
297
1066a534
SP
298 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
301
e34ab705
SP
302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
303 local variable MPTWO.
304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
305 Likewise.
306
aba5e596
MF
3072013-01-13 Mike Frysinger <vapier@gentoo.org>
308
309 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
310 GLOB_NOESCAPE.
311
e557e9e5
MF
3122013-01-13 Mike Frysinger <vapier@gentoo.org>
313
314 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
315
0428cec9
MF
3162013-01-13 Mike Frysinger <vapier@gentoo.org>
317
318 * manual/pattern.texi (glob_t): Document gl_flags.
319 (glob64_t): Likewise.
320
8794a964
DM
3212013-01-11 David S. Miller <davem@davemloft.net>
322
66438c3f
RM
323 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
324 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
325 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
326 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
327 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
328 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
329 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
330 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
331 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
332 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
333 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
334 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
335 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
336
4ae4244d
DM
337 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
338 sparc V9 rather than using V8 code.
339 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
340 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
341
8794a964
DM
342 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
343 Move to...
344 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
345 Here.
346
6270516e
RM
3472013-01-11 Roland McGrath <roland@hack.frob.com>
348
349 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
350 not in the main loop.
351 * configure: Regenerated.
352
6a57d931
JM
3532013-01-11 Joseph Myers <joseph@codesourcery.com>
354
355 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
356 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
357 to just #else.
358 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
359 [!__GLIBC_HAVE_LONG_LONG] case.
360 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
361 condition to just #else.
362 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
363 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
364 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
365 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
366 unconditional.
367 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
368 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
369 #elif condition to just #else.
370 * sysdeps/unix/sysv/linux/sys/sysmacros.h
371 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
372 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
373 #elif condition to just #else.
374
0e8529e9
SE
3752013-01-11 Steve Ellcey <sellcey@mips.com>
376
377 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
378 (EF_MIPS_ARCH_64): Fix value.
379 (EF_MIPS_ARCH_32R2): New.
380 (EF_MIPS_ARCH_64R2): New.
381
740b3dbe
L
3822013-01-11 H.J. Lu <hongjiu.lu@intel.com>
383
384 * Makeconfig (+link-pie-before-libc): New.
385 (+link-pie-after-libc): Likewise.
386 (+link-pie-tests): Likewise.
387 (+link-pie): Rewritten.
388 (link-before-libc): Remove $(config-LDFLAGS).
389 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
390 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
391 (config-LDFLAGS): Renamed to ...
392 (rtld-LDFLAGS): This.
393 (rtld-tests-LDFLAGS): New macro.
394 (link-libc-rpath-link): Likewise.
395 (link-libc-tests-rpath-link): Likewise.
396 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
397 (link-libc): Prepand $(link-libc-rpath-link).
398 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
399 (test-program-prefix): New macro.
400 (test-via-rtld-prefix): Likewise.
401 (test-program-cmd): Likewise.
402 (host-test-program-cmd): Likewise.
403 * Makefile ($(common-objpfx)testrun.sh): Replace
404 $(run-program-prefix) with $(test-program-prefix).
405 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
406 $(rtld-LDFLAGS).
407 ($(common-objpfx)shlib.lds): Likewise.
408 (build-module-helper): Likewise.
409 ($(common-objpfx)format.lds): Likewise.
410 * Rules (binaries-pie-tests): New.
411 (binaries-pie-notests): Likewise.
412 (binaries-pie): Rewritten.
413 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
414 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
415 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
416 (make-test-out): Replace $(host-built-program-cmd) with
417 $(host-test-program-cmd).
418 * config.make.in (build-hardcoded-path-in-tests): New variable.
419 * configure.in (--enable-hardcoded-path-in-tests): New configure
420 option.
421 (hardcoded_path_in_tests): New AC_SUBST.
422 * configure: Regenerated.
423 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
424 $(built-program-cmd) with $(test-program-cmd).
425 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
426 (test_program_cmd): This.
427 * elf/Makefile ($(objpfx)order.out): Run test with
428 $(test-program-prefix).
429 ($(objpfx)order2.out): Likewise.
430 ($(objpfx)tst-initorder.out): Likewise.
431 ($(objpfx)tst-initorder2.out): Likewise.
432 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
433 $(test-program-cmd).
434 ($(objpfx)tst-array1-static.out): Likewise.
435 ($(objpfx)tst-array2.out): Likewise.
436 ($(objpfx)tst-array3.out): Likewise.
437 ($(objpfx)tst-array4.out): Likewise.
438 ($(objpfx)tst-array5.out): Likewise.
439 ($(objpfx)tst-array5-static.out): Likewise.
440 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
441 $(test-program-cmd).
442 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
443 $(run-program-prefix) with $(test-program-prefix).
444 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
445 (test_program_prefix): This.
446 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
447 $(run-program-prefix) with $(test-program-prefix).
448 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
449 (test_program_prefix): This.
450 * iconvdata/tst-tables.sh: Likewise.
451 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
452 $(run-program-prefix) with $(test-program-prefix).
453 ($(objpfx)tst-translit.out): Likewise.
454 ($(objpfx)tst-gettext2.out): Likewise.
455 ($(objpfx)tst-gettext4.out): Likewise.
456 ($(objpfx)tst-gettext6.out): Likewise.
457 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
458 (test_program_prefix): This.
459 * intl/tst-gettext2.sh: Likewise.
460 * intl/tst-gettext4.sh Likewise.
461 * intl/tst-gettext6.sh: Likewise.
462 * intl/tst-translit.sh: Likewise.
463 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
464 with $(test-program-cmd).
465 * libio/Makefile ($(objpfx)test-freopen.out): Replace
466 $(run-program-prefix) with $(test-program-prefix).
467 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
468 (test_program_prefix): This.
469 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
470 $(run-program-prefix) with $(test-program-prefix).
471 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
472 (test_program_prefix): This.
473 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
474 * posix/Makefile ($(objpfx)globtest.out): Replace
475 $(run-via-rtld-prefix) and $(test-wrapper) with
476 $(test-program-prefix) and $(test-via-rtld-prefix).
477 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
478 $(test-program-prefix).
479 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
480 $(host-test-program-cmd).
481 (tst-spawn-ARGS): Likewise.
482 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
483 $(test-program-prefix).
484 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
485 (test_via_rtld_prefix): This.
486 (test_wrapper): Renamed to ...
487 (test_program_prefix): This.
488 (run_program_prefix): Replaced by test_program_prefix.
489 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
490 (test_program_prefix): This.
491 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
492 with $(host-test-program-cmd).
493 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
494 $(run-program-prefix) with $(test-program-prefix).
495 ($(objpfx)tst-printf.out): Likewise.
496 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
497 $(test-program-cmd).
498 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
499 (test_program_prefix): This.
500 * stdio-common/tst-unbputc.sh: Likewise.
501 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
502 $(run-program-prefix) with $(test-program-prefix).
503 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
504 (test_program_prefix): This.
505 * string/Makefile ($(objpfx)tst-svc.out): Replace
506 $(built-program-cmd) with $(test-program-cmd).
507
c6fe55cf
AJ
5082013-01-11 Andreas Jaeger <aj@suse.de>
509
510 [BZ #15003]
511 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
512 value. Sync with Linux 3.7.
513
9e6919c8
DM
5142013-01-10 David S. Miller <davem@davemloft.net>
515
516 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
517 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
518 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
519
1c9f1a02
RM
5202013-01-10 Roland McGrath <roland@hack.frob.com>
521
522 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
523 never set.
524 * configure: Regenerated.
525
b9de2dde
DM
5262013-01-10 David S. Miller <davem@davemloft.net>
527
528 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
529 sparc V9 rather than using V8 code.
530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
532
e7f68ef4
RM
5332013-01-10 Roland McGrath <roland@hack.frob.com>
534
535 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
536 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
537 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
538 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
539 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
540 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
541 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
542 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
543 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
544 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
545 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
546 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
547 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
548 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
549 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
550 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
551 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
552 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
553 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
554 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
555 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
556 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
557 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
558 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
559 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
560 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
561 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
562
5a47cc9c
DM
5632013-01-10 David S. Miller <davem@davemloft.net>
564
565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
566
4cf8f209
L
5672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
568
569 * posix/Makefile (tests-static): New variable.
570 (tests): Add $(tests-static).
571 (tst-exec-static-ARGS): New variable.
572 (tst-spawn-static-ARGS): Likewise.
573 * posix/tst-exec-static.c: New file.
574 * posix/tst-spawn-static.c: Likewise.
575 * posix/tst-exec.c: Support run directly.
576 * posix/tst-spawn.c: Likewise.
577
fed0faa1
JM
5782013-01-10 Joseph Myers <joseph@codesourcery.com>
579
828beb13
JM
580 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
581 long.
582 * math/bits/mathcalls.h (llrint): Likewise.
583 (llround): Likewise.
584 * stdlib/stdlib.h (struct drand48_data): Likewise.
585 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
586 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
587 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
588 Likewise.
589 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
590 Likewise.
591 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
592 (elf_greg_t): Likewise.
593 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
594 (__jmp_buf): Likewise.
595 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
596 definitions.
597 (llrint): Likewise, for all definitions.
598 (llrintl): Likewise.
599
fed0faa1
JM
600 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
601 Remove [__GNUC__] condition.
602 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
603 condition to just [__USE_ISOC99].
604 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
605
1a20cb20
L
6062013-01-10 H.J. Lu <hongjiu.lu@intel.com>
607
608 [BZ #14200]
609 * sysdeps/unix/sysv/linux/x86/bits/environments.h
610 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
611 defined.
612 (_POSIX_V6_ILP32_OFF32): Likewise.
613 (_XBS5_ILP32_OFF32): Likewise.
614 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
615 (__ILP32_OFFBIG_LDFLAGS): Likewise.
616
751b85f7
SP
6172013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
618
7490eb81
SP
619 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
620
751b85f7
SP
621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
622 doubles __mpexp_twomm1. Adjust usage.
623 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
624 Remove.
625
988197f0
AS
6262013-01-10 Andreas Schwab <schwab@suse.de>
627
628 [BZ #14964]
629 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
630 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
631
e83d7298
DM
6322013-01-09 David S. Miller <davem@davemloft.net>
633
034ed64b 634 [BZ #15003]
e83d7298
DM
635 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
636 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
637 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
638 TCP_FASTOPEN): Define.
639 (tcp_repair_opt): New structure.
640 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
641 enum values.
642 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
643 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
644 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
645 (tcp_cookie_transactions): New structure.
646
d5e0b9bd
AB
6472013-01-09 Anton Blanchard <anton@samba.org>
648
649 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
650 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
651 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
652 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
653
0c07e3ea
JM
6542013-01-09 Joseph Myers <joseph@codesourcery.com>
655
656 * include/features.h (__USE_ANSI): Remove.
657
232f7002
RM
6582013-01-09 Roland McGrath <roland@hack.frob.com>
659
ad98e30c
RM
660 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
661
232f7002
RM
662 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
663
950c99ca
SP
6642013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
665
b5792741
SP
666 * sysdeps/s390/fpu/libm-test-ulps: Update.
667
47cf2278
SP
668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
669
950c99ca
SP
670 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
671 (__acr): Likewise.
672 (__cpy): Likewise.
673 (norm): Likewise.
674 (denorm): Likewise.
675 (__mp_dbl): Likewise.
676 (__dbl_mp): Likewise.
677 (add_magnitudes): Likewise.
678 (sub_magnitudes): Likewise.
679 (__add): Likewise.
680 (__sub): Likewise.
681 (__mul): Likewise.
682 (__inv): Likewise.
683 (__dvd): Likewise.
684 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
685 (__acr): Likewise.
686 (__cpy): Likewise.
687 (norm): Likewise.
688 (denorm): Likewise.
689 (__mp_dbl): Likewise.
690 (__dbl_mp): Likewise.
691 (add_magnitudes): Likewise.
692 (sub_magnitudes): Likewise.
693 (__add): Likewise.
694 (__sub): Likewise.
695 (__mul): Likewise.
696 (__inv): Likewise.
697 (__dvd): Likewise.
698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
699 (__acr): Likewise.
700 (__cpy): Likewise.
701 (norm): Likewise.
702 (denorm): Likewise.
703 (__mp_dbl): Likewise.
704 (__dbl_mp): Likewise.
705 (add_magnitudes): Likewise.
706 (sub_magnitudes): Likewise.
707 (__add): Likewise.
708 (__sub): Likewise.
709 (__mul): Likewise.
710 (__inv): Likewise.
711 (__dvd): Likewise.
712
eede9df9
JM
7132013-01-08 Joseph Myers <joseph@codesourcery.com>
714
715 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
716 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
717 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
718 2 && __USE_EXTERN_INLINES]: Likewise.
719
c40ea3d9
AJ
7202013-01-08 Andreas Jaeger <aj@suse.de>
721
722 [BZ# 14985]
723 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
724 Remove.
725 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
726 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
727
2ccdea26
AB
7282013-01-07 Anton Blanchard <anton@samba.org>
729
730 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
731 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
732 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
733 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
734 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
735 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
736 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
737 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
739 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
740 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
741 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
742 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
743 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
744 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
745 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
746 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
747 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
748 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
749 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
750 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
751 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
753 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
754 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
755 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
756 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
757 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
758 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
759 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
760 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
762 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
763 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
764 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
765 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
766 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
767 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
768 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
769 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
770 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
771 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
772 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
773
a9708fed
JM
7742013-01-07 Joseph Myers <joseph@codesourcery.com>
775
375607b9
JM
776 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
777 (__MALLOC_PMT): Likewise.
778 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
779 [__GNUC__], only on [_LIBC].
780 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
781 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
782 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
783 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
784 forward declaration.
785 (realloc_hook_ini): Likewise.
786 (memalign_hook_ini): Likewise.
787 (__libc_memalign): Do not use __MALLOC_PMT in variable
788 declaration.
789 (__libc_valloc): Likewise.
790 (__libc_pvalloc): Likewise.
791 (__libc_calloc): Likewise.
792 (__posix_memalign): Likewise.
793
a9708fed
JM
794 [BZ #14996]
795 * math/s_casinh.c: Include <float.h>.
796 (__casinh): Do not do computation with squaring and square root
797 for large arguments.
798 * math/s_casinhf.c: Include <float.h>.
799 (__casinhf): Do not do computation with squaring and square root
800 for large arguments.
801 * math/s_casinhl.c: Include <float.h>.
802 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
803 (__casinhl): Do not do computation with squaring and square root
804 for large arguments.
805 * math/libm-test.inc (casin_test): Add more tests.
806 (casinh_test): Likewise.
807 * sysdeps/i386/fpu/libm-test-ulps: Update.
808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
809
afec409a
L
8102013-01-04 H.J. Lu <hongjiu.lu@intel.com>
811
812 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
813 (__x86_64_raw_data_cache_size): Likewise.
814 (__x86_64_data_cache_size_half): Likewise.
815 (__x86_64_raw_data_cache_size_half): Likewise.
816 (__x86_64_shared_cache_size): Likewise.
817 (__x86_64_raw_shared_cache_size): Likewise.
818 (__x86_64_shared_cache_size_half): Likewise.
819 (__x86_64_raw_shared_cache_size_half): Likewise.
820 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
821 to ...
822 (__x86_data_cache_size): This.
823 (__x86_64_raw_data_cache_size): Renamed to ...
824 (__x86_raw_data_cache_size): This.
825 (__x86_64_data_cache_size_half): Renamed to ...
826 (__x86_data_cache_size_half): This.
827 (__x86_64_raw_data_cache_size_half): Renamed to ...
828 (__x86_raw_data_cache_size_half): This.
829 (__x86_64_shared_cache_size): Renamed to ...
830 (__x86_shared_cache_size): This.
831 (__x86_64_raw_shared_cache_size): Renamed to ...
832 (__x86_raw_shared_cache_size): This.
833 (__x86_64_shared_cache_size_half): Renamed to ...
834 (__x86_shared_cache_size_half): This.
835 (__x86_64_raw_shared_cache_size_half): Renamed to ...
836 (__x86_raw_shared_cache_size_half): This.
837 * sysdeps/x86_64/memcpy.S: Updated.
838 * sysdeps/x86_64/memset.S: Likewise.
839 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
840 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
841 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
842
0b3986d0
DM
8432013-01-04 David S. Miller <davem@davemloft.net>
844
845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
846
e47686e9
AS
8472013-01-04 Andreas Schwab <schwab@linux-m68k.org>
848
d643bac1
AS
849 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
850 1 to avoid redefinition warning.
851 (__USE_GNU): Don't define.
852 (init_signaling_nan): Protoize.
853
e47686e9
AS
854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
855
b18decba
SP
8562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
857
fffb407f
SP
858 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
860 (__cpymn): Likewise.
861 (norm): Remove commented code.
862 (denorm): Likewise.
863 (__mp_dbl): Likewise.
864 (__inv): Likewise.
865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
866 (__cpymn): Likewise.
867 (norm): Remove commented code.
868 (denorm): Likewise.
869 (__mp_dbl): Likewise.
870 (__inv): Likewise.
871
b18decba
SP
872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
873 mp_no value for 1.0 and 2.0.
874 (norm): Use RADIXI instead of radixi.d.
875 (denorm): Likewise.
876 (__mul): Use 0.0 instead of zero.d.
877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
878 mp_no value for 1.0 and 2.0.
879 (norm): Use RADIXI instead of radixi.d.
880 (denorm): Likewise.
881 (__mul): Use 0.0 instead of zero.d.
882
cdc1c96f
JM
8832013-01-04 Joseph Myers <joseph@codesourcery.com>
884
885 [BZ #14994]
886 * math/s_casinh.c (__casinh): Reduce finite argument to first
887 quadrant then set signs of results at the end.
888 * math/s_casinhf.c (__casinhf): Likewise.
889 * math/s_casinhl.c (__casinhl): Likewise.
890 * math/libm-test.inc (casin_test): Add more tests.
891 (casinh_test): Likewise.
892 * sysdeps/i386/fpu/libm-test-ulps: Update.
893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
894
302913e1
SP
8952013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
896
6420d207
SP
897 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
898
a9e48ab4
SP
899 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
900
b7837264
SP
901 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
902 declarations.
903 (denorm): Likewise.
904 (__mp_dbl): Likewise.
905 (__inv): Likewise.
906
f8af25d2
SP
907 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
908 and adjust the header comment.
909
302913e1
SP
910 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
911 variable name from declaration.
912
5d7dd1ca
L
9132013-01-03 H.J. Lu <hongjiu.lu@intel.com>
914
915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
916 Initialize COMMON_CPUID_INDEX_7 element.
917 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
918 (CPUID_RTM): Likewise.
919 (HAS_RTM): Likewise.
920 (COMMON_CPUID_INDEX_7): New enum.
921
2f5f40f4
AS
9222013-01-03 Andreas Schwab <schwab@linux-m68k.org>
923
924 [BZ #14981]
925 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
926 size is zero, record memory as freed.
927
4056f4a0
AJ
9282013-01-03 Andreas Jaeger <aj@suse.de>
929
930 * po/ia.po: Add new Interlingua translation.
931
ab15736f 9322012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
933
934 * locale/programs/localedef.c: Fix description of '--posix' flag.
935
568035b7
JM
9362013-01-02 Joseph Myers <joseph@codesourcery.com>
937
e6898b8d
JM
938 * NEWS: Update dates in second copyright notice.
939 * README: Update copyright dates in example.
940 * manual/libc.texinfo: Update copyright dates.
941 * scripts/test-installation.pl: Update copyright date in --version
942 output.
943
0e2f9562
JM
944 * hurd/ctty-input.c: Fix copyright notice formatting.
945 * hurd/ctty-output.c: Likewise.
946 * hurd/dtable.c: Likewise.
947 * hurd/hurd-raise.c: Likewise.
948 * hurd/hurdprio.c: Likewise.
949 * hurd/msgportdemux.c: Likewise.
950 * misc/sys/file.h: Likewise.
951 * misc/sys/ioctl.h: Likewise.
952 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
953 * sysdeps/mach/hurd/chdir.c: Likewise.
954 * sysdeps/mach/hurd/fchdir.c: Likewise.
955 * sysdeps/mach/hurd/rename.c: Likewise.
956 * sysdeps/mach/hurd/rmdir.c: Likewise.
957 * sysdeps/mach/hurd/seekdir.c: Likewise.
958 * sysdeps/mach/hurd/setsid.c: Likewise.
959 * sysdeps/posix/wait3.c: Likewise.
960
568035b7
JM
961 * All files with FSF copyright notices: Update copyright dates
962 using scripts/update-copyrights.
963 * intl/plural.c: Regenerated.
964 * locale/programs/charmap-kw.h: Likewise.
965 * locale/programs/locfile-kw.h: Likewise.
966
da08f647
SP
9672013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
968
0f5477af
SP
969 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
970 four values.
971
44e0d4c2
SP
972 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
973 calculation loop and add branch prediction.
974
4d55b4e5
SP
975 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
976 check access beyond bounds of m1np.
977
da08f647
SP
978 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
979 MPTWO.
980 (__inv): Remove local variable MPTWO to use the global
981 constant.
982 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
983 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
984 variable MPTWO.
985 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
986 MP3HALFS static const.
987
8e051029
DM
9882013-01-01 David S. Miller <davem@davemloft.net>
989
990 * po/ca.po: Update from translation team.
991
f4cf5f2d
JM
9922013-01-01 Joseph Myers <joseph@codesourcery.com>
993
994 * scripts/update-copyrights: New file.
995 * Makeconfig: Reformat copyright notice.
996 * ctype/ctype.h: Likewise.
997 * debug/swprintf_chk.c: Likewise.
998 * elf/dl-cache.c: Likewise.
999 * elf/dl-debug.c: Likewise.
1000 * elf/dl-object.c: Likewise.
1001 * grp/initgroups.c: Likewise.
1002 * hurd/Makefile: Likewise.
1003 * hurd/hurd/signal.h: Likewise.
1004 * hurd/hurdfault.c: Likewise.
1005 * hurd/hurdioctl.c: Likewise.
1006 * hurd/hurdlookup.c: Likewise.
1007 * hurd/intr-msg.c: Likewise.
1008 * iconv/gconv_open.c: Likewise.
1009 * libio/swprintf.c: Likewise.
1010 * locale/lc-ctype.c: Likewise.
1011 * locale/nl_langinfo.c: Likewise.
1012 * mach/Machrules: Likewise.
1013 * mach/Makefile: Likewise.
1014 * malloc/obstack.h: Likewise.
1015 * manual/Makefile: Likewise.
1016 * manual/tsort.awk: Likewise.
1017 * misc/bits/stab.def: Likewise.
1018 * nis/nis_print_group_entry.c: Likewise.
1019 * nis/nis_table.c: Likewise.
1020 * nis/nss_compat/compat-pwd.c: Likewise.
1021 * nis/nss_compat/compat-spwd.c: Likewise.
1022 * po/Makefile: Likewise.
1023 * posix/fnmatch.c: Likewise.
1024 * posix/regex.h: Likewise.
1025 * resolv/Makefile: Likewise.
1026 * resolv/nss_dns/dns-network.c: Likewise.
1027 * resolv/res_hconf.c: Likewise.
1028 * scripts/gen-sorted.awk: Likewise.
1029 * soft-fp/soft-fp.h: Likewise.
1030 * stdio-common/printf.h: Likewise.
1031 * stdlib/monetary.h: Likewise.
1032 * stdlib/random.c: Likewise.
1033 * stdlib/random_r.c: Likewise.
1034 * sysdeps/generic/Makefile: Likewise.
1035 * sysdeps/gnu/Makefile: Likewise.
1036 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1037 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1038 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1040 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1043 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1044 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1046 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1047 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1048 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1049 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1050 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1051 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1052 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1053 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1054 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1055 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1056 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1057 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1058 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1059 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1060 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1061 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1062 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1063 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1064 * sysdeps/mach/hurd/errnos.awk: Likewise.
1065 * sysdeps/mach/hurd/fork.c: Likewise.
1066 * sysdeps/mach/hurd/getcwd.c: Likewise.
1067 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1068 * sysdeps/mach/hurd/mmap.c: Likewise.
1069 * sysdeps/mach/hurd/utimes.c: Likewise.
1070 * sysdeps/mach/hurd/xmknod.c: Likewise.
1071 * sysdeps/posix/profil.c: Likewise.
1072 * sysdeps/posix/readdir_r.c: Likewise.
1073 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1074 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1075 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1076 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1078 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1079 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1080 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1081 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1082 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1083 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1084 * sysdeps/pthread/lio_listio.c: Likewise.
1085 * sysdeps/sparc/dl-procinfo.h: Likewise.
1086 * sysdeps/unix/i386/sysdep.S: Likewise.
1087 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1088 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1089 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1090 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1092 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1093 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1094 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1095 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1096 * sysdeps/wordsize-32/divdi3.c: Likewise.
1097 * time/sys/time.h: Likewise.
1098 * wcsmbs/Makefile: Likewise.
1099
0549fbba
DM
11002013-01-01 David S. Miller <davem@davemloft.net>
1101
a141f1a7
DM
1102 * po/fr.po: Update from translation team.
1103
0549fbba
DM
1104 * catgets/gencat.c: Update copyright year.
1105 * csu/version.c: Likewise.
1106 * debug/catchsegv.sh: Likewise.
1107 * debug/pcprofiledump.c: Likewise.
1108 * debug/xtrace.sh: Likewise.
1109 * elf/ldconfig.c: Likewise.
1110 * elf/ldd.bash.in: Likewise.
1111 * elf/pldd.c: Likewise.
1112 * elf/sotruss.ksh: Likewise.
1113 * elf/sprof.c: Likewise.
1114 * iconv/iconv_prog.c: Likewise.
1115 * iconv/iconvconfig.c: Likewise.
1116 * locale/programs/locale.c: Likewise.
1117 * locale/programs/localedef.c: Likewise.
1118 * login/programs/pt_chown.c: Likewise.
1119 * malloc/memusage.sh: Likewise.
1120 * malloc/memusagestat.c: Likewise.
1121 * malloc/mtrace.pl: Likewise.
1122 * nscd/nscd.c: Likewise.
1123 * nss/getent.c: Likewise.
1124 * nss/makedb.c: Likewise.
1125 * posix/getconf.c: Likewise.
1126
18ea052c
SP
11272012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1128
1129 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1130 numbers.
1131
9c89fca6
MF
11322012-12-30 Mike Frysinger <vapier@gentoo.org>
1133
1134 * math/bits/mathcalls.h (modf): Use __nonnull.
1135
085ec079
SP
11362012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1137
1138 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1139 (split): Use macro CN instead of the bare value.
1140 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1141 could be used.
1142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1143 instead of the bare value.
1144 (power1): Likewise.
1145
6d9f97e1
SP
11462012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1147
d63f73be
SP
1148 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1149 __ATAN_TWOM.
1150 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1151
6d9f97e1
SP
1152 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1153 their values.
1154 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1155 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1156 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1157 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1158
4c4febf5
AJ
11592012-12-28 Andreas Jaeger <aj@suse.de>
1160
af5843ef
AJ
1161 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1162 values are from Linux 3.7.
1163
4c4febf5
AJ
1164 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1165 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1166
99136f82
SP
11672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1168
2f216c3c 1169 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1170 TRUE case.
1171
99136f82
SP
1172 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1173 (norm): Likewise.
1174 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1175 variables with preprocessor constants.
1176 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1177 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1178 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1179
7fffbdff
BH
11802012-12-27 Bruno Haible <bruno@clisp.org>
1181
1182 [BZ #14317]
1183 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1184 only if needed.
1185
b76eb5f0
SP
11862012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1187
31a7fe5c
SP
1188 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1189 and use variable directly.
1190 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1191
b76eb5f0
SP
1192 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1193 MPONE.
1194 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1195 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1196 variable MPONE.
1197 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1198 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1199 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1200 include directive. Remove local variable MPONE.
1201 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1202 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1203 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1204
2c8bfe7d
DM
12052012-12-25 David S. Miller <davem@davemloft.net>
1206
1207 * version.h (RELEASE): Set to "development".
1208 (VERSION): Set to "2.17.90".
1209 * NEWS: Add 2.18 section.
1210
147d03b0
DM
12112012-12-21 David S. Miller <davem@davemloft.net>
1212
1213 * po/hr.po: Update from translation team.
1214
a8ebb2b9
AK
12152012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1216
1217 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1218
95b4f1b6
SE
12192012-12-19 Steve Ellcey <sellcey@mips.com>
1220
b2d94007 1221 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1222
cedb2a90
MS
12232012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1224
1225 * manual/contrib.texi (Contributors): Spelling correction.
1226
bbf527d6
DM
12272012-12-15 David S. Miller <davem@davemloft.net>
1228
1229 * po/ru.po: Update from translation team.
1230
bc38c906
DM
12312012-12-13 David S. Miller <davem@davemloft.net>
1232
85429b1a
DM
1233 * NEWS: Mention IFUNC testsuite enhancements.
1234
d283e353
DM
1235 * po/pl.po: Update from translation team.
1236 * po/bg.po: Likewise.
1237
bc38c906
DM
1238 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1239 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1240
a181b0d7
DM
12412012-12-11 David S. Miller <davem@davemloft.net>
1242
4641d57e
DM
1243 * po/sv.po: Update from translation team.
1244
f7bc6495
DM
1245 * po/vi.po: Update from translation team.
1246
6fc9048f
DM
1247 * po/cs.po: Update from translation team.
1248
a181b0d7
DM
1249 * po/de.po: Update from translation team.
1250 * po/eo.po: Likewise.
1251 * po/nl.po: Likewise.
1252
f70bfe80
SP
12532012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1254
3c8b4190
SP
1255 [BZ #14246]
1256 * manual/argp.texi (Argp Helper Functions): Move node to follow
1257 Argp Parsing State.
1258
f70bfe80
SP
1259 [BZ #14872]
1260 * manual/conf.texi (Limits on File System Capacity): Mention if
1261 terminating null is included in the max size.
1262
188f0adf
AJ
12632012-12-10 Andreas Jaeger <aj@suse.de>
1264
1265 * po/cs.po: Update from translation team.
1266
56e7d3ad
SP
12672012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1268
1269 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1270 void pointer and cast to uintptr_t.
1271 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1272 path.
1273 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1274 * sysdeps/s390/s390-64/memset.S: Likewise.
1275
76f2d2ea 12762012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1277
1278 [BZ #14833]
1279 * menual/message.texi (Message Translation): Fix typos.
1280 (Helper programs for gettext): Likewise.
1281
67cbf9a2
AS
12822012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1283
1284 [BZ #14898]
1285 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1286 Change to -1.
1287
682d0e9a
DM
12882012-12-07 David S. Miller <davem@davemloft.net>
1289
1290 * po/libc.pot: Update.
1291
573cd484
RH
12922012-12-07 Richard Henderson <rth@redhat.com>
1293
7e9da188 1294 [BZ #10114]
573cd484
RH
1295 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1296 normal/normal case to before the switch.
1297 (_FP_DIV): Likewise.
1298
e933a943
MF
12992012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1300 Mike Frysinger <vapier@gentoo.org>
1301
1302 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1303 check for __NR_fadvise64_64.
1304
82123268
CM
13052012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1306
1307 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1308 0, not just to plain "0" as a statement.
1309 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1310 with cw.
1311
d9814526
JM
13122012-12-06 Joseph Myers <joseph@codesourcery.com>
1313
1314 * NEWS: Use sourceware.org in Bugzilla URL.
1315
7728c574
SP
13162012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1317
f16946dd
SP
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1319 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1320
5704bbcb
SP
1321 * stdio-common/tst-put-error.c (do_test): Add newline to the
1322 padded test to ensure flush.
1323
17aa0516
JL
13242012-12-05 Jeff Law <law@redhat.com>
1325
1326 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1327
363313b5
JM
13282012-12-05 Joseph Myers <joseph@codesourcery.com>
1329
effbd42a
JM
1330 * README: Don't refer to ports add-on as distributed separately.
1331 Mention AArch64 in list of systems supported in the ports add-on.
1332
87600365
JM
1333 * LICENSES: Add more non-FSF copyright and license notices.
1334
a0d7066a
JM
1335 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1336 ((unused)).
1337
66ca5a5b
JM
1338 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1339
363313b5
JM
1340 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1341 10000 as width of padded output.
1342
b37984ad
JM
13432012-12-04 Joseph Myers <joseph@codesourcery.com>
1344
9003570a
JM
1345 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1346
b37984ad
JM
1347 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1348 variable LX with __attribute__ ((unused)).
1349 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1350 Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1352 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1353 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1354 with __attribute__ ((unused)).
1355
c8df52ec
DM
13562012-12-04 David S. Miller <davem@abraco.davemloft.net>
1357
1358 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1359
b3b099af
JM
13602012-12-04 Joseph Myers <joseph@codesourcery.com>
1361
c33aa6e3
JM
1362 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1363 (CFLAGS-nldbl-acos.c): New variable.
1364 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1365 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1366 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1367 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1368 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1369 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1370 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1371 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1372 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1373 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1374 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1375 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1376 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1377 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1378 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1379 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1380 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1381 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1382 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1383 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1384 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1385 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1386 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1387 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1388 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1389 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1390 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1391 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1392 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1393 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1394 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1395 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1396 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1397 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1398 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1399 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1400 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1401 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1402 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1403 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1404 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1405 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1406 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1407 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1408 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1409 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1410 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1411 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1412 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1413 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1414 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1415 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1416 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1417 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1418 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1419 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1420 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1421 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1422 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1423 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1424 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1425 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1426 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1427 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1428 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1429 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1430 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1431 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1432 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1433 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1434 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1435 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1436 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1437 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1438 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1439 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1440 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1441 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1442 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1443 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1444 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1445 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1446 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1447 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1448 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1449 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1450 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1451 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1452 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1453 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1454 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1455 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1456 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1457 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1458 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1459 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1460 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1461
20f0018d
JM
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1463 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1464
b3b099af
JM
1465 [BZ #14914]
1466 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1467 whole low double instead of just low 47 bits when splitting values
1468 into two parts.
1469
029264d1
AM
14702012-12-03 Allan McRae <allan@archlinux.org>
1471
1472 * manual/stdio.texi (Predefined Printf Handlers): Remove
1473 @hsep and @vsep usage.
1474
c9d6789e
MF
14752012-12-03 Mike Frysinger <vapier@gentoo.org>
1476
1477 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1478 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1479
4b7634a5
JL
14802012-12-03 Jeff Law <law@redhat.com>
1481
1482 * time/sys/time.h (settimeofday): Do not mark TV argument
1483 as __nonnull.
1484
eb6cbd24
MF
14852012-12-01 Mike Frysinger <vapier@gentoo.org>
1486
1487 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1488 when currently writing and seek to current position when not.
1489 * libio/Makefile (tests): Remove bug-fclose1.
1490 * libio/bug-fclose1.c: Delete.
1491
f638872a
JM
14922012-12-01 Joseph Myers <joseph@codesourcery.com>
1493
1494 * manual/arith.texi (feenableexcept): Fix typo.
1495 (fedisableexcept): Likewise.
1496
48085d14
RM
14972012-11-30 Roland McGrath <roland@hack.frob.com>
1498
1499 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1500 second, differently-typed declaration, rather than a cast.
1501
1a538b9f
SP
15022012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1503
1504 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1505 * include/rpc/svc.h: ... here.
1506
d07f2ff1 15072012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1508
1509 [BZ #13013]
1510 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1511 depending n and resplen2 to catch cases where answer
1512 equals answerp2.
1513
c93ec1f0
CD
15142012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1515
1516 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1517 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1518
37db69de
MF
15192012-11-29 Mike Frysinger <vapier@gentoo.org>
1520
1521 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1522
e10c4e4f
RM
15232012-11-29 Roland McGrath <roland@hack.frob.com>
1524
1525 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1526
2af1b328
JL
15272012-11-28 Jeff Law <law@redhat.com>
1528
1529 [BZ #13761]
1530 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1531 dataset_temporary. Track alloca usage into alloca_used.
1532 If dataset is large allocate and release it via malloc/free.
1533
111db5b1
FW
15342012-06-04 Florian Weimer <fweimer@redhat.com>
1535
f06cc227 1536 [BZ #14197]
111db5b1
FW
1537 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1538
dd694abd
DM
15392012-11-28 David S. Miller <davem@davemloft.net>
1540
1541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1542
9984dd01
JM
15432012-11-28 Joseph Myers <joseph@codesourcery.com>
1544
1545 [BZ #14803]
1546 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1547 of pi/2 rounded to nearest to 64 bits.
1548 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1549 nearest to 64 bits.
1550 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1551 bits.
1552
14bc93a9
JL
15532012-11-28 Jeff Law <law@redhat.com>
1554 Martin Osvald <mosvald@redhat.com>
1555
1556 [BZ #14889]
1557 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1558 * sunrpc/svc.c: Include time.h.
1559 (__svc_accept_failed): New function.
1560 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1561 any reason other than EINTR, call __svc_accept_failed.
1562 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1563 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1564
e3c6aa3a
AS
15652012-11-28 Andreas Schwab <schwab@suse.de>
1566
1567 * scripts/abilist.awk: Also handle indirect functions in .opd
1568 section.
1569
1bead169
JM
15702012-11-28 Joseph Myers <joseph@codesourcery.com>
1571
1572 [BZ #13881]
1573 * sysdeps/x86/fpu/powl_helper.c: New file.
1574 * sysdeps/x86/fpu/Makefile: Likewise.
1575 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1576 (p3): New object.
1577 (__ieee754_powl): Use __powl_helper for finite arguments except
1578 integer exponents below 8.
1579 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1580 (p3): New object.
1581 (__ieee754_powl): Use __powl_helper for finite arguments except
1582 integer exponents below 8.
1583 * math/libm-test.inc (pow_test): Add more tests and enable some
1584 previously disabled tests.
1585 * sysdeps/i386/fpu/libm-test-ulps: Update.
1586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1587
0817d63d
SP
15882012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1589 Carlos O'Donell <carlos_odonell@mentor.com>
1590
1591 * nss/makedb.c (is_prime): Assert that input is odd and greater
1592 than 4. Note that fact in a comment too.
1593 (next_prime): Add 4 to input.
1594
de2fd463
SP
15952012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1596
1597 [BZ #11741]
1598 * libio/Makefile (tests): Add test case tst-fwrite-error.
1599 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1600 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1601 * libio/tst-fwrite-error.c: New test case.
1602
c515fb51
L
16032012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1604
1605 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1606 before casting to void *.
1607 * include/libc-internal.h (__pointer_type): New macro.
1608 (__integer_if_pointer_type_sub): Likewise.
1609 (__integer_if_pointer_type): Likewise.
1610 (cast_to_integer): Likewise.
1611 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1612 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1613 before casting to atomic64_t.
1614 (atomic_exchange_acq): Likewise.
1615 (__arch_exchange_and_add_body): Likewise.
1616 (__arch_add_body): Likewise.
1617 (atomic_add_negative): Likewise.
1618 (atomic_add_zero): Likewise.
1619
4cf77aa9
JM
16202012-11-26 Joseph Myers <joseph@codesourcery.com>
1621
1622 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1623 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1624 (add_fdes): Likewise.
1625 (linear_search_fdes): Likewise.
1626 (binary_search_unencoded_fdes): Likewise.
1627
d260b3b4
AS
16282012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1629
1630 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1631
67060746
AC
16322012-11-24 Adam Conrad <adconrad@0c3.net>
1633
1634 * configure.in: Autodetect C++ header directories.
1635 * configure: Regenerated.
1636
800938a1
MF
16372012-11-23 Mike Frysinger <vapier@gentoo.org>
1638
1639 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1640
4e6e34e6
AS
16412012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1642
1643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1644
7c7feb47
JM
16452012-11-22 Joseph Myers <joseph@codesourcery.com>
1646
7184dcdf
JM
1647 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1648 LDBL_MANT_DIG == 106]: Disable some tests.
1649 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1650 Likewise.
1651 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1652 Likewise.
1653
0a42601f
JM
1654 [BZ #14871]
1655 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1656 input for small inputs. Return +/- pi/2 for large inputs.
1657 * math/libm-test.inc (atan_test): Add more tests.
1658
79c9b9fe
JM
1659 * sysdeps/generic/unwind-dw2-fde-glibc.c
1660 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1661 __attribute__ ((unused)).
1662
c60d3bf2
JM
1663 [BZ #14645]
1664 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1665 x * y if x and y are nonzero and z is zero.
1666
ef1e0867
JM
1667 [BZ #14811]
1668 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1669 nonzero exponents with absolute value below 0x1p-117 to +/-
1670 0x1p-117.
1671
1468ded3
JM
1672 [BZ #14869]
1673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1674 up arguments below 2**-450, not just those below 2**-500.
1675 * math/libm-test.inc (hypot_test): Add another test.
1676
8e27e3cc
JM
1677 [BZ #14868]
1678 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1679 Return a+b for ratio over 2**120, not 2**60.
1680 * math/libm-test.inc (hypot_test): Add another test.
1681
c9c0279b
JM
1682 * math/libm-test.inc (clog_test): Use
1683 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1684 (clog10_test): Likewise.
1685
7c7feb47
JM
1686 [BZ #6778]
1687 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1688
fff1530e
AS
16892012-11-22 Andreas Schwab <schwab@suse.de>
1690
1691 * sysdeps/i386/fpu/libm-test-ulps: Update.
1692
94558d30
PT
16932012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1694
1695 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1696 printf output with newline.
1697
7e1be741
L
16982012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1699
6bfea974
L
1700 [BZ #14865]
1701 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1702 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1703 -z nodlopen, -z initfirst and -z execstack support.
1704 * configure: Regenerated.
1705
7e1be741
L
1706 * elf/elf.h (DF_1_NODIRECT): New macro.
1707 (DF_1_IGNMULDEF): Likewise.
1708 (DF_1_NOKSYMS): Likewise.
1709 (DF_1_NOHDR): Likewise.
1710 (DF_1_EDITED): Likewise.
1711 (DF_1_NORELOC): Likewise.
1712 (DF_1_SYMINTPOSE): Likewise.
1713 (DF_1_GLOBAUDIT): Likewise.
1714 (DF_1_SINGLETON): Likewise.
1715 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1716 DT_1_SUPPORTED_MASK bits.
1717 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1718
105ce2ce
CD
17192012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1720
1721 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1722
123be9de
TS
17232012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1724
d072f3f7
TS
1725 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1726 macro.
1727
123be9de
TS
1728 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1729 (sendmmsg): Move declarations...
1730 * socket/sys/socket.h: ... here.
1731 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1732 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1733 include it from...
1734 * socket/recvmmsg.c: ... this new file.
1735 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1736 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1737 definition of __sendmmsg hidden.
1738 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1739 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1740 Move ENOSYS stub into and include it from...
1741 * socket/sendmmsg.c: ... this new file.
1742 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1743 (sysdep_routines): Move recvmmsg and sendmmsg...
1744 * socket/Makefile (routines): ... here.
1745 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1746 (GLIBC_PRIVATE): Add __sendmmsg.
1747 * include/sys/socket.h (__sendmmsg): Add declarations.
1748 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1749 sendmmsg.
1750
cf9a5d18
JM
17512012-11-20 Joseph Myers <joseph@codesourcery.com>
1752
1753 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1754 variable I1 with __attribute__ ((unused)).
1755 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1756
ecd4caf9
JM
17572012-11-19 Joseph Myers <joseph@codesourcery.com>
1758
be14d48f
JM
1759 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1760 DUMMY variables with __attribute__ ((unused)).
1761
ecd4caf9
JM
1762 * bits/byteswap.h: Include <bits/types.h>.
1763 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1764
986cab95
PT
17652012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1766
1767 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1768 string_t. Do not manually set errno.
1769 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1770 length with __strnlen. Make sure to both set errno and return it on
1771 failure.
1772
6d33cc9d
DM
17732012-11-19 David S. Miller <davem@davemloft.net>
1774
1775 With help from Joseph Myers.
1776 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1777 very large arguments properly.
1778 * math/libm-test.inc (atan_test): New tests.
1779 (atan2_test): New tests.
1780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1782
ee663277
JM
17832012-11-19 Joseph Myers <joseph@codesourcery.com>
1784
877f2d8e
JM
1785 [BZ #14856]
1786 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1787 Define to 3.
1788
116fc08a
JM
1789 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1790 [POSIX] (EADDRNOTAVAIL): Likewise.
1791 [POSIX] (EAFNOSUPPORT): Likewise.
1792 [POSIX] (EALREADY): Likewise.
1793 [POSIX] (ECONNABORTED): Likewise.
1794 [POSIX] (ECONNREFUSED): Likewise.
1795 [POSIX] (ECONNRESET): Likewise.
1796 [POSIX] (EDESTADDRREQ): Likewise.
1797 [POSIX] (EDQUOT): Likewise.
1798 [POSIX] (EHOSTUNREACH): Likewise.
1799 [POSIX] (EIDRM): Likewise.
1800 [POSIX] (EISCONN): Likewise.
1801 [POSIX] (ELOOP): Likewise.
1802 [POSIX] (EMULTIHOP): Likewise.
1803 [POSIX] (ENETDOWN): Likewise.
1804 [POSIX] (ENETUNREACH): Likewise.
1805 [POSIX] (ENOBUFS): Likewise.
1806 [POSIX] (ENODATA): Likewise.
1807 [POSIX] (ENOLINK): Likewise.
1808 [POSIX] (ENOMSG): Likewise.
1809 [POSIX] (ENOPROTOOPT): Likewise.
1810 [POSIX] (ENOSR): Likewise.
1811 [POSIX] (ENOSTR): Likewise.
1812 [POSIX] (ENOTCONN): Likewise.
1813 [POSIX] (ENOTSOCK): Likewise.
1814 [POSIX] (EOPNOTSUPP): Likewise.
1815 [POSIX] (EOVERFLOW): Likewise.
1816 [POSIX] (EPROTO): Likewise.
1817 [POSIX] (EPROTONOSUPPORT): Likewise.
1818 [POSIX] (EPROTOTYPE): Likewise.
1819 [POSIX] (ESTALE): Likewise.
1820 [POSIX] (ETIME): Likewise.
1821 [POSIX] (ETXTBSY): Likewise.
1822 [POSIX] (EWOULDBLOCK): Likewise.
1823 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1824 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1825 [POSIX] (SEEK_CUR): Likewise.
1826 [POSIX] (SEEK_END): Likewise.
1827 [POSIX || UNIX98] (mode_t): Do not require.
1828 [POSIX] (off_t): Likewise.
1829 [POSIX] (pid_t): Likewise.
1830 [POSIX] (sys/stat.h): Do not allow header.
1831 [POSIX] (unistd.h): Likewise.
1832 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1833 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1834 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1835 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1836 require.
1837 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1838 sigevent): Specify elements.
1839 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1840 entry.
1841 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1842 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1843
a483863f
JM
1844 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1845 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1846 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1847 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1848 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1849 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1850 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1851 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1852 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1853 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1854 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1855 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1856 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1857 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1858 Likewise.
1859 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1860 Likewise.
1861 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1862 Likewise.
1863 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1864 Likewise.
1865 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1866 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1867 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1868 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1869 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1870 Specify lower bound on value.
1871 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1872 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1873 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1874 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1875 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1876 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1877 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1878 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1879 value.
1880 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1881 as optional.
1882 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1883 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1884 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1885 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1886 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1887 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1888 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1889 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1890 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1891 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1892 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1893 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1894 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1895 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1896 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1897 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1898 entry.
1899 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1900 optional.
1901 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1902 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1903 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1904 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1905 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1906 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1907 Likewise.
1908 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1909 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1910 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1911 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1912 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1913 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1914 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1915 as optional.
1916 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1917 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1918 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1919 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1920 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1921 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1922 specify as optional.
1923 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1924 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1925 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1926 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1927 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1928 [XPG3] (NL_LANGMAX): Likewise.
1929 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1930 [POSIX || XPG3] (NL_NMAX): Likewise.
1931 [POSIX || XPG3] (NL_SETMAX): Likewise.
1932 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1933 [XPG3] (NZERO): Likewise.
1934 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1935 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1936 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1937 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1938 (REG_ERANGE): Expect.
1939 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1940 optional-constant.
1941 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1942 Use (void) in prototype.
1943 [POSIX] (*_t): Allow.
1944 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1945 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1946 (WRDE_BADVAL): Expect.
1947
5ba924e3
JM
1948 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1949 expect.
1950 [XPG3 || XPG4] (O_RSYNC): Likewise.
1951 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1952 Likewise.
1953 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1954 [XPG3 || XPG4] (sigqueue): Likewise.
1955 [XPG3 || XPG4] (sigtimedwait): Likewise.
1956 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1957 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1958 [XPG3 || XPG4] (vsnprintf): Likewise.
1959 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1960 Likewise.
1961 [XPG3 || XPG4] (blksize_t): Likewise.
1962 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1963 Likewise.
1964 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1965 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1966 [XPG3 || XPG4] (struct itimerspec): Likewise.
1967 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1968 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1969 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1970 [XPG3 || XPG4] (clockid_t): Likewise.
1971 [XPG3 || XPG4] (timer_t): Likewise.
1972 [XPG3 || XPG4] (clock_getres): Likewise.
1973 [XPG3 || XPG4] (clock_gettime): Likewise.
1974 [XPG3 || XPG4] (clock_settime): Likewise.
1975 [XPG3 || XPG4] (nanosleep): Likewise.
1976 [XPG3 || XPG4] (timer_create): Likewise.
1977 [XPG3 || XPG4] (timer_delete): Likewise.
1978 [XPG3 || XPG4] (timer_gettime): Likewise.
1979 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1980 [XPG3 || XPG4] (timer_settime): Likewise.
1981 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1982 [XPG3 || XPG4] (getlogin_r): Likewise.
1983 [XPG3 || XPG4] (pread): Likewise.
1984 [XPG3 || XPG4] (pthread_atfork): Likewise.
1985 [XPG3 || XPG4] (pwrite): Likewise.
1986
ee663277
JM
1987 [BZ #14835]
1988 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1989 <bits/siginfo.h>.
1990
942caa16
PT
19912012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1992
e19af380
PT
1993 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1994 finalizing MALLSTREAM.
1995
942caa16
PT
1996 * sysdeps/mach/hurd/syncfs.c: New file.
1997
cfde9b46
SP
19982012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1999
2000 [BZ #14719]
2001 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2002 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2003 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2004 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2005 (_nss_dns_gethostbyname4_r): Likewise.
2006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2007 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2008
f6da27e5
PH
20092012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2010
2011 [BZ #13763]
2012 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2013
6665d4a2
SM
20142012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2015
1f51ee92
SM
2016 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2017 * elf/cache.c (print_entry): Print ",AArch64" for
2018 FLAG_AARCH64_LIB64
2019
6665d4a2
SM
2020 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2021 * elf/cache.c (print_entry): Print ",hard-float" for
2022 FLAG_ARM_LIBHF.
2023
05b227bd
DM
20242012-11-18 David S. Miller <davem@davemloft.net>
2025
2026 With help from Joseph Myers.
2027 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2028 cutoff to 2**-13.
2029 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2030 cutoff to 2**-25.
2031 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2032 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2033 small.
2034 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2035 * math/libm-test.inc (y0_test): New tests.
2036 (y1_test): New tests.
2037 * sysdeps/i386/fpu/libm-test-ulps: Update.
2038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2040
786b0b67
AS
20412012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2042
2043 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2044 64-bit targets.
2045 * configure: Regenerated.
2046
8e18b86d
DM
20472012-11-17 David S. Miller <davem@davemloft.net>
2048
2049 [BZ #14811]
2050 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2051 nonzero exponents with absolute value below 0x1p-128 to +/-
2052 0x1p-128.
2053
531f1ae0
JM
20542012-11-17 Joseph Myers <joseph@codesourcery.com>
2055
12df29e2
JM
2056 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2057
150dc1a0
JM
2058 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2059
531f1ae0
JM
2060 * posix/getconf-speclist.c: New file.
2061 * posix/posix-envs.def: Likewise.
2062 * posix/confstr.c (START_ENV_GROUP): New macro.
2063 (END_ENV_GROUP): Likewise.
2064 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2065 (KNOWN_PRESENT_ENV_STRING): Likewise.
2066 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2067 (UNKNOWN_ENVIRONMENT): Likewise.
2068 (confstr): Include posix-envs.def instead of handling
2069 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2070 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2071 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2072 (END_ENV_GROUP): Likewise.
2073 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2074 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2075 (UNKNOWN_ENVIRONMENT): Likewise.
2076 (__sysconf): Include posix-envs.def instead of handling associated
2077 cases directly here.
2078 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2079 preprocessing getconf-speclist.c rather than running getconf or
2080 generating empty file.
2081
a93f9cbc
PT
20822012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2083
2084 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2085
d64d9f87
AL
20862012-11-16 Andrej Lajovic <natrij@gmail.com>
2087
2088 [BZ #14672]
2089 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2090
447885eb
DM
20912012-11-16 David S. Miller <davem@davemloft.net>
2092
2093 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2094 smaller than LDBL_EPSILON/2.0L, just return xm1.
2095
bcbf9830
L
20962012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2097
2098 * elf/tst-array1.c (init): Set constructor priority to 1000.
2099 (fini): Set destructor priority to 1000.
2100 * elf/tst-array2dep.c: Likewise.
2101
2b766585
SP
21022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2103
2104 [BZ #11741]
2105 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2106 (_IO_new_file_xsputn): Also return EOF if none of the input
2107 data was written when overflow failed.
2108 * libio/iopadn.c (_IO_padn): Likewise.
2109 * libio/iowpadn.c (_IO_wpadn): Likewise.
2110 * stdio-common/tst-put-error.c: Add copyright notice.
2111 (do_test): Add case for printing padded string.
2112 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2113 _IO_padn returned error.
2114 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2115 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2116 return EOF.
2117
b1848fde
SP
21182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2119
2120 * libio/libioP.h: Add comment note that the references to C++
2121 bits are now obsolete.
2122
2fd89785
MS
21232012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2124
2125 * math/libm-test.inc (check_complex): Use asprintf.
2126
e3ea5409
JM
21272012-11-14 Joseph Myers <joseph@codesourcery.com>
2128
2129 * debug/pcprofiledump.c (print_version): Update copyright year.
2130 * malloc/memusagestat.c (print_version): Likewise.
2131
2e64d265
L
21322012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2133
2134 [BZ #14831]
2135 * elf/Makefile (tests): Add tst-audit8.
2136 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2137 ($(objpfx)tst-audit8.out): New target.
2138 (tst-audit8-ENV): New variable.
2139 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2140 audit if l_reloc_result is NULL.
2141 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2142 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2143 * elf/tst-audit8.c: New file.
2144
c485e4d2
MS
21452012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2146
2147 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2148 * misc/Makefile (CFLAGS-select.c): Define.
2149 * posix/Makefile (CFLAGS-pause.c): Define.
2150
3a0d900a
DM
21512012-11-13 David S. Miller <davem@davemloft.net>
2152
2153 * crypt/Makefile: Move test targets after toplevel Rules
2154 inclusion. Grab any necessary sysdep routines when linking.
2155 * crypt/md5.c (md5_process_block): Remove define, we will always
2156 name it __md5_process_block.
2157 (md5_finish_ctx): Update md5_process_block call.
2158 (md5_stream): Likewise.
2159 (md5_process_bytes): Likewise.
2160 (md5_process_block): Rename to __md5_process_block and move to ...
2161 * crypt/md5-block.c: ... here.
2162 * crypt/sha256.c (sha256_process_block): Move to ...
2163 * crypt/sha256-block.c: ... here.
2164 * crypt/sha512.c (sha512_process_block): Move to ...
2165 * crypt/sha512-block.c: ... here.
2166 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2167 path.
2168 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2169 * sysdeps/sparc/sparc64/multiarch/Makefile
2170 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2171 crypt subdir.
2172 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2173 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2174 multiarch changes.
2175 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2176 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2177 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2178 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2179 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2180 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2181 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2182 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2183 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2184 file.
2185 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2186 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2187 file.
2188 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2189
8ca89318
JM
21902012-11-13 Joseph Myers <joseph@codesourcery.com>
2191
e27d476a
JM
2192 * timezone/tzselect.ksh: Update from tzcode git revision
2193 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2194 * timezone/zdump.c: Likewise.
2195 * timezone/zic.c: Likewise.
2196 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2197 in TZVERSION setting, not $(PKGVERSION).
2198 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2199 REPORT_BUGS_TO settings.
2200
8ca89318
JM
2201 [BZ #14838]
2202 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2203 macro.
2204
47594329
MS
22052012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2206
2207 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2208 detection to immediately after _FP_ROUND().
2209 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2210 bits are 0.
2211
640ac3f1
DM
22122012-11-11 David S. Miller <davem@davemloft.net>
2213
2214 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2215 inttypes.h
2216 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2217 __close rather than their public counterparts.
2218
3d2577bb
JM
22192012-11-10 Joseph Myers <joseph@codesourcery.com>
2220
2221 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2222 file.
2223 [UNIX98] (sem_timedwait): Do not expect.
2224 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2225 [XPG4 || UNIX98] (sockatmark): Do not expect.
2226 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2227 (clock_getcpuclockid): Do not expect.
2228 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2229 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2230 Do not expect.
2231 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2232 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2233 [UNIX98] (vwscanf): Likewise.
2234 [UNIX98] (vswscanf): Likewise.
2235
fb1ae1ee
JM
22362012-11-09 Joseph Myers <joseph@codesourcery.com>
2237
9ec6f8bd
JM
2238 * timezone/version.h: Remove file.
2239 * timezone/README: Do not refer to version.h.
2240 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2241 $(objpfx)version.h.
2242 ($(objpfx)zdump.o): Likewise.
c3f81911 2243 ($(objpfx)version.h): New target.
9ec6f8bd 2244
0aa8f8a1
JM
2245 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2246 2012i.
2247 * timezone/README: Don't mention modification to tzselect.ksh.
2248 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2249 work on unmodified tzselect.ksh. Substitute version numbers in
2250 tzselect.ksh.
2251
4e87147f
JM
2252 * Makefile (format-me): Remove.
2253 (INSTALL): Adjust indentation. Use commands directly instead of
2254 using $(format-me).
2255
8b748aed
JM
2256 * aclocal.m4 (ACX_PKGVERSION): New macro.
2257 (ACX_BUGURL): Likewise.
2258 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2259 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2260 (REPORT_BUGS_TO): Likewise.
2261 * configure: Regenerated.
2262 * config.h.in (PKGVERSION): New macro.
2263 (REPORT_BUGS_TO): Likewise.
2264 * config.make.in (PKGVERSION): New variable.
2265 (PKGVERSION_TEXI): Likewise.
2266 (REPORT_BUGS_TO): Likewise.
2267 (REPORT_BUGS_TEXI): Likewise.
2268 * Makefile (format-me): Use -I$(common-objpfx)manual.
2269 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2270 ($(common-objpfx)manual/%): New target.
2271 (manual/%): Remove target.
2272 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2273 (print_version): Use PKGVERSION.
2274 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2275 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2276 and REPORT_BUGS_TO.
2277 ($(objpfx)xtrace): Likewise.
2278 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2279 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2280 (print_version): Use PKGVERSION.
2281 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2282 (do_version): Use PKGVERSION.
2283 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2284 REPORT_BUGS_TO.
2285 (common-ldd-rewrite): Likewise.
2286 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2287 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2288 (print_version): Use PKGVERSION.
2289 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2290 * elf/pldd.c (argp_program_bug_address): Remove variable.
2291 (more_help): New function.
2292 (argp): Use more_help.
2293 (print_version): Use PKGVERSION.
2294 * elf/sln.c (main): Use PKGVERSION.
2295 (usage): Use REPORT_BUGS_TO.
2296 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2297 (top level): Use PKGVERSION.
2298 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2299 (print_version): Use PKGVERSION.
2300 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2301 (print_version): Use PKGVERSION.
2302 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2303 (print_version): Use PKGVERSION.
2304 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2305 (print_version): Use PKGVERSION.
2306 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2307 (print_version): Use PKGVERSION.
2308 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2309 (print_version): Use PKGVERSION.
2310 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2311 and BUGURL.
2312 ($(objpfx)memusage): Likewise.
2313 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2314 (do_version): Use PKGVERSION.
2315 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2316 (print_version): Use PKGVERSION.
2317 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2318 ($PKGVERSION): New variable.
2319 ($REPORT_BUGS_TO): Likewise.
2320 (usage): Use $REPORT_BUGS_TO.
2321 (top level): Use $PKGVERSION.
2322 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2323 ($(objpfx)pkgvers.texi): New rule.
2324 ($(objpfx)stamp-pkgvers): Likewise.
2325 * manual/install.texi: Include pkgvers.texi.
2326 (--with-pkgversion): Document new configure option.
2327 (--with-bugurl): Likewise.
2328 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2329 than necessarily for this particular distribution. Use
2330 REPORT_BUGS_TO for where to report bugs.
2331 * INSTALL: Regenerated.
2332 * manual/libc.texinfo: Include pkgvers.texi.
2333 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2334 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2335 (print_version): Use PKGVERSION.
2336 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2337 (print_version): Use PKGVERSION.
2338 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2339 (print_version): Use PKGVERSION.
2340 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2341 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2342 macro.
2343 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2344 (print_version): Use PKGVERSION.
2345 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2346 (print_version): Use PKGVERSION.
2347 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2348 and PKGVERSION.
2349
92e4b6a9
JM
2350 * timezone/checktab.awk: Update from tzcode 2012i.
2351 * timezone/ialloc.c: Likewise.
2352 * timezone/private.h: Likewise.
2353 * timezone/scheck.c: Likewise.
2354 * timezone/tzfile.h: Likewise.
2355 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2356 (TZVERSION): Hardcode tzcode version number.
2357 * timezone/zdump.c: Update from tzcode 2012i.
2358 * timezone/zic.c: Likewise.
2359 * timezone/version.h: New file.
2360 * timezone/README: Describe version.h. Update upstream location.
2361
9bde902c
JM
2362 [BZ #14824]
2363 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2364 (mktemp): Enable declaration.
2365 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2366 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2367 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2369 Likewise.
2370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2371 Likewise.
2372 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2373 Likewise.
2374 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2375 Likewise.
2376 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2377 Likewise.
2378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2379 Likewise.
2380
fb1ae1ee
JM
2381 [BZ #14821]
2382 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2383 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2384 for copies of such integer values.
2385 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2386 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2387
2c1adbcb
AJ
23882012-11-09 Andreas Jaeger <aj@suse.de>
2389
2390 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2391 definitions and declarations that are provided by
2392 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2393
d0f8457e
AK
23942012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2395
3a235abb 2396 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2397 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2398 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2399 definition.
2400
57241e26
MS
24012012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2402
2403 * elf/elf.h: Update comment before AArch64 relocations.
2404
60e8270d
DM
24052012-11-07 David S. Miller <davem@davemloft.net>
2406
2407 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2408 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2409 (__start_context): Declare.
2410 (__makecontext_ret): Delete.
2411 (__makecontext): Hook up __start_context instead of
2412 __makecontext_ret.
2413 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2414 (sysdep_routines): Add __start_context when in stdlib.
2415
0fbb0fbc
JM
24162012-11-07 Joseph Myers <joseph@codesourcery.com>
2417
2418 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2419 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2420 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2421 hardcoded "nm".
2422 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2423 (READELF): New variable. Use it instead of hardcoded "readelf".
2424
eb48db7e
L
24252012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2426
2427 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2428 * sysdeps/x86/Makefile: Here.
2429 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2430 * sysdeps/x86/tst-xmmymm.sh: This.
2431
05bcf62a
JM
24322012-11-07 Joseph Myers <joseph@codesourcery.com>
2433
c4b6cf53
JM
2434 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2435 expectations.
2436 [UNIX98] (pthread_barrier_t): Do not expect.
2437 [UNIX98] (pthread_barrierattr_t): Likewise.
2438 [UNIX98] (pthread_spinlock_t): Likewise.
2439 [UNIX98] (pthread_barrier_destroy): Likewise.
2440 [UNIX98] (pthread_barrier_init): Likewise.
2441 [UNIX98] (pthread_barrier_wait): Likewise.
2442 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2443 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2444 [UNIX98] (pthread_barrierattr_init): Likewise.
2445 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2446 [UNIX98] (pthread_getcpuclockid): Likewise.
2447 [UNIX98] (pthread_mutex_timedlock): Likewise.
2448 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2449 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2450 [UNIX98] (pthread_sigmask): Likewise.
2451 [UNIX98] (pthread_spin_destroy): Likewise.
2452 [UNIX98] (pthread_spin_init): Likewise.
2453 [UNIX98] (pthread_spin_lock): Likewise.
2454 [UNIX98] (pthread_spin_trylock): Likewise.
2455 [UNIX98] (pthread_spin_unlock): Likewise.
2456 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2457 Do not expect.
2458 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2459 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2460 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2461 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2462 [XPG3 || XPG4] (pthread_key_t): Likewise.
2463 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2464 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2465 [XPG3 || XPG4] (pthread_once_t): Likewise.
2466 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2467 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2468 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2469 [XPG3 || XPG4] (pthread_t): Likewise.
2470
cbe6e120
JM
2471 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2472 not expect.
2473 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2474
1b126443
JM
2475 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2476 Change function return type to int.
2477
b961a573
JM
2478 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2479 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2480 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2481 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2482 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2483 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2484 [!POSIX] (posix_madvise): Likewise.
2485 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2486 && !UNIX98].
2487 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2488 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2489 (mode_t): Likewise.
2490 (posix_mem_offset): Likewise.
2491 (posix_typed_mem_get_info): Likewise.
2492 (posix_typed_mem_open): Likewise.
2493
9e188909
JM
2494 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2495 Change condition to [XOPEN2K8].
2496
05bcf62a
JM
2497 * conform/conformtest.pl: Preprocess allow-header data with -x c
2498 instead of from stdin.
2499 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2500 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2501 [C99-based standards] (cerfc): Likewise.
2502 [C99-based standards] (cexp2): Likewise.
2503 [C99-based standards] (cexpm1): Likewise.
2504 [C99-based standards] (clog10): Likewise.
2505 [C99-based standards] (clog1p): Likewise.
2506 [C99-based standards] (clog2): Likewise.
2507 [C99-based standards] (clgamma): Likewise.
2508 [C99-based standards] (ctgamma): Likewise.
2509 [C99-based standards] (cerff): Likewise.
2510 [C99-based standards] (cerfcf): Likewise.
2511 [C99-based standards] (cexp2f): Likewise.
2512 [C99-based standards] (cexpm1f): Likewise.
2513 [C99-based standards] (clog10f): Likewise.
2514 [C99-based standards] (clog1pf): Likewise.
2515 [C99-based standards] (clog2f): Likewise.
2516 [C99-based standards] (clgammaf): Likewise.
2517 [C99-based standards] (ctgammaf): Likewise.
2518 [C99-based standards] (cerfl): Likewise.
2519 [C99-based standards] (cerfcl): Likewise.
2520 [C99-based standards] (cexp2l): Likewise.
2521 [C99-based standards] (cexpm1l): Likewise.
2522 [C99-based standards] (clog10l): Likewise.
2523 [C99-based standards] (clog1pl): Likewise.
2524 [C99-based standards] (clog2l): Likewise.
2525 [C99-based standards] (clgammal): Likewise.
2526 [C99-based standards] (ctgammal): Likewise.
2527 * conform/data/inttypes.h-data [C99-based standards]: Include
2528 stdint.h-data. Remove all expectations for stdint.h contents.
2529 [C99-based standards] (PRI*): Do not allow.
2530 [C99-based standards] (SCN*): Likewise.
2531 [C99-based standards] (*_t): Likewise.
2532 [C99-based-standards] (PRId8): Expect macro.
2533 [C99-based-standards] (PRIi8): Likewise.
2534 [C99-based-standards] (PRIo8): Likewise.
2535 [C99-based-standards] (PRIu8): Likewise.
2536 [C99-based-standards] (PRIx8): Likewise.
2537 [C99-based-standards] (PRIX8): Likewise.
2538 [C99-based-standards] (SCNd8): Likewise.
2539 [C99-based-standards] (SCNi8): Likewise.
2540 [C99-based-standards] (SCNo8): Likewise.
2541 [C99-based-standards] (SCNu8): Likewise.
2542 [C99-based-standards] (SCNx8): Likewise.
2543 [C99-based-standards] (PRIdLEAST8): Likewise.
2544 [C99-based-standards] (PRIiLEAST8): Likewise.
2545 [C99-based-standards] (PRIoLEAST8): Likewise.
2546 [C99-based-standards] (PRIuLEAST8): Likewise.
2547 [C99-based-standards] (PRIxLEAST8): Likewise.
2548 [C99-based-standards] (PRIXLEAST8): Likewise.
2549 [C99-based-standards] (SCNdLEAST8): Likewise.
2550 [C99-based-standards] (SCNiLEAST8): Likewise.
2551 [C99-based-standards] (SCNoLEAST8): Likewise.
2552 [C99-based-standards] (SCNuLEAST8): Likewise.
2553 [C99-based-standards] (SCNxLEAST8): Likewise.
2554 [C99-based-standards] (PRIdFAST8): Likewise.
2555 [C99-based-standards] (PRIiFAST8): Likewise.
2556 [C99-based-standards] (PRIoFAST8): Likewise.
2557 [C99-based-standards] (PRIuFAST8): Likewise.
2558 [C99-based-standards] (PRIxFAST8): Likewise.
2559 [C99-based-standards] (PRIXFAST8): Likewise.
2560 [C99-based-standards] (SCNdFAST8): Likewise.
2561 [C99-based-standards] (SCNiFAST8): Likewise.
2562 [C99-based-standards] (SCNoFAST8): Likewise.
2563 [C99-based-standards] (SCNuFAST8): Likewise.
2564 [C99-based-standards] (SCNxFAST8): Likewise.
2565 [C99-based-standards] (PRId16): Likewise.
2566 [C99-based-standards] (PRIi16): Likewise.
2567 [C99-based-standards] (PRIo16): Likewise.
2568 [C99-based-standards] (PRIu16): Likewise.
2569 [C99-based-standards] (PRIx16): Likewise.
2570 [C99-based-standards] (PRIX16): Likewise.
2571 [C99-based-standards] (SCNd16): Likewise.
2572 [C99-based-standards] (SCNi16): Likewise.
2573 [C99-based-standards] (SCNo16): Likewise.
2574 [C99-based-standards] (SCNu16): Likewise.
2575 [C99-based-standards] (SCNx16): Likewise.
2576 [C99-based-standards] (PRIdLEAST16): Likewise.
2577 [C99-based-standards] (PRIiLEAST16): Likewise.
2578 [C99-based-standards] (PRIoLEAST16): Likewise.
2579 [C99-based-standards] (PRIuLEAST16): Likewise.
2580 [C99-based-standards] (PRIxLEAST16): Likewise.
2581 [C99-based-standards] (PRIXLEAST16): Likewise.
2582 [C99-based-standards] (SCNdLEAST16): Likewise.
2583 [C99-based-standards] (SCNiLEAST16): Likewise.
2584 [C99-based-standards] (SCNoLEAST16): Likewise.
2585 [C99-based-standards] (SCNuLEAST16): Likewise.
2586 [C99-based-standards] (SCNxLEAST16): Likewise.
2587 [C99-based-standards] (PRIdFAST16): Likewise.
2588 [C99-based-standards] (PRIiFAST16): Likewise.
2589 [C99-based-standards] (PRIoFAST16): Likewise.
2590 [C99-based-standards] (PRIuFAST16): Likewise.
2591 [C99-based-standards] (PRIxFAST16): Likewise.
2592 [C99-based-standards] (PRIXFAST16): Likewise.
2593 [C99-based-standards] (SCNdFAST16): Likewise.
2594 [C99-based-standards] (SCNiFAST16): Likewise.
2595 [C99-based-standards] (SCNoFAST16): Likewise.
2596 [C99-based-standards] (SCNuFAST16): Likewise.
2597 [C99-based-standards] (SCNxFAST16): Likewise.
2598 [C99-based-standards] (PRId32): Likewise.
2599 [C99-based-standards] (PRIi32): Likewise.
2600 [C99-based-standards] (PRIo32): Likewise.
2601 [C99-based-standards] (PRIu32): Likewise.
2602 [C99-based-standards] (PRIx32): Likewise.
2603 [C99-based-standards] (PRIX32): Likewise.
2604 [C99-based-standards] (SCNd32): Likewise.
2605 [C99-based-standards] (SCNi32): Likewise.
2606 [C99-based-standards] (SCNo32): Likewise.
2607 [C99-based-standards] (SCNu32): Likewise.
2608 [C99-based-standards] (SCNx32): Likewise.
2609 [C99-based-standards] (PRIdLEAST32): Likewise.
2610 [C99-based-standards] (PRIiLEAST32): Likewise.
2611 [C99-based-standards] (PRIoLEAST32): Likewise.
2612 [C99-based-standards] (PRIuLEAST32): Likewise.
2613 [C99-based-standards] (PRIxLEAST32): Likewise.
2614 [C99-based-standards] (PRIXLEAST32): Likewise.
2615 [C99-based-standards] (SCNdLEAST32): Likewise.
2616 [C99-based-standards] (SCNiLEAST32): Likewise.
2617 [C99-based-standards] (SCNoLEAST32): Likewise.
2618 [C99-based-standards] (SCNuLEAST32): Likewise.
2619 [C99-based-standards] (SCNxLEAST32): Likewise.
2620 [C99-based-standards] (PRIdFAST32): Likewise.
2621 [C99-based-standards] (PRIiFAST32): Likewise.
2622 [C99-based-standards] (PRIoFAST32): Likewise.
2623 [C99-based-standards] (PRIuFAST32): Likewise.
2624 [C99-based-standards] (PRIxFAST32): Likewise.
2625 [C99-based-standards] (PRIXFAST32): Likewise.
2626 [C99-based-standards] (SCNdFAST32): Likewise.
2627 [C99-based-standards] (SCNiFAST32): Likewise.
2628 [C99-based-standards] (SCNoFAST32): Likewise.
2629 [C99-based-standards] (SCNuFAST32): Likewise.
2630 [C99-based-standards] (SCNxFAST32): Likewise.
2631 [C99-based-standards] (PRId64): Likewise.
2632 [C99-based-standards] (PRIi64): Likewise.
2633 [C99-based-standards] (PRIo64): Likewise.
2634 [C99-based-standards] (PRIu64): Likewise.
2635 [C99-based-standards] (PRIx64): Likewise.
2636 [C99-based-standards] (PRIX64): Likewise.
2637 [C99-based-standards] (SCNd64): Likewise.
2638 [C99-based-standards] (SCNi64): Likewise.
2639 [C99-based-standards] (SCNo64): Likewise.
2640 [C99-based-standards] (SCNu64): Likewise.
2641 [C99-based-standards] (SCNx64): Likewise.
2642 [C99-based-standards] (PRIdLEAST64): Likewise.
2643 [C99-based-standards] (PRIiLEAST64): Likewise.
2644 [C99-based-standards] (PRIoLEAST64): Likewise.
2645 [C99-based-standards] (PRIuLEAST64): Likewise.
2646 [C99-based-standards] (PRIxLEAST64): Likewise.
2647 [C99-based-standards] (PRIXLEAST64): Likewise.
2648 [C99-based-standards] (SCNdLEAST64): Likewise.
2649 [C99-based-standards] (SCNiLEAST64): Likewise.
2650 [C99-based-standards] (SCNoLEAST64): Likewise.
2651 [C99-based-standards] (SCNuLEAST64): Likewise.
2652 [C99-based-standards] (SCNxLEAST64): Likewise.
2653 [C99-based-standards] (PRIdFAST64): Likewise.
2654 [C99-based-standards] (PRIiFAST64): Likewise.
2655 [C99-based-standards] (PRIoFAST64): Likewise.
2656 [C99-based-standards] (PRIuFAST64): Likewise.
2657 [C99-based-standards] (PRIxFAST64): Likewise.
2658 [C99-based-standards] (PRIXFAST64): Likewise.
2659 [C99-based-standards] (SCNdFAST64): Likewise.
2660 [C99-based-standards] (SCNiFAST64): Likewise.
2661 [C99-based-standards] (SCNoFAST64): Likewise.
2662 [C99-based-standards] (SCNuFAST64): Likewise.
2663 [C99-based-standards] (SCNxFAST64): Likewise.
2664 [C99-based-standards] (PRIdMAX): Likewise.
2665 [C99-based-standards] (PRIiMAX): Likewise.
2666 [C99-based-standards] (PRIoMAX): Likewise.
2667 [C99-based-standards] (PRIuMAX): Likewise.
2668 [C99-based-standards] (PRIxMAX): Likewise.
2669 [C99-based-standards] (PRIXMAX): Likewise.
2670 [C99-based-standards] (SCNdMAX): Likewise.
2671 [C99-based-standards] (SCNiMAX): Likewise.
2672 [C99-based-standards] (SCNoMAX): Likewise.
2673 [C99-based-standards] (SCNuMAX): Likewise.
2674 [C99-based-standards] (SCNxMAX): Likewise.
2675 [C99-based-standards] (PRIdPTR): Likewise.
2676 [C99-based-standards] (PRIiPTR): Likewise.
2677 [C99-based-standards] (PRIoPTR): Likewise.
2678 [C99-based-standards] (PRIuPTR): Likewise.
2679 [C99-based-standards] (PRIxPTR): Likewise.
2680 [C99-based-standards] (PRIXPTR): Likewise.
2681 [C99-based-standards] (SCNdPTR): Likewise.
2682 [C99-based-standards] (SCNiPTR): Likewise.
2683 [C99-based-standards] (SCNoPTR): Likewise.
2684 [C99-based-standards] (SCNuPTR): Likewise.
2685 [C99-based-standards] (SCNxPTR): Likewise.
2686 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2687 allow.
2688 * conform/data/stdint.h-data: Update comments to clarify
2689 requirements.
2690 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2691 type.
2692 [C99-based standards] (INT8_MAX): Likewise.
2693 [C99-based standards] (INT16_MIN): Likewise.
2694 [C99-based standards] (INT16_MAX): Likewise.
2695 [C99-based standards] (INT32_MIN): Likewise.
2696 [C99-based standards] (INT32_MAX): Likewise.
2697 [C99-based standards] (INT64_MIN): Likewise.
2698 [C99-based standards] (INT64_MAX): Likewise.
2699 [C99-based standards] (UINT8_MAX): Likewise.
2700 [C99-based standards] (UINT16_MAX): Likewise.
2701 [C99-based standards] (UINT32_MAX): Likewise.
2702 [C99-based standards] (UINT64_MAX): Likewise.
2703 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2704 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2705 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2706 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2707 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2708 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2709 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2710 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2711 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2712 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2713 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2714 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2715 [C99-based standards] (INT_FAST8_MIN): Likewise.
2716 [C99-based standards] (INT_FAST8_MAX): Likewise.
2717 [C99-based standards] (INT_FAST16_MIN): Likewise.
2718 [C99-based standards] (INT_FAST16_MAX): Likewise.
2719 [C99-based standards] (INT_FAST32_MIN): Likewise.
2720 [C99-based standards] (INT_FAST32_MAX): Likewise.
2721 [C99-based standards] (INT_FAST64_MIN): Likewise.
2722 [C99-based standards] (INT_FAST64_MAX): Likewise.
2723 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2724 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2725 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2726 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2727 [C99-based standards] (INTPTR_MIN): Likewise.
2728 [C99-based standards] (INTPTR_MAX): Likewise.
2729 [C99-based standards] (UINTPTR_MAX): Likewise.
2730 [C99-based standards] (INTMAX_MIN): Likewise.
2731 [C99-based standards] (INTMAX_MAX): Likewise.
2732 [C99-based standards] (UINTMAX_MAX): Likewise.
2733 [C99-based standards] (PTRDIFF_MIN): Likewise.
2734 [C99-based standards] (PTRDIFF_MAX): Likewise.
2735 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2736 [C99-based standards] (SIZE_MAX): Likewise.
2737 [C99-based standards] (WCHAR_MAX): Likewise.
2738 [C99-based standards] (WINT_MAX): Likewise.
2739 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2740 constraint on value.
2741 [C99-based standards] (WCHAR_MIN): Likewise.
2742 [C99-based standards] (WINT_MIN): Likewise.
2743 [C99-based standards] (*_t): Allow.
2744 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2745 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2746 Include math.h-data and complex.h-data. Remove all expectations
2747 of math.h and complex.h contents.
2748 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2749 at end of line.
2750 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2751 (struct tm): Expect tag.
2752 [C99-based-standards] (wcstof): Expect function.
2753 [C99-based-standards] (wcstold): Likewise.
2754 [C99-based-standards] (wcstoll): Likewise.
2755 [C99-based-standards] (wcstoull): Likewise.
2756 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2757 macro-int-constant. Specify type.
2758 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2759 constraint on value.
2760 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2761 Specify type.
2762 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2763 Specify value.
2764 [ISO C standards]: Do not allow headers.
2765 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2766 wcs[abcdefghijklmnopqrstuvwxyz]*.
2767 [ISO C standards] (*_t): Do not allow.
2768 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2769 Expect function.
2770 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2771 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2772 Specify type.
2773 [ISO C standards]: Do not allow headers.
2774 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2775 is[abcdefghijklmnopqrstuvwxyz]*.
2776 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2777 to[abcdefghijklmnopqrstuvwxyz]*.
2778 [ISO C standards] (*_t): Do not allow.
2779 * conform/data/stdalign.h-data: New file.
2780 * conform/data/stdbool.h-data: Likewise.
2781 * conform/data/stdnoreturn.h-data: Likewise.
2782
7514feb8
RM
27832012-11-07 Roland McGrath <roland@hack.frob.com>
2784
2785 [BZ #14815]
2786 * manual/filesys.texi (Directory Entries): Typo fix.
2787 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2788
19b2ecfc
MS
27892012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2790
2791 * elf/elf.h (EM_AARCH64): New macro.
2792 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2793 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2794 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2795 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2796 (R_AARCH64_TLSDESC): Likewise.
2797 (NT_ARM_TLS): Likewise.
2798 (NT_ARM_HW_BREAK): Likewise.
2799 (NT_ARM_HW_WATCH): Likewise.
2800
60e235ee
JM
28012012-11-07 Joseph Myers <joseph@codesourcery.com>
2802
2803 [BZ #14811]
2804 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2805 (__ieee754_powl): Saturate nonzero exponents with absolute value
2806 below 0x1p-79 to +/- 0x1p-79.
2807 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2808 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2809 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2810 nonzero exponents with absolute value below 0x1p-32 to +/-
2811 0x1p-32.
2812 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2813 (__ieee754_powl): Saturate nonzero exponents with absolute value
2814 below 0x1p-79 to +/- 0x1p-79.
2815 * math/libm-test.inc (pow_test): Add more tests.
2816
0ab234b7
AK
28172012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2818
2819 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2820 _dl_s390_cap_flags with kernel. Increase string length.
2821 (_dl_s390_platforms): Add z196 and zEC12.
2822
45832f74
JM
28232012-11-07 Joseph Myers <joseph@codesourcery.com>
2824
2825 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2826 Change XOPEN21K to XOPEN2K.
2827
19218757
MK
28282012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2829
2830 * string/memmove.c: Use memcpy when possible.
2831
c5f45721
AJ
28322012-11-06 Andreas Jaeger <aj@suse.de>
2833
2834 * po/eo.po: Update from translation team.
2835
82477c28
JM
28362012-11-06 Joseph Myers <joseph@codesourcery.com>
2837
2838 [BZ #14793]
2839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2840 exponent and small x and y exponents, scale x or y up. Increase
2841 by 2 the exponent used in scaling up.
2842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2843 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2844 * math/libm-test.inc (fma_test): Add more tests.
2845 (fma_test_towardzero): Likewise.
2846 (fma_test_downward): Likewise.
2847 (fma_test_upward): Likewise.
2848
99252c8c
JM
28492012-11-05 Joseph Myers <joseph@codesourcery.com>
2850
acfa885f
JM
2851 [BZ #14805]
2852 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2853 fenv_t *.
2854
99252c8c
JM
2855 [BZ #14801]
2856 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2857 namespace for names of struct fields.
2858 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2859 fenv_t fields.
2860 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2861 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2862
d6d98dea
ST
28632012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2864
2865 [BZ #3665]
2866 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2867
e10bb107
TS
28682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2869
2870 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2871 PTR_DEMANGLE.
2872
2873 [BZ #5246]
2874 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2875 PTR_DEMANGLE.
2876
a0c2940d
JM
28772012-11-04 Joseph Myers <joseph@codesourcery.com>
2878
2879 [BZ #14797]
2880 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2881 definitely overflow as x * y not x * y + z.
2882 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2883 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2884 * math/libm-test.inc (fma_test): Add more tests.
2885 (fma_test_towardzero): Likewise.
2886 (fma_test_downward): Likewise.
2887 (fma_test_upward): Likewise.
2888
b830319d
TS
28892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2890
2891 [BZ #157]
2892
2893 * include/stub-tag.h: Remove file.
2894 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2895 '#include' of it.
2896 * manual/maint.texi (Porting): Don't reference it.
2897 * Makerules ($(objpfx)stubs): Likewise.
2898 * dirent/closedir.c: Don't include <stub-tag.h>.
2899 * dirent/dirfd.c: Likewise.
2900 * dirent/fdopendir.c: Likewise.
2901 * dirent/getdents.c: Likewise.
2902 * dirent/getdents64.c: Likewise.
2903 * dirent/opendir.c: Likewise.
2904 * dirent/readdir.c: Likewise.
2905 * dirent/readdir64.c: Likewise.
2906 * dirent/readdir64_r.c: Likewise.
2907 * dirent/readdir_r.c: Likewise.
2908 * dirent/rewinddir.c: Likewise.
2909 * dirent/seekdir.c: Likewise.
2910 * dirent/telldir.c: Likewise.
2911 * gmon/profil.c: Likewise.
2912 * grp/setgroups.c: Likewise.
2913 * inet/if_index.c: Likewise.
2914 * io/access.c: Likewise.
2915 * io/chdir.c: Likewise.
2916 * io/chmod.c: Likewise.
2917 * io/chown.c: Likewise.
2918 * io/close.c: Likewise.
2919 * io/dup.c: Likewise.
2920 * io/dup2.c: Likewise.
2921 * io/dup3.c: Likewise.
2922 * io/euidaccess.c: Likewise.
2923 * io/faccessat.c: Likewise.
2924 * io/fchdir.c: Likewise.
2925 * io/fchmod.c: Likewise.
2926 * io/fchmodat.c: Likewise.
2927 * io/fchown.c: Likewise.
2928 * io/fchownat.c: Likewise.
2929 * io/fcntl.c: Likewise.
2930 * io/flock.c: Likewise.
2931 * io/fstatfs.c: Likewise.
2932 * io/fstatfs64.c: Likewise.
2933 * io/fstatvfs.c: Likewise.
2934 * io/fstatvfs64.c: Likewise.
2935 * io/futimens.c: Likewise.
2936 * io/fxstat.c: Likewise.
2937 * io/fxstat64.c: Likewise.
2938 * io/fxstatat.c: Likewise.
2939 * io/fxstatat64.c: Likewise.
2940 * io/getcwd.c: Likewise.
2941 * io/isatty.c: Likewise.
2942 * io/lchmod.c: Likewise.
2943 * io/lchown.c: Likewise.
2944 * io/link.c: Likewise.
2945 * io/linkat.c: Likewise.
2946 * io/lseek.c: Likewise.
2947 * io/lseek64.c: Likewise.
2948 * io/lxstat64.c: Likewise.
2949 * io/mkdir.c: Likewise.
2950 * io/mkdirat.c: Likewise.
2951 * io/mkfifo.c: Likewise.
2952 * io/mkfifoat.c: Likewise.
2953 * io/open.c: Likewise.
2954 * io/open64.c: Likewise.
2955 * io/openat.c: Likewise.
2956 * io/openat64.c: Likewise.
2957 * io/pipe.c: Likewise.
2958 * io/pipe2.c: Likewise.
2959 * io/poll.c: Likewise.
2960 * io/posix_fadvise.c: Likewise.
2961 * io/posix_fadvise64.c: Likewise.
2962 * io/posix_fallocate.c: Likewise.
2963 * io/posix_fallocate64.c: Likewise.
2964 * io/read.c: Likewise.
2965 * io/readlink.c: Likewise.
2966 * io/readlinkat.c: Likewise.
2967 * io/rmdir.c: Likewise.
2968 * io/sendfile.c: Likewise.
2969 * io/sendfile64.c: Likewise.
2970 * io/statfs.c: Likewise.
2971 * io/statfs64.c: Likewise.
2972 * io/statvfs.c: Likewise.
2973 * io/statvfs64.c: Likewise.
2974 * io/symlink.c: Likewise.
2975 * io/symlinkat.c: Likewise.
2976 * io/ttyname.c: Likewise.
2977 * io/ttyname_r.c: Likewise.
2978 * io/umask.c: Likewise.
2979 * io/unlink.c: Likewise.
2980 * io/unlinkat.c: Likewise.
2981 * io/utime.c: Likewise.
2982 * io/utimensat.c: Likewise.
2983 * io/write.c: Likewise.
2984 * io/xmknod.c: Likewise.
2985 * io/xmknodat.c: Likewise.
2986 * io/xstat.c: Likewise.
2987 * io/xstat64.c: Likewise.
2988 * login/getpt.c: Likewise.
2989 * login/grantpt.c: Likewise.
2990 * login/unlockpt.c: Likewise.
2991 * math/e_acoshl.c: Likewise.
2992 * math/e_acosl.c: Likewise.
2993 * math/e_asinl.c: Likewise.
2994 * math/e_atan2l.c: Likewise.
2995 * math/e_atanhl.c: Likewise.
2996 * math/e_coshl.c: Likewise.
2997 * math/e_expl.c: Likewise.
2998 * math/e_fmodl.c: Likewise.
2999 * math/e_gammal_r.c: Likewise.
3000 * math/e_hypotl.c: Likewise.
3001 * math/e_j0l.c: Likewise.
3002 * math/e_j1l.c: Likewise.
3003 * math/e_jnl.c: Likewise.
3004 * math/e_lgammal_r.c: Likewise.
3005 * math/e_log10l.c: Likewise.
3006 * math/e_log2l.c: Likewise.
3007 * math/e_logl.c: Likewise.
3008 * math/e_powl.c: Likewise.
3009 * math/e_rem_pio2l.c: Likewise.
3010 * math/e_sinhl.c: Likewise.
3011 * math/e_sqrtl.c: Likewise.
3012 * math/fclrexcpt.c: Likewise.
3013 * math/fedisblxcpt.c: Likewise.
3014 * math/feenablxcpt.c: Likewise.
3015 * math/fegetenv.c: Likewise.
3016 * math/fegetexcept.c: Likewise.
3017 * math/fegetround.c: Likewise.
3018 * math/feholdexcpt.c: Likewise.
3019 * math/fesetenv.c: Likewise.
3020 * math/fesetround.c: Likewise.
3021 * math/feupdateenv.c: Likewise.
3022 * math/fgetexcptflg.c: Likewise.
3023 * math/fraiseexcpt.c: Likewise.
3024 * math/fsetexcptflg.c: Likewise.
3025 * math/ftestexcept.c: Likewise.
3026 * math/k_cosl.c: Likewise.
3027 * math/k_rem_pio2l.c: Likewise.
3028 * math/k_sinl.c: Likewise.
3029 * math/k_tanl.c: Likewise.
3030 * math/s_asinhl.c: Likewise.
3031 * math/s_atanl.c: Likewise.
3032 * math/s_cbrtl.c: Likewise.
3033 * math/s_erfl.c: Likewise.
3034 * math/s_expm1l.c: Likewise.
3035 * math/s_log1pl.c: Likewise.
3036 * math/s_tanhl.c: Likewise.
3037 * misc/acct.c: Likewise.
3038 * misc/brk.c: Likewise.
3039 * misc/chflags.c: Likewise.
3040 * misc/chroot.c: Likewise.
3041 * misc/fchflags.c: Likewise.
3042 * misc/fgetxattr.c: Likewise.
3043 * misc/flistxattr.c: Likewise.
3044 * misc/fremovexattr.c: Likewise.
3045 * misc/fsetxattr.c: Likewise.
3046 * misc/fsync.c: Likewise.
3047 * misc/ftruncate.c: Likewise.
3048 * misc/futimes.c: Likewise.
3049 * misc/futimesat.c: Likewise.
3050 * misc/getdomain.c: Likewise.
3051 * misc/getdtsz.c: Likewise.
3052 * misc/gethostid.c: Likewise.
3053 * misc/gethostname.c: Likewise.
3054 * misc/getloadavg.c: Likewise.
3055 * misc/getpagesize.c: Likewise.
3056 * misc/getsysstats.c: Likewise.
3057 * misc/getxattr.c: Likewise.
3058 * misc/gtty.c: Likewise.
3059 * misc/ioctl.c: Likewise.
3060 * misc/lgetxattr.c: Likewise.
3061 * misc/listxattr.c: Likewise.
3062 * misc/llistxattr.c: Likewise.
3063 * misc/lremovexattr.c: Likewise.
3064 * misc/lsetxattr.c: Likewise.
3065 * misc/lutimes.c: Likewise.
3066 * misc/madvise.c: Likewise.
3067 * misc/mincore.c: Likewise.
3068 * misc/mlock.c: Likewise.
3069 * misc/mlockall.c: Likewise.
3070 * misc/mmap.c: Likewise.
3071 * misc/mprotect.c: Likewise.
3072 * misc/msync.c: Likewise.
3073 * misc/munlock.c: Likewise.
3074 * misc/munlockall.c: Likewise.
3075 * misc/munmap.c: Likewise.
3076 * misc/preadv.c: Likewise.
3077 * misc/preadv64.c: Likewise.
3078 * misc/ptrace.c: Likewise.
3079 * misc/pwritev.c: Likewise.
3080 * misc/pwritev64.c: Likewise.
3081 * misc/readv.c: Likewise.
3082 * misc/reboot.c: Likewise.
3083 * misc/remap_file_pages.c: Likewise.
3084 * misc/removexattr.c: Likewise.
3085 * misc/revoke.c: Likewise.
3086 * misc/select.c: Likewise.
3087 * misc/setdomain.c: Likewise.
3088 * misc/setegid.c: Likewise.
3089 * misc/seteuid.c: Likewise.
3090 * misc/sethostid.c: Likewise.
3091 * misc/sethostname.c: Likewise.
3092 * misc/setregid.c: Likewise.
3093 * misc/setreuid.c: Likewise.
3094 * misc/setxattr.c: Likewise.
3095 * misc/sstk.c: Likewise.
3096 * misc/stty.c: Likewise.
3097 * misc/swapoff.c: Likewise.
3098 * misc/swapon.c: Likewise.
3099 * misc/sync.c: Likewise.
3100 * misc/syncfs.c: Likewise.
3101 * misc/syscall.c: Likewise.
3102 * misc/truncate.c: Likewise.
3103 * misc/ualarm.c: Likewise.
3104 * misc/usleep.c: Likewise.
3105 * misc/ustat.c: Likewise.
3106 * misc/utimes.c: Likewise.
3107 * misc/vhangup.c: Likewise.
3108 * misc/writev.c: Likewise.
3109 * posix/_exit.c: Likewise.
3110 * posix/alarm.c: Likewise.
3111 * posix/execve.c: Likewise.
3112 * posix/fexecve.c: Likewise.
3113 * posix/fork.c: Likewise.
3114 * posix/fpathconf.c: Likewise.
3115 * posix/getaddrinfo.c: Likewise.
3116 * posix/getegid.c: Likewise.
3117 * posix/geteuid.c: Likewise.
3118 * posix/getgid.c: Likewise.
3119 * posix/getgroups.c: Likewise.
3120 * posix/getlogin.c: Likewise.
3121 * posix/getlogin_r.c: Likewise.
3122 * posix/getpgid.c: Likewise.
3123 * posix/getpid.c: Likewise.
3124 * posix/getppid.c: Likewise.
3125 * posix/getresgid.c: Likewise.
3126 * posix/getresuid.c: Likewise.
3127 * posix/getsid.c: Likewise.
3128 * posix/getuid.c: Likewise.
3129 * posix/glob64.c: Likewise.
3130 * posix/nanosleep.c: Likewise.
3131 * posix/pathconf.c: Likewise.
3132 * posix/pause.c: Likewise.
3133 * posix/posix_madvise.c: Likewise.
3134 * posix/pread.c: Likewise.
3135 * posix/pread64.c: Likewise.
3136 * posix/pwrite.c: Likewise.
3137 * posix/pwrite64.c: Likewise.
3138 * posix/sched_getaffinity.c: Likewise.
3139 * posix/sched_getp.c: Likewise.
3140 * posix/sched_gets.c: Likewise.
3141 * posix/sched_primax.c: Likewise.
3142 * posix/sched_primin.c: Likewise.
3143 * posix/sched_rr_gi.c: Likewise.
3144 * posix/sched_setaffinity.c: Likewise.
3145 * posix/sched_setp.c: Likewise.
3146 * posix/sched_sets.c: Likewise.
3147 * posix/sched_yield.c: Likewise.
3148 * posix/setgid.c: Likewise.
3149 * posix/setlogin.c: Likewise.
3150 * posix/setpgid.c: Likewise.
3151 * posix/setresgid.c: Likewise.
3152 * posix/setresuid.c: Likewise.
3153 * posix/setsid.c: Likewise.
3154 * posix/setuid.c: Likewise.
3155 * posix/sleep.c: Likewise.
3156 * posix/spawni.c: Likewise.
3157 * posix/sysconf.c: Likewise.
3158 * posix/times.c: Likewise.
3159 * posix/wait.c: Likewise.
3160 * posix/wait3.c: Likewise.
3161 * posix/wait4.c: Likewise.
3162 * posix/waitpid.c: Likewise.
3163 * resolv/gai_sigqueue.c: Likewise.
3164 * resource/getpriority.c: Likewise.
3165 * resource/getrlimit.c: Likewise.
3166 * resource/getrusage.c: Likewise.
3167 * resource/nice.c: Likewise.
3168 * resource/setpriority.c: Likewise.
3169 * resource/setrlimit.c: Likewise.
3170 * resource/ulimit.c: Likewise.
3171 * rt/aio_cancel.c: Likewise.
3172 * rt/aio_fsync.c: Likewise.
3173 * rt/aio_read.c: Likewise.
3174 * rt/aio_sigqueue.c: Likewise.
3175 * rt/aio_suspend.c: Likewise.
3176 * rt/aio_write.c: Likewise.
3177 * rt/clock_getres.c: Likewise.
3178 * rt/clock_gettime.c: Likewise.
3179 * rt/clock_nanosleep.c: Likewise.
3180 * rt/clock_settime.c: Likewise.
3181 * rt/lio_listio.c: Likewise.
3182 * rt/mq_close.c: Likewise.
3183 * rt/mq_getattr.c: Likewise.
3184 * rt/mq_notify.c: Likewise.
3185 * rt/mq_open.c: Likewise.
3186 * rt/mq_receive.c: Likewise.
3187 * rt/mq_send.c: Likewise.
3188 * rt/mq_setattr.c: Likewise.
3189 * rt/mq_timedreceive.c: Likewise.
3190 * rt/mq_timedsend.c: Likewise.
3191 * rt/mq_unlink.c: Likewise.
3192 * rt/shm_open.c: Likewise.
3193 * rt/shm_unlink.c: Likewise.
3194 * rt/timer_create.c: Likewise.
3195 * rt/timer_delete.c: Likewise.
3196 * rt/timer_getoverr.c: Likewise.
3197 * rt/timer_gettime.c: Likewise.
3198 * rt/timer_settime.c: Likewise.
3199 * setjmp/__longjmp.c: Likewise.
3200 * setjmp/setjmp.c: Likewise.
3201 * signal/kill.c: Likewise.
3202 * signal/killpg.c: Likewise.
3203 * signal/raise.c: Likewise.
3204 * signal/sigaction.c: Likewise.
3205 * signal/sigaltstack.c: Likewise.
3206 * signal/sigblock.c: Likewise.
3207 * signal/sigignore.c: Likewise.
3208 * signal/sigintr.c: Likewise.
3209 * signal/signal.c: Likewise.
3210 * signal/sigpause.c: Likewise.
3211 * signal/sigpending.c: Likewise.
3212 * signal/sigqueue.c: Likewise.
3213 * signal/sigreturn.c: Likewise.
3214 * signal/sigset.c: Likewise.
3215 * signal/sigsetmask.c: Likewise.
3216 * signal/sigstack.c: Likewise.
3217 * signal/sigsuspend.c: Likewise.
3218 * signal/sigtimedwait.c: Likewise.
3219 * signal/sigvec.c: Likewise.
3220 * signal/sigwait.c: Likewise.
3221 * signal/sigwaitinfo.c: Likewise.
3222 * signal/sysv_signal.c: Likewise.
3223 * socket/accept.c: Likewise.
3224 * socket/accept4.c: Likewise.
3225 * socket/bind.c: Likewise.
3226 * socket/connect.c: Likewise.
3227 * socket/getpeername.c: Likewise.
3228 * socket/getsockname.c: Likewise.
3229 * socket/getsockopt.c: Likewise.
3230 * socket/isfdtype.c: Likewise.
3231 * socket/listen.c: Likewise.
3232 * socket/recv.c: Likewise.
3233 * socket/recvfrom.c: Likewise.
3234 * socket/recvmsg.c: Likewise.
3235 * socket/send.c: Likewise.
3236 * socket/sendmsg.c: Likewise.
3237 * socket/sendto.c: Likewise.
3238 * socket/setsockopt.c: Likewise.
3239 * socket/shutdown.c: Likewise.
3240 * socket/sockatmark.c: Likewise.
3241 * socket/socket.c: Likewise.
3242 * socket/socketpair.c: Likewise.
3243 * stdio-common/ctermid.c: Likewise.
3244 * stdio-common/cuserid.c: Likewise.
3245 * stdio-common/remove.c: Likewise.
3246 * stdio-common/rename.c: Likewise.
3247 * stdio-common/renameat.c: Likewise.
3248 * stdio-common/tempname.c: Likewise.
3249 * stdlib/getcontext.c: Likewise.
3250 * stdlib/makecontext.c: Likewise.
3251 * stdlib/setcontext.c: Likewise.
3252 * stdlib/swapcontext.c: Likewise.
3253 * stdlib/system.c: Likewise.
3254 * streams/fattach.c: Likewise.
3255 * streams/fdetach.c: Likewise.
3256 * streams/getmsg.c: Likewise.
3257 * streams/getpmsg.c: Likewise.
3258 * streams/putmsg.c: Likewise.
3259 * streams/putpmsg.c: Likewise.
3260 * sysdeps/unix/bsd/getpt.c: Likewise.
3261 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3262 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3263 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3265 Likewise.
3266 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3267 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3268 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3269 * sysvipc/msgctl.c: Likewise.
3270 * sysvipc/msgget.c: Likewise.
3271 * sysvipc/msgrcv.c: Likewise.
3272 * sysvipc/msgsnd.c: Likewise.
3273 * sysvipc/semctl.c: Likewise.
3274 * sysvipc/semget.c: Likewise.
3275 * sysvipc/semop.c: Likewise.
3276 * sysvipc/semtimedop.c: Likewise.
3277 * sysvipc/shmat.c: Likewise.
3278 * sysvipc/shmctl.c: Likewise.
3279 * sysvipc/shmdt.c: Likewise.
3280 * sysvipc/shmget.c: Likewise.
3281 * termios/tcdrain.c: Likewise.
3282 * termios/tcflow.c: Likewise.
3283 * termios/tcflush.c: Likewise.
3284 * termios/tcgetattr.c: Likewise.
3285 * termios/tcgetpgrp.c: Likewise.
3286 * termios/tcsendbrk.c: Likewise.
3287 * termios/tcsetattr.c: Likewise.
3288 * termios/tcsetpgrp.c: Likewise.
3289 * time/adjtime.c: Likewise.
3290 * time/clock.c: Likewise.
3291 * time/getitimer.c: Likewise.
3292 * time/gettimeofday.c: Likewise.
3293 * time/setitimer.c: Likewise.
3294 * time/settimeofday.c: Likewise.
3295 * time/stime.c: Likewise.
3296 * time/time.c: Likewise.
3297
32982012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3299
a20492cf
PT
3300 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3301 /usr/old/bin.
3302
72e182e3
PT
3303 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3304 instead of spaces.
3305 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3306
fbeafede
JM
33072012-11-03 Joseph Myers <joseph@codesourcery.com>
3308
5b5b04d6
JM
3309 [BZ #14796]
3310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3311 FE_TONEAREST before applying Dekker multiplication and Knuth
3312 addition. Clear inexact exceptions and check for exact zero
3313 results afterwards.
3314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3315 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3316 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3317 * math/libm-test.inc (fma_test): Add more tests.
3318 (fma_test_towardzero): Likewise.
3319 (fma_test_downward): Likewise.
3320 (fma_test_upward): Likewise.
3321 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3322 function.
3323 (libc_fesetround): New macro.
3324 (libc_fesetroundf): Likewise.
3325 (libc_fesetroundl): Likewise.
3326 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3327 function.
3328 (libc_fesetround_387): Likewise.
3329 (libc_fesetroundf): New macro.
3330 (libc_fesetround): Likewise.
3331 (libc_fesetroundl): Likewise.
3332 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3333 function.
3334 (libc_fesetroundf): New macro.
3335 (libc_fesetround): Likewise.
3336 (libc_fesetroundl): Likewise.
3337 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3338 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3339 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3340 libm_hidden_ver.
3341 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3342 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3343 libm_hidden_def.
3344 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3345 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3346 libm_hidden_ver.
3347 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3348 libm_hidden_def.
3349
fbeafede
JM
3350 [BZ #3439]
3351 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3352 integer constant usable in #if and use that to give value to enum
3353 constant.
3354 (FE_DIVBYZERO): Likewise.
3355 (FE_UNDERFLOW): Likewise.
3356 (FE_OVERFLOW): Likewise.
3357 (FE_INVALID): Likewise.
3358 (FE_INVALID_SNAN): Likewise.
3359 (FE_INVALID_ISI): Likewise.
3360 (FE_INVALID_IDI): Likewise.
3361 (FE_INVALID_ZDZ): Likewise.
3362 (FE_INVALID_IMZ): Likewise.
3363 (FE_INVALID_COMPARE): Likewise.
3364 (FE_INVALID_SOFTWARE): Likewise.
3365 (FE_INVALID_SQRT): Likewise.
3366 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3367 (FE_TONEAREST): Likewise.
3368 (FE_TOWARDZERO): Likewise.
3369 (FE_UPWARD): Likewise.
3370 (FE_DOWNWARD): Likewise.
3371 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3372 (FE_DIVBYZERO): Likewise.
3373 (FE_OVERFLOW): Likewise.
3374 (FE_UNDERFLOW): Likewise.
3375 (FE_INEXACT): Likewise.
3376 (FE_TONEAREST): Likewise.
3377 (FE_DOWNWARD): Likewise.
3378 (FE_UPWARD): Likewise.
3379 (FE_TOWARDZERO): Likewise.
3380 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3381 (FE_UNDERFLOW): Likewise.
3382 (FE_OVERFLOW): Likewise.
3383 (FE_DIVBYZERO): Likewise.
3384 (FE_INVALID): Likewise.
3385 (FE_TONEAREST): Likewise.
3386 (FE_TOWARDZERO): Likewise.
3387 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3388 (FE_OVERFLOW): Likewise.
3389 (FE_UNDERFLOW): Likewise.
3390 (FE_DIVBYZERO): Likewise.
3391 (FE_INEXACT): Likewise.
3392 (FE_TONEAREST): Likewise.
3393 (FE_TOWARDZERO): Likewise.
3394 (FE_UPWARD): Likewise.
3395 (FE_DOWNWARD): Likewise.
3396 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3397 (FE_DIVBYZERO): Likewise.
3398 (FE_OVERFLOW): Likewise.
3399 (FE_UNDERFLOW): Likewise.
3400 (FE_INEXACT): Likewise.
3401 (FE_TONEAREST): Likewise.
3402 (FE_DOWNWARD): Likewise.
3403 (FE_UPWARD): Likewise.
3404 (FE_TOWARDZERO): Likewise.
3405
105ca950
CM
34062012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3407
3408 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3409
a542b389
AS
34102012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3411
3412 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3413 commands. Quote $PWD.
3414 (blacklist_exports): Don't use remove_newlines. Replace "declare
3415 -x" by "export".
3416 (remove_newlines): Remove.
3417
f62c8abc
L
34182012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3419
3420 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3421 * stdlib/stdlib.h (atof): Moved to ...
3422 * include/bits/stdlib-float.h: Here. New file.
3423 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3424 * stdlib/bits/stdlib-float.h: New file.
3425 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3426 -mno-sse -mno-mmx.
3427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3428 <xmmintrin.h>.
3429
0155d5b2
JM
34302012-11-02 Joseph Myers <joseph@codesourcery.com>
3431
a68d0680
JM
3432 * conform/conformtest.pl (@headers): Add fenv.h.
3433 * conform/data/fenv.h-data: New file.
3434 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3435 include of <math/fenv.h>.
3436
caf7f573
JM
3437 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3438 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3439 && !UNIX98]. Enables tests for XOPEN2K8.
3440 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3441 POSIX2008]: Likewise.
3442
6c073ad6
JM
3443 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3444 (struct rusage): Do not expect type or its members.
3445
0155d5b2
JM
3446 [BZ #3439]
3447 * math/math.h (FP_NAN): Define macro to integer constant usable in
3448 #if and use that to give value to enum constant.
3449 (FP_INFINITE): Likewise.
3450 (FP_ZERO): Likewise.
3451 (FP_SUBNORMAL): Likewise.
3452 (FP_NORMAL): Likewise.
3453
b5dcacb4
AS
34542012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3455
3456 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3457 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3458 arguments.
3459
f7934be8
RM
34602012-11-02 Roland McGrath <roland@hack.frob.com>
3461
3462 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3463 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3464 autoconf-time if not.
3465 * configure.in: Remove AC_PREREQ.
3466
d7d08bde
TMQMF
34672012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3468
3469 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3470 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3471 of the internal implementation.
3472
dcdae19a
JM
34732012-11-02 Joseph Myers <joseph@codesourcery.com>
3474
3475 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3476 except include of <misc/sys/syslog.h>.
3477
d6cffd3e
AS
34782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3479
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3481 function returns with a NULL context exit with zero.
3482
b3563932
TMQMF
34832012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3484
3485 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3486
b288a93d
L
34872012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3488
3489 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3490 (run_program_cmd): This.
3491 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3492 (tst_langinfo): New variable. Use it.
3493
a2421a68
SAS
34942012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3495
3496 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3497 floating point opcodes.
3498
6f796e1b
TS
34992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3500
7402596b
TS
3501 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3502 variable.
3503
d0d4f868
TS
3504 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3505
6f796e1b
TS
3506 * sysdeps/mach/hurd/powerpc: Remove directory.
3507 * sysdeps/mach/powerpc: Likewise.
3508
4da224a2
AS
35092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3510
3511 * scripts/check-local-headers.sh: Ignore c++ headers.
3512
341dd673
TS
35132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3514
3515 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3516 __libc_cleanup_region_start argument.
3517
473611b2
JM
35182012-11-01 Joseph Myers <joseph@codesourcery.com>
3519
3520 [BZ #14784]
3521 [BZ #14785]
3522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3523 x * y using scaling, not as x * y + z.
3524 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3525 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3526 * math/libm-test.inc (fma_test): Add more tests.
3527 (fma_test_towardzero): Likewise.
3528 (fma_test_downward): Likewise.
3529 (fma_test_upward): Likewise.
3530
4078da3d
TS
35312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3532
3533 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3534
903252aa
JM
35352012-10-31 Joseph Myers <joseph@codesourcery.com>
3536
3537 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3538 New variable.
3539
cbc818d0
TS
35402012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3541
3542 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3543
5a03cb1e
AS
35442012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3545
3546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3547 Fix sort order.
3548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3549 Likewise.
3550
90aff2ff
TMQMF
35512012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3552
3553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3554 Fix the order of the list for glibc 2.17.
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3556 Likewise.
3557
1818fcb7
AS
35582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3559
3560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3561
ef82f4da
JM
35622012-10-31 Joseph Myers <joseph@codesourcery.com>
3563
16a0e2ec
JM
3564 [BZ #14610]
3565 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3566 for low part of x being zero before using __atanl (y).
3567 * math/libm-test.inc (atan2_test): Add another test.
3568
0eb69512
JM
3569 * manual/install.texi (Configuring and compiling): Document
3570 general use of test-wrapper and test-wrapper-env.
3571 * INSTALL: Regenerated.
3572
ef82f4da
JM
3573 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3574 (__fma): Do not extract and scale down low bits on after-rounding
3575 systems when result rounded to normal precision would have normal
3576 exponent.
3577 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3578 (__fmal): Do not extract and scale down low bits on after-rounding
3579 systems when result rounded to normal precision would have normal
3580 exponent.
3581 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3582 (__fmal): Do not extract and scale down low bits on after-rounding
3583 systems when result rounded to normal precision would have normal
3584 exponent.
3585 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3586 macro.
3587 (fma_test): Add more tests.
3588 (fma_test_towardzero): Likewise.
3589 (fma_test_downward): Likewise.
3590 (fma_test_upward): Likewise.
3591
954ef0d9
L
35922012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3593
3594 * sysdeps/i386/tininess.h: Renamed to ...
3595 * sysdeps/x86/tininess.h: This.
3596 * sysdeps/x86_64/tininess.h: Removed.
3597
df61ffb2
JM
35982012-10-30 Joseph Myers <joseph@codesourcery.com>
3599
3600 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3601 input. Use $(build-program-cmd).
3602 ($(objpfx)tst-array1-static.out): Likewise.
3603 ($(objpfx)tst-array2.out): Likewise.
3604 ($(objpfx)tst-array3.out): Likewise.
3605 ($(objpfx)tst-array4.out): Likewise.
3606 ($(objpfx)tst-array5.out): Likewise.
3607 ($(objpfx)tst-array5-static.out): Likewise.
3608
01767843
CM
36092012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3610
47cc1490
CM
3611 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3612 if defined.
3613
01767843
CM
3614 * nss/nsswitch.h (nss_interface_function): Provide new
3615 macro for use with NSS functions.
3616 * grp/initgroups.c: Use new macro.
3617 * nss/getXXbyYY.c: Likewise.
3618 * nss/getXXbyYY_r.c: Likewise.
3619 * nss/getXXent.c: Likewise.
3620 * nss/getXXent_r.c: Likewise.
3621 * sysdeps/posix/getaddrinfo.c: Likewise.
3622
8321aa97
AJ
36232012-10-30 Andreas Jaeger <aj@suse.de>
3624
3625 * po/ru.po: Update Russion translation from translation project.
3626
2a27fd6d
JM
36272012-10-30 Joseph Myers <joseph@codesourcery.com>
3628
8627a232
JM
3629 [BZ #14152]
3630 [BZ #14783]
3631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3632 result and shift together with sticky bit instead of replicating
3633 round-to-nearest rounding.
3634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3636 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3637 missing underflow exceptions.
3638 (fma_test_towardzero): Add more tests.
3639 (fma_test_downward): Likewise.
3640 (fma_test_upward): Likewise.
3641
2a27fd6d
JM
3642 [BZ #14047]
3643 * sysdeps/generic/tininess.h: New file.
3644 * sysdeps/i386/tininess.h: Likewise.
3645 * sysdeps/sh/tininess.h: Likewise.
3646 * sysdeps/x86_64/tininess.h: Likewise.
3647 * stdlib/tst-strtod-underflow.c: Likewise.
3648 * stdlib/tst-tininess.c: Likewise.
3649 * stdlib/strtod_l.c: Include <tininess.h>.
3650 (round_and_return): Do not set errno for exact underflow cases.
3651 Force an underflow exception when setting errno for underflow.
3652 Determine underflow based on rounding to normal precision if
3653 TININESS_AFTER_ROUNDING.
3654 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3655 ERANGE for exact underflow cases.
3656 * stdlib/Makefile (tests): Add tst-tininess and
3657 tst-strtod-underflow.
3658 ($(objpfx)tst-tininess): Use $(link-libm).
3659 ($(objpfx)tst-strtod-underflow): Likewise.
3660
e7170363
AJ
36612012-10-30 Andreas Jaeger <aj@suse.de>
3662
e5088dc6
AJ
3663 [BZ#14767]
3664 * elf/Makefile (tests): Remove conditional for have-initfini-array
3665 since this is now always required and the variable does not exist
3666 anymore.
3667 (tests-static): Likewise.
3668 (modules-names): Likewise.
3669
e7170363 3670 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3671
3672 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3673 merged with constructor/destructor.
3674 (init_array): Likewise.
3675 * elf/tst-array2dep.c (fini_array): Likewise.
3676 (init_array): Likewise.
3677
60457d8a
MF
36782012-10-29 Mike Frysinger <vapier@gentoo.org>
3679
3680 * manual/message.texi: Delete @cartouche tags.
3681
8bece752
PT
36822012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3683
94ce799f
PT
3684 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3685 EOPNOTSUPP.
3686 * sysdeps/mach/hurd/fsync.c: Likewise.
3687
8bece752
PT
3688 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3689 [_POSIX_REALTIME_SIGNALS]: Change condition to
3690 [_POSIX_REALTIME_SIGNALS > 0].
3691
86ebe6b1
AJ
36922012-10-27 Andreas Jaeger <aj@suse.de>
3693
3694 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3695 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3696 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3697 [__WORDSIZE != 64]: Likewise.
3698
54399c08
L
36992012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3700
3701 * iconvdata/tst-table.sh: Remove ${SHELL}.
3702 * iconvdata/tst-tables.sh: Likewise.
3703
e2211bed
DM
37042012-10-25 David S. Miller <davem@davemloft.net>
3705
3706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3707 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3708 of strtoull.
3709
f303f97c
DM
3710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3711 ifunc-impl-list.c
3712 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3713 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3714 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3715 file.
3716
1e9d84cd
RM
37172012-10-25 Roland McGrath <roland@hack.frob.com>
3718
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3720 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3721 __getdirentries.
3722
df381762
JM
37232012-10-25 Joseph Myers <joseph@codesourcery.com>
3724 Jim Blandy <jimb@codesourcery.com>
3725
3726 * scripts/cross-test-ssh.sh: New file.
3727 * manual/install.texi (Configuring and compiling): Document use of
3728 cross-test-ssh.sh.
3729 * INSTALL: Regenerated.
3730
bff64913
PT
37312012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3732
3733 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3734 EOPNOTSUPP.
3735
25fe8932
JM
37362012-10-25 Joseph Myers <joseph@codesourcery.com>
3737
3738 * Makeconfig (run-program-prefix): Fix comment.
3739
cc1290d0
JM
37402012-10-24 Joseph Myers <joseph@codesourcery.com>
3741 Jim Blandy <jimb@codesourcery.com>
3742
3743 * Makeconfig (test-wrapper): New variable,
3744 (test-wrapper-env): Likewise.
3745 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3746 (run-built-tests): Define to yes.
3747 (run-program-prefix): Use $(test-wrapper).
3748 (built-program-cmd): Likewise.
3749 * Rules (make-test-out): Use $(test-wrapper-env) and
3750 $(host-built-program-cmd).
3751 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3752 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3753 tst-pathopt.sh.
3754 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3755 $(test-wrapper-env) to tst-rtld-load-self.sh.
3756 ($(objpfx)order2.out): Use $(test-wrapper).
3757 ($(objpfx)tst-initorder.out): Likewise.
3758 ($(objpfx)tst-initorder2.out): Likewise.
3759 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3760 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3761 (test_wrapper_env): New variable. Use it to run ld.so.
3762 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3763 Use it to run ld.so.
3764 (test_wrapper_env): Likewise.
3765 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3766 $(test-wrapper) to run-iconv-test.sh.
3767 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3768 (ICONV): Use $test_wrapper.
3769 * posix/Makefile ($(objpfx)globtest.out): Pass
3770 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3771 globtest.sh, not $(run-program-prefix).
3772 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3773 (test_wrapper): Likewise.
3774 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3775 set together with run_via_rtld_prefix.
3776 (run_program_prefix): Define in terms of test_wrapper and
3777 run_via_rtld_prefix.
3778
6e6249d0
RM
37792012-10-24 Roland McGrath <roland@hack.frob.com>
3780
3781 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3782 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3783 Targets removed.
3784
3785 [BZ #14743]
3786 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3787 Declare __clock_getres, __clock_gettime, __clock_settime,
3788 __clock_nanosleep, and __clock_getcpuclockid.
3789 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3790 Remove librt_hidden_def (clock_gettime).
3791 * sysdeps/unix/clock_gettime.c: Likewise.
3792 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3793 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3794 * rt/clock_getres.c: Define __clock_getres as an alias.
3795 * sysdeps/posix/clock_getres.c: Likewise.
3796 * rt/clock_settime.c: Define __clock_settime as an alias.
3797 * sysdeps/unix/clock_settime.c: Likewise.
3798 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3799 * sysdeps/unix/clock_nanosleep.c: Likewise.
3800 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3801 * rt/clock-compat.c: New file.
3802 * rt/Makefile (librt-routines): Add clock-compat and move
3803 $(clock-routines) to ...
3804 (routines): ... here, new variable.
3805 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3806 Don't add get_clockfreq here.
3807 * rt/Versions (libc: GLIBC_2.17): New version set.
3808 Add clock_* symbols here.
3809 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3810 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3811 (GLIBC_2.17): Add clock_* symbols.
3812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3816 Likewise.
3817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3818 Likewise.
3819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3823 * NEWS: Mention the move.
3824
3825 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3826 Use __open, __read, __close rather than their public counterparts.
3827 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3828 (__get_clockfreq_via_cpuinfo): Likewise.
3829 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3830 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3831
3832 * config.h.in (HAVE_IFUNC): New #undef.
3833 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3834 was successful.
3835 * configure: Regenerated.
3836
0cae3f4b
MF
38372012-10-24 Mike Frysinger <vapier@gentoo.org>
3838
3839 * configure.in: Move READELF check to start of file.
3840 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3841 libc_cv_asm_gnu_indirect_function in the process.
3842 * configure: Regenerated.
3843
8175a253
MF
38442012-10-24 Mike Frysinger <vapier@gentoo.org>
3845
3846 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3847 send the output to /dev/null.
3848 (libc_cv_cc_with_libunwind): Likewise.
3849 (libc_cv_as_noexecstack): Likewise.
3850 * configure: Regenerate.
3851
0708a7d1
JM
38522012-10-24 Joseph Myers <joseph@codesourcery.com>
3853
10b40d85
JM
3854 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3855
0708a7d1
JM
3856 * posix/globtest.sh (TMPDIR): Do not set.
3857 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3858 (testout): Likewise.
3859
9fddec1a
AJ
38602012-10-24 Andreas Jaeger <aj@suse.de>
3861
3a8db22f
AJ
3862 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3863 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3864 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3865 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3866 posix_fadvise64, posix_fallocate64.
3867
9fddec1a
AJ
3868 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3869 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3870 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3871 Likewise.
3872 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3873 Likewise.
3874 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3875
3876 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3877 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3878 <bits/fcntl-linux.h>.
3879 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3880
3881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3882 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3883 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3884 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3885 [__WORDSIZE != 64]: Likewise.
3886
ebfd1bbd
JM
38872012-10-23 Joseph Myers <joseph@codesourcery.com>
3888
03ac099f
JM
3889 * Makeconfig (run-built-tests): New variable.
3890 * Rules [$(cross-compiling) = yes]: Change condition to
3891 [$(run-built-tests) = no].
3892 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3893 to [$(run-built-tests) = yes].
3894 * elf/Makefile [$(cross-compiling) = no]: Likewise
3895 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3896 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3897 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3898 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3899 * io/Makefile [$(cross-compiling) = no]: Likewise.
3900 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3901 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3902 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3903 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3904 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3905 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3906 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3907 * string/Makefile [$(cross-compiling) = no]: Likewise.
3908
ebfd1bbd
JM
3909 * posix/Makefile ($(objpfx)globtest.out): Pass
3910 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3911 $(rtld-installed-name).
3912 * posix/globtest.sh (elf_objpfx): Remove variable.
3913 (rtld_installed_name): Likewise.
3914 (library_path): Likewise.
3915 (run_program_prefix): New variable. Use for running globtest
3916 binary.
3917
166bca24
JB
39182012-10-23 Jim Blandy <jimb@codesourcery.com>
3919 Joseph Myers <joseph@codesourcery.com>
3920
3921 * Makeconfig (host-built-program-cmd): New variable.
3922 * elf/Makefile (tst-stackguard1-ARGS): Use
3923 $(host-built-program-cmd).
3924 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3925 (tst-spawn-ARGS): Likewise.
3926 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3927
88866099
JM
39282012-10-23 Joseph Myers <joseph@codesourcery.com>
3929 Jim Blandy <jimb@codesourcery.com>
3930
3931 * Makeconfig (run-via-rtld-prefix): New variable.
3932 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3933 (built-program-cmd): Likewise.
3934
b4b4c296
AJ
39352012-10-22 Andreas Jaeger <aj@suse.de>
3936
3937 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3938 __O_RSYNC if it exists, otherwise to O_SYNC.
3939
6fb54a22
JB
39402012-10-22 Jim Blandy <jimb@codesourcery.com>
3941 Joseph Myers <joseph@codesourcery.com>
3942
3943 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3944 /dev/null.
3945 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3946 from /dev/null
3947 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3948 /dev/null.
3949
481b90b9
AJ
39502012-10-22 Andreas Jaeger <aj@suse.de>
3951
2a0e2669
AJ
3952 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3953 Define always.
3954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3955
76e38f9a
AJ
3956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3957 bits/fcntl-linux.h.
3958
7cd37b43
AJ
3959 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3960 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3961
481b90b9
AJ
3962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3963 to __O_LARGEFILE.
3964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3965 to __O_LARGEFILE.
3966
aba75984
JB
39672012-10-21 Jim Blandy <jimb@codesourcery.com>
3968 Joseph Myers <joseph@codesourcery.com>
3969
3970 * config.make.in (NM): New variable.
3971
88d4247f
AJ
39722012-10-21 Andreas Jaeger <aj@suse.de>
3973
3974 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3975 definitions and declarations that are provided by
3976 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3977
f2eed205
L
39782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3979
3980 [BZ #14683]
3981 * elf/Makefile (tests-static): Add tst-leaks1-static.
3982 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3983 ($(objpfx)tst-leaks1-static): New rule.
3984 ($(objpfx)tst-leaks1-static-mem): Likewise.
3985 (tst-leaks1-static-ENV): New macro.
3986 * elf/dl-open.c (dl_open_worker): Check the main application
3987 only if SHARED is defined.
3988 * elf/tst-leaks1-static.c: New file.
3989
335e6931
AJ
39902012-10-20 Andreas Jaeger <aj@suse.de>
3991
3992 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3993 generic values for Linux.
3994 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3995 and declarations that are provided by <bits/fcntl-linux.h> and
3996 include <bits/fcntl-linux.h>.
3997 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3998 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3999
ac5c94d3
RM
40002012-10-20 Roland McGrath <roland@hack.frob.com>
4001
4002 * io/fcntl.h: Move include of <bits/types.h> to the top and
4003 include it unconditionally.
4004
de54b33a
L
40052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4006
228cfb01
L
4007 * wcsmbs/Makefile (tests-ifunc): New variable.
4008 (tests): Add $(tests-ifunc).
4009 * wcsmbs/test-wcschr-ifunc.c: New file.
4010 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4011 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4012 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4013 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4014 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4015
69f07e5f
L
4016 * string/Makefile (tests-ifunc): New variable.
4017 (tests): Add $(tests-ifunc).
4018 * string/test-memccpy.c (TEST_NAME): New macro.
4019 * string/test-memchr.c (TEST_NAME): Likewise.
4020 * string/test-memcmp.c (TEST_NAME): Likewise.
4021 * string/test-memcpy.c (TEST_NAME): Likewise.
4022 * string/test-memmem.c (TEST_NAME): Likewise.
4023 * string/test-memmove.c (TEST_NAME): Likewise.
4024 * string/test-memset.c (TEST_NAME): Likewise.
4025 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4026 * string/test-stpcpy.c (TEST_NAME): Likewise.
4027 * string/test-stpncpy.c (TEST_NAME): Likewise.
4028 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4029 * string/test-strcasestr.c (TEST_NAME): Likewise.
4030 * string/test-strcat.c (TEST_NAME): Likewise.
4031 * string/test-strchr.c (TEST_NAME): Likewise.
4032 * string/test-strcmp.c(TEST_NAME): Likewise.
4033 * string/test-strcpy.c (TEST_NAME): Likewise.
4034 * string/test-strcspn.c (TEST_NAME): Likewise.
4035 * string/test-strlen.c (TEST_NAME): Likewise.
4036 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4037 * string/test-strncmp.c (TEST_NAME): Likewise.
4038 * string/test-strncpy.c (TEST_NAME): Likewise.
4039 * string/test-strnlen.c (TEST_NAME): Likewise.
4040 * string/test-strpbrk.c (TEST_NAME): Likewise.
4041 * string/test-strrchr.c (TEST_NAME): Likewise.
4042 * string/test-strspn.c (TEST_NAME): Likewise.
4043 * string/test-strstr.c (TEST_NAME): Likewise.
4044 * string/test-bcopy-ifunc.c: New file.
4045 * string/test-bzero-ifunc.c: Likewise.
4046 * string/test-memccpy-ifunc.c: Likewise.
4047 * string/test-memchr-ifunc.c: Likewise.
4048 * string/test-memcmp-ifunc.c: Likewise.
4049 * string/test-memcpy-ifunc.c: Likewise.
4050 * string/test-memmem-ifunc.c: Likewise.
4051 * string/test-memmove-ifunc.c: Likewise.
4052 * string/test-mempcpy-ifunc.c: Likewise.
4053 * string/test-memset-ifunc.c: Likewise.
4054 * string/test-rawmemchr-ifunc.c: Likewise.
4055 * string/test-stpcpy-ifunc.c: Likewise.
4056 * string/test-stpncpy-ifunc.c: Likewise.
4057 * string/test-strcasecmp-ifunc.c: Likewise.
4058 * string/test-strcasestr-ifunc.c: Likewise.
4059 * string/test-strcat-ifunc.c: Likewise.
4060 * string/test-strchr-ifunc.c: Likewise.
4061 * string/test-strchrnul-ifunc.c: Likewise.
4062 * string/test-strcmp-ifunc.c: Likewise.
4063 * string/test-strcpy-ifunc.c: Likewise.
4064 * string/test-strcspn-ifunc.c: Likewise.
4065 * string/test-strlen-ifunc.c: Likewise.
4066 * string/test-strncasecmp-ifunc.c: Likewise.
4067 * string/test-strncat-ifunc.c: Likewise.
4068 * string/test-strncmp-ifunc.c: Likewise.
4069 * string/test-strncpy-ifunc.c: Likewise.
4070 * string/test-strnlen-ifunc.c: Likewise.
4071 * string/test-strpbrk-ifunc.c: Likewise.
4072 * string/test-strrchr-ifunc.c: Likewise.
4073 * string/test-strspn-ifunc.c: Likewise.
4074 * string/test-strstr-ifunc.c: Likewise.
4075
de54b33a
L
4076 * debug/Makefile (tests-ifunc): New variable.
4077 (tests): Add $(tests-ifunc).
4078 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4079 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4080 * debug/test-stpcpy_chk-ifunc.c: New file.
4081 * debug/test-strcpy_chk-ifunc.c: Likewise.
4082
88481c16
SP
40832012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4084
4085 [BZ #13601]
4086 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4087 header is not read in.
4088
135948bd
JM
40892012-10-19 Joseph Myers <joseph@codesourcery.com>
4090
89f1c388
JM
4091 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4092 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4093 directly. Pass built executable to script as
4094 $(built-program-cmd).
4095 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4096 $testprogram without using LD_LIBRARY_PATH and $ldso.
4097
e40a0d21
JM
4098 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4099 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4100 $(rtld-installed-name).
4101 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4102 (rtld_installed_name): Likewise.
4103 (library_path): Likewise.
4104 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4105 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4106 $(run-program-prefix) to tst-tables.sh.
4107 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4108 it to run tst-table-from and tst-table-to.
4109 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4110 Pass it to tst-table.sh.
4111 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4112 $(run-program-prefix) to tst-gettext.sh.
4113 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4114 tst-translit.sh.
4115 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4116 tst-gettext2.sh.
4117 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4118 to run tst-gettext.
4119 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4120 to run tst-gettext2.
4121 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4122 to run tst-translit.
4123 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4124 $(run-program-prefix) to tst-mtrace.sh.
4125 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4126 to run tst-mtrace.
4127 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4128 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4129 $(rtld-installed-name).
4130 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4131 (rtld_installed_name): Likewise.
4132 (run_program_prefix): New variable. Use it to run wordexp-test.
4133
728e272a
JM
4134 * Makeconfig (ARCH): Remove all definitions.
4135 (machine): Likewise.
4136 [ARCH]: Remove conditional code.
4137 [!objdir]: Give error.
4138 [!objdir] (objpfx): Remove.
4139 [!objdir] (common-objpfx): Likewise.
4140 [!objdir] (common-objdir): Likewise.
4141 * configure.in (config_makefile): Remove. Hardcode Makefile in
4142 AC_CONFIG_FILES call.
4143 * configure: Regenerated.
4144
d528cdcf
JM
4145 [BZ #13888]
4146 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4147 or TMPDIR.
4148 (testout): Likewise.
4149
135948bd
JM
4150 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4151 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4152 $(rtld-installed-name).
4153 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4154 (rtld_installed_name): Likwise.
4155 (runit): Remove function.
4156 (run_getconf): New variable, Use it for running getconf binary.
4157
38c78296
L
41582012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4159
4160 [BZ #14716]
4161 * string/test-memmem.c (check_result): New function.
4162 (do_one_test): Use it.
4163 (check1): New function.
4164 (test_main): Use it.
4165
d077f65f
MT
41662012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4167
4168 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4169
ced52c71
JM
41702012-10-18 Joseph Myers <joseph@codesourcery.com>
4171
4172 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4173 (_G_LSEEK64): Likewise.
4174 (_G_MMAP64): Likewise.
4175 (_G_FSTAT64): Likewise.
4176 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4177 (_G_LSEEK64): Likewise.
4178 (_G_MMAP64): Likewise.
4179 (_G_FSTAT64): Likewise.
4180 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4181 unconditional. Call __mmap64 directly.
4182 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4183 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4184 __lseek64 directly.
4185 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4186 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4187 __mmap64 directly.
4188 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4189 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4190 __lseek64 directly.
4191 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4192 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4193 __lseek64 directly.
4194 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4195 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4196 __lseek64 directly.
4197 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4198 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4199 __fxstat64 directly.
4200 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4201 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4202 unconditional.
4203 (freopen64) [!_G_OPEN64]: Remove conditional code.
4204 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4205 unconditional.
4206 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4207 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4208 unconditional.
4209 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4210 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4211 unconditional.
4212 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4213 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4214 unconditional.
4215 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4216 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4217 unconditional.
4218 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4219 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4220 unconditional.
4221 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4222 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4223 unconditional.
4224 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4225
b741de23
SP
42262012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4227
4228 [BZ #12140]
4229 * manual/memory.texi (Malloc Tunable Parameters): Add note
4230 about free list pointers overwriting some perturb bytes.
4231 Wording suggested by Roland McGrath.
4232
f9b9d9c9
JM
42332012-10-17 Joseph Myers <joseph@codesourcery.com>
4234
4235 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4236 (lgamma_test): Likewise.
4237 (tgamma_test): Likewise.
4238
172a631a
FW
42392012-10-16 Florian Weimer <fweimer@redhat.com>
4240
4241 [BZ #14700]
4242 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4243 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4244
e9f37252
MK
42452012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4246
4247 * NEWS: Mention BZ #14716.
4248 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4249 when removing AVAILABLE1_USES_J macro.
4250
d394eb74
L
42512012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4252
4253 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4254 (__bswap_64): __uint64_t for unsigned 64-bit int.
4255
ca38dc17
AS
42562012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4257
4258 * include/string.h (memmem): Declare libc hidden alias.
4259 * string/memmem.c (memmem): Define libc hidden alias.
4260 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4261 __read, __close instead of open, read, close.
4262
9a387d1f
L
42632012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4264
ac49ecaf
L
4265 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4266 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4267 global and hidden.
4268 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4269 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4270 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4271 Likewise.
4272 (__rawmemchr_sse2): Likewise.
4273 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4274 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4275 (__strchr_sse2): Likewise.
4276 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4277 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4278 (__strcasecmp_sse2): Likewise.
4279 (__strncasecmp_sse2): Likewise.
4280 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4281 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4282 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4283 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4284 (__strrchr_sse2): Likewise.
4285 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4286 ifunc-impl-list.c.
4287 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4288 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4289 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4290 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4291 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4292 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4293 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4294 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4295 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4296 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4297 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4298 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4299 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4300 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4301 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4302 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4303 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4304 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4305 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4306 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4307 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4308 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4309 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4310 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4311 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4312 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4313 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4314 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4315 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4316 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4317
b090e8ea
L
4318 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4319 global and hidden.
4320 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4321 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4322 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4323 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4324 Likewise.
4325 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4326 Likewise.
4327 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4328 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4329 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4330 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4331 ifunc-impl-list.c.
4332 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4333 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4334 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4335 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4336 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4337 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4338 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4339 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4340 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4341 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4342 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4343 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4344 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4345 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4346 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4347 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4348 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4349 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4350 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4351 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4352 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4353 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4354 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4355 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4356 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4357 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4358 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4359 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4360 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4361 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4362 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4363 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4364 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4365 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4366 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4367 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4368 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4369 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4370 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4371 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4372 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4373
11dd4af6
L
4374 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4375 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4376 * include/ifunc-impl-list.h: New file.
4377 * misc/ifunc-impl-list.c: Likewise.
4378 * misc/Makefile (routines): Add ifunc-impl-list.
4379 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4380 * string/test-string.h: Include <ifunc-impl-list.h>.
4381 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4382 impl_array): New variables.
4383 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4384 are defined.
4385 (test_init): Call __libc_ifunc_impl_list to initialize
4386 func_list if TEST_IFUNC and TEST_NAME are defined.
4387
9a387d1f
L
4388 * string/Makefile (strop-tests): Add bcopy and bzero.
4389 * string/test-bcopy.c: New file.
4390 * string/test-bzero.c: Likewise.
4391 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4392 defined.
4393 * string/test-memset.c: Support bzero test if TEST_BZERO is
4394 defined.
4395 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4396 __libc_memmove.
4397 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4398 __libc_memset.
4399 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4400 of memset.
4401
472371b9
JM
44022012-10-10 Joseph Myers <joseph@codesourcery.com>
4403
1e4a9536
JM
4404 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4405 * configure: Regenerated.
4406
d173d12e
JM
4407 * Makeconfig (+link-static-before-libc): Don't include
4408 $(link-static-libc).
4409
472371b9
JM
4410 * libio/libio.h (_IO_pos_t): Remove.
4411
89a3ad0b
AO
44122012-10-10 Alexandre Oliva <aoliva@redhat.com>
4413
4414 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4415 McGrath.
4416
e7451425
AO
44172012-10-10 Alexandre Oliva <aoliva@redhat.com>
4418
4419 * crypt/crypt-entry.c: Include fips-private.h.
4420 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4421 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4422 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4423 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4424
4ba74a35
AO
44252012-10-10 Alexandre Oliva <aoliva@redhat.com>
4426
4427 * crypt/crypt-private.h: Include stdbool.h.
4428 (_ufc_setup_salt_r): Return bool.
4429 * crypt/crypt-entry.c: Include errno.h.
4430 (__crypt_r): Return NULL with EINVAL for bad salt.
4431 * crypt/crypt_util.c (bad_for_salt): New.
4432 (_ufc_setup_salt_r): Check that salt is long enough and within
4433 the specified alphabet.
4434 * crypt/badsalttest.c: New file.
4435 * crypt/Makefile (tests): Add it.
4436 ($(objpfx)badsalttest): New.
4437
f96f1242
MK
44382012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4439
4440 * NEWS: Add entry for BZ #14602.
4441
0e8e0c1c
JM
44422012-10-09 Joseph Myers <joseph@codesourcery.com>
4443
4444 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4445 type-generic.
4446 * math/libm-test.inc: Update comment listing what functions and
4447 macros are tested.
4448 (isgreater_test): New function.
4449 (isgreaterequal_test): Likewise.
4450 (isless_test): Likewise.
4451 (islessequal_test): Likewise.
4452 (islessgreater_test): Likewise.
4453 (isunordered_test): Likewise.
4454 (main): Call the new functions.
4455
273edc5e
RM
44562012-10-09 Roland McGrath <roland@hack.frob.com>
4457
b8493de0
RM
4458 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4459 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4460 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4461 * sysdeps/i386/configure: Regenerated.
4462 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4463 * sysdeps/mach/configure: Regenerated.
4464 * sysdeps/mach/hurd/configure: Regenerated.
4465 * sysdeps/powerpc/configure: Regenerated.
4466 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4467 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4468 * sysdeps/s390/s390-32/configure: Regenerated.
4469 * sysdeps/s390/s390-64/configure: Regenerated.
4470 * sysdeps/sh/configure: Regenerated.
4471 * sysdeps/sparc/configure: Regenerated.
4472 * sysdeps/unix/sysv/linux/configure: Regenerated.
4473 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4474 * sysdeps/x86_64/configure: Regenerated.
4475
273edc5e
RM
4476 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4477 defined. Don't check if MAP is NULL.
4478
c8450f70
JM
44792012-10-09 Joseph Myers <joseph@codesourcery.com>
4480
4481 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4482 (_G_stat64): Likewise.
4483 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4484 (_G_stat64): Likewise.
4485 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4486 instead of struct _G_stat64.
4487 * libio/fileops.c (mmap_remap_check): Likewise.
4488 (decide_maybe_mmap): Likewise.
4489 (_IO_new_file_seekoff): Likewise.
4490 (_IO_file_stat): Likewise.
4491 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4492 _G_off64_t.
4493 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4494 instead of struct _G_stat64.
4495 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4496
57e605ba
MK
44972012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4498
4499 [BZ #14602]
4500 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4501 Replace with ...
4502 (CHECK_EOL): New macro.
4503 (two_way_short_needle): Check beginning of haystack for EOL. Use
4504 CHECK_EOL.
4505 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4506 Replace with CHECK_EOL.
4507 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4508 Replace with CHECK_EOL.
4509
ef1bb361
JM
45102012-10-08 Joseph Myers <joseph@codesourcery.com>
4511
4512 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4513 type-generic.
4514 * math/libm-test.inc: Update comment listing what functions and
4515 macros are tested.
4516 (finite_test): New function.
4517 (isinf_test): Likewise.
4518 (isnan_test): Likewise.
4519 (fpclassify_test): Test subnormal input.
4520 (isfinite_test): Likewise.
4521 (isnormal_test): Likewise.
4522 (main): Call the new functions.
4523
55f11534
JN
45242012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4525
4526 [BZ #14660]
4527 * Makerules (%.dynsym): Force C locale when running
4528 $(OBJDUMP) --dynamic-syms.
4529
1ab29350
AS
45302012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4531
4532 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4533 <stdint.h>.
4534
f1ecb7ef
DM
45352012-10-06 David S. Miller <davem@davemloft.net>
4536
4537 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4538 upper 32-bits of the length value in %o2 since we use branch-on-register
4539 tests which consider the entire 64-bit register.
4540
5d41d91a
L
45412012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4542
4543 * string/test-strstr.c (check2): Add a test for page boundary.
4544
3baddb72
DM
45452012-10-05 David S. Miller <davem@davemloft.net>
4546
4547 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4548 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4549 file.
4550 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4551 sysdep_routines.
4552 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4553 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4554 and bzero when HWCAP_SPARC_CRYPTO is present.
4555
9cee5585
L
45562012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4557
d7e0dab9
L
4558 [BZ #14602]
4559 * string/test-strstr.c (check2): New function.
4560 (test_main): Call check2.
4561
03759f47
L
4562 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4563 and bug-strchr1.
4564 * string/bug-strcasestr1.c (do_test): Moved to ...
4565 * string/test-strcasestr.c (check1): Here. New function.
4566 (do_one_test): Break out result checking code into ...
4567 (check_result): This. New function.
4568 (do_one_test): Call check_result.
4569 (test_main): Call check1.
4570 * string/bug-strchr1.c (do_test): Moved to ...
4571 * string/test-strchr.c (check1): Here. New function.
4572 (do_one_test): Break out result checking code into ...
4573 (check_result): This. New function.
4574 (do_one_test): Call check_result.
4575 (test_main): Call check1.
4576 * string/bug-strstr1.c (main): Moved to ...
4577 * string/test-strchr.c (check1): Here. New function.
4578 (do_one_test): Break out result checking code into ...
4579 (check_result): This. New function.
4580 (do_one_test): Call check_result.
4581 (test_main): Call check1.
4582 * string/bug-strcasestr1.c: Removed.
4583 * string/bug-strchr1.c: Likewise.
4584 * string/bug-strstr1.c: Likewise.
4585
53cea63e
L
4586 * elf/Makefile (dl-routines): Add hwcaps.
4587 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4588 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4589 (_dl_important_hwcaps): Moved to ...
4590 * elf/dl-hwcaps.c: Here. New file.
4591 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4592
9cee5585 4593 [BZ #14557]
bb859b06
L
4594 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4595 if IS_IN_rtld isn't defined.
4596
9cee5585
L
4597 * elf/dl-support.c (_dl_sysinfo_map): New.
4598 Include "get-dynamic-info.h" and "setup-vdso.h".
4599 (_dl_non_dynamic_init): Call setup_vdso.
4600 * elf/dynamic-link.h: Don't include <assert.h>.
4601 (elf_get_dynamic_info): Moved to ...
4602 * elf/get-dynamic-info.h: Here. New file.
4603 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4604 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4605 * elf/setup-vdso.h: Here. New file.
4606 * elf/rtld.c: Include "setup-vdso.h".
4607 (dl_main): Call setup_vdso.
4608
23c31b76
JM
46092012-10-05 Joseph Myers <joseph@codesourcery.com>
4610
28234b07
JM
4611 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4612 creal in comment listing functions tested. List finite, isinf,
4613 isnan, isless, islessequal, isgreater, isgreaterequal,
4614 islessgreater, isunordered, lgamma_r and pow10 as functions and
4615 macros not tested. Mention which functions not tested are aliases
4616 for other functions. Fix typo. Note that signs of NaNs are not
4617 tested.
4618
23c31b76
JM
4619 * scripts/config.guess: Update from config.git.
4620 * scripts/config.sub: Likewise.
4621
9043e228
RM
46222012-10-04 Roland McGrath <roland@hack.frob.com>
4623
4624 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4625 * misc/madvise.c (madvise): Renamed to __madvise.
4626 Make madvise a weak alias.
4627 * include/sys/mman.h: Declare __madvise.
4628 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4629 * sysdeps/unix/syscalls.list
4630 (madvise): Make __madvise the strong name, and madvise a weak alias.
4631 * sysdeps/unix/sysv/linux/syscalls.list
4632 (madvise, mmap): Remove redundant entries.
4633 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4634 * malloc/malloc.c (mtrim): Likewise.
4635 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4636
f57f8055
RM
46372012-10-03 Roland McGrath <roland@hack.frob.com>
4638
4639 * sysdeps/mach/hurd/dl-cache.c: File removed.
4640 * config.h.in (USE_LDCONFIG): New #undef.
4641 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4642 * configure: Regenerated.
4643 * elf/Makefile (dl-routines): Add dl-cache only under
4644 [$(use-ldconfig) = yes].
4645 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4646 cache on [USE_LDCONFIG].
4647 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4648 [USE_LDCONFIG].
4649 * elf/rtld.c (dl_main): Likewise.
4650
5bb0c10a
PT
46512012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4652
4653 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4654 _SC_LEVEL4_CACHE_LINESIZE.
4655
010188c6
RM
46562012-10-03 Roland McGrath <roland@hack.frob.com>
4657
4658 * sysdeps/unix/bsd/confstr.h: File removed.
4659
b6c5ec07
AO
46602012-10-02 Alexandre Oliva <aoliva@redhat.com>
4661
4662 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4663 sys/sdt-config.h.
4664
408223d4
RM
46652012-10-02 Roland McGrath <roland@hack.frob.com>
4666
4667 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4668 Make 'mapoff' field ElfW(Off) rather than off_t.
4669
bb9510dc
DL
46702012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4671
fc997c6e
DL
4672 * nscd/Makefile: Remove nscd-cflags and all its users.
4673 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4674 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4675
bb9510dc
DL
4676 [BZ #10631]
4677 * malloc.c (malloc_printerr): Clarify error message.
4678
05699367
L
46792012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4680
4681 [BZ #14648]
4682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4683 Set bit_FMA_Usable if FMA is supported.
4684 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4685 macro.
4686 (bit_FMA4_Usable): Updated.
4687 (index_FMA_Usable): New macro.
4688 (CPUID_FMA): Likewise
4689 (HAS_FMA): Defined with bit_FMA_Usable.
4690
51367701
RM
46912012-10-01 Roland McGrath <roland@hack.frob.com>
4692
4693 * bits/types.h (__swblk_t): Type removed.
4694 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4695 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4696 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4697 (__SWBLK_T_TYPE): Likewise.
4698 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4699 (__SWBLK_T_TYPE): Likewise.
4700 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4701 (__SWBLK_T_TYPE): Likewise.
4702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4703 (__SWBLK_T_TYPE): Likewise.
4704
4d57bf63 47052012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4706 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4707
4708 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4709 (xdr_mapname): Use YPMAXMAP as maxsize.
4710 (xdr_peername): Use YPMAXPEER as maxsize.
4711 (xdr_keydat): Use YPAXRECORD as maxsize.
4712 (xdr_valdat): Use YPMAXRECORD as maxsize.
4713
93c65d43
RM
47142012-10-01 Roland McGrath <roland@hack.frob.com>
4715
497a03d6
RM
4716 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4717
93c65d43
RM
4718 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4719 * csu/init-first.c: ... here.
4720 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4721 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4722 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4723 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4724 * sysdeps/i386/init-first.c: File removed.
4725 * sysdeps/sh/init-first.c: File removed.
4726
bec749fd
JM
47272012-10-01 Joseph Myers <joseph@codesourcery.com>
4728
4729 [BZ #14645]
4730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4731 if x * y might underflow to zero and z is zero.
4732 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4733 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4734 * math/libm-test.inc (min_subnorm_value): New variable.
4735 (fma_test): Add more tests.
4736 (fma_test_towardzero): Likewise.
4737 (fma_test_downward): Likewise
4738 (fma_test_upward): Likewise.
4739 (initialize): Set min_subnorm_value.
4740
8ec5b013
JM
47412012-09-29 Joseph Myers <joseph@codesourcery.com>
4742
4743 [BZ #14638]
4744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4745 0 + 0.
4746 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4747 mode for addition resulting in exact zero.
4748 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4750 exact 0 + 0.
4751 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4752 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4753 * math/libm-test.inc (fma_test): Add more tests.
4754 (fma_test_towardzero): New function.
4755 (fma_test_downward): Likewise.
4756 (fma_test_upward): Likewise.
4757 (main): Call the new functions.
4758
b1fa802e
DM
47592012-09-28 David S. Miller <davem@davemloft.net>
4760
4761 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4762
d3b9fd9e
RM
47632012-09-28 Roland McGrath <roland@hack.frob.com>
4764
ea4d37b3
RM
4765 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4766 instead of SIGALRM.
4767
ac51c949
RM
4768 * sysdeps/gnu/_G_config.h: Moved to ...
4769 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4770 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4771 * sysdeps/generic/_G_config.h: ... here.
4772
28c195f7
RM
4773 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4774
848917f9
RM
4775 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4776
6bacf05b
RM
4777 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4778 Conditionalize target on [libnss_test1.so-version].
4779
91363dbb
RM
4780 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4781
cc87f7d8
RM
4782 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4783 (elfobjdir): Move out of conditionals.
4784
b1c608fe
RM
4785 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4786 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4787 (__nss_lookup_function): Conditionalize label remove_from_tree on
4788 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4789
1d9a6d96
DM
47902012-09-28 David S. Miller <davem@davemloft.net>
4791
4792 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4793 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4794 file.
4795 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4796 sysdep_routines.
4797 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4799 when HWCAP_SPARC_CRYPTO is present.
4800
72581615
PT
48012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4802
4803 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4804
715a900c
JL
48052012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4806
4807 [BZ #6530]
4808 * stdio-common/vfprintf.c (process_string_arg): Revert
4809 2000-07-22 change.
4810
48112011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4812
4813 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4814 for testcase.
4815 * stdio-common/tst-sprintf.c: Include <locale.h>
4816 (main): Test sprintf's handling of incomplete multibyte
4817 characters.
4818
9bac1d86
L
48192012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4820
4821 * elf/dl-runtime.c (VERSYMIDX): Removed.
4822 * elf/dl-version.c (VERSYMIDX): Likewise.
4823 * elf/do-rel.h (VERSYMIDX): Likewise.
4824 (VALIDX): Likewise.
4825 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4826 * elf/rtld.c (VALIDX): Likewise.
4827 (ADDRIDX): Likewise.
9bac1d86
L
4828 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4829 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4830 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4831 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4832 (VALIDX): Likewise.
4833 (ADDRIDX): Likewise.
9bac1d86 4834
b31606c0
PT
48352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4836
4837 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4838
11541177
JL
48392012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4840
4841 [BZ #11438]
4842 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4843 to global scope.
4844 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4845 addresses are in the same scope as 192.0.2/24.
4846 * posix/gai.conf: Document new scope table defaults.
4847
adb26fae
SP
48482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4849
4850 [BZ #5298]
4851 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4852 for ftell. Compute offsets from write pointers instead.
4853 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4854
4573c6b0
SP
48552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4856
4857 [BZ #14543]
4858 * libio/Makefile (tests): New test case tst-fseek.
4859 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4860 combination works in wide mode.
4861 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4862 state when the external buffer state changes.
4863
aa9bbfe6
DM
48642012-09-27 David S. Miller <davem@davemloft.net>
4865
4866 [BZ #14376]
4867 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4868 pass reloc->r_addend in as the 'high' argument to
4869 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4870
784421e7
DM
4871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4872
c39bc8b8
PT
48732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4874
4875 * rt/tst-aio2.c: Include <pthread.h>.
4876 * rt/tst-aio3.c: Likewise.
4877
1ccc2399
SE
48782012-09-27 Steve Ellcey <sellcey@mips.com>
4879
4880 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4881
31ed4153
L
48822012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4883
25f5f885
L
4884 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4885 contents on [SHARED].
31ed4153 4886
b7bfe116
MP
48872012-09-26 Marek Polacek <polacek@redhat.com>
4888
4889 [BZ #14530]
4890 [BZ #13741]
4891 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4892 for C++ and GCC <4.3 as well as for non GCC compilers.
4893
43c4edba
MT
48942012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4895
4896 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4897
6a1bf82f
RM
48982012-09-25 Roland McGrath <roland@hack.frob.com>
4899
4900 * Makefile.in (all, install): Declare with .PHONY.
4901 Reported by Michael Hope <michael.hope@linaro.org>.
4902
8ad11b9a
TMQMF
49032012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4904
4905 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4906 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4907 system header.
4908 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4909 Likewise.
4910 (sydep_routines): Add the new and the internal functions.
4911 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4912 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4914 (GLIBC_2.17): Add the new function.
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4916 (GLIBC_2.17): Likewise.
4917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4918 (GLIBC_2.17): Likewise.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4920 (GLIBC_2.17): Likewise.
4921 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4922
7e2fca8d
AM
49232012-09-25 Alan Modra <amodra@gmail.com>
4924
4925 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4926 Add release barrier before setting once_control to say
4927 initialisation is done. Add hints on lwarx. Use macro in
4928 place of isync.
4929 (clear_once_control): Add release barrier.
4930
b87c4b24
JM
49312012-09-25 Joseph Myers <joseph@codesourcery.com>
4932
d032e0d2
JM
4933 [BZ #13629]
4934 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4935 specially.
4936 * math/s_clog10.c (__clog10): Likewise.
4937 * math/s_clog10f.c (__clog10f): Likewise.
4938 * math/s_clog10l.c (__clog10l): Likewise.
4939 * math/s_clogf.c (__clogf): Likewise.
4940 * math/s_clogl.c (__clogl): Likewise.
4941 * math/Makefile (libm-calls): Add x2y2m1.
4942 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4943 (__x2y2m1): Likewise.
4944 (__x2y2m1l): Likewise.
4945 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4946 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4947 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4948 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4949 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4950 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4951 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4952 * sysdeps/i386/fpu/libm-test-ulps: Update.
4953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4954
b87c4b24
JM
4955 [BZ #14621]
4956 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4957 int as type of variable DEPTH.
4958 (glob): Use size_t instead of int as type of variables NEWCOUNT
4959 and OLD_PATHC.
4960
6d3bf199
LD
49612012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4962
22bf5c17
LD
4963 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4964 Add s_sincosf-sse2.
4965 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4966 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4967 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4968 macros for using routine as __sincosf_ia32.
4969 Use macro for function declaration and weak_alias.
4970 * sysdeps/i386/fpu/libm-test-ulps: Update.
4971
4972 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4973 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4974
4975 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4976 subnormal argument.
4977 * math/s_cexpf.c (__cexpf): Likewise.
4978 * math/s_csinf.c (__csinf): Likewise.
4979 * math/s_csinhf.c (__csinhf): Likewise.
4980 * math/s_ctanf.c (__ctanf): Likewise.
4981 * math/s_ctanhf.c (__ctanhf): Likewise.
4982 * math/s_ccosh.c (__ccoshf): Likewise.
4983 * math/s_cexp.c (__cexpl): Likewise.
4984 * math/s_csin.c (__csin): Likewise.
4985 * math/s_csinh.c (__csinh): Likewise.
4986 * math/s_ctan.c (__ctan): Likewise.
4987 * math/s_ctanh.c (ctanh): Likewise.
4988 * math/s_ccoshl.c (__ccoshl): Likewise.
4989 * math/s_cexpl.c (__cexpl): Likewise.
4990 * math/s_csinl.c (__csinl): Likewise.
4991 * math/s_csinhl.c (__csinhl): Likewise.
4992 * math/s_ctanl.c (__ctanl): Likewise.
4993 * math/s_ctanhl.c (__ctanhl): Likewise.
4994
203e5603
JM
49952012-09-25 Joseph Myers <joseph@codesourcery.com>
4996
4997 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4998 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4999 (_IO_off_t): Define to __off_t, not _G_off_t.
5000 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5001 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5002 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5003 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5004 type of __dummy and __dummy2 fields.
5005 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5006 (_G_ssize_t): Likewise.
5007 (_G_off_t): Likewise.
5008 (_G_pid_t): Likewise.
5009 (_G_uid_t): Likewise.
5010 (_G_wchar_t): Likewise.
5011 (_G_wint_t): Likewise.
5012 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5013 (_G_ssize_t): Likewise.
5014 (_G_off_t): Likewise.
5015 (_G_pid_t): Likewise.
5016 (_G_uid_t): Likewise.
5017 (_G_wchar_t): Likewise.
5018 (_G_wint_t): Likewise.
5019 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5020 (_G_ssize_t): Likewise.
5021 (_G_off_t): Likewise.
5022 (_G_pid_t): Likewise.
5023 (_G_uid_t): Likewise.
5024 (_G_wchar_t): Likewise.
5025 (_G_wint_t): Likewise.
5026
9fab36eb
SP
50272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5028
5029 * malloc/arena.c: Include malloc-sysdep.h.
5030 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5031 is sufficient to shrink the heap or an unmap is needed.
5032 * sysdeps/generic/malloc-sysdep.h: New file. Define
5033 new function check_may_shrink_heap.
5034 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5035 new function check_may_shrink_heap.
5036
2b4f00d1
SP
50372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5038
5039 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5040 comments.
5041
9a9028b1
DL
50422012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5043
57c69bef
DL
5044 * catgets/test-gencat.sh: Add "set -e".
5045 * elf/tst-pathopt.sh: Likewise.
5046 * grp/tst_fgetgrent.sh: Likewise.
5047 * iconvdata/run-iconv-test.sh: Likewise.
5048 * intl/tst-gettext.sh: Likewise.
5049 * intl/tst-gettext2.sh: Likewise.
5050 * intl/tst-gettext4.sh: Likewise.
5051 * intl/tst-gettext6.sh: Likewise.
5052 * intl/tst-translit.sh: Likewise.
5053 * io/ftwtest-sh: Likewise.
5054 * libio/test-freopen.sh: Likewise.
5055 * malloc/tst-mtrace.sh: Likewise.
5056 * posix/globtest.sh: Likewise.
5057 * posix/tst-getconf.sh: Likewise.
5058 * posix/wordexp-tst.sh: Likewise.
5059 * stdio-common/tst-printf.sh: Likewise.
5060 * stdio-common/tst-unbputc.sh: Likewise.
5061 * stdlib/tst-fmtmsg.sh: Likewise.
5062 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5063 * catgets/Makefile: Do not specify -e option when running
5064 testsuite shell scripts.
5065 * elf/Makefile: Likewise.
5066 * grp/Makefile: Likewise.
5067 * iconvdata/Makefile: Likewise.
5068 * intl/Makefile: Likewise.
5069 * io/Makefile: Likewise.
5070 * libio/Makefile: Likewise.
5071 * malloc/Makefile: Likewise.
5072 * posix/Makefile: Likewise.
5073 * stdio-common/Makefile: Likewise.
5074 * stdlib/Makefile: Likewise.
5075 * sysdeps/x86_64/Makefile: Likewise.
5076
9a9028b1
DL
5077 * io/ftwtest-sh: Add copyright header.
5078 * posix/globtest.sh: Likewise.
5079 * posix/tst-getconf.sh: Likewise.
5080 * posix/wordexp-tst.sh: Likewise.
5081 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5082
ced6f16e
L
50832012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5084
94b32c39
L
5085 [BZ #13679]
5086 * Makeconfig (+link): Defined as $(+link-static) if
5087 $(build-shared) isn't yes.
5088 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5089 isn't yes.
5090 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5091
189e935b
L
5092 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5093
ced6f16e
L
5094 [BZ #14562]
5095 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5096 new chunk size with MALLOC_ALIGN_MASK.
5097
a9f8e53a
JM
50982012-09-24 Joseph Myers <joseph@codesourcery.com>
5099
5100 [BZ #5044]
5101 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5102 <rounding-mode.h>.
5103 (__printf_fphex): Determine rounding using get_rounding_mode and
5104 round_away.
5105 * stdio-common/tst-printf-round.c (struct hex_test): New
5106 structure.
5107 (hex_tests): New variable.
5108 (test_hex_in_one_mode): New function.
5109 (do_test): Also run tests for hex float output.
5110
43153109
JM
51112012-09-21 Joseph Myers <joseph@codesourcery.com>
5112
5113 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5114 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5115 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5116 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5117 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5118 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5119 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5120 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5121
8a26625d
JM
51222012-09-20 Joseph Myers <joseph@codesourcery.com>
5123
5124 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5125 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5126 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5127 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5128
f3fd569c
DL
51292012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5130
5131 [BZ #14579]
5132 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5133 mode only.
5134 * elf/tst-rtld-load-self.sh: New test.
5135 * elf/Makefile: Run it.
5136
63bbedd4
JM
51372012-09-18 Joseph Myers <joseph@codesourcery.com>
5138
5139 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5140 (tst-writev-ENV): Remove.
5141 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5142
626f8b6a
CM
51432012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5144
5145 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5146
b7aaa4d6
JM
51472012-09-17 Joseph Myers <joseph@codesourcery.com>
5148
5149 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5150 unconditional.
5151 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5152 Likewise.
5153 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5154 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5155 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5156 Likewise.
5157
65513990
L
51582012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5159
5160 [BZ #14587]
5161 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5162 * config.make.in (have-cpp-asm-debuginfo): Removed.
5163 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5164 * configure: Regenerated.
5165
784761be
JM
51662012-09-14 Joseph Myers <joseph@codesourcery.com>
5167
5168 [BZ #5044]
5169 * stdio-common/printf_fp.c: Include <stdbool.h> and
5170 <rounding-mode.h>.
5171 (___printf_fp): Determine rounding using get_rounding_mode and
5172 round_away.
5173 * stdio-common/tst-printf-round.c: New file.
5174 * stdio-common/Makefile (tests): Add tst-printf-round.
5175 (link-libm): New variable.
5176 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5177
9503345f
L
51782012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5179
5180 [BZ #14576]
5181 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5182 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5183 Likewise.
5184 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5185 Likewise.
5186
ad35fc00
JM
51872012-09-13 Joseph Myers <joseph@codesourcery.com>
5188
5189 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5190 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5191 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5192 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5193
6c9b0f68
JM
51942012-09-12 Joseph Myers <joseph@codesourcery.com>
5195
5196 [BZ #14518]
5197 * include/rounding-mode.h: New file.
5198 * sysdeps/generic/get-rounding-mode.h: Likewise.
5199 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5200 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5201 (MAX_VALUE): New macro.
5202 (MIN_VALUE): Likewise.
5203 (overflow_value): New function.
5204 (underflow_value): Likewise.
5205 (round_and_return): Use overflow_value and underflow_value to
5206 determine return values in overflow and underflow cases. Use
5207 round_away to determine rounding depending on rounding mode.
5208 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5209 determine return values in overflow and underflow cases.
5210 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5211 (struct test_results): New structure.
5212 (struct test): Use struct test_results to store expected results
5213 for all rounding modes.
5214 (TEST): Include expected results for all rounding modes.
5215 (test_in_one_mode): New function.
5216 (do_test): Use test_in_one_mode to compute and check results.
5217 Check results for all rounding modes.
5218 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5219 $(link-libm).
5220
19fcedd5
AM
52212012-12-09 Allan McRae <allan@archlinux.org>
5222
1e9d84cd 5223 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5224
8bbfd2f1
JM
52252012-09-11 Joseph Myers <joseph@codesourcery.com>
5226
5227 * sysdeps/generic/_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 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5236 (_G_int32_t): Likewise.
5237 (_G_uint16_t): Likewise.
5238 (_G_uint32_t): Likewise.
5239 (_G_HAVE_BOOL): Likewise.
5240 (_G_HAVE_ATEXIT): Likewise.
5241 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5242 (_G_HAVE_IO_FILE_OPEN): Likewise.
5243 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5244 (_G_int32_t): Likewise.
5245 (_G_uint16_t): Likewise.
5246 (_G_uint32_t): Likewise.
5247 (_G_HAVE_BOOL): Likewise.
5248 (_G_HAVE_ATEXIT): Likewise.
5249 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5250 (_G_HAVE_IO_FILE_OPEN): Likewise.
5251
b1dc5912
L
52522012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5253
5254 * csu/libc-tls.c: Update copyright years.
5255
0e886ef9
JM
52562012-09-10 Joseph Myers <joseph@codesourcery.com>
5257
28361c5e
JM
5258 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5259 [!_G_USING_THUNKS]: Remove conditional code.
5260 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5261 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5262
0e886ef9
JM
5263 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5264 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5265 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5266 (_G_VTABLE_LABEL_PREFIX): Likewise.
5267 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5268 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5269 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5270 (_G_VTABLE_LABEL_PREFIX): Likewise.
5271 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5272 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5273 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5274 (_G_VTABLE_LABEL_PREFIX): Likewise.
5275 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5276
bcba7aa2
L
52772012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5278
5279 * libio/Makefile: Include ../Makeconfig before tests.
5280 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5281 only if $(build-shared) is yes.
5282
06585ee8
L
5283 * iconv/gconv_db.c: Update copyright years.
5284
80ccd52c
LD
52852012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5286
5287 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5288 unwind info if defined PIC. Fix special cases description.
5289 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5290
5291 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5292 DP_HI_MASK entry.
5293 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5294
691bc9c1
L
52952012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5296
3d9b46b3
L
5297 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5298
de2139a9
L
5299 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5300 is NULL.
5301
5ca78dd0
L
5302 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5303 (LDLIBS-tst-chk4): This.
5304 (LDFLAGS-tst-chk5): Renamed to ...
5305 (LDLIBS-tst-chk5): This.
5306 (LDFLAGS-tst-chk6): Renamed to ...
5307 (LDLIBS-tst-chk6): This.
5308 (LDFLAGS-tst-lfschk4): Renamed to ...
5309 (LDLIBS-tst-lfschk4): This.
5310 (LDFLAGS-tst-lfschk5): Renamed to ...
5311 (LDLIBS-tst-lfschk5): This.
5312 (LDFLAGS-tst-lfschk6): Renamed to ...
5313 (LDLIBS-tst-lfschk6): This.
5314
691bc9c1
L
5315 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5316 on $(common-objpfx)soversions.mk.
5317
65cafb1c
JM
53182012-09-07 Joseph Myers <joseph@codesourcery.com>
5319
5320 [BZ #10014]
5321 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5322 example host name.
5323
c78ab094
SP
53242012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5325
5326 * malloc/arena.c (arena_get_retry): New function that gets
5327 another arena for the caller to try its request on.
5328 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5329 current arena cannot fulfill the request.
5330 (__libc_memalign): Likewise.
5331 (__libc_memalign): Likewise.
5332 (__libc_pvalloc): Likewise.
5333 (__libc_calloc): Likewise.
5334
01f49f59
JT
53352012-09-05 John Tobey <john.tobey@gmail.com>
5336
5337 [BZ #13542]
5338 * manual/arith.texi (Operations on Complex): Fix description
5339 of carg branch cut.
5340
4c23fed5
JM
53412012-09-06 Joseph Myers <joseph@codesourcery.com>
5342
1d3c8572
JM
5343 [BZ #10014]
5344 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5345 host name.
5346
4c23fed5
JM
5347 [BZ #10038]
5348 * manual/memory.texi (Memory): Make order of menu items match
5349 order of sections.
5350
04570aaa
L
53512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5352
5353 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5354 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5355 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5356
b80af2f4
L
53572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5358
5359 * csu/libc-tls.c (static_dtv): Renamed to ...
5360 (_dl_static_dtv): This. Make it global.
5361 (_dl_initial_dtv): Removed.
5362 (__libc_setup_tls): Updated.
5363 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5364 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5365 DL_INITIAL_DTV.
5366
2abe9f15
PM
53672012-09-06 Petr Machata <pmachata@redhat.com>
5368
5369 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5370 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5371 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5372 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5373
0948c3af
L
53742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5375
5376 [BZ #14545]
5377 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5378 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5379 freeing dtv[-1].
5380
a5055ad1
L
53812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5382
5383 [BZ #14544]
5384 * Makeconfig (link-static-before-libc): Replace $(+prector)
5385 with $(+prectorT).
5386 (link-static-after-libc): Replace $(+postctor) with
5387 $(+postctorT).
5388 (link-bounded): Replace $(+prector)/$(+postctor) with
5389 $(+prectorT)/$(+postctorT).
5390 (+prectorT): New macro.
5391 (+postctorT): Likewise.
5392
ed8c2ecd
JM
53932012-09-06 Joseph Myers <joseph@codesourcery.com>
5394
5395 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5396 (round_str): Handle values above the maximum for IBM long double
5397 as inexact.
5398 * stdlib/tst-strtod-round.c (tests): Regenerated.
5399
14c996c8
AK
54002012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5401
5402 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5403 assembler flag.
5404 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5405 zarch_nohighgprs around the zarch optimized routines.
5406 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5407 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5408 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5409 for zarch.
5410
430d6ce6
DM
54112012-09-05 David S. Miller <davem@davemloft.net>
5412
5413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5414
ff04dda4
DM
5415 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5416 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5417 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5418 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5419 entries.
5420
24d4e01b
AO
54212012-09-05 Alexandre Oliva <aoliva@redhat.com>
5422
5423 * malloc/arena.c: Fold copyright years.
5424 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5425
61d58174
AO
54262012-09-05 Alexandre Oliva <aoliva@redhat.com>
5427
5428 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5429
20196a5e
AO
54302012-09-05 Alexandre Oliva <aoliva@redhat.com>
5431
5432 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5433
5c447383
AO
54342012-09-05 Alexandre Oliva <aoliva@redhat.com>
5435
5436 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5437 change internal state upon failure.
5438
fad64255
AO
54392012-09-05 Alexandre Oliva <aoliva@redhat.com>
5440
5441 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5442 * malloc/memusage.c (mmap): Likewise.
5443 (mmap64, mremap): Likewise. Adjust name in comment.
5444
1ffb8c90
SP
54452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5446
5447 * libio/fileops.c: Fix typos in comments.
5448 * libio/oldfileops.c: Likewise.
5449 * libio/wfileops.c: Likewise.
5450
6ef9cc37
SP
54512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5452
5453 [BZ #1349]
5454 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5455 (tst-malloc-usable-ENV): Set environment for test case.
5456 * malloc/hooks.c (malloc_check_get_size): New function to get
5457 requested size.
5458 * malloc/malloc.c (musable): Use malloc_check_get_size.
5459 * malloc/tst-malloc-usable.c: New test case.
5460
4d038ae3
AS
54612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5462
5463 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5464
c4e85184
AM
54652012-09-05 Allan McRae <allan@archlinux.org>
5466
b9dafc56 5467 [BZ #13966]
c4e85184
AM
5468 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5469 determine header location.
5470 * configure: Regenerated.
5471
e1343020
AS
54722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5473
5474 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5475 float format.
5476 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5477 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5478 format.
e1343020
AS
5479 (test): Regenerate.
5480
0a9f1987
DM
54812012-09-04 David S. Miller <davem@davemloft.net>
5482
5483 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5484 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5485 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5486
29237804
FW
54872012-09-04 Florian Weimer <fweimer@redhat.com>
5488
5489 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5490 failures.
5491
edb3cb88
FW
5492 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5493
60160d83
JM
54942012-09-04 Joseph Myers <joseph@codesourcery.com>
5495
5496 [BZ #9914]
5497 * libio/iogetdelim.c: Include <limits.h>.
5498 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5499 + len + 1 would overflow.
5500
bcd6c8dc
AJ
55012012-09-03 Andreas Jaeger <aj@suse.de>
5502
5503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5504 * sysdeps/i386/fpu/libm-test-ulps: Update.
5505
4ffffbd2
LD
55062012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5507
5508 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5509 Add s_sinf-sse2, s_conf-sse2.
5510
5511 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5512 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5513 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5514 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5515
5516 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5517 for using routine as __sinf_ia32.
5518 Use macro for function declaration and weak_alias.
5519 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5520 for using routine as __cosf_ia32.
5521 Use macro for function declaration and weak_alias.
5522
5523 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5524 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5525
5526 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5527 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5528 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5529
5530 * math/libm-test.inc (cos_test): Add more test cases.
5531 (sin_test): Likewise.
5532 (sincos_test): Likewise.
5533
511fa286
AK
55342012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5535
5536 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5537 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5538 hidden.
5539 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5540
5f30cfec
L
55412012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5542
5543 [BZ #14538]
5544 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5545 first element of the GOT.
5546 (elf_machine_load_address): Return the difference between
5547 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5548
0786794f
AM
55492012-09-01 Allan McRae <allan@archlinux.org>
5550
5f30cfec
L
5551 [BZ #13412]
5552 * configure.in (AWK): Require gawk version 3.0 or later.
5553 * configure: Regenerated.
0786794f 5554
26889eac
JM
55552012-09-01 Joseph Myers <joseph@codesourcery.com>
5556
5557 * sysdeps/unix/sysv/linux/kernel-features.h
5558 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5559 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5560 [__NR_clock_getres]: Make code unconditional.
5561 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5562 (clock_getcpuclockid): Remove code left unreachable by removal of
5563 conditionals.
5564 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5565 code unconditional.
5566 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5567 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5568 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5569 Make code unconditional.
5570 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5571 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5572 * sysdeps/unix/sysv/linux/clock_settime.c
5573 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5574 conditional code.
5575 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5576 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5577
d22e28b0
L
55782012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5579
5580 [BZ #14476]
5581 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5582 scripts/test-installation.pl.
5583
5584 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5585 and $ld_so_version if it is set.
5586
050af9c4
SP
55872012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5588
5589 [BZ #14516]
5590 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5591 failure if reading from procfs failed.
5592 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5593
ad845c0b
JM
55942012-08-27 Joseph Myers <joseph@codesourcery.com>
5595
5596 * sysdeps/unix/sysv/linux/kernel-features.h
5597 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5598 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5599 Remove conditional code.
5600 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5601 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5602 Remove conditional code.
5603 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5604 * sysdeps/unix/sysv/linux/i386/fxstat.c
5605 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5606 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5607 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5608 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5610 * sysdeps/unix/sysv/linux/i386/lxstat.c
5611 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5613 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5614 Remove conditional code.
5615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5616 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5617 Remove conditional code.
5618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5619 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5620 <kernel-features.h>.
5621 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5622 Remove.
5623 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5624 Remove conditional code.
5625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5626 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5627 Remove conditional.
5628
5dbf56af
MF
56292012-08-27 Mike Frysinger <vapier@gentoo.org>
5630
5631 [BZ #5400]
5632 * NEWS: Add fixed bug number.
5633
d6e70f43
JM
56342012-08-27 Joseph Myers <joseph@codesourcery.com>
5635
7efb4737
JM
5636 [BZ #14519]
5637 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5638 underflowing exponent in case of negative sign.
5639 * stdlib/tst-strtod-round-data: Add more tests.
5640 * stdlib/tst-strtod-round.c (tests): Regenerated.
5641
af92131a
JM
5642 [BZ #3479]
5643 * stdlib/strtod_l.c (NDIG): Remove.
5644 (HEXNDIG): Likewise.
5645 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5646 smallest representable value.
5647 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5648 lie within an exact representation of 1/2 ulp of the result.
5649 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5650 unconditionally.
5651 (TENS_P9_IDX): Define unconditionally.
5652 (TENS_P9_SIZE): Likewise.
5653 (TENS_P10_IDX): Likewise.
5654 (TENS_P10_SIZE): Likewise.
5655 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5656 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5657 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5658 entries for 10^2^13 and 10^2^14.
5659 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5660 (TENS_P13_IDX): Define.
5661 (TENS_P13_SIZE): Likewise.
5662 (TENS_P14_IDX): Likewise.
5663 (TENS_P14_SIZE): Likewise.
5664 (_fpioconst_pow10): Change array size to
5665 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5666 unconditional.
5667 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5668 1024]: Add entries for 10^2^13 and 10^2^14.
5669 [LAST_POW10 > _LAST_POW10]: Remove #error.
5670 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5671 (_fpioconst_pow10): Change array size to
5672 FPIOCONST_POW10_ARRAY_SIZE.
5673 * stdlib/gen-fpioconst.c: New file.
5674 * stdlib/gen-tst-strtod-round.c: Likewise.
5675 * stdlib/tst-strtod-round-data: Likewise.
5676 * stdlib/tst-strtod-round.c: Likewise.
5677 * stdlib/Makefile (tests): Add tst-strtod-round.
5678
d6e70f43
JM
5679 [BZ #14459]
5680 * stdlib/strtod_l.c: Include <stdint.h>.
5681 (NDEBUG): Do not define.
5682 (round_and_return): Change EXPONENT parameter to type intmax_t.
5683 Rearrange calculations to avoid internal overflow possibilities.
5684 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5685 Rearrange calculations to avoid internal overflow possibilities.
5686 Assert that number fits inside MPNSIZE limbs.
5687 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5688 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5689 calculations and add assertions to avoid internal overflow
5690 possibilities. Add casts to avoid signed/unsigned operations.
5691 * stdlib/tst-strtod-overflow.c: New file.
5692 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5693
1f529f7d
MP
56942012-08-25 Marek Polacek <polacek@redhat.com>
5695
5696 * time/time.h: Fix some typos in comments.
5697
59a629f1
RM
56982012-08-23 Roland McGrath <roland@hack.frob.com>
5699
5700 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5701 * posix/tst-rfc3484-2.c: Likewise.
5702 * posix/tst-rfc3484-3.c: Likewise.
5703
d3bafbc9
SM
57042012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5705
5706 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5707 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5708
4efcc022
JM
57092012-08-23 Joseph Myers <joseph@codesourcery.com>
5710
5711 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5712 #include of fxstatat64.c.
5713
3cc3ef96
RM
57142012-08-22 Roland McGrath <roland@hack.frob.com>
5715
f04e2132
RM
5716 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5717 * shadow/getspent_r.c: Likewise.
5718 * shadow/getspnam.c: Likewise.
5719 * shadow/getspnam_r.c: Likewise.
5720 * gshadow/getsgent.c: Likewise.
5721 * gshadow/getsgent_r.c: Likewise.
5722 * gshadow/getsgnam.c: Likewise.
5723 * gshadow/getsgnam_r.c: Likewise.
5724 * inet/getnetbyad.c: Likewise.
5725 * inet/getnetbyad_r.c: Likewise.
5726 * inet/getnetbynm.c: Likewise.
5727 * inet/getnetbynm_r.c: Likewise.
5728 * inet/getnetent.c: Likewise.
5729 * inet/getnetent_r.c: Likewise.
5730 * inet/getproto.c: Likewise.
5731 * inet/getproto_r.c: Likewise.
5732 * inet/getprtent.c: Likewise.
5733 * inet/getprtent_r.c: Likewise.
5734 * inet/getprtname.c: Likewise.
5735 * inet/getprtname_r.c: Likewise.
5736 * inet/getrpcbyname.c: Likewise.
5737 * inet/getrpcbyname_r.c: Likewise.
5738 * inet/getrpcbynumber.c: Likewise.
5739 * inet/getrpcbynumber_r.c: Likewise.
5740 * inet/getrpcent.c: Likewise.
5741 * inet/getrpcent_r.c: Likewise.
5742 * inet/getaliasent.c: Likewise.
5743 * inet/getaliasent_r.c: Likewise.
5744 * inet/getaliasname.c: Likewise.
5745 * inet/getaliasname_r.c: Likewise.
5746 * nscd/getgrgid_r.c: Likewise.
5747 * nscd/getgrnam_r.c: Likewise.
5748 * nscd/gethstbyad_r.c: Likewise.
5749 * nscd/gethstbynm3_r.c: Likewise.
5750 * nscd/getpwnam_r.c: Likewise.
5751 * nscd/getpwuid_r.c: Likewise.
5752 * nscd/getsrvbynm_r.c: Likewise.
5753 * nscd/getsrvbypt_r.c: Likewise.
5754 * nscd/gai.c: Likewise.
5755
c53d909c
RM
5756 * configure.in (build_nscd): New substituted variable, set
5757 by --disable-build-nscd and defaults to $use_nscd.
5758 * configure: Regenerated.
5759 * config.make.in (build-nscd): New substituted variable.
5760 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5761 Change conditional to require [$(build-nscd) = yes] as well.
5762 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5763
3cc3ef96
RM
5764 [BZ# 13696]
5765 * configure.in (use_nscd): New substituted variable, set by
5766 --disable-nscd. If enabled, define USE_NSCD.
5767 * configure: Regenerated.
5768 * config.h.in: Add USE_NSCD.
5769 * config.make.in (use-nscd): New substituted variable.
5770 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5771 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5772 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5773 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5774 (CFLAGS-getgrnam_r.c): Likewise.
5775 (CFLAGS-initgroups.c): Likewise.
5776 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5777 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5778 Variables removed.
5779 * inet/getnetgrent_r.c
5780 (nscd_setnetgrent): New function, broken out of ...
5781 (setnetgrent): ... here. Call it.
5782 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5783 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5784 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5785 * nscd/Makefile (routines, aux): Move definitions after include of
5786 Makeconfig. Conditionalize on [$(use-nscd) != no].
5787 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5788 Conditionalize on [USE_NSCD].
5789 (is_nscd, nscd_init_cb): Likewise.
5790 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5791 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5792 * nss/nss_db/db-init.c: Likewise.
5793 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5794 [USE_NSCD].
5795 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5796 (make_request): Use it.
5797 (cache_valid_p): New function.
5798 (__check_pf): Use it.
5799 * NEWS: Add item for --disable-nscd.
5800
07e51550
DL
58012012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5802
5803 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5804 to support sed >= 4.2.1-20-ga9bf076.
5805 * configure: Regenerated.
5806
35a5b08b
RM
58072012-08-22 Roland McGrath <roland@hack.frob.com>
5808
5809 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5810 Conditionalize whole body on [IREL].
5811
8479f23a
JL
58122012-08-22 Jeff Law <law@redhat.com>
5813
5814 [BZ #14505]
5815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5816 if the family is PF_UNSPEC.
5817
48da0b21
MF
58182012-08-22 Mike Frysinger <vapier@gentoo.org>
5819
5820 * Makerules (lib-version): Rename from V.
5821 (install-lib-nosubdir): Change V to lib-version.
5822
15d0da8c
WS
58232012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5824
5825 [BZ #14252]
5826 * powerpc32/power6/wcschr.c: New file.
5827 * powerpc32/power6/wcscpy.c: New file.
5828 * powerpc32/power6/wcsrchr.c: New file.
5829 * powerpc64/power6/wcschr.c: New file.
5830 * powerpc64/power6/wcscpy.c: New file.
5831 * powerpc64/power6/wcsrchr.c: New file.
5832
bcca0895
MK
58332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5834
5835 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5836 (two_way_short_needle): Use it.
5a4aaa33
RM
5837 * string/strstr.c (AVAILABLE1_USES_J): Define.
5838 * string/strcasestr.c: Likewise.
99677e57
MK
5839
5840 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5841 array references.
5842 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5843
400726de
MK
5844 [BZ #11607]
5845 * NEWS: Add an entry.
5846 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5847 define their defaults.
5848 (two_way_short_needle): Detect end-of-string on-the-fly.
5849 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5850 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5851 * string/bug-strcasestr1.c: New test.
5852 * string/Makefile: Run it.
5853
20a71f2c
MK
58542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5855
5856 [BZ #11607]
5857 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5858 the first character.
5859
21ad0558
RM
58602012-08-21 Roland McGrath <roland@hack.frob.com>
5861
5862 * csu/elf-init.c (__libc_csu_irel): Function removed.
5863 * csu/libc-start.c (apply_irel): New function.
5864 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5865
0e1d9911
JM
58662012-08-21 Joseph Myers <joseph@codesourcery.com>
5867
5868 * sysdeps/unix/sysv/linux/kernel-features.h
5869 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5870 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5871 <kernel-features.h>.
5872 [__NR_fadvise64_64]: Make code unconditional.
5873 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5874 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5875 !__NR_fadvise64_64)]: Likewise.
5876 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5877 !__NR_fadvise64_64))]: Likewise.
5878 [__NR_fadvise64]: Make code unconditional.
5879 [!__NR_fadvise64]: Remove conditional code.
5880 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5881 <kernel-features.h>.
5882 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5883 unconditional.
5884 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5885 conditional code.
5886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5887 not include <kernel-features.h>.
5888 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5889 unconditional.
5890 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5891 conditional code.
5892 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5893 include <kernel-features.h>.
5894 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5895 unconditional.
5896 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5897 conditional code.
5898
14a50c9d
WS
58992012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5900
5901 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5902 slight instruction rearrangements per scrollpipe analysis.
5903 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5904
c0f4faf0
RM
59052012-08-20 Roland McGrath <roland@hack.frob.com>
5906
696da859
RM
5907 * manual/syslog.texi (syslog; vsyslog, closelog):
5908 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5909 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5910
c0f4faf0
RM
5911 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5912 DSOCAPS to match condition on defining it.
5913
348363b2
JM
59142012-08-20 Joseph Myers <joseph@codesourcery.com>
5915
a35cbf28
JM
5916 * sysdeps/unix/sysv/linux/kernel-features.h
5917 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5919 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5920 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5922 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5923 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5925 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5926 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5927
445f7ecd
JM
5928 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5929 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5930
348363b2
JM
5931 * sysdeps/unix/sysv/linux/kernel-features.h
5932 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5933 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5934 unconditional.
5935 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5936 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5937 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5938 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5939 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5940 Make code unconditional.
5941 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5942 (__mmap64) [!__NR_mmap2]: Likewise.
5943 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5944 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5945 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5946 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5947 [__NR_mmap2]: Make code unconditional.
5948 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5949 (__mmap64) [!__NR_mmap2]: Likewise.
5950
bc5bc0e5
AK
59512012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5952
5953 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5954
88d506de
AJ
59552012-08-18 Andreas Jaeger <aj@suse.de>
5956
5957 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5958
493387d2
MF
59592012-08-18 Mike Frysinger <vapier@gentoo.org>
5960
5961 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5962 * include/unistd.h (__have_sock_cloexec): Likewise.
5963 (__have_pipe2): Likewise.
5964 (__have_dup3): Likewise.
5965
a277af22
MF
59662012-08-18 Mike Frysinger <vapier@gentoo.org>
5967
5968 [BZ #9685]
5969 * include/unistd.h (__have_pipe2): Change define into an extern int.
5970 (__have_dup3): Likewise.
5971 * socket/have_sock_cloexec.c: Include fcntl.h.
5972 (__have_pipe2): New variable.
5973 (__have_dup3): Likewise.
5974
fdab8fd3
MF
59752012-08-17 Mike Frysinger <vapier@gentoo.org>
5976
5977 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5978
31035e80
MP
59792012-08-17 Marek Polacek <polacek@redhat.com>
5980
5981 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5982 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5983
3bd9e993
RM
59842012-08-17 Roland McGrath <roland@hack.frob.com>
5985
c91c505f
RM
5986 * configure.in: Add AC_SUBST for sysheaders.
5987 * configure: Regenerated.
5988 * config.make.in (sysheaders): New substituted variable.
5989
7c6f9d53
RM
5990 * sysdeps/unix/mkfifo.c: Moved ...
5991 * sysdeps/posix/mkfifo.c: ... here.
5992 * sysdeps/unix/mkfifoat.c: Moved ...
5993 * sysdeps/posix/mkfifoat.c: ... here.
5994
5995 * sysdeps/unix/utime.c: Moved ...
5996 * sysdeps/posix/utime.c: ... here.
5997
5998 * sysdeps/unix/time.c: Moved ...
5999 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6000 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6001 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6002
6003 * sysdeps/unix/nice.c: Moved ...
6004 * sysdeps/posix/nice.c: ... here.
6005
6006 * sysdeps/unix/alarm.c: Moved ...
6007 * sysdeps/posix/alarm.c: ... here.
6008
3bd9e993
RM
6009 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6010
d1f09384
JL
60112012-08-17 Jeff Law <law@redhat.com>
6012
6013 * intl/Makefile (codeset_mo): New variable.
6014 ($(codeset_mo)): New target.
6015 (tst-codeset.out): Depend on that. Remove explicit rule.
6016 (tst-gettext3.out, tst-gettext5.out): Likewise.
6017 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6018 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6019 * intl/tst-codeset.sh: Remove.
6020 * intl/tst-gettext3.sh: Likewise.
6021 * intl/tst-gettext5.sh: Likewise.
6022
2ae1ae5c
RM
60232012-08-17 Roland McGrath <roland@hack.frob.com>
6024
c31fdb83
RM
6025 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6026 * sysdeps/unix/syscalls.list: ... here.
6027
a0844057
RM
6028 * sysdeps/posix/getaddrinfo.c
6029 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6030 (gaiconf_init, gaiconf_reload): Use them.
6031 [!_STATBUF_ST_NSEC]
6032 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6033 Define using time_t rather than struct timespec.
6034
750c1f2a
RM
6035 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6036 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6037 Macros removed.
6038 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6039 [!NO_THREADS].
6040 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6041 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6042 Likewise.
6043
2ae1ae5c
RM
6044 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6045 __libc_cleanup_push argument.
6046
e66a42f5
RM
6047 * bits/param.h: New file.
6048 * misc/sys/param.h: New file.
6049 * include/sys/param.h: New file.
6050 * misc/Makefile (headers): Add bits/param.h.
6051 * sysdeps/generic/sys/param.h: File removed.
6052 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6053 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6054 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6055 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6056
b7c08a66
RM
6057 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6058 last change.
6059
b2e1c562
RM
6060 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6061 [_IO_MTSAFE_IO].
6062 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6063 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6064 New macros.
6065
c75ccd4c
RM
6066 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6067 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6068 rather than -D_IO_MTSAFE_IO conditionally.
6069 * stdio-common/Makefile (CPPFLAGS): Likewise.
6070 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6071 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6072 Use $(libio-mtsafe).
6073 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6074 of -D_IO_MTSAFE_IO.
6075 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6076 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6077 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6078 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6079 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6080 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6081 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6082 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6083 (CFLAGS-fread_u_chk.c): Likewise.
6084 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6085 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6086 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6087 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6088 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6089 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6090 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6091 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6092 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6093
6094 * libio/Makefile: Test [$(libc-reentrant) = yes]
6095 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6096
6097 * Makeconfig
6098 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6099 * sysdeps/pthread/configure: File removed.
6100 * sysdeps/pthread/Makeconfig: New file.
6101 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6102 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6103
d9195db8
GB
61042012-08-16 Gary Benson <gbenson@redhat.com>
6105
6106 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6107 unmapping the first object in a namespace.
6108
86466cd9
RM
61092012-08-16 Roland McGrath <roland@hack.frob.com>
6110
6111 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6112 (__internal_setnetgrent): ... this. Add internal_function to
6113 definition. Add libc_hidden_def.
6114 (setnetgrent): Update caller.
6115 (internal_endnetgrent): Renamed to ...
6116 (__internal_endnetgrent): ... this. Add internal_function to
6117 definition. Add libc_hidden_def.
6118 (endnetgrent): Update caller.
6119 (internal_getnetgrent_r): Renamed to ...
6120 (__internal_getnetgrent_r): ... this. Add internal_function to
6121 definition. Add libc_hidden_def.
6122 (__getnetgrent_r): Update caller.
6123 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6124
c3c8283c
JM
61252012-08-16 Joseph Myers <joseph@codesourcery.com>
6126
6127 * stdlib/longlong.h: Update from GCC.
6128
db1ee0a8
RM
61292012-08-16 Roland McGrath <roland@hack.frob.com>
6130
6131 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6132 on _QL, which is set by umul_ppmm but never used.
6133 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6134 variables, which are set by GMP macros but never used.
6135 * stdio-common/_itowa.c (_itowa): Likewise.
6136 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6137 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6138
30f69637
CD
61392012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6140
6141 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6142 struct La_sh_regs is not constant.
6143 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6144 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6145 and struct La_sparc64_regs are not constant.
6146
93a78ac4
JM
61472012-08-16 Joseph Myers <joseph@codesourcery.com>
6148
6149 * sysdeps/unix/sysv/linux/kernel-features.h
6150 (__ASSUME_POSIX_TIMERS): Remove.
6151 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6152 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6153 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6154 Make code unconditional.
6155 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6156 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6157 Make code unconditional.
6158 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6159 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6160 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6161 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6162 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6163 Make code unconditional.
6164 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6165 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6166 (__libc_missing_posix_timers): Remove.
6167
dd924cd7
RM
61682012-08-15 Roland McGrath <roland@hack.frob.com>
6169
4b4f2771
RM
6170 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6171 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6172
601c888b
RM
6173 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6174
176790a7
RM
6175 * elf/dl-sym.c: Include <stdlib.h>.
6176
329bc018
RM
6177 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6178 constants, which avoids warnings in 32-bit builds.
6179
e04e272d
RM
6180 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6181 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6182
952bf94a
RM
6183 * misc/lseek.c: File moved to ...
6184 * io/lseek.c: ... here.
6185
7c99b50a
RM
6186 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6187
dd924cd7
RM
6188 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6189 shifting LEN more than 31 bits at once.
6190
b3f479a8
LD
61912012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6192
6193 [BZ #14195]
8c4ae0d4
RM
6194 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6195 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6196 * string/test-strncasecmp.c (check1): Renamed to...
6197 (bz12205): ...this.
6198 (bz14195): Add new testcase for two empty input strings and N > 0.
6199 (test_main): Call new testcase, adapt for renamed function.
6200
9c55864e
AJ
62012012-08-15 Andreas Jaeger <aj@suse.de>
6202
6203 [BZ #14090]
6204 * crypt/md5test2.c: New test, based on test supplied by Serge
6205 Belyshev <belyshev@depni.sinp.msu.ru>.
6206 * crypt/Makefile (xtests): Add md5test-giant..
6207 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6208
02dcb6c5
PE
62092012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6210
6211 [BZ #14090]
6212 * crypt/md5.c (md5_process_block): Don't assume the buffer
6213 length is less than 2**32.
6214 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6215 length is less than 2**64.
6216
a3f95dcc
RM
62172012-08-15 Roland McGrath <roland@hack.frob.com>
6218
be75d758
RM
6219 * string/str-two-way.h: Include <sys/param.h>.
6220 (MAX): Macro removed.
6221
7312ca90
RM
6222 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6223 Move #define and #undef of memmove to just before and after
6224 including <string.h>.
6225
9a0a5486
RM
6226 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6227 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6228 and after including <string.h>. Move declarations of
6229 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6230 to before #include "string/memmove.c".
6231
67cc348d
RM
6232 * include/dirent.h: Declare __getdirentries.
6233
a3f95dcc
RM
6234 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6235 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6236
ca98e171
MF
62372012-08-14 Mike Frysinger <vapier@gentoo.org>
6238
6239 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6240 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6241 * sysdeps/i386/configure: Regenerated.
6242 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6243 STABS_CURRENT_FILE, and STABS_FUN.
6244 (END): Remove call to STABS_FUN_END.
6245 (STABS_CURRENT_FILE1): Delete.
6246 (STABS_CURRENT_FILE): Likewise.
6247 (STABS_FUN): Likewise.
6248 (STABS_FUN_END): Likewise.
6249 (STABS_FUN2): Likewise.
6250 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6251 * sysdeps/x86_64/configure: Regenerated.
6252
5908bf46
RM
62532012-08-14 Roland McGrath <roland@hack.frob.com>
6254
6255 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6256 * elf/dl-lookup.c: Likewise.
5908bf46 6257
f2c05b9e
JM
62582012-08-14 Joseph Myers <joseph@codesourcery.com>
6259
6260 * sysdeps/unix/sysv/linux/kernel-features.h
6261 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6262 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6263 unconditionally.
6264 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6265 unconditionally.
6266 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6267 condition on __ASSUME_CLONE_THREAD_FLAGS.
6268
e11f5155
AJ
62692012-08-14 Andreas Jaeger <aj@suse.de>
6270
6271 * sysdeps/i386/fpu/libm-test-ulps: Update.
6272
51a9ba86
MK
62732012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6274
2fdd4f78
AJ
6275 * include/atomic.h (atomic_exchange_and_add): Split into ...
6276 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6277 New atomic macros.
51a9ba86 6278
ba6cba9e
MT
62792012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6280
6281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6282
42443a47
JL
62832012-08-13 Jeff Law <law@redhat.com>
6284
6285 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6286 null byte in the output string.
6287
121dce05
JM
62882012-08-10 Joseph Myers <joseph@codesourcery.com>
6289
6290 * sysdeps/unix/sysv/linux/kernel-features.h
6291 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6292 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6293 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6294 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6295 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6296 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6297 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6298
bf51f568
JL
62992012-08-09 Jeff Law <law@redhat.com>
6300
6301 [BZ #13939]
6302 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6303 When avoid_arena is set, don't retry in the that arena. Pick the
6304 next one, whatever it might be.
6305 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6306 (arena_lock): Pass in new parameter to arena_get2.
6307 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6308 arena_get2.
6309 (__libc_malloc): Unify retrying after main arena failure with
6310 __libc_memalign version.
6311 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6312
f85fa270
L
63132012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6314
6315 [BZ #14166]
6316 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6317 to __redirect_strstr.
6318 (__strstr_sse42): Use typeof __redirect_strstr.
6319 (__strstr_ia32): Likewise.
6320 (__libc_strstr): New prototype.
6321 (strstr): Renamed to ...
6322 (__libc_strstr): This.
6323 (strstr): New strong alias of __libc_strstr.
6324 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6325 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6326 __redirect_time.
6327 Include <time.h>.
6328 (__libc_time): New prototype.
6329 (time_ifunc): Replace time with __libc_time.
6330 (time): New strong alias and hidden definition of __libc_time.
6331 (__GI_time): Remove strong alias.
6332 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6333 Include <stddef.h>.
6334 (memmove): Redefined to __redirect_memmove.
6335 (__memmove_sse2): Use typeof __redirect_memmove.
6336 (__memmove_ssse3): Likewise.
6337 (__memmove_ssse3_back): Likewise.
6338 (__libc_memmove): New prototype.
6339 (memmove): Renamed to ...
6340 (__libc_memmove): This.
6341 (memmove): New strong alias of __libc_memmove.
6342
33b4a91e
MS
63432012-08-08 Mark Salter <msalter@redhat.com>
6344
6345 * elf/elf.h
6346 (R_MN10300_TLS_GD): Define.
6347 (R_MN10300_TLS_LD): Likewise.
6348 (R_MN10300_TLS_LDO): Likewise.
6349 (R_MN10300_TLS_GOTIE): Likewise.
6350 (R_MN10300_TLS_IE): Likewise.
6351 (R_MN10300_TLS_LE): Likewise.
6352 (R_MN10300_TLS_DTPMOD): Likewise.
6353 (R_MN10300_TLS_DTPOFF): Likewise.
6354 (R_MN10300_TLS_TPOFF): Likewise.
6355 (R_MN10300_SYM_DIFF): Likewise.
6356 (R_MN10300_ALIGN): Likewise.
6357 (R_MN10300_NUM): Update.
6358
b36137f1
JM
63592012-08-08 Joseph Myers <joseph@codesourcery.com>
6360
6361 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6362 Remove.
6363
cdd915fd
RM
63642012-08-08 Roland McGrath <roland@hack.frob.com>
6365
a2433aac
RM
6366 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6367
cdd915fd
RM
6368 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6369 sysdeps/unix -> sysdeps/posix move.
6370 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6371
bf9b740a
AM
63722012-08-07 Allan McRae <allan@archlinux.org>
6373
6374 [BZ #14303]
6375 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6376 (SUNOS_CPP): Likewise.
6377 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6378 not found.
6379 (open_input): Call CPP using execvp.
6380
93df14ee
JM
63812012-08-07 Joseph Myers <joseph@codesourcery.com>
6382
6383 * sysdeps/unix/sysv/linux/kernel-features.h
6384 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6385 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6386 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6387 (__ASSUME_WAITID_SYSCALL): Likewise.
6388 * sysdeps/unix/sysv/linux/dl-execstack.c
6389 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6390 code unconditional.
6391 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6392 conditional code.
6393 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6394 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6395 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6396 code.
6397 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6398 unconditional.
6399 [__ASSUME_WAITID_SYSCALL]: Likewise.
6400 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6401
d34689de
RM
64022012-08-07 Roland McGrath <roland@hack.frob.com>
6403
a281decc
RM
6404 * sysdeps/unix/closedir.c: Renamed to ...
6405 * sysdeps/posix/closedir.c: ... here.
6406 * sysdeps/unix/dirfd.c: Renamed to ...
6407 * sysdeps/posix/dirfd.c: ... here.
6408 * sysdeps/unix/dirstream.h: Renamed to ...
6409 * sysdeps/posix/dirstream.h: ... here.
6410 * sysdeps/unix/fdopendir.c: Renamed to ...
6411 * sysdeps/posix/fdopendir.c: ... here.
6412 * sysdeps/unix/opendir.c: Renamed to ...
6413 * sysdeps/posix/opendir.c: ... here.
6414 * sysdeps/unix/readdir.c: Renamed to ...
6415 * sysdeps/posix/readdir.c: ... here.
6416 * sysdeps/unix/readdir_r.c: Renamed to ...
6417 * sysdeps/posix/readdir_r.c: ... here.
6418 * sysdeps/unix/rewinddir.c: Renamed to ...
6419 * sysdeps/posix/rewinddir.c: ... here.
6420 * sysdeps/unix/seekdir.c: Renamed to ...
6421 * sysdeps/posix/seekdir.c: ... here.
6422 * sysdeps/unix/telldir.c: Renamed to ...
6423 * sysdeps/posix/telldir.c: ... here.
6424 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6425 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6426 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6427 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6428
22895b47
RM
6429 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6430 * bits/fcntl.h: ... here.
6431
707a53b6
RM
6432 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6433 not 0.
6434 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6435 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6436 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6437 (struct flock): Move l_start, l_len to the beginning.
6438 Use __pid_t for l_pid.
6439 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6440 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6441 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6442 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6443 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6444 [__USE_LARGEFILE64] (struct flock64): New type.
6445 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6446
f0bd3e25
RM
6447 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6448 * bits/dirent.h: ... here.
6449
d34689de
RM
6450 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6451 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6452
6dad2c06
JM
64532012-08-07 Joseph Myers <joseph@codesourcery.com>
6454
6455 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6456 Change from 2.6.0 to 2.6.16.
6457 * sysdeps/unix/sysv/linux/configure: Regenerated.
6458 * sysdeps/unix/sysv/linux/kernel-features.h
6459 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6460 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6461 version.
6462 (__ASSUME_UTIMES): Likewise.
6463 (__ASSUME_CLONE_STOPPED): Remove.
6464 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6465 architectures, not kernel version.
6466 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6467 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6468 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6469 (__ASSUME_WAITID_SYSCALL): Likewise.
6470 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6471 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6472 * README: State 2.6.16 as minimum Linux kernel version. Do not
6473 refer to older versions.
6474
03af9520
RM
64752012-08-06 Roland McGrath <roland@hack.frob.com>
6476
8e49df1d
RM
6477 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6478 Define alphasort64 as an alias.
6479 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6480 Define versionsort64 as an alias.
6481 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6482 Define scandir64 as an alias.
6483 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6484 Define scandirat64 as an alias.
6485 * dirent/alphasort64.c (alphasort64):
6486 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6487 * dirent/versionsort64.c: Likewise.
6488 * dirent/scandir64.c: Likewise.
6489 * dirent/scandirat64.c: Likewise.
6490 * sysdeps/wordsize-64/alphasort.c: File removed.
6491 * sysdeps/wordsize-64/alphasort64.c: File removed.
6492 * sysdeps/wordsize-64/scandir.c: File removed.
6493 * sysdeps/wordsize-64/scandir64.c: File removed.
6494 * sysdeps/wordsize-64/scandirat.c: File removed.
6495 * sysdeps/wordsize-64/scandirat64.c: File removed.
6496 * sysdeps/wordsize-64/versionsort.c: File removed.
6497 * sysdeps/wordsize-64/versionsort64.c: File removed.
6498 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6499 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6500 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6501 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6502 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6503 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6504 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6505 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6506
6507 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6508 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6509 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6510 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6511 [defined __arch64__ || defined __sparcv9]
6512 (__INO_T_MATCHES_INO64_T): New macro.
6513 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6514 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6515 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6516 * sysdeps/unix/sysv/linux/bits/dirent.h
6517 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6518 (_DIRENT_MATCHES_DIRENT64): New macro.
6519
03af9520
RM
6520 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6521 Define lockf64 as an alias.
6522 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6523 Define fseeko64 as an alias.
6524 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6525 Define ftello64 as an alias.
6526 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6527 Define _IO_fgetpos64 and fgetpos64 as aliases.
6528 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6529 Define _IO_fsetpos64 and fsetpos64 as aliases.
6530 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6531 Conditionalize body on this.
6532 * libio/fseeko64.c: Likewise.
6533 * libio/ftello64.c: Likewise.
6534 * libio/iofgetpos64.c: Likewise.
6535 * libio/iofsetpos64.c: Likewise.
6536 * sysdeps/wordsize-64/lockf.c: File removed.
6537 * sysdeps/wordsize-64/lockf64.c: File removed.
6538 * sysdeps/wordsize-64/fseeko.c: File removed.
6539 * sysdeps/wordsize-64/fseeko64.c: File removed.
6540 * sysdeps/wordsize-64/ftello.c: File removed.
6541 * sysdeps/wordsize-64/ftello64.c: File removed.
6542 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6543 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6544 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6545 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6546 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6547 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6548 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6549 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6550 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6551 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6552 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6553 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6554 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6555 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6556
6557 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6558 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6559 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6560 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6561 [defined __arch64__ || defined __sparcv9]
6562 (__OFF_T_MATCHES_OFF64_T): New macro.
6563 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6564 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6566 (__OFF_T_MATCHES_OFF64_T): New macro.
6567
c5757acd
L
65682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6569
6570 * stdlib/secure-getenv.c (__secure_getenv): Replace
6571 GLIBC_2_16 with GLIBC_2_17.
6572
3a31811e
L
65732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6574
6575 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6576 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6577
faa2bccb
DM
65782012-08-03 David S. Miller <davem@davemloft.net>
6579
6580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6581
85fe1997
JM
65822012-08-03 Joseph Myers <joseph@codesourcery.com>
6583
6584 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6585 Remove.
6586 (__ASSUME_CORRECT_SI_PID): Likewise.
6587 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6588 (__ASSUME_TMPFS_NAME): Likewise.
6589 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6590 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6591 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6592 (HAVE_AUX_SECURE): Make definition unconditional.
6593 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6594 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6595
4f75b7a0
RM
65962012-08-03 Roland McGrath <roland@hack.frob.com>
6597
6598 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6599 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6600 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6601 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6602 __eloop_threshold instead of SYMLOOP_MAX.
6603
6604 * sysdeps/generic/eloop-threshold.h: New file.
6605 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6606 of MAXSYMLINKS.
6607 * elf/chroot_canon.c (chroot_canon): Likewise.
6608
7aab07e4
JM
66092012-08-03 Joseph Myers <joseph@codesourcery.com>
6610
6611 [BZ #13717]
6612 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6613 Change to 2.6.0 everywhere.
6614 * sysdeps/unix/sysv/linux/configure: Regenerated.
6615 * sysdeps/unix/sysv/linux/kernel-features.h
6616 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6617 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6618 kernel versions.
6619 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6620 (__ASSUME_FUTEX_REQUEUE): Remove.
6621 (__ASSUME_STATFS64): Define unconditionally.
6622 (__ASSUME_AT_SECURE): Likewise.
6623 (__ASSUME_CORRECT_SI_PID): Likewise.
6624 (__ASSUME_TGKILL): Define without depending on kernel version for
6625 i386.
6626 (__ASSUME_UTIMES): Likewise.
6627 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6628 kernel version.
6629 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6630 (__ASSUME_TMPFS_NAME): Likewise.
6631 * README: Update reference to Linux kernel versions.
6632
b67e9372
MP
66332012-08-02 Marek Polacek <polacek@redhat.com>
6634
1f529f7d 6635 [BZ# 14150]
b67e9372
MP
6636 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6637 libc_cv_asm_type_prefix with %.
6638 * configure: Regenerated.
d2441631
RM
6639 * include/libc-symbols.h: Remove comment about
6640 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6641 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6642 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6643 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6644 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6645 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6646 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6647 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6648 * elf/tst-unique2mod1.c: Likewise.
6649 * elf/tst-unique1mod2.c: Likewise.
6650 * elf/tst-unique1mod1.c: Likewise.
6651 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6652 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6653 Replace ASM_TYPE_DIRECTIVE with .type.
6654 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6655 * sysdeps/i386/sysdep.h: Likewise.
6656 * sysdeps/x86_64/sysdep.h: Likewise.
6657 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6659 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6660 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6661 * sysdeps/powerpc/powerpc32/sysdep.h:
6662 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6663 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6664 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6665 * sysdeps/i386/fpu/e_powf.S: Likewise.
6666 * sysdeps/i386/fpu/e_expl.S: Likewise.
6667 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6668 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6669 * sysdeps/i386/fpu/e_pow.S: Likewise.
6670 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6671 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6672 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6673 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6674 * sysdeps/i386/fpu/e_log2.S: Likewise.
6675 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6676 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6677 * sysdeps/i386/fpu/e_powl.S: Likewise.
6678 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6679 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6680 * sysdeps/i386/fpu/e_logl.S: Likewise.
6681 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6682 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6683 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6684 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6685 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6686 * sysdeps/i386/fpu/e_log.S: Likewise.
6687 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6688 * sysdeps/i386/fpu/e_logf.S: Likewise.
6689 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6690 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6691 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6692 * sysdeps/i386/fpu/e_log10.S: Likewise.
6693 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6694 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6695 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6696 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6697 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6698 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6699 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6700 * sysdeps/i386/i686/strtok.S: Likewise.
6701 * sysdeps/i386/i386-mcount.S: Likewise.
6702 * sysdeps/i386/strtok.S: Likewise.
6703 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6704 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6705 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6706 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6707 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6708 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6709 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6710 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6711 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6712 * sysdeps/x86_64/_mcount.S: Likewise.
6713 * sysdeps/x86_64/strtok.S: Likewise.
6714 * sysdeps/sh/_mcount.S: Likewise.
6715
2747bf9a
RM
67162012-08-01 Roland McGrath <roland@hack.frob.com>
6717
6718 * libio/iofopen.c: Include <fcntl.h>.
6719 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6720 (_IO_fopen64, fopen64): Define as aliases.
6721 * libio/iofopen64.c: Include <fcntl.h>.
6722 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6723 Conditionalize body on this.
6724 * sysdeps/wordsize-64/iofopen.c: File removed.
6725 * sysdeps/wordsize-64/iofopen64.c: File removed.
6726
3fb791b8
MP
67272012-08-01 Marek Polacek <polacek@redhat.com>
6728
6729 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6730 Use dlfcn directly instead of a variable.
6731 (binfmt-subdir): Do not define.
6732 (dlfcn): Likewise.
6733
a9f1039f
JM
67342012-08-01 Joseph Myers <joseph@codesourcery.com>
6735
23bddc06
JM
6736 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6737 Remove all definitions.
6738 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6739 <kernel-features.h>.
6740 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6741 (miss_F_GETOWN_EX): Remove all definitions.
6742 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6743 macro definition.
6744 [!__ASSUME_FCNTL64]: Remove conditional code.
6745 [__ASSUME_FCNTL64]: Make code unconditional.
6746 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6747 <kernel-features.h>.
6748 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6749 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6750 (lockf64) [__NR_fcntl64]: Make code unconditional.
6751 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6752
a9f1039f
JM
6753 * sysdeps/unix/sysv/linux/kernel-features.h
6754 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6755 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6756 Make code unconditional.
6757 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6758 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6760 [__NR_vfork]: Make code unconditional.
6761 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6762 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6764 [__NR_vfork]: Make code unconditional.
6765 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6766 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6767
09c0ee5f
RM
67682012-08-01 Roland McGrath <roland@hack.frob.com>
6769
48aec5b9
RM
6770 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6771 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6772
cd97c966
RM
6773 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6774 Define mkstemp64 as an alias.
3f55550c
RM
6775 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6776 Define mkstemps64 as an alias.
cd97c966
RM
6777 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6778 Define mkostemp64 as an alias.
b8625cfc
RM
6779 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6780 Define mkostemps64 as an alias.
cd97c966
RM
6781 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6782 Conditionalize body on this.
6783 * misc/mkostemp64.c: Likewise.
b8625cfc 6784 * misc/mkostemps64.c: Likewise.
3f55550c 6785 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6786 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6787 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6788 * sysdeps/wordsize-64/mkostemp.c: File removed.
6789 * sysdeps/wordsize-64/mkstemp.c: File removed.
6790 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6791 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6792 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6793 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6794
09c0ee5f
RM
6795 [BZ #14138]
6796 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6797 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6798 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6799 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6800
6801 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6802 compat_symbol macros from <shlib-compat.h> rather than the underlying
6803 default_symbol_version and symbol_version macros, so that DEFAULT
6804 lines in shlib-versions are respected.
6805 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6806
7e66ee51
FW
68072012-08-01 Florian Weimer <fweimer@redhat.com>
6808
6809 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6810 Declare with warn_unused_result.
6811 (setgid, setregid, setegid, setresgid): Likewise.
6812 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6813 Likewise.
6814 * WUR-REPORT: Remove set*id functions.
6815
d2a54255
PT
68162012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6817
6818 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6819
7ecdb005
RM
68202012-07-31 Roland McGrath <roland@hack.frob.com>
6821
789bd351
RM
6822 * include/sys/socket.h (__libc_accept, __libc_accept4):
6823 Add attribute_hidden.
6824 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6825
40ce302d
RM
6826 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6827 use of PTR_MANGLE.
6828 * inet/getnetgrent_r.c (setup): Likewise.
6829
7ecdb005
RM
6830 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6831
e2eabb2c
DM
68322012-07-31 David S. Miller <davem@davemloft.net>
6833
6834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6835
d0419dbf
JM
68362012-07-31 Joseph Myers <joseph@codesourcery.com>
6837
6838 [BZ #13629]
6839 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6840 value between 1.0 and 2.0 and smaller part has absolute value less
6841 than 1.0.
6842 * math/s_clog10.c (__clog10): Likewise.
6843 * math/s_clog10f.c (__clog10f): Likewise.
6844 * math/s_clog10l.c (__clog10l): Likewise.
6845 * math/s_clogf.c (__clogf): Likewise.
6846 * math/s_clogl.c (__clogl): Likewise.
6847 * math/libm-test.inc (clog_test): Add more tests.
6848 (clog10_test): Likewise.
6849 * sysdeps/i386/fpu/libm-test-ulps: Update.
6850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6851
2bc13872
FW
68522012-07-31 Florian Weimer <fweimer@redhat.com>
6853
6854 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6855 Exit with zero in case no suitable GID is found, and write a
6856 message to standard error.
6857
bea9b193
RM
68582012-07-30 Roland McGrath <roland@hack.frob.com>
6859
6860 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6861 rather than to 1.
6862 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6863 (MAXPATHLEN): Removed.
6864 (NOGROUP, NODEV): New macros.
6865 (setbit, clrbit, isset, isclr): New macros.
6866 (howmany, roundup, powerof2): New macros.
6867 (DEV_BSIZE): New macro.
6868
6869 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6870 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6871
6872 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6873 definition on [!__NO_LONG_DOUBLE_MATH].
6874
6875 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6876 PTR_MANGLE and PTR_DEMANGLE.
6877
6878 * socket/accept4.c (accept4): Rename to __libc_accept4.
6879 Define accept4 as a weak alias.
6880
6881 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6882 on [_DIRENT_HAVE_D_TYPE].
6883 * io/ftw.c (ftw_dir): Likewise.
6884
6885 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6886
6887 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6888
6889 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6890 Use the BSD numbers rather than the arbitrary ones we had.
6891 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6892 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6893 (SIGXCPU, SIGXFSZ): New macros.
6894 (_NSIG): Now 32.
6895
6896 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6897 initializer on [_LIBC_REENTRANT].
6898
6899 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6900 definitions inside [_POSIX_MAPPED_FILES].
6901
6902 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6903
6904 * dirent/opendir.c: Include <fcntl.h>.
6905
6906 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6907 (__libc_getspecific): Likewise.
6908 (__libc_key_create): Likewise.
6909
6910 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6911 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6912 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6913 (tmpfile64): Define as alias.
6914 * sysdeps/wordsize-64/tmpfile.c: File removed.
6915 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6916 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6917 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6918
6919 * stdio-common/vfscanf.c: Include <stdbool.h>.
6920 * nss/makedb.c: Likewise.
6921 * stdio-common/_i18n_number.h: Likewise.
6922 * argp/argp-help.c: Likewise.
6923 * posix/wordexp.c: Likewise.
6924 * sysdeps/posix/spawni.c: Likewise.
6925 * nss/nss_files/files-initgroups.c: Likewise.
6926 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6927 * nss/nss_files/files-initgroups.c: Likewise.
6928 * nss/nss_db/db-netgrp.c: Likewise.
6929 * nss/nss_db/db-initgroups.c: Likewise.
6930 * io/fchmodat.c: Include <sys/stat.h>.
6931
6932 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6933 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6934
6935 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6936 [HAVE_MMAP].
6937
6938 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6939 Add multiple inclusion protection.
6940
e5abc686
DM
69412012-07-27 David S. Miller <davem@davemloft.net>
6942
6943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6944
815e6fa3
GB
69452012-07-27 Gary Benson <gbenson@redhat.com>
6946
6947 [BZ #14298]
6948 * elf/rtld.c: Include <stap-probe.h>.
6949 (dl_main): Added static probes "init_start" and "init_complete".
6950 * elf/dl-load.c: Include <stap-probe.h>.
6951 (lose): Take new parameter "nsid".
6952 Added static probe "map_failed".
6953 (_dl_map_object_from_fd): Pass namespace id to lose.
6954 Added static probe "map_start".
6955 (open_verify): Pass namespace id to lose.
6956 * elf/dl-open.c: Include <stap-probe.h>.
6957 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6958 and "reloc_complete".
6959 * elf/dl-close.c: Include <stap-probe.h>.
6960 (_dl_close_worker): Added static probes "unmap_start" and
6961 "unmap_complete".
6962 * elf/rtld-debugger-interface.txt: New file documenting the above.
6963
9f98c16c
RM
69642012-07-26 Roland McGrath <roland@hack.frob.com>
6965
6966 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6967 rather than a string variable.
6968 * sunrpc/rpc_main.c (h_output): Likewise.
6969 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6970
f3c22df3
PT
69712012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6972
6973 * inet/check_native.c: New file.
6974
3129cfc6
JM
69752012-07-26 Joseph Myers <joseph@codesourcery.com>
6976
da865e95
JM
6977 [BZ #13629]
6978 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6979 if larger part has absolute value 1.0.
6980 * math/s_clog10.c (__clog10): Likewise.
6981 * math/s_clog10f.c (__clog10f): Likewise.
6982 * math/s_clog10l.c (__clog10l): Likewise.
6983 * math/s_clogf.c (__clogf): Likewise.
6984 * math/s_clogl.c (__clogl): Likewise.
6985 * math/libm-test.inc (clog_test): Add more tests.
6986 (clog10_test): Likewise.
6987 * sysdeps/i386/fpu/libm-test-ulps: Update.
6988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6989
3129cfc6
JM
6990 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6991 (pltexit): Likewise.
6992 (La_regs): Likewise.
6993 (La_retval): Likewise.
6994 (int_retval): Likewise.
6995 Update #error for removed macros to refer only to definitions in
6996 tst-audit.h.
6997 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6998 macro.
6999 (pltexit): Likewise.
7000 (La_regs): Likewise.
7001 (La_retval): Likewise.
7002 (int_retval): Likewise.
7003 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7004 macro.
7005 (pltexit): Likewise.
7006 (La_regs): Likewise.
7007 (La_retval): Likewise.
7008 (int_retval): Likewise.
7009 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7010 macro.
7011 (pltexit): Likewise.
7012 (La_regs): Likewise.
7013 (La_retval): Likewise.
7014 (int_retval): Likewise.
7015 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7016 macro.
7017 (pltexit): Likewise.
7018 (La_regs): Likewise.
7019 (La_retval): Likewise.
7020 (int_retval): Likewise.
7021 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7022 macro.
7023 (pltexit): Likewise.
7024 (La_regs): Likewise.
7025 (La_retval): Likewise.
7026 (int_retval): Likewise.
7027 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7028 macro.
7029 (pltexit): Likewise.
7030 (La_regs): Likewise.
7031 (La_retval): Likewise.
7032 (int_retval): Likewise.
7033 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7034 macro definitions in tst-audit.h.
7035 * sysdeps/i386/tst-audit.h: New file.
7036 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7037 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7038 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7039 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7040 * sysdeps/sh/tst-audit.h: Likewise.
7041 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7042 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7043 * sysdeps/x86_64/tst-audit.h: Likewise.
7044
bfc07087
AJ
70452012-07-26 Andreas Jaeger <aj@suse.de>
7046
b1b2aaf8
AJ
7047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7048 ptrace.
7049
7050 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7051 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7052 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7053 PTRACE_O_MASK.
7054 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7055 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7056 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7057
bfc07087
AJ
7058 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7059 value.
7060
7061 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7062 _sigsys.
7063 (si_call_addr, si_syscall, si_arch): Define new macro.
7064 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7065 _sigsys.
7066 (si_call_addr, si_syscall, si_arch): Define new marcro.
7067 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7068 _sigsys.
7069 (si_call_addr, si_syscall, si_arch): Define new macro.
7070 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7071 _sigsys.
7072 (si_call_addr, si_syscall, si_arch): Define new macro.
7073
89b4b02f
JM
70742012-07-25 Joseph Myers <joseph@codesourcery.com>
7075
7076 [BZ #13717]
7077 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7078 Change to 2.4.21 where previously 2.4.1.
7079 * sysdeps/unix/sysv/linux/configure: Regenerated.
7080 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7081 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7082 Linux kernel version.
7083 (__ASSUME_STD_AUXV): Remove.
7084 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7085 kernel version.
7086 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7087 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7088 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7089 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7090 (__ASSUME_NETLINK_SUPPORT): Likewise.
7091 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7092 (__no_netlink_support): Remove conditional definition.
7093 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7094 Remove.
7095 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7096 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7097 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7098 (if_nameindex_ioctl): Remove.
7099 (if_nameindex_netlink): Do not handle __no_netlink_support.
7100 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7101 code.
7102 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7103 Remove conditional code.
7104 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7105 code.
7106 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7107 unconditional.
7108 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7109 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7110 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7111 Remove.
7112 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7113 [!__ASSUME_STD_AUXV]: Remove conditional code.
7114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7115 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7116 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7118 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7119 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7120 code.
7121 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7123 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7124 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7125 conditional code.
7126 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7128 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7129 code.
7130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7131 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7132 conditional code.
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7134 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7135 code unconditional.
7136 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7137 conditional code.
7138 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7139 unconditional.
7140 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7141 conditional code.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7143 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7144 unconditional.
7145 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7146 conditional code.
7147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7148 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7149 code unconditional.
7150 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7151 conditional code.
7152 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7153 unconditional.
7154 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7155 conditional code.
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7157 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7158 code unconditional.
7159 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7160 conditional code.
7161 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7162 unconditional.
7163 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7164 conditional code.
7165
842a39cd
AS
71662012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7167
7168 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7169 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7170 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7171 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7172 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7173 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7174 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7175 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7176 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7177 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7178 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7179 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7180 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7181 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7182 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7183 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7184 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7185 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7186 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7188 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7189 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7190 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7191
84b3fd84
FW
71922012-07-25 Florian Weimer <fweimer@redhat.com>
7193
7194 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7195 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7196 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7197 Introduce __libc_secure_getenv.
0c7936d5
FW
7198 * stdlib/Versions (2.17): Add secure_getenv
7199 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7200 * stdlib/secure-getenv.c: Rename __secure_getenv to
7201 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7202 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7203 * stdlib/tst-secure-getenv.c: New.
7204 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7205 * manual/startup.texi (Environment Access): Document
7206 secure_getenv.
84b3fd84
FW
7207 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7208 __libc_secure_getenv.
7209 * inet/ruserpass.c (ruserpass): Likewise.
7210 * malloc/mtrace.c (mtrace): Likewise.
7211 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7212 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7213 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7214 * sysdeps/posix/tempname.c: Likewise. Evaluate
7215 HAVE_SECURE_GETENV.
7216 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7217 __secure_getenv to __libc_secure_getenv.
84b3fd84 7218 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7220 Likewise.
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7222 Likewise.
7223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7230
56e49b71
JM
72312012-07-25 Joseph Myers <joseph@codesourcery.com>
7232
7233 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7234 (struct La_i86_retval): Likewise.
7235 (struct La_x86_64_regs): Likewise.
7236 (struct La_x86_64_retval): Likewise.
7237 (struct La_x32_regs): Likewise.
7238 (struct La_x32_retval): Likewise.
7239 (struct La_ppc32_regs): Likewise.
7240 (struct La_ppc32_retval): Likewise.
7241 (struct La_ppc64_regs): Likewise.
7242 (struct La_ppc64_retval): Likewise.
7243 (struct La_sh_regs): Likewise.
7244 (struct La_sh_retval): Likewise.
7245 (struct La_s390_32_regs): Likewise.
7246 (struct La_s390_32_retval): Likewise.
7247 (struct La_s390_64_regs): Likewise.
7248 (struct La_s390_64_retval): Likewise.
7249 (struct La_sparc32_regs): Likewise.
7250 (struct La_sparc32_retval): Likewise.
7251 (struct La_sparc64_regs): Likewise.
7252 (struct La_sparc64_retval): Likewise.
7253 (struct audit_ifaces): Remove architecture-specific pltenter and
7254 pltexit members.
7255 * sysdeps/i386/ldsodefs.h: New file.
7256 * sysdeps/powerpc/ldsodefs.h: Likewise.
7257 * sysdeps/s390/ldsodefs.h: Likewise.
7258 * sysdeps/sh/ldsodefs.h: Likewise.
7259 * sysdeps/sparc/ldsodefs.h: Likewise.
7260 * sysdeps/x86_64/ldsodefs.h: Likewise.
7261
354691b7
MP
72622012-07-25 Marek Polacek <polacek@redhat.com>
7263
7264 [BZ #6808]
7265 * math/libm-test.inc (yn_test): Add another test.
7266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7267 to ERANGE when the result is +-Inf.
7268 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7269 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7270 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7271 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7272
bf9e2071
JM
72732012-07-24 Joseph Myers <joseph@codesourcery.com>
7274
7275 * conform/data/time.h-data (NULL): Use macro-constant. Require
7276 equal to 0.
7277 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7278 clock_t.
7279 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7280
57633811
TS
72812012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7282
7283 * configure.in <sysdeps resolving>: Correct printing
7284 Implies_before.
7285 * configure: Regenerate.
7286
c23c33b0
TS
72872012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7288
7289 * math/w_ilogb.c: Include <limits.h>.
7290 * math/w_ilogbl.c: Likewise.
7291
b5982523
JM
72922012-07-20 Joseph Myers <joseph@codesourcery.com>
7293
7294 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7295 va_copy. Document allowing for unavailable va_copy only as
7296 pre-C99 compatibility.
7297 * manual/string.texi (Copying and Concatenation): Use va_copy
7298 instead of __va_copy in concat example.
7299
ac4ea442
PT
73002012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7301
7302 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7303 (__sendto): Use create_address_port. Initialize APORT and deallocate
7304 it if not null.
7305
f98eafbd
PT
7306 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7307 with O_NOLINK passed to __file_name_lookup.
7308
898c7aab
PT
7309 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7310 with O_NOLINK passed to __file_name_lookup.
7311
0ced335a
PT
7312 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7313 negative N or less than NGIDS.
7314
b3404dbd
PT
7315 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7316 type to string_t. Set ERANGE as errno and return it if NAME is not big
7317 enough. Use memcpy instead of strncpy.
7318
0f48659e
JM
73192012-07-20 Joseph Myers <joseph@codesourcery.com>
7320
7321 * elf/Makefile (check-data): Remove.
7322 (localplt.data): New vpath directive.
7323 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7324 instead of $(check-data).
7325 * scripts/data/localplt-generic.data: Move to ...
7326 * sysdeps/generic/localplt.data: ... here.
7327 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7328 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7329 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7331 ... here.
7332 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7334 ... here.
7335 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7337 ... here.
7338 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7340 ... here.
7341 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7343 ... here.
7344 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7346 ... here.
7347
d37cbdaa
AZ
73482012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7349
7350 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7351 PPC32 and PPC64 files.
7352 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7353 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7354
46f85fc2
AK
73552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7356
7357 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7358 __makecontext_ret to ...
7359 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7360 ... here and call exit if uc_link is NULL. New file.
7361 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7362 __makecontext_ret.S.
7363 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7364 __makecontext_ret to ...
7365 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7366 ... here and call exit if uc_link is NULL. New file.
7367 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7368 __makecontext_ret.S.
7369
08f43f9b
AK
73702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7371
7372 * elf/elf.h (R_390_IRELATIVE): New definition.
7373 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7374 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7375 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7376 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7377 (elf_machine_lazy_rel): Likewise.
7378 * sysdeps/s390/dl-irel.h: New file.
7379 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7380 * sysdeps/s390/s390-64/memset.S: New asm code.
7381 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7382 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7383 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7384 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7385 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7386 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7387 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7388 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7389 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7390 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7391 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7392 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7393 * sysdeps/s390/s390-32/memset.S: New asm code.
7394 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7395
3b05db33
MP
73962012-07-17 Marek Polacek <polacek@redhat.com>
7397
7398 [BZ #14349]
7399 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7400 * sysdeps/s390/s390-64/configure.in: Likewise.
7401 * sysdeps/sparc/configure.in: Likewise.
7402 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7403 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7404 * sysdeps/i386/configure.in: Likewise.
7405 * sysdeps/x86_64/configure.in: Likewise.
7406 * sysdeps/sh/configure.in: Likewise.
7407 * sysdeps/s390/s390-32/configure: Regenerated.
7408 * sysdeps/s390/s390-64/configure: Likewise.
7409 * sysdeps/x86_64/configure: Likewise.
7410 * sysdeps/sh/configure: Likewise.
7411 * sysdeps/powerpc/powerpc64/configure: Likewise.
7412 * sysdeps/powerpc/powerpc32/configure: Likewise.
7413 * sysdeps/sparc/configure: Likwise.
7414 * sysdeps/i386/configure: Likewise.
7415
a66877c6
MP
7416 * elf/dl-open.c: Comment fixes.
7417
cfc82fd8
JM
74182012-07-17 Joseph Myers <joseph@codesourcery.com>
7419
bd29910a
JM
7420 * Makefile [CXX] (check-data): Remove.
7421 [CXX] (c++-types.data): New vpath directive.
7422 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7423 vpath. Do not allow for C++ type data being missing.
7424 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7425 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7426 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7427 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7428 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7429 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7430 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7432 ... here.
7433 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7435 ... here.
7436 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7438 ... here.
7439 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7441 ... here.
7442 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7444 ... here.
7445 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7447 ... here.
7448 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7450 ... here.
7451 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7452 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7453
cfc82fd8
JM
7454 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7455 definitions to architecture-specific files.
7456 (TLS_IE): Likewise.
7457 (TLS_LD): Likewise.
7458 (TLS_GD): Likewise.
7459 * sysdeps/i386/tls-macros.h: New file.
7460 * sysdeps/powerpc/tls-macros.h: Likewise.
7461 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7462 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7463 * sysdeps/sh/tls-macros.h: Likewise.
7464 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7465 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7466 * sysdeps/x86_64/tls-macros.h: Likewise.
7467
f7db3170
TS
74682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7469
07cbfc23
TS
7470 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7471 zero value for regular exit case.
7472
f7db3170
TS
7473 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7474 (__start_context): Preserve zero value for regular exit case.
7475
dc97c227
TS
74762012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7477 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7478
7479 * manual/setjmp.texi (setcontext): Clarify normal process
7480 termination when uc_link is the null pointer.
7481 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7482 exit call.
7483
d0cd7d02
AS
74842012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7485
7486 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7487 preprocessor. Test for each exception mask separately.
7488
dd318934
AJ
74892012-07-16 Andreas Jaeger <aj@suse.de>
7490
7491 * po/ru.po: Update from translation team.
7492
8048311a
JM
74932012-07-15 Joseph Myers <joseph@codesourcery.com>
7494
7495 * conform/data/string.h-data (NULL): Use macro-constant. Require
7496 equal to 0.
7497 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7498 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7499 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7500 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7502
b637d46e
AJ
75032012-07-13 Andreas Jaeger <aj@suse.de>
7504
7505 * po/fr.po: Update from translation team.
7506
541428fe
MP
75072012-07-12 Marek Polacek <polacek@redhat.com>
7508
7509 [BZ #14173]
7510 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7511 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7512 loop condition.
7513
ec332e94
JM
75142012-07-12 Joseph Myers <joseph@codesourcery.com>
7515
7516 [BZ #13717]
7517 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7518 Change to 2.4.1 where previously 2.4.0.
7519 * sysdeps/unix/sysv/linux/configure: Regenerated.
7520 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7521 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7522 version.
7523 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7524 (__ASSUME_AT_CLKTCK): Remove.
7525 (__ASSUME_AT_PAGESIZE): Likewise.
7526 (__ASSUME_AT_XID): Likewise.
7527 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7528 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7529 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7530 unconditionally.
7531 (HAVE_AUX_PAGESIZE): Likewise.
7532 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7533 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7534 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7535
7b6e99be
JB
75362012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7537
7538 [BZ #14307]
7539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7540 the temporary buffer used to invoke __gethostbyname2_r,
7541 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7542 host_data / struct gaih_addrtuple.
7543 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7544 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7545 header file nss/nsswitch.h.
7546 * nss/nsswitch.h (global scope): Add definition of implementation
7547 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7548 resolv/nss_dns/dns-host.c).
7549
608404eb
AJ
75502012-07-11 Andreas Jaeger <aj@suse.de>
7551
7552 * po/fr.po: Update from translation team.
7553
71220aca
AJ
7554 * po/sv.po: Update from translation team
7555 * po/fr.po: Another update from translation team.
7556
28cfe843
AZ
75572012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7558
7559 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7560 for subnormals or multiply small sinh result by itself.
7561 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7563
6b90f981
DM
75642012-07-11 David S. Miller <davem@davemloft.net>
7565
7566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7567
c6825772
AS
75682012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7569
7570 [BZ #14347]
7571 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7572 (INTERNAL_MARK): Shift it here.
7573
7b8e0d49
MP
75742012-07-10 Marek Polacek <polacek@redhat.com>
7575
7576 [BZ #14151]
7577 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7578 libc_cv_asm_global_directive with .globl.
7579 * configure: Regenerated.
7580 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7581 with .globl.
7582 * sysdeps/i386/configure: Regenerated.
7583 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7584 with .globl.
7585 * sysdeps/x86_64/configure: Regenerated.
7586 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7587 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7588 * elf/tst-unique2mod2.c: Likewise.
7589 * elf/tst-unique2mod1.c: Likewise.
7590 * elf/tst-unique1mod2.c: Likewise.
7591 * elf/tst-unique1mod1.c: Likewise.
7592 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7593 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7594 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7595 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7596 * sysdeps/mach/sysdep.h: Likewise.
7597 * sysdeps/i386/sysdep.h: Likewise.
7598 * sysdeps/i386/i386-mcount.S: Likewise.
7599 * sysdeps/x86_64/_mcount.S: Likewise.
7600 * sysdeps/x86_64/sysdep.h: Likewise.
7601 * sysdeps/sh/_mcount.S: Likewise.
7602 * sysdeps/sh/sysdep.h: Likewise.
7603 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7604 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7605 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7606 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7607 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7608 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7609 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7610 * locale/localeinfo.h: Likewise.
7611 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7612 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7613
6c55cda3
RM
76142012-07-09 Roland McGrath <roland@hack.frob.com>
7615
7616 [BZ #14336]
7617 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7618 system".
7619 * manual/message.texi (The Uniforum approach): Likewise.
7620 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7621 (glibc iconv Implementation): Likewise.
7622
638a572e
JM
76232012-07-09 Joseph Myers <joseph@codesourcery.com>
7624
7625 [BZ #14337]
7626 * math/s_clog.c (__clog): Avoid scaling a value down where that
7627 could result in underflow.
7628 * math/s_clog10.c (__clog10): Likewise.
7629 * math/s_clog10f.c (__clog10f): Likewise.
7630 * math/s_clog10l.c (__clog10l): Likewise.
7631 * math/s_clogf.c (__clogf): Likewise.
7632 * math/s_clogl.c (__clogl): Likewise.
7633 * math/libm-test.inc (clog_test): Add more tests.
7634 (clog10_test): Likewise.
7635 * sysdeps/i386/fpu/libm-test-ulps: Update.
7636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7637
261f4859
AS
76382012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7639
0abaf3e4
AS
7640 [BZ #14283]
7641 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7642 by 7 not 8 to examine high bit of fractional part.
7643
261f4859
AS
7644 [BZ #14042]
7645 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7646 for call to __mcount_internal.
7647 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7648 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7649 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7650
f17ac40d
JM
76512012-07-06 Joseph Myers <joseph@codesourcery.com>
7652
9ad63c23
JM
7653 [BZ #14154]
7654 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7655 approximation for values within 0x1p-13f of an odd multiple of
7656 pi/4.
7657 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7658 exception. Add more tests.
7659 * sysdeps/i386/fpu/libm-test-ulps: Update.
7660
f17ac40d
JM
7661 [BZ #6778]
7662 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7663 inputs and return -1 for them. Do not check for +Inf in case not
7664 reachable for +Inf.
7665 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7666 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7667 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7668 and return -1 for them. Do not check for +Inf in case not
7669 reachable for +Inf.
7670 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7671 define.
7672 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7673 and return -1 for them. Do not check for +Inf in case not
7674 reachable for +Inf.
7675 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7676 spurious underflow.
7677 * sysdeps/i386/fpu/libm-test-ulps: Update.
7678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7679
fb21f89b
MF
76802012-07-06 Mike Frysinger <vapier@gentoo.org>
7681
7682 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7683
cdfe2c5e
JM
76842012-07-05 Joseph Myers <joseph@codesourcery.com>
7685
7686 [BZ #14157]
7687 [BZ #14331]
7688 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7689 could result in spurious underflow. Scale down values above
7690 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7691 * math/s_csqrtf.c (__csqrtf): Likewise.
7692 * math/s_csqrtl.c (__csqrtl): Likewise.
7693 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7694 spurious underflow.
7695 * sysdeps/i386/fpu/libm-test-ulps: Update.
7696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7697
70d35b67
AS
76982012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7699
704bc459
AS
7700 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7701 xopen-msg.sed.
7702 * catgets/xopen-msg.awk: New file.
7703 * catgets/xopen-msg.sed: Removed.
7704
70d35b67
AS
7705 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7706 po2text.sed.
7707 * intl/po2test.awk: New file.
7708 * intl/po2test.sed: Removed.
7709
ca61cf32
JM
77102012-07-04 Joseph Myers <joseph@codesourcery.com>
7711
7712 [BZ #14328]
7713 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7714 or multiply small sinh result by itself.
7715 * math/s_ctanf.c (__ctanf): Likewise.
7716 * math/s_ctanh.c (__ctanh): Likewise.
7717 * math/s_ctanhf.c (__ctanhf): Likewise.
7718 * math/s_ctanhl.c (__ctanhl): Likewise.
7719 * math/s_ctanl.c (__ctanl): Likewise.
7720 * math/libm-test.inc (ctan_test_tonearest): New function.
7721 (ctan_test_towardzero): Likewise.
7722 (ctan_test_downward): Likewise.
7723 (ctan_test_upward): Likewise.
7724 (ctanh_test_tonearest): Likewise.
7725 (ctanh_test_towardzero): Likewise.
7726 (ctanh_test_downward): Likewise.
7727 (ctanh_test_upward): Likewise.
7728 (main): Call these new functions.
7729 * sysdeps/i386/fpu/libm-test-ulps: Update.
7730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7731
ca48a46a
MF
77322012-07-03 Mike Frysinger <vapier@gentoo.org>
7733
7734 * .gitignore: Delete /ports entry.
7735
9d63d37d
AJ
77362012-07-03 Andreas Jaeger <aj@suse.de>
7737
7738 * po/bg.po: Update from translation team.
7739 * po/cs.po: Likewise.
7740 * po/de.po: Likewise.
7741 * po/hr.po: Likewise.
7742 * po/nl.pl: Likewise.
7743 * po/pl.po: Likewise.
7744 * po/vi.po: Likewise.
7745
370ca3d2
JM
77462012-07-03 Joseph Myers <joseph@codesourcery.com>
7747
95f5a9a8
JM
7748 * Makeconfig [!+link] (+link-before-libc): New variable.
7749 [!+link] (+link-after-libc): Likewise.
7750 [!+link] (+link-tests): Likewise.
7751 [!+link] (+link): Define in terms of $(+link-before-libc) and
7752 $(+link-after-libc).
7753 [!+link-static] (+link-static-before-libc): New variable.
7754 [!+link-static] (+link-static-after-libc): Likewise.
7755 [!+link-static] (+link-static-tests): Likewise.
7756 [!+link-static] (+link-static): Define in terms of
7757 $(+link-static-before-libc) and $(+link-static-after-libc).
7758 [build-shared] (link-libc-before-gnulib): New variable.
7759 [build-shared] (link-libc-tests): Likewise.
7760 [build-shared] (link-libc): Define in terms of
7761 $(link-libc-before-gnulib).
7762 [!build-shared] (link-libc-tests): New variable.
7763 (link-libc-static-tests): New variable.
7764 [!gnulib] (gnulib-arch): New variable.
7765 [!gnulib] (gnulib-tests): Likewise.
7766 [!gnulib] (static-gnulib-arch): Likewise.
7767 [!gnulib] (static-gnulib-tests): Likewise.
7768 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7769 Define with "=" instead of ":=".
7770 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7771 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7772 * Rules (binaries-all-notests): New variable.
7773 (binaries-all-tests): Likewise.
7774 (binaries-static-notests): Likewise.
7775 (binaries-static-tests): Likewise.
7776 (binaries-all): Define using $(binaries-all-notests) and
7777 $(binaries-all-tests).
7778 (binaries-static): Define using $(binaries-static-notests) and
7779 $(binaries-static-tests).
7780 (binaries-shared-tests): New variable.
7781 (binaries-shared-notests): Likewise.
7782 (binaries-shared): Remove variable.
7783 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7784 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7785 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7786 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7787 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7788 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7789 * elf/Makefile (sln-modules): New variable.
7790 (extra-objs): Add $(sln-modules:=.o).
7791 (ldconfig-modules): Add static-stubs.
7792 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7793 * elf/static-stubs.c: New file.
7794
7a845b2c
JM
7795 [BZ #14283]
7796 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7797 by 7 not 8 to examine high bit of fractional part. Use volatile
7798 variables when splitting into final array of floats if
7799 __FLT_EVAL_METHOD__ != 0.
7800 * math/libm-test.inc (cos_test): Add another test.
7801 (sin_test): Likewise.
7802 * sysdeps/i386/fpu/libm-test-ulps: Update.
7803
e2283f38
JM
7804 [BZ #14273]
7805 * math/libm-test.inc (cosh_test): Add more tests.
7806
370ca3d2
JM
7807 * version.h (RELEASE): Set to "development".
7808 (VERSION): Set to "2.16.90".
7809
ee9247c3
CD
78102012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7811
7812 * NEWS: Update copyright. Remove last-updated date.
7813 Mention math library bug fixes and timezone data changes.
7814 * README: Mention GNU/Hurd, x32, and HPPA support status.
7815
4648c381
TS
78162012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7817
7818 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7819
aac78a43
AJ
78202012-06-27 Andreas Jaeger <aj@suse.de>
7821
7822 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7823
ed3dbfad
AJ
78242012-06-25 Andreas Jaeger <aj@suse.de>
7825
7826 * sysdeps/s390/fpu/libm-test-ulps: Update.
7827
4d0ee855
AS
78282012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7829 Thomas Schwinge <thomas@codesourcery.com>
7830
7831 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7832 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7833 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7834 fanotify_mark.
7835
af1bce34
TS
78362012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7837
a9fa33ba
TS
7838 * sysdeps/mach/start.c: Remove file.
7839 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7840 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7841 * sysdeps/sh/init-first.c: Likewise.
7842
58f902b8
TS
7843 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7844 registers for frame unwinding purposes, add CFI directives.
7845 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7846 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7847 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7848 Likewise.
7849
1518f58b
TS
7850 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7851 __fortify_fail returning.
7852 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7853
db9b5059
TS
7854 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7855 sysdeps/sh/____longjmp_chk.S.
7856 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7857 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7858 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7859 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7860
967705fe
TS
7861 * sysdeps/sh/abort-instr.h: New file.
7862 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7863 process in case exit returns.
7864
a9def8c4
TS
7865 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7866 initialize the GOT register before use.
7867
2a649725
TS
7868 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7869 calculation of ARGC > 4.
7870
af1bce34
TS
7871 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7872 meaningful names to some local labels.
7873
d230f50a
KK
78742012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7875 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7876
7877 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7878 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7879 (__arch_compare_and_exchange_val_16_acq): Likewise.
7880 (__arch_compare_and_exchange_val_32_acq): Likewise.
7881 (atomic_exchange_and_add): Fix gUSA sequence.
7882 (atomic_add): Likewise.
7883 (atomic_add_negative): Likewise.
7884 (atomic_add_zero): Likewise.
7885 (atomic_bit_test_set): Likewise.
7886
0479b305
AS
78872012-06-22 Andreas Schwab <schwab@redhat.com>
7888
7889 [BZ #13579]
7890 * include/link.h (struct link_map): Add l_free_initfini.
7891 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7892 l_initfini.
7893 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7894 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7895 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7896 set.
7897
0e3933b9
CD
78982012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7899
7900 * configure.in: Use AC_LANG_SOURCE.
7901 * configure: Regenerate.
7902
4248b1b1
RM
79032012-06-22 Roland McGrath <roland@hack.frob.com>
7904
7905 * configure.in (libc_cv_localstatedir): New substituted variable.
7906 * configure: Regenerated.
7907 * config.make.in (localstatedir): New variable, substituted from
7908 libc_cv_localstatedir.
7909 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7910 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7911 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7912 * sysdeps/gnu/configure: Regenerated.
7913
006dd861
JL
79142012-06-21 Jeff Law <law@redhat.com>
7915
7916 [BZ #14277]
7917 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7918 free. Simplify list management for _LIBC case.
7919
79662d42
JM
79202012-06-21 Joseph Myers <joseph@codesourcery.com>
7921
b7abb4bf
JM
7922 [BZ #14273]
7923 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7924 Clear sign bit of 64-bit integer value before comparing against
7925 overflow value.
7926
79662d42
JM
7927 * sysdeps/mach/configure: Regenerated.
7928
1f150908
L
79292012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7930
7931 [BZ #14278]
7932 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7933
28363bbf
JL
79342012-06-21 Jeff Law <law@redhat.com>
7935
7936 [BZ #13882]
7937 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7938 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7939 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7940 * elf/dl-open.c (dl_open_worker): Likewise.
7941
09615db4
CD
79422012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7943
7944 * scripts/list-sources.sh: Scan PORTS for translations.
7945 * po/libc.pot: Regenerated.
7946
2174c6dd
AJ
79472012-06-21 Andreas Jaeger <aj@suse.de>
7948
7949 [BZ #12194]
7950 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7951 warning.
7952 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7953 * bits/byteswap-16.h (__bswap_16): Likewise.
7954 * bits/byteswap.h (__bswap_constant_16): Likewise.
7955
3ee947b1
L
79562012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7957
7958 [BZ #14117]
a2f34833
L
7959 * sysdeps/i386/fpu_control.h: Removed.
7960 * sysdeps/x86_64/fpu_control.h: Moved to ...
7961 * sysdeps/x86/fpu_control.h: Here.
7962
3ee947b1
L
7963 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7964 (_FPU_SETCW): Likewise.
7965
ed1825f8
L
79662012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7967
25f1282a
L
7968 [BZ #14117]
7969 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7970 * sysdeps/x86/fpu/bits/mathinline.h: This.
7971 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7972
ed1825f8
L
7973 [BZ #14050]
7974 [BZ #14117]
7975 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7976 functions if __x86_64__ is defined.
7977
36d54b74
CLT
79782012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7979
7980 * string/endian.h: Add !__ASSEMBLER__ condition for including
7981 conversion interfaces.
7982
10285c21
JM
79832012-06-15 Joseph Myers <joseph@codesourcery.com>
7984
7985 [BZ #14241]
7986 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7987 of ABS(x) in calculating zero to negative powers other than odd
7988 integers.
7989 * math/libm-test.inc (pow_test): Add more tests.
7990
06c5abbd
AJ
79912012-06-15 Andreas Jaeger <aj@suse.de>
7992
7993 * manual/contrib.texi (Contributors): Update entry of Liubov
7994 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7995 Machado Filho.
7996
a3aeac40
CH
79972012-06-15 Cyril Hrubis <metan@ucw.cz>
7998
7999 * string/string.h: Add __wur to GNU version of strerror_r.
8000
49bdf4c1
L
80012012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8002
8003 [BZ #14229]
8004 * string/Makefile (tests): Add tst-strtok_r.
8005 * string/tst-strtok_r.c: New file.
8006 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8007 RAX_LP/RDX_LP on SAVE_PTR.
8008
834f9b8d
RM
80092012-06-14 Roland McGrath <roland@hack.frob.com>
8010
8011 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8012
75fa1921
JM
80132012-06-14 Joseph Myers <joseph@codesourcery.com>
8014
8015 * libm_test.inc (csqrt_test): Allow more spurious underflow
8016 exceptions.
8017 (j0_test): Likewise.
8018 (j1_test): Likewise.
8019 (y0_test): Likewise.
8020 (y1_test): Likewise.
8021
771766df
CD
80222012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8023
8024 * po/Makefile (libc.pot): Use UTF-8 charset.
8025
ceb9e56b
PP
80262012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8027
8028 [BZ #14210]
8029 Suppress sign-conversion warning from FD_SET.
8030 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8031 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8032 not unsigned long int.
8033 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8034
ddb28975
L
80352012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8036
8037 [BZ #14050]
8038 [BZ #14117]
8039 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8040 __extern_always_inline instead of __extern_inline.
8041 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8042 (__signbit): Likewise.
8043 (__signbitl): Support C++ namespace.
8044 (lrintf): New inline function.
8045 (lrint): Likewise.
8046 (llrintf): Likewise.
8047 (llrint): Likewise.
8048 (fmaxf): Likewise.
8049 (fmax): Likewise.
8050 (fminf): Likewise.
8051 (fmin): Likewise.
8052 (rint): Likewise.
8053 (rintf): Likewise.
8054 (ceil): Likewise.
8055 (ceilf): Likewise.
8056 (floor): Likewise.
8057 (floorf): Likewise.
8058 (nearbyint): Likewise.
8059 (nearbyintf): Likewise.
8060
d7b4fb26
TS
80612012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8062
8063 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8064 non-default versions.
8065
eb55f5c2
RM
80662012-06-11 Roland McGrath <roland@hack.frob.com>
8067
8068 [BZ #14218]
8069 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8070
366af02c
TS
80712012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8072
99ff6e5c
TS
8073 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8074 (FE_UPWARD, FE_DOWNWARD): Don't define.
8075 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8076 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8077
366af02c
TS
8078 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8079 reading it.
8080 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8081 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8082
793ea851
KK
80832012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8084
8085 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8087 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8088 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8089
a728a38f
L
80902012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8091
8092 [BZ #14117]
c08010c7
L
8093 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8094 * sysdeps/i386/fpu/Implies: New file.
8095 * sysdeps/x86_64/fpu/Implies: Likewise.
8096 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8097 * sysdeps/x86/fpu/bits/fenv.h: This.
8098
a728a38f
L
8099 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8100 __SSE_MATH__.
8101
6e230d11
SP
81022012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8103
8104 [BZ #14134]
8105 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8106 character 0xffff that matches the last element of the
8107 conversion table.
8108
1b671feb
AZ
81092012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8110
8111 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8112 fmodl commit.
8113
6043738b
AZ
81142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8115
8116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8117 values higher than 25.6283.
8118
34ae0b32
AZ
81192012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8120
8121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8122 subnormal exponent extraction and add some __builtin_expect.
8123 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8124 Fix for subnormal mantissa calculation.
8125
1214ec8f
MF
81262012-06-04 Mike Frysinger <vapier@gentoo.org>
8127
8128 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8129 cpu2 is -1 and errno is not ENOSYS.
8130
f3d1f93c
L
81312012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8132
8133 [BZ #14117]
0e4a3cd7
L
8134 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8135 * sysdeps/x86/bits/string.h: This.
8136 * sysdeps/x86_64/bits/string.h: Removed.
8137
6704c645
L
8138 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8139 if not compiling for x86-64, but compiling for >= i486.
8140
48495318
L
8141 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8142 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8143
14adcbfc
L
8144 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8145 New macro from Linux kernel 3.4.0.
8146 (FP_XSTATE_MAGIC2): Likewise.
8147 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8148 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8149 (struct _fpx_sw_bytes): New struct.
8150 (struct _xsave_hdr): Likewise.
8151 (struct _ymmh_state): Likewise.
8152 (struct _xstate): Likewise.
8153
68e408ab
L
8154 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8155 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8156 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8157 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8158 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8159 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8160
f3d1f93c
L
8161 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8162 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8163 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8164 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8165 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8166 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8167
d9dc34cd
TMQMF
81682012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8169
8170 [BZ #13743]
8171 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8172 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8173 (sysdep_headers): Include sys/platform/ppc.h.
8174 * sysdeps/powerpc/test-gettimebase.c: Test for
8175 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8176 * manual/Makefile (appendices): Include platform.texi.
8177 * manual/contrib.texi (Contributors): Update @node pointers.
8178 * manual/maint.texi (Maintenance): Likewise.
8179 (Platform): New node.
8180 * manual/platform.texi: New file. Document the new features.
8181
4af3879c
SP
81822012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8183 Jakub Jelinek <jakub@redhat.com>
8184
8185 [BZ #14188]
8186 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8187 where __builtin_expect is unavailable.
8188
2fd6ff13
DM
81892012-06-03 David S. Miller <davem@davemloft.net>
8190
8191 * stdlib/longlong.h: Updated from GCC.
8192
173f7220
AS
81932012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8194
8195 [BZ #14042]
8196 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8197 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8198 __mcount_internal.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8200 (GLIBC_2.16): Likewise.
8201
f34a1c6f
L
82022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8203
8204 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8205
88a4576f
JM
82062012-06-01 Joseph Myers <joseph@codesourcery.com>
8207
ea32bcdd
JM
8208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8209 (default-abi): New variable.
8210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8211 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8212 variable.
8213 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8214 Likewise.
8215 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8216 Likewise.
8217 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8218 Likewise.
8219
88a4576f
JM
8220 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8221 definition. Document in comment.
8222
402fe938
DM
82232012-06-01 David S. Miller <davem@davemloft.net>
8224
8225 * stdlib/longlong.h: Updated from GCC.
8226
3553723f
L
82272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8228
8229 [BZ #14117]
3bd872c4
L
8230 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8231 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8232 sys/debugreg.h sys/io.h here.
8233 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8234 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8235 sys/io.h.
8236 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8237 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8238 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8239 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8240 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8241 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8242
3553723f
L
8243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8244 Define only if __x86_64__ is defined.
8245
4842e4fe
JM
82462012-06-01 Joseph Myers <joseph@codesourcery.com>
8247
c5bfe3d5
JM
8248 [BZ #14048]
8249 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8250 Use int64_t for variable i.
8251 * math/libm-test.inc (fmod_test): Add more tests.
8252
4842e4fe
JM
8253 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8254 z computation is not scheduled after fetestexcept.
8255 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8256 Use math_force_eval instead of asm to ensure calculation scheduled
8257 before exception test.
8258 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8259 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8260
efb73488
AJ
82612012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8262
8263 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8264 computation is not scheduled after fetestexcept.
8265
29bcce7c
L
82662012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8267
8268 [BZ #14117]
8269 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8270 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8271
73a68f94
AZ
82722012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8273
8274 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8275 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8276
67b6df78
L
82772012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8278
edf2933a 8279 [BZ #14117]
ebc64a18
L
8280 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8281 <bits/wordsize.h>.
8282 (__WCHAR_MIN): Support __WORDSIZE == 64.
8283 (__WCHAR_MAX): Likewise.
8284
edf2933a
L
8285 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8286 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8287
57c6cf40
L
8288 [BZ #14183]
8289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8290 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8291
67b6df78 8292 [BZ #14117]
8eb6281e
L
8293 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8294 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8295
aac639f4
L
8296 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8297 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8298
67b6df78
L
8299 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8300 Defined to 1 if __x86_64__ isn't defined.
8301 (_STAT_VER_LINUX_OLD): New.
8302 (st_atime): Remove duplicate.
8303 (st_mtime): Likewise.
8304 (st_ctime): Likewise.
8305
1c2cfe81
DM
83062012-05-31 David S. Miller <davem@davemloft.net>
8307
8308 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8309 entries.
8310
5be8418c
AS
83112012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8312
e7725326
AS
8313 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8314 gen-libm-test.pl.
8315
5be8418c
AS
8316 [BZ #14132]
8317 * elf/dl-reloc.c: Include <_itoa.h>.
8318 (_dl_reloc_bad_type): Remove use of INTUSE.
8319 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8320 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8321 * stdio-common/psiginfo.c (psiginfo): Likewise.
8322 * stdio-common/psignal.c (psignal): Likewise.
8323 * string/strsignal.c (strsignal): Likewise.
8324 * include/signal.h (_sys_siglist): Declare hidden proto.
8325 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8326 INTVARDEF with libc_hidden_data_def.
8327 * stdio-common/itoa-udigits.c: Likewise.
8328 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8329 (_itoa_lower_digits_internal): Remove declaration.
8330 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8331 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8332 (_sys_sigabbrev_internal): Remove aliases.
8333 (_sys_siglist): Define hidden alias.
8334
507352f1
MT
83352012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8336
8337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8338 bits/sysctl.h.
8339
42bbb1c3
L
83402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8341
8342 [BZ #14117]
6bd784b6
L
8343 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8344 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8345
8bca20f0
L
8346 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8347 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8348 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8349 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8350 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8351 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8352
f9e890a9
L
8353 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8354 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8355 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8356
471101a1
L
8357 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8358 with __addr.
8359 (insw): Likewise.
8360 (insl): Likewise.
8361 (outsb): Likewise.
8362 (outsw): Likewise.
8363 (outsl): Likewise.
8364
6451c862
L
8365 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8366 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8367 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8368
a254b8c9
L
8369 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8370 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8371 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8372 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8373 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8374 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8375
b8dfdd92
L
8376 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8377 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8378
578cd270
L
8379 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8380 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8381
de662f5f
L
8382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8383 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8384 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8385
25653439
L
8386 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8387 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8388 to ...
8389 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8390
6bad24a0
L
8391 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8392 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8393 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8394
42bbb1c3
L
8395 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8396 for x86-64.
8397 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8398
2d10d547
JM
83992012-05-31 Joseph Myers <joseph@codesourcery.com>
8400
8401 * math/math.h (M_El): Use two more decimal places.
8402 (M_LOG2El): Likewise.
8403 (M_LOG10El): Likewise.
8404 (M_LN2l): Likewise.
8405 (M_LN10l): Likewise.
8406 (M_PIl): Likewise.
8407 (M_PI_2l): Likewise.
8408 (M_PI_4l): Likewise.
8409 (M_1_PIl): Likewise.
8410 (M_2_PIl): Likewise.
8411 (M_2_SQRTPIl): Likewise.
8412 (M_SQRT2l): Likewise.
8413 (M_SQRT1_2l): Likewise.
8414
f230c29b
DM
84152012-05-31 David S. Miller <davem@davemloft.net>
8416
8417 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8418 values between float registers.
8419 * sysdeps/sparc/sparc64/memset.S: Likewise.
8420 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8421
fed806c3
MF
84222012-05-31 Mike Frysinger <vapier@gentoo.org>
8423
8424 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8425 -D_FORTIFY_SOURCE=1.
8426 (CPPFLAGS-tst-longjmp_chk.c): Define.
8427 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8428 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8429 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8430 CFLAGS-tst-wchar-h.c.
8431
30917259
MP
84322012-05-31 Marek Polacek <polacek@redhat.com>
8433
8434 [BZ #14132]
8435 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8436 __endmntent_internal): Remove declaration.
8437 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8438 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8439 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8440
1c58d5dc
DM
84412012-05-30 David S. Miller <davem@davemloft.net>
8442
8443 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8444 (___Q_simulate_exceptions): Use real FP ops rather than writing
8445 into the %fsr.
8446 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8447 Likewise.
8448
7dc00e0d
L
84492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8450
8451 [BZ #14117]
0bd53985
L
8452 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8453 * sysdeps/x86/bits/xtitypes.h: This.
8454
3a257e66
L
8455 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8456 * sysdeps/x86/bits/wordsize.h: This.
8457
62f62904
L
8458 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8459 * sysdeps/x86/bits/huge_vall.h: This.
8460
404fe9d9
L
8461 * sysdeps/i386/bits/select.h: Removed.
8462 * sysdeps/x86_64/bits/select.h: Renamed to ...
8463 * sysdeps/x86/bits/select.h: This.
8464
d48d0446
L
8465 * sysdeps/i386/bits/setjmp.h: Removed.
8466 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8467 * sysdeps/x86/bits/setjmp.h: This.
8468
7dc00e0d
L
8469 * sysdeps/i386/bits/mathdef.h: Removed.
8470 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8471 * sysdeps/x86/bits/mathdef.h: This.
8472
03277f8f
AS
84732012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8474
8475 [BZ #14132]
8476 * include/sys/socket.h (__connect_internal)
8477 (__libc_sa_len_internal): Remove declaration.
8478 (__connect, __libc_sa_len): Declare hidden_proto.
8479 (SA_LEN): Remove use of INTUSE.
8480 * socket/connect.c: Add libc_hidden_def.
8481 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8482 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8483 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8484 alias.
8485 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8486 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8487 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8488 of adding _internal alias.
8489
13764867
L
84902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8491
8492 [BZ #14117]
6bd97696
L
8493 * sysdeps/i386/bits/link.h: Removed.
8494 * sysdeps/i386/bits/linkmap.h: Likewise.
8495 * sysdeps/x86_64/bits/link.h: Renamed to ...
8496 * sysdeps/x86/bits/link.h: This.
8497 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8498 * sysdeps/x86/bits/linkmap.h: This.
8499
f726f0bb
L
8500 * sysdeps/i386/bits/endian.h: Removed.
8501 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8502 * sysdeps/x86/bits/endian.h: This.
8503
13764867
L
8504 * sysdeps/i386/bits/byteswap.h: Removed.
8505 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8506 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8507 * sysdeps/x86/bits/byteswap.h: This.
8508 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8509 * sysdeps/x86/bits/byteswap-16.h: This.
8510 * sysdeps/i386/Implies: Add x86.
8511 * sysdeps/x86_64/Implies: Likewise.
8512
ae251b0b
DM
85132012-05-30 David S. Miller <davem@davemloft.net>
8514
8515 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8516 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8517 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8518 (FP_TRAPPING_EXCEPTIONS): Define.
8519 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8520 (FP_TRAPPING_EXCEPTIONS): Define.
8521 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8522 subnormals only when inexact has been signalled or underflow
8523 exceptions are enabled.
8524 (_FP_PACK_CANONICAL): Likewise.
8525
d5c90867
L
85262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8527
8528 [BZ #14183]
8529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8530 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8531
63f1549e
RH
85322012-05-30 Richard Henderson <rth@twiddle.net>
8533
8d8f2279
RH
8534 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8535 with #ifndef NOT_IN_libc.
8536
63f1549e
RH
8537 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8538 marked to avoid plt entry.
8539
0ab0291b
L
85402012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8541
8542 [BZ #14112]
8543 * Makeconfig (default-abi): New macro.
8544 (abi-includes): Likewise.
8545 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8546 $(abi-$(default-abi)-lib-soname) for soname if defined.
8547 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8548 abi-variants.
8549 * Makefile (installed-stubs): Likewise.
8550 * include/stubs-biarch.h: Removed.
8551 * scripts/lib-names.awk: Only handle one library at a time.
8552 * scripts/soversions.awk: Remove WORDSIZE support.
8553 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8554 entries.
8555 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8556 Removed.
8557 (syscall-list-default-condition): Likewise.
8558 (syscall-list-default-condition): Likewise.
8559 (syscall-list-includes): Likewise.
8560 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8561 syscall-list-* with abi-*. Handle undefined abi-variants.
8562 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8563 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8564 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8565 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8566 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8567 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8568 Removed.
8569 (syscall-list-32-options): Likewise.
8570 (syscall-list-32-condition): Likewise.
8571 (syscall-list-64-options): Likewise.
8572 (syscall-list-64-condition): Likewise.
8573 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8574 macro.
8575 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8576 Renamed to ...
8577 (abi-*): This.
8578 (abi-64-ld-soname): New macro.
8579 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8580 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8581 Renamed to ...
8582 (abi-*): This.
8583 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8584 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8585
4da0431d
JM
85862012-05-30 Joseph Myers <joseph@codesourcery.com>
8587
3a85279c
JM
8588 * sysdeps/unix/sysv/linux/kernel-features.h
8589 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8590 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8591 include <kernel-features.h>.
8592 [!__NR_ftruncate64]: Remove conditional code.
8593 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8594 [__NR_ftruncate64]: Make code unconditional.
8595 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8596 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8597 include <kernel-features.h>.
8598 [!__NR_ftruncate64]: Remove conditional code.
8599 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8600 [__NR_ftruncate64]: Make code unconditional.
8601 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8603 include <kernel-features.h>.
8604 [!__NR_ftruncate64]: Remove conditional code.
8605 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8606 [__NR_ftruncate64]: Make code unconditional.
8607 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8609 include <kernel-features.h>.
8610 [!__NR_ftruncate64]: Remove conditional code.
8611 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8612 [__NR_ftruncate64]: Make code unconditional.
8613 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8614
4da0431d
JM
8615 * configure.in (libc_cv_fpie): Weaken to a compile test using
8616 LIBC_TRY_CC_OPTION.
8617 * configure: Regenerated.
8618
11ef492c
AK
86192012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8620
8621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8625 Refreshed.
8626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8632 Refreshed.
8633
d66ef399
DM
86342012-05-27 David S. Miller <davem@davemloft.net>
8635
8636 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8637 (___Q_zero): New.
8638 (__Q_simulate_exceptions): Return void. Change to simulate
8639 exceptions by writing into the %fsr.
8640 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8641 (__Qp_handle_exceptions): Likewise.
8642 (numbers): Delete.
8643 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8644 __Qp_handle_exceptions.
8645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8646 __Qp_handle_exceptions.
8647 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8648 as unused and give dummy FP_RND_NEAREST initializer.
8649 (FP_INHIBIT_RESULTS): Define.
8650 (___Q_simulate_exceptions): Update declaration.
8651 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8652 formatting.
8653 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8654 as unused and give dummy FP_RND_NEAREST initializer.
8655 (__Qp_handle_exceptions): Update declaration.
8656 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8657 formatting.
8658
04fb54b5
TS
86592012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8660
8661 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8662 the temporary FPU control word.
8663 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8664 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8665 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8666 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8667 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8668 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8669 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8670 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8671 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8672 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8673 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8674
3f99608f
KK
86752012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8676
8677 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8678 fields.
8679
65a4de4e
CLT
86802012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8681
8682 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8683 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8684 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8685 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8686 Likewise.
8687 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8688 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8689 Likewise.
8690
15749d40
UD
86912012-05-27 Ulrich Drepper <drepper@gmail.com>
8692
8693 * po/h.po: Update from translation team.
8694
25dbcb27
AS
86952012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8696
3d3f8e55
AS
8697 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8698
25dbcb27
AS
8699 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8700 handling of denormals.
8701 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8702 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8703 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8704 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8707 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8708 Likewise.
8709
7ad47a80 87102012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8711
8712 [BZ #14152]
8713 * math/libm-test.inc (fma_test): Don't always expect underflow
8714 exception.
8715
9c6ea9fa
SP
87162012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8717
8718 [BZ #12416]
8719 * elf/tst-execstack.c: Include stackinfo.h.
8720 (do_test): Adjust test case to ensure that pthread_getattr_np
8721 behaviour remains the same after marking stack executable.
8722
a8239222
JM
87232012-05-25 Joseph Myers <joseph@codesourcery.com>
8724
8725 * sysdeps/unix/sysv/linux/kernel-features.h
8726 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8727 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8728 kernel-features.h.
8729 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8730 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8731 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8732 kernel-features.h.
8733 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8734 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8735
918b5606
L
87362012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8737
8738 * configure.in: Define the default includes to being none.
8739 * configure: Regenerated.
8740
3a097cc7
RM
87412012-05-25 Roland McGrath <roland@hack.frob.com>
8742
8422c9a5
RM
8743 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8744 * sysdeps/x86_64/setjmp.S: Likewise.
8745 * sysdeps/i386/bsd-setjmp.S: Likewise.
8746 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8747 * sysdeps/i386/setjmp.S: Likewise.
8748 * sysdeps/i386/__longjmp.S: Likewise.
8749 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8750 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8751
3a097cc7
RM
8752 * include/stap-probe.h: New file.
8753 * configure.in: Handle --enable-systemtap.
8754 * configure: Regenerated.
8755 * config.h.in (USE_STAP_PROBE): New #undef.
8756 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8757 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8758 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8759
21708942
JM
87602012-05-25 Joseph Myers <joseph@codesourcery.com>
8761
8762 [BZ #13717]
8763 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8764 to 2.4.0 where earlier.
8765 * sysdeps/unix/sysv/linux/configure: Regenerated.
8766 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8767 <kernel-features.h>.
8768 [__ASSUME_32BITUIDS]: Make code unconditional.
8769 [!__ASSUME_32BITUIDS]: Remove conditional code.
8770 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8771 <kernel-features.h>.
8772 [__ASSUME_32BITUIDS]: Make code unconditional.
8773 [!__ASSUME_32BITUIDS]: Remove conditional code.
8774 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8775 [__ASSUME_32BITUIDS]: Make code unconditional.
8776 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8777 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.c: Do not include
8802 <kernel-features.h>.
8803 [__ASSUME_32BITUIDS]: Make code unconditional.
8804 [!__ASSUME_32BITUIDS]: Remove conditional code.
8805 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8806 <kernel-features.h>.
8807 [__ASSUME_32BITUIDS]: Make code unconditional.
8808 [!__ASSUME_32BITUIDS]: Remove conditional code.
8809 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8810 <kernel-features.h>.
8811 [__ASSUME_32BITUIDS]: Make code unconditional.
8812 [!__ASSUME_32BITUIDS]: Remove conditional code.
8813 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8814 <kernel-features.h>.
8815 [__ASSUME_32BITUIDS]: Make code unconditional.
8816 [!__ASSUME_32BITUIDS]: Remove conditional code.
8817 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8818 <kernel-features.h>.
8819 [__NR_setresgid] (__setresgid): Do not declare.
8820 [__ASSUME_32BITUIDS]: Make code unconditional.
8821 [!__ASSUME_32BITUIDS]: Remove conditional code.
8822 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8823 <kernel-features.h>.
8824 [__NR_setresuid] (__setresuid): Do not declare.
8825 [__ASSUME_32BITUIDS]: Make code unconditional.
8826 [!__ASSUME_32BITUIDS]: Remove conditional code.
8827 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/i386/setresuid.c: Do not include
8852 <kernel-features.h>.
8853 [__ASSUME_32BITUIDS]: Make code unconditional.
8854 [!__ASSUME_32BITUIDS]: Remove conditional code.
8855 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8856 <kernel-features.h>.
8857 [__ASSUME_32BITUIDS]: Make code unconditional.
8858 [!__ASSUME_32BITUIDS]: Remove conditional code.
8859 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8860 <kernel-features.h>.
8861 [__ASSUME_32BITUIDS]: Make code unconditional.
8862 [!__ASSUME_32BITUIDS]: Remove conditional code.
8863 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8864 <kernel-features.h>.
8865 [__ASSUME_32BITUIDS]: Make code unconditional.
8866 [!__ASSUME_32BITUIDS]: Remove conditional code.
8867 * sysdeps/unix/sysv/linux/kernel-features.h
8868 (__ASSUME_SETRESUID_SYSCALL): Remove.
8869 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8870 (__ASSUME_32BITUIDS): Likewise.
8871 (__ASSUME_LDT_WORKS): Likewise.
8872 (__ASSUME_O_DIRECTORY): Likewise.
8873 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8874 architecture but not kernel version.
8875 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8876 (__ASSUME_MMAP2_SYSCALL): Likewise.
8877 (__ASSUME_STAT64_SYSCALL): Likewise.
8878 (__ASSUME_IPC64): Likewise.
8879 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8880 <kernel-features.h>.
8881 [__ASSUME_32BITUIDS]: Make code unconditional.
8882 [!__ASSUME_32BITUIDS]: Remove conditional code.
8883 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8884 <kernel-features.h>.
8885 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8886 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8887 132096]: Remove conditional code.
8888 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8889 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8890 <kernel-features.h>.
8891 [__ASSUME_32BITUIDS]: Make code unconditional.
8892 [!__ASSUME_32BITUIDS]: Remove conditional code.
8893 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8894 <kernel-features.h>.
8895 [__ASSUME_32BITUIDS]: Make code unconditional.
8896 [!__ASSUME_32BITUIDS]: Remove conditional code.
8897 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8898 <kernel-features.h>.
8899 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8900 unconditional.
8901 (__setresgid): Do not declare.
8902 [__ASSUME_32BITUIDS]: Make code unconditional.
8903 [!__ASSUME_32BITUIDS]: Remove conditional code.
8904 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8905 <kernel-features.h>.
8906 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8907 unconditional.
8908 (__setresuid): Do not declare.
8909 [__ASSUME_32BITUIDS]: Make code unconditional.
8910 [!__ASSUME_32BITUIDS]: Remove conditional code.
8911 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8912 <kernel-features.h>.
8913 [__ASSUME_32BITUIDS]: Make code unconditional.
8914 [!__ASSUME_32BITUIDS]: Remove conditional code.
8915 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8916 <kernel-features.h>.
8917 [__ASSUME_32BITUIDS]: Make code unconditional.
8918 [!__ASSUME_32BITUIDS]: Remove conditional code.
8919
a386f1cc
RH
89202012-05-25 Richard Henderson <rth@twiddle.net>
8921
8922 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8923 dl_hwcap to ifunc resolver.
8924 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8925 elf_ifunc_invoke.
8926 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8927 dl_hwcap to ifunc resolver.
8928 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8929
b6550497
JM
89302012-05-24 Joseph Myers <joseph@codesourcery.com>
8931
8932 [BZ #14153]
8933 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8934 for |x| <= 2**-26, not 2**-57.
8935 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8936 exception.
8937
b0bc23a1
JL
89382012-05-24 Jeff Law <law@redhat.com>
8939
8940 * stdio-common/Makefile (tests): Add bug25.
8941 * stdio-common/bug25.c: New test.
8942
347c92e9
L
89432012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8944
8945 [BZ #13576]
8946 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8947 multiple of MALLOC_ALIGNMENT in size.
8948 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8949
6bcc8b3f
JM
89502012-05-24 Joseph Myers <joseph@codesourcery.com>
8951
8952 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8953 Require >= 256.
8954 (FILENAME_MAX): Use macro-int-constant.
8955 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8956 (_IOFBF): Use macro-int-constant.
8957 (_IOLBF): Likewise.
8958 (_IONBF): Likewise.
8959 (SEEK_CUR): Likewise.
8960 (SEEK_END): Likewise.
8961 (SEEK_SET): Likewise.
8962 (TMP_MAX): Likewise.
8963 (EOF): Use macro-int-constant. Require < 0.
8964 (NULL): Use macro-constant. Require == 0.
8965 (stdin): Require type to be FILE *.
8966 (stdout): Likewise.
8967 (stderr): Likewise.
8968 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8969 macro-int-constant.
8970 (EXIT_SUCCESS): Likewise.
8971 (NULL): Use macro-constant. Require == 0.
8972 (RAND_MAX): Use macro-int-constant.
8973 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8974 [C99-based standards] (strtof): Require function.
8975 [C99-based standards] (strtold): Likewise.
8976 [C99-based standards] (strtoll): Likewise.
8977 [C99-based standards] (strtoull): Likewise.
8978 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8979 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8980 [ISO || ISO99 || ISO11] (math.h): Likewise.
8981 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8982 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8984
d18ea0c5
AS
89852012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8986
8987 [BZ #14132]
56d25bb8
AS
8988 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8989 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8990 * intl/dgettext.c (DCGETTEXT): Likewise.
8991 * intl/gettext.c (DCGETTEXT): Likewise.
8992 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8993 * posix/regex_internal.h (gettext): Likewise.
8994 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8995 Remove declaration.
8996 * include/argz.h (__argz_count_internal)
8997 (__argz_stringify_internal): Remove declaration.
8998 (__argz_count, __argz_stringify): Declare hidden proto.
8999 * intl/dcgettext.c: Remove use of INTDEF.
9000 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9001 * string/argz-stringify.c: Likewise.
9002 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9003 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9004 Declare hidden proto.
d18ea0c5
AS
9005 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9006 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9007 Declare hidden proto.
9008 * include/stdio.h (__asprintf_internal): Don't declare.
9009 (__asprintf): Don't define as macro. Declare hidden proto.
9010 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9011 (__fsetlocking): Declare hidden proto.
9012 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9013 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9014 hidden proto.
9015 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9016 (_IO_setlinebuf): Remove use of INTUSE.
9017 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9018 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9019 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9020 Remove declaration.
9021 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9022 (_IO_do_flush): Remove use of INTUSE.
9023 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9024 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9025 (_IO_adjust_column, _IO_least_wmarker)
9026 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9027 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9028 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9029 (_IO_default_doallocate, _IO_wdefault_doallocate)
9030 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9031 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9032 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9033 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9034 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9035 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9036 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9037 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9038 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9039 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9040 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9041 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9042 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9043 proto.
9044 (_IO_flush_all_internal, _IO_adjust_column_internal)
9045 (_IO_default_uflow_internal, _IO_default_finish_internal)
9046 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9047 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9048 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9049 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9050 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9051 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9052 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9053 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9054 (_IO_file_close_internal, _IO_file_close_it_internal)
9055 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9056 (_IO_file_init_internal, _IO_file_attach_internal)
9057 (_IO_file_fopen_internal, _IO_file_read_internal)
9058 (_IO_file_sync_internal, _IO_file_seek_internal)
9059 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9060 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9061 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9062 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9063 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9064 (_IO_list_all_internal, _IO_link_in_internal)
9065 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9066 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9067 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9068 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9069 (_IO_do_write_internal, _IO_padn_internal)
9070 (_IO_getline_info_internal, _IO_getline_internal)
9071 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9072 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9073 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9074 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9075 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9076 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9077 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9078 with libc_hidden_ver, remove use of INTUSE.
9079 * libio/genops.c: Likewise.
9080 * libio/freopen.c: Likewise.
9081 * libio/freopen64.c: Likewise.
9082 * libio/iofclose.c: Likewise.
9083 * libio/iofdopen.c: Likewise.
9084 * libio/iofflush.c: Likewise.
9085 * libio/iofflush_u.c: Likewise.
9086 * libio/iofgets.c: Likewise.
9087 * libio/iofgets_u.c: Likewise.
9088 * libio/iofopen.c: Likewise.
9089 * libio/iofopncook.c: Likewise.
9090 * libio/iofread.c: Likewise.
9091 * libio/iofread_u.c: Likewise.
9092 * libio/ioftell.c: Likewise.
9093 * libio/iofwrite.c: Likewise.
9094 * libio/iogetline.c: Likewise.
9095 * libio/iogets.c: Likewise.
9096 * libio/iogetwline.c: Likewise.
9097 * libio/iopadn.c: Likewise.
9098 * libio/iopopen.c: Likewise.
9099 * libio/ioseekoff.c: Likewise.
9100 * libio/ioseekpos.c: Likewise.
9101 * libio/iosetbuffer.c: Likewise.
9102 * libio/iosetvbuf.c: Likewise.
9103 * libio/ioungetc.c: Likewise.
9104 * libio/ioungetwc.c: Likewise.
9105 * libio/iovdprintf.c: Likewise.
9106 * libio/iovsprintf.c: Likewise.
9107 * libio/iovsscanf.c: Likewise.
9108 * libio/memstream.c: Likewise.
9109 * libio/obprintf.c: Likewise.
9110 * libio/oldfileops.c: Likewise.
9111 * libio/oldiofclose.c: Likewise.
9112 * libio/oldiofdopen.c: Likewise.
9113 * libio/oldiofopen.c: Likewise.
9114 * libio/oldiopopen.c: Likewise.
9115 * libio/oldstdfiles.c: Likewise.
9116 * libio/putc.c: Likewise.
9117 * libio/setbuf.c: Likewise.
9118 * libio/setlinebuf.c: Likewise.
9119 * libio/stdfiles.c: Likewise.
9120 * libio/strops.c: Likewise.
9121 * libio/vasprintf.c: Likewise.
9122 * libio/vscanf.c: Likewise.
9123 * libio/vsnprintf.c: Likewise.
9124 * libio/vswprintf.c: Likewise.
9125 * libio/wfiledoalloc.c: Likewise.
9126 * libio/wfileops.c: Likewise.
9127 * libio/wgenops.c: Likewise.
9128 * libio/wmemstream.c: Likewise.
9129 * libio/wstrops.c: Likewise.
9130 * libio/__fpurge.c: Likewise.
9131 * libio/__fsetlocking.c: Likewise.
9132 * assert/assert.c: Likewise.
9133 * debug/fgets_chk.c: Likewise.
9134 * debug/fgets_u_chk.c: Likewise.
9135 * debug/fread_chk.c: Likewise.
9136 * debug/fread_u_chk.c: Likewise.
9137 * debug/gets_chk.c: Likewise.
9138 * debug/obprintf_chk.c: Likewise.
9139 * debug/vasprintf_chk.c: Likewise.
9140 * debug/vdprintf_chk.c: Likewise.
9141 * debug/vsnprintf_chk.c: Likewise.
9142 * debug/vsprintf_chk.c: Likewise.
9143 * malloc/mtrace.c: Likewise.
9144 * misc/error.c: Likewise.
9145 * misc/syslog.c: Likewise.
9146 * stdio-common/asprintf.c: Likewise.
9147 * stdio-common/fxprintf.c: Likewise.
9148 * stdio-common/getw.c: Likewise.
9149 * stdio-common/isoc99_fscanf.c: Likewise.
9150 * stdio-common/isoc99_scanf.c: Likewise.
9151 * stdio-common/isoc99_vfscanf.c: Likewise.
9152 * stdio-common/isoc99_vscanf.c: Likewise.
9153 * stdio-common/isoc99_vsscanf.c: Likewise.
9154 * stdio-common/printf-prs.c: Likewise.
9155 * stdio-common/printf_fp.c: Likewise.
9156 * stdio-common/printf_fphex.c: Likewise.
9157 * stdio-common/printf_size.c: Likewise.
9158 * stdio-common/putw.c: Likewise.
9159 * stdio-common/scanf.c: Likewise.
9160 * stdio-common/sprintf.c: Likewise.
9161 * stdio-common/tmpfile.c: Likewise.
9162 * stdio-common/vfprintf.c: Likewise.
9163 * stdio-common/vfscanf.c: Likewise.
9164 * stdlib/strfmon_l.c: Likewise.
9165 * sunrpc/openchild.c: Likewise.
9166 * sunrpc/xdr_stdio.c: Likewise.
9167 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9168 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9169
d6c33fda
RM
91702012-05-24 Roland McGrath <roland@hack.frob.com>
9171
c1487492
RM
9172 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9173
9174 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9175 in the third column, to generate for the shared library an IFUNC
9176 that uses _dl_vdso_vsym.
9177 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9178 * Makeconfig (object-suffixes-noshared): New variable.
9179
9180 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9181 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9182 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9183 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9184
d6c33fda
RM
9185 [BZ #14132]
9186 * include/sys/time.h (__gettimeofday): Remove macro.
9187 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9188 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9189 Remove INTDEF.
9190 (__gettimeofday): Add libc_hidden_def.
9191 (gettimeofday): Add libc_hidden_weak.
9192 * sysdeps/mach/gettimeofday.c: Likewise.
9193 * sysdeps/posix/gettimeofday.c: Likewise.
9194 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9195 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9197 (__gettimeofday_internal): Remove strong_alias.
9198 (__gettimeofday): Add libc_hidden_def.
9199 (gettimeofday): Add libc_hidden_weak.
9200 * sysdeps/unix/syscalls.list (gettimeofday):
9201 Remove __gettimeofday_internal alias.
9202
b5a2bbe6
L
92032012-05-24 Daniel Jacobowitz <drow@false.org>
9204 H.J. Lu <hongjiu.lu@intel.com>
9205
9206 [BZ #12495]
9207 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9208 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9209 (largebin_index_32_big): New.
9210 (largebin_index): Use it for 16-byte alignment.
9211 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9212 correction with front_misalign.
9213
cfba4fda
L
92142012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9215
7f907421
L
9216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9218 Likewise.
9219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9220 Likewise.
9221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9222 Likewise.
9223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9224 Likewise.
9225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9226 Likewise.
9227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9228 Likewise.
9229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9230 Likewise.
9231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9232 Likewise.
9233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9234 Likewise.
9235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9236 Likewise.
9237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9238 Likewise.
9239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9240 Likewise.
9241
cfba4fda
L
9242 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9243 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9244
80bad0cc
JM
92452012-05-24 Joseph Myers <joseph@codesourcery.com>
9246
7a25eb06
JM
9247 [BZ #10846]
9248 [BZ #14036]
9249 * math/libm-test.inc (exp_test): Add test from bug 14036.
9250 (pow_test): Add test from bug 10846.
9251
795405f9
JM
9252 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9253 and other flags.
9254 (special_function): Do not include flags in test name.
9255 (parse_args): Likewise.
9256 * sysdeps/i386/fpu/libm-test-ulps: Update.
9257 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9258 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9259 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9261
80bad0cc
JM
9262 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9263 exceptions.
9264 * math/libm-test.inc ("Philosophy"): Update comment about
9265 exception testing.
9266 (UNDERFLOW_EXCEPTION): New macro.
9267 (UNDERFLOW_EXCEPTION_OK): Likewise.
9268 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9269 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9270 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9271 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9272 (INVALID_EXCEPTION_OK): Update value.
9273 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9274 (OVERFLOW_EXCEPTION_OK): Likewise.
9275 (IGNORE_ZERO_INF_SIGN): Likewise.
9276 (test_exceptions): Handle underflow exceptions.
9277 (acos_test): Update for underflow exception expectations.
9278 (cexp_test): Likewise.
9279 (clog_test): Likewise.
9280 (clog10_test): Likewise.
9281 (csqrt_test): Likewise.
9282 (ctan_test): Likewise.
9283 (ctanh_test): Likewise.
9284 (exp_test): Likewise.
9285 (exp10_test): Likewise.
9286 (exp2_test): Likewise.
9287 (expm1_test): Likewise.
9288 (fma_test): Likewise.
9289 (j0_test): Likewise.
9290 (jn_test): Likewise.
9291 (nexttoward_test): Likewise.
9292 (pow_test): Likewise.
9293 (scalbn_test): Likewise.
9294 (scalbln_test): Likewise.
9295 (tan_test): Likewise.
9296 (y1_test): Likewise.
9297 * sysdeps/i386/fpu/libm-test-ulps: Update.
9298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9299
9e0e3d0b
DM
93002012-05-23 David S. Miller <davem@davemloft.net>
9301
9302 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9303 (__libc_sigaction): Remove unused local variables.
9304
ccd0a08f
L
93052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9306
9307 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9308
62bdf9a6
PE
93092012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9310
f8591f80
PE
9311 mktime: avoid signed integer overflow
9312 * time/mktime.c (__mktime_internal): Do not mishandle the case
9313 where diff == INT_MIN.
9314
94c7d826
PE
9315 mktime: simplify computation of average
9316 * time/mktime.c (ranged_convert): Use new time_t_avg function
9317 instead of rolling our own (probably-slower) code.
9318
ce73d683
PE
9319 mktime: do not assume signed right shift propagates sign bit
9320 * time/mktime.c (isdst_differ): New static function.
9321 (__mktime_internal): No need to normalize tm_isdst now.
9322 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9323 tm_isdst values.
9324
72a22e59
PE
9325 mktime: merge another wrapv change from gnulib
9326 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9327 from some compilers.
9328
68605433
PE
9329 mktime: remove incorrect attempt at unusual arithmetics
9330 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9331 The code didn't really work on such machines anyway.
9332 (TYPE_MINIMUM): Assume two's complement.
9333 (twos_complement_arithmetic): Verify that long_int and time_t
9334 are two's complement (or unsigned, in the latter case).
9335
03cf7fe3
PE
9336 mktime: check signed shifts on long_int and time_t, too
9337 * time/mktime.c (SHR): Check that shifts work as desired
9338 on the types long_int and time_t too, as SHR is used on
9339 such types.
9340
f04dfbc2
PE
9341 mktime: do not assume 'long' is wide enough
9342 * time/mktime.c (verify): Move decl up.
9343 (long_int): New type.
9344 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9345 to remove assumption in the code that 'long' is wide enough to
9346 store year values. This assumption is not true on x32 and on
9347 some non-glibc platforms.
9348
62bdf9a6
PE
9349 mktime: merge wrapv change from gnulib
9350 * time/mktime.c (WRAPV): New macro.
9351 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9352 (guess_time_tm, __mktime_internal): Do not assume that signed
9353 integer overflow wraps around; modern compilers generate code
9354 where this assumption is no longer valid.
9355
5e292e4f
L
93562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9357
9358 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9359 Replace "jmp L(pseudo_end)" with "ret".
9360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9361 Likewise.
9362
8caf8c87
AJ
93632012-05-23 Andreas Jaeger <aj@suse.de>
9364
9365 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9366 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9367
1a09dc56
AJ
93682012-05-23 Andreas Jaeger <aj@suse.de>
9369 Maximilian Attems <max@stro.at>
9370
9371 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9372 New macros.
9373
1c87aba0
L
93742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9375
9376 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9377 code so that pseudo_end is just ret and the stack pointer is
9378 correct also for static library in error case.
9379
40e45bd5
JM
93802012-05-23 Joseph Myers <joseph@codesourcery.com>
9381
c2670533
JM
9382 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9383 move to syscalls.list.
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9388
40e45bd5
JM
9389 * manual/install.texi (Running make install): Do not mention Linux
9390 kernel version for which pt_chown is not needed.
9391 (Linux): Do not mention problems with nscd with 2.0 kernels.
9392 * INSTALL: Regenerated.
9393
be08eda5
AJ
93942012-05-23 Andreas Jaeger <aj@suse.de>
9395
9396 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9397 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9398 macro.
9399 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9400 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9401 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9402 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9403 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9404 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9405 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9406 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9407 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9408 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9409 * sysdeps/unix/sysv/linux/bits/in.h
9410 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9411
a6a056bb
RM
94122012-05-22 Roland McGrath <roland@hack.frob.com>
9413
9414 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9415 (PREPARE_VERSION): Just use assert instead, it will be elided
9416 under [NDEBUG] anyway.
9417
c9009328
L
94182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9419
9420 * sysdeps/unix/sysv/linux/Makefile: Include
9421 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9422 (sysdep_routines): Remove sysctl.
c9009328
L
9423 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9424 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9425 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9426 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9427 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9428
73338355
AJ
94292012-05-22 Andreas Jaeger <aj@suse.de>
9430
9431 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9432 that pseudo_end is just ret and the stack pointer is correct also
9433 for static library in error case.
9434
d44638b0
PP
94352012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9436
9437 [BZ #14122]
9438 * nss/nsswitch.c (defconfig_entries): New variable.
9439 (__nss_database_lookup): Don't leak defconfig entries.
9440 (nss_parse_service_list): Don't leak on error paths.
9441 (free_database_entries): New function.
9442 (free_defconfig): New function.
9443 (free_mem): Move common code to free_database_entries.
9444
31a39bd8
L
94452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9446
da0331a8
L
9447 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9448 Add arch_prctl.
9449 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9450
31a39bd8
L
9451 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9452 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9453 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9454 New macro.
9455 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9456 (INTERNAL_SYSCALL_TYPES): Likewise.
9457 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9458 (LOAD_REGS_TYPES_[1-6]): Likewise.
9459 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9460 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9461
45470df3
AZ
94622012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9463
9464 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9465 copysignl for GLIBC_2_0.
9466 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9467 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9468 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9469 logbl for GLIBC_2_0.
9470 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9471 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9472
98a61bcb
L
94732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9474
a4f6e481
L
9475 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9476 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9477
f63d5db6
L
9478 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9479 Use "neg %eax".
9480
98a61bcb
L
9481 * time/mktime.c: Update copyright years.
9482
95770f14
PE
94832012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9484
6226efbd
PE
9485 mktime: merge comment-quoting-style change from gnulib
9486 * time/mktime.c: Quote 'like this' in comments.
9487 The GNU coding standards suggest that we no longer quote `like this',
9488 as "`" and "'" are typically rendered asymmetrically nowadays.
9489 The typical gnulib style is to quote 'like this' when quoting
9490 code, and "like this" when quoting English.
9491
b99e4f78
PE
9492 * time/mktime.c (compile-command): Add "-I.".
9493
643e01e6
PE
9494 mktime: merge mktime-internal.h change from gnulib
9495 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9496
2554247d
PE
9497 mktime: merge time_r change from gnulib
9498 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9499
826dd0ab
PE
9500 mktime: merge DEBUG change from gnulib
9501 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9502 case system <time.h> has a #define.
9503
bd83aabe
PE
9504 mktime: merge <sys/types.h> change from gnulib
9505 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9506 since <time.t> is now guaranteed to define time_t.
9507
95770f14
PE
9508 mktime: merge HAVE_CONFIG_H change from gnulib
9509 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9510
5e1a27a9
L
95112012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9512
0e44a77e
L
9513 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9514 Use "neg %eax".
9515
5e1a27a9
L
9516 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9517 __rlim_t cast.
9518 (struct rusage): Use anonymous union to pad each field to
9519 __syscall_slong_t.
9520
46259bec
DM
95212012-05-21 David S. Miller <davem@davemloft.net>
9522
9523 * Makefules (o-iterator): Remove .s cases.
9524 (compile-command.s): Delete.
9525 (COMPILE.s): Delete.
9526 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9527
59f0c22e
JM
95282012-05-21 Joseph Myers <joseph@codesourcery.com>
9529
9530 * configure.in (libc_cv_predef_stack_protector): Only consider
9531 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9532 * configure: Regenerated.
9533
20c07380
L
95342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9535
bbb3154b
L
9536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9537 New macro. Use R*LP on int and pointer.
9538 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9539 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9540 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9541 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9542
20c07380
L
9543 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9544 [__WORDSIZE_TIME64_COMPAT32] instead of
9545 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9546 (struct utmp): Likewise.
9547 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9548 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9549 Renamed to ...
9550 (__WORDSIZE_TIME64_COMPAT32): This.
9551 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9552 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9553 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9554 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9555 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9556 (__WORDSIZE_TIME64_COMPAT32): New macro.
9557
d8d1017e
AJ
95582012-05-21 Andreas Jaeger <aj@suse.de>
9559
9560 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9561 only if [SHARED]. Add prototype for __wcschr_ia32.
9562
6c7fb145
RM
95632012-05-21 Roland McGrath <roland@hack.frob.com>
9564
9565 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9566 of %rbp unmolested in the jmp_buf while mangling the low bits.
9567 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9568 unmolested high bits of %rbp while demangling the low bits.
9569 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9570
66274218
AJ
95712012-05-21 Andreas Jaeger <aj@suse.de>
9572
07c58f8f
AJ
9573 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9574 * sunrpc/svc_simple.c: Use it for registerrpc.
9575 * sunrpc/xcrypt.c: Use it for passwd2des.
9576
66274218
AJ
9577 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9578
61f65140
L
95792012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9580
9581 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9582 Don't define if [__SYSCALL_WORDSIZE != 32].
9583 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9584 New macro.
9585
5fefb436
AJ
95862012-05-21 Bruno Haible <bruno@clisp.org>
9587 Andreas Jaeger <aj@suse.de>
9588
9589 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9590 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9591 inptr and inend for must_buffer_ch.
9592 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9593 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9594 * stdio-common/Makefile (tests): Remove bug15.
9595 (bug15-ENV): Remove macro.
9596 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9597 anymore.
9598
d8e272ab
AJ
95992012-05-19 Andreas Jaeger <aj@suse.de>
9600 Roland McGrath <roland@hack.frob.com>
9601
9602 * manual/contrib.texi: Completely rewritten. It contains now an
9603 alphabetical list of contributors and their contributions.
9604
4a56a162
RH
96052012-05-21 Richard Henderson <rth@twiddle.net>
9606
9607 * misc/getauxval.c (__getauxval): Use unsigned long int.
9608 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9609 (getauxval): Use unsigned long int.
9610
d024d23c
L
96112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9612
9613 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9614
cbc00a03
RM
96152012-05-21 Roland McGrath <roland@hack.frob.com>
9616
9617 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9618 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9619 __alignof__ (long double).
9620
478143fa
AZ
96212012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9622
9623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9624
c7683a6d
RH
96252012-05-20 Richard Henderson <rth@twiddle.net>
9626
9627 * misc/getauxval.c: New file.
9628 * misc/sys/auxv.h: New file.
9629 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9630 (routines): Add getauxval.
9631 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9632 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9633 * elf/dl-sysdep.c (_dl_auxv): Remove.
9634 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9635 * elf/dl-support.c (_dl_auxv): New variable.
9636 (_dl_aux_init): Initialize it.
9637 * manual/startup.texi (Auxiliary Vector): New node.
9638 * sysdeps/generic/bits/hwcap.h: New file.
9639 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9640 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9641 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9642 * sysdeps/sparc/sysdep.h: ... here. Include it.
9643 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9644 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9646 Update.
c7683a6d
RH
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9650 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9655
a6f1845d
AZ
96562012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9657
9658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9659
cbcbe830
DM
96602012-05-19 David S. Miller <davem@davemloft.net>
9661
9662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9663
e0b16cc2
JM
96642012-05-19 Joseph Myers <joseph@codesourcery.com>
9665
9666 [BZ #14123]
9667 * math/s_ccosh.c: Include <float.h>
9668 (__ccosh): Avoid internal overflow calculating sinh and cosh
9669 values before multiplying by sin and cos values.
9670 * math/s_ccoshf.c: Likewise.
9671 * math/s_ccoshl.c: Likewise.
9672 * math/s_csin.c: Likewise.
9673 * math/s_csinf.c: Likewise.
9674 * math/s_csinl.c: Likewise.
9675 * math/s_csinh.c: Likewise.
9676 * math/s_csinhf.c: Likewise.
9677 * math/s_csinhl.c: Likewise.
9678 * math/libm-test.inc (ccos_test): Add more tests.
9679 (ccosh_test): Likewise.
9680 (csin_test): Likewise.
9681 (csinh_test): Likewise.
9682 * sysdeps/i386/fpu/libm-test-ulps: Update.
9683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9684
6ad13e08
L
96852012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9686
f66f0ce8
L
9687 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9688 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9689
6ad13e08
L
9690 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9691
b1d072a7
JM
96922012-05-19 Joseph Myers <joseph@codesourcery.com>
9693
9694 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9695 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9696 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9697 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9698 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9699 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9700 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9701 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9702 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9703 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9704 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9705 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9706 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9707 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9708 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9709 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9710 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9711 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9712 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9713 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9714 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9715 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9716 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9717 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9718 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9719 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9720 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9721 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9722 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9723 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9724 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9725
9eae47cb
AJ
97262012-05-18 Andreas Jaeger <aj@suse.de>
9727
9728 * csu/.gitignore: Delete.
9729
bb07f69f
L
97302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9731
9732 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9733 (timex): Use __syscall_slong_t.
9734
e6bdb741
AJ
97352012-05-18 Andreas Jaeger <aj@suse.de>
9736 Carlos O'Donell <carlos_odonell@mentor.com>
9737
9738 * manual/install.texi (Configuring and compiling): Update
9739 description about files modified in the source directory.
d6c33fda 9740 * INSTALL: Regenerated.
e6bdb741 9741
1b74487e
L
97422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9743
9744 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9745 value. Use "or" to set return value to -1.
9746 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9747 negate return value.
9748
a88b64b9
TMQMF
97492012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9750
9751 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9752 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9753 failure if the compiler has Graphite support disabled.
9754 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9755 Likewise.
9756 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9757 CFLAGS-memmove.c): Likewise.
9758 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9759 Likewise.
9760
3707636e
L
97612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9762
610b8622
L
9763 * sysdeps/x86_64/x32/_itoa.h: New file.
9764
7cd195df
L
9765 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9766 getdents system call only if kernel and user dirents have the
9767 same d_ino and d_off.
9768
94b07d20
L
9769 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9770 LLONG_MAX != LONG_MAX.
9771 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9772 (_fitoa_word): Likewise.
9773
18298070
L
9774 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9775 years.
9776 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9777 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9778 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9779
553c7ea4
L
9780 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9781 include <bits/wordsize.h>. Check __x86_64__ instead of
9782 __WORDSIZE.
9783 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9784 if __x86_64__ is defined. Use anonymous union on fpstate.
9785
3707636e
L
9786 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9787 anonymous union.
9788
b53ef01a
AS
97892012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9790
37fb1dc0
AS
9791 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9792 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9793 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9794 Refer to _rtld_local_ro instead of _rtld_global_ro.
9795 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9796 Likewise.
9797 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9798 Likewise.
9799 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9800 Likewise.
9801 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9802 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9803 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9804
b53ef01a
AS
9805 * sysdeps/powerpc/powerpc32/dl-machine.c
9806 (__elf_machine_runtime_setup) [PROF]: Don't reference
9807 _dl_prof_resolve.
9808
7a185db2
AJ
98092012-05-18 Andreas Jaeger <aj@suse.de>
9810
9811 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9812 function only available for GCCs before 3.4 since GCC 3.4
9813 introduced a builtin.
9814 (lrint): Likewise.
9815 (llrintf): Likewise.
9816 (llrint): Likewise.
9817 (fmaxf): Likewise.
9818 (fmax): Likewise.
9819 (fminf): Likewise.
9820 (fmin): Likewise.
9821 (rint): Likewise.
9822 (rintf): Likewise.
9823 (nearbyint): Likewise.
9824 (nearbyintf): Likewise.
9825 (ceil): Likewise.
9826 (ceilf): Likewise.
9827 (floor): Likewise.
9828 (floorf): Likewise.
9829
3e5aef87
L
98302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9831
428bd707
L
9832 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9833 on both fields and cast pointer to __syscall_ulong_t.
9834
3e5aef87
L
9835 * bits/types.h (__fsword_t): New type.
9836 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9837 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9839 (__FSWORD_T_TYPE): Likewise.
9840 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9841 (__FSWORD_T_TYPE): Likewise.
9842 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9843 (__FSWORD_T_TYPE): Likewise.
9844 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9845 (__FSWORD_T_TYPE): Likewise.
9846 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9847 __SWORD_TYPE with __fsword_t.
9848 (statfs64): Likewise.
9849
1ba7c3dc
DM
98502012-05-17 David S. Miller <davem@davemloft.net>
9851
9852 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9853
59910343
AJ
98542012-05-17 Andreas Jaeger <aj@suse.de>
9855
9856 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9857 warning.
9858
2e4c1e9e
L
98592012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9860
9861 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9862
de7f5ce7
AJ
98632012-05-17 Andreas Jaeger <aj@suse.de>
9864
9865 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9866 when it is used.
9867
286abc3d
CM
98682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9869
9870 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9871
477cc68e
L
98722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9873
9874 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9875 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9876
1a0994f5
CD
98772012-05-17 Andreas Jaeger <aj@suse.de>
9878 Carlos O'Donell <carlos_odonell@mentor.com>
9879
9880 [BZ #14059]
9881 * sysdeps/x86_64/multiarch/init-arch.h
9882 (bit_YMM_Usable): Rename to...
9883 (bit_AVX_Usable): ... this.
9884 (bit_FMA4_Usable): New macro.
9885 (bit_XMM_state): New macro.
9886 (bit_YMM_state): New macro.
9887 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9888 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9889 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9890 (CPUID_OSXSAVE): New macro.
9891 (CPUID_AVX): New macro.
9892 (CPUID_FMA4): New macro.
9893 (index_YMM_Usable): Rename to...
9894 (index_AVX_Usable): ... this.
9895 (HAS_AVX): Use HAS_ARCH_FEATURE.
9896 (HAS_FMA4): Likewise.
9897 (HAS_YMM_USABLE): Remove.
9898 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9899 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9900 are present.
9901 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9902 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9903 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9904 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9905 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9906
0af797de
CM
99072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9908
9909 * math/libm-test.c: Support platforms without multiple rounding modes.
9910 * math/bug-nextafter.c: Support platforms without FP exceptions.
9911 * math/bug-nexttoward.c: Likewise.
9912 * math/test-fenv.c: Likewise.
9913 * math/test-misc.c: Likewise.
9914 * stdlib/bug-getcontext.c: Likewise.
9915
e39745ff
AJ
99162012-05-17 Andreas Jaeger <aj@suse.de>
9917
9918 * manual/examples/search.c (critter_cmp): Change signature to
9919 avoid warnings.
9920 * manual/string.texi (Collation Functions): Likewise.
9921
48970aba
L
99222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9923
9924 * bits/types.h: Fold copyright years.
9925 * bits/typesizes.h: Likewise.
9926 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9928 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9930 * time/time.h: Likewise.
9931
bedee953
PP
99322012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9933
9934 [BZ #208]
9935 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9936 in instead of returning them. Return void.
9937 (__libc_mallinfo): Accumulate over all arenas.
9938 (__malloc_stats): Adjust for change in int_mallinfo interface.
9939
61653dfb
RM
99402012-05-16 Roland McGrath <roland@hack.frob.com>
9941
30b99d79
RM
9942 [BZ #10375]
9943 * configure.in (NM): Add AC_CHECK_TOOL for it.
9944 (libc_extra_cflags): New substituted variable.
9945 Check for -fstack-protector being used implicitly.
9946 * configure: Regenerated.
9947 * config.make.in (config-extra-cflags): New variable,
9948 gets @libc_extra_cflags@.
9949 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9950
61653dfb
RM
9951 [BZ #10375]
9952 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9953 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9954 * configure: Regenerated.
9955 * config.make.in (CPPUNDEFS): New substituted variable.
9956 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9957 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9958 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9959
661768bb
L
99602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9961
9962 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9963 (mq_attr): Use __syscall_slong_t.
9964
d4261567
L
99652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9966
9967 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9968 Check __x86_64__ instead of __WORDSIZE.
9969 (_STAT_VER_LINUX): Likewise.
9970 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9971 __syscall_ulong_t and __syscall_slong_t.
9972 (stat64): Likewise.
9973
cf3ff365
L
99742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9975
9976 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9977
76cf3e4d
L
99782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9979
9980 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9981
a637753a
L
99822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9983
9984 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9985 __syscall_ulong_t.
9986
d5e05119
L
9987 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9988 include <bits/wordsize.h>. Check __x86_64__ instead of
9989 __WORDSIZE.
9990 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9991 defined.
9992 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9993
f62ee380
L
9994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9995 include <bits/wordsize.h>. Check __x86_64__ instead of
9996 __WORDSIZE.
9997 (user_regs_struct): Use "__extension__ unsigned long long"
9998 instead of "unsigned long" if __x86_64__ is defined.
9999 (user): Likewise. Pad after pointer field if __ILP32__ is
10000 defined.
10001
4e124ced
JM
100022012-05-16 Joseph Myers <joseph@codesourcery.com>
10003
6a3951a0
JM
10004 * configure.in (makeinfo): Require version 4.5 or later. Allow
10005 versions 5 to 9.
10006 * configure: Regenerated.
10007 * manual/install.texi (texinfo): Increase version requirement to
10008 4.5 or later.
10009 * INSTALL: Regenerated.
10010
4e124ced
JM
10011 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10012
953ca31a
L
100132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10014
10015 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10016
617aca05
L
10017 * sysdeps/x86_64/x32/ffs.c: New file.
10018
5762f7ae
L
10019 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10020 __syscall_ulong_t.
10021 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10022 defined. Use __syscall_ulong_t.
10023 (shminfo): Use __syscall_ulong_t.
10024 (shm_info): Likewise.
10025
a26b6856
L
10026 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10027 __syscall_ulong_t.
10028
cb2b9ef7
L
10029 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10030 <bits/wordsize.h>.
10031 (msgqnum_t): Use __syscall_ulong_t.
10032 (msglen_t): Likewise.
10033 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10034 __syscall_ulong_t.
10035
34683bb0
L
10036 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10037 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10038
84a68786
L
10039 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10040
48baa5f1
L
10041 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10042 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10043
180be88b
L
10044 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10045 __syscall_slong_t.
10046
5e90c8ad
L
10047 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10048 include <bits/wordsize.h>. Check __x86_64__ instead of
10049 __WORDSIZE.
10050
23dfb58b
L
10051 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10052 "unsigned long long int" if __x86_64__ is defined.
10053 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10054
ce5d54b0
L
10055 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10056 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10057 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10058
13dc9eac
L
10059 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10060 <stdint.h>.
10061 (GET_PC): Cast to uintptr_t first.
10062 (GET_FRAME): Likewise.
10063 (GET_STACK): Likewise.
10064
a7895d15
L
10065 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10066 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10067 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10068 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10069 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10070 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10071 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10072 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10073 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10074 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10075 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10076 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10077 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10078 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10079 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10080 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10081 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10082 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10083 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10084 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10085 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10086 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10087 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10088 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10089 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10090 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10091 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10092 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10093 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10094
656416c9
AS
100952012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10096
5bd66283
AS
10097 * Makerules (+depfiles): Also collect depfiles from .oS in
10098 $(extra-objs).
10099 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10100 .oS, $(libnldbl-routines)).
10101
656416c9
AS
10102 * Makerules (native-compile-mkdep-flags): Define.
10103 * sunrpc/Makefile (extra-objs): Add $(addprefix
10104 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10105 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10106 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10107 calling $(make-target-directory).
10108
a46f2169
L
101092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10110
10111 * bits/types.h (__snseconds_t): Removed.
10112 * time/time.h (struct timespec): Replace __snseconds_t with
10113 __syscall_slong_t.
10114 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10115 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10116 Likewise.
10117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10118 (__SNSECONDS_T_TYPE): Likewise.
10119 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10120 (__SNSECONDS_T_TYPE): Likewise.
10121 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10122 (__SNSECONDS_T_TYPE): Likewise.
10123
6af6528b
L
101242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10125
10126 * sysdeps/mach/hurd/bits/typesizes.h
10127 (__SYSCALL_SLONG_TYPE): New macro.
10128 (__SYSCALL_ULONG_TYPE): Likewise.
10129
de986b56
L
101302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10131
10132 * bits/types.h (__syscall_slong_t): New type.
10133 (__syscall_ulong_t): Likewise.
10134
10135 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10136 (__SYSCALL_ULONG_TYPE): Likewise.
10137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10138 (__SYSCALL_SLONG_TYPE): Likewise.
10139 (__SYSCALL_ULONG_TYPE): Likewise.
10140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10141 (__SYSCALL_SLONG_TYPE): Likewise.
10142 (__SYSCALL_ULONG_TYPE): Likewise.
10143 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10144 (__SYSCALL_SLONG_TYPE): Likewise.
10145 (__SYSCALL_ULONG_TYPE): Likewise.
10146
85736dc7
L
101472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10148
10149 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10150 Add sigaltstack-offsets.sym.
10151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10152 <sigaltstack-offsets.h>.
10153 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10154 longjmp_msg pointer.
10155 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10156 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10157 signal stack.
10158 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10159
cc03b296
JM
101602012-05-15 Joseph Myers <joseph@codesourcery.com>
10161
a9538892
JM
10162 * elf/stackguard-macros.h: Remove file.
10163 * sysdeps/generic/stackguard-macros.h: New file.
10164 * sysdeps/i386/stackguard-macros.h: Likewise.
10165 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10166 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10167 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10168 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10169 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10170 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10171 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10172 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10173 <elf/stackguard-macros.h>.
10174
cc03b296
JM
10175 [BZ #14109]
10176 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10177 __aligned__ in attribute.
10178 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10179 (gregset_t): Likewise.
10180
93171016
L
101812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10182
10183 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10184 * sysdeps/x86_64/64/Implies-after: Here. New file.
10185 * sysdeps/x86_64/x32/Implies-after: New file.
10186
d86813a0
L
101872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10188
10189 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10190 and access return value for _dl_profile_fixup. Use R10_LP to
10191 load frame size.
10192
2953ec75
L
101932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10194
10195 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10196
3b550e9e
L
101972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10198
10199 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10200 * sysdeps/x86_64/x32/sysdep.h: New file.
10201
eda41706
L
102022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10203
10204 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10205 * sysdeps/x86_64/setjmp.S: Likewise.
10206
9ea01d93
AZ
102072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10208
10209 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10210 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10211 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10212 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10213 remove unused global constant.
10214
02a91938
CM
102152012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10216
10217 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10218 include of <not-cancel.h>.
10219
6540185f
RM
102202012-05-15 Roland McGrath <roland@hack.frob.com>
10221
10222 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10223
509072a0
AJ
102242012-05-15 Jeff Law <law@redhat.com>
10225 Andreas Jaeger <aj@suse.de>
10226
10227 [BZ #13594]
10228 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10229 out from...
10230 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10231 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10232 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10233 code changing __hst_map_handle.map.
10234
ba75122d
RM
102352012-05-15 Roland McGrath <roland@hack.frob.com>
10236
10237 * configure.in (sysnames): Look for Implies-before and Implies-after
10238 files.
10239 * configure: Regenerated.
10240
890d8bd8
L
102412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10242
10243 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10244 8-byte data alignment with LP_SIZE alignment.
10245
f6ee6623
L
102462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10247
10248 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10249 into R10_LP.
10250
ea2626f6
L
102512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10252
10253 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10254
085f715e
L
102552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10256
10257 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10258 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10259 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10260 Likewise.
10261 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10262
be8498fc
L
102632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10264
10265 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10266 (stackinfo_sub_sp): Likewise.
10267
70bc83b9
L
102682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10269
10270 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10271 RAX_LP.
10272
9bc0b730
L
102732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10274
10275 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10276 into R*_LP.
10277
6d2850e7
L
102782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10279
10280 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10281 sizes into R*_LP.
10282
3cb84561
L
102832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10284
10285 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10286
54e2ed81
L
102872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10288
10289 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10290 into R11_LP and load __x86_64_shared_cache_size_half into
10291 R8_LP.
10292
8a17f349
L
102932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10294
10295 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10296 R8_LP.
10297
777b1eea
AZ
102982012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10299
10300 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10301 logb for POWER7.
10302 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10303 logbf for POWER7.
10304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10305 logbl for POWER7.
10306 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10307 powerpc32/power7/fpu/s_logb.c via #include.
10308 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10309 powerpc32/power7/fpu/s_logbf.c via #include.
10310 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10311 powerpc32/power7/fpu/s_logbl.c via #include.
10312
d20d4ac2
JM
103132012-05-15 Joseph Myers <joseph@codesourcery.com>
10314
10315 * README.libm: Remove file.
10316
6cdef1ab
L
103172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10318
10319 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10320 count for x32. Use R*_LP and omit operand-size suffix.
10321
0b254d8f
L
103222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10323
10324 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10325 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10326 * sysdeps/x86_64/x32/shlib-versions: New file.
10327
ceb809dc
RM
103282012-05-14 Roland McGrath <roland@hack.frob.com>
10329
10330 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10331 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10332 Use _dl_fatal_printf instead.
10333
37f1abd4
JM
103342012-05-14 Joseph Myers <joseph@codesourcery.com>
10335
10336 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10337 set if not set by the user. Do not allow for being unset.
10338 * sysdeps/unix/sysv/linux/configure: Regenerated.
10339
11de3a33
L
103402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10341
10342 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10343 the `q' suffix from lea and replace .quad with ASM_ADDR.
10344
e02f153a
L
103452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10346
10347 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10348 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10349 instead of $17.
10350 (PTR_DEMANGLE): Likewise.
10351
520ae0fd
L
103522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10353
10354 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10355 (LP_OP): Likewise.
10356 (ASM_ADDR): Likewise.
10357 (RAX_LP): Likewise.
10358 (RBP_LP): Likewise.
10359 (RBX_LP): Likewise.
10360 (RCX_LP): Likewise.
10361 (RDI_LP): Likewise.
10362 (RSI_LP): Likewise.
10363 (RSP_LP): Likewise.
10364 (R8_LP): Likewise.
10365 (R9_LP): Likewise.
10366 (R10_LP): Likewise.
10367 (R10_LP): Likewise.
10368 (R11_LP): Likewise.
10369 (R12_LP): Likewise.
10370 (R13_LP): Likewise.
10371 (R14_LP): Likewise.
10372 (R15_LP): Likewise.
10373
b985be81
L
103742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10375
10376 * sysdeps/x86_64/x32/dl-machine.h: New file.
10377
6a4888ff
AJ
103782012-05-14 Andreas Jaeger <aj@suse.de>
10379
10380 * manual/Makefile (subdir): Remove export of subdir.
10381 (all): Remove target.
10382 (.PHONY): Remove all from list.
10383 (mkinstalldirs): Remove.
10384 (.PHONY): Remove installdirs from list.
10385 ($(inst_infodir)/libc.info): Use make-target-directory.
10386 (installdirs): Remove.
10387 (subdir_%): Remove.
10388 (glibc-targets): Remove.
10389 (lib): Remove.
10390 (stubs): Remove.
10391 ($(objpfx)stubs ../po/manual.pot): Remove.
10392 ($(objpfx)stamp%): Remove.
10393 (make-target-directory): Remove.
10394 (subdir_install): Remove.
10395 (routines): Remove.
10396 (aux): Remove.
10397 (sources): Remove.
10398 (objects): Remove.
10399 (headers): Remove.
10400
10401 [BZ #13750]
10402 * manual/.gitignore: Remove, it's not needed anymore.
10403 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10404 all files in it.
10405 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10406 directory.
10407 (texis): Renamed to $(objpfx)texis.
10408 (texis-path): New, contains path to generated files.
10409 (chapters.%): Use texis-path for complete path, add extra argument
10410 libc-texinfo.sh.
10411 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10412 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10413 (summary,texi, stamp-summary): Use complete path of
10414 files. Generate files in build dir.
10415 (dir-add.texi): Build in build dir.
10416 (libm-err.texi,stamp-libm-err): Likewise.
10417 (version.texi, stamp-version): Likewise.
10418 (.%c.texi): Likewise.
10419 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10420 (mostlyclean): Remove target.
10421 (realclean): Remove target.
10422 (generated): Add new variable with contents from mostlyclean and
10423 realclean, remove entries duplicated in common-mostlyclean, add
10424 stamp-libm-err and stamp-version.
10425 (generated-dirs): Add libc directory.
10426 ($(inst_infodir)/libc.info): Install files from build dir.
10427
10428 * manual/install.texi (Configuring and compiling): Adjust since
10429 the info files are not part of the tar ball anymore.
10430
7ac77294
AJ
104312012-05-14 Andreas Jaeger <aj@suse.de>
10432
10433 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10434 variable.
10435
ffb7875d
JM
104362012-05-14 Joseph Myers <joseph@codesourcery.com>
10437
10438 [BZ #13717]
10439 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10440 to 2.2.0 where earlier.
10441 * sysdeps/unix/sysv/linux/configure: Regenerated.
10442 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10443 Remove conditional code.
10444 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10445 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10446 Remove conditional code.
10447 [!__NR_lchown]: Likewise.
10448 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10449 [__NR_lchown]: Likewise.
10450 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10451 comment referencing __ASSUME_LCHOWN_SYSCALL.
10452 * sysdeps/unix/sysv/linux/i386/sigaction.c
10453 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10454 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10455 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10456 Remove conditional code.
10457 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10458 (__protocol_available): Remove #if 0 code.
10459 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10460 conditional code.
10461 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10462 * sysdeps/unix/sysv/linux/kernel-features.h
10463 (__ASSUME_GETCWD_SYSCALL): Don't define.
10464 (__ASSUME_REALTIME_SIGNALS): Likewise.
10465 (__ASSUME_PREAD_SYSCALL): Likewise.
10466 (__ASSUME_PWRITE_SYSCALL): Likewise.
10467 (__ASSUME_POLL_SYSCALL): Likewise.
10468 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10469 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10470 non-SPARC.
10471 (__ASSUME_SIOCGIFNAME): Don't define.
10472 (__ASSUME_MSG_NOSIGNAL): Likewise.
10473 (__ASSUME_SENDFILE): Define unconditionally.
10474 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10475 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10476 conditional code.
10477 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10478 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10479 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10480 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10481 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10482 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10483 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10485 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10488 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10491 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10494 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10497 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10500 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10503 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10504 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10506 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10507 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10508 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10509 Remove conditional code.
10510 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10511 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10512 Remove conditional code.
10513 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10514 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10515 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10516 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10517 Remove conditional code.
10518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10519 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10520 Remove conditional code.
10521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10522 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10523 Remove conditional code.
10524 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10525 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10526 Remove conditional code.
10527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10528 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10529 Remove conditional code.
10530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10531 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10532 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10534 * sysdeps/unix/sysv/linux/sigaction.c
10535 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10536 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10537 * sysdeps/unix/sysv/linux/sigpending.c
10538 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10539 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10540 * sysdeps/unix/sysv/linux/sigprocmask.c
10541 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10542 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10543 * sysdeps/unix/sysv/linux/sigsuspend.c
10544 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10545 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10546 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10547 (__libc_missing_rt_sigs): Remove.
10548 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10549 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10550 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10551 Remove conditional code.
10552 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10553 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10554 return 1.
10555 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10556 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10557 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10558 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10559
1bfb7291
AJ
105602012-05-14 Andreas Jaeger <aj@suse.de>
10561
caae5a81
AJ
10562 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10563 it's not used in glibc.
10564 (__coshm1): Likewise.
10565 (__acosh1p): Likewise.
10566 (__sgn): Likewise.
10567
1bfb7291
AJ
10568 * manual/string.texi (Copying and Concatenation): Add missing
10569 variable in concat example.
10570 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10571
c044d724
L
105722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10573
144c5467 10574 [BZ #14103]
c044d724
L
10575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10576 __builtin_clzl with __builtin_clzll.
10577
2523c62b
L
105782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10579
10580 [BZ #14104]
10581 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10582 libc_freeres_ptr.
10583
d7bb4c42
LD
105842012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10585
10586 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10587 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10588 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10589 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10590
9dc4e1fb
MF
105912012-05-14 Mike Frysinger <vapier@gentoo.org>
10592
10593 * NEWS: Update ia64 info.
10594
c7df0112
AS
105952012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10596
10597 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10598 used as bcopy.
10599
dc70356c
TS
106002012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10601
10602 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10603 * sysdeps/unix/syscalls.list (dup3): Likewise.
10604 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10605 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10606
9fb1a21f
L
106072012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10608
10609 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10610 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10611
4822a2a5
L
106122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10613
10614 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10615 thread pointer.
10616 (TLS_IE): Use mov/add instead of movq/addq to load thread
10617 pointer.
10618 (TLS_GD_PREFIX): New.
10619 (TLS_GD): Use it.
10620
842b81d6
DM
106212012-05-11 David S. Miller <davem@davemloft.net>
10622
10623 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10624 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10625 (_FPU_SETCW): Likewise.
10626
1cf463cd
L
106272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10628
10629 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10630 is 32-byte aligned.
10631
60cc4a18
AS
106322012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10633
10634 [BZ #11837]
10635 * iconvdata/gb18030.c: Update tables.
10636 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10637 characters specially.
10638 (BODY for TO_LOOP): Add encoding of missing ranges.
10639
febb44a4
TS
106402012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10641
10642 [BZ #13673]
10643 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10644 * sysdeps/mach/hurd/dup3.c: Likewise.
10645 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10646 * sysdeps/powerpc/memmove.c:: Likewise.
10647
0a10fb9e
L
106482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10649
10650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10651 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10652
df8a552f
L
106532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10654
10655 * elf/elf.h (R_X86_64_RELATIVE64): New.
10656 (R_X86_64_NUM): Updated.
10657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10658 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10659 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10660 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10661 tst-quad1pie tst-quad2pie
10662 (modules-names): Add tst-quadmod1 tst-quadmod2.
10663 ($(objpfx)tst-quad1): New dependency.
10664 ($(objpfx)tst-quad2): Likewise.
10665 ($(objpfx)tst-quad1pie): Likewise.
10666 ($(objpfx)tst-quad2pie): Likewise.
10667 * sysdeps/x86_64/tst-quad1.c: New file.
10668 * sysdeps/x86_64/tst-quad1pie.c: New file.
10669 * sysdeps/x86_64/tst-quad2.c: Likewise.
10670 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10671 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10672 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10673 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10674 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10675
f34d6f84
ST
106762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10677
f42d41d1
ST
10678 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10679 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10680 * streams/stropts.h (t_scalar_t): Define type.
10681
3c3571fc
ST
10682 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10683 (_PATH_PRESERVE): Set to "/var/lib".
10684 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10685
61f06bd3
ST
10686 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10687 instead of int.
10688
918d4d71
ST
10689 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10690 if __dir_mkfile succeeded.
10691
f34d6f84
ST
10692 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10693 checking for _hurd_dtablesize. Unlock it right after having
10694 finished _hurd_dtable allocation.
10695
10589b4a
TS
106962012-05-10 Thomas Schwinge <thomas@schwinge.name>
10697
674cdbc7
TS
10698 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10699 * sysdeps/mach/hurd/configure: Regenerated.
10700 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10701 special-casing to...
10702 * sysdeps/gnu/configure.in: ... this new file.
10703 * sysdeps/unix/sysv/linux/configure: Regenerated.
10704 * sysdeps/gnu/configure: New generated file.
10705
8e41b99f
TS
10706 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10707 for Linux: use nsec instead of usec, as well as:
10708 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10709 members of type struct timespec.
10710 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10711 New macros.
10712 (struct stat64): Likewise.
10713 (_STATBUF_ST_NSEC): New macro.
10714 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10715
10589b4a
TS
10716 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10717 __strtoul_internal rather than strtoul.
10718
63643c85
PT
107192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10720
10721 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10722 and reject them.
10723
3faebe6a
ST
107242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10725
10726 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10727 which preserves existing values.
10728 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10729
c6474b07
PT
107302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10731
10732 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10733 TIMEOUT values. Return EINVAL for NFDS values either negative or
10734 greater than FD_SETSIZE.
10735
1043890b
ST
107362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10737
10738 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10739 allocated, call __vm_protect to finish enabling the existing space, and
10740 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10741 allocate the remainder.
10742
37ed8b9b
PT
107432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10744
10745 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10746 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10747
db653660
ST
107482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10749
37ed8b9b
PT
10750 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10751 sysdeps/mach/hurd/readlink.c.
b29d4053 10752
db653660
ST
10753 * posix/tst-sysconf.c (posix_options): Only use
10754 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10755 _POSIX_SYNCHRONIZED_IO when they are defined
10756 * sysdeps/mach/hurd/bits/posix_opt.h:
10757 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10758 (_XOPEN_REALTIME): Undefine macro.
10759 (_XOPEN_REALTIME_THREADS): Undefine macro.
10760 (_XOPEN_SHM): Undefine macro.
10761 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10762 macro to -1.
10763 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10764 macro to -1.
10765 (_POSIX_ASYNC_IO): Undefine macro.
10766 (_POSIX_PRIORITIZED_IO): Undefine macro.
10767 (_POSIX_SPIN_LOCKS): Define macro to -1.
10768
ee16e894
ST
10769 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10770 SA_NODEFER, SA_RESETHAND.
10771 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10772 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10773 F_DUPFD_CLOEXEC.
10774
6103ae3b
TS
107752012-05-10 Thomas Schwinge <thomas@schwinge.name>
10776
10777 * elf/Makefile (pldd-modules): Define unconditionally.
10778
80b4e5f3
TS
107792012-05-10 Thomas Schwinge <thomas@schwinge.name>
10780
10781 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10782
edadcbd6
ST
107832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10784
10785 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10786 Return ENOENT when name is empty.
10787 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10788
80694780
TS
107892012-05-10 Thomas Schwinge <thomas@schwinge.name>
10790
1792c087
TS
10791 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10792
80694780
TS
10793 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10794
6b645f0d
ST
107952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10796
80694780
TS
10797 Fix mlock in all cases except non-readable pages.
10798 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10799 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10800
6b645f0d
ST
10801 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10802 (__mkdir): When path is `/', just fail with EEXIST.
10803 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10804
e468f8a3
TS
108052012-05-10 Thomas Schwinge <thomas@schwinge.name>
10806
10807 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10808 <sys/uio.h> (for writev).
10809 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10810 and <sys/param.h> (for MIN).
10811
a4186cff
PT
108122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10813
10814 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10815 REQUESTED_TIME. Properly set the remaining time and return EINTR
10816 if interrupted.
10817
510bbf14
TS
108182012-05-10 Thomas Schwinge <thomas@schwinge.name>
10819
10820 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10821 Depend on against $(link-rpcuserlibs).
10822
5d5722e8
ST
108232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10824
a4186cff
PT
10825 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10826 (__libc_stack_end): Do not use attribute_relro.
10827 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10828 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10829 to libthread-provided value.
a4186cff
PT
10830 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10831 attribute_relro.
5d5722e8 10832
37233df9
TS
108332012-05-10 Thomas Schwinge <thomas@schwinge.name>
10834
be971a2b
TS
10835 [BZ #3748]
10836 * bits/libc-lock.h (__libc_once_get): New macro.
10837 * sysdeps/mach/bits/libc-lock.h: Likewise.
10838 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10840 instead of using implementation details.
10841
37233df9
TS
10842 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10843 * libio/freopen.c: Likewise.
10844 * libio/freopen64.c: Likewise.
10845 * misc/syslog.c: Likewise.
10846 * nscd/connections.c: Likewise.
10847 * nscd/netgroupcache.c: Likewise.
10848 * sysdeps/posix/getcwd.c: Likewise.
10849
38de94a5
RM
108502012-05-10 Roland McGrath <roland@hack.frob.com>
10851
10852 * math/w_ilogbf.c: Add #include <limits.h>.
10853
67530489
ST
108542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10855
a4186cff 10856 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10857 path instead of returning without unlocking.
10858
67530489
ST
10859 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10860 immediate-write ioctls.
10861 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10862
5aa3a74a
TS
108632012-05-10 Thomas Schwinge <thomas@schwinge.name>
10864
18bad2ae
TS
10865 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10866 __builtin_frame_address instead of making assumptions about the
10867 location of the return address relative to DATA. Force early load of
10868 the return address.
10869 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10870 __builtin_frame_address.
10871
5aa3a74a
TS
10872 dup3 for GNU Hurd.
10873 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10874 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10875 implement dup3 and do some further code clean-ups.
10876 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10877 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10878
ecd0de9a
ST
108792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10880
cd9fa985
ST
10881 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10882
a4186cff
PT
10883 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10884 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10885 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10886 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10887 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10888 d->port.lock.
802ca5a5 10889
a4186cff
PT
10890 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10891 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10892 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10893
bcf55240
TS
108942012-05-10 Thomas Schwinge <thomas@schwinge.name>
10895
6960eb42
TS
10896 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10897 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10898 definitions.
10899
eb43375f
TS
10900 accept4 for GNU Hurd.
10901 * include/sys/socket.h (__libc_accept4): New prototype.
10902 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10903 to implement __libc_accept4.
10904 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10905 __libc_accept4.
10906 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10907
bcf55240
TS
10908 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10909 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10910 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10911 signal-defines.sym.
10912
6178c55b
ST
109132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10914
a4186cff 10915 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10916
6f080c2f
TS
109172012-05-10 Thomas Schwinge <thomas@schwinge.name>
10918
10919 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10920 assertion on O_CLOEXEC flag.
10921 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10922 * hurd/intern-fd.c: Likewise.
10923 * hurd/port2fd.c: Likewise.
10924
bcfe3a54
ST
109252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10926
10927 [BZ #3906]
10928 * bits/in.h (IPV6_PKTINFO): Define new macro.
10929 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10930
89c9aa49
AZ
109312012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10932
10933 [BZ #13954]
10934 [BZ #13955]
10935 [BZ #13956]
10936 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10937 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10938 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10939 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10940 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10941 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10942 * math/libm-test.inc (logb_test) : Additional logb tests.
10943
021db4be
AJ
109442012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10945 Andreas Jaeger <aj@suse.de>
10946
10947 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10948 * configure: Regenerated.
10949 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10950 * config.make.in (link-obsolete-rpc): New substituted variable.
10951 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10952 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10953 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10954 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10955 so that libc.a contains the symbols.
10956 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10957 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10958 * sunrpc/auth_none.c: Likewise.
10959 * sunrpc/auth_unix.c: Likewise.
10960 * sunrpc/authdes_prot.c: Likewise.
10961 * sunrpc/authuxprot.c: Likewise.
10962 * sunrpc/clnt_gen.c: Likewise.
10963 * sunrpc/clnt_perr.c: Likewise.
10964 * sunrpc/clnt_raw.c: Likewise.
10965 * sunrpc/clnt_simp.c: Likewise.
10966 * sunrpc/clnt_tcp.c: Likewise.
10967 * sunrpc/clnt_udp.c: Likewise.
10968 * sunrpc/clnt_unix.c: Likewise.
10969 * sunrpc/des_crypt.c: Likewise.
10970 * sunrpc/des_soft.c: Likewise.
10971 * sunrpc/get_myaddr.c: Likewise.
10972 * sunrpc/key_call.c: Likewise.
10973 * sunrpc/key_prot.c: Likewise.
10974 * sunrpc/netname.c: Likewise.
10975 * sunrpc/pm_getmaps.c: Likewise.
10976 * sunrpc/pm_getport.c: Likewise.
10977 * sunrpc/pmap_clnt.c: Likewise.
10978 * sunrpc/pmap_prot.c: Likewise.
10979 * sunrpc/pmap_prot2.c: Likewise.
10980 * sunrpc/pmap_rmt.c: Likewise.
10981 * sunrpc/publickey.c: Likewise.
10982 * sunrpc/rpc_cmsg.c: Likewise.
10983 * sunrpc/rpc_common.c: Likewise.
10984 * sunrpc/rpc_dtable.c: Likewise.
10985 * sunrpc/rpc_prot.c: Likewise.
10986 * sunrpc/rpc_thread.c: Likewise.
10987 * sunrpc/rtime.c: Likewise.
10988 * sunrpc/svc.c: Likewise.
10989 * sunrpc/svc_auth.c: Likewise.
10990 * sunrpc/svc_raw.c: Likewise.
10991 * sunrpc/svc_run.c: Likewise.
10992 * sunrpc/svc_tcp.c: Likewise.
10993 * sunrpc/svc_udp.c: Likewise.
10994 * sunrpc/svc_unix.c: Likewise.
10995 * sunrpc/svcauth_des.c: Likewise.
10996 * sunrpc/xcrypt.c: Likewise.
10997 * sunrpc/xdr.c: Likewise.
10998 * sunrpc/xdr_array.c: Likewise.
10999 * sunrpc/xdr_float.c: Likewise.
11000 * sunrpc/xdr_intXX_t.c: Likewise.
11001 * sunrpc/xdr_mem.c: Likewise.
11002 * sunrpc/xdr_rec.c: Likewise.
11003 * sunrpc/xdr_ref.c: Likewise.
11004 * sunrpc/xdr_sizeof.c: Likewise.
11005 * sunrpc/xdr_stdio.c: Likewise.
11006
b5c086a2
RM
110072012-05-10 Roland McGrath <roland@hack.frob.com>
11008
11009 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11010 change. Update copyright years.
11011
6d74dd09
JM
110122012-05-10 Joseph Myers <joseph@codesourcery.com>
11013
11014 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11015
28e72501
MK
110162012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11017 Joseph Myers <joseph@codesourcery.com>
11018 Paul Pluzhnikov <ppluzhnikov@google.com>
11019
11020 [BZ #14012]
11021 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11022 requiring rpcgen.
11023 [cross-compiling] (extra-libs): Likewise.
11024 [cross-compiling] (extra-libs-others): Likewise.
11025 [cross-compiling] (librpcsvc-routines): Likewise.
11026 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11027 [cross-compiling] (omit-deps): Likewise.
11028 (sunrpc-CPPFLAGS): New variable.
11029 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11030 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11031 (cross-rpcgen-objs): New variable.
11032 (extra-objs): Append $(cross-rpcgen-objs).
11033 ($(cross-rpcgen-objs)): New rule.
11034 ($(objpfx)cross-rpcgen): Likewise.
11035 (rpcgen-cmd): Define to use $(built-program-file). Expand
11036 comment.
11037 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11038 ($(objpfx)x%.stmp): Likewise.
11039 * sunrpc/proto.h [IS_IN_build] (_): Define.
11040 [IS_IN_build] (_libc_intl_domainname): Likewise.
11041
c8c59454
L
110422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11043
11044 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11045 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11046 and R_X86_64_TPOFF64.
11047
6f27cd16
JM
110482012-05-10 Joseph Myers <joseph@codesourcery.com>
11049
11050 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11051 sysdeps/unix/sysv/syscalls.list.
11052 (stime): Likewise.
11053 (utime): Likewise.
11054 * sysdeps/unix/sysv/syscalls.list: Remove file.
11055
02467e1c
PE
110562012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11057
11058 [BZ #3440]
11059 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11060 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11061 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11062 (__LC_IDENTIFICATION): Make these macros useful in #if
11063 expressions, as required by C99.
11064
da392631
AS
110652012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11066
11067 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11068 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11069 after this.
11070
8115f29b
L
110712012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11072
11073 * stdlib/longlong.h: Updated from GCC.
11074
bdd74070
AJ
110752012-05-09 Andreas Jaeger <aj@suse.de>
11076
edfe0dbe
AJ
11077 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11078 default is first entry.
11079 (run_mode): Set type.
11080 (main): Remove informal message about syslog.
11081 (options): Fix typo.
11082
bcfe3a54
ST
11083 [BZ #14053]
11084 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11085 to asm.
bcfe3a54
ST
11086 (lrint): Likewise.
11087 (llrintf): Likewise.
11088 (llrint): Likewise.
11089 (rint): Likewise.
11090 (rintf): Likewise.
11091 (nearbyint): Likewise.
11092 (nearbyintf): Likewise.
bdd74070 11093
91d8d69e
AJ
110942012-05-09 Andreas Jaeger <aj@suse.de>
11095 Pedro Alves <palves@redhat.com>
11096
11097 * nscd/nscd.c (run_mode): Use enum.
11098 (main): Cleanup coding style issue.
11099
bb90b80b
AJ
111002012-05-09 Alexandre Oliva <aoliva@redhat.com>
11101 Andreas Jaeger <aj@suse.de>
11102
bcfe3a54
ST
11103 * nscd/nscd.c (go_background): Replaced with...
11104 (run_mode): ... this.
bb90b80b 11105 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11106 (options): Add -F --foreground.
11107 (main): Implement it.
11108 (parse_opt): Parse it.
bb90b80b 11109
1a4b75a1
AJ
111102012-05-09 Andreas Jaeger <aj@suse.de>
11111
11112 [BZ #14083]
11113 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11114 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11115 -Wconversion warning.
11116 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11117 Likewise.
11118
b1cc2472
JM
111192012-05-09 Joseph Myers <joseph@codesourcery.com>
11120
11121 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11122 == 0.
11123 (LC_ALL): Use macro-int-constant.
11124 (LC_COLLATE): Likewise.
11125 (LC_CTYPE): Likewise.
11126 (LC_MESSAGES): Likewise.
11127 (LC_MONETARY): Likewise.
11128 (LC_NUMERIC): Likewise.
11129 (LC_TIME): Likewise.
11130 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11131 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11132 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11133 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11134 Specify type.
11135 [C99-based standards] (float_t): Expect type.
11136 [C99-based standards] (double_t): Expect type.
11137 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11138 type.
11139 [C99-based standards] (HUGE_VALL): Likewise.
11140 [C99-based standards] (INFINITY): Likewise.
11141 [C99-based standards] (NAN): Likewise.
11142 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11143 [C99-based standards] (FP_NAN): Likewise.
11144 [C99-based standards] (FP_NORMAL): Likewise.
11145 [C99-based standards] (FP_SUBNORMAL): Likewise.
11146 [C99-based standards] (FP_ZERO): Likewise.
11147 [C99-based standards] (FP_FAST_FMA): Use
11148 optional-macro-int-constant. Specify type. Require == 1.
11149 [C99-based standards] (FP_FAST_FMAF): Likewise.
11150 [C99-based standards] (FP_FAST_FMAL): Likewise.
11151 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11152 [C99-based standards] (FP_ILOGBNAN): Likewise.
11153 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11154 Specify type.
11155 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11156 [C99-based standards] (math_errhandling): Specify type.
11157 [ISO99 || ISO11] (signgam): Do not allow.
11158 [non-C99-based standards] (copysignf): Do not allow.
11159 [non-C99-based standards] (exp2f): Likewise.
11160 [non-C99-based standards] (log2f): Likewise.
11161 [non-C99-based standards] (modff): Allow.
11162 [non-C99-based standards] (erff): Do not allow.
11163 [non-C99-based standards] (erfcf): Likewise.
11164 [non-C99-based standards] (gammaf): Likewise.
11165 [non-C99-based standards] (hypotf): Likewise.
11166 [non-C99-based standards] (j0f): Likewise.
11167 [non-C99-based standards] (j1f): Likewise.
11168 [non-C99-based standards] (jnf): Likewise.
11169 [non-C99-based standards] (lgammaf): Likewise.
11170 [non-C99-based standards] (tgammaf): Likewise.
11171 [non-C99-based standards] (y0f): Likewise.
11172 [non-C99-based standards] (y1f): Likewise.
11173 [non-C99-based standards] (ynf): Likewise.
11174 [non-C99-based standards] (isnanf): Likewise.
11175 [non-C99-based standards] (acoshf): Likewise.
11176 [non-C99-based standards] (asinhf): Likewise.
11177 [non-C99-based standards] (atanhf): Likewise.
11178 [non-C99-based standards] (cbrtf): Likewise.
11179 [non-C99-based standards] (expm1f): Likewise.
11180 [non-C99-based standards] (ilogbf): Likewise.
11181 [non-C99-based standards] (log1pf): Likewise.
11182 [non-C99-based standards] (logbf): Likewise.
11183 [non-C99-based standards] (nextafterf): Likewise.
11184 [non-C99-based standards] (remainderf): Likewise.
11185 [non-C99-based standards] (rintf): Likewise.
11186 [non-C99-based standards] (scalbf): Likewise.
11187 [non-C99-based standards] (copysignl): Likewise.
11188 [non-C99-based standards] (exp2l): Likewise.
11189 [non-C99-based standards] (log2l): Likewise.
11190 [non-C99-based standards] (modfl): Allow.
11191 [non-C99-based standards] (erfl): Do not allow.
11192 [non-C99-based standards] (erfcl): Likewise.
11193 [non-C99-based standards] (gammal): Likewise.
11194 [non-C99-based standards] (hypotl): Likewise.
11195 [non-C99-based standards] (j0l): Likewise.
11196 [non-C99-based standards] (j1l): Likewise.
11197 [non-C99-based standards] (jnl): Likewise.
11198 [non-C99-based standards] (lgammal): Likewise.
11199 [non-C99-based standards] (tgammal): Likewise.
11200 [non-C99-based standards] (y0l): Likewise.
11201 [non-C99-based standards] (y1l): Likewise.
11202 [non-C99-based standards] (ynl): Likewise.
11203 [non-C99-based standards] (isnanl): Likewise.
11204 [non-C99-based standards] (acoshl): Likewise.
11205 [non-C99-based standards] (asinhl): Likewise.
11206 [non-C99-based standards] (atanhl): Likewise.
11207 [non-C99-based standards] (cbrtl): Likewise.
11208 [non-C99-based standards] (expm1l): Likewise.
11209 [non-C99-based standards] (ilogbl): Likewise.
11210 [non-C99-based standards] (log1pl): Likewise.
11211 [non-C99-based standards] (logbl): Likewise.
11212 [non-C99-based standards] (nextafterl): Likewise.
11213 [non-C99-based standards] (remainderl): Likewise.
11214 [non-C99-based standards] (rintl): Likewise.
11215 [non-C99-based standards] (scalbl): Likewise.
11216 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11217 [non-C99-based standards] (FP_*): Do not allow.
11218 [C99-based standards] (FP_*): Change to
11219 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11220 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11221 allow.
11222 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11223 (SIG_ERR): Likewise.
11224 [X/Open-based standards] (SIG_HOLD): Likewise.
11225 (SIG_IGN): Likewise.
11226 (SIGABRT): Use macro-int-constant. Specify type. Require
11227 positive value.
11228 (SIGFPE): Likewise.
11229 (SIGILL): Likewise.
11230 (SIGINT): Likewise.
11231 (SIGSEGV): Likewise.
11232 (SIGTER): Likewise.
11233 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11234 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11235 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11236 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11237 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11238 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11239 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11240 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11241 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11242 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11243 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11244 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11245 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11246 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11247 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11248 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11249 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11250 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11251 [X/Open-based standards] (SIGTRAP): Likewise.
11252 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11253 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11254 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11255 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11256 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11257 allow.
11258
b9f1922d
IW
112592012-05-08 Ian Wienand <ianw@vmware.com>
11260
11261 [BZ #14080]
11262 * time/tzset.c (__tzset_parse_tz): Update default rules for
11263 daylight time changes in the Energy Policy Act of 2005.
11264
1db86e88
AJ
112652012-05-09 Andreas Jaeger <aj@suse.de>
11266
11267 [BZ #13983]
11268 * elf/ldconfig.c (parse_conf): Change string to make clear that
11269 ldconfig only issued a warning if ld.so.conf does not exist.
11270
dee4a4e3
DM
112712012-05-08 David S. Miller <davem@davemloft.net>
11272
ee0db190
DM
11273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11274 movxtod instead of popping the value on the stack.
11275
dee4a4e3
DM
11276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11277
6a43ec98
CD
112782012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11279
11280 * config.h.in: Add HAVE_ARM_PCS_VFP.
11281
05c2c961
RMG
112822012-05-08 Roland Mc Grath <roland@hack.frob.com>
11283
bcfe3a54
ST
11284 [BZ #13979]
11285 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11286 checking but the checks are disabled for any reason.
05c2c961 11287
4b30f61a
L
112882012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11289
11290 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11291 and ELF64_R_TYPE with ELFW(R_TYPE).
11292
eee2bc67
JM
112932012-05-08 Joseph Myers <joseph@codesourcery.com>
11294
7ea5391a
JM
11295 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11296 (ulimit): Likewise.
11297
eee2bc67
JM
11298 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11299 (settimeofday): Likewise.
11300
abb66a67
MF
113012012-05-08 Mike Frysinger <vapier@gentoo.org>
11302
11303 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11304 a struct th_u2 inside the union, and move tu_block/tu_code into
11305 a new th_u3 union of tu_block/tu_code inside of that. Move
11306 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11307 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11308 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11309 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11310 (th_stuff): Change to th_u1.tu_stuff.
11311 (th_data): Define.
11312 (th_msg): Change to th_u1.th_u2.tu_data.
11313
7f18b530
DM
113142012-05-07 David S. Miller <davem@davemloft.net>
11315
05760585
DM
11316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11317
7f18b530
DM
11318 [BZ #14074]
11319 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11320 (SETUP_PIC_REG): Use it.
11321 (SETUP_PIC_REG_LEAF): Use it.
11322
495fd99f
JM
113232012-05-07 Joseph Myers <joseph@codesourcery.com>
11324
11325 [BZ #13885]
11326 [BZ #13923]
11327 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11328 USE_AS_EXPM1L.
11329 (EXPL_FINITE): Likewise.
11330 (FLDLOG): Likewise.
11331 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11332 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11333 e_expl.S.
11334 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11335 USE_AS_EXPM1L.
11336 (EXPL_FINITE): Likewise.
11337 (FLDLOG): Likewise.
11338 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11339 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11340 e_expl.S.
11341 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11342 test of -max_value argument for long double.
11343 * sysdeps/i386/fpu/libm-test-ulps: Update.
11344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11345
6693d694
DM
113462012-05-06 David S. Miller <davem@davemloft.net>
11347
11348 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11349 quad soft-float symbols whose references which are compiler
11350 generated.
11351 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11352
6c23e11c
JM
113532012-05-06 Joseph Myers <joseph@codesourcery.com>
11354
d8b82cad
JM
11355 [BZ #13884]
11356 [BZ #13914]
11357 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11358 USE_AS_EXP10L.
11359 (EXPL_FINITE): Likewise.
11360 (FLDLOG): Likewise.
11361 (c0): Likewise.
11362 (c1): Likewise.
11363 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11364 Adjust comments for base varying.
11365 (__expl_finite): Change alias to EXPL_FINITE.
11366 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11367 e_expl.S.
11368 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11369 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11371 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11372 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11373 USE_AS_EXP10L.
11374 (EXPL_FINITE): Likewise.
11375 (FLDLOG): Likewise.
11376 (c0): Likewise.
11377 (c1): Likewise.
11378 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11379 Adjust comments for base varying.
11380 (__expl_finite): Change alias to EXPL_FINITE.
11381 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11382 tests for bugs.
11383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11384
6c23e11c
JM
11385 [BZ #14064]
11386 * math/libm-test.inc (check_float_internal): Correct ulp
11387 calculation for subnormal expected results.
11388
29ba805c
AJ
113892012-05-06 Andreas Jaeger <aj@suse.de>
11390
11391 * Makeconfig (+math-flags): New, set to -frounding-math.
11392 (+cflags): Add +math-flags so that all of glibc gets compiled with
11393 it.
11394
11395 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11396
7b17aeda
JM
113972012-05-05 Joseph Myers <joseph@codesourcery.com>
11398
5779f134
JM
11399 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11400 Disable one test.
11401
41498f4d
JM
11402 [BZ #13787]
11403 [BZ #13922]
11404 [BZ #14036]
11405 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11406 (__ieee754_expl): Allow for and saturate large arguments.
11407 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11408 (u_threshold): Likewise.
11409 (__exp): Call __ieee754_exp before checking for overflow and
11410 underflow.
11411 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11412 (u_threshold): Likewise.
11413 (__expf): Call __ieee754_expf before checking for overflow and
11414 underflow.
11415 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11416 (u_threshold): Likewise.
11417 (__expl): Call __ieee754_expl before checking for overflow and
11418 underflow.
11419 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11420 (__ieee754_expl): Allow for and saturate large arguments.
11421 * math/libm-test.inc (exp_test): Add another test. Do not allow
11422 missing overflow exception on overflow.
11423 (expm1_test): Do not allow missing overflow exception on overflow.
11424
6698b8bf
JM
11425 * sysdeps/i386/fpu/e_expl.c: Move to ...
11426 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11427 rather than using inline asm.
11428 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11429 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11430 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11431
7b17aeda
JM
11432 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11433 (nice): Likewise.
11434 (poll): Likewise.
11435 (signal): Likewise.
11436 (time): Likewise.
11437 (times): Likewise.
11438
f7c85819
JM
114392012-05-04 Joseph Myers <joseph@codesourcery.com>
11440
11441 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11442 sysdeps/unix/common/syscalls.list.
11443 (fchmod): Likewise.
11444 (fchown): Likewise.
11445 (ftruncate): Likewise.
11446 (getrusage): Likewise.
11447 (gettimeofday): Likewise.
11448 (setpgid): Likewise.
11449 (setregid): Likewise.
11450 (setreuid): Likewise.
11451 (sigaction): Likewise.
11452 (truncate): Likewise.
11453 (vhangup): Likewise.
11454 * sysdeps/unix/common/syscalls.list: Remove file.
11455 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11456 * sysdeps/unix/sysv/linux/Implies: Likewise.
11457
336270d0
L
114582012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11459
11460 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11462 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11463 Moved to ...
11464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11465 Here.
11466 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11467 to ...
11468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11469 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11470 to ...
11471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11472 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11473 to ...
11474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11475 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11476 to ...
11477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11478 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11479 to ...
11480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11481 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11482 to ...
11483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11484 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11485 to ...
11486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11487 Here.
11488 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11489 to ...
11490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11491 Here.
11492 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11493 to ...
11494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11495 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11496 Moved to ...
11497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11498 Here.
11499 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11500 to ...
11501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11502
d128e450
JM
115032012-05-04 Joseph Myers <joseph@codesourcery.com>
11504
fa8ee516
JM
11505 * sysdeps/unix/common/bits/dirent.h: Remove file.
11506 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11507
d128e450
JM
11508 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11509 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11510 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11511 * sysdeps/unix/bsd/isatty.c: Likewise.
11512 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11513 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11514 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11515
ff8faaf0 115162012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11517
62881be4 11518 [BZ #13563]
31dc8730
AZ
11519 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11520 long double comparison inaccuracies.
11521 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11523
6fef930c
AS
115242012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11525
11526 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11527 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11528
8f203e6c
JM
115292012-05-04 Joseph Myers <joseph@codesourcery.com>
11530
11531 [BZ #14049]
11532 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11533 nonzero digits before rounding a hex value.
11534 * stdlib/tst-strtod.c (tests): Add another test.
11535
5197d9c2
AK
115362012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11537
11538 * sysdeps/s390/fpu/libm-test-ulps: Update.
11539
f0c1dedf
AJ
115402012-05-03 Andreas Jaeger <aj@suse.de>
11541
11542 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11543 does not get optimized out.
11544 (malloc_opt_barrier): New.
11545
a65ef2ae 115462012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11547 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11548
2b942cb7 11549 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11550 intermediate file deletion.
2b942cb7 11551 (generated): Add .symlist files.
a65ef2ae 11552
54b71e02
JM
115532012-05-03 Joseph Myers <joseph@codesourcery.com>
11554
11555 [BZ #13775]
11556 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11557 Redirect under this condition.
11558 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11559 [__USE_GNU] (__dprintf_chk): Not under this condition.
11560 [__USE_GNU] (__vdprintf_chk): Likewise.
11561 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11562 under this condition.
11563 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11564 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11565 [__USE_XOPEN2K8] (vdprintf): Likewise.
11566 [__USE_GNU] (__dprintf_chk): Not under this condition.
11567 [__USE_GNU] (__vdprintf_chk): Likewise.
11568 [__USE_GNU] (dprintf): Likewise.
11569 [__USE_GNU] (vdprintf): Likewise.
11570
d3dfcc41
RM
115712012-05-03 Roland McGrath <roland@hack.frob.com>
11572
11573 * elf/Makefile (common-generated): Set this instead of generated for
11574 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11575 $(all-built-dso)-derived lists.
11576
7ac30cc5
AJ
115772012-05-03 Andreas Jaeger <aj@suse.de>
11578
0c51e550
AJ
11579 * sysdeps/i386/fpu/libm-test-ulps: Update.
11580
7ac30cc5
AJ
11581 * FAQ: Removed.
11582 * FAQ.in: Likewise.
11583 * scripts/gen-FAQ.pl: Likewise.
11584 * manual/install.texi (Installation): Point to online location of
11585 FAQ.
11586 * Makefile (files-for-dist): Remove FAQ.
11587 (FAQ): Remove.
11588
d4c2917f
AM
115892012-05-02 Allan McRae <allan@archlinux.org>
11590
11591 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11592 (LDFLAGS-reldepmod5.so): Likewise.
11593 (LDFLAGS-reldep6mod1.so): Likewise.
11594 (LDFLAGS-reldep6mod4.so): Likewise.
11595 (LDFLAGS-reldep8mod3.so): Likewise.
11596 (LDFLAGS-unload4mod1.so): Likewise.
11597 (LDFLAGS-unload4mod2.so): Likewise.
11598 (LDFLAGS-tst-initorder): Likewise.
11599 (LDFLAGS-tst-initordera2.so): Likewise.
11600 (LDFLAGS-tst-initordera3.so): Likewise.
11601 (LDFLAGS-tst-initordera4.so): Likewise.
11602 (LDFLAGS-tst-initorderb2.so): Likewise.
11603 (LDFLAGS-noload): Likewise.
11604 (LDFLAGS-next): Likewise.
11605 (LDFLAGS-order2mod1.so): Likewise.
11606 (LDFLAGS-order2mod2.so): Likewise.
11607 (LDFLAGS-tst-initorder2): Likewise.
11608 (LDFLAGS-tst-initorder2a.so): Likewise.
11609 (LDFLAGS-tst-initorder2b.so): Likewise.
11610 (LDFLAGS-tst-initorder2c.so): Likewise.
11611 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11612
d77f993f
DM
116132012-05-02 David S. Miller <davem@davemloft.net>
11614
11615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11616
171a70b4
PP
116172012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11618
11619 [BZ #14055]
11620 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11621
0be196ad
AJ
116222012-05-02 Andreas Jaeger <aj@suse.de>
11623
11624 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11625 since we manipulate rounding mode.
11626 (CPPFLAGS-test-idouble.c): Likewise.
11627 (CPPFLAGS-test-ifloat.c): Likewise.
11628 (CFLAGS-test-ldouble.c): Likewise.
11629 (CFLAGS-test-double.c): Likewise.
11630 (CFLAGS-test-float.c): Likewise.
11631 (CFLAGS-test-misc.c): Likewise.
11632 (CFLAGS-test-test-fenv.c): Likewise.
11633
4f9d04aa
AZ
116342012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11635
2b942cb7
RM
11636 [BZ #2550]
11637 [BZ #2570]
11638 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11639 comparisons to determine direction to adjust input.
4f9d04aa 11640
82a79e7d
RM
116412012-05-01 Roland McGrath <roland@hack.frob.com>
11642
f5a01ca9
RM
11643 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11644 output to the target.
11645
90fe4186
RM
11646 * scripts/localplt.awk: New file.
11647 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11648 (check-localplt-CFLAGS): Variable removed.
11649 ($(all-built-dso:=.jmprel)): New static pattern rule.
11650 (generated): Add those targets.
11651 (localplt-built-dso): New variable.
11652 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11653
11654 * elf/check-localplt.c: File removed.
11655
82397ed6
RM
11656 * scripts/check-execstack.awk: New file.
11657 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11658 (check-execstack-CFLAGS): Variable removed.
11659 ($(objpfx)check-execstack.h): Target removed.
11660 ($(objpfx)execstack-default): New target.
11661 (generated): Add that instead of check-execstack.h.
11662 ($(all-built-dso:=.phdr)): New static pattern rule.
11663 (generated): Add those targets.
11664 * elf/check-execstack.c: File removed.
11665
82a79e7d
RM
11666 * scripts/check-textrel.awk: New file.
11667 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11668 (check-textrel-CFLAGS): Variable removed.
11669 (all-built-dso): Use := to define.o
11670 ($(all-built-dso:=.dyn)): New static pattern rule.
11671 (generated): Add those targets.
11672 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11673 * config.make.in (READELF): New substituted variable.
11674 * elf/check-textrel.c: File removed.
11675
62fde54f 116762012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11677
615605c9
JM
11678 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11679 allow.
11680 * conform/data/ctype.h-data [C99-based standards] (isblank):
11681 Expect function.
11682 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11683 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11684 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11685 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11686 Specify type. Require positive value.
11687 (EILSEQ): Likewise.
11688 (ERANGE): Likewise.
11689 [ISO || POSIX] (EILSEQ): Do not expect.
11690 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11691 Specify type. Require positive value.
11692 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11693 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11694 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11695 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11696 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11697 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11698 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11699 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11700 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11701 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11702 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11703 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11704 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11705 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11706 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11707 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11708 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11709 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11710 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11711 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11712 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11713 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11714 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11715 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11716 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11717 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11718 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11719 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11720 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11721 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11722 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11723 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11724 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11725 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11726 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11727 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11728 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11729 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11730 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11731 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11732 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11733 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11734 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11735 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11736 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11737 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11738 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11739 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11740 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11741 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11742 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11743 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11744 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11745 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11746 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11747 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11748 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11749 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11750 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11751 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11752 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11753 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11754 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11755 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11756 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11757 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11758 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11759 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11760 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11761 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11762 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11763 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11764 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11765 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11766 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11767 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11768 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11769 Require >= 2.
11770 (FLT_ROUNDS): Expect as macro, not constant.
11771 (FLT_MANT_DIG): Use macro-int-constant.
11772 (DBL_MANT_DIG): Likewise.
11773 (LDBL_MANT_DIG): Likewise.
11774 (FLT_DIG): Likewise.
11775 (DBL_DIG): Likewise.
11776 (LDBL_DIG): Likewise.
11777 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11778 (DBL_MIN_EXP): Likewise.
11779 (LDBL_MIN_EXP): Likewise.
11780 (FLT_MAX_EXP): Use macro-int-constant.
11781 (DBL_MAX_EXP): Likewise.
11782 (LDBL_MAX_EXP): Likewise.
11783 (FLT_MAX_10_EXP): Likewise.
11784 (DBL_MAX_10_EXP): Likewise.
11785 (LDBL_MAX_10_EXP): Likewise.
11786 (FLT_MAX): Use macro-constant.
11787 (DBL_MAX): Likewise.
11788 (LDBL_MAX): Likewise.
11789 (FLT_EPSILON): Use macro-constant. Give upper bound.
11790 (DBL_EPSILON): Likewise.
11791 (LDBL_EPSILON): Likewise.
11792 (FLT_MIN): Likewise.
11793 (DBL_MIN): Likewise.
11794 (LDBL_MIN): Likewise.
11795 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11796 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11797 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11798 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11799 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11800 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11801 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11802 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11803 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11804 [ISO11] (FLT_TRUE_MIN): Likewise.
11805 [ISO11] (LDBL_TRUE_MIN): Likewise.
11806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11807 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11808 (SCHAR_MIN): Use macro-int-constant. Specify type.
11809 (SCHAR_MAX): Likewise.
11810 (UCHAR_MAX): Likewise.
11811 (CHAR_MIN): Likewise.
11812 (CHAR_MAX): Likewise.
11813 (MB_LEN_MAX): Use macro-int-constant.
11814 (SHRT_MIN): Use macro-int-constant. Specify type.
11815 (SHRT_MAX): Likewise.
11816 (USHRT_MAX): Likewise.
11817 (INT_MAX): Likewise.
11818 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11819 bound negative.
11820 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11821 bound with "U".
11822 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11823 bound with "L".
11824 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11825 bound negative. Suffix upper bound with "L".
11826 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11827 bound with "UL".
11828 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11829 Specify type.
11830 [C99-based standards] (LLONG_MAX): Likewise.
11831 [C99-based standards] (ULLONG_MAX): Likewise.
11832 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11833 == 0.
11834 [ISO11] (max_align_t): Require type.
11835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11836
c9140a62
JM
11837 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11838 from $CFLAGS, without defining away __attribute__ calls.
11839 (checknamespace): Use $CFLAGS_namespace.
11840
9af0bf29
JM
11841 * conform/conformtest.pl (@keywords): Only include C99 keywords
11842 for standards based on C99 or C11.
11843
343222a2
JM
11844 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11845 Disable tests.
11846 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11847 UNIX98]: Likewise.
11848
661f8cf0
JM
11849 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11850 usability of symbols in #if.
11851
ee74b9cb
JM
11852 * conform/conformtest.pl: If macro or constant types start
11853 "promoted:", expect the symbol to be of the following type
11854 promoted by the integer promotions.
62fde54f 11855
aafc49b3
JM
11856 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11857 in one place. Also handle "macro-constant".
11858
fefdf574
JM
11859 * conform/conformtest.pl: Only accept expected macro values with
11860 "==". Parse all "macro" lines in one place.
11861 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11862
f2d922fe
JM
11863 * conform/conformtest.pl: Handle braced types on "constant" lines
11864 instead of handling "typed-constant".
11865 * conform/data/signal.h-data: Use "constant" instead of
11866 "typed-constant".
11867
d22956c9
JM
11868 * conform/conformtest.pl: Handle "optional-" at start of lines in
11869 one place rather than duplicating several cases. Handle each
11870 format of "macro" line with initial "optional-".
11871
028e2e38
JM
11872 * conform/conformtest.pl: Only accept expected constant or
11873 optional-constant values with "==". Parse all "constant" lines in
11874 one place. Parse all "optional-constant" lines in one place.
11875 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11876 * conform/data/fmtmsg.h-data: Likewise.
11877 * conform/data/netinet/in.h-data: Likewise.
11878 * conform/data/tar.h-data: Likewise.
11879 * conform/data/limits.h-data: Use "==" form on "constant" and
11880 "optional-constant" lines.
11881
1b8f2850
JM
11882 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11883 Use -std=c99 for XOPEN2K.
11884 (@knownproblems): Remove.
11885 (newtoken): Don't check %isknown.
11886
a05a144b
JM
11887 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11888 Do not expect macro.
11889 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11890 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11891 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11892 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11893 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11894 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11895 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11896 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11897 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11898 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11899 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11900 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11901 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11902 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11903 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11904 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11905 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11906 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11907 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11908 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11909 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11910 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11911 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11912 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11913 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11914 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11915 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11916 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11917 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11918 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11919 [XPG3] (acosh): Likewise.
11920 [XPG3] (asinh): Likewise.
11921 [XPG3] (atanh): Likewise.
11922 [XPG3] (cbrt): Likewise.
11923 [XPG3] (expm1): Likewise.
11924 [XPG3] (ilogb): Likewise.
11925 [XPG3] (log1p): Likewise.
11926 [XPG3] (logb): Likewise.
11927 [XPG3] (nextafter): Likewise.
11928 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11929 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11930 [XPG3] (remainder): Likewise.
11931 [XPG3] (rint): Likewise.
11932 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11933 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11934 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11935 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11936 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11937 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11938 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11939 [UNIX98 || XOPEN2K] (scalb): Expect.
11940 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11941 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11942 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11943 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11944 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11945 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11946 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11947 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11948 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11949 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11950 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11951 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11952 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11953 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11954 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11955 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11956 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11957 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11958 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11959 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11960 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11961 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11962 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11963 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11964 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11965 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11966 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11967 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11968 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11969 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11970 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11971 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11972 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11973 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11974 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11975 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11976 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11977 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11978 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11979 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11980 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11981 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11982 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11983 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11984 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11985 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11986 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11987 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11988 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11989 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11990 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11991 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11992 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11993 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11994 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11995 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11996 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11997 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11998 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11999 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12000 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12001 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12002 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12003 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12004 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12005 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12006 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12007 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12008 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12009 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12010 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12011 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12012 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12013 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12014 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12015 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12016 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12017 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12018 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12019 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12020 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12021 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12022 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12023 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12024 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12025 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12026 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12027 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12028 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12029 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12030 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12031 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12032 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12033 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12034 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12035 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12036 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12037 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12038 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12039 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12040 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12041 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12042 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12043 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12044 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12045 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12046 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12047 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12048 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12049 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12050 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12051 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12052 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12053 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12054 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12055 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12056 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12057 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12058 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12059 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12060 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12061 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12062 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12063 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12064 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12065 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12066 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12067 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12068 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12069 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12070 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12071 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12072 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12073 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12074 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12075 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12076 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12077
73c5ebe3
JM
12078 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12079 _XOPEN_SOURCE_EXTENDED for XPG4.
12080
39c33b6c
JM
12081 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12082
62fde54f
JM
12083 * Makeconfig (localtime): Remove variable.
12084 (inst_localtime-file): Likewise.
12085
0741d64c
AS
120862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12087
12088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12089 Update.
12090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12091 Update.
12092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12093 Update.
12094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12095 Update.
12096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12097 Update.
12098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12099 Update.
12100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12101 Update.
12102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12103 Update.
12104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12105 Update.
12106
7cb029ee
JM
121072012-05-01 Joseph Myers <joseph@codesourcery.com>
12108
12109 [BZ #2550]
12110 [BZ #2570]
12111 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12112 comparisons to determine direction to adjust input.
12113 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12114 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12115 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12116 Likewise.
12117 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12118 Likewise.
12119 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12120 Likewise.
12121 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12122 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12123 Likewise.
12124 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12125 Likewise.
12126 * math/libm-test.inc (nexttoward_test): Add more tests.
12127
412bd966
AS
121282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12129
12130 [BZ #14040]
12131 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12132 in version GLIBC_2.1, not GLIBC_2.0.
12133 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12134 Likewise.
12135
9568c0c2
JM
121362012-04-30 Joseph Myers <joseph@codesourcery.com>
12137
adfbc8ac
JM
12138 [BZ #13942]
12139 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12140 (1 - x) * (1 + x).
12141 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12142 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12143 * math/libm-test.inc (acos_test): Add more tests.
12144 (asin_test): Likewise.
12145 * sysdeps/i386/fpu/libm-test-ulps: Update.
12146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12147
5ba3cc69
JM
12148 [BZ #14034]
12149 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12150 of square root.
12151 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12152 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12153 * math/libm-test.inc (acos_test_tonearest): New function.
12154 (acos_test_towardzero): Likewise.
12155 (acos_test_downward): Likewise.
12156 (acos_test_upward): Likewise.
12157 (asin_test_tonearest): Likewise.
12158 (asin_test_towardzero): Likewise.
12159 (asin_test_downward): Likewise.
12160 (asin_test_upward): Likewise.
12161 (main): Call the new functions.
12162 * sysdeps/i386/fpu/libm-test-ulps: Update.
12163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12164
9568c0c2
JM
12165 [BZ #13884]
12166 [BZ #13924]
12167 * math/e_exp10.c: Include <float.h>.
12168 (__ieee754_exp10): Handle underflow here rather than multiplying
12169 large negative argument by M_LN10.
12170 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12171 of __ieee754_expf.
12172 * math/e_exp10l.c: Include <float.h>.
12173 (__ieee754_exp10l): Handle underflow here rather than multiplying
12174 large negative argument by M_LN10l.
12175 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12176 spurious overflow exception on underflow.
12177
5ac3ea17
MP
121782012-04-29 Marek Polacek <polacek@redhat.com>
12179
12180 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12181 (__fortify_function): New macro.
12182 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12183 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12184 __extern_always_inline.
12185 * libio/bits/stdio2.h: Likewise.
12186 * libio/bits/stdio.h: Likewise.
12187 * string/string.h: Likewise.
12188 * string/bits/string3.h: Likewise.
12189 * include/stdio.h: Likewise.
12190 * stdlib/bits/stdlib.h: Likewise.
12191 * stdlib/stdlib.h: Likewise.
12192 * rt/bits/mqueue2.h: Likewise.
12193 * rt/mqueue.h: Likewise.
12194 * posix/bits/unistd.h: Likewise.
12195 * posix/unistd.h: Likewise.
12196 * io/bits/poll2.h: Likewise.
12197 * io/bits/fcntl2.h: Likewise.
12198 * io/fcntl.h: Likewise.
12199 * io/sys/poll.h: Likewise.
12200 * misc/bits/syslog.h: Likewise.
12201 * misc/bits/syslog-ldbl.h: Likewise.
12202 * misc/sys/syslog.h: Likewise.
12203 * socket/bits/socket2.h: Likewise.
12204 * socket/sys/socket.h: Likewise.
12205 * debug/tst-chk1.c: Likewise.
12206 * wcsmbs/bits/wchar2.h: Likewise.
12207 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12208 * wcsmbs/wchar.h: Likewise.
12209
ecf0ebfb
AJ
122102012-04-29 Andreas Jaeger <aj@suse.de>
12211
12212 * Makerules (tests): Remove enable-check-abi protection.
12213 (check-abi-warn): Remove.
12214 (check-abi-%): Remove check-abi-warn usage.
12215
12216 * configure.in: Remove check-abi configure option.
12217 * configure: Regenerated.
12218 * config.make.in (enable-check-abi): Remove.
12219
6d5c57fa
AS
122202012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12221
24c5d07e 12222 [BZ #14033]
ded5180a
AS
12223 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12224 double functions to double *_finite functions.
12225
7e0d315d
AS
12226 [BZ #13941]
12227 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12228 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12229 LDBL_MIN_EXP.
12230 * stdio-common/Makefile (tests): Add tst-sprintf3.
12231 * stdio-common/tst-sprintf3.c: New file.
12232
6d5c57fa
AS
12233 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12234 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12235
0749ff8b
JM
122362012-04-28 Joseph Myers <joseph@codesourcery.com>
12237
12238 * conform/conformtest.pl: Remove duplicate typed-constant
12239 handling.
12240
8dbd5d7b
DM
122412012-04-28 David S. Miller <davem@davemloft.net>
12242
12243 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12244 (check-abi-%): Remove AWK script prerequisite and explicit
12245 abilist directory.
12246 (check-abi): Rewrite to just diff the symlist with the abilist.
12247 (config-tls, config-abi-config): Delete, no longer used.
12248 (update-abi-%): Remove AWK script and explicit abilist directory.
12249 (update-abi): Rewrite to simply compare and conditionally copy the
12250 symlist and the sysdep abilist file. Remove update-abi-config
12251 checks.
12252 * abilist/ld.abilist: Remove.
12253 * abilist/libBrokenLocale.abilist: Remove.
12254 * abilist/libanl.abilist: Remove.
12255 * abilist/libcrypt.abilist: Remove.
12256 * abilist/libdl.abilist: Remove.
12257 * abilist/librt.abilist: Remove.
12258 * abilist/libthread_db.abilist: Remove.
12259 * abilist/libutil.abilist: Remove.
12260 * scripts/extract-abilist.awk: Remove.
12261 * scripts/merge-abilist.awk: Remove.
12262 * sysdeps/generic/libcidn.abilist: New file.
12263 * sysdeps/generic/libnss_compat.abilist: New file.
12264 * sysdeps/generic/libnss_db.abilist: New file.
12265 * sysdeps/generic/libnss_dns.abilist: New file.
12266 * sysdeps/generic/libnss_files.abilist: New file.
12267 * sysdeps/generic/libnss_hesiod.abilist: New file.
12268 * sysdeps/generic/libnss_nis.abilist: New file.
12269 * sysdeps/generic/libnss_nisplus.abilist: New file.
12270 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12271 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12272 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12273 file.
12274 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12275 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12276 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12277 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12278 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12279 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12280 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12281 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12282 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12283 file.
12284 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12285 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12286 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12287 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12288 file.
12289 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12290 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12291 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12292 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12293 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12294 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12295 file.
12296 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12297 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12298 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12299 file.
12300 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12302 New file.
12303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12304 New file.
12305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12306 New file.
12307 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12308 New file.
12309 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12310 New file.
12311 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12312 New file.
12313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12314 New file.
12315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12316 New file.
12317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12318 New file.
12319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12320 New file.
12321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12322 New file.
12323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12324 New file.
12325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12326 New file.
12327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12328 file.
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12330 New file.
12331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12332 New file.
12333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12334 file.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12336 New file.
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12338 New file.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12340 file.
12341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12342 New file.
12343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12344 New file.
12345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12346 New file.
12347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12348 New file.
12349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12350 New file.
12351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12352 New file.
12353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12355 file.
12356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12357 New file.
12358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12359 file.
12360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12361 file.
12362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12363 file.
12364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12365 file.
12366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12367 file.
12368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12369 New file.
12370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12371 file.
12372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12373 file.
12374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12375 New file.
12376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12377 file.
12378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12380 file.
12381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12382 New file.
12383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12384 file.
12385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12386 file.
12387 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12388 file.
12389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12390 file.
12391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12392 file.
12393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12394 New file.
12395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12396 file.
12397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12398 file.
12399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12400 New file.
12401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12402 file.
12403 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12404 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12405 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12406 file.
12407 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12408 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12409 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12410 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12411 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12412 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12413 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12414 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12415 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12416 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12419 file.
12420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12421 New file.
12422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12423 file.
12424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12425 file.
12426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12427 file.
12428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12429 file.
12430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12431 file.
12432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12433 New file.
12434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12435 New file.
12436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12437 file.
12438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12439 New file.
12440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12441 file.
12442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12444 file.
12445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12446 New file.
12447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12448 file.
12449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12450 file.
12451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12452 file.
12453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12454 file.
12455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12456 file.
12457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12458 New file.
12459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12460 New file.
12461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12462 file.
12463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12464 New file.
12465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12466 file.
12467
41d73a1b
JM
124682012-04-28 Joseph Myers <joseph@codesourcery.com>
12469
12470 * conform/conformtest.pl: Fix typo in handling typed-constant from
12471 allow-header.
12472
28aeeda4
JM
124732012-04-27 Joseph Myers <joseph@codesourcery.com>
12474
adae8f5e
JM
12475 * README: Cut down references to pre-2.6 Linux kernels and
12476 Linuxthreads. Update lists of configurations in libc and ports
12477 and sort alphabetically. Say "or newer" with Linux kernel version
12478 requirements.
12479
28aeeda4
JM
12480 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12481
a462cb63
RA
124822012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12483
12484 [BZ #887]
12485 * math/libm-test.inc (logb_test_downward): New test to expose
12486 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12487 rounding mode.
12488
6ad3493e
JM
124892012-04-27 Joseph Myers <joseph@codesourcery.com>
12490
12491 [BZ #14027]
12492 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12493 to be done.
12494 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12495 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12496
2ce4f015
JM
124972012-04-26 Joseph Myers <joseph@codesourcery.com>
12498
5aeb141a
JM
12499 * sysdeps/unix/i386/brk.S: Remove file.
12500 * sysdeps/unix/i386/dl-brk.S: Likewise.
12501 * sysdeps/unix/i386/pipe.S: Likewise.
12502 * sysdeps/unix/i386/sigreturn.S: Likewise.
12503 * sysdeps/unix/i386/syscall.S: Likewise.
12504 * sysdeps/unix/i386/vfork.S: Likewise.
12505 * sysdeps/unix/i386/wait.S: Likewise.
12506
7143acae
JM
12507 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12508 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12509
2ce4f015
JM
12510 * configure.in (arm*-none*): Do not allow without
12511 --enable-hacker-mode.
12512 (netbsd*): Remove case setting base_os.
12513 (386bsd*): Likewise.
12514 (freebsd*): Likewise.
12515 (bsdi*): Likewise.
12516 (osf*): Likewise.
12517 (sunos*): Likewise.
12518 (ultrix*): Likewise.
12519 (newsos*): Likewise.
12520 (dynix*): Likewise.
12521 (*bsd*): Likewise.
12522 (sysv*): Likewise.
12523 (isc*): Likewise.
12524 (esix*): Likewise.
12525 (sco*): Likewise.
12526 (minix*): Likewise.
12527 (irix4*): Likewise.
12528 (irix6*): Likewise.
12529 (solaris[2-9]*): Likewise.
12530 (none): Likewise.
12531 * configure: Regenerated.
12532
0ac229c8
AZ
125332012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12534
12535 [BZ #11521]
12536 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12537 overflow or cancellation in calculating denominator.
12538 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12540 down expression to avoid unexpected rounding in newer GCCs.
12541 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12542
33f244f4
DM
125432012-04-26 David S. Miller <davem@davemloft.net>
12544
12545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12546 long-double compat symbols.
12547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12560
cfa1f3e8
DM
125612012-04-25 David S. Miller <davem@davemloft.net>
12562
12563 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12564 HWCAP_* values only after the memory barriers have been defined.
12565 (atomic_full_barrier): Define.
12566 (atomic_read_barrier): Define.
12567 (atomic_write_barrier): Define.
12568
6e236b92
SP
125692012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12570
12571 * shlib-versions: Add libgcc_s version information.
12572 * sysdeps/generic/libgcc_s.h: Remove.
12573 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12574 libgcc_s.h.
12575 * sysdeps/gnu/unwind-resume.c: Likewise.
12576 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12577
aab39a09
DM
125782012-04-25 David S. Miller <davem@davemloft.net>
12579
12580 * sysdeps/unix/sparc/brk.S: Delete.
12581 * sysdeps/unix/sparc/dl-brk.S: Delete.
12582 * sysdeps/unix/sparc/pipe.S: Delete.
12583 * sysdeps/unix/sparc/sysdep.S: Delete.
12584 * sysdeps/unix/sparc/sysdep.h: Delete.
12585 * sysdeps/unix/sparc/vfork.S: Delete.
12586 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12587 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12588 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12589 ret_ERRVAL, r0, r1, MOVE): Define.
12590 (JUMPTARGET): Remove.
12591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12592 sysdeps/unix/sparc/sysdep.h
12593 (ENTRY, END): Remove.
12594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12595
a3cc4f48
JM
125962012-04-25 Joseph Myers <joseph@codesourcery.com>
12597
2ed8cda2
JM
12598 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12599 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12600 -DIS_IN_build.
12601
35d76d59
JM
12602 * timezone/README: Update upstream location and email address for
12603 tzcode and tzdata.
12604 * timezone/zdump.c: Update from tzcode 2012b.
12605 * timezone/zic.c: Likewise.
12606
a3cc4f48
JM
12607 * configure.in (libc_cv_as_needed): Remove test.
12608 * configure: Regenerated.
12609 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12610 conditional definition.
12611 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12612 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12613 * config.make.in (have-as-needed): Remove variable.
12614
ceab42c3
SP
126152012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12616 Paul Pluzhnikov <ppluzhnikov@google.com>
12617
12618 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12619 strings correctly.
12620
3ce2865f
CLT
126212012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12622
12623 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12624 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12625 * sysdeps/sh/strlen.S: Likewise.
12626
f37e0d68
JM
126272012-04-24 Joseph Myers <joseph@codesourcery.com>
12628
ae186e9a
JM
12629 * sysdeps/unix/fork.S: Remove file.
12630 * sysdeps/unix/i386/fork.S: Likewise.
12631 * sysdeps/unix/sparc/fork.S: Likewise.
12632
b96914af
JM
12633 * sysdeps/unix/system.c: Remove file.
12634 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12635
f37e0d68
JM
12636 * sysdeps/unix/getegid.S: Remove file.
12637 * sysdeps/unix/geteuid.S: Likewise.
12638
87ef29ca
RM
126392012-04-24 Roland McGrath <roland@hack.frob.com>
12640
83bcd236
RM
12641 * scripts/check-localplt.awk: New file.
12642 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12643 of diff.
12644 * scripts/data/localplt-generic.data: Add a comment.
12645
87ef29ca
RM
12646 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12647 NODE when __dir_mkfile failed.
12648 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12649 Reported by Ludovic Courtès <ludo@gnu.org>.
12650
e5a6e567
AJ
126512012-04-24 Andreas Jaeger <aj@suse.de>
12652
12653 * Makerules (common-clean): Also remove gen-as-const-headers
12654 files.
12655
c1820385
JM
126562012-04-24 Joseph Myers <joseph@codesourcery.com>
12657
12658 * Makerules (native-compile): Do not change working directory for
12659 build. Use $(OUTPUT_OPTION) in command.
12660 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12661
94e02fc4
AZ
126622012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12663
12664 [BZ #13886]
12665 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12666 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12667 * math/libm-test.inc (floor_test): Add more tests.
12668 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12669
3a533ca3
JM
126702012-04-24 Joseph Myers <joseph@codesourcery.com>
12671
940ab4b3
JM
12672 * sysdeps/unix/getdents.c: Remove file.
12673 * sysdeps/unix/sysv/getdents.c: Likewise.
12674 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12675
90e037bd
JM
12676 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12677 sysdeps/unix/mman/syscalls.list.
12678 (mmap): Likewise.
12679 (mprotect): Likewise.
12680 (msync): Likewise.
12681 (munmap): Likewise.
12682 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12683 * sysdeps/unix/mman/syscalls.list: Remove.
12684 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12685
3a533ca3
JM
12686 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12687 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12688 * configure: Regenerated.
12689 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12690 $(libgcc_s_suffix).
12691 * config.make.in (libgcc_s_suffix): Remove variable.
12692
1ad743de
JM
126932012-04-23 Joseph Myers <joseph@codesourcery.com>
12694
4ad451e2
JM
12695 * sysdeps/unix/sysv/gethostname.c: Move to ...
12696 * sysdeps/posix/gethostname.c: ... here.
12697
5e37ce39
JM
12698 * sysdeps/unix/execve.S: Remove file.
12699
1ad743de
JM
12700 * sysdeps/unix/_exit.S: Remove file.
12701
4e681b5b
AJ
127022012-04-23 Andreas Jaeger <aj@suse.de>
12703
12704 [BZ #13739]
12705 * manual/Makefile: Remove make dist support, there's no
12706 need for a stand-alone documentation tar ball.
12707 (TEXI2DVI): Define always, it's not in Makeconfig.
12708 (dist): Removed.
12709 (tar-it): Removed.
12710 (edition): Removed.
12711 (glibc-doc-$(edition).tar): Removed
12712 (%.Z): Removed.
12713 (%.gz): Removed.
12714 (%.uu): Removed.
12715 (ETAGS): Remove, it's in Makeconfig.
12716 (move-if-change): Remove, it's in Makeconfig.
12717
38686a03 127182012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12719
12720 [BZ #13970]
12721 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12722 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12723 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12724 (strtod_l, strtof_l, strtold_l): Remove __wur.
12725 It is not necessarily an error to ignore strtol's return value.
12726 One can reliably look at the stored endptr to decide whether
12727 the number had valid syntax.
12728
7c0616fa
AJ
127292012-04-21 Andreas Jaeger <aj@suse.de>
12730
803cb6b7 12731 [BZ #13739]
7c0616fa
AJ
12732 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12733
b0fe253f
JM
127342012-04-21 Joseph Myers <joseph@codesourcery.com>
12735
12736 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12737 * sysdeps/unix/sysv/Versions: Remove file.
12738
8280f22d
MT
127392012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12740
12741 [BZ #13927]
12742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12743
75ce411f 127442012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12745
12746 [BZ #7064]
12747 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12748 version from __vm86.
12749
097d59fa
JM
127502012-04-20 Joseph Myers <joseph@codesourcery.com>
12751
a90f3bcb
JM
12752 * sysdeps/unix/common/lxstat.c: Remove file.
12753 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12754
edc7ea78
JM
12755 * sysdeps/unix/sysv/Makefile: Remove file.
12756
cb78c221
JM
12757 * sysdeps/unix/sysv/direct.h: Remove file.
12758
efa6a45f
JM
12759 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12760 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12761 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12762 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12763 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12764 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12765 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12766
9c9f2d0c
JM
12767 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12768
4541c83b
JM
12769 * sysdeps/unix/xmknod.c: Remove file.
12770 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12771
f5d153a0
JM
12772 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12773
aa746595
JM
12774 * sysdeps/unix/sysv/i386/time.S: Remove file.
12775
cce5905e
JM
12776 * sysdeps/unix/fxstat.c: Remove file.
12777 * sysdeps/unix/xstat.c: Likewise.
12778 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12779
37fa3841
JM
12780 * sysdeps/unix/sysv/sigaction.c: Remove file.
12781
ff1962a3
JM
12782 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12783 (sysdep_headers): Remove variable.
12784 [termio.h not in sysdep_headers] (generated): Likewise.
12785 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12786 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12787 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12788 * sysdeps/unix/sysv/tcflow.c: Likewise.
12789 * sysdeps/unix/sysv/tcflush.c: Likewise.
12790 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12791 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12792 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12793 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12794 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12795
e7740d31
JM
12796 * sysdeps/unix/siglist.c: Remove file.
12797
ee06f18b
JM
12798 * sysdeps/unix/getppid.S: Remove file.
12799
097d59fa
JM
12800 * sysdeps/unix/mkdir.c: Remove file.
12801 * sysdeps/unix/rmdir.c: Likewise.
12802
ff3d51ec
AS
128032012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12804
12805 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12806 ERR_MAX value.
12807 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12808 errlist-compat value.
12809
50f81fd7
DM
128102012-04-18 David S. Miller <davem@davemloft.net>
12811
12812 * sysdeps/generic/memcopy.h (reg_char): Delete.
12813 * debug/strcat_chk.c: Use char, not reg_char.
12814 * debug/strcpy_chk.c: Likewise.
12815 * debug/strncat_chk.c: Likewise.
12816 * debug/strncpy_chk.c: Likewise.
12817 * string/memchr.c: Likewise.
12818 * string/memrchr.c: Likewise.
12819 * string/rawmemchr.c: Likewise.
12820 * string/strcat.c: Likewise.
12821 * string/strchr.c: Likewise.
12822 * string/strchrnul.c: Likewise.
12823 * string/strcmp.c: Likewise.
12824 * string/strcpy.c: Likewise.
12825 * string/strncat.c: Likewise.
12826 * string/strncmp.c: Likewise.
12827 * string/strncpy.c: Likewise.
12828
8ff41c46
WS
128292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12830
12831 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12832 __builtin_memcopy is called when src and dest ranges are known to not
12833 overlap.
12834
6b652f46
WS
128352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12836
12837 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12838 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12839 fwd_align_merge macro call.
12840 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12841 bwd_align_merge macro call.
12842 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12843
b282631e
WS
128442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12845
12846 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12847 bwd_align_merge macros.
12848 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12849 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12850 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12851
95aa737c
DM
128522012-04-18 David S. Miller <davem@davemloft.net>
12853
12854 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12855
7a99a614
AJ
128562012-04-18 Andreas Jaeger <aj@suse.de>
12857
12858 [BZ# 6794]
12859 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12860 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12861 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12862
12863 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12864 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12865 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12866
12867 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12868 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12869 Adjust for changed ldbl-128 files.
12870
12871 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12872 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12873 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12874
e5270c23
DM
128752012-04-17 David S. Miller <davem@davemloft.net>
12876
12877 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12878
fb5e92c9
AS
128792012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12880
12881 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12882 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12883 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12884 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12885 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12886 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12887
76da7265
AZ
128882012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12889
12890 [BZ #6794]
12891 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12892 * math/libm-test.inc: Add ilogb errno and exception tests.
12893 * math/w_ilogb.c: New file: ilogb wrapper.
12894 * math/w_ilogbf.c: New file: ilogbf wrapper.
12895 * math/w_ilogbl.c: New file: ilogbl wrapper.
12896 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12897 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12898 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12899 exception being thrown with 0.0 as argument.
12900 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12901 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12902 exception being thrown with 0.0 as argument.
12903 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12904 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12905 exception being thrown with 0.0 as argument.
12906 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12907 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12908 exception being thrown with 0.0 as argument.
12909 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12910 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12911 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12912 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12913 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12914 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12915 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12916 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12917 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12918
0396e69d
PB
129192012-04-17 Petr Baudis <pasky@ucw.cz>
12920
12921 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12922 with altivec.
12923
750b5926
MP
129242012-04-16 Marek Polacek <polacek@redhat.com>
12925
12926 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12927
751728a1
MP
129282012-04-16 Marek Polacek <polacek@redhat.com>
12929
12930 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12931 operands of fdivp instruction.
12932
34a27407
L
129332012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12934
12935 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12936 * elf/tst-auditmod3b.c: Likewise.
12937 * elf/tst-auditmod4b.c: Likewise.
12938 * elf/tst-auditmod5b.c: Likewise.
12939 * elf/tst-auditmod6b.c: Likewise.
12940 * elf/tst-auditmod6c.c: Likewise.
12941 * elf/tst-auditmod7b.c: Likewise.
12942 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12943 * sysdeps/x86_64/preconfigure.in: Likewise.
12944 * sysdeps/x86_64/preconfigure: Regenerated.
12945
7e73e17d
L
129462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12947
12948 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12949 __ILP32__.
12950
c7a6ab72
AB
129512012-04-13 Antoine Balestrat <merkil33@gmail.com>
12952
12953 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12954 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12955
a9e8e0e0
CL
129562012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12957
12958 [BZ #13973]
12959 * locale/iso-639.def: Fix gl language name. Spotted by
12960 Yaron Shahrabani.
12961
ec98af7d
RM
129622012-04-12 Roland McGrath <roland@hack.frob.com>
12963
12964 [BZ #2074]
12965 * libio/libio.h (__io_write_fn): Update comment.
12966
247c3ede
PB
129672012-04-12 Petr Baudis <pasky@ucw.cz>
12968
12969 [BZ #2074]
12970 * stdio.texi (Hook Functions): The user provided writer function
12971 is not allowed to return -1.
12972
55939d6d
DM
129732012-04-11 David S. Miller <davem@davemloft.net>
12974
12975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12976
90020f5a
MF
129772012-04-11 Mike Frysinger <vapier@gentoo.org>
12978
12979 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12980 Add a leading slash to rtkaio.
12981
288f9098
JM
129822012-04-11 Jim Meyering <meyering@redhat.com>
12983
90020f5a
MF
12984 [BZ #11959]
12985 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12986 It is not necessarily an error to ignore fwrite's return
12987 value. One can reliably use ferror to test for errors after
12988 the fact.
288f9098 12989
4be2b570
L
129902012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12991
12992 * bits/types.h (__snseconds_t): New type.
12993 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12994
12995 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12996 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12997 (__SNSECONDS_T_TYPE): Likewise.
12998 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12999 (__SNSECONDS_T_TYPE): Likewise.
13000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13001 (__SNSECONDS_T_TYPE): Likewise.
13002
288f9098 130032012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13004
13005 [BZ #2636]
13006 * manual/time.texi (Processor Time): Return type of times is
13007 elapsed real time since an arbitrary point in the past.
13008 (CPU Time): Move CLK_TCK from here...
13009 (Processor Time): ...to here. Correct description.
13010 * manual/conf.texi (Constants for Sysconf): Correct description of
13011 _SC_CLK_TCK.
13012
d7dd4413
DM
130132012-04-10 David S. Miller <davem@davemloft.net>
13014
13015 [BZ #13967]
13016 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13017 where the is a gap between DT_REL(A) and DT_JMPREL.
13018
b46068fc
L
130192012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13020
13021 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13022 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13023 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13024
73d65cc3
SP
130252012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13026
13027 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13028 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13029 (dl_main): Handle --inhibit-cache.
13030 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13031 _dl_inhibit_cache.
13032 * elf/dl-load.c (_dl_map_object): Use it.
13033 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13034
bcc8d661
JM
130352012-04-09 Joseph Myers <joseph@codesourcery.com>
13036
8f9a2fae
JM
13037 [BZ #13872]
13038 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13039 (__ieee754_powl): Saturate large exponents rather than testing for
13040 overflow of y*log2(x).
13041 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13042 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13043 exceptions.
13044
bcc8d661
JM
13045 [BZ #11521]
13046 * math/s_ctan.c: Include <float.h>.
13047 (__ctan): Avoid internal overflow or cancellation in calculating
13048 denominator.
13049 * math/s_ctanf.c: Likewise.
13050 * math/s_ctanl.c: Likewise.
13051 * math/s_ctanh.c: Likewise.
13052 * math/s_ctanhf.c: Likewise.
13053 * math/s_ctanhl.c: Likewise.
13054 * math/libm-test.inc (ctan_test): Add more tests.
13055 (ctanh_test): Likewise.
13056 * sysdeps/i386/fpu/libm-test-ulps: Update.
13057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13058
823fbbb4
AJ
130592012-04-09 Andreas Jaeger <aj@suse.de>
13060
03879793
AJ
13061 [BZ #6894]
13062 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13063 is an optional BSD extension.
13064
823fbbb4
AJ
13065 [BZ #10254]
13066 * manual/stdio.texi (Opening Streams): Document additional fopen
13067 parameters.
13068
8de131cb
RM
130692012-04-09 Roland McGrath <roland@hack.frob.com>
13070
13071 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13072 %eax without telling the compiler.
13073
c0ed9d7d
CD
130742012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13075
13076 [BZ # 13963]
13077 * manual/install.texi: Use sourceware.org.
13078
c483f6b4
JM
130792012-04-09 Joseph Myers <joseph@codesourcery.com>
13080
d7dd9453
JM
13081 [BZ #13873]
13082 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13083 (__ieee754_pow): Generate overflow and underflow using huge*huge
13084 and tiny*tiny rather than just returning constant infinity or zero
13085 for large exponents.
13086 * math/libm-test.inc (pow_test): Require overflow exceptions for
13087 applicable cases of large exponents.
13088
c483f6b4
JM
13089 [BZ #706]
13090 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13091 (__ieee754_pow): Use iterative multiplication algorithm only for
13092 integer exponents with absolute value below 1024. Check for odd
13093 integer exponents when using algorithm for real exponents.
13094 * math/libm-test.inc (pow_test): Add more tests.
13095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13096
d2de7579
JM
130972012-04-08 Joseph Myers <joseph@codesourcery.com>
13098
13099 [BZ #13705]
13100 * math/libm-test.inc (exp_test): Do not allow overflow exception
13101 on underflow test.
13102
f77f1232
AJ
131032012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13104
13105 [BZ #13705]
13106 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13107 instead of __kernel_standard_f.
13108
3884932b
MF
131092012-04-08 Mike Frysinger <vapier@gentoo.org>
13110
13111 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13112 * sysdeps/x86_64/memset_chk.S: Likewise.
13113
54472e9c
AJ
131142012-04-08 Andreas Jaeger <aj@suse.de>
13115
6ab0fbfc
AJ
13116 [BZ #10153]
13117 * manual/startup.texi (Environment Access): Describe return value
13118 for putenv and setenv.
13119
61efba8c
AJ
13120 [BZ #6895]
13121 * manual/filesys.texi (Directory Entries): Add description for
13122 DT_LNK.
13123
95c3f29a
AJ
13124 [BZ #6890]
13125 * manual/filesys.texi (Directory Entries): Clarify that it's file
13126 system not operating system in the description of DT_UNKNOWN.
13127
54472e9c
AJ
13128 [BZ #6578]
13129 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13130
624254b1
SC
131312012-04-08 Stephen Compall <s11@member.fsf.org>
13132
13133 [BZ #6649]
13134 * manual/llio.texi (Opening and Closing Files): Add cross
13135 reference to explain mode argument.
13136
1e4920e0
MF
131372012-04-07 Mike Frysinger <vapier@gentoo.org>
13138
13139 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13140 * sysdeps/x86_64/memset_chk.S: Likewise.
13141
5ed848f3
DM
131422012-04-07 David S. Miller <davem@davemloft.net>
13143
13144 * elf/elf.h (R_SPARC_WDISP10): Define.
13145 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13146 R_SPARC_SIZE32.
13147 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13148 R_SPARC_SIZE64 and R_SPARC_H34.
13149
96154cd8
CD
131502012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13151
13152 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13153 conditions and remove no longer applicable assertion.
13154
9904dc47
L
131552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13156
13157 * bits/byteswap.h: Include <features.h>.
13158 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13159 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13160
f8887d0a
L
131612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13162
13163 * bits/byteswap.h (__bswap_16): Removed.
13164 Include <bits/byteswap-16.h> to get __bswap_16.
13165 * sysdeps/i386/bits/byteswap.h: Likewise.
13166 * sysdeps/s390/bits/byteswap.h: Likewise.
13167 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13168 * bits/byteswap-16.h: New file.
13169 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13170 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13171 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13172 * string/Makefile (headers): Add bits/byteswap-16.h.
13173
62470f60
PP
131742012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13175
13176 [BZ #13895]
13177 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13178 extra indirection.
13179 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13180 * nss/tst-nss-static.c: New.
13181
4dad7bab
RM
131822012-04-06 Robert Millan <rmh@gnu.org>
13183
13184 [BZ #6486]
13185 * manual/llio.texi (File Position Primitive): lseek
13186 refers to WHENCE when it really means OFFSET.
13187
e9142a17
AJ
131882012-04-06 Andreas Jaeger <aj@suse.de>
13189
2c040eff
AJ
13190 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13191 strncmp declarations.
13192
e9142a17
AJ
13193 * abilist/libc.abilist: Add __poll and __ppoll.
13194
ff9f1c5f
DM
131952012-04-05 David S. Miller <davem@davemloft.net>
13196
dcd2ae90
DM
13197 * scripts/check-local-headers.sh: Accept a host triplet in the
13198 path matched by the exclude regexp.
13199
993eb054
DM
13200 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13201 definition.
13202 * sysdeps/powerpc/powerpc32/dl-machine.h
13203 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13204 * sysdeps/s390/s390-32/dl-machine.h
13205 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13206 * sysdeps/sparc/sparc32/dl-machine.h
13207 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13208 * sysdeps/sparc/sparc64/dl-machine.h
13209 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13210
ff9f1c5f
DM
13211 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13212 lazy binding.
48e2e132 13213 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13214 undefined symbol errors.
13215
48e2e132 13216 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13217 DT_NEEDED entries.
13218
e80d6f94
MM
132192012-04-05 Michael Matz <matz@suse.de>
13220
13221 [BZ #13592]
13222 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13223
349fa79f
AJ
132242012-04-05 Andreas Jaeger <aj@suse.de>
13225
13226 [BZ #13908]
13227 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13228 comment.
13229
f402708f
KK
132302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13231
13232 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13233 which ROUND is no valid rounding mode.
13234
2ecccfc9
KK
132352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13236
13237 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13238 read again.
13239 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13240
8a53f50f
KK
132412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13242
13243 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13244 an exception using FPU order intentionally.
13245
132462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13247
13248 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13249 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13250 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13251 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13252
d653abb7
SJ
132532012-04-05 Simon Josefsson <simon@josefsson.org>
13254
13255 [BZ #12340]
13256 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13257 EINVAL when BUFLEN is too smal.
13258
c3b1bf7d
TS
132592012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13260
13261 [BZ #13553]
13262 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13263 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13264
b1aa60f3
AJ
132652012-04-03 Andreas Jaeger <aj@suse.de>
13266
c3b1bf7d 13267 [BZ #13938]
67f60a26
AJ
13268 * manual/setjmp.texi (System V contexts): Fix sentence.
13269
b1aa60f3
AJ
13270 [BZ #13926]
13271 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13272 New macro for this case.
13273 [!__GNUC__] (__bswap_64): New inline function for this case.
13274 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13275 * bits/byteswap.h: Likewise.
13276 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13277 ull, guard with __GLIBC_HAVE_LONG_LONG.
13278
13279 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13280 __GLIBC_HAVE_LONG_LONG.
13281
13282 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13283 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13284
39c59c35
TMQMF
132852012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13286
13287 [BZ #13691]
13288 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13289 inptr and inend, rather than using last_ch.
13290
135ffda8
DM
132912012-04-02 David S. Miller <davem@davemloft.net>
13292
13293 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13294 * stdio-common/printf-parse.h (read_int): Change return type to
13295 'int', return -1 on INT_MAX overflow.
13296 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13297 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13298 overflows INT_MAX. Check for overflow of in-format-string precision
13299 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13300 SIZE_MAX not INT_MAX for integer overflow test.
13301 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13302 skip the construct in the format string but do not record anything.
13303 * stdio-common/bug22.c: Adjust to test both width/prevision
13304 INT_MAX overflow as well as total length INT_MAX overflow. Check
13305 explicitly for proper errno values.
13306
228c019e
TS
133072012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13308
302cadd3
TS
13309 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13310 CHAR_MAX.
13311 * string/test-strcmp.c [! WIDE]: Likewise.
13312 * time/tst-mktime2.c: Likewise for INT_MAX.
13313 * string/test-string.h: #include <sys/param.h> for MIN.
13314
228c019e
TS
13315 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13316 * sysdeps/i386/init-first.c (init): Likewise.
13317 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13318 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13319 * sysdeps/sh/init-first.c (init): Likewise.
13320
cfa633f5
UD
133212012-04-01 Ulrich Drepper <drepper@gmail.com>
13322
13323 * po/ru.po: Update from translation team.
d1635ef8 13324 * po/vi.po: Likewise.
cfa633f5 13325
6cd0a5ea
SP
133262012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13327
13328 * resolv/nss_dns/dns-host.c: Merge copyright years.
13329
4b43400f
LD
133302012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13331
13332 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13333 Optimize memcpy with prefetch if
13334 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13335 src, dst pointers have unequal 16 byte alignments.
13336
48c41d04
SP
133372012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13338
13339 [BZ #13928]
13340 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13341 from a CNAME entry and return the minimum ttl for the query.
13342 (gaih_getanswer_slice): Likewise.
13343
b8dc394d
JL
133442012-03-30 Jeff Law <law@redhat.com>
13345
13346 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13347 due to long keys.
13348 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13349 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13350
2f5a5ed0
JL
13351 * resolv/nss_dns/dns-host.c: Update copyright year.
13352
1d39e359
UD
133532012-03-30 Ulrich Drepper <drepper@gmail.com>
13354
c030f70c 13355 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13356 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13357
1d39e359
UD
13358 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13359 comments for sendmmsg.
13360
133612012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13362
13363 [BZ #13691]
13364 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13365 with only 1 character between 0x0041 and 0x01b0.
13366 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13367 * wcsmbs/tst-mbsnrtowcs.c: New file.
13368
20fde227
DM
133692012-03-29 David S. Miller <davem@davemloft.net>
13370
13371 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13372 small copies by hand.
13373
984a4237
JL
133742012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13375
13376 [BZ #13761]
13377 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13378 _nss_compat_initgroups_dyn): Fall back to malloc/free
13379 for large group memberships.
13380
18c9d62b
DM
133812012-03-28 David S. Miller <davem@davemloft.net>
13382
88d85d4f
DM
13383 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13384 that branches into memcpy.
13385 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13386 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13387 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13388 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13390 bits.
13391 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13392 implementation too.
13393 * sysdeps/sparc/mempcpy.S: New file.
13394
e5aa83e1
DM
13395 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13396 the IFUNC routine in the libc case.
13397 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13398
88570753
DM
13399 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13400 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13401 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13402 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13403 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13404 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13405 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13406 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13407
249d7567
DM
13408 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13409 loop to 256 bytes instead of 64 bytes and fix test signedness.
13410
18c9d62b
DM
13411 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13412 * sysdeps/sparc/sparc32/Makefile: rather than here...
13413 * sysdeps/sparc/sparc64/Makefile: and here.
13414
05f3d1f6
UD
134152012-03-28 Ulrich Drepper <drepper@gmail.com>
13416
13417 * malloc/mallocbug.c: Avoid warnings about unused variables.
13418
86ae07a8
JL
134192012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13420
13421 [BZ #13760]
13422 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13423 in the right place. Discard and retry query if response is
13424 larger than input buffer size.
13425
41bf21a1
JM
134262012-03-28 Joseph Myers <joseph@codesourcery.com>
13427
d6270972
JM
13428 [BZ #369]
13429 [BZ #2678]
13430 [BZ #3866]
13431 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13432 x for large integer exponent.
13433 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13434 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13435 sign of result as needed afterwards.
13436 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13437 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13438 result for underflowing pow the same as for overflow.
13439 (__kernel_standard_l): Handle powl overflow and underflow here
13440 rather than calling __kernel_standard.
13441 * math/libm-test.inc (pow_test): Add more tests.
13442
414fca03 13443 [BZ #3868]
41bf21a1
JM
13444 [BZ #13879]
13445 [BZ #13910]
13446 [BZ #13911]
13447 [BZ #13912]
13448 [BZ #13913]
13449 [BZ #13915]
13450 [BZ #13916]
13451 [BZ #13917]
13452 [BZ #13918]
13453 [BZ #13919]
13454 [BZ #13920]
13455 [BZ #13921]
13456 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13457 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13458 (__kernel_standard_l): New function.
13459 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13460 __kernel_standard.
13461 * math/w_acosl.c (__acosl): Likewise.
13462 * math/w_asinl.c (__asinl): Likewise.
13463 * math/w_atan2l.c (__atan2l): Likewise.
13464 * math/w_atanhl.c (__atanhl): Likewise.
13465 * math/w_coshl.c (__coshl): Likewise.
13466 * math/w_exp10l.c (__exp10l): Likewise.
13467 * math/w_exp2l.c (__exp2l): Likewise.
13468 * math/w_fmodl.c (__fmodl): Likewise.
13469 * math/w_hypotl.c (__hypotl): Likewise.
13470 * math/w_j0l.c (__j0l, __y0l): Likewise.
13471 * math/w_j1l.c (__j1l, __y1l): Likewise.
13472 * math/w_jnl.c (__jnl, __ynl): Likewise.
13473 * math/w_lgammal.c (__lgammal): Likewise.
13474 * math/w_log10l.c (__log10l): Likewise.
13475 * math/w_log2l.c (__log2l): Likewise.
13476 * math/w_logl.c (__logl): Likewise.
13477 * math/w_powl.c (__powl): Likewise.
13478 * math/w_remainderl.c (__remainderl): Likewise.
13479 * math/w_scalbl.c (sysv_scalbl): Likewise.
13480 * math/w_sinhl.c (__sinhl): Likewise.
13481 * math/w_sqrtl.c (__sqrtl): Likewise.
13482 * math/w_tgammal.c (__tgammal): Likewise.
13483 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13484 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13485 * math/libm-test.inc (acos_test): Add more tests.
13486 (acosh_test): Likewise.
13487 (asin_test): Likewise.
13488 (atanh_test): Likewise.
13489 (exp_test): Likewise.
13490 (exp10_test): Likewise.
13491 (exp2_test): Likewise.
13492 (expm1_test): Likewise.
13493 (lgamma_test): Likewise.
13494 (log_test): Likewise.
13495 (log10_test): Likewise.
13496 (log1p_test): Likewise.
13497 (log2_test): Likewise.
13498 (pow_test): Do not allow some spurious overflow exceptions.
13499 (sqrt_test): Add more tests.
13500 (tgamma_test): Likewise.
13501 (y0_test): Likewise.
13502 (y1_test): Likewise.
13503 (yn_test): Likewise.
13504
dd62fda6
AB
135052012-03-27 Anton Blanchard <anton@samba.org>
13506
13507 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13508 MAP_HUGETLB.
13509 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13510 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13511 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13512
1e3cdfda
AJ
135132012-03-27 David S. Miller <davem@davemloft.net>
13514
b855ab85
DM
13515 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13516
1e3cdfda
AJ
13517 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13518 have-as-vis3 check.
13519
135202012-03-27 Andreas Jaeger <aj@suse.de>
13521
13522 * sysdeps/x86_64/elf/configure.in: Moved to ...
13523 * sysdeps/x86_64/configure.in: ... here.
13524 * sysdeps/x86_64/elf/start.S: Moved to ...
13525 * sysdeps/x86_64/start.S: ... here.
13526 * sysdeps/x86_64/elf/configure: Delete.
13527
13528 * sysdeps/x86_64/configure.in: Merge contents from
13529 sysdeps/i386/configure.in (without i686 check).
13530
13531 * sysdeps/i386/elf/Versions: Merge into ...
13532 * sysdeps/i386/Versions: ... this.
13533 * sysdeps/i386/elf/Versions: Delete file.
13534 * sysdeps/i386/elf/start.S: Moved to ...
13535 * sysdeps/i386/start.S: ...here.
13536 * sysdeps/i386/elf/configure.in: Merge into...
13537 * sysdeps/i386/configure.in: ...here.
13538 * sysdeps/i386/elf/configure.in: Delete file.
13539 * sysdeps/i386/elf/configure: Delete file.
13540
13541 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13542 * debug/backtracesyms.c: ... here.
13543 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13544 * debug/backtracesymsfd.c: ... here.
13545 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13546 * sysdeps/generic/ifunc-sel.h: ... here.
13547
13548 * sysdeps/unix/i386/start.c: Delete file.
13549 * sysdeps/unix/sparc/start.c: Delete file.
13550 * sysdeps/unix/start.c: Delete file.
13551
13552 * sysdeps/sh/elf/configure.in: Moved to ...
13553 * sysdeps/sh/configure.in: ... here.
13554 * sysdeps/sh/elf/start.S: Moved to ...
13555 * sysdeps/sh/start.S: ... here.
13556 * sysdeps/sh/elf/configure: Delete file.
13557
13558 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13559 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13560 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13561 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13562 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13563 * sysdeps/powerpc/powerpc64/start.S: here.
13564 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13565 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13566 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13567 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13568 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13569
13570 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13571 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13572 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13573 * sysdeps/powerpc/powerpc32/start.S: ... here.
13574 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13575 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13576 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13577
13578 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13579 * sysdeps/powerpc/ifunc-sel.h: ... here.
13580 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13581 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13582
13583 * sysdeps/sparc/elf/configure.in: Moved to ...
13584 * sysdeps/sparc/configure.in: ... here.
13585 * sysdeps/sparc/elf/configure: Delete file.
13586 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13587 * sysdeps/sparc/sparc32/start.S: ... here.
13588 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13589 * sysdeps/sparc/sparc64/start.S: ... here.
13590 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13591 * sysdeps/sparc/sparc32/Makefile: ... this.
13592 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13593 * sysdeps/sparc/sparc64/Makefile: ... this.
13594
13595 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13596 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13597 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13598 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13599 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13600 * sysdeps/s390/s390-32/setjmp.S: ... here.
13601 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13602 * sysdeps/s390/s390-32/configure.in: ... here.
13603 * sysdeps/s390/s390-32/elf/configure: Delete file.
13604 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13605 * sysdeps/s390/s390-32/start.S: ... here.
13606
13607 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13608 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13609 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13610 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13611 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13612 * sysdeps/s390/s390-64/setjmp.S: ... here.
13613 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13614 * sysdeps/s390/s390-64/configure.in: ... here
13615 * sysdeps/s390/s390-64/elf/configure: Delete file.
13616 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13617 * sysdeps/s390/s390-64/start.S: ... here.
13618 * sysdeps/s390/s390-64/elf/configure: Delete.
13619
13620 * configure.in: Remove support for elf directories in sysdeps.
13621
13622 * configure: Regenerated.
13623 * sysdeps/i386/configure: Regenerated.
13624 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13625 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13626 * sysdeps/s390/s390-32/configure: Regenerated.
13627 * sysdeps/s390/s390-64/configure: Regenerated.
13628 * sysdeps/sh/configure: Regenerated.
13629 * sysdeps/sparc/configure: Regenerated.
13630 * sysdeps/x86_64/configure: Regenerated.
13631
a3f61311
AS
136322012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13633
c876e002
AS
13634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13635
a3f61311
AS
13636 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13637 denormal result into account.
13638
ac4c54f0
RM
136392012-03-25 Roland McGrath <roland@hack.frob.com>
13640
13641 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13642 Reported by Allan McRae <allan@archlinux.org>.
13643
6a9b9c02
JL
136442012-03-23 Jeff Law <law@redhat.com>
13645
13646 * nss/getnssent.c (__nss_getent): Fix typo.
13647
4c42a0c1
DM
136482012-03-23 David S. Miller <davem@davemloft.net>
13649
13650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13651
1532c7ac
L
136522012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13653
13654 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13655 to pad to uint64_t for each field.
13656 (dl_tls_index): Replace unsigned long with uint64_t.
13657
3ff42526
PP
136582012-03-23 Daniel Jacobowitz <dmj@google.com>
13659 Paul Pluzhnikov <ppluzhnikov@google.com>
13660
13661 [BZ #6528]
13662 * grp/Makefile (otherlibs): Don't set it.
13663 * inet/Makefile (otherlibs): Likewise.
13664 * login/Makefile (otherlibs): Likewise.
13665 * nscd/Makefile (otherlibs): Likewise.
13666 * posix/Makefile (otherlibs): Likewise.
13667 * pwd/Makefile (otherlibs): Likewise.
13668 * rt/Makefile (otherlibs): Likewise.
13669 * sunrpc/Makefile (otherlibs): Likewise.
13670 * nss/Makefile (otherlibs): Likewise.
13671 Add libnss_files to routines and static-only-routines.
13672 ($(objpfx)getent): Remove rule.
13673 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13674 static-only-routines.
13675
7c69cd14
JM
136762012-03-22 Joseph Myers <joseph@codesourcery.com>
13677
13678 [BZ #13892]
13679 * math/s_cexp.c: Include <float.h>.
13680 (__cexp): Handle exp result overflowing not necessarily
13681 overflowing both real and imaginary parts of result.
13682 * math/s_cexpf.c: Likewise.
13683 * math/s_cexpl.c: Likewise.
13684 * math/libm-test.inc (cexp_test): Add more tests.
13685 * sysdeps/i386/fpu/libm-test-ulps: Update.
13686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13687
81b035fe
L
136882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13689
13690 * include/link.h (ELFW): New macro.
13691 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13692 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13693
1da7940c
L
136942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13695
13696 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13697 with uint64_t.
13698
b749dbb9
L
136992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13700
13701 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13702 declaration.
13703 (struct La_x32_retval): Likewise.
13704
2ff87f3f
L
137052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13706
13707 * sysdeps/x86_64/preconfigure.in: New file.
13708 * sysdeps/x86_64/preconfigure: New generated file.
13709
c0df8e69
JM
137102012-03-22 Joseph Myers <joseph@codesourcery.com>
13711
48e44791
JM
13712 [BZ #13824]
13713 * math/e_exp2l.c: Include <float.h>.
13714 (__ieee754_exp2l): Handle overflow and underflow cases
13715 separately. Only pass fractional part of argument to
13716 __ieee754_expl.
13717 * math/libm-test.inc (exp2_test): Add more tests.
13718
c0df8e69
JM
13719 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13720 negating x to take absolute value.
13721 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13722 Likewise.
13723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13725 Likewise.
13726 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13727 computing low part if x was negated.
13728 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13729
c8e43ba7
L
137302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13731
13732 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13733 la_x32_gnu_pltexit.
13734 (pltexit): Cast int_retval to ptrdiff_t.
13735 * elf/tst-auditmod3b.c: Likewise.
13736 * elf/tst-auditmod4b.c: Likewise.
13737 * elf/tst-auditmod5b.c: Likewise.
13738 * elf/tst-auditmod6b.c: Likewise.
13739 * elf/tst-auditmod6c.c: Likewise.
13740 * elf/tst-auditmod7b.c: Likewise.
13741
13742 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13743 and x32_gnu_pltexit.
13744
13745 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13746 __ELF_NATIVE_CLASS.
13747 (La_x32_regs): New macro.
13748 (La_x32_retval): Likewise.
13749 (la_x32_gnu_pltenter): New function prototype.
13750 (la_x32_gnu_pltexit): Likewise.
13751
7998fa78
AS
137522012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13753
dcb33988
AS
13754 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13755 exponent.
13756
233fc563
AS
13757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13758
7998fa78
AS
13759 * configure.in (libc_cv_cc_nofma): Check for option to disable
13760 generation of FMA instructions.
13761 * configure: Regenerate.
13762 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13763 * sysdeps/ieee754/dbl-64/Makefile: New file.
13764 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13765 Remove brandred-fma4.
13766 (CFLAGS-brandred-fma4.c): Remove.
13767 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13768 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13769 define.
13770 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13771 define.
13772
8e95c99a
L
137732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13774
13775 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13776 LLONG_MAX != LONG_MAX.
13777 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13778 (_fitoa_word): Likewise.
13779 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13780 LLONG_MAX != LONG_MAX.
13781 * stdio-common/_itowa.h: Include <_itoa.h>.
13782 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13783 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13784 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13785 only if not defined.
13786 (_ITOA_WORD_TYPE): Likewise.
13787 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13788 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13789
6f4db457
DM
137902012-03-21 David S. Miller <davem@davemloft.net>
13791
13792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13793
7785fe5a
L
137942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13795
13796 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13797 of x86_64 when setting libc_cv_slibdir, libdir and
13798 libc_cv_localedir.
13799 * sysdeps/unix/sysv/linux/configure: Regenerated.
13800
4535cd55
JM
138012012-03-21 Joseph Myers <joseph@codesourcery.com>
13802
13803 * manual/lang.texi (Old Varargs): Remove section.
13804 (How Variadic): Update menu.
13805 (va_start): Do not mention varargs.h.
13806
17228132
TS
138072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13808 Joseph Myers <joseph@codesourcery.com>
13809
13810 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13811 link test.
13812 * configure: Regenerated.
13813
8149f976
TS
138142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13815
05f3d1f6
UD
13816 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13817 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13818 conformtest.pl
8149f976 13819
1a4ac776
JM
138202012-03-21 Joseph Myers <joseph@codesourcery.com>
13821
be22ce65
JM
13822 * NOTES: Remove.
13823 * Makefile (files-for-dist): Remove NOTES.
13824 (NOTES): Remove rule.
13825 * README: Don't refer to NOTES.
13826 * manual/creature.texi: Don't include macros.texi.
13827 * manual/intro.texi (creature.texi): Remove comment referring to
13828 NOTES.
13829
40b601fb
JM
13830 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13831 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13832 * configure: Regenerated.
13833 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13834 LIBC_TRY_CC_OPTION.
13835 (libc_cv_as_i686): Likewise.
13836 (libc_cv_cc_avx): Likewise.
13837 (libc_cv_cc_sse2avx): Likewise.
13838 (libc_cv_cc_fma4): Likewise.
13839 (libc_cv_cc_novzeroupper): Likewise.
13840 * sysdeps/i386/configure: Regenerated.
13841
1a4ac776
JM
13842 [BZ #13883]
13843 * sysdeps/i386/fpu/s_cexp.S: Remove.
13844 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13845 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13846 * math/libm-test.inc (cexp_test): Add more tests.
13847 * sysdeps/i386/fpu/libm-test-ulps: Update.
13848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13849
a458e7fe
AM
138502012-03-21 Allan McRae <allan@archlinux.org>
13851
13852 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13853
0cb7efc5
JM
138542012-03-21 Joseph Myers <joseph@codesourcery.com>
13855
13856 [BZ #13871]
13857 * math/w_exp2.c: Do not include <float.h>.
13858 (o_threshold, u_threshold): Remove.
13859 (__exp2): Calculate result before checking finiteness and calling
13860 __kernel_standard.
13861 * math/w_exp2f.c: Likewise.
13862 * math/w_exp2l.c: Likewise.
13863 * math/libm-test.inc (exp2_test): Require overflow exception for
13864 1e6 input.
2460d3aa
JM
13865
13866 [BZ #3866]
13867 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13868 range of signed 64-bit integers before using fistpll. Remove
13869 checks for whether integers fit in mantissa bits.
13870 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13871 the range of signed 32-bit integers before using fistpl. Remove
13872 checks for whether integers fit in mantissa bits.
13873 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13874 (__ieee754_powl): Test for y outside the range of signed 64-bit
13875 integers before using fistpll. Reduce 64-bit values to 63-bit
13876 ones as needed.
13877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13878 divide-by-zero is raised for zero to large negative powers.
13879 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13880 (__ieee754_powl): Test for y outside the range of signed 64-bit
13881 integers before using fistpll. Reduce 64-bit values to 63-bit
13882 ones as needed.
13883 * math/libm-test.inc (pow_test): Add more tests.
13884
eb96ffb0
L
138852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13886
13887 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13888 <stdio-common/_itoa.h>.
13889 * debug/segfault.c: Likewise.
13890 * elf/dl-cache.c: Likewise.
13891 * elf/dl-minimal.c: Likewise.
13892 * elf/dl-misc.c: Likewise.
13893 * elf/dl-sysdep.c: Likewise.
13894 * elf/dl-version.c: Likewise.
13895 * elf/rtld.c: Likewise.
13896 * hurd/hurdsock.c: Likewise.
13897 * hurd/lookup-retry.c: Likewise.
13898 * malloc/malloc.c: Likewise.
13899 * malloc/mtrace.c: Likewise.
13900 * nscd/nscd_getgr_r.c: Likewise.
13901 * nscd/nscd_getpw_r.c: Likewise.
13902 * nscd/nscd_getserv_r.c: Likewise.
13903 * posix/getopt_init.c: Likewise.
13904 * posix/wordexp.c: Likewise.
13905 * stdio-common/_itoa.c: Likewise.
13906 * stdio-common/printf_fphex.c: Likewise.
13907 * stdio-common/vfprintf.c: Likewise.
13908 * string/_strerror.c: Likewise.
13909 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13910 * sysdeps/i386/i686/hp-timing.h: Likewise.
13911 * sysdeps/mach/_strerror.c: Likewise.
13912 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13913 * sysdeps/mach/hurd/sethostid.c: Likewise.
13914 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13915 * sysdeps/mach/xpg-strerror.c: Likewise.
13916 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13917 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13918 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13919 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13920 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13921 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13922 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13923 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13924 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13925 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13926 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13927 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13928 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13929 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13930 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13931 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13932 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13933 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13934 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13935 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13936 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13937
13938 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13939
13940 * stdio-common/_itoa.h: Moved to ...
13941 * sysdeps/generic/_itoa.h: Here.
13942
13943 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13944
13945 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13946 instead of "_itoa.h" and "_itowa.h".
13947 * stdio-common/vfprintf.: Likewise.
13948
d1af992d
L
139492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13950
13951 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13952 <bits/wordsize.h>.
13953 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13954 (__signbit): Likwise.
13955 (llrintf): Likwise.
13956 (llrint): Likwise.
13957
114883e0
L
139582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13959
13960 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13961 __WORDSIZE != 64.
13962
c135cc1b
JM
139632012-03-20 Joseph Myers <joseph@codesourcery.com>
13964
13965 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13966 OVERFLOW_EXCEPTION_OK.
13967 * math/libm-test.inc ("Philosophy"): Update comment about
13968 exception testing.
13969 (OVERFLOW_EXCEPTION): Define.
13970 (OVERFLOW_EXCEPTION_OK): Likewise.
13971 (INVALID_EXCEPTION_OK): Renumber.
13972 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13973 (IGNORE_ZERO_INF_SIGN): Likewise.
13974 (test_exceptions): Handle FE_OVERFLOW.
13975 (exp10_test): Expect overflow exceptions.
13976 (exp2_test): Likewise.
13977 (expm1_test): Likewise.
13978 (nextafter_test): Likewise.
13979 (pow_test): Likewise.
13980 (scalbn_test): Likewise.
13981 (scalbln_test): Likewise.
13982
95443d88
L
139832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13984
13985 * sysdeps/x86_64/bits/atomic.h
13986 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13987 64bit integer.
13988 (atomic_exchange_acq): Likewise.
13989 (__arch_exchange_and_add_body): Likewise.
13990 (__arch_add_body): Likewise.
13991 (atomic_add_negative): Likewise.
13992 (atomic_add_zero): Likewise.
13993
490df6c4
L
139942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13995
c2722551 13996 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
13997 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13998
5e52b189
L
139992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14000
14001 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14002 Check __x86_64__ instead of __WORDSIZE.
14003
a9879d4c
L
140042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14005
14006 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14007
5df98260
DM
140082012-03-19 David S. Miller <davem@davemloft.net>
14009
e1497744
DM
14010 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14011
5df98260
DM
14012 * sysdeps/sparc/fpu/fenv_private.h: New file.
14013 * sysdeps/sparc/fpu/math_private.h: Use it.
14014 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14015 Remove.
14016 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14017 (libc_feholdexcept_setroundl): Remove.
14018 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14019 Remove.
14020 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14021 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14022
b4c35121
L
140232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14024
14025 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14026 int64_t instead of long int.
14027 (INSERT_WORDS64): Likwise.
14028
56965fd7
L
140292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14030
14031 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14032 _Unwind_GetCFA return to _Unwind_Ptr first.
14033
83d1aec8
JM
140342012-03-19 Joseph Myers <joseph@codesourcery.com>
14035
1897ad44
JM
14036 [BZ #13629]
14037 * math/s_clog.c: Include <float.h>.
14038 (__clog): Scale large or subnormal inputs.
14039 * math/s_clogf.c: Likewise.
14040 * math/s_clogl.c: Likewise.
14041 * math/s_clog10.c: Include <float.h>.
14042 (M_LOG10_2): Define.
14043 (__clog10): Scale large or subnormal inputs.
14044 * math/s_clog10f.c: Likewise.
14045 * math/s_clog10l.c: Likewise.
14046 * math/libm-test.inc (clog_test): Add more tests.
14047 (clog10_test): Likewise.
14048 * sysdeps/i386/fpu/libm-test-ulps: Update.
14049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14050
7726d6a9
JM
14051 [BZ #11451]
14052 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14053 x and y.
14054 * math/libm-test.inc (atan2_test): Add another test.
14055
83d1aec8
JM
14056 * Makerules (common-objdir-compile): Remove.
14057 * sysdeps/unix/Makefile (config-generated): Do not add
14058 $(unix-generated) to variable.
14059 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14060 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14061 Remove rule.
14062 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14063 Likewise.
14064 [generic bits/local_lim.h] (before-compile): Do not append to
14065 variable.
14066 [generic bits/local_lim.h] (common-generated): Likewise.
14067 [generic sys/param.h] (before-compile): Do not append to variable.
14068 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14069 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14070 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14071 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14072 include.
14073 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14074 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14075 [generic sys/param.h] ($(addprefix
14076 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14077 [generic sys/param.h] (common-generated): Do not append to
14078 variable.
14079 [generic sys/param.h] (sysdep_headers): Likewise.
14080 [generic bits/errno.h] (before-compile): Do not append to
14081 variable.
14082 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14083 rule.
14084 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14085 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14086 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14087 [generic bits/errno.h] (common-generated): Do not append to
14088 variable.
14089 [generic bits/ioctls.h] (before-compile): Do not append to
14090 variable.
14091 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14092 rule.
14093 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14094 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14095 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14096 rule.
14097 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14098 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14099 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14100 [generic bits/ioctls.h] (common-generated): Do not append to
14101 variable.
14102 [generic sys/syscall.h] (syscall.h): Remove variable.
14103 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14104 rule.
14105 [generic sys/syscall.h] (before-compile): Do not append to
14106 variable.
14107 [generic sys/syscall.h] (common-generated): Likewise.
14108 * sysdeps/unix/errnos-tmpl.c: Remove file.
14109 * sysdeps/unix/errnos.awk: Likewise.
14110 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14111 * sysdeps/unix/ioctls.awk: Likewise.
14112 * sysdeps/unix/mk-local_lim.c: Likewise.
14113 * sysdeps/unix/snarf-ioctls: Likewise.
14114
4851a949
RH
141152012-03-19 Richard Henderson <rth@twiddle.net>
14116
bd37f2ee
RH
14117 * sysdeps/i386/fpu/fenv_private.h: New file.
14118 * sysdeps/i386/fpu/math_private.h: Use it.
14119 (math_opt_barrier, math_force_eval): Remove.
14120 (libc_feholdexcept_setround_53bit): Remove.
14121 (libc_feupdateenv_53bit): Remove.
14122 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14123 (math_opt_barrier, math_force_eval): Remove.
14124 (libc_feholdexcept): Remove.
14125 (libc_feholdexcept_setround): Remove.
14126 (libc_fetestexcept, libc_fesetenv): Remove.
14127 (libc_feupdateenv_test): Remove.
14128 (libc_feupdateenv, libc_feholdsetround): Remove.
14129 (libc_feresetround): Remove.
14130
d0adc922
RH
14131 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14132 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14133
0fe0f1f8
RH
14134 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14135 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14136 (libc_feupdateenv_testl): New.
14137 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14138 (libc_feupdateenv_testf): New.
14139 (libc_feupdateenv): Use libc_feupdateenv_test.
14140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14142
eb92c487
RH
14143 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14144 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14145 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14146 (libc_feresetround_noex): New.
14147 (libc_feresetround_noexf): New.
14148 (libc_feresetround_noexl): New.
14149 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14150 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14151 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14152 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14153 SET_RESTORE_ROUND.
14154 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14155 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14156 (__cos): Likewise.
14157 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14158 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14159 SET_RESTORE_ROUND_NOEX.
14160 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14161 SET_RESTORE_ROUND_NOEXF.
14162 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14163 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14164 (libc_feholdsetroundf): New.
14165 (libc_feresetround, libc_feresetroundf): New.
14166
7d2e8012
RH
14167 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14168 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14169 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14170
b4dabbb4
RH
14171 * sysdeps/generic/math_private.h: Include <fenv.h>.
14172 (default_libc_feholdexcept): New.
14173 (default_libc_feholdexcept_setround): New.
14174 (default_libc_fesetenv, default_libc_feupdateenv): New.
14175 (libc_feholdexcept): Only define if undefined.
14176 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14177 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14178 (libc_feholdexcept_setroundl): Likewise.
14179 (libc_feholdexcept_setround_53bit): Likewise.
14180 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14181 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14182 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14183 (libc_feupdateenv_53bit): Likewise.
14184 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14185 (libc_feholdexcept): Convert from macro to inline function.
14186 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14187 (libc_fesetenv, libc_feupdateenv): Likewise.
14188
4851a949
RH
14189 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14190 not previously defined.
14191 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14192 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14193 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14194 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14195 * sysdeps/ieee754/flt-32/math_private.h: New file.
14196 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14197 math_private.h below SET_FLOAT_WORD.
14198 (__isnan, __isinf_ns, __finite): Remove.
14199 (__isnanf, __isinf_nsf, __finitef): Remove.
14200
e79d442e
AS
142012012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14202
14203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14204
90b80344
DM
142052012-03-17 David S. Miller <davem@davemloft.net>
14206
14207 [BZ #6471]
14208 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14209 for 2.16.
14210
edc21804
DM
142112012-03-16 David S. Miller <davem@davemloft.net>
14212
77e927af
DM
14213 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14214 warnings.
14215
374976dd
DM
14216 [BZ #6471]
14217 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14218 properly.
14219 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14220 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14221 sysdep_routines when subdir is sysvipc.
14222 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14223 __getshmlba helper.
14224
edc21804
DM
14225 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14226
473c3ef3
L
142272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14228
14229 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14230 [__LP64__].
14231
eb0f39b6
L
142322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14233
14234 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14235 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14236 (__lround): Renamed to ...
14237 (__llround): This. Replace long int with long long int.
14238 Define lround functions as aliases of llround functions.
14239 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14240
6b6cd74b
L
142412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14242
14243 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14244 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14245 adresses to uintptr_t. Replace "long int" and "unsigned long
14246 int" with "greg_t" on va_arg.
14247
f1a77b01
L
142482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14249
14250 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14251 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14252
14253 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14254 Move e_machine check before EI_CLASS check. Handle x32
14255 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14256 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14257 SKIP_EM_IA_64 and include
14258 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14259
14260 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14261 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14262 (add_system_dir): New macro.
14263
14264 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14265 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14266
11b90b9f
JM
142672012-03-16 Joseph Myers <joseph@codesourcery.com>
14268
c36e1d23
JM
14269 [BZ #2551]
14270 [BZ #2552]
14271 [BZ #2553]
14272 [BZ #2554]
14273 [BZ #2562]
14274 [BZ #2563]
14275 [BZ #2565]
14276 [BZ #2566]
14277 [BZ #2576]
14278 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14279 (y0): Likewise.
14280 * math/w_j0f.c (j0f): Likewise.
14281 (y0f): Likewise.
14282 * math/w_j0l.c (__j0l): Likewise.
14283 (__y0l): Likewise.
14284 * math/w_j1.c (j1): Likewise.
14285 (y1): Likewise.
14286 * math/w_j1f.c (j1f): Likewise.
14287 (y1f): Likewise.
14288 * math/w_j1l.c (__j1l): Likewise.
14289 (__y1l): Likewise.
14290 * math/w_jn.c (jn): Likewise.
14291 (yn): Likewise.
14292 * math/w_jnf.c (jnf): Likewise.
14293 (ynf): Likewise.
14294 * math/w_jnl.c (__jnl): Likewise.
14295 (__ynl): Likewise.
14296 * math/libm-test.inc (j0_test): Add more tests.
14297 (j1_test): Likewise.
14298 (jn_test): Likewise. Add trailing semicolon to existing test.
14299 (y0_test): Likewise.
14300 (y1_test): Likewise.
14301 * sysdeps/i386/fpu/libm-test-ulps: Update.
14302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14303
11b90b9f
JM
14304 [BZ #13851]
14305 [BZ #13854]
14306 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14307 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14308 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14309 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14310 (__tanl): Set errno for infinite argument.
14311 * sysdeps/i386/fpu/mptan.c: Remove.
14312 * sysdeps/i386/fpu/s_tan.S: Likewise.
14313 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14314 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14315 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14316 * math/libm-test.inc (tan_test): Add more tests and enable more
14317 tests for double and long double.
14318 * sysdeps/i386/fpu/libm-test-ulps: Update.
14319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14320
6a1bd2a1
JK
143212012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14322
14323 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14324 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14325
10a803e0
RM
143262012-03-16 Roland McGrath <roland@hack.frob.com>
14327
14328 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14329 * configure.in: Use it for both main tree and add-ons.
14330 * configure: Regenerated.
14331
f196c7f7
L
143322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14333
14334 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14335
8848d99d
JM
143362012-03-16 Joseph Myers <joseph@codesourcery.com>
14337
96cbe7f4
JM
14338 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14339 in comment.
14340
8848d99d
JM
14341 [BZ #13851]
14342 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14343 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14345 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14347 infinite argument.
14348 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14349 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14350 != 0 for prec == 2.
14351 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14352 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14353 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14354 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14355 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14356 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14357 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14358 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14359 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14360 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14361 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14362 * math/libm-test.inc (cos_test): Add more tests and enable more
14363 tests for long double.
14364 (sin_test): Likewise.
14365 (sincos_test): Likewise.
14366 * sysdeps/i386/fpu/libm-test-ulps: Update.
14367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14368
dd7f4703
DM
143692012-03-16 David S. Miller <davem@davemloft.net>
14370
14371 * sysdeps/sparc/fpu/math_private.h: New file.
14372
006f1daa
DM
143732012-03-15 David S. Miller <davem@davemloft.net>
14374
c0c83bc8
DM
14375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14376 file.
e6a62e18 14377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14379 file.
e6a62e18
DM
14380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14386 sysdep routines.
14387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14388
88cb87d9
DM
14389 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14390 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14391
006f1daa 14392 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14394 sparc-ifunc.h
006f1daa 14395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14397 Likewise.
14398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14399 Likewise.
006f1daa
DM
14400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14404 Likewise.
006f1daa
DM
14405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14410 Likewise.
14411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14412 Likewise.
006f1daa
DM
14413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14420 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14424 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14425 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14431 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14433 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14434 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14436 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14437
11e0098e
AS
144382012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14439
14440 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14441 scaling.
14442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14443
e85b09d0
AJ
144442012-03-15 Andreas Jaeger <aj@suse.de>
14445
14446 [BZ #13852]
14447 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14448 ieee754/flt-32 implementation for sin, cos and sincos.
14449 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14450 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14451 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14452 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14453 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14454 ieee754/flt-32 implementation for tan.
14455
14456 * math/libm-test.inc (cos_test): Enable some large input tests for
14457 float as well
14458 (sin_test): Likewise.
14459 (sincos_test): Likewise.
14460 (tan_test): Add tests for large input.
14461
14462 * sysdeps/i386/fpu/libm-test-ulps: Update.
14463
81c64153
AJ
144642012-03-15 Andreas Jaeger <aj@suse.de>
14465
14466 [BZ #13658]
14467 * math/libm-test.inc (cos_test): Add more test cases.
14468 (sin_test): Likewise.
14469 (sincos_test): Likewise.
14470
7bbfa5c6
AJ
144712012-03-15 Andreas Jaeger <aj@suse.de>
14472
14473 [BZ #13837]
14474 * math/libm-test.inc (cos_test): Add a test case for large input
14475 value.
14476 (sin_test): Likewise.
14477 (sincos_test): Likewise.
14478
144792012-03-15 Andreas Jaeger <aj@suse.de>,
14480 Joseph Myers <joseph@codesourcery.com>
14481
14482 [BZ #13658]
0671f479 14483 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14484 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14485 * sysdeps/i386/fpu/branred.c: Likewise.
14486 * sysdeps/i386/fpu/dosincos.c: Likewise.
14487 * sysdeps/i386/fpu/mpa.c: Likewise.
14488 * sysdeps/i386/fpu/s_cos.S: Likewise.
14489 * sysdeps/i386/fpu/s_sin.S: Likewise.
14490 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14491 * sysdeps/i386/fpu/sincos32.c: Likewise.
14492
14493 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14494 Define.
14495 (libc_feupdateenv_53bit): Define.
14496 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14497 Define.
14498 (libc_feupdateenv_53bit): Define.
14499
14500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14501 53 bit (without extend i386 double precision).
14502
14503 * math/libm-test.inc (sincos_test): Add tests for large input.
14504 (sin): Likewise.
14505 (cos): Likewise.
14506
14507 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14508
9cad04ea
AS
145092012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14510
14511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14512
f7062b9a
DM
145132012-03-15 David S. Miller <davem@davemloft.net>
14514
14515 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14516 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14517 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14518 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14523 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14524 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14531 file.
f7062b9a 14532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14534 file.
f7062b9a 14535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14537 file.
f7062b9a 14538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14540 file.
f7062b9a
DM
14541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14543 fmin/fmax sysdep routines.
14544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14545
7bd951ff
DM
145462012-03-14 David S. Miller <davem@davemloft.net>
14547
559398ab
DM
14548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14550 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14552 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14553 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14554 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14562 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14568 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14569 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14570 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14571 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14572 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14573 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14574 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14575 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14576 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14577 routines.
14578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14579 file.
559398ab 14580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14582 file.
559398ab 14583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14585 file.
559398ab 14586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14588 file.
559398ab 14589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14591 file.
559398ab 14592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14594 file.
14595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14596 file.
14597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14598 file.
14599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14600 file.
14601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14602 New file.
14603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14604 file.
14605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14606 file.
559398ab 14607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14609 file.
559398ab 14610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14612 file.
559398ab 14613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14615 file.
559398ab 14616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14618 VIS3 routines.
559398ab
DM
14619
14620 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14621 New file.
14622
5a1c1e32
DM
14623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14624
eae47a36
DM
14625 * sysdeps/sparc/configure.in: New file.
14626 * sysdeps/sparc/configure: Generate.
14627 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14628 * configure: Regenerate.
14629 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14630 * config.make.in (have-as-vis3): New.
14631 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14632 available use -Av9d instead of -Av9a.
14633 * sysdeps/sparc/sparc64/Makefile: Likewise.
14634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14636 New file.
14637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14638 file.
14639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14640 New file.
14641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14642 file.
eae47a36
DM
14643 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14644 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14645 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14646 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14647 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14648
c0c83bc8
DM
14649 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14650 fzeros/fnegs to load 0x80000000 into a float register instead of
14651 using the stack.
7bd951ff
DM
14652 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14653
bd951ccb
JM
146542012-03-14 Joseph Myers <joseph@codesourcery.com>
14655
14656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14657 bits/syscall.h.
14658 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14659 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14660 ($(inst_includedir)/bits/syscall.h): Remove rule.
14661 ($(objpfx)bits/syscall.d): Include instead of
14662 $(objpfx)syscall-list.d.
14663 (generated): Change syscall-list.h and syscall-list.d to
14664 bits/syscall.h and bits/syscall.d.
14665
bb4e6db2
RM
146662012-03-14 Roland McGrath <roland@hack.frob.com>
14667
14668 [BZ #13846]
14669 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14670
aa4a2ae1
JM
146712012-03-14 Joseph Myers <joseph@codesourcery.com>
14672
e456826d
JM
14673 [BZ #13841]
14674 * math/s_csqrt.c: Include <float.h>.
14675 (__csqrt): Scale large or subnormal inputs.
14676 * math/s_csqrtf.c: Likewise.
14677 * math/s_csqrtl.c: Likewise.
14678 * math/libm-test.inc (csqrt_test): Add more tests.
14679 * sysdeps/i386/fpu/libm-test-ulps: Update.
14680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14681
aa4a2ae1
JM
14682 [BZ #13840]
14683 * math/libm-test.inc (hypot_test): Add more tests.
14684
7c10fd35
DM
146852012-03-13 David S. Miller <davem@davemloft.net>
14686
14687 [BZ #13840]
14688 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14689 double-precision for the calculation instead of scaling.
14690
f453b98b
JM
146912012-03-13 Joseph Myers <joseph@codesourcery.com>
14692
14693 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14694 manipulate bits before adding and subtracting TWO52[sx].
14695 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14696 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14697 Likewise.
14698 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14699
09a3453f
DM
147002012-03-13 David S. Miller <davem@davemloft.net>
14701
8e59da90
DM
14702 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14703 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14705 rtld-global-offsets.h
14706 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14707
2a8ab7f2
DM
14708 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14709 large parameters.
14710
10f62770
DM
14711 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14712
5f0bdb18
DM
14713 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14714 'err' in the ifdef scope in which it is actually used.
14715
09a3453f
DM
14716 * nss/nss_db/db-init.c: Include string.h
14717
b4b2eb5e
DM
147182012-03-12 David S. Miller <davem@davemloft.net>
14719
98bb2f1c
DM
14720 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14721 masking out of the most significant byte of random value used.
14722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14723 Fix coding style in previous change.
14724
b4b2eb5e
DM
14725 * sysdeps/unix/sysv/linux/kernel-features.h
14726 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14727 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14728 expression.
14729 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14730 later.
14731
6e226b09
DM
147322012-03-11 David S. Miller <davem@davemloft.net>
14733
a1bcbd40
DM
14734 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14735 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14736 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14737 for 'resultvar' otherwise things get truncated on 64-bit.
14738
cb9d6174
DM
14739 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14740 Fix masking out of the most significant byte of random value used.
14741
6e226b09
DM
14742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14743
058c132d
AS
147442012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14745
14746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14747
2d2cd515
DM
147482012-03-09 David S. Miller <davem@davemloft.net>
14749
14750 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14751 variables with appropriate CPP guards.
14752 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14753 frame pointer, not the stack pointer. Correct layout comments. Fix test
14754 on resulting framesize and the management of the outregs buffer for pltexit.
14755 Preserve floating point return values across _dl_call_pltexit call.
14756 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14757 framesize and the management of the outregs buffer for pltexit.
14758 Preserve floating point return values across _dl_call_pltexit
14759 call.
14760 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14761 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14762 (print_exit): Fix format string for return register value.
14763
9a07f9d0
JM
147642012-03-10 Joseph Myers <joseph@codesourcery.com>
14765
14766 * sunrpc/Makefile (others): Add rpcgen.
14767 ($(objpfx)rpcgen): Remove special build rule and dependency on
14768 libc.
14769 * sunrpc/rpcgen.c: New file.
14770
547b5e30
PE
147712012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14772
c524201a
PE
14773 [BZ #13673]
14774 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14775 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14776 * sysdeps/i386/crti.S: Likewise.
14777 * sysdeps/i386/crtn.S: Likewise.
14778 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14779 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14780 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14781 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14782 * sysdeps/sh/crti.S: Likewise.
14783 * sysdeps/sh/crtn.S: Likewise.
14784 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14785
7b6235f2
PE
14786 [BZ #13673]
14787 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14788 with URL.
14789 * locale/programs/locfile-kw.gperf: Likewise.
14790 * locale/programs/charmap-kw.h: Regenerated.
14791 * locale/programs/locfile-kw.h: Likewise.
14792
547b5e30
PE
14793 [BZ #13673]
14794 * intl/plural.y: Replace FSF snail mail address with URL.
14795 * intl/plural.c: Regenerated.
14796
5f0a5dae
RH
147972012-03-09 Richard Henderson <rth@twiddle.net>
14798
14799 * include/math_private.h: Remove file.
14800 * math/math_private.h: Move file ...
14801 * sysdeps/generic/math_private.h: ... here.
14802
b8c03620
RH
14803 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14804 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14805 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14806
4e234f5d 14807 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14808 and <math_private.h>.
14809 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14810 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14811 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14812 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14813 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14814 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14815 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14817 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14818 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14819 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14820 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14821 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14822 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14823 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14824 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14825 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14826 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14833 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14834 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14835 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14836 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14837 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14838 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14839 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14840 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14841 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14842 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14843 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14844 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14845 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14846 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14847 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14848 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14849 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14850 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14851 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14852 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14854 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14856 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14857 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14860 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14861 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14862 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14863 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14867 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14876 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14885 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14887 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14888 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14889 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14890 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14891 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14897 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14898 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14899 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14900 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14901 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14902 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14903 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14904 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14905 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14906 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14907 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14908 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14909 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14910 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14911 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14912 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14913 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14914 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14915 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14916 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14917 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14918 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14919 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14920 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14921 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14922 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14923 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14924 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14925 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14926 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14927 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14928 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14929 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14930 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14931 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14932 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14933 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14934 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14935 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14936 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14937 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14938 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14939 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14940 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14941 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14942 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14943 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14944 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14945 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14946 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14947 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14948 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14949 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14950 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14951 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14952 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14953 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14954 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14955 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14956 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14957 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14958 * sysdeps/ieee754/k_standard.c: Likewise.
14959 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14960 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14961 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14962 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14963 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14964 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14965 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14966 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14967 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14968 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14969 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14970 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14971 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15010 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15011 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15022 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15024 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15026 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15032 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15033 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15036 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15069 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15071 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15072 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15074 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15075 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15076 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15077 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15078 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15079 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15080 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15081 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15082 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15083 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15085 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15086 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15087 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15088 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15091 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15092 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15093 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15094 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15095 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15096 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15097 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15098 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15099 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15100 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15101 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15102 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15103 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15104 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15105 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15106 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15107 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15108 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15110 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15111 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15112 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15113 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15114 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15115 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15116 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15117 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15118 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15119 * sysdeps/ieee754/s_lib_version.c: Likewise.
15120 * sysdeps/ieee754/s_matherr.c: Likewise.
15121 * sysdeps/ieee754/s_signgam.c: Likewise.
15122 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15123 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15124 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15125 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15126 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15127 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15128 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15129 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15130 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15131 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15132 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15133 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15134 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15135 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15136 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15137 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15138 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15139 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15140 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15141 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15143
1991fa03
JM
151442012-03-09 Joseph Myers <joseph@codesourcery.com>
15145
15146 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15147 * sunrpc/rpc_main.c: Likewise.
15148 * sunrpc/rpc_svcout.c: Likewise.
15149
60d6f5a6
DM
151502012-03-09 David S. Miller <davem@davemloft.net>
15151
15152 * include/math_private.h: New file.
15153
4962050e
JM
151542012-03-09 Joseph Myers <joseph@codesourcery.com>
15155
02a6f887
JM
15156 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15157 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15158 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15159 from <bits/socket_type.h>.
15160 (enum __socket_type): Don't define here.
15161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15163 bits/socket_type.h.
15164
c6e013c1
JM
15165 [BZ #13566]
15166 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15167 checking __USE_GNU.
15168
4962050e
JM
15169 * Makerules ($(inst_includedir)/%.h): New rule.
15170 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15171 (install-others): Remove variable setting.
15172 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15173
38842f45
RH
151742012-03-08 Richard Henderson <rth@twiddle.net>
15175
67bb6da6
RH
15176 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15177 from macro to inline function; merge with the
15178 !__LIBC_INTERNAL_MATH_INLINES version.
15179 (__ieee754_sqrtf): Likewise.
15180
15194b4b
RH
15181 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15182 to inline function.
15183 (__rintf, __floor, __floorf): Likewise.
15184
64e21ede
RH
15185 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15186 macro to inline function.
15187 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15188
38842f45
RH
15189 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15190 not <math/math_private.h>.
15191
c64bf5fe
DM
151922012-03-08 David S. Miller <davem@davemloft.net>
15193
15194 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15195 copyright year.
15196 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15197
82d86f28
TS
151982012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15199
15200 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15201 normalization.
15202 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15203 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15204
aea5d727
UD
152052012-03-08 Ulrich Drepper <drepper@gmail.com>
15206
15207 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15208 be defined individually, they must be defined as a block. Define
15209 S for printing a string instead of hidint the different by using a
15210 macro for adding the 'l'.
15211 * stdio-common/tst-fphex-wide.c: Adjust.
15212
70bca0a3
MP
152132012-03-07 Marek Polacek <polacek@redhat.com>
15214
15215 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15216
65b81130
MP
152172012-03-08 Marek Polacek <polacek@redhat.com>
15218
15219 [BZ #13806]
15220 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15221 * stdio-common/tst-fphex.c: Define a few macros to make the
15222 test reusable. Use them.
15223 * stdio-common/tst-fphex-wide.c: New file.
15224
07037eeb
JM
152252012-03-08 Joseph Myers <joseph@codesourcery.com>
15226
a7a93d50
JM
15227 [BZ #6911]
15228 * manual/macros.texi (gnusystems): New macro.
15229 (nongnusystems): Likewise.
15230 (gnulinuxhurdsystems): Likewise.
15231 (gnuhurdsystems): Likewise..
15232 (gnulinuxsystems): Likewise.
15233 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15234 variants of the GNU system, not "GNU system".
15235 * manual/conf.texi: Likewise.
15236 * manual/errno.texi: Likewise. Update example of errno macro
15237 expansion.
15238 * manual/filesys.texi: Likewise.
15239 (getumask): Document as specific to GNU/Hurd.
15240 * manual/install.texi: Likewise. Reword some references to
15241 GNU/Linux.
15242 * manual/intro.texi: Likewise.
15243 * manual/io.texi: Likewise.
15244 (File Name Portability): Detail which constraints are inapplicable
15245 to all GNU systems and which are only inapplicable to GNU/Hurd.
15246 * manual/job.texi: Likewise.
15247 * manual/llio.texi: Likewise.
15248 (O_NOCTTY): Document as present on GNU/Linux.
15249 * manual/maint.texi: Likewise.
15250 * manual/memory.texi: Likewise.
15251 * manual/pattern.texi: Likewise.
15252 * manual/pipe.texi: Likewise.
15253 * manual/process.texi: Likewise.
15254 * manual/resource.texi: Likewise.
15255 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15256 child on GNU/Hurd.
15257 * manual/setjmp.texi: Likewise.
15258 * manual/signal.texi: Likewise.
15259 * manual/startup.texi: Likewise.
15260 * manual/stdio.texi: Likewise.
15261 * manual/terminal.texi: Likewise.
15262 (ONLCR): Document as POSIX.
15263 (OXTABS): Document availability on GNU/Linux as XTABS.
15264 (ONOEOT): Document availability separately from other bits.
15265 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15266 * manual/time.texi: Likewise.
15267 * manual/users.texi: Likewise.
15268 * INSTALL: Regenerated.
15269 * sysdeps/gnu/errlist.c: Regenerated.
15270
07037eeb
JM
15271 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15272 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15273 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15274 puts.
15275 * configure: Regenerated.
15276
d1d3431a
JM
152772012-03-07 Joseph Myers <joseph@codesourcery.com>
15278
af6a1e37
JM
15279 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15280 default includes instead of AC_HEADER_CHECK.
15281 * sysdeps/i386/configure: Regenerated.
15282
d1d3431a
JM
15283 [BZ #10716]
15284 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15285 * math/s_cacoshf.c (__cacoshf): Likewise.
15286 * math/s_cacoshl.c (__cacoshl): Likewise.
15287 * math/s_casinh.c (__casinh): Set signs of result from argument.
15288 * math/s_casinhf.c (__casinhf): Likewise.
15289 * math/s_casinhl.c (__casinhl): Likewise.
15290 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15291 (casinh_test): Add more tests.
15292 * sysdeps/i386/fpu/libm-test-ulps: Update.
15293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15294
482ff4da
UD
152952012-03-07 Ulrich Drepper <drepper@gmail.com>
15296
872fda05
UD
15297 * po/zh_TW.po: Update from translation team.
15298
a4300c7a
UD
15299 * login/Makefile (distribute): Remove variable.
15300 * catgets/Makefile: Likewise.
15301 * mach/Makefile: Likewise.
15302 * malloc/Makefile: Likewise.
15303 * misc/Makefile: Likewise.
15304 * iconv/Makefile: Likewise.
15305 * nscd/Makefile: Likewise.
15306 * hurd/Makefile: Likewise.
15307 * manual/Makefile: Likewise.
15308 * locale/Makefile: Likewise.
15309 * intl/Makefile: Likewise.
15310 * conform/Makefile: Likewise.
15311 * nss/Makefile: Likewise.
15312 * time/Makefile: Likewise.
15313 * soft-fp/Makefile: Likewise.
15314 * dirent/Makefile: Likewise.
15315 * gmon/Makefile: Likewise.
15316 * po/Makefile: Likewise.
15317 * rt/Makefile: Likewise.
15318 * socket/Makefile: Likewise.
15319 * math/Makefile: Likewise.
15320 * signal/Makefile: Likewise.
15321 * debug/Makefile: Likewise.
15322 * elf/Makefile: Likewise.
15323 * timezone/Makefile: Likewise.
15324 * stdlib/Makefile: Likewise.
15325 * iconvdata/Makefile: Likewise.
15326 * sunrpc/Makefile: Likewise.
15327 * io/Makefile: Likewise.
15328 * argp/Makefile: Likewise.
15329 * inet/Makefile: Likewise.
15330 * hesiod/Makefile: Likewise.
15331 * grp/Makefile: Likewise.
15332 * csu/Makefile: Likewise.
15333 * wctype/Makefile: Likewise.
15334 * crypt/Makefile: Likewise.
15335 * libio/Makefile: Likewise.
15336 * string/Makefile: Likewise.
15337 * nis/Makefile: Likewise.
15338 * resolv/Makefile: Likewise.
15339 * stdio-common/Makefile: Likewise.
15340 * wcsmbs/Makefile: Likewise.
15341 * dlfcn/Makefile: Likewise.
15342 * posix/Makefile: Likewise.
15343
3b7c4e74 15344 [BZ #6959]
482ff4da
UD
15345 * timezone/Makefile: Don't install timezone files, just the programs
15346 and scripts.
15347
f72ed77d
UD
153482012-03-06 Ulrich Drepper <drepper@gmail.com>
15349
a000466f
UD
15350 * nss/databases.def: Add missing gshadow entry.
15351
f72ed77d
UD
15352 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15353
a53b7a4e
MP
153542012-03-06 Marek Polacek <polacek@redhat.com>
15355
15356 [BZ #13726]
15357 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15358 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15359 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15360 * stdio-common/tst-long-dbl-fphex.c: New file.
15361
e9258400
DM
153622012-03-06 David S. Miller <davem@davemloft.net>
15363
15364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15365 (set_obp_int): New function.
15366 (get_obp_int): New function.
15367 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15368 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15369 Avoid unused variable warnings on 'val' and use builtin_expect.
15370 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15371 __builtin_expect.
e9258400
DM
15372 (INLINE_CLONE_SYSCALL): Likewise.
15373
3bd2c723
DM
153742012-03-05 David S. Miller <davem@davemloft.net>
15375
15376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15377
bbb78d03
AS
153782012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15379
884c5db4
AS
15380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15381
bbb78d03
AS
15382 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15383 only for |x| >= 40.
15384 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15385
1c9f702a 153862012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15387
15388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15389 Replace gettimeofday with __vdso_gettimeofday.
15390
7be16f82
RM
15391 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15392 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15393 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15394
15395 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15396 time with __vdso_time.
15397
ed58a00f
JM
153982012-03-05 Joseph Myers <joseph@codesourcery.com>
15399
15400 * manual/lang.texi (size_t): Note types to which size_t may be
15401 equivalent with the GNU C Library, but do not describe when
15402 differences between them are significant.
15403
30ee4ced
AJ
154042012-03-05 Andreas Jaeger <aj@suse.de>
15405
15406 * sysdeps/i386/fpu/libm-test-ulps: Update.
15407
b7cd39e8
JM
154082012-03-05 Joseph Myers <joseph@codesourcery.com>
15409
15410 [BZ #3976]
15411 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15412 (__ieee754_pow): Save and restore rounding mode and use
15413 round-to-nearest for main computations.
15414 * math/libm-test.inc (pow_test_tonearest): New function.
15415 (pow_test_towardzero): Likewise.
15416 (pow_test_downward): Likewise.
15417 (pow_test_upward): Likewise.
15418 (main): Call the new functions.
15419 * sysdeps/i386/fpu/libm-test-ulps: Update.
15420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
15421
15422 [BZ #3976]
15423 * math/libm-test.inc (cosh_test_tonearest): New function.
15424 (cosh_test_towardzero): Likewise.
15425 (cosh_test_downward): Likewise.
15426 (cosh_test_upward): Likewise.
15427 (sinh_test_tonearest): Likewise.
15428 (sinh_test_towardzero): Likewise.
15429 (sinh_test_downward): Likewise.
15430 (sinh_test_upward): Likewise.
15431 (main): Call the new functions.
15432 * sysdeps/i386/fpu/libm-test-ulps: Update.
15433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15434
6c6a98c9
TV
154352012-03-05 Tom de Vries <tom@codesourcery.com>
15436
15437 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15438 default stack guard is set in last bytes.
15439 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15440
21bb2d2e 154412012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15442
21bb2d2e 15443 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15444
21bb2d2e
AJ
15445 [BZ #13656]
15446 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15447 possibly allocate from heap instead of stack.
15448 * stdio-common/bug-vfprintf-nargs.c: New file.
15449 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15450
c6922934
AS
154512012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15452
15453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15454
bc957d53
MP
154552012-03-03 Marek Polacek <polacek@redhat.com>
15456
15457 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15458 * math/math_private.h: Likewise.
15459 * stdlib/tst-strtod.c: Likewise.
15460 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15461 * sysdeps/x86_64/bits/atomic.h: Likewise.
15462
6358490d
DM
154632012-03-02 David S. Miller <davem@davemloft.net>
15464
15465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15469 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15470 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15471 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15472 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15473
01ae168d
RM
154742012-03-02 Roland McGrath <roland@hack.frob.com>
15475
d9a17c07
RM
15476 [BZ #13792]
15477 * manual/examples/README: New file, says the example source files
15478 can be used under GPL>=2.
15479 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15480 line containing just "*/".
15481 * manual/examples/add.c: Add copyright header (GPL>=2).
15482 * manual/examples/argp-ex1.c: Likewise.
15483 * manual/examples/argp-ex2.c: Likewise.
15484 * manual/examples/argp-ex3.c: Likewise.
15485 * manual/examples/argp-ex4.c: Likewise.
15486 * manual/examples/atexit.c: Likewise.
15487 * manual/examples/db.c: Likewise.
15488 * manual/examples/dir.c: Likewise.
15489 * manual/examples/dir2.c: Likewise.
15490 * manual/examples/execinfo.c: Likewise.
15491 * manual/examples/filecli.c: Likewise.
15492 * manual/examples/filesrv.c: Likewise.
15493 * manual/examples/fmtmsgexpl.c: Likewise.
15494 * manual/examples/genpass.c: Likewise.
15495 * manual/examples/inetcli.c: Likewise.
15496 * manual/examples/inetsrv.c: Likewise.
15497 * manual/examples/isockad.c: Likewise.
15498 * manual/examples/longopt.c: Likewise.
15499 * manual/examples/memopen.c: Likewise.
15500 * manual/examples/memstrm.c: Likewise.
15501 * manual/examples/mkfsock.c: Likewise.
15502 * manual/examples/mkisock.c: Likewise.
15503 * manual/examples/mygetpass.c: Likewise.
15504 * manual/examples/pipe.c: Likewise.
15505 * manual/examples/popen.c: Likewise.
15506 * manual/examples/rprintf.c: Likewise.
15507 * manual/examples/search.c: Likewise.
15508 * manual/examples/select.c: Likewise.
15509 * manual/examples/setjmp.c: Likewise.
15510 * manual/examples/sigh1.c: Likewise.
15511 * manual/examples/sigusr.c: Likewise.
15512 * manual/examples/stpcpy.c: Likewise.
15513 * manual/examples/strdupa.c: Likewise.
15514 * manual/examples/strftim.c: Likewise.
15515 * manual/examples/strncat.c: Likewise.
15516 * manual/examples/subopt.c: Likewise.
15517 * manual/examples/swapcontext.c: Likewise.
15518 * manual/examples/termios.c: Likewise.
15519 * manual/examples/testopt.c: Likewise.
15520 * manual/examples/testpass.c: Likewise.
15521 * manual/examples/timeval_subtract.c: Likewise.
15522
01ae168d
RM
15523 [BZ #13792]
15524 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15525 function to ...
15526 * manual/timeval_subtract.c.texi: ... here, new file.
15527
49efa33d
DM
155282012-03-02 David S. Miller <davem@davemloft.net>
15529
15530 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15531
28afd92d
JM
155322012-03-02 Joseph Myers <joseph@codesourcery.com>
15533
804360ed
JM
15534 [BZ #3976]
15535 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15536 (__sin): Save and restore rounding mode and use round-to-nearest
15537 for all computations.
15538 (__cos): Save and restore rounding mode and use round-to-nearest
15539 for all computations.
15540 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15541 <fenv.h>.
15542 (tan): Save and restore rounding mode and use round-to-nearest for
15543 all computations.
15544 * math/libm-test.inc (cos_test_tonearest): New function.
15545 (cos_test_towardzero): Likewise.
15546 (cos_test_downward): Likewise.
15547 (cos_test_upward): Likewise.
15548 (sin_test_tonearest): Likewise.
15549 (sin_test_towardzero): Likewise.
15550 (sin_test_downward): Likewise.
15551 (sin_test_upward): Likewise.
15552 (tan_test_tonearest): Likewise.
15553 (tan_test_towardzero): Likewise.
15554 (tan_test_downward): Likewise.
15555 (tan_test_upward): Likewise.
15556 (main): Call the new functions.
15557 * sysdeps/i386/fpu/libm-test-ulps: Update.
15558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15559
a6d06d7b
JM
15560 [BZ #10135]
15561 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15562 small n, then large n, before computing and testing k+n.
15563 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15564 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15565 Likewise.
15566 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15567 Likewise.
15568 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15569 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15570 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15571 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15573 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15574 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15575 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15576 * math/libm-test.inc (scalbn_test): Add more tests.
15577 (scalbln_test): Likewise.
15578
07e12bb3
JM
15579 * manual/filesys.texi (mode_t): Describe constraints on size and
15580 signedness, not exact equivalence to a particular type.
15581 (ino_t): Likewise.
15582 (ino64_t): Likewise.
15583 (dev_t): Likewise.
15584 (nlink_t): Likewise.
15585 (blkcnt_t): Likewise.
15586 (blkcnt64_t): Likewise.
15587 * manual/llio.texi (off_t): Likewise.
15588
28afd92d
JM
15589 [BZ #3976]
15590 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15591 (__ieee754_exp): Save and restore rounding mode and use
15592 round-to-nearest for all computations.
15593 * math/libm-test.inc (exp_test_tonearest): New function.
15594 (exp_test_towardzero): Likewise.
15595 (exp_test_downward): Likewise.
15596 (exp_test_upward): Likewise.
15597 (main): Call the new functions.
15598 * sysdeps/i386/fpu/libm-test-ulps: Update.
15599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15600
b1eeb65d
CD
156012012-03-01 Chris Demetriou <cgd@google.com>
15602
15603 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15604 have predictable order.
15605
53362a4b
DM
156062012-03-01 David S. Miller <davem@davemloft.net>
15607
3c969083
DM
15608 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15609
759707de
DM
15610 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15611 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15612 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15613 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15614
dfdb8ff2
DM
15615 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15616 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15617 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15619 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15620 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15621 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15622 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15623 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15624
ead89f96
DM
15625 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15626
7f66bd07
DM
15627 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15628 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15629 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15630
53362a4b
DM
15631 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15632 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15633 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15634 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15635 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15636 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15637 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15638 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15639 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15640 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15641 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15642 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15643 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15644 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15645 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15646 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15647 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15648 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15649 * sysdeps/sparc/elf/configure: Regenerated.
15650
7b1902cb
JM
156512012-03-01 Joseph Myers <joseph@codesourcery.com>
15652
bec039bc
JM
15653 * configure.in (AS, LD): Require binutils 2.20 or later.
15654 * configure: Regenerated.
15655 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15656 as required minimum version.
15657 * INSTALL: Regenerated.
15658
7b1902cb
JM
15659 [BZ #2541]
15660 [BZ #4108]
15661 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15662 before squaring exponent.
15663 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15664 bottom long double and 27 bits of top long double before squaring
15665 exponent.
15666 * math/libm-test.inc (erfc_test): Add more tests.
15667 * sysdeps/i386/fpu/libm-test-ulps: Update.
15668 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15670
f775c276
KT
156712012-03-01 Kai Tietz <ktietz@redhat.com>
15672
15673 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15674 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15675 containing bit-fields.
15676 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15677 * soft-fp/single.h (_FP_UNION_S): Likewise.
15678 * soft-fp/double.h (_FP_UNION_D): Likewise.
15679
5b8a4d4a
JM
156802012-02-29 Joseph Myers <joseph@codesourcery.com>
15681
0bab47b6
JM
15682 [BZ #13786]
15683 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15684 not include ../strcmp.S.
15685 [USE_AS_STRNCASECMP_L]: Likewise.
15686 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15687 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15688 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15689 (__strncasecmp_l_ia32): Define as alias to
15690 __strncasecmp_l_nonascii.
15691
0fcad3e2
JM
15692 [BZ #5794]
15693 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15694 * sysdeps/i386/fpu/libm-test-ulps: Update.
15695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15696
5b8a4d4a
JM
15697 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15699
8fdceb2e
JL
157002012-02-29 Jeff Law <law@redhat.com>
15701
15702 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15703 out of bounds read.
15704
1f393a11
MP
157052012-02-29 Marek Polacek <polacek@redhat.com>
15706
15707 [BZ #13706]
15708 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15709 * elf/Makefile: Add rules to run tst-unused-dep.out.
15710
8847f037
DM
157112012-02-28 David S. Miller <davem@davemloft.net>
15712
15713 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15714 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15715 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15716 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15717 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15718 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15719
169d7f11
JM
157202012-02-29 Joseph Myers <joseph@codesourcery.com>
15721
15722 * math/libm-test.inc (llround_test): Move one test from
15723 lround_test. Use TEST_f_L in moved test.
15724 (lround_test): Move misplaced test to llround_test. Add testcase
15725 from bug 2561.
15726
39adf059
UD
157272012-02-28 Ulrich Drepper <drepper@gmail.com>
15728
15729 * sysdeps/x86_64/fpu/e_expf.S: New file.
15730 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15731
71b5d1c5
SB
157322012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15733
15734 [BZ #13637]
15735 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15736 of remain_len that may cause incomplete multi-byte character and
15737 false match.
15738 * posix/bug-regex33.c: New file.
15739 * posix/Makefile (tests): Add bug-regex33.
15740
1f77f049
JM
157412012-02-28 Joseph Myers <joseph@codesourcery.com>
15742
15743 * manual/macros.texi: New file.
15744 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15745 * manual/libc.texinfo: Include macros.texi.
15746 * manual/creatute.texi: Likewise.
15747 * manual/install.texi: Likewise.
15748 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15749 @glibcadj{} in references to the GNU C Library.
15750 * manual/charset.texi: Likewise.
15751 * manual/conf.texi: Likewise.
15752 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15753 when not using those macros.
15754 * manual/creature.texi: Likewise.
15755 * manual/crypt.texi: Likewise.
15756 * manual/errno.texi: Likewise.
15757 * manual/filesys.texi: Likewise.
15758 * manual/header.texi: Likewise.
15759 * manual/install.texi: Likewise.
15760 * manual/intro.texi: Likewise.
15761 * manual/io.texi: Likewise.
15762 * manual/job.texi: Likewise.
15763 * manual/lang.texi: Likewise.
15764 * manual/libc.texiinfo: Likewise.
15765 * manual/llio.texi: Likewise.
15766 * manual/locale.texi: Likewise.
15767 * manual/maint.texi: Likewise.
15768 * manual/math.texi: Likewise.
15769 * manual/memory.texi: Likewise.
15770 * manual/message.texi: Likewise.
15771 * manual/nss.texi: Likewise.
15772 * manual/pattern.texi: Likewise.
15773 * manual/process.texi: Likewise.
15774 * manual/resource.texi: Likewise.
15775 * manual/search.texi: Likewise.
15776 * manual/setjmp.texi: Likewise.
15777 * manual/signal.texi: Likewise.
15778 * manual/socket.texi: Likewise.
15779 * manual/startup.texi: Likewise.
15780 * manual/stdio.texi: Likewise.
15781 * manual/string.texi: Likewise.
15782 * manual/sysinfo.texi: Likewise.
15783 * manual/syslog.texi: Likewise.
15784 * manual/terminal.texi: Likewise.
15785 * manual/time.texi: Likewise.
15786 * manual/users.texi: Likewise.
15787 * INSTALL: Regenerated.
15788 * NOTES: Regenerated.
d40c5d54 15789 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15790
450bf206
AS
157912012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15792
15793 * include/dirent.h: Include <dirstream.h> before
15794 <dirent/dirent.h>.
15795
741a235b
DM
157962012-02-28 David S. Miller <davem@davemloft.net>
15797
15798 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15799 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15800 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15801 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15802
d6b5aa58
DM
158032012-02-27 David S. Miller <davem@davemloft.net>
15804
1aff59a3
DM
15805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15807 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15808 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15809
d6b5aa58
DM
15810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15811 frame pointer instead of stack pointer relative arg slot.
15812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15813 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15814 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15815
433f48bf
CD
158162012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15817
15818 [BZ #3992]
15819 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15820
d674b76d
DM
158212012-02-27 David S. Miller <davem@davemloft.net>
15822
15823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15827 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15828 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15829 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15830 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15831
0e7727f7
JM
158322012-02-27 Joseph Myers <joseph@codesourcery.com>
15833
15834 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15835 later. Allow versions 5-9.
43be4ca2 15836 * configure: Regenerated.
0e7727f7
JM
15837 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15838 required minimum version and 4.6 as recommended version. Do not
15839 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15840 * INSTALL: Regenerated.
0e7727f7 15841
a78bc654
DM
158422012-02-27 David S. Miller <davem@davemloft.net>
15843
428d5830
DM
15844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15848 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15849 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15850 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15851 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15852
a78bc654
DM
15853 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15854 manipulate bits before adding and subtracting TWO112[sx].
15855 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15856
4579f81c
RM
158572012-02-27 Roland McGrath <roland@hack.frob.com>
15858
36c8acb4
RM
15859 [BZ #13775]
15860 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15861 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15862 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15863 being in POSIX, because they are in 1003.1-2008.
15864
84ad622b
RM
15865 * rt/tst-aio.c: Include <fcntl.h>.
15866 * rt/tst-aio7.c: Likewise.
15867 * rt/tst-aio64.c: Likewise.
15868
4579f81c
RM
15869 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15870
abd923db
JM
158712012-02-27 Joseph Myers <joseph@codesourcery.com>
15872
15873 * manual/install.texi (--with-headers): Describe headers as
15874 interface headers, not private headers.
15875 (Specific advice for GNU/Linux systems): Describe use of headers
15876 from "make headers_install", not private headers from older
15877 kernels.
43be4ca2 15878 * INSTALL: Regenerated.
abd923db
JM
15879 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15880 Change to 2.6.19.
15881 * sysdeps/unix/sysv/linux/configure: Regenerated.
15882
6664049b
JM
15883 * manual/llio.texi (fclean): Remove documentation.
15884
bb8b6697
JM
15885 * manual/Makefile (libc-texi-generated): New variable. Include
15886 version.texi.
15887 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15888 $(libc-texi-generated), not duplicated list of files.
15889 (version.texi, stamp-version): New rules.
15890 (realclean): Remove $(libc-texi-generated), not individual files
15891 from that list. Do not remove dir-add.texinfo.
15892 * manual/libc.texinfo: Comment out uses of edition numbers and
15893 references to printed manual. Remove last-updated dates.
15894 (EDITION): Comment out.
15895 (ISBN): Likewise.
15896 (VERSION, UPDATED): Remove.
15897 (version.texi): Include.
15898
12e5c3b9
AS
158992012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15900
15901 * sysdeps/posix/spawni.c: Include <signal.h>.
15902 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15903 * sysdeps/pthread/aio_fsync.c: Likewise.
15904
4efeffc1 159052012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15906
ba63ba08
UD
15907 * conform/Makefile (tests): Run only when not cross-compiling and
15908 when fast-check is not defined.
15909
d94a4670
UD
15910 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15911 * conform/data/limits.h-data: Fixes for POSIX2008.
15912 * conform/run-conformtest.sh: Run all tests.
15913 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15914 headers.
15915 * include/bits/dlfcn.h: Likewise.
15916 * include/langinfo.h: Likewise.
15917 * include/monetary.h: Likewise.
15918 * include/sys/poll.h: Likewise.
15919
15920 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15921 for __USE_GNU.
15922 * posix/spawn.h: Define __need_sigset_t.
15923 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15924 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15925 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15926 to get sigevent_t only.
15927 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15928 only for __USE_GNU.
15929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15930 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15931 process_vm_writev only for __USE_GNU.
15932 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15933
15934 * conform/Makefile: For now ignore errors from run-conformtest.
15935 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15936 POSIX to avoid namespace pollution. Don't prepend headers.
15937 * conform/data/aio.h-data: Fixes for POSIX testing.
15938 * conform/data/fcntl.h-data: Likewise.
15939 * conform/data/glob.h-data: Likewise.
15940 * conform/data/grp.h-data: Likewise.
15941 * conform/data/pthread.h-data: Likewise.
15942 * conform/data/pwd.h-data: Likewise.
15943 * conform/data/signal.h-data: Likewise.
15944 * conform/data/spawn.h-data: Likewise.
15945 * conform/data/stdio.h-data: Likewise.
15946 * conform/data/stdlib.h-data: Likewise.
15947 * conform/data/stropts.h-data: Likewise.
15948 * conform/data/sys/mman.h-data: Likewise.
15949 * conform/data/sys/stat.h-data: Likewise.
15950 * conform/data/sys/types.h-data: Likewise.
15951 * conform/data/sys/wait.h-data: Likewise.
15952 * conform/data/time.h-data: Likewise.
15953 * conform/data/unistd.h-data: Likewise.
15954 * conform/data/utime.h-data: Likewise.
15955
15956 * io/sys/stat.h: fchmod was always in POSIX.
15957 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15958 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15959 * rt/aio.h: Define __need_timespec before including <time.h>.
15960 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15961 struct. Add forward declaration of pthread_attr_t and use it in
15962 sigevent.
15963 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15964 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15965 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15966 always remove CLK_TCK definition.
15967
c20105c3
AS
159682012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15969
15970 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15971
7a270350
UD
159722012-02-25 Ulrich Drepper <drepper@gmail.com>
15973
31341567
UD
15974 * conform/run-conformtest.sh: New file.
15975 * conform/Makefile: Run run-conformtest for tests.
15976 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15977 support.
15978
15979 * conform/data/uchar.h-data: New file.
15980 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15981 * conform/data/arpa/inet.h-data: Likewise.
15982 * conform/data/assert.h-data: Likewise.
15983 * conform/data/complex.h-data: Likewise.
15984 * conform/data/cpio.h-data: Likewise.
15985 * conform/data/ctype.h-data: Likewise.
15986 * conform/data/dirent.h-data: Likewise.
15987 * conform/data/dlfcn.h-data: Likewise.
15988 * conform/data/errno.h-data: Likewise.
15989 * conform/data/fcntl.h-data: Likewise.
15990 * conform/data/float.h-data: Likewise.
15991 * conform/data/fmtmsg.h-data: Likewise.
15992 * conform/data/fnmatch.h-data: Likewise.
15993 * conform/data/ftw.h-data: Likewise.
15994 * conform/data/glob.h-data: Likewise.
15995 * conform/data/grp.h-data: Likewise.
15996 * conform/data/iconv.h-data: Likewise.
15997 * conform/data/inttypes.h-data: Likewise.
15998 * conform/data/langinfo.h-data: Likewise.
15999 * conform/data/libgen.h-data: Likewise.
16000 * conform/data/limits.h-data: Likewise.
16001 * conform/data/locale.h-data: Likewise.
16002 * conform/data/math.h-data: Likewise.
16003 * conform/data/monetary.h-data: Likewise.
16004 * conform/data/mqueue.h-data: Likewise.
16005 * conform/data/ndbm.h-data: Likewise.
16006 * conform/data/net/if.h-data: Likewise.
16007 * conform/data/netdb.h-data: Likewise.
16008 * conform/data/netinet/in.h-data: Likewise.
16009 * conform/data/nl_types.h-data: Likewise.
16010 * conform/data/poll.h-data: Likewise.
16011 * conform/data/pthread.h-data: Likewise.
16012 * conform/data/pwd.h-data: Likewise.
16013 * conform/data/regex.h-data: Likewise.
16014 * conform/data/sched.h-data: Likewise.
16015 * conform/data/search.h-data: Likewise.
16016 * conform/data/semaphore.h-data: Likewise.
16017 * conform/data/setjmp.h-data: Likewise.
16018 * conform/data/signal.h-data: Likewise.
16019 * conform/data/spawn.h-data: Likewise.
16020 * conform/data/stdarg.h-data: Likewise.
16021 * conform/data/stdio.h-data: Likewise.
16022 * conform/data/stdlib.h-data: Likewise.
16023 * conform/data/string.h-data: Likewise.
16024 * conform/data/strings.h-data: Likewise.
16025 * conform/data/stropts.h-data: Likewise.
16026 * conform/data/sys/ipc.h-data: Likewise.
16027 * conform/data/sys/mman.h-data: Likewise.
16028 * conform/data/sys/msg.h-data: Likewise.
16029 * conform/data/sys/resource.h-data: Likewise.
16030 * conform/data/sys/select.h-data: Likewise.
16031 * conform/data/sys/sem.h-data: Likewise.
16032 * conform/data/sys/shm.h-data: Likewise.
16033 * conform/data/sys/socket.h-data: Likewise.
16034 * conform/data/sys/stat.h-data: Likewise.
16035 * conform/data/sys/statvfs.h-data: Likewise.
16036 * conform/data/sys/time.h-data: Likewise.
16037 * conform/data/sys/timeb.h-data: Likewise.
16038 * conform/data/sys/times.h-data: Likewise.
16039 * conform/data/sys/types.h-data: Likewise.
16040 * conform/data/sys/uio.h-data: Likewise.
16041 * conform/data/sys/un.h-data: Likewise.
16042 * conform/data/sys/utsname.h-data: Likewise.
16043 * conform/data/sys/wait.h-data: Likewise.
16044 * conform/data/syslog.h-data: Likewise.
16045 * conform/data/tar.h-data: Likewise.
16046 * conform/data/termios.h-data: Likewise.
16047 * conform/data/utime.h-data: Likewise.
16048 * conform/data/utmpx.h-data: Likewise.
16049 * conform/data/varargs.h-data: Likewise.
16050 * conform/data/wchar.h-data: Likewise.
16051 * conform/data/wctype.h-data: Likewise.
16052 * conform/data/wordexp.h-data: Likewise.
16053
16054 * include/stropts.h: New file.
16055 * include/uchar.h: New file.
16056 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16057 * include/assert.h: Likewise.
16058 * include/ctype.h: Likewise.
16059 * include/dirent.h: Likewise.
16060 * include/dlfcn.h: Likewise.
16061 * include/fcntl.h: Likewise.
16062 * include/fnmatch.h: Likewise.
16063 * include/glob.h: Likewise.
16064 * include/grp.h: Likewise.
16065 * include/libio.h: Likewise.
16066 * include/locale.h: Likewise.
16067 * include/math.h: Likewise.
16068 * include/net/if.h: Likewise.
16069 * include/netdb.h: Likewise.
16070 * include/netinet/in.h: Likewise.
16071 * include/pthread.h: Likewise.
16072 * include/pwd.h: Likewise.
16073 * include/regex.h: Likewise.
16074 * include/sched.h: Likewise.
16075 * include/search.h: Likewise.
16076 * include/setjmp.h: Likewise.
16077 * include/signal.h: Likewise.
16078 * include/stdio.h: Likewise.
16079 * include/stdlib.h: Likewise.
16080 * include/string.h: Likewise.
16081 * include/sys/cdefs.h: Likewise.
16082 * include/sys/mman.h: Likewise.
16083 * include/sys/msg.h: Likewise.
16084 * include/sys/resource.h: Likewise.
16085 * include/sys/select.h: Likewise.
16086 * include/sys/socket.h: Likewise.
16087 * include/sys/stat.h: Likewise.
16088 * include/sys/statvfs.h: Likewise.
16089 * include/sys/time.h: Likewise.
16090 * include/sys/times.h: Likewise.
16091 * include/sys/uio.h: Likewise.
16092 * include/sys/utsname.h: Likewise.
16093 * include/sys/wait.h: Likewise.
16094 * include/termios.h: Likewise.
16095 * include/time.h: Likewise.
16096 * include/ulimit.h: Likewise.
16097 * include/unistd.h: Likewise.
16098 * include/utime.h: Likewise.
16099 * include/wchar.h: Likewise.
16100 * include/wctype.h: Likewise.
16101 * include/wordexp.h: Likewise.
16102
16103 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16104
7a270350
UD
16105 * time/time.h: TIME_UTC must be a macro.
16106 Make timespec_get available for ISO C11 only as well.
16107
7724defc
UD
161082012-02-24 Ulrich Drepper <drepper@gmail.com>
16109
16110 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16111 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16112
6b1d1d46
JM
161132012-02-24 Joseph Myers <joseph@codesourcery.com>
16114
16115 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16116
0f8bbd69
JM
161172012-02-24 Joseph Myers <joseph@codesourcery.com>
16118
16119 * manual/texinfo.tex: Update to version 2012-01-19.16.
16120
66ab80bc
JM
161212012-02-24 Joseph Myers <joseph@codesourcery.com>
16122
16123 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16124
74981cc5
RM
161252012-02-24 Roland McGrath <roland@hack.frob.com>
16126
ee968201
RM
16127 [BZ #13738]
16128 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16129 * manual/fdl-1.3.texi: New file.
16130 * manual/fdl-1.1.texi: File removed.
16131
74981cc5
RM
16132 [BZ #13738]
16133 * manual/libc.texinfo (FDL_VERSION): New @set.
16134 Use it for mention of FDL in cover text.
16135 (Documentation License): Use it in @include file name.
16136
7bb764bc
JM
161372012-02-22 Joseph Myers <joseph@codesourcery.com>
16138 Roland McGrath <roland@hack.frob.com>
16139
16140 [BZ #5461]
16141 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16142 not LONG_LONG_MAX and LONG_LONG_MIN.
16143 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16144 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16145 name.
16146 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16147
6cbeae47
JM
161482012-02-22 Joseph Myers <joseph@codesourcery.com>
16149
16150 [BZ #2547]
16151 [BZ #11365]
16152 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16153 manipulate bits before adding and subtracting TWO23[sx].
16154 * math/libm-test.inc (nearbyint_test): Add more tests.
16155
fe45ce09
JM
161562012-02-22 Joseph Myers <joseph@codesourcery.com>
16157
16158 [BZ #2548]
16159 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16160 bits before adding and subtracting TWO23[sx].
16161 * math/libm-test.inc (rint_test): Add more tests.
16162 (rint_test_tonearest): Likewise.
16163 (rint_test_towardzero): Likewise.
16164 (rint_test_downward): Likewise.
16165 (rint_test_upward: Likewise.
16166
ff3b3d82
JM
161672012-02-22 Joseph Myers <joseph@codesourcery.com>
16168
16169 [BZ #10110]
16170 * include/stdc-predef.h: New file. Extracted from features.h.
16171 * include/features.h: Include stdc-predef.h.
16172 * Makefile (headers): Add stdc-predef.h.
16173 * CONFORMANCE (Compiler limitations): Update.
16174
ef0aab35
JM
161752012-02-22 Joseph Myers <joseph@codesourcery.com>
16176
16177 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16178
58639409
DM
161792012-02-21 David S. Miller <davem@davemloft.net>
16180
16181 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16182 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16183
c0e70b25
DM
161842012-02-20 David S. Miller <davem@davemloft.net>
16185
16186 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16187 using a normal save/restore sequence, rather than allocating a
16188 dummy stack frame just to store a frame pointer and restore.
16189 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16190
fb06851d
JM
161912012-02-21 Joseph Myers <joseph@codesourcery.com>
16192
16193 * manual/install.texi: Fix stray word in line-wrapped comment.
16194
7a8b71c3
DM
161952012-02-20 David S. Miller <davem@davemloft.net>
16196
d510c123
DM
16197 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16198 both binutils and gcc support GOTDATA.
16199
0722d7c2
DM
16200 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16201 "rd %pc" in the PIC register setup sequences.
16202
3d2b3019
DM
16203 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16204 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16205 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16206 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16207 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16209 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16210 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16211 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16212 (SYSCALL_ERROR_HANDLER): Likewise.
16213 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16214 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16216 (SYSCALL_ERROR_HANDLER): Likewise.
16217
c80098a9
DM
16218 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16219 (HAVE_GCC_GOTDATA): New.
16220 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16221 relocation support in both binutils and gcc.
16222 * sysdeps/sparc/elf/configure: Regenerate.
16223
3a2545a0
DM
16224 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16225 * sysdeps/sparc/sparc32/elf/configure: Delete.
16226 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16227 * sysdeps/sparc/sparc64/elf/configure: Delete.
16228 * sysdeps/sparc/elf/configure.in: New file.
16229 * sysdeps/sparc/elf/configure: Generate.
16230
7a8b71c3
DM
16231 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16232 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16233 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16234 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16235 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16236
f1e86fca
JM
162372012-02-21 Joseph Myers <joseph@codesourcery.com>
16238
16239 * manual/install.texi: Do not mention specific glibc version
16240 numbers.
16241 * manual/libc.texinfo (VERSION, UPDATED): Update.
16242 (@copying): Use @copyright{} and range of years.
16243
0e7dfaef
JM
162442012-02-21 Joseph Myers <joseph@codesourcery.com>
16245
16246 [BZ #13695]
16247 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16248 [crti.S not in sysdirs] (generated): Do not append.
16249 [crti.S not in sysdirs] (omit-deps): Likewise.
16250 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16251 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16252 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16253 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16254 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16255 Likewise.
16256 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16257 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16258 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16259 * csu/defs.awk: Remove file.
16260 * sysdeps/generic/initfini.c: Likewise.
16261 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16262 variable.
16263 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16264 Likewise.
16265
599af3ca
JM
162662012-02-20 Joseph Myers <joseph@codesourcery.com>
16267
16268 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16269 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16270 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16271 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16272 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16273 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16274 <bits/epoll.h>.
16275 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16276 (__EPOLL_PACKED): Define to empty if not defined by
16277 <bits/epoll.h>.
16278 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16280 bits/epoll.h.
16281
0e499750
JM
162822012-02-20 Joseph Myers <joseph@codesourcery.com>
16283
16284 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16285 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16286 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16287 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16288 <bits/timerfd.h>.
16289 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16291 bits/timerfd.h.
16292
5ad91f6e
JM
162932012-02-20 Joseph Myers <joseph@codesourcery.com>
16294
16295 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16296 in C locale.
16297 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16298 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16299 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16301
06b99b02
AJ
163022012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16303
16304 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16305 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16306
7638c0fd
AS
163072012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16308
16309 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16310 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16311 defined.
16312 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16313 Likewise.
16314 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16315 entry for 2.16.
16316
92221550
AJ
163172012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16318
16319 * math/w_acos.c: Use non-signaling floating-point comparisons.
16320 * math/w_acosf.c: Likewise.
16321 * math/w_acosh.c: Likewise.
16322 * math/w_acoshf.c: Likewise.
16323 * math/w_acoshl.c: Likewise.
16324 * math/w_acosl.c: Likewise.
16325 * math/w_asin.c: Likewise.
16326 * math/w_asinf.c: Likewise.
16327 * math/w_asinl.c: Likewise.
16328 * math/w_atanh.c: Likewise.
16329 * math/w_atanhf.c: Likewise.
16330 * math/w_atanhl.c: Likewise.
16331 * math/w_exp2.c: Likewise.
16332 * math/w_exp2f.c: Likewise.
16333 * math/w_exp2l.c: Likewise.
16334 * math/w_j0.c: Likewise.
16335 * math/w_j0f.c: Likewise.
16336 * math/w_j0l.c: Likewise.
16337 * math/w_j1.c: Likewise.
16338 * math/w_j1f.c: Likewise.
16339 * math/w_j1l.c: Likewise.
16340 * math/w_jn.c: Likewise.
16341 * math/w_jnf.c: Likewise.
16342 * math/w_log.c: Likewise.
16343 * math/w_log10.c: Likewise.
16344 * math/w_log10f.c: Likewise.
16345 * math/w_log10l.c: Likewise.
16346 * math/w_log2.c: Likewise.
16347 * math/w_log2f.c: Likewise.
16348 * math/w_log2l.c: Likewise.
16349 * math/w_logf.c: Likewise.
16350 * math/w_logl.c: Likewise.
16351 * math/w_sqrt.c: Likewise.
16352 * math/w_sqrtf.c: Likewise.
16353 * math/w_sqrtl.c: Likewise.
16354 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16355 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16356 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16357 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16358 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16359
ebaf36eb
JM
163602012-02-19 Joseph Myers <joseph@codesourcery.com>
16361
16362 [BZ #9739]
16363 * manual/string.texi (strnlen): Use correct parameter name in
16364 equivalent expression.
16365
71c254a6
JM
163662012-02-19 Joseph Myers <joseph@codesourcery.com>
16367
16368 [BZ #11174]
16369 * manual/users.texi (seteuid): Consistently use neweuid for
16370 argument name.
16371
16d2c631
JM
163722012-02-19 Joseph Myers <joseph@codesourcery.com>
16373
16374 [BZ #13704]
16375 * manual/nss.texi (Services in the NSS configuration): Correct
16376 list of services in example configuration file.
16377
cd837b09
NB
163782012-02-19 Nick Bowler <nbowler@draconx.ca>
16379
16380 [BZ #11322]
16381 * manual/arith.texi: Remove statements about negative zero
16382 behaving identically to zero.
16383
02c4bbad
JM
163842012-02-18 Joseph Myers <joseph@codesourcery.com>
16385
16386 [BZ #5993]
16387 * manual/install.texi: Do not document upgrading from libc5.
16388
366842e7
JM
163892012-02-18 Joseph Myers <joseph@codesourcery.com>
16390
16391 [BZ #4596]
16392 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16393
dd54084d
DM
163942012-02-18 David S. Miller <davem@davemloft.net>
16395
16396 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16397 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16398 %o7 across the call.
16399 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16400 instead.
16401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16402 SETUP_PIC_REG_LEAF.
16403 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16404 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16405 * sysdeps/sparc/crtn.S: Likewise.
16406
2bcc53a3
UD
164072012-02-17 Ulrich Drepper <drepper@gmail.com>
16408
16409 * aout/Makefile: Remove.
16410
09c093b5
RK
164112012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16412
16413 [BZ #13058]
16414 * manual/examples/argp-ex1.c (main): Format definition in GNU
16415 style.
16416 * manual/examples/argp-ex2.c (main): Likewise.
16417 * manual/examples/argp-ex3.c (main): Likewise.
16418 * manual/examples/argp-ex4.c (main): Likewise.
16419 * manual/examples/longopt.c (main): Use new-style prototype
16420 definition.
16421 * manual/examples/strncat.c (main): Specify return type and use
16422 (void) for arguments.
16423 * manual/examples/subopt.c (main): Use char **argv argument.
16424
2ee633a2
JM
164252012-02-17 Joseph Myers <joseph@codesourcery.com>
16426
16427 [BZ #5077]
16428 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16429 rounding modes.
16430
0520adde
FB
164312012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16432
16433 [BZ #6907]
16434 * manual/string.texi (strchr): Change when strchrnul is
16435 recommended.
16436
3f4081cd
DGM
164372012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16438
16439 [BZ #174]
16440 * manual/locale.texi (setlocale): Document LOCPATH.
16441
d1b10e78
JM
164422012-02-17 Joseph Myers <joseph@codesourcery.com>
16443
16444 [BZ #10210]
16445 * manual/process.texi (execle): Move @dots{} before last argument.
16446
79c6869c
PB
164472012-02-17 Paul Bolle <pebolle@tiscali.nl>
16448
16449 [BZ #12047]
16450 * manual/charset.texi (Generic Charset Conversion): Fix typo
16451 (LC_TYPE -> LC_CTYPE).
16452
cc6e48bc
NB
164532012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16454
16455 [BZ #5805]
16456 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16457 (scalbnf): Likewise.
16458 (scalbnl): Likewise.
16459 (scalbln): Likewise.
16460 (scalblnf): Likewise.
16461 (scalblnl): Likewise.
16462 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16463 (vwarnx): Likewise.
16464 (verr): Likewise.
16465 (verrx): Likewise.
16466 * manual/filesys.texi (telldir): Use braces around return type.
16467 * manual/llio.texi (mmap): Add space after comma.
16468 (mmap64): Likewise.
16469 * manual/math.texi (jn): Use @var{} on parameter names.
16470 (jnf): Likewise.
16471 (jnl): Likewise.
16472 (yn): Likewise.
16473 (ynf): Likewise.
16474 (ynl): Likewise.
16475 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16476 line.
16477 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16478 "...".
16479 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16480 (sched_get_priority_max): Likewise.
16481 * manual/signal.texi (sigvec): Add space after comma.
16482 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16483 names.
16484 (if_indextoname): Likewise.
16485 (if_freenameindex): Likewise.
16486 (sendto): Use ',' instead of '.' in prototype.
16487 * manual/startup.texi (syscall): Use @dots{} instead of literal
16488 "...".
16489 * manual/stdio.texi (__fpending): Separate initial words of
16490 paragraph from @deftypefun line.
16491 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16492 "...".
16493 (vsyslog): Use @var{} on parameter names.
16494 * manual/terminal.texi (stty): Use @var{} on parameter names.
16495 * manual/users.texi (getutmp): Use @var{} on parameter names.
16496 (getutmpx): Likewise.
16497
5b23062f
JM
164982012-02-17 Joseph Myers <joseph@codesourcery.com>
16499
16500 [BZ #6884]
16501 * manual/stdio.texi (fopen): Fix typos in description of
16502 ",ccs=STRING".
16503
8dee4833
AJ
165042012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16505
16506 [BZ #4026]
16507 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16508 get clock_id definition.
16509
9078ce93
TS
165102012-02-17 Thomas Schwinge <thomas@schwinge.name>
16511
16512 [BZ #4822]
16513 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16514 (madvise): Cast every argument to void on its own.
16515
3835c55f
JM
165162012-02-17 Joseph Myers <joseph@codesourcery.com>
16517
16518 [BZ #9902]
16519 * manual/startup.texi (Exit Status): Fix typo.
16520
35c47e37
JM
165212012-02-17 Joseph Myers <joseph@codesourcery.com>
16522
16523 [BZ #10140]
16524 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16525 * manual/examples/argp-ex2.c: Likewise.
16526 * manual/examples/argp-ex3.c: Likewise.
16527
e3b69ca7
RH
165282012-02-16 Richard Henderson <rth@redhat.com>
16529
16530 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16531 * sysdeps/s390/s390-32/initfini.c: Remove.
16532 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16533 * sysdeps/s390/s390-64/initfini.c: Remove.
16534
df83af67
KK
165352012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16536
16537 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16538 compiler output for sysdeps/generic/initfini.c.
16539 * sysdeps/sh/elf/initfini.c: Remove file.
16540
f63f3380
DM
165412012-02-16 David S. Miller <davem@davemloft.net>
16542
fb59b3a4
DM
16543 [BZ #11494]
16544 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16545
f63f3380
DM
16546 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16547 * sysdeps/sparc/crti.S: New file.
16548 * sysdeps/sparc/crtn.S: New file.
16549 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16550 * sysdeps/sparc/sparc64/Makefile: Likewise.
16551
df6a4a4a
MF
165522012-02-15 Mike Frysinger <vapier@gentoo.org>
16553
6dd8f3dc 16554 [BZ #3335]
df6a4a4a
MF
16555 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16556
1cac7236
RM
165572012-02-15 Roland McGrath <roland@hack.frob.com>
16558
d2c736f8
RM
16559 [BZ #4822]
16560 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16561
1cac7236
RM
16562 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16563 (write, read, close): Likewise.
16564 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16565
8e475601
JM
165662012-02-15 Joseph Myers <joseph@codesourcery.com>
16567
16568 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16569 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16570 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16571 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16572 <bits/signalfd.h>.
16573 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16574 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16575 bits/signalfd.h.
16576
ed656b40
MP
165772012-02-14 Marek Polacek <polacek@redhat.com>
16578
16579 * sysdeps/x86_64/crti.S: New file.
16580 * sysdeps/x86_64/crtn.S: New file.
16581 * sysdeps/x86_64/elf/initfini.c: Remove file.
16582
2a979d3a
JM
165832012-02-13 Joseph Myers <joseph@codesourcery.com>
16584
16585 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16586 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16587 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16588 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16589 <bits/inotify.h>.
16590 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16592 bits/inotify.h.
16593
2a418ac3
JM
165942012-02-13 Joseph Myers <joseph@codesourcery.com>
16595
16596 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16597 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16598 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16599 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16600 <bits/eventfd.h>.
16601 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16603 bits/eventfd.h.
16604
fb779be7
TS
166052012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16606
e19e83c5
RM
16607 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16608 __feraiseexcept instead of feraiseexcept.
7c35ffed 16609
fb779be7
TS
16610 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16611 nanosleep invocations.
16612 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16613 strings, and add error checking for a nanosleep invocations.
16614
59ba27a6
PE
166152012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16616
16617 Replace FSF snail mail address with URLs, as per GNU coding standards.
16618 Most of the snail mail addresses were wrong anyway, and omitting
16619 them makes the source code easier to maintain. Almost all of the
16620 changes are to license notices and to locale LC_IDENTIFICATION
16621 addresses, except for this one:
16622 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16623 not its snail mail address.
16624
57b957eb
RH
166252012-02-09 Richard Henderson <rth@twiddle.net>
16626
af850b1c
RH
16627 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16628 of kernel-features.h.
16629
57b957eb
RH
16630 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16631
6b73181a
MP
166322012-02-08 Marek Polacek <polacek@redhat.com>
16633
16634 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16635 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16636 * sysdeps/gnu/_G_config.h: Likewise.
16637 * sysdeps/generic/_G_config.h: Likewise.
16638
26ecc33a
AS
166392012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16640
6c6dbc63
AS
16641 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16642 tests.
16643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16644
e216c012
AS
16645 * sysdeps/powerpc/powerpc32/crti.S: New file.
16646 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16647 * sysdeps/powerpc/powerpc64/crti.S: New file.
16648 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16649
26ecc33a
AS
16650 * Makeconfig (have-initfini): Don't set.
16651 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16652 * configure.in (nopic_initfini): Don't substitute.
16653 * config.h.in (HAVE_INITFINI): Don't #undef.
16654 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16655 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16656
3add8e13
JM
166572012-02-08 Joseph Myers <joseph@codesourcery.com>
16658
16659 Support crti.S and crtn.S provided directly by architectures.
16660 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16661 [crti.S in sysdirs] (omit-deps): Likewise.
16662 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16663 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16664 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16665 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16666 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16667 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16668 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16669 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16670 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16671 compiler output for sysdeps/generic/initfini.c.
16672 * sysdeps/i386/elf/Makefile: Remove file.
16673 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16674
a22f12b4
MP
166752012-02-07 Marek Polacek <polacek@redhat.com>
16676
16677 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16678 * sysdeps/gnu/_G_config.h: Likewise.
16679 * sysdeps/mach/hurd/_G_config.h: Likewise.
16680
148cf100
MP
166812012-02-07 Marek Polacek <polacek@redhat.com>
16682
16683 * math/Makefile (tests): Add tst-CMPLX2.
16684 * math/tst-CMPLX2.c: New file.
16685
cfdc0dd7
AS
166862012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16687
84ba42c4
AS
16688 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16689
cfdc0dd7
AS
16690 * math/libm-test.inc (jn_test): Add missing L suffix.
16691
622c86f4
MP
166922012-02-06 Marek Polacek <polacek@redhat.com>
16693
16694 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16695 * sysdeps/i386/fpu/e_powf.S: Likewise.
16696 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16697 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16698 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16699 * sysdeps/i386/fpu/e_pow.S: Likewise.
16700 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16701 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16702 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16703 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16704 * sysdeps/i386/fpu/e_log2.S: Likewise.
16705 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16706 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16707 * sysdeps/i386/fpu/e_powl.S: Likewise.
16708 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16709 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16710 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16711 * sysdeps/i386/fpu/e_logl.S: Likewise.
16712 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16713 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16714 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16715 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16716 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16717 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16718 * sysdeps/i386/fpu/e_log.S: Likewise.
16719 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16720 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16721 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16722 * sysdeps/i386/fpu/e_logf.S: Likewise.
16723 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16724 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16725 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16726 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16727 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16728 * sysdeps/i386/fpu/e_log10.S: Likewise.
16729 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16730 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16731 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16732 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16733 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16734 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16735 * sysdeps/i386/asm-syntax.h: Likewise.
16736 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16737 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16738 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16739 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16740 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16741 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16742 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16743 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16744 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16745 * sysdeps/powerpc/sysdep.h: Likewise.
16746 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16747 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16748
d4a54ac6
JM
167492012-02-06 Joseph Myers <joseph@codesourcery.com>
16750
16751 [BZ #411]
16752 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16753
314054ea
JM
167542012-02-06 Joseph Myers <joseph@codesourcery.com>
16755
16756 * sysdeps/i386/sysdep.h: Include <features.h>.
16757 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16758 version.
16759
d8e0ca50
JM
167602012-02-05 Joseph Myers <joseph@codesourcery.com>
16761
16762 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16763 Define.
16764 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16765 LOAD_PIC_REG_STR.
16766
b1da7dd9
JM
167672012-02-03 Joseph Myers <joseph@codesourcery.com>
16768
16769 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16770 (SETUP_PIC_REG): Use GET_PC_THUNK.
16771 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16772 macro.
16773
9a1d9254
JM
167742012-02-03 Joseph Myers <joseph@codesourcery.com>
16775
16776 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16777 for non-PIC compilation.
16778 (SETUP_PIC_REG): Add .p2align directive.
16779 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16780 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16781 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16782 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16783 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16784 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16785 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16786 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16787 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16788 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16789 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16790 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16791 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16792 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16793 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16794 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16795 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16796 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16797 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16798 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16799 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16800 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16801 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16802 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16805 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16807 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16808 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16809 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16810 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16811 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16812 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16813 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16814 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16815 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16816 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16817 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16818 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16819 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16820
65dc3b75
JM
168212012-02-03 Joseph Myers <joseph@codesourcery.com>
16822
16823 * math/tst-CMPLX.c: Include <stdio.h>.
16824
d55bf177
JM
168252012-01-31 Joseph Myers <joseph@codesourcery.com>
16826
16827 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16828 float.
16829 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16830 * sysdeps/sparc/bits/mathdef.h: Likewise.
16831
69db4f8f
MP
168322012-01-31 Marek Polacek <polacek@redhat.com>
16833
16834 * libio/libio.h: Don't define _PARAMS.
16835 * locale/programs/config.h: Don't define PARAMS.
16836 * stdlib/strtol_l.c: Likewise.
16837 (__strtol_l): Remove PARAMS from the prototype.
16838
41b81892
UD
168392012-01-31 Ulrich Drepper <drepper@gmail.com>
16840
3b49edc0
UD
16841 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16842 names. Just use the correct names. Remove unnecessary wrapper
16843 functions.
16844 * malloc/arena.c: Likewise.
16845 * malloc/hooks.c: Likewise.
16846
41b81892
UD
16847 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16848 ARENA_TEST says not to. Simplify test for creation of a new arena.
16849 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16850
27a25b6e
UD
168512012-01-30 Ulrich Drepper <drepper@gmail.com>
16852
16853 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16854 into tail calls.
16855 (update_get_addr): New function.
16856 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16857 GET_ADDR_MODULE parameter.
16858
c8a89e7d
JM
168592012-01-30 Joseph Myers <joseph@codesourcery.com>
16860
16861 * crypt/cert.c: Remove __STDC__ conditionals.
16862 * crypt/crypt-entry.c: Likewise.
16863 * crypt/crypt_util.c: Likewise.
16864 * libio/filedoalloc.c: Likewise.
16865 * libio/fileops.c: Likewise.
16866 * libio/genops.c: Likewise.
16867 * libio/iofclose.c: Likewise.
16868 * libio/iofdopen.c: Likewise.
16869 * libio/iofopen.c: Likewise.
16870 * libio/iofopen64.c: Likewise.
16871 * libio/iogetdelim.c: Likewise.
16872 * libio/iopopen.c: Likewise.
16873 * libio/obprintf.c: Likewise.
16874 * libio/oldfileops.c: Likewise.
16875 * libio/oldiofclose.c: Likewise.
16876 * libio/oldiofdopen.c: Likewise.
16877 * libio/oldiofopen.c: Likewise.
16878 * libio/oldiopopen.c: Likewise.
16879 * libio/wfiledoalloc.c: Likewise.
16880 * libio/wgenops.c: Likewise.
16881 * locale/programs/xmalloc.c: Likewise.
16882 * misc/syslog.c: Likewise.
16883 * stdio-common/xbug.c: Likewise.
16884 * string/memchr.c: Likewise.
16885 * string/memcmp.c: Likewise.
16886 * string/memrchr.c: Likewise.
16887 * string/rawmemchr.c: Likewise.
16888 * sysdeps/posix/getcwd.c: Likewise.
16889 * time/strftime_l.c: Likewise.
16890
3b100462
JM
168912012-01-30 Joseph Myers <joseph@codesourcery.com>
16892
16893 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16894 * config.make.in (config-cflags-sse2avx): Define.
16895 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16896 Fix typo.
16897
607998af
CM
168982012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16899
16900 * scripts/config.guess: Update from upstream config git repository.
16901 * scripts/config.sub: Likewise.
16902
3601428f
CM
169032012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16904
3ac8b282
CM
16905 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16906 (EM_NUM): Update.
16907 (R_TILEPRO_*, R_TILEGX_*): New macros.
16908
e034841e
CM
16909 * scripts/firstversions.awk: Fix bug in version range handling.
16910
540d7568
CM
16911 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16912
3601428f
CM
16913 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16914
463de862
CM
16915 * include/sys/epoll.h: New file.
16916 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16917 libc_hidden_def.
16918
73139a76
UD
169192012-01-28 Ulrich Drepper <drepper@gmail.com>
16920
96bc5b45
UD
16921 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16922 Avoid unnecessary __WORDSIZE == 64 test.
16923 (fmaxf): Use VEX format if possible.
16924 (fmax): Likewise.
16925 (fminf): Likewise.
16926 (fmin): Likewise.
16927
56f6f6a2
UD
16928 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16929 * math/math_private.h: Remove libc_fegetround* and
16930 libc_fesetround*.
16931 * sysdeps/i386/configure.in: Check for -msse2avx.
16932 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16933 also if SSE2AVX is defined.
16934 Remove libc_fegetround* and libc_fesetround*.
16935 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16936 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16937 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16938 of HAS_YMM_USABLE.
16939 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16940 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16941 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16943 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16944
73139a76
UD
16945 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16946
d73f93a4
AZ
169472012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16948
16949 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16950 size is not set.
16951 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16952
6ee65ed6
UD
169532012-01-27 Ulrich Drepper <drepper@gmail.com>
16954
16955 [BZ #13618]
16956 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16957 relocation.
16958 * Makeconfig (libm): Define.
16959 * elf/Makefile: Add rules to build and run tst-relsort1.
16960 * elf/tst-relsort1.c: New file.
16961 * elf/tst-relsort1mod1.c: New file.
16962 * elf/tst-relsort1mod2.c: New file.
16963
8db21882
JM
169642012-01-27 Joseph Myers <joseph@codesourcery.com>
16965
16966 * math/s_ldexp.c: Remove __STDC__ conditionals.
16967 * math/s_ldexpf.c: Likewise.
16968 * math/s_ldexpl.c: Likewise.
16969 * math/s_nextafter.c: Likewise.
16970 * math/s_nexttowardf.c: Likewise.
16971 * math/s_significand.c: Likewise.
16972 * math/s_significandf.c: Likewise.
16973 * math/s_significandl.c: Likewise.
16974 * math/w_jnl.c: Likewise.
16975 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16976 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16977 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16978 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16979 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16980 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16981 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16982 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16983 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16984 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16985 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16987 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16988 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16989 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16990 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16991 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16992 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16993 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16994 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16995 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16996 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16997 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16998 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16999 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17000 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17001 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17002 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17003 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17004 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17005 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17006 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17007 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17008 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17009 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17010 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17011 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17012 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17013 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17014 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17015 * sysdeps/ieee754/k_standard.c: Likewise.
17016 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17017 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17018 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17019 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17020 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17024 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17025 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17028 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17064 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17065 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17066 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17070 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17071 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17073 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17074 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17075 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17076 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17077 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17078 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17079 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17080 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17081 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17082 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17083 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17084 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17086 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17087 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17088 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17090 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17091 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17092 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17093 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17094 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17095 * sysdeps/ieee754/s_matherr.c: Likewise.
17096 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17097 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17098 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17100
965a54a4
JM
171012012-01-26 Joseph Myers <joseph@codesourcery.com>
17102
17103 * crypt/md5.h: Remove __STDC__ conditionals.
17104 * libio/libioP.h: Likewise.
17105 * locale/programs/config.h: Likewise.
17106 * sysdeps/generic/sysdep.h: Likewise.
17107 * sysdeps/i386/asm-syntax.h: Likewise.
17108 * sysdeps/s390/asm-syntax.h: Likewise.
17109 * sysdeps/unix/sysdep.h: Likewise.
17110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17112
7071ad79
JM
171132012-01-26 Joseph Myers <joseph@codesourcery.com>
17114
17115 * libio/libio.h: Remove __STDC__ conditionals.
17116 * malloc/obstack.h: Likewise.
17117 * math/complex.h: Likewise.
17118 * math/math.h: Likewise.
17119 * sysdeps/generic/_G_config.h: Likewise.
17120 * sysdeps/gnu/_G_config.h: Likewise.
17121 * sysdeps/mach/hurd/_G_config.h: Likewise.
17122 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17123 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17124 * sysdeps/sparc/bits/mathdef.h: Likewise.
17125
afc5ed09
UD
171262012-01-26 Ulrich Drepper <drepper@gmail.com>
17127
17128 [BZ #13583]
17129 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17130 Clean up HAS_* macros.
afc5ed09 17131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17132 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17133 possible.
17134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17135 HAS_AVX.
17136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17137 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17138 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17139 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17140 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17141
bdb6de1d
JM
171422012-01-25 Joseph Myers <joseph@codesourcery.com>
17143
17144 * elf/tst-unique3.cc (gets): Remove declaration.
17145 * elf/tst-unique3lib.cc (gets): Likewise.
17146 * elf/tst-unique3lib2.cc (gets): Likewise.
17147 * elf/tst-unique4.cc (gets): Likewise.
17148
b15549e6
UD
171492012-01-24 Ulrich Drepper <drepper@gmail.com>
17150
17151 * include/stdio.h: Add C++ protection. Add gets declarations and
17152 definitions.
17153 * debug/tst-chk1.c: Don't declare gets here.
17154 * stdio-common/tst-gets.c: Likewise.
17155
a037381f
JM
171562012-01-24 Joseph Myers <joseph@codesourcery.com>
17157
17158 * posix/glob: Remove directory.
17159
f1d4aa75
JM
171602012-01-24 Joseph Myers <joseph@codesourcery.com>
17161
17162 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17163
81c0c964
PT
171642012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17165
17166 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17167 of the non-standard EPFNOSUPPORT.
17168
0ea698ae
ST
171692011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17170
17171 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17172 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17173 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17174
d220b117
UD
171752012-01-21 Ulrich Drepper <drepper@gmail.com>
17176
17177 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17178
3e1aa84e
UD
171792012-01-20 Ulrich Drepper <drepper@gmail.com>
17180
17181 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17182 transient errors.
17183 * nscd/grpcache.c (cache_addgr): Likewise.
17184 * nscd/hstcache.c (cache_addhst): Likewise.
17185 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17186 * nscd/pwdcache.c (cache_addpw): Likewise.
17187 * nscd/servicescache.c (cache_addserv): Likewise.
17188
400aa020
UD
171892012-01-16 Ulrich Drepper <drepper@gmail.com>
17190
d77e7869
UD
17191 * malloc/malloc.c: Various cleanups.
17192 * malloc/hooks.c: Likewise.
17193
400aa020
UD
17194 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17195 * stdlib/bug-fmtmsg1.c: New file.
17196
17197 * stdlib/fmtmsg.c (init): Add missing unlock.
17198 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17199
e0a309cf
MP
172002012-01-12 Marek Polacek <polacek@redhat.com>
17201
17202 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17203 and _GNU_SOURCE.
17204
929d11c7
WS
172052012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17206
17207 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17208 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17209 macro to ensure uniqueness of label name.
17210 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17211 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17212
41d0e869
UD
172132012-01-11 Ulrich Drepper <drepper@gmail.com>
17214
0cc5ed3b
UD
17215 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17216
41d0e869
UD
17217 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17218 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17219 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17221
a47a831a
UD
172222012-01-10 Ulrich Drepper <drepper@gmail.com>
17223
daa891c0
UD
17224 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17225
17226 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17227 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17228 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17229
e58ef0f2
UD
17230 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17231
a47a831a 17232 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17233 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17234 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17235 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17236
17237 * math/bits/math-finite.h: Add ldexp support.
17238
a0bfc9c7
MP
172392012-01-10 Marek Polacek <polacek@redhat.com>
17240
17241 * locale/programs/localedef.h (show_archive_content): Add noreturn
17242 attribute.
17243
d6e97a1d
UD
172442012-01-09 Ulrich Drepper <drepper@gmail.com>
17245
17246 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17247
d5835c26
UD
172482012-01-08 Ulrich Drepper <drepper@gmail.com>
17249
e5f484c6
UD
17250 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17251
d5835c26
UD
17252 * io/Makefile (headers): Add bits/poll2.h.
17253
d1f741e9
WS
172542011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17255
17256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17257 typo #include statement.
17258
ec09c1c4
UD
172592012-01-08 Ulrich Drepper <drepper@gmail.com>
17260
17261 * include/sys/cdefs.h: Define __attribute_alloc_size.
17262 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17263 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17264 * elf/pldd.c: Likewise.
17265 * iconv/iconv_charmap.c: Likewise.
17266 * iconv/iconvconfig.c: Likewise.
17267 * iconv/strtab.c: Likewise.
17268 * locale/programs/locale.c: Likewise.
17269 * locale/programs/localedef.h: Likewise.
17270 * locale/programs/simple-hash.c: Likewise.
17271 * nscd/nscd.h: Likewise.
17272 * nss/makedb.c: Likewise.
17273 * sysdeps/generic/ldconfig.h: Likewise.
17274 * locale/programs/localedef.c: Remove xmalloc prototype.
17275 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17276
20b38e03
PP
172772012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17278
17279 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17280 appropriate.
17281
a0da5fe1
UD
172822012-01-08 Ulrich Drepper <drepper@gmail.com>
17283
1d5a644a 17284 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17285 * math/tst-CMPLX.c: New file.
1d5a644a 17286
8784a6db
UD
17287 * math/complex.h (CMPLXL): Fix typo.
17288
d9a216c0
UD
17289 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17290 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17291 GLIBC_2.16.
17292 * debug/tst-chk1.c: Add poll and ppoll tests.
17293 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17294 * include/sys/poll.h: Add hidden proto for ppoll.
17295 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17296 * sysdeps/mach/hurd/ppoll.c: Likewise.
17297 * io/ppoll.c: Likewise.
17298 * debug/poll_chk.c: New file.
17299 * debug/ppoll_chk.c: New file.
17300 * include/bits/poll2.h: New file.
17301 * io/bits/poll2.h: New file.
17302
ac097f5c
UD
17303 [BZ #1350]
17304 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17305
2119dcfa
UD
17306 * configure.in: static is always set to yes. Remove.
17307 * config.make.in: Don't set build-static.
17308 * Makeconfig: Remove use of build-static.
17309 * dlfcn/Makefile: Likewise.
17310 * elf/Makefile: Likewise.
17311 * math/Makefile: Likewise.
17312 * misc/Makefile: Likewise.
17313 * nptl/Makefile: Likewise.
17314 * sysdeps/mach/hurd/Makefile: Likewise.
17315
121766a9
UD
17316 * configure.in: PWD_P is not used anymore.
17317 * config.make.in: Remove PWD_P entry.
17318
51a1d39c 17319 * configure.in: Remove last remnants of RANLIB.
8720d066 17320 No need to check for signed size_t anymore.
215f4bdc
UD
17321 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17322 and IA-64.
3857022a 17323 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17324 * aclocal.m4: Likewise.
17325
d3ed7225
UD
17326 * wcsmbs/mbrtoc16.c: Implement using towc function.
17327 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17328 * wcsmbs/wcsmbsload.c: Likewise.
17329 * iconv/gconv_simple.c: Likewise.
17330 * iconv/gconv_int.h: Likewise.
17331 * iconv/gconv_builtin.h: Likewise.
17332 * iconv/iconv_prog.c: Remove CHAR16 handling.
17333
17334 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17335
17336 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17337
a0da5fe1
UD
17338 * configure.in: Remove --with-elf and --enable-bounded options.
17339 Dont set base_machine for ia64. More non-ELF conditions removed.
17340 Remove testing and setting of leading underscore information.
17341 * config.make.in (build-bounded): Set to no.
17342 * config.h.in: Remove NO_UNDERSCORES entry.
17343 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17344 them.
17345 * csu/start.c: Remove !NO_UNDERSCORE code.
17346 * locale/localeinfo.h: Likewise.
17347 * sysdeps/generic/machine-gmon.h: Likewise.
17348 * sysdeps/generic/sysdep.h: Likewise.
17349 * sysdeps/i386/sysdep.h: Likewise.
17350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17351 * sysdeps/mach/sysdep.h: Likewise.
17352 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17353 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17354 * sysdeps/sh/sysdep.h: Likewise.
17355 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17356 * sysdeps/unix/i386/sysdep.S: Likewise.
17357 * sysdeps/unix/sparc/start.c: Likewise.
17358 * sysdeps/unix/sparc/sysdep.S: Likewise.
17359 * sysdeps/unix/sparc/sysdep.h: Likewise.
17360 * sysdeps/unix/start.c: Likewise.
17361 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17362 * sysdeps/x86_64/sysdep.h: Likewise.
17363
df78418a
UD
173642012-01-07 Ulrich Drepper <drepper@gmail.com>
17365
a784e502
UD
17366 [BZ #13553]
17367 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17368 for non-gcc.
17369 * argp/argp-fmtstream.h: Use const instead __const.
17370 * argp/argp.h: Likewise.
17371 * assert/assert.h: Likewise.
17372 * bits/fenv.h: Likewise.
17373 * bits/sched.h: Likewise.
17374 * bits/sigset.h: Likewise.
17375 * bits/sigthread.h: Likewise.
17376 * catgets/nl_types.h: Likewise.
17377 * conform/data/pthread.h-data: Likewise.
17378 * crypt/crypt-private.h: Likewise.
17379 * crypt/crypt.h: Likewise.
17380 * crypt/crypt_util.c: Likewise.
17381 * ctype/ctype.h: Likewise.
17382 * debug/execinfo.h: Likewise.
17383 * debug/mbsnrtowcs_chk.c: Likewise.
17384 * debug/mbsrtowcs_chk.c: Likewise.
17385 * debug/wcsnrtombs_chk.c: Likewise.
17386 * debug/wcsrtombs_chk.c: Likewise.
17387 * debug/wcstombs_chk.c: Likewise.
17388 * dirent/dirent.h: Likewise.
17389 * dlfcn/dlfcn.h: Likewise.
17390 * elf/neededtest4.c: Likewise.
17391 * grp/grp.h: Likewise.
17392 * gshadow/gshadow.h: Likewise.
17393 * iconv/gconv.h: Likewise.
17394 * iconv/gconv_int.h: Likewise.
17395 * iconv/gconv_simple.c: Likewise.
17396 * iconv/iconv.h: Likewise.
17397 * iconv/loop.c: Likewise.
17398 * iconv/skeleton.c: Likewise.
17399 * include/aio.h: Likewise.
17400 * include/aliases.h: Likewise.
17401 * include/argz.h: Likewise.
17402 * include/arpa/inet.h: Likewise.
17403 * include/assert.h: Likewise.
17404 * include/dirent.h: Likewise.
17405 * include/dlfcn.h: Likewise.
17406 * include/execinfo.h: Likewise.
17407 * include/fcntl.h: Likewise.
17408 * include/fenv.h: Likewise.
17409 * include/glob.h: Likewise.
17410 * include/grp.h: Likewise.
17411 * include/libintl.h: Likewise.
17412 * include/mntent.h: Likewise.
17413 * include/netdb.h: Likewise.
17414 * include/pwd.h: Likewise.
17415 * include/rpc/netdb.h: Likewise.
17416 * include/sched.h: Likewise.
17417 * include/search.h: Likewise.
17418 * include/shadow.h: Likewise.
17419 * include/signal.h: Likewise.
17420 * include/stdio.h: Likewise.
17421 * include/stdlib.h: Likewise.
17422 * include/string.h: Likewise.
17423 * include/sys/socket.h: Likewise.
17424 * include/sys/stat.h: Likewise.
17425 * include/sys/statfs.h: Likewise.
17426 * include/sys/statvfs.h: Likewise.
17427 * include/sys/syslog.h: Likewise.
17428 * include/sys/time.h: Likewise.
17429 * include/sys/uio.h: Likewise.
17430 * include/time.h: Likewise.
17431 * include/unistd.h: Likewise.
17432 * include/utmp.h: Likewise.
17433 * include/wchar.h: Likewise.
17434 * include/wctype.h: Likewise.
17435 * inet/aliases.h: Likewise.
17436 * inet/arpa/inet.h: Likewise.
17437 * inet/netinet/ether.h: Likewise.
17438 * inet/netinet/in.h: Likewise.
17439 * intl/libintl.h: Likewise.
17440 * io/bits/fcntl2.h: Likewise.
17441 * io/fcntl.h: Likewise.
17442 * io/ftw.h: Likewise.
17443 * io/sys/poll.h: Likewise.
17444 * io/sys/stat.h: Likewise.
17445 * io/sys/statfs.h: Likewise.
17446 * io/sys/statvfs.h: Likewise.
17447 * io/utime.h: Likewise.
17448 * libio/bits/stdio.h: Likewise.
17449 * libio/bits/stdio2.h: Likewise.
17450 * libio/libio.h: Likewise.
17451 * libio/libioP.h: Likewise.
17452 * libio/stdio.h: Likewise.
17453 * locale/lc-ctype.c: Likewise.
17454 * locale/locale.h: Likewise.
17455 * login/utmp.h: Likewise.
17456 * malloc/arena.c: Likewise.
17457 * malloc/malloc.c: Likewise.
17458 * malloc/malloc.h: Likewise.
17459 * malloc/mcheck.c: Likewise.
17460 * malloc/mtrace.c: Likewise.
17461 * math/bits/mathcalls.h: Likewise.
17462 * math/fenv.h: Likewise.
17463 * math/math_private.h: Likewise.
17464 * misc/bits/error.h: Likewise.
17465 * misc/bits/syslog.h: Likewise.
17466 * misc/err.h: Likewise.
17467 * misc/error.h: Likewise.
17468 * misc/fstab.h: Likewise.
17469 * misc/mntent.h: Likewise.
17470 * misc/regexp.h: Likewise.
17471 * misc/search.h: Likewise.
17472 * misc/sgtty.h: Likewise.
17473 * misc/sys/mman.h: Likewise.
17474 * misc/sys/syslog.h: Likewise.
17475 * misc/sys/uio.h: Likewise.
17476 * misc/sys/xattr.h: Likewise.
17477 * misc/ttyent.h: Likewise.
17478 * nis/rpcsvc/ypclnt.h: Likewise.
17479 * nss/nss.h: Likewise.
17480 * posix/bits/unistd.h: Likewise.
17481 * posix/fnmatch.h: Likewise.
17482 * posix/glob.h: Likewise.
17483 * posix/sched.h: Likewise.
17484 * posix/spawn.h: Likewise.
17485 * posix/sys/wait.h: Likewise.
17486 * posix/unistd.h: Likewise.
17487 * posix/wordexp.h: Likewise.
17488 * pwd/pwd.h: Likewise.
17489 * resolv/netdb.h: Likewise.
17490 * resource/sys/resource.h: Likewise.
17491 * rt/aio.h: Likewise.
17492 * rt/bits/mqueue2.h: Likewise.
17493 * rt/mqueue.h: Likewise.
17494 * shadow/shadow.h: Likewise.
17495 * signal/signal.h: Likewise.
17496 * socket/send.c: Likewise.
17497 * socket/sendto.c: Likewise.
17498 * socket/sys/socket.h: Likewise.
17499 * stdio-common/printf.h: Likewise.
17500 * stdlib/bits/stdlib.h: Likewise.
17501 * stdlib/fmtmsg.h: Likewise.
17502 * stdlib/monetary.h: Likewise.
17503 * stdlib/stdlib.h: Likewise.
17504 * stdlib/ucontext.h: Likewise.
17505 * streams/stropts.h: Likewise.
17506 * string/argz.h: Likewise.
17507 * string/bits/string2.h: Likewise.
17508 * string/string.h: Likewise.
17509 * string/strings.h: Likewise.
17510 * sunrpc/rpc/auth.h: Likewise.
17511 * sunrpc/rpc/auth_des.h: Likewise.
17512 * sunrpc/rpc/clnt.h: Likewise.
17513 * sunrpc/rpc/netdb.h: Likewise.
17514 * sunrpc/rpc/pmap_clnt.h: Likewise.
17515 * sunrpc/rpc/xdr.h: Likewise.
17516 * sysdeps/generic/inttypes.h: Likewise.
17517 * sysdeps/generic/net/if.h: Likewise.
17518 * sysdeps/generic/sys/swap.h: Likewise.
17519 * sysdeps/gnu/net/if.h: Likewise.
17520 * sysdeps/gnu/utmpx.h: Likewise.
17521 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17522 * sysdeps/i386/i486/bits/string.h: Likewise.
17523 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17524 * sysdeps/s390/bits/string.h: Likewise.
17525 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17526 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17527 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17528 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17529 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17530 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17531 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17532 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17533 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17534 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17535 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17536 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17537 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17538 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17539 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17540 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17541 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17543 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17544 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17545 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17546 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17547 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17548 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17549 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17550 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17551 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17552 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17553 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17554 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17555 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17556 * sysvipc/sys/ipc.h: Likewise.
17557 * sysvipc/sys/msg.h: Likewise.
17558 * sysvipc/sys/sem.h: Likewise.
17559 * sysvipc/sys/shm.h: Likewise.
17560 * termios/termios.h: Likewise.
17561 * time/sys/time.h: Likewise.
17562 * time/time.h: Likewise.
17563 * wcsmbs/bits/wchar2.h: Likewise.
17564 * wcsmbs/uchar.h: Likewise.
17565 * wcsmbs/wchar.h: Likewise.
17566 * wctype/wctype.h: Likewise.
17567
0269750c
UD
17568 [BZ #13551]
17569 * Makeconfig: Remove all but ELF support including AIX support.
17570 * Makerules: Likewise.
17571 * config.h.in: Likewise.
17572 * config.make.in: Likewise.
17573 * configure: Likewise.
17574 * configure.in: Likewise.
17575 * csu/Makefile: Likewise.
17576 * csu/version.c: Likewise.
17577 * debug/Makefile: Likewise.
17578 * dlfcn/Makefile: Likewise.
17579 * elf/Makefile: Likewise.
17580 * extra-lib.mk: Likewise.
17581 * iconv/Makefile: Likewise.
17582 * include/libc-symbols.h: Likewise.
17583 * include/shlib-compat.h: Likewise.
17584 * resolv/Makefile: Likewise.
17585 * resolv/res_libc.c: Likewise.
17586 * rt/Makefile: Likewise.
17587 * sysdeps/i386/asm-syntax.h: Likewise.
17588 * sysdeps/i386/sysdep.h: Likewise.
17589 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17590 * sysdeps/mach/sysdep.h: Likewise.
17591 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17592 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17593 * sysdeps/s390/asm-syntax.h: Likewise.
17594 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17595 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17596 * sysdeps/sh/sysdep.h: Likewise.
17597 * sysdeps/unix/sparc/sysdep.h: Likewise.
17598 * sysdeps/wordsize-32/divdi3.c: Likewise.
17599 * sysdeps/x86_64/sysdep.h: Likewise.
17600
00bbd29b
UD
17601 * argp/Versions: Remove _argp_unlock_xxx.
17602
17603 [BZ #13559]
17604 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17605 * abilist/libBrokenLocale.abilist: Likewise.
17606 * abilist/libanl.abilist: Likewise.
17607 * abilist/libc.abilist: Likewise.
17608 * abilist/libcrypt.abilist: Likewise.
17609 * abilist/libdl.abilist: Likewise.
17610 * abilist/libm.abilist: Likewise.
17611 * abilist/libnsl.abilist: Likewise.
17612 * abilist/libpthread.abilist: Likewise.
17613 * abilist/libresolv.abilist: Likewise.
17614 * abilist/librt.abilist: Likewise.
17615 * abilist/libthread_db.abilist: Likewise.
17616 * abilist/libutil.abilist: Likewise.
17617 * abilist/libnss_db.abilist: New file.
17618
17619 * scripts/abilist.awk: Add support for indirect functions.
17620
a2693a0e
UD
17621 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17622
3f05895f
UD
17623 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17624
ecb6fb48
UD
17625 * shlib-versions: Remove entries for ports architectures.
17626
664f8cb9
UD
17627 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17628 files in ports.
17629 * elf/stackguard-macros.h: Remove support for IA-64.
17630 * elf/tst-auditmod1.c: Likewise.
17631 * sysdeps/generic/ldsodefs.h: Likewise.
17632
7ae81d88
UD
17633 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17634 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17635 configure files.
17636
bdeba135
UD
17637 [BZ #13552]
17638 * configure.in: Remove --enable-omitfp support.
17639 * FAQ.in: Adjust.
17640 * config.make.in: Likewise.
17641 * Makeconfig: Likewise.
17642 * manual/install.texi: Likewise.
17643
d75a0a62
UD
17644 In case anyone cares, the IA-64 architecture could move to ports.
17645 * sysdeps/ia64/*: Removed.
17646 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17647 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17648
dcc9756b
UD
17649 [BZ #13555]
17650 * configure.in: Remove entries for unsupported architectures.
17651
d3761ebc 17652 [BZ #13533]
9954432e
UD
17653 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17654 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17655 routines.
17656 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17657 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17658 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17659 fall back to using wcrtomb.
17660 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17661 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17662 renaming.
17663 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17664 * wcsmbs/tst-c16c32-1.c: New file.
17665
17666 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17667 local variable.
17668
c3a87236
UD
17669 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17670
28926a1b
UD
17671 * elf/tst-unique3.cc: Add explicit declaration of gets.
17672 * elf/tst-unique3lib.cc: Likewise.
17673 * elf/tst-unique3lib2.cc: Likewise.
17674 * elf/tst-unique4.cc: Likewise.
17675
df78418a
UD
17676 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17677
8ecd6b2a
JM
176782012-01-06 Joseph Myers <joseph@codesourcery.com>
17679
17680 [BZ #13566]
17681 * assert/assert.h (static_assert): Don't define for C++.
17682 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17683 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17684
9f115170
UD
176852012-01-03 Ulrich Drepper <drepper@gmail.com>
17686
5e0d0300
UD
17687 * iconv/loop.c (single loop): Fix assertion in storing of
17688 remaining bytes.
17689
9f115170
UD
17690 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17691
81fb02b0
UD
176922012-01-01 Ulrich Drepper <drepper@gmail.com>
17693
17694 * posix/getconf.c: Update copyright year.
17695 * nss/getent.c: Likewise.
a316c1f6 17696 * nss/makedb.c: Likewise.
81fb02b0
UD
17697 * iconv/iconvconfig.c: Likewise.
17698 * iconv/iconv_prog.c: Likewise.
17699 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17700 * elf/pldd.c: Likewise.
17701 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17702 * catgets/gencat.c: Likewise.
17703 * csu/version.c: Likewise.
17704 * elf/ldd.bash.in: Likewise.
17705 * elf/sprof.c (print_version): Likewise.
17706 * locale/programs/locale.c: Likewise.
17707 * locale/programs/localedef.c: Likewise.
a316c1f6 17708 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17709 * nscd/nscd.c (print_version): Likewise.
17710 * debug/xtrace.sh: Likewise.
17711 * malloc/memusage.sh: Likewise.
17712 * malloc/mtrace.pl: Likewise.
17713 * debug/catchsegv.sh: Likewise.
17714
2ba92745
JJ
177152011-12-30 Jakub Jelinek <jakub@redhat.com>
17716
17717 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17718 pure attribute.
17719
dadebdae
UD
177202011-12-24 Ulrich Drepper <drepper@gmail.com>
17721
d3761ebc 17722 [BZ #13533]
db6af3eb
UD
17723 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17724 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17725 transformations.
17726 * iconv/gconv_int.h: Likewise.
17727 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17728 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17729 from libc for GLIBC_2.16.
17730 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17731 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17732 * wcsmbs/uchar.h: Really define mbstate_t.
17733 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17734 * wcsmbs/c16rtomb.c: New file.
17735 * wcsmbs/mbrtoc16.c: New file.
17736 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17737 for C/POSIX locale.
17738 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17739 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17740
dadebdae
UD
17741 * wcsmbs/wchar.h: Add missing __restrict.
17742
67371b56
UD
177432011-12-23 Ulrich Drepper <drepper@gmail.com>
17744
74033a25
UD
17745 [BZ #13532]
17746 * time/Makefile (routines): Add timespec_get.
17747 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17748 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17749 timespec for ISO C11.
17750 * time/timespec_get.c: New file.
17751 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17752 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17753
380d7e87
UD
17754 [BZ #13531]
17755 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17756 * stdlib/stdlib.h: Declare aligned_alloc.
17757 * Versions.def: Add GLIBC_2.16 for libc.
17758 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17759
4e9e7a35
UD
17760 [BZ 13527]
17761 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17762 ISO C11.
17763
380d7e87 17764 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17765 code.
17766
03a71829
UD
17767 [BZ #13528]
17768 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17769
839e283e
UD
17770 [BZ #13529]
17771 * assert/assert.h (static_assert): Define.
17772
ce5294e2 17773 * version.h: Update for 2.16 development version.
90fa7312 17774
8d44e150 17775 [BZ #13526]
d7809905
UD
17776 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17777 _ISOC11_SOURCE.
17778
c0da14cd
UD
17779 * version.h (RELEASE): Bump for 2.15 release.
17780 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17781
530a3249
MP
17782 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17783 Patch by Marek Polacek <mpolacek@redhat.com>.
17784
67371b56
UD
17785 * bits/byteswap.h: Protect long long constants with __extension__.
17786 * sysdeps/i386/bits/byteswap.h: Likewise.
17787 * sysdeps/ia64/bits/byteswap.h: Likewise.
17788 * sysdeps/s390/bits/byteswap.h: Likewise.
17789 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17790
15db4de1
LD
177912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17792
17793 [BZ #13540]
bbe315ea
LD
17794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17795 destination buffer.
15db4de1
LD
17796 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17797
2b2596b1
MP
177982011-12-23 Marek Polacek <polacek@redhat.com>
17799
17800 * elf/dl-addr.c (determine_info): Add inline keyword.
17801 * elf/tst-auditmod4b.c (check_avx): Likewise.
17802 * elf/tst-auditmod6b.c (check_avx): Likewise.
17803 * elf/tst-auditmod6c.c (check_avx): Likewise.
17804 * elf/tst-auditmod7b.c (check_avx): Likewise.
17805
70c6c246
UD
178062011-12-23 Ulrich Drepper <drepper@gmail.com>
17807
17808 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17809 !__SSE_MATH__.
17810
c044cf14
LD
178112011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17812
15db4de1 17813 [BZ #13540]
c044cf14
LD
17814 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17815 processing for last bytes.
17816
6b13d9d9
BH
178172011-08-06 Bruno Haible <bruno@clisp.org>
17818
d455f537
BH
17819 [BZ #13061]
17820 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17821 U+0385, not to U+1FEE.
17822
6b13d9d9
BH
17823 [BZ #13062]
17824 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17825 entry for U+00A5 U+0301.
17826
db910efd
UD
178272011-12-22 Ulrich Drepper <drepper@gmail.com>
17828
27deeafc
UD
17829 [BZ #13166]
17830 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17831 buffer for the output is too small.
17832
aed9d171
UD
17833 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17834 optimization.
17835
db910efd
UD
17836 [BZ #13185]
17837 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17838 SSE flags if possible.
17839
2bd779ae
LD
178402011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17841
e7f9dac3 17842 [BZ #13540]
2bd779ae
LD
17843 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17844 processing for last bytes.
17845
154bfc16
JM
178462011-12-22 Joseph Myers <joseph@codesourcery.com>
17847
17848 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17849 (syscall-list-default-options, syscall-list-default-condition)
17850 (syscall-list-includes): Define.
17851 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17852 list of ABIs and options and #if conditions for each ABI. Do not
17853 handle common syscalls between ABIs specially.
17854 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17855 Remove.
17856 (syscall-list-variants, syscall-list-32bit-options)
17857 (syscall-list-32bit-condition, syscall-list-64bit-options)
17858 (syscall-list-64bit-condition): Define.
17859 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17860 (syscall-list-variants, syscall-list-32bit-options)
17861 (syscall-list-32bit-condition, syscall-list-64bit-options)
17862 (syscall-list-64bit-condition): Define.
17863 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17864 Remove.
17865 (syscall-list-variants, syscall-list-32bit-options)
17866 (syscall-list-32bit-condition, syscall-list-64bit-options)
17867 (syscall-list-64bit-condition): Define.
17868 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17869 Remove.
17870 (syscall-list-variants, syscall-list-32bit-options)
17871 (syscall-list-32bit-condition, syscall-list-64bit-options)
17872 (syscall-list-64bit-condition): Define.
17873
21eaf3a5
UD
178742011-12-22 Ulrich Drepper <drepper@gmail.com>
17875
16c6f992
UD
17876 * locale/iso-639.def: Add brx entry.
17877
41043168
UD
17878 [BZ #13328]
17879 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17880 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17881
21eaf3a5
UD
17882 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17883 __feraiseexcept_renamed.
17884
e3a851a2
UD
178852011-12-21 Ulrich Drepper <drepper@gmail.com>
17886
4920765e
UD
17887 [BZ #13538]
17888 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17889 EPOLLET with unsigned values.
17890 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17891 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17892
e3a851a2
UD
17893 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17894 to large cancellation.
17895 * math/s_cacoshf.c: Likewise.
17896 * math/s_cacoshl.c: Likewise.
17897
b27e24b8
RK
178982011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17899
17900 [BZ #13305]
aebefeee 17901 [BZ #12786]
b27e24b8
RK
17902 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17903 * math/s_cacoshf.c: Likewise.
17904 * math/s_cacoshl.c: Likewise.
17905
ee190f67
UD
179062011-12-21 Ulrich Drepper <drepper@gmail.com>
17907
17908 [BZ #13439]
17909 * iconv/gconv.h: Define __GCONV_SWAP.
17910 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17911 * iconvdata/utf-16.c: Likewise.
17912 * iconvdata/utf-32.c: Likewise.
17913
707f25df
AS
179142011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17915
17916 [BZ #13524]
17917 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17918 numerator after shifting it by one limb.
17919
d2daaa1e
RÁE
179202011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17921
17922 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17923 under [__USE_EXTERN_INLINES].
17924
a4647e72
UD
179252011-12-17 Ulrich Drepper <drepper@gmail.com>
17926
17927 [BZ #13446]
17928 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17929
f0b264f1
AZ
179302011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17931
17932 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17933 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17934 optimized code.
17935 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17936 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17937 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17938 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17939 for strncasecmp/strncasecmp_l compilation.
17940 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17941 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17942
8ef4f244
MP
179432011-12-08 Marek Polacek <mpolacek@redhat.com>
17944
17945 [BZ #13484]
17946 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17947 of __asm__.
17948
97ac2654
UD
179492011-12-17 Ulrich Drepper <drepper@gmail.com>
17950
17951 [BZ #13506]
17952 * time/tzfile.c (__tzfile_read): Check values from file header.
17953
91d2a845
WS
179542011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17955
17956 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17957 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17958 * powerpc/powerpc32/dl-start.S: Likewise.
17959 * powerpc/powerpc32/elf/start.S: Likewise.
17960 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17961 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17962 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17963 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17964 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17965 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17966 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17967 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17968 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17969 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17970 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17971 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17972 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17973 * powerpc/powerpc32/memset.S: Likewise.
17974 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17975 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17976 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17977 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17978 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17979 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17980 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17981 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17982 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17983 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17984 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17985 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17986 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17987
a1267ba1
AZ
179882011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17989
17990 * math/libm-test.inc: Added more nearbyint tests.
17991 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17992 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17993 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17994 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17995
ad8ac1bd
RL
179962011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17997
17998 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17999 FD_CLOEXEC.
18000
1d3e4b61
UD
180012011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18002
18003 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18004 Add wcscpy-ssse3 wcscpy-c.
18005 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18006 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18007 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18008 * sysdeps/x86_64/wcschr.S: New file.
18009 * sysdeps/x86_64/wcsrchr.S: New file.
18010 * string/test-strcmp.c: Remove checking of wcscmp function for
18011 wrong alignments.
18012 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18013 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18014 wcsrchr-sse2 wcsrchr-c.
18015 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18016 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18017 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18018 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18019 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18020 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18021 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18022 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18023 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18024 * wcsmbc/wcschr.c (WCSCHR): New macro.
18025
5b330a2d
UD
180262011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18027
18028 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18029 * wcsmbs/test-wcsrchr.c: New file.
18030 * string/test-strrchr.c: Add wcsrchr support.
18031 (WIDE): New macro.
18032 * wcsmbs/test-wcscpy.c: New file.
18033 * string/test-strcpy.c: Add wcscpy support.
18034 (WIDE): New macro.
26428b7c 18035
f039c043
UD
180362011-12-10 Ulrich Drepper <drepper@gmail.com>
18037
18038 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18039 the inner loop.
18040
850fb039
AS
180412011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18042
18043 [BZ #13472]
18044 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18045
4efbd5cb
UD
180462011-12-04 Ulrich Drepper <drepper@gmail.com>
18047
52ff5dd0 18048 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18049 Minor optimizations.
52ff5dd0 18050
4efbd5cb
UD
18051 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18052 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18053 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18054
8a426e12
UD
180552011-12-03 Ulrich Drepper <drepper@gmail.com>
18056
aff2453d
UD
18057 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18058 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18059 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18060 for gcc to avoid warnings.
18061 * inet/Makefile (tests): Add tst-checks.
18062 * inet/tst-checks.c: New file.
18063
18064 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18065 warning.
18066
18067 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18068 __wmemcmp_sse2.
18069
18070 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18071 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18072
8a426e12
UD
18073 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18074
9bea3473
UD
180752011-12-02 Ulrich Drepper <drepper@gmail.com>
18076
3a965496
UD
18077 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18078 problem.
18079
9bea3473
UD
18080 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18081
f101631b
UD
180822011-11-29 Joseph Myers <joseph@codesourcery.com>
18083
18084 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18085 conditional on GCC version.
18086 (__arch_compare_and_exchange_val_8_acq)
18087 (__arch_compare_and_exchange_val_16_acq)
18088 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18089 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18090 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18091
a98275aa
UD
180922011-12-02 Joseph Myers <joseph@codesourcery.com>
18093
18094 * sysdeps/sh/backtrace.c: New file.
18095
d4cc29a2
AS
180962011-12-02 Andreas Schwab <schwab@redhat.com>
18097
18098 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18099 parenthesis.
18100
6257af2d
AS
181012011-12-01 Andreas Schwab <schwab@redhat.com>
18102
18103 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18104 falling back to utime.
18105
b5f44c1a
AS
181062011-11-30 Andreas Schwab <schwab@redhat.com>
18107
18108 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18109 expectations for float.
18110
f3a6cc0a
AS
181112011-11-29 Andreas Schwab <schwab@redhat.com>
18112
18113 * locale/weight.h (findidx): Add parameter len.
18114 * locale/weightwc.h (findidx): Likewise.
18115 * posix/fnmatch_loop.c (FCT): Adjust caller.
18116 * posix/regcomp.c (build_equiv_class): Likewise.
18117 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18118 * posix/regexec.c (check_node_accept_bytes): Likewise.
18119 * string/strcoll_l.c (STRCOLL): Likewise.
18120 * string/strxfrm_l.c (STRXFRM): Likewise.
18121
9d65ea3a
UD
181222011-11-17 Ulrich Drepper <drepper@gmail.com>
18123
18124 * Makefile.in: Remove CVSOPT handling.
18125 * configure.in: Remove use of AC_REVISION.
18126 * iconvdata/Makefile (distribute): No need to filter out CVS.
18127 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18128 handling.
18129
5583a086
AS
181302011-11-16 Andreas Schwab <schwab@redhat.com>
18131
18132 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18133 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18134 [USE_AS_STRNCASECMP_L]: Likewise.
18135 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18136 NO_TLS_DIRECT_SEG_REFS.
18137 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18138 Fix argument offsets for non-PIC.
18139 [USE_AS_STRNCASECMP_L]: Likewise.
18140 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18141 NO_TLS_DIRECT_SEG_REFS.
18142
d62a8200
UD
181432011-11-15 Ulrich Drepper <drepper@gmail.com>
18144
9d65ea3a 18145 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18146 O_CLOEXEC.
18147 * locale/loadlocale.c (_nl_load_locale): Likewise.
18148
09f93bd3
AS
181492011-11-15 Andreas Schwab <schwab@redhat.com>
18150
446514f9
AS
18151 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18152 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18153 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18154 (SYSCALL_GETTIME): Set errno on error.
18155
09f93bd3
AS
18156 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18157 count references to noai6ai_cached.
18158
312be3f9
UD
181592011-11-15 Ulrich Drepper <drepper@gmail.com>
18160
18161 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18162
18163 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18164 FD_CLOEXEC for /proc/self/maps.
18165
18166 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18167 FD_CLOEXEC for /proc/meminfo.
18168
18169 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18170 gai.conf.
18171
18172 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18173 FD_CLOEXEC for given file.
18174
18175 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18176
18177 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18178 FD_CLOEXEC for /etc/hosts.
18179 (_gethtent): Likewise.
18180
18181 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18182
18183 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18184 cancellation and set FD_CLOEXEC for /etc/netgroup.
18185
18186 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18187 reading /etc/publickey.
18188
18189 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18190 allow cancellation when reading /etc/group.
18191
18192 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18193 cancellation.
18194 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18195
18196 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18197 when using data file.
18198
18199 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18200
18201 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18202 (write_nis_obj): Use "c" and "e" in fopen.
18203
18204 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18205
18206 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18207
18208 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18209
18210 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18211
18212 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18213 locale.alias.
18214
18215 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18216
18217 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18218
18219 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18220
18221 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18222 file parsing and set FD_CLOEXEC.
18223
82af0fa8
UD
182242011-11-14 Ulrich Drepper <drepper@gmail.com>
18225
18226 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18227
a5fb313c
AS
182282011-11-14 Andreas Schwab <schwab@redhat.com>
18229
18230 * malloc/arena.c (arena_get2): Don't call reused_arena when
18231 _int_new_arena failed.
18232
6abf3465
UD
182332011-11-14 Ulrich Drepper <drepper@gmail.com>
18234
18235 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18236 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18237 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18238 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18239 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18240 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18241 to compile strcasecmp and strncasecmp.
18242 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18243 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18244
18245 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18246
76e3966e
UD
182472011-11-13 Ulrich Drepper <drepper@gmail.com>
18248
18249 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18250 locale-defines.sym to gen-as-const-headers.
18251 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18252 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18253 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18254 to compile strcasecmp and strncasecmp.
18255 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18256 strcasecmp_l and strncasecmp_l.
18257 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18258 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18259 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18260 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18261 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18262 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18263 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18264 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18265 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18266 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18267 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18268
ab26144e
UD
182692011-11-12 Ulrich Drepper <drepper@gmail.com>
18270
7edb22ef
UD
18271 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18272 result of SYSDEP_GETTIME_CPU to retval.
18273 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18274 parameter list to macro. Remove trailing semicolon. Adjust users.
18275
9694fc44
UD
18276 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18277 variable.
18278
8ad89ef8
UD
18279 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18280 mantissa words.
18281 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18282
0c822ef9
UD
18283 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18284 from unused variable.
18285
874e0564
UD
18286 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18287 DWARF definitions.
18288 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18289 for assembling.
18290
3a2edc79
UD
18291 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18292 over namespaces.
18293
f3c2577f
UD
18294 * sunrpc/rpc_prot.c (rejected): Fix case value.
18295
294ce126
UD
18296 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18297 unsigned long long int to avoid warnings in shift.
18298
5e2b63c6
UD
18299 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18300 of use of trans.
18301 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18302 variable tmp.
18303
e7f4b08e
UD
18304 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18305 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18306 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18307
ab26144e
UD
18308 * nis/nis_table.c (nis_list): Use variable of correct type for
18309 result of __follow_path call.
18310
8a6d5255
AZ
183112011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18312
18313 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18314 of math functions ceil, trunc, floor, round, and sqrt, when
18315 avaliable on the platform.
18316 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18317 name clash.
18318 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18319 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18320 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18321
aaddc98c
MP
183222011-10-30 Marek Polacek <mpolacek@redhat.com>
18323
18324 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18325 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18326
95b7042b
RM
183272011-11-11 Roland McGrath <roland@hack.frob.com>
18328
18329 * include/unistd.h: Fix __readlink return type.
18330 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18331
57769839
UD
183322011-11-11 Ulrich Drepper <drepper@gmail.com>
18333
18334 * stdlib/ucontext.h: Undo last change for makecontext.
18335
edc5984d
AS
183362011-11-11 Andreas Schwab <schwab@redhat.com>
18337
98591e58
AS
18338 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18339
edc5984d
AS
18340 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18341 * setjmp/setjmp.h: Mark functions as non-leaf.
18342 * setjmp/bits/setjmp2.h: Likewise.
18343 * stdlib/ucontext.h: Likewise.
18344
77cdc054
AS
183452011-11-10 Andreas Schwab <schwab@redhat.com>
18346
18347 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18348 (reused_arena): Don't check arena limit.
18349 (arena_get2): Atomically check arena limit.
18350
fe72eebd
UD
183512011-11-08 Ulrich Drepper <drepper@gmail.com>
18352
5f078c32
UD
18353 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18354 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18355
fe72eebd
UD
18356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18357 instructions.
18358
ae1bc2fa
AS
183592011-11-07 Andreas Schwab <schwab@redhat.com>
18360
7583a88d
AS
18361 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18362 handler when locking.
18363
ae1bc2fa
AS
18364 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18365 Fix size of allocated buffer.
18366
10fb0bfa
AS
183672011-11-04 Andreas Schwab <schwab@redhat.com>
18368
998832a4
AS
18369 [BZ #10103]
18370 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18371 declarations for long double functions.
18372 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18373
10fb0bfa
AS
18374 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18375
3d7ba52b
AS
183762011-11-03 Andreas Schwab <schwab@redhat.com>
18377
a9ae54a1
AS
18378 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18379 installed.
18380
3d7ba52b
AS
18381 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18382 is disabled.
18383
bc8db248
ST
183842011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18385
18386 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18387
45b96dd6
AS
183882011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18389
647776f6
AS
18390 * include/alloca.h (stackinfo_alloca_round): Define.
18391 (extend_alloca): Use it.
18392 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18393 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18394 here.
18395
d91a8b93
AS
18396 * scripts/check-local-headers.sh: Ignore libaudit.h.
18397
45b96dd6
AS
18398 * nscd/Makefile (extra-objs): Make recursively expanded.
18399
432d41ce
UD
184002011-11-01 Ulrich Drepper <drepper@gmail.com>
18401
34372fc6
UD
18402 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18403 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18404
fadb59f8
UD
18405 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18406 * posix/tst-rfc3484-2.c: Likewise.
18407 * posix/tst-rfc3484-3.c: Likewise.
18408
78239589
UD
18409 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18410 process_vm_writev.
18411 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18412 process_vm_writev.
18413 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18414 process_vm_writev from libc using GLIBC_2.15 version.
18415
432d41ce
UD
18416 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18417
02f9c6cf
PP
184182011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18419
18420 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18421 stack usage.
18422
3a2c0242
UD
184232011-10-31 Ulrich Drepper <drepper@gmail.com>
18424
f4ec4833
UD
18425 [BZ #13367]
18426 * nss/getent.c (initgroups_keys): Show error message in case no group
18427 names are given.
18428
3a2c0242
UD
18429 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18430 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18431 __bump_nl_timestamp.
18432 * nscd/connections (nscd_init): When host database is served open
18433 netlink socket and request notification about configuration changes.
18434 (main_loop_poll): Track netlink file descriptor and bump timestamp
18435 in case data becomes available.
18436 (main_loop_epoll): Likewise.
18437 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18438 (database_pers_head): Add extra_data fileds.
18439 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18440 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18441 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18442 Adjust caller.
18443 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18444 in6ai data, call __free_in6ai.
18445 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18446 Add -DHAVE_NETLINK.
18447 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18448 interface information. Reuse previous data if netlink timestamp
18449 is not changed.
18450 (__bump_nl_timestamp): New function.
18451 (__free_in6ai): New function.
18452
636064eb
UD
184532011-10-30 Ulrich Drepper <drepper@gmail.com>
18454
18455 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18456 close_not_cancel_no_status here.
18457 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18458
9beb2334
UD
184592011-10-29 Ulrich Drepper <drepper@gmail.com>
18460
6ef76f3b
UD
18461 [BZ #13276]
18462 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18463 return value.
18464
0ffc4f3e 18465 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18466 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18467 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18468
cb95113e
UD
184692011-07-03 Andreas Jaeger <aj@suse.de>
18470
18471 [BZ #10709]
18472 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18473 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18474 * math/libm-test.inc (sin_test): Add test case.
18475
a1b560ff
UD
184762011-10-29 Ulrich Drepper <drepper@gmail.com>
18477
c9aaface
UD
18478 [BZ #13337]
18479 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18480 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18481
d272e7f1
UD
18482 * elf/chroot_canon.c (chroot_canon): Cleanups.
18483
1bc33071
UD
18484 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18485
1760874d
TJ
18486 [BZ #13335]
18487 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18488 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18489
51d91b18
UD
18490 * string/test-strchr.c: Make usable for strchrnul testing.
18491 * string/test-strchrnul.c: New file.
18492 * string/Makefile (strop-tests): Add strchrnul.
18493
a1b560ff 18494 * po/it.po: Update from translation team.
b611fb81 18495 * po/es.po: Likewise.
a1b560ff 18496
a5b81e1f
UD
184972011-10-28 Ulrich Drepper <drepper@gmail.com>
18498
fd52bc6d
UD
18499 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18500 the three constants needed as parameters. Drop the others.
18501 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18502 __m128i_strloadu_tolower.
52e4b9eb
UD
18503 Create and initialize variable zero and use it in all the places
18504 where _mm_setzero_si128 was used.
fd52bc6d 18505
a5b81e1f
UD
18506 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18507 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18508 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18509 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18510 anymore.
18511 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18512 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18513 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18514 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18515 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18516 __mpranred, __mptan.
18517 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18518 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18519 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18520 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18521 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18522 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18523 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18524 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18525 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18526
b4343346
AS
185272011-10-28 Andreas Schwab <schwab@redhat.com>
18528
0c92d8a8
AS
18529 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18530 redefine if SHARED.
18531 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18532
b4343346
AS
18533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18534 wide char related routines to wcsmbs subdir.
18535
3871f58f
AS
185362011-10-27 Andreas Schwab <schwab@redhat.com>
18537
18538 [BZ #13344]
18539 * misc/sys/cdefs.h (__THROWNL): Define.
18540 * posix/unistd.h: Use __THREADNL instead of __THREAD
18541 for memory synchronization functions.
18542
94d44d9f
RM
185432011-10-26 Roland McGrath <roland@hack.frob.com>
18544
21b64b15 18545 [BZ #13349]
94d44d9f
RM
18546 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18547 doesn't exist.
18548 * manual/stdio.texi (Obstack Streams): Node removed.
18549
f6ce9294
AS
185502011-10-26 Andreas Schwab <schwab@redhat.com>
18551
80479147
AS
18552 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18553 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18554 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18555
f6ce9294
AS
18556 * math/math_private.h (math_force_eval): Allow non-addressable
18557 arguments.
18558 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18559
618280a1
UD
185602011-10-25 Ulrich Drepper <drepper@gmail.com>
18561
e0016b11
UD
18562 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18563 file is not needed.
18564
18565 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18566 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18567 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18568 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18569 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18570 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18571 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18572 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18573 Add AVX variants.
18574 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18575 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18576 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18577 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18578 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18579 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18580 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18581 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18582 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18583 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18584 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18585 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18586 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18587 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18588 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18589 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18590 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18591 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18592 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18593
18594 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18595 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18596
618280a1
UD
18597 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18598 place. Use VEX encoding when compiling for AVX.
18599
37822576
AS
186002011-10-25 Andreas Schwab <schwab@redhat.com>
18601
1f1e1947
AS
18602 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18603 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18604
37822576
AS
18605 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18606
31ea014d
UD
186072011-10-25 Ulrich Drepper <drepper@gmail.com>
18608
d7826aa1 18609 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18610 useless if() expression.
d7826aa1
UD
18611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18612 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18613 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18615 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18616 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18617 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18619 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18620 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18621 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18622 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18623 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18624 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18625 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18626 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18627 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18628 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18629 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18630
31ea014d
UD
18631 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18632
16437fec
AS
186332011-10-25 Andreas Schwab <schwab@redhat.com>
18634
18635 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18636 condition.
18637 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18638
31d3cc00
UD
186392011-10-25 Ulrich Drepper <drepper@gmail.com>
18640
18641 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18642 .text section. Avoid duplicate constants.
18643 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18644 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18645 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18647 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18648 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18649 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18651 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18652 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18653 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18654 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18655 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18656 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18657 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18658 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18659 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18660 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18663 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18664 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18666 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18667 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18668 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18669 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18670 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18671 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18672 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18673 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18674 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18675 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18676 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18677 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18678 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18679 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18680 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18681 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18682 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18683 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18684 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18685 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18686 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18687 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18688
58985aa9
UD
186892011-10-24 Ulrich Drepper <drepper@gmail.com>
18690
202c9deb
UD
18691 * sysdeps/x86_64/dla.h: Move to ...
18692 * sysdeps/x86_64/fpu/dla.h: ...here.
18693 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18694 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18695
af968f62
UD
18696 * config.make.in: Add have-mfma4 entry.
18697 * configure.in: Substitute libc_cv_cc_fma4.
18698 * math/Makefile (dbl-only-routines): Add sincostab.
18699 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18700 Use __sincostab not sincos.
18701 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18702 name is a macro.
18703 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18704 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18705 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18706 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18707 using __copysign.
18708 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18709 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18710 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18711 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18712 and __inv.
18713 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18714 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18715 __copysign.
18716 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18717 define aliases when function name is a macro.
18718 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18719 sysdeps/ieee754/dbl-64/sincos.tbl.
18720 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18721 fma4-enabled routines.
18722 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18723 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18724 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18725 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18726 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18727 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18728 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18729 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18730 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18731 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18732 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18733 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18734 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18735 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18736 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18737 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18738 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18739 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18740 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18741 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18742 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18743 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18744 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18745 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18747 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18748 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18749 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18750 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18751 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18752
58985aa9
UD
18753 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18754 rename.
18755 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18758 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18759 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18760 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18761 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18763
a201fbcf
AS
187642011-10-24 Andreas Schwab <schwab@redhat.com>
18765
18766 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18767
fc2ee42a
LD
187682011-10-23 Ulrich Drepper <drepper@gmail.com>
18769
bb3129bd
UD
18770 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18771
0275fff8
UD
18772 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18773 prediction.
18774 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18775
2fa2ae85
UD
18776 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18777 Remove unused variable magic_bits.
18778 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18779
fc2ee42a
LD
18780 * string/strnlen.c: Define and use STRNLEN macro.
18781 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18782 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18783 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18784 * wcsmbs/wcslen.c: Define and use WCSLEN.
18785 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18786 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18787 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18788 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18789 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18790 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18791 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18792
ce7dd29f
LD
187932011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18794
18795 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18796 strnlen-sse2-no-bsf.
18797 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18798 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18799 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18800 Add strnlen support.
18801 (USE_AS_STRNLEN): New macro.
18802 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18803 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18804 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18805 * sysdeps/x86_64/wcslen.S: New file.
18806
979c70a3
MZ
188072011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18808
18809 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18810 XMM-moves are used for copying on small sizes.
18811
2d09f82f
LD
188122011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18813
18814 * wcsmbs/Makefile (strop-tests): Add wcschr.
18815 * wcsmbs/test-wcschr.c: New file.
18816 * string/test-strchr.c: Update.
18817 Add wcschr support.
18818 (WIDE): New macro.
18819
619fccca
LD
188202011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18821
2d09f82f 18822 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18823 * wcsmbs/test-wcslen.c: New file.
18824 * string/test-strlen.c: Update.
18825 Add wcslen support.
18826 (WIDE): New macro.
18827
09f699ea
UD
188282011-10-23 Ulrich Drepper <drepper@gmail.com>
18829
18830 * po/it.po: Update from translation team.
18831
95584d3b
LD
188322011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18833
18834 * sysdeps/x86_64/wcscmp.S: Update.
18835 Fix wrong comparison semantics.
18836 wcscmp shall use signed comparison not unsigned.
18837 Don't use substraction to avoid overflow bug.
18838 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18839 * wcsmbc/wcscmp.c: Likewise.
18840 * string/test-strcmp.c: Likewise.
18841 Add new tests to check cases with negative values.
18842
c8b3296b
UD
188432011-10-23 Ulrich Drepper <drepper@gmail.com>
18844
18845 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18846 * sysdeps/x86_64/dla.h: ...here. New file.
18847 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18852 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18855 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18856
246ad57a
AS
188572011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18858
18859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18860 __ynl_finite aliases.
18861
a1a87169
UD
188622011-10-22 Ulrich Drepper <drepper@gmail.com>
18863
0d355eb7
UD
18864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18865
a1a87169
UD
18866 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18867 define DLA_FMA.
18868 [DLA_FMA] (EMULV): Use DLA_FMA.
18869 [DLA_FMA] (MUL12): Use EMULV.
18870 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18871 that are not needed.
18872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18874 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18875 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18877 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18878 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18879
ee2aafe0
AS
188802011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18881
18882 * math/s_nan.c: Undef __nan.
18883 * math/s_nanf.c: Undef __nanf.
18884 * math/s_nanl.c: Undef __nanl.
18885 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18886 "math_private.h".
18887
bc62c2fb
UD
188882011-10-22 Ulrich Drepper <drepper@gmail.com>
18889
77425c63
UD
18890 * math/s_catan.c: Add branch predictions.
18891 * math/s_catanf.c: Likewise.
18892 * math/s_catanh.c: Likewise.
18893 * math/s_catanhf.c: Likewise.
18894 * math/s_catanhl.c: Likewise.
18895 * math/s_catanl.c: Likewise.
18896 * math/s_cexp.c: Likewise.
18897 * math/s_cexpf.c: Likewise.
18898 * math/s_cexpl.c: Likewise.
18899 * math/s_clog.c: Likewise.
18900 * math/s_clog10.c: Likewise.
18901 * math/s_clog10f.c: Likewise.
18902 * math/s_clog10l.c: Likewise.
18903 * math/s_clogf.c: Likewise.
18904 * math/s_clogl.c: Likewise.
18905 * math/s_csqrt.c: Likewise.
18906 * math/s_csqrtf.c: Likewise.
18907 * math/s_csqrtl.c: Likewise.
18908 * math/s_ctanf.c: Likewise.
18909 * math/s_ctanh.c: Likewise.
18910 * math/s_ctanhf.c: Likewise.
18911 * math/s_ctanhl.c: Likewise.
18912 * math/s_ctanl.c: Likewise.
18913
bc62c2fb
UD
18914 * math/math_private.h: Define __nan, __nanf, __nanl.
18915 * math/s_cacosh.c: Include <math_private.h>.
18916 * math/s_cacoshl.c: Likewise.
18917 * math/s_casinh.c: Likewise.
18918 * math/s_casinhf.c: Likewise.
18919 * math/s_casinhl.c: Likewise.
18920 * math/s_ccos.c: Rely entire on ccosh.
18921 * math/s_ccosf.c: Rely entire on ccoshf.
18922 * math/s_ccosl.c: Rely entirely on ccoshl.
18923 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18924 Remove tests for FE_INVALID.
18925 * math/s_ccoshf.c: Likewise.
18926 * math/s_ccoshl.c: Likewise.
18927 * math/s_csin.c: Likewise.
18928 * math/s_csinf.c: Likewise.
18929 * math/s_csinh.c Likewise.
18930 * math/s_csinhf.c: Likewise.
18931 * math/s_csinhl.c: Likewise.
18932 * math/s_csinl.c: Likewise.
18933 * math/s_ctan.c: Likewise.
18934 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18935 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18936 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18937
8ec250a4
UD
189382011-10-21 Ulrich Drepper <drepper@gmail.com>
18939
c196fed8
UD
18940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18941 compilation problems.
18942
8ec250a4
UD
18943 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18944 __builtin_expect.
18945
8d4f46c6
UD
189462011-10-20 Ulrich Drepper <drepper@gmail.com>
18947
ed72b654
UD
18948 * sysdeps/i386/configure.in: Test for -mfma4 option.
18949 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18950 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18951 COMMON_CPUID_INDEX_80000001.
18952 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18953 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18954 use it if FMA3 is not supported.
18955 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18956
8d4f46c6
UD
18957 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18958 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18959
d45c60c2
AS
189602011-10-20 Andreas Schwab <schwab@redhat.com>
18961
18962 [BZ #12892]
18963 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18964 it would create a cycle with a link time dependency.
18965
d9a4d2ab
UD
189662011-10-19 Ulrich Drepper <drepper@gmail.com>
18967
855d1560
UD
18968 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18969 instruction.
18970 * string/Makefile (strop-tests): Add rawmemchr.
18971 * string/test-rawmemchr.c: New file.
18972
d9a4d2ab
UD
18973 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18974 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18975 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18976 when compiling str{,n}casecmp and when AVX is available. Hook up
18977 new optimized code in initializers.
18978
8f3b1ffe
AS
189792011-10-19 Andreas Schwab <schwab@redhat.com>
18980
18981 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18982 __feraiseexcept instead of feraiseexcept.
18983
d38f1dba
UD
189842011-10-18 Ulrich Drepper <drepper@gmail.com>
18985
d9a8d0ab
UD
18986 * math/math_private.h: Define defaults for libc_fetestexcept and
18987 libc_feupdateenv.
18988 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18989 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18990 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18991 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18992 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18993 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18994 libc_fetestexcept and libc_feupdateenv.
18995
4855e3dd
UD
18996 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18997 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18998 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18999 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19000 libc_feholdexcept_setround.
19001
581d30e3
UD
19002 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19003 Add s_nearbyint-c and s_nearbyintf-c.
19004 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19005 nearbyintf inlines.
19006 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19007 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19008 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19009 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19010
d38f1dba
UD
19011 * math/math_private.h: Define defaults for libc_fegetround,
19012 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19013 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19014 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19015 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19016 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19017 standard functions.
19018 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19019 Remove comments and hacks for old compiler versions.
19020 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19021 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19022 libc_feholdexceptl.
19023
caa6c9d8
AS
190242011-10-18 Andreas Schwab <schwab@redhat.com>
19025
19026 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19027 (__feraiseexcept_renamed): Add __NTH.
19028 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19029 namespace violations.
19030
97c066e6
UD
190312011-10-17 Ulrich Drepper <drepper@gmail.com>
19032
99ce7b04
UD
19033 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19034
1004d182
UD
19035 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19036
228a984d
UD
19037 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19038 recently added interfaces.
19039 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19040
c8553a6a
UD
19041 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19042 about macro parameter expansion.
19043
ed22dcf6
UD
19044 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19045 __NO_MATH_INLINES is defined. Cleanups.
19046
19047 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19048 and __floorf is target has SSE4.1.
19049 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19050 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19051 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19052 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19053
b171c137
UD
19054 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19055 name.
19056 (floorf): Likewise.
19057
97c066e6
UD
19058 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19059
629f62ef
AS
190602011-10-17 Andreas Schwab <schwab@redhat.com>
19061
49a43d80
AS
19062 * misc/sys/cdefs.h: Fix last change.
19063
629f62ef
AS
19064 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19065 database lookup.
19066
e453f6cd
UD
190672011-10-16 Ulrich Drepper <drepper@gmail.com>
19068
aa78043a
UD
19069 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19070
ad0f5cad
UD
19071 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19072 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19073 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19074 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19075 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19076 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19077 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19078 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19079 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19080 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19081 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19082 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19083 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19084 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19085 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19086 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19087 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19088 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19089 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19090 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19091 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19092 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19093
19094 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19095 ceil, ceilf, floor, floorf.
19096
19097 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19098 Perform IRELATIVE relocations last.
19099
e453f6cd
UD
19100 * elf/do-rel.h: Add another parameter nrelative, replacing the
19101 local variable with the same name. Change name of the function
19102 to end in Rel or Rela (uppercase).
19103 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19104 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19105 elf_dynamic_do_##reloc function.
19106
fd5bdc09
UD
191072011-10-15 Ulrich Drepper <drepper@gmail.com>
19108
79b195b5
UD
19109 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19110 is sufficient, at least on modern CPUs.
19111
d4a28569
UD
19112 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19113
b61099b5
UD
19114 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19115 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19116
bcf01e6d
UD
19117 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19118 __expl_finite.
19119 * math/bits/math-finite.h: Add entries for exp.
19120 * math/e_expl.c: Add __*_finite alias.
19121 * sysdeps/i386/fpu/e_exp.S: Likewise.
19122 * sysdeps/i386/fpu/e_expf.S: Likewise.
19123 * sysdeps/i386/fpu/e_expl.c: Likewise.
19124 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19125 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19126 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19127 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19128 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19129 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19130 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19131
ba1a0d59
UD
19132 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19133 is sufficient, at least on modern CPUs.
19134
fd5bdc09
UD
19135 * ctype/ctype-info.c (__ctype_init): Define.
19136 * include/ctype.h (__ctype_init): Declare.
19137 (__ctype_b_loc): The variable is always initialized.
19138 (__ctype_toupper_loc): Likewise.
19139 (__ctype_tolower_loc): Likewise.
19140 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19141 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19142
7872cfb0
AS
191432011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19144
b468825a
AS
19145 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19146
7872cfb0
AS
19147 * configure.in: Also look in $cxxmachine/include for C++ system
19148 headers.
19149
be13f7bf
LD
191502011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19151
19152 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19153 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19154 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19155 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19156 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19157 (USE_AS_WMEMCMP): New macro.
19158 Fixing indents.
19159 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19160 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19161 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19162 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19164 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19165 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19166 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19167 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19168 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19169 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19170 (USE_AS_WMEMCMP): New macro.
19171 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19172 * sysdeps/string/test-memcmp.c: Update.
19173 Fix simple_wmemcmp.
19174 Add new tests.
19175 * wcsmbs/wmemcmp.c: Update.
19176 (WMEMCMP): New macro.
19177 Fix overflow bug.
19178
556a2007
AJ
191792011-10-12 Andreas Jaeger <aj@suse.de>
19180
19181 [BZ #13268]
19182 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19183
538faaa7
UD
191842011-10-15 Ulrich Drepper <drepper@gmail.com>
19185
ab6737ff
UD
19186 * libio/iofwide.c (do_length): Avoid warning.
19187
538faaa7
UD
19188 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19189
396a21b1
UD
191902011-10-14 Ulrich Drepper <drepper@gmail.com>
19191
cdf2901f
UD
19192 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19193
38ad40ce
UD
19194 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19195 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19196 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19197 * sysdeps/i386/i686/fpu/e_log.S: New file.
19198 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19199 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19200
396a21b1
UD
19201 * ctype/ctype.h: Add support for inlined isXXX functions when
19202 compiling C++ code.
19203
6b1f68c9
AS
192042011-10-14 Andreas Schwab <schwab@redhat.com>
19205
349290c0
AS
19206 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19207
6b1f68c9
AS
19208 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19209
f2282d42
RM
192102011-10-13 Roland McGrath <roland@hack.frob.com>
19211
19212 [BZ #13291]
19213 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19214
5298ffa8
AS
192152011-10-13 Andreas Schwab <schwab@redhat.com>
19216
714fad23
AS
19217 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19218 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19219 feraiseexcept.
19220
81dcc7fb
AS
19221 * sysdeps/x86_64/memrchr.S: Check for zero size.
19222
5298ffa8
AS
19223 * string/stratcliff.c: Add memrchr tests.
19224
951fbcec
LD
192252011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19226
19227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19228 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19229 rawmemchr-sse2 rawmemchr-sse2-bsf.
19230 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19231 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19232 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19233 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19234 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19235 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19236 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19237 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19238 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19239 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19240 * string/memrchr.c (MEMRCHR): New macro.
19241
0ac5ae23
UD
192422011-10-12 Ulrich Drepper <drepper@gmail.com>
19243
19244 Add integration with gcc's -ffinite-math-only and optimize wrapper
19245 functions in libm.
19246 * Versions.def: Define GLIBC_2.15 version for libm.
19247 * math/Makefile (headers): Add bits/math-finite.h.
19248 * math/bits/math-finite.h: New file.
19249 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19250 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19251 * math/e_acoshl.c: Add __*_finite alias.
19252 * math/e_acosl.c: Likewise.
19253 * math/e_asinl.c: Likewise.
19254 * math/e_atan2l.c: Likewise.
19255 * math/e_atanhl.c: Likewise.
19256 * math/e_coshl.c: Likewise.
19257 * math/e_exp10.c: Likewise.
19258 * math/e_exp10f.c: Likewise.
19259 * math/e_exp10l.c: Likewise.
19260 * math/e_exp2l.c: Likewise.
19261 * math/e_fmodl.c: Likewise.
19262 * math/e_gammal_r.c: Likewise.
19263 * math/e_hypotl.c: Likewise.
19264 * math/e_j0l.c: Likewise.
19265 * math/e_j1l.c: Likewise.
19266 * math/e_jnl.c: Likewise.
19267 * math/e_lgammal_r.c: Likewise.
19268 * math/e_log10l.c: Likewise.
19269 * math/e_log2l.c: Likewise.
19270 * math/e_logl.c: Likewise.
19271 * math/e_powl.c: Likewise.
19272 * math/e_sinhl.c: Likewise.
19273 * math/e_sqrtl.c: Likewise.
19274 * math/e_scalb.c: Completely rewritten and optimized.
19275 * math/e_scalbf.c: Likewise.
19276 * math/e_scalbl.c: Likewise.
19277 * math/w_acos.c: Likewise.
19278 * math/w_acosf.c: Likewise.
19279 * math/w_acosl.c: Likewise.
19280 * math/w_acosh.c: Likewise.
19281 * math/w_acoshf.c: Likewise.
19282 * math/w_acoshl.c: Likewise.
19283 * math/w_asin.c: Likewise.
19284 * math/w_asinf.c: Likewise.
19285 * math/w_asinl.c: Likewise.
19286 * math/w_atan2.c: Likewise.
19287 * math/w_atan2f.c: Likewise.
19288 * math/w_atan2l.c: Likewise.
19289 * math/w_atanh.c: Likewise.
19290 * math/w_atanhf.c: Likewise.
19291 * math/w_atanhl.c: Likewise.
19292 * math/w_exp10.c: Likewise.
19293 * math/w_exp10f.c: Likewise.
19294 * math/w_exp10l.c: Likewise.
19295 * math/w_fmod.c: Likewise.
19296 * math/w_fmodf.c: Likewise.
19297 * math/w_fmodl.c: Likewise.
19298 * math/w_j0.c: Likewise.
19299 * math/w_j0f.c: Likewise.
19300 * math/w_j0l.c: Likewise.
19301 * math/w_j1.c: Likewise.
19302 * math/w_j1f.c: Likewise.
19303 * math/w_j1l.c: Likewise.
19304 * math/w_jn.c: Likewise.
19305 * math/w_jnf.c: Likewise.
19306 * math/w_log.c: Likewise.
19307 * math/w_logf.c: Likewise.
19308 * math/w_logl.c: Likewise.
19309 * math/w_log10.c: Likewise.
19310 * math/w_log10f.c: Likewise.
19311 * math/w_log10l.c: Likewise.
19312 * math/w_log2.c: Likewise.
19313 * math/w_log2f.c: Likewise.
19314 * math/w_log2l.c: Likewise.
19315 * math/w_pow.c: Likewise.
19316 * math/w_powf.c: Likewise.
19317 * math/w_powl.c: Likewise.
19318 * math/w_remainder.c: Likewise.
19319 * math/w_remainderf.c: Likewise.
19320 * math/w_remainderl.c: Likewise.
19321 * math/w_scalb.c: Likewise.
19322 * math/w_scalbf.c: Likewise.
19323 * math/w_scalbl.c: Likewise.
19324 * math/w_sqrt.c: Likewise.
19325 * math/w_sqrtf.c: Likewise.
19326 * math/w_sqrtl.c: Likewise.
19327 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19328 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19329 used.
19330 * math/math_private.h: Declare __kernel_standard_f.
19331 * math/w_cosh.c: Remove cruft and optimize a bit.
19332 * math/w_coshf.c: Likewise.
19333 * math/w_coshl.c: Likewise.
19334 * math/w_exp2.c: Likewise.
19335 * math/w_exp2f.c: Likewise.
19336 * math/w_exp2l.c: Likewise.
19337 * math/w_hypot.c: Likewise.
19338 * math/w_hypotf.c: Likewise.
19339 * math/w_hypotl.c: Likewise.
19340 * math/w_lgamma.c: Likewise.
19341 * math/w_lgamma_r.c: Likewise.
19342 * math/w_lgammaf.c: Likewise.
19343 * math/w_lgammaf_r.c: Likewise.
19344 * math/w_lgammal.c: Likewise.
19345 * math/w_lgammal_r.c: Likewise.
19346 * math/w_sinh.c: Likewise.
19347 * math/w_sinhf.c: Likewise.
19348 * math/w_sinhl.c: Likewise.
19349 * math/w_tgamma.c: Likewise.
19350 * math/w_tgammaf.c: Likewise.
19351 * math/w_tgammal.c: Likewise.
19352 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19353 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19354 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19355 Minor optimizations. Pretty printing. Remove cruft.
19356 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19357 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19358 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19359 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19360 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19361 * sysdeps/i386/fpu/e_asin.S: Likewise.
19362 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19363 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19364 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19365 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19366 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19367 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19368 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19369 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19370 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19371 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19372 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19373 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19374 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19375 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19376 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19377 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19378 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19379 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19380 * sysdeps/i386/fpu/e_log.S: Likewise.
19381 * sysdeps/i386/fpu/e_log10.S: Likewise.
19382 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19383 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19384 * sysdeps/i386/fpu/e_log2.S: Likewise.
19385 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19386 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19387 * sysdeps/i386/fpu/e_logf.S: Likewise.
19388 * sysdeps/i386/fpu/e_logl.S: Likewise.
19389 * sysdeps/i386/fpu/e_pow.S: Likewise.
19390 * sysdeps/i386/fpu/e_powf.S: Likewise.
19391 * sysdeps/i386/fpu/e_powl.S: Likewise.
19392 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19393 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19394 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19395 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19396 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19397 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19398 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19399 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19400 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19422 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19423 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19424 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19425 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19426 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19427 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19428 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19429 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19430 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19431 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19432 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19433 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19434 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19435 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19436 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19437 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19438 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19439 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19440 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19441 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19442 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19443 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19444 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19445 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19446 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19447 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19448 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19449 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19450 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19451 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19452 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19453 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19454 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19455 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19456 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19457 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19458 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19459 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19460 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19466 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19469 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19470 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19471 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19474 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19475 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19476 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19477 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19480 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19481 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19482 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19483 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19484 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19485 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19486 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19487 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19488 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19489 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19490 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19491 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19492 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19493 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19494 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19495 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19496 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19497 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19498 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19499 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19500 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19501 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19502 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19503 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19504 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19505 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19506 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19507 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19508 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19509 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19510 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19511 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19512 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19513 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19514 (__isnanf): Likewise.
19515 (__isinf_ns): Likewise.
19516 (__isinf_nsf): Likewise.
19517 (__finite): Likewise.
19518 (__finitef): Likewise.
19519 (__ieee754_sqrt): Define as macro.
19520 (__ieee754_sqrtf): Define as macro.
19521 (__ieee754_sqrtl): Define as macro.
19522 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19523 inlined copy.
19524 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19525 __FINITE_MATH_ONLY__ consistent.
19526 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19527
12cc2fcd
AS
195282011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19529
a843a204
AS
19530 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19531 of rawmemchr.
19532
12cc2fcd
AS
19533 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19534
c853acd5
UD
195352011-10-09 Ulrich Drepper <drepper@gmail.com>
19536
19537 * po/ja.po: Update from translation team.
19538
c658d255
RM
195392011-10-08 Roland McGrath <roland@hack.frob.com>
19540
110946e4
RM
19541 * locale/programs/locarchive.c (prepare_address_space): New function.
19542 (create_archive, enlarge_archive, open_archive): Use it.
19543
50604220
RM
19544 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19545 inside [SHARED], where it is used.
19546
c658d255
RM
19547 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19548
19549 * nss/getent.c (netgroup_keys): Remove unused variable.
19550 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19551
6a621eb7
UD
195522011-10-08 Ulrich Drepper <drepper@gmail.com>
19553
7edb55ce
UD
19554 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19555 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19556 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19557 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19558 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19559 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19560 * math/Makefile (libm-calls): Add s_isinf_ns.
19561 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19562 * math/multc3.c: Likewise.
19563 * math/s_casin.c: Likewise.
19564 * math/s_casinf.c: Likewise.
19565 * math/s_casinl.c: Likewise.
19566 * math/s_ccos.c: Likewise.
19567 * math/s_ccosf.c: Likewise.
19568 * math/s_ccosl.c: Likewise.
19569 * math/s_ctan.c: Likewise.
19570 * math/s_ctanf.c: Likewise.
19571 * math/s_ctanh.c: Likewise.
19572 * math/s_ctanhf.c: Likewise.
19573 * math/s_ctanhl.c: Likewise.
19574 * math/s_ctanl.c: Likewise.
19575 * math/w_fmod.c: Likewise.
19576 * math/w_fmodf.c: Likewise.
19577 * math/w_fmodl.c: Likewise.
19578 * math/w_remainder.c: Likewise.
19579 * math/w_remainderf.c: Likewise.
19580 * math/w_remainderl.c: Likewise.
19581 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19582 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19583 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19584 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19585 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19586 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19587 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19588 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19589
187da0ae
UD
19590 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19591 of the number.
19592 * stdio-common/printf_fphex.c: Likewise.
19593 * stdio-common/printf_size.c: Likewise.
19594
9277c064
UD
19595 * math/e_exp10.c: Include math_private.h using <...> not "...".
19596 * math/e_exp10f.c: Likewise.
19597 * math/e_exp10l.c: Likewise.
19598 * math/e_exp2l.c: Likewise.
19599 * math/e_j0l.c: Likewise.
19600 * math/e_j1l.c: Likewise.
19601 * math/e_jnl.c: Likewise.
19602 * math/e_lgammal_r.c: Likewise.
19603 * math/e_rem_pio2l.c: Likewise.
19604 * math/e_scalb.c: Likewise.
19605 * math/e_scalbf.c: Likewise.
19606 * math/e_scalbl.c: Likewise.
19607 * math/k_cosl.c: Likewise.
19608 * math/k_sinl.c: Likewise.
19609 * math/k_tanl.c: Likewise.
19610 * math/s_cacoshf.c: Likewise.
19611 * math/s_catan.c: Likewise.
19612 * math/s_catanf.c: Likewise.
19613 * math/s_catanh.c: Likewise.
19614 * math/s_catanhf.c: Likewise.
19615 * math/s_catanhl.c: Likewise.
19616 * math/s_catanl.c: Likewise.
19617 * math/s_ccosh.c: Likewise.
19618 * math/s_ccoshf.c: Likewise.
19619 * math/s_ccoshl.c: Likewise.
19620 * math/s_cexp.c: Likewise.
19621 * math/s_cexpf.c: Likewise.
19622 * math/s_cexpl.c: Likewise.
19623 * math/s_clog.c: Likewise.
19624 * math/s_clog10.c: Likewise.
19625 * math/s_clog10f.c: Likewise.
19626 * math/s_clog10l.c: Likewise.
19627 * math/s_clogf.c: Likewise.
19628 * math/s_clogl.c: Likewise.
19629 * math/s_csin.c: Likewise.
19630 * math/s_csinf.c: Likewise.
19631 * math/s_csinh.c: Likewise.
19632 * math/s_csinhf.c: Likewise.
19633 * math/s_csinhl.c: Likewise.
19634 * math/s_csinl.c: Likewise.
19635 * math/s_csqrt.c: Likewise.
19636 * math/s_csqrtf.c: Likewise.
19637 * math/s_csqrtl.c: Likewise.
19638 * math/s_ctan.c: Likewise.
19639 * math/s_ctanf.c: Likewise.
19640 * math/s_ctanh.c: Likewise.
19641 * math/s_ctanhf.c: Likewise.
19642 * math/s_ctanhl.c: Likewise.
19643 * math/s_ctanl.c: Likewise.
19644 * math/s_ldexp.c: Likewise.
19645 * math/s_ldexpf.c: Likewise.
19646 * math/s_ldexpl.c: Likewise.
19647 * math/s_significand.c: Likewise.
19648 * math/s_significandf.c: Likewise.
19649 * math/s_significandl.c: Likewise.
19650 * math/w_acos.c: Likewise.
19651 * math/w_acosf.c: Likewise.
19652 * math/w_acosh.c: Likewise.
19653 * math/w_acoshf.c: Likewise.
19654 * math/w_acoshl.c: Likewise.
19655 * math/w_acosl.c: Likewise.
19656 * math/w_asin.c: Likewise.
19657 * math/w_asinf.c: Likewise.
19658 * math/w_asinl.c: Likewise.
19659 * math/w_atan2.c: Likewise.
19660 * math/w_atan2f.c: Likewise.
19661 * math/w_atan2l.c: Likewise.
19662 * math/w_atanh.c: Likewise.
19663 * math/w_atanhf.c: Likewise.
19664 * math/w_atanhl.c: Likewise.
19665 * math/w_cosh.c: Likewise.
19666 * math/w_coshf.c: Likewise.
19667 * math/w_coshl.c: Likewise.
19668 * math/w_dremf.c: Likewise.
19669 * math/w_exp10.c: Likewise.
19670 * math/w_exp10f.c: Likewise.
19671 * math/w_exp10l.c: Likewise.
19672 * math/w_exp2.c: Likewise.
19673 * math/w_exp2f.c: Likewise.
19674 * math/w_fmod.c: Likewise.
19675 * math/w_fmodf.c: Likewise.
19676 * math/w_fmodl.c: Likewise.
19677 * math/w_hypot.c: Likewise.
19678 * math/w_hypotf.c: Likewise.
19679 * math/w_hypotl.c: Likewise.
19680 * math/w_j0.c: Likewise.
19681 * math/w_j0f.c: Likewise.
19682 * math/w_j0l.c: Likewise.
19683 * math/w_j1.c: Likewise.
19684 * math/w_j1f.c: Likewise.
19685 * math/w_j1l.c: Likewise.
19686 * math/w_jn.c: Likewise.
19687 * math/w_jnf.c: Likewise.
19688 * math/w_jnl.c: Likewise.
19689 * math/w_lgamma.c: Likewise.
19690 * math/w_lgamma_r.c: Likewise.
19691 * math/w_lgammaf.c: Likewise.
19692 * math/w_lgammaf_r.c: Likewise.
19693 * math/w_lgammal.c: Likewise.
19694 * math/w_lgammal_r.c: Likewise.
19695 * math/w_log.c: Likewise.
19696 * math/w_log10.c: Likewise.
19697 * math/w_log10f.c: Likewise.
19698 * math/w_log10l.c: Likewise.
19699 * math/w_log2.c: Likewise.
19700 * math/w_log2f.c: Likewise.
19701 * math/w_log2l.c: Likewise.
19702 * math/w_logf.c: Likewise.
19703 * math/w_logl.c: Likewise.
19704 * math/w_pow.c: Likewise.
19705 * math/w_powf.c: Likewise.
19706 * math/w_powl.c: Likewise.
19707 * math/w_remainder.c: Likewise.
19708 * math/w_remainderf.c: Likewise.
19709 * math/w_remainderl.c: Likewise.
19710 * math/w_scalb.c: Likewise.
19711 * math/w_scalbf.c: Likewise.
19712 * math/w_scalbl.c: Likewise.
19713 * math/w_sinh.c: Likewise.
19714 * math/w_sinhf.c: Likewise.
19715 * math/w_sinhl.c: Likewise.
19716 * math/w_sqrt.c: Likewise.
19717 * math/w_sqrtf.c: Likewise.
19718 * math/w_sqrtl.c: Likewise.
19719 * math/w_tgamma.c: Likewise.
19720 * math/w_tgammaf.c: Likewise.
19721 * math/w_tgammal.c: Likewise.
19722
6a621eb7
UD
19723 * po/ja.po: Update from translation team.
19724
bf582445
AJ
197252011-09-29 Andreas Jaeger <aj@suse.de>
19726
f9efbf3a
AJ
19727 [BZ #13179]
19728 * sunrpc/netname.c (netname2host): Fix logic.
19729
bf582445
AJ
19730 [BZ #6779]
19731 [BZ #6783]
19732 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19733 correctly.
19734 * math/w_remainder.c (__remainder): Likewise.
19735 * math/w_remainderf.c (__remainderf): Likewise.
19736 * math/libm-test.inc (remainder_test): Add test cases.
19737
48693bea
AK
197382011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19739
19740 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19741 sdiv_qrnnd.
19742
42622229
LD
197432011-10-07 Ulrich Drepper <drepper@gmail.com>
19744
19745 * string/test-memcmp.c: Avoid unncessary #defines.
19746 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19747
093ecf92
LD
197482011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19749
19750 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19751 Use new sse2 version for core i3 - i7 as it's faster
19752 than sse42 version.
19753 (bit_Prefer_PMINUB_for_stringop): New.
19754 * sysdeps/x86_64/rawmemchr.S: Update.
19755 Replace with faster SSE2 version.
19756 * sysdeps/x86_64/memrchr.S: New file.
19757 * sysdeps/x86_64/memchr.S: Update.
19758 Replace with faster SSE2 version.
19759
fde56e5c
MP
197602011-09-12 Marek Polacek <mpolacek@redhat.com>
19761
19762 * elf/dl-load.c (lose): Add cast to avoid warning.
19763
21fd49a9
UD
197642011-10-07 Ulrich Drepper <drepper@gmail.com>
19765
5a06e643
UD
19766 * po/ca.po: Update from translation team.
19767
684ae515
UD
19768 * inet/getnetgrent_r.c: Hook up nscd.
19769 * nscd/Makefile (routines): Add nscd_netgroup.
19770 (nscd-modules): Add netgroupcache.
19771 (CFLAGS-netgroupcache.c): Define.
19772 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19773 (cache_search): Add const to second parameter.
19774 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19775 INNETGR.
19776 (dbs): Add netgrdb entry.
19777 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19778 (verify_persistent_db): Handle netgrdb.
19779 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19780 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19781 GETFDNETGR.
19782 (netgroup_response_header): Define.
19783 (innetgroup_response_header): Define.
19784 (datahead): Add netgroup_response_header and innetgroup_response_header
19785 elements.
19786 * nscd/nscd.conf: Add entries for netgroup cache.
19787 * nscd/nscd.h (dbtype): Add netgrdb.
19788 (_PATH_NSCD_NETGROUP_DB): Define.
19789 (netgroup_iov_disabled): Declare.
19790 (xmalloc, xcalloc, xrealloc): Move declarations here.
19791 (cache_search): Adjust prototype.
19792 Add netgroup-related prototypes.
19793 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19794 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19795 (__nscd_innetgr): Declare.
19796 * nscd/selinux.c (perms): Use access_vector_t as element type and
19797 add netgroup-related initializers.
19798 * nscd/netgroupcache.c: New file.
19799 * nscd/nscd_netgroup.c: New file.
19800 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19801 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19802 For four parameters use innetgr.
19803 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19804 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19805 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19806 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19807
21fd49a9
UD
19808 * nscd/connections.c (register_traced_file): Don't register file
19809 for disabled databases.
19810
054c0457
UD
198112011-10-06 Ulrich Drepper <drepper@gmail.com>
19812
32b63198
UD
19813 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19814
054c0457
UD
19815 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19816 from tree and freeing node.
19817
64031225
JO
198182011-09-25 Jiri Olsa <jolsa@redhat.com>
19819
19820 * nss/nsswitch.c (__nss_database_lookup): Handle
19821 nss_parse_service_list out of memory case.
19822
0490345c
JO
198232011-09-15 Jiri Olsa <jolsa@redhat.com>
19824
19825 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19826 out of memory case.
19827
3a62d00d
AS
198282011-10-04 Andreas Schwab <schwab@redhat.com>
19829
19830 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19831 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19832 pass it down.
19833 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19834 elf_machine_rela, elf_machine_lazy_rel.
19835 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19836 (ELF_DYNAMIC_DO_REL): Likewise.
19837 (ELF_DYNAMIC_DO_RELA): Likewise.
19838 (ELF_DYNAMIC_RELOCATE): Likewise.
19839 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19840 to ELF_DYNAMIC_DO_REL.
19841 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19842 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19843 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19844 elf_machine_rela.
19845 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19846 skip_ifunc, don't call ifunc function if non-zero.
19847 (elf_machine_rela): Likewise.
19848 (elf_machine_lazy_rel): Likewise.
19849 (elf_machine_lazy_rela): Likewise.
19850 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19851 (elf_machine_lazy_rel): Likewise.
19852 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19853 Likewise.
19854 (elf_machine_lazy_rel): Likewise.
19855 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19856 Likewise.
19857 (elf_machine_lazy_rel): Likewise.
19858 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19859 (elf_machine_lazy_rel): Likewise.
19860 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19861 (elf_machine_lazy_rel): Likewise.
19862 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19863 (elf_machine_lazy_rel): Likewise.
19864 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19865 (elf_machine_lazy_rel): Likewise.
19866 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19867 (elf_machine_lazy_rel): Likewise.
19868 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19869 (elf_machine_lazy_rel): Likewise.
19870
68577918
UD
198712011-09-28 Ulrich Drepper <drepper@gmail.com>
19872
19873 * nss/nss_files/files-init.c (_nss_files_init): Use static
19874 initialization for all the *_traced_file variables.
19875
68822d74
AS
198762011-09-28 Andreas Schwab <schwab@redhat.com>
19877
19878 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19879
2056100b
RM
198802011-09-27 Roland McGrath <roland@hack.frob.com>
19881
19882 [BZ #13226]
19883 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19884
32c76b63
AS
198852011-09-27 Andreas Schwab <schwab@redhat.com>
19886
19887 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19888 Reread the line before reparsing it.
19889
bf972c9d
AS
198902011-09-26 Andreas Schwab <schwab@redhat.com>
19891
19892 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19893
e057a1b5
JM
198942011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19895 Maxim Kuvyrkov <maxim@codesourcery.com>
19896 Joseph Myers <joseph@codesourcery.com>
19897
19898 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19899 if needed for __stack_chk_guard.
19900
bc7e1c36
RM
199012011-09-19 Roland McGrath <roland@hack.frob.com>
19902
ecb1482f
RM
19903 * sysdeps/posix/spawni.c (script_execute): Always define it.
19904 It will be optimized away if unused.
19905 (maybe_script_execute): New function.
19906 (__spawni): Call it.
19907
bc7e1c36
RM
19908 * Makerules: Don't include tls.make.
19909 (config-tls): Always set to thread.
19910 * tls.make.c: File removed.
19911
1c3b002b
MF
199122011-09-19 Mike Frysinger <vapier@gentoo.org>
19913
19914 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19915 * config.make.in (CPPFLAGS-config): New substituted variable.
19916
2840865d
UD
199172011-09-15 Ulrich Drepper <drepper@gmail.com>
19918
88738eb6
UD
19919 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19920
cbf645a6 19921 [BZ #13192]
2840865d
UD
19922 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19923 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19924
b402e91a
RM
199252011-09-15 Roland McGrath <roland@hack.frob.com>
19926
19927 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19928 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19929 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19930 (CALL_FAIL): Likewise.
19931 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19932 (CALL_FAIL): Macro removed.
19933 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19934
4c1a1f71
UD
199352011-09-15 Ulrich Drepper <drepper@gmail.com>
19936
19937 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19938 for __FINITE_MATH_ONLY__ == 1.
19939
edc121be
AS
199402011-09-15 Andreas Schwab <schwab@redhat.com>
19941
19942 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19943 __ieee754_sqrt instead of sqrt.
19944 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19945 __ieee754_sqrtf instead of sqrtf.
19946 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19947 __floorf instead of floorf.
19948 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19949 __floorf, __truncf instead of floorf, truncf.
19950
cd205654
UD
199512011-09-14 Ulrich Drepper <drepper@gmail.com>
19952
ee4d0315
UD
19953 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19954
cd205654
UD
19955 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19956 __extern_always_inline.
19957 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19958 32-bit.
19959
48b67d71
AS
199602011-09-14 Andreas Schwab <schwab@redhat.com>
19961
19962 * elf/rtld.c (dl_main): Also relocate in dependency order when
19963 doing symbol dependency testing.
19964
1ae12c75
AS
199652011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19966
19967 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19968 Always define `refsym'.
19969
995a80df
AS
199702011-09-13 Andreas Schwab <schwab@redhat.com>
19971
e529793b
AS
19972 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19973 (__FD_ELT): Renamed from __FDELT.
19974 * misc/bits/select2.h (__FD_ELT): Likewise.
19975 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19976 __FD_MASK instead of __FDELT, __FDMASK.
19977 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19978 Likewise.
19979 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19980 Likewise.
19981
52d4fef8
AS
19982 * elf/Makefile (gen-ldd): Fix pattern.
19983
995a80df
AS
19984 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19985 (init_tls): Likewise.
19986
8682f8b0
UD
199872011-09-12 Ulrich Drepper <drepper@gmail.com>
19988
19989 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19990
de82006d
AS
199912011-09-12 Andreas Schwab <schwab@redhat.com>
19992
a7c8e6a1
AS
19993 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19994 `struct cmsghdr *' instead of `void *'.
19995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19996 Likewise.
19997
0f31fe77
AS
199982011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19999
20000 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20001 if non-absolute.
20002 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20003 ldd_rewrite_script.
0f31fe77 20004
32b4c839
UD
200052011-09-11 Ulrich Drepper <drepper@gmail.com>
20006
83cd1420
UD
20007 * configure.in: Remove --with-tls option.
20008 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20009 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20010 out in case it is missing.
20011 * sysdeps/ia64/elf/configure.in: Likewise.
20012 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20013 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20014 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20015 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20016 * sysdeps/sh/elf/configure.in: Likewise.
20017 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20018 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20019 * sysdeps/x86_64/elf/configure.in: Likewise.
20020 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20021 * sysdeps/mach/hurd/tls.h: Likewise.
20022
633f745d
UD
20023 [BZ #13067]
20024 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20025
f318beb8
UD
20026 [BZ #13090]
20027 * configure.in: Fix use of AC_INIT.
20028
32b4c839
UD
20029 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20030
3ce1f295
UD
200312011-09-10 Ulrich Drepper <drepper@gmail.com>
20032
bb016596
UD
20033 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20034 __set_errno.
8e58439c
UD
20035 * malloc/hooks.c: Likewise.
20036
aebae053 20037 [BZ #11929]
02d46fc4
UD
20038 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20039 variables statically.
20040 (narenas): Initialize.
20041 (list_lock): Initialize.
bb016596
UD
20042 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20043 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20044 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20045 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20046 Add initializers to main_arena and mp_.
20047 (malloc_state): Remove pagesize member. Change all users to use
20048 GLRO(dl_pagesize).
20049
20050 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20051 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20052 is always initialized.
20053
22a89187
UD
20054 * malloc/malloc.c: Removed unused configurations and dead code.
20055 * malloc/arena.c: Likewise.
20056 * malloc/hooks.c: Likewise.
02d46fc4 20057 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20058
d063d164
UD
20059 * include/tls.h: Removed. USE___THREAD must always be defined.
20060 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20061 * elf/dl-libc.c: Likewise.
20062 * elf/dl-tsd.c: Likewise.
20063 * include/errno.h: Likewise.
20064 * include/netdb.h: Likewise.
20065 * include/resolv.h: Likewise.
20066 * inet/herrno-loc.c: Likewise.
20067 * inet/herrno.c: Likewise.
20068 * malloc/arena.c: Likewise.
20069 * malloc/hooks.c: Likewise.
20070 * malloc/malloc.c: Likewise.
20071 * resolv/res-state.c: Likewise.
20072 * resolv/res_libc.c: Likewise.
20073 * sysdeps/i386/dl-machine.h: Likewise.
20074 * sysdeps/ia64/dl-machine.h: Likewise.
20075 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20076 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20077 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20078 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20079 * sysdeps/sh/dl-machine.h: Likewise.
20080 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20081 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20082 * sysdeps/unix/i386/sysdep.S: Likewise.
20083 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20084 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20085 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20086 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20088 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20089 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20090 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20093 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20094 * sysdeps/x86_64/dl-machine.h: Likewise.
20095 * tls.make.c: Likewise.
20096
3ce1f295
UD
20097 * configure.in: Remove --with-__thread option. Make tests for
20098 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20099 tls_model attribute fail if no support is available. Remove
20100 USE_IN_LIBIO.
20101 * Makeconfig: Adjust for dropped configure option. All features are
20102 now mandatory.
20103 * Makerules: Likewise.
20104 * Versions.def: Likewise.
20105 * argp/argp-fmtstream.c: Likewise.
20106 * argp/argp-fmtstream.h: Likewise.
20107 * argp/argp-help.c: Likewise.
20108 * assert/assert.c: Likewise.
20109 * config.h.in: Likewise.
20110 * config.make.in: Likewise.
20111 * configure: Likewise.
20112 * configure.in: Likewise.
20113 * csu/Versions: Likewise.
20114 * csu/init.c: Likewise.
20115 * elf/tst-audit2.c: Likewise.
20116 * elf/tst-tls10.c: Likewise.
20117 * elf/tst-tls10.h: Likewise.
20118 * elf/tst-tls11.c: Likewise.
20119 * elf/tst-tls12.c: Likewise.
20120 * elf/tst-tls14.c: Likewise.
20121 * elf/tst-tlsmod11.c: Likewise.
20122 * elf/tst-tlsmod12.c: Likewise.
20123 * elf/tst-tlsmod13.c: Likewise.
20124 * elf/tst-tlsmod13a.c: Likewise.
20125 * elf/tst-tlsmod14a.c: Likewise.
20126 * elf/tst-tlsmod15b.c: Likewise.
20127 * elf/tst-tlsmod16a.c: Likewise.
20128 * elf/tst-tlsmod16b.c: Likewise.
20129 * elf/tst-tlsmod7.c: Likewise.
20130 * elf/tst-tlsmod8.c: Likewise.
20131 * elf/tst-tlsmod9.c: Likewise.
20132 * gmon/gmon.c: Likewise.
20133 * grp/fgetgrent_r.c: Likewise.
20134 * grp/putgrent.c: Likewise.
20135 * hurd/fopenport.c: Likewise.
20136 * include/libc-symbols.h: Likewise.
20137 * include/tls.h: Likewise.
20138 * intl/gettextP.h: Likewise.
20139 * intl/loadinfo.h: Likewise.
20140 * locale/global-locale.c: Likewise.
20141 * locale/localeinfo.h: Likewise.
20142 * mach/devstream.c: Likewise.
20143 * malloc/arena.c: Likewise.
20144 * malloc/set-freeres.c: Likewise.
20145 * misc/err.c: Likewise.
20146 * misc/getttyent.c: Likewise.
20147 * misc/mntent_r.c: Likewise.
20148 * posix/getopt.c: Likewise.
20149 * posix/wordexp.c: Likewise.
20150 * pwd/fgetpwent_r.c: Likewise.
20151 * resolv/Versions: Likewise.
20152 * resolv/res_hconf.c: Likewise.
20153 * shadow/fgetspent_r.c: Likewise.
20154 * shadow/putspent.c: Likewise.
20155 * stdio-common/printf_fphex.c: Likewise.
20156 * stdio-common/tmpfile.c: Likewise.
20157 * stdlib/abort.c: Likewise.
20158 * stdlib/fmtmsg.c: Likewise.
20159 * sunrpc/auth_unix.c: Likewise.
20160 * sunrpc/clnt_perr.c: Likewise.
20161 * sunrpc/clnt_tcp.c: Likewise.
20162 * sunrpc/clnt_udp.c: Likewise.
20163 * sunrpc/clnt_unix.c: Likewise.
20164 * sunrpc/openchild.c: Likewise.
20165 * sunrpc/svc_simple.c: Likewise.
20166 * sunrpc/svc_tcp.c: Likewise.
20167 * sunrpc/svc_udp.c: Likewise.
20168 * sunrpc/svc_unix.c: Likewise.
20169 * sunrpc/xdr.c: Likewise.
20170 * sunrpc/xdr_array.c: Likewise.
20171 * sunrpc/xdr_rec.c: Likewise.
20172 * sunrpc/xdr_ref.c: Likewise.
20173 * sunrpc/xdr_stdio.c: Likewise.
20174
1248c1c4
PB
201752011-09-09 Ulrich Drepper <drepper@gmail.com>
20176
20177 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20178
201792011-07-03 Andreas Jaeger <aj@suse.de>
20180
20181 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20182 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20183 regenerate with gen-libm-tests.pl.
20184
201852010-05-12 Petr Baudis <pasky@suse.cz>
20186
20187 [BZ #11589]
20188 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20189 around j0() zero points by switching to j1().
20190 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20194
f22e1074
UD
201952011-09-09 Ulrich Drepper <drepper@gmail.com>
20196
f19009c1
UD
20197 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20198 instead of 0.
20199 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20200 instead of 0.
f19009c1
UD
20201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20202 Patch in part by Pavel Roskin <proski@gnu.org>.
20203
3f8cc204
UD
20204 [BZ #13138]
20205 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20206 realloc.
20207 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20208 Free memory block if necessary.
20209
f22e1074
UD
20210 [BZ #12847]
20211 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20212 be NULL. Don't lock in this case.
20213
0a2349f9
RM
202142011-09-09 Roland McGrath <roland@hack.frob.com>
20215
20216 * elf/elf.h (ELFOSABI_GNU): New macro.
20217 (ELFOSABI_LINUX): Define to that.
20218
f3cdd467
DZ
202192011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20220
20221 * string/strncat.c (strncat): Undef the symbol in case it has been
20222 defined in bits/string.h.
20223
74718d13
UD
202242011-09-09 Ulrich Drepper <drepper@gmail.com>
20225
633e9e0f
UD
20226 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20227
0a2349f9 20228 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20229 link map.
20230
f9924780
AJ
202312011-08-17 Andreas Jaeger <aj@suse.de>
20232
20233 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20234
7f5517aa
PP
202352011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20236 Ian Lance Taylor <iant@google.com>
20237
20238 * math/libm-test.inc (lround_test): New testcase.
20239 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20240
762011fe
UD
202412011-09-08 Ulrich Drepper <drepper@gmail.com>
20242
92963737
UD
20243 * Makefile: Remove support for automatic cvs check-ins.
20244 * Makerules: Likewise.
20245 * config.make.in: Likewise.
20246 * configure.in: Likewise.
20247 * intl/Makefile: Likewise.
20248 * locale/Makefile: Likewise.
20249 * po/Makefile: Likewise.
20250 * posix/Makefile: Likewise.
20251 * sysdeps/gnu/Makefile: Likewise.
20252 * sysdeps/mach/hurd/Makefile: Likewise.
20253 * sysdeps/sparc/sparc32/Makefile: Likewise.
20254
b0727fd8
JS
20255 [BZ #13118]
20256 * posix/Makefile (bug-regex32-ENV): Define.
20257 Patch by John Stanley <jpsinthemix@verizon.net>.
20258
a0f33f99
UD
20259 * misc/Makefile (headers): Add bits/select2.h.
20260 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20261 * misc/bits/select2.h: New file.
20262 * include/bits/select2.h: New file.
20263 * debug/Makefile (routines): Add fdelt_chk.
20264 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20265 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20266 FD_ISSET.
20267 * debug/fdelt_chk.c: New file.
20268
762011fe
UD
20269 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20270 * wcsmbs/test-wmemcmp.c: Likewise.
20271 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20272 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20273
202742011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20275
20276 * string/Makefile (strop-tests): Add memcmp.
20277 * string/test-wmemcmp.c: New file.
20278 * string/test-memcmp.c: Add wmemcmp support.
20279
7f513ec8
RM
202802011-09-08 Roland McGrath <roland@hack.frob.com>
20281
0442afb4
RM
20282 [BZ #13153]
20283 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20284 2011-07-19 change.
20285
7f513ec8
RM
20286 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20287 garbage value in a __mach_port_mod_refs call in the cases of the
20288 task-self and thread-self ports.
20289
a12b2239
ST
202902011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20291
20292 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20293
610f9ab4
AS
202942011-09-08 Andreas Schwab <schwab@redhat.com>
20295
7f513ec8 20296 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20297
48882a1a
LD
202982011-09-07 Ulrich Drepper <drepper@gmail.com>
20299
b49865be
UD
20300 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20301
fdc86bc9
UD
20302 * elf/dl-libc.c (dlerror_run): Pass back error code from
20303 dl_catch_error.
20304
c966526a
UD
20305 [BZ #13123]
20306 * elf/dl-load.c (lose): Free l_origin if it is valid.
20307
48882a1a
LD
20308 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20309 names.
20310 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20311 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20312 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20314 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20315 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20316
77a2a8b4
AZ
203172011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20318
20319 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20320 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20321 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20322 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20323 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20324 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20325 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20326 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20327 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20328 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20329
24f579d8
AM
203302011-08-15 Alan Modra <amodra@gmail.com>
20331
20332 [BZ #13092]
20333 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20334 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20335 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20336 ppc_mcount to static-only-routines.
20337 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20338 __mcount_internal.
20339 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20340 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20341
3d4837df
UD
203422011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20343
20344 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20345 for finite and infinity parameters.
20346
22700377
WS
203472011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20348
20349 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20350 and add nop instructions for throughput optimization.
20351 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20352
5025581e
WS
203532011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20354
20355 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20356 aligned copy for power7 with vector-scalar instructions.
20357 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20358
08a300c9
L
203592011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20360
20361 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20362 AVX check.
20363
59178ef9
AS
203642011-09-07 Andreas Schwab <schwab@redhat.com>
20365
20366 [BZ #13144]
20367 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20368 last change.
20369
e38ba7ab
UD
203702011-09-07 Ulrich Drepper <drepper@gmail.com>
20371
20372 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20373 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20374 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20375 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20376 clock_gettime.
20377
d53a73ac
UD
203782011-09-06 Ulrich Drepper <drepper@gmail.com>
20379
fc8bffcc
UD
20380 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20381 Forgot to demangle the pointer.
20382
ceaa0c5d
UD
20383 * sysdeps/i386/sysdep.h: Define atom_text_section.
20384 * sysdeps/x86_64/sysdep.h: Likewise.
20385 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20386 section with atom_text_section.
20387 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20388 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20389 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20390 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20391 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20392
a77d3c17
UD
20393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20394 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20395 already be defined. Change to take two parameters and don't assign
20396 result to variable. Adjust all users.
20397 Define INTERNAL_GETTIME if not already defined.
20398 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20399 call.
20400 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20401 HAVE_CLOCK_GETTIME_VSYSCALL.
20402 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20403
d53a73ac
UD
20404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20405 gettimeofday vsyscall, just use time.
20406
a8f84144
AS
204072011-09-06 Andreas Schwab <schwab@redhat.com>
20408
20409 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20410 <errno.h>.
20411
ef606249
UD
204122011-09-06 Ulrich Drepper <drepper@gmail.com>
20413
20414 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20415 syscall on x86-64.
20416 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20417 syscall.
20418 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20419 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20420 syscall if possible.
20421
6585cb60
UD
204222011-09-05 Ulrich Drepper <drepper@gmail.com>
20423
20424 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20425 e_ident. Don't pass to find_mapsXX.
20426 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20427
a5f524e4
LD
204282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20429
20430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20431 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20432 * sysdeps/x86_64/multiarch/strchr.S: Update.
20433 Check bit_slow_BSF bit.
20434 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20435 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20436 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20437
554881ef
UD
204382011-09-05 Ulrich Drepper <drepper@gmail.com>
20439
d96de963
UD
20440 [BZ #13134]
20441 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20442 before glibc 2.15.
20443 (tryshell): Define.
20444 (__spawni): Change last parameter to be flag. Test
20445 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20446 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20447 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20448 * posix/spawni.c: Likewise.
20449 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20450 * posix/spawnp.c: Likewise. Change normal version to use
20451 SPAWN_XFLAGS_USE_PATH.
20452 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20453 SPAWN_XFLAGS_TRY_SHELL.
20454
d48e5868
UD
20455 [BZ #13150]
20456 * posix/glob.h: Remove gcc 1.x support.
20457
554881ef
UD
20458 [BZ #13068]
20459 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20460
693fb948
LD
204612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20462
20463 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20464 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20465 strrchr-sse2-bsf
20466 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20467 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20468 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20469 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20470 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20471 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20472
1b48c537
UD
204732011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20474
49d42c37
UD
20475 * sysdeps/x86_64/wcscmp.S: New file.
20476
1b48c537
UD
20477 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20478 wcscmp-c wcscmp-sse2
20479 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20480 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20481 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20482 * wcsmbs/wcscmp.c: Allow renaming.
20483
15c95c5d
DM
204842011-09-05 David S. Miller <davem@davemloft.net>
20485
20486 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20487 stack slot, rather than the struct return pointer slot.
20488 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20489 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20491 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20492
2f0ad8f3
UD
204932011-09-05 Ulrich Drepper <drepper@gmail.com>
20494
d88ae418
UD
20495 * po/ja.po: Update from translation team.
20496
2f0ad8f3
UD
20497 [BZ #13144]
20498 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20499 kernel in 64-bit binaries.
20500
5f4318d1
DM
205012011-09-01 David S. Miller <davem@davemloft.net>
20502
20503 * elf/elf.h (HWCAP_SPARC_*): Move to..
20504 * sysdeps/sparc/sysdep.h: this new file and add new values.
20505 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20506 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20507 _DL_HWCAP_COUNT to 24.
20508 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20509 entries.
20510 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20511 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20512 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20513 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20514 instead of magic constants.
20515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20516
3ba57516
DM
205172011-08-31 David S. Miller <davem@davemloft.net>
20518
20519 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20520 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20521 Reimplement to do errno handling inline.
20522 (SYSCALL_ERROR_HANDLER): New macro.
20523 (__SYSCALL_STRING): Do not do errno handling in asm.
20524 (__CLONE_SYSCALL_STRING): Delete.
20525 (__INTERNAL_SYSCALL_STRING): Delete.
20526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20527 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20528 (PSEUDO): Reimplement to do errno handling inline.
20529 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20530 (SYSCALL_ERROR_HANDLER): New macro.
20531 (__SYSCALL_STRING): Do not do errno handling in asm.
20532 (__CLONE_SYSCALL_STRING): Delete.
20533 (__INTERNAL_SYSCALL_STRING): Delete.
20534 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20535 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20536 i386.
20537 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20538 (inline_syscall*): Add 'err' argument.
20539 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20540 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20541 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20542 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20543
20544 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20545 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20546
2bc17433
AS
205472011-08-30 Andreas Schwab <schwab@redhat.com>
20548
20549 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20550
fbeb5f4d
JO
205512011-08-29 Jiri Olsa <jolsa@redhat.com>
20552
20553 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20554 directive.
20555
ad69cc26
DM
205562011-08-24 David S. Miller <davem@davemloft.net>
20557
20558 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20559
39dd69df
AS
205602011-08-24 Andreas Schwab <schwab@redhat.com>
20561
20562 * elf/Makefile: Add rules to build and run unload8 test.
20563 * elf/unload8.c: New file.
20564 * elf/unload8mod1.c: New file.
20565 * elf/unload8mod1x.c: New file.
20566 * elf/unload8mod2.c: New file.
20567 * elf/unload8mod3.c: New file.
20568
20569 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20570 it wasn't used.
20571
2c0b250a
DM
205722011-08-23 David S. Miller <davem@davemloft.net>
20573
20574 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20575 subtract stack bias.
20576 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20577 %sp not %fp in calculations.
20578 (_JMPBUF_UNWINDS_ADJ): Likewise.
20579
22044b48
DM
20580 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20581 (aio_suspend): Call it to force an exception region around the
20582 AIO_MISC_WAIT() invocation.
20583
2cae4995
AS
205842011-08-23 Andreas Schwab <schwab@redhat.com>
20585
20586 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20587 backslash.
20588
873a772e
AJ
205892011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20590
20591 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20592 protection macro.
20593 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20594 and <dl-machine.h>.
20595 (Elf64_FuncDesc): Remove.
20596
25ad0df1
DM
205972011-08-22 David S. Miller <davem@davemloft.net>
20598
20599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20600 sigaltstack check, add missing cfi directives.
20601 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20602 missing cfi directives, and sigaltstack handling.
20603
e888bcbe
AS
206042011-08-16 Andreas Schwab <schwab@redhat.com>
20605
20606 [BZ #11724]
20607 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20608 object is seen twice.
20609 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20610
20611 * elf/Makefile (distribute): Add tst-initorder2.c.
20612 (tests): Add tst-initorder2.
20613 (modules-names): Add tst-initorder2a tst-initorder2b
20614 tst-initorder2c tst-initorder2d. Add rules to build them.
20615 ($(objpfx)tst-initorder2.out): New rule.
20616 * elf/tst-initorder2.c: New file.
20617 * elf/tst-initorder2.exp: New file.
20618
87162f46
AS
206192011-08-22 Andreas Schwab <schwab@redhat.com>
20620
70538b7f
AS
20621 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20622
f55ffe58
AS
20623 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20624 dependencies back to end of function.
20625
87162f46
AS
20626 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20627 $(elfobjdir)/ld.so.
20628
91b392a4
UD
206292011-08-21 Ulrich Drepper <drepper@gmail.com>
20630
20631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20632 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20633 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20634 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20635 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20636 of __vdso_gettimeofday.
20637 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20638 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20639 attribute_hidden.
20640 (_libc_vdso_platform_setup): Remove initialization of
20641 __vdso_gettimeofday and __vdso_time.
20642
5c43483f
UD
206432011-08-20 Ulrich Drepper <drepper@gmail.com>
20644
775a77e7
UD
20645 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20646 and fgetc_unlocked.
20647 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20648 getc_unlocked.
89f447ed 20649
49c74ba9
UD
20650 * elf/dl-open.c (add_to_global): Report additions to the global scope
20651 for LD_DEBUG=scopes.
20652 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20653 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20654
5c43483f
UD
20655 [BZ #13114]
20656 * stdio-common/Makefile (tests): Add bug24.
20657 * stdio-common/bug24.c: New file.
20658
a101b025
AJ
206592011-08-19 Andreas Jaeger <aj@suse.de>
20660
20661 [BZ #13114]
20662 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20663 non-existant file when using close-on-exec mode.
20664
c88f1766
UD
206652011-08-20 Ulrich Drepper <drepper@gmail.com>
20666
0276a718
UD
20667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20668 the very first instruction.
20669
c88f1766
UD
20670 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20671 the CFI state in the end.
20672 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20673 inclusion of dl-trampoline.h.
20674 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20675
51ccffa0
AS
206762011-08-19 Andreas Schwab <schwab@redhat.com>
20677
94d7165f
AS
20678 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20679 expectations for long double.
20680
51ccffa0
AS
20681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20682 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20683
fd708658 206842011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20685
20686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20687 artificual limit depends upon the system page size.
20688
44f0a71e
UD
206892011-08-17 Ulrich Drepper <drepper@gmail.com>
20690
20691 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20692 * resolv/Makefile: Define CFLAGS-libresolv.
20693
8de79a24
AS
206942011-08-17 Andreas Schwab <schwab@redhat.com>
20695
20696 * nss/makedb.c (compute_tables): Make variables used in nested
20697 function static.
20698
27724598
UD
206992011-08-17 Ulrich Drepper <drepper@gmail.com>
20700
c5305d88
UD
20701 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20702 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20703 if buffer was too small.
20704
27724598
UD
20705 * elf/pldd.c (main): Attach to all threads in the process.
20706 Rewrite /proc handling to use *at functions.
20707
076fe015
UD
207082011-08-16 Ulrich Drepper <drepper@gmail.com>
20709
174baab3
UD
20710 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20711 specifies first scope to show.
20712 (dl_open_worker): Update callers. Move printing scope of new
20713 object to before the relocation.
44f0a71e 20714 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20715 * sysdeps/generic/ldsodefs.h: Update declaration.
20716
076fe015
UD
20717 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20718 string for the scope number.
20719
a60df2c3
UD
207202011-08-14 Ulrich Drepper <drepper@gmail.com>
20721
20722 * nscd/servicescache.c (cache_addserv): Make sure written is always
20723 initialized.
20724
5e4287d1
RM
207252011-08-14 Roland McGrath <roland@hack.frob.com>
20726
85ae0589
RM
20727 * sysdeps/i386/i486/bits/atomic.h
20728 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20729 statement expression, so as to suppress "set but not used" warning.
20730 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20731
69f63097
RM
20732 * string/strncat.c (STRNCAT): Use prototype definition.
20733
675456ef
RM
20734 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20735 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20736 -Iprograms here.
20737 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20738 (localedef-modules): Add localedef.
20739 (locale-modules): Add locale.
20740
5e4287d1
RM
20741 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20742 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20743 to avoid a warning.
20744
9c96ff23
DM
207452011-08-14 David S. Miller <davem@davemloft.net>
20746
20747 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20748 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20749
f9ddf089
UD
207502011-08-13 Ulrich Drepper <drepper@gmail.com>
20751
44f0a71e 20752 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20753 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20754 * elf/rtld.c (dl_main): Set l_name of vDSO.
20755 Call _dl_show_scope when DL_DEBUG_SCOPES.
20756 (process_dl_debug): Recognize scopes flag and also set it for all.
20757 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20758 Declare _dl_show_scope.
20759
1dc27704
UD
20760 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20761 (do_dlopen): Pass caller_dlopen to dl_open.
20762 (__libc_dlopen_mode): Initialize caller_dlopen.
20763
f9ddf089
UD
20764 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20765 of libc. Make tolower call locale-independent. Optimize a bit by
20766 using isdigit instead of isalnum.
20767 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20768
9ac533d3
UD
207692011-08-12 Ulrich Drepper <drepper@gmail.com>
20770
20771 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20772 was a dependency or dynamically loaded.
20773
89edf2e9
UD
207742011-08-11 Ulrich Drepper <drepper@gmail.com>
20775
8e999d29
UD
20776 * intl/l10nflist.c: Allow architecture-specific pop function.
20777 * sysdeps/x86_64/l10nflist.c: New file.
20778
89edf2e9
UD
20779 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20780 classification.
20781
14d96785
AS
207822011-08-10 Andreas Schwab <schwab@redhat.com>
20783
20784 * include/dirent.h: Add libc_hidden_proto for scandirat and
20785 scandirat64. Don't declare __scandirat64.
20786 * dirent/scandirat.c: Add libc_hidden_def.
20787 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20788 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20789
6761ac04
DM
207902011-08-10 David S. Miller <davem@davemloft.net>
20791
20792 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20793 enum.
20794 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20795 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20796 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20797
c55fbd1e
UD
207982011-08-09 Ulrich Drepper <drepper@gmail.com>
20799
20800 * Versions.def [libc]: Add GLIBC_2.15.
20801 * dirent/Makefile (routines): Add scandirat and scandirat64.
20802 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20803 GLIBC_2.15.
20804 * dirent/dirent.h: Declare scandirat and scandirat64.
20805 * dirent/scandirat.c: New file.
20806 * dirent/scandirat64.c: New file.
20807 * sysdeps/wordsize-64/scandirat.c: New file.
20808 * sysdeps/wordsize-64/scandirat64.c: New file.
20809 * dirent/opendir.c: Define opendirat.
20810 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20811 using scandirat.
20812 * dirent/scandir64.c: Adjust for scandir.c change.
20813 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20814 __scandirat64, and __scandir_cancel_handler.
20815 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20816 additional parameter and use openat instead of open (outside of ld.so).
20817 Add new __opendir as wrapper around __opendirat.
20818 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20819 here without requiring old scandirat implementation.
20820
879165f2
UD
208212011-08-08 Ulrich Drepper <drepper@gmail.com>
20822
20823 * dirent/scandir.c (cancel_handler): Renamed to
20824 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20825 defined. Adjust users.
20826 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20827 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20828
cb7e923b
UD
208292011-08-04 Ulrich Drepper <drepper@gmail.com>
20830
16292edd
UD
20831 * string/test-string.h (IMPL): Use __STRING to expand name and then
20832 stringify it.
20833
cb7e923b
UD
20834 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20835 of cleanups.
20836
cff82933
LD
208372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20838
20839 * string/Makefile: Update.
20840 (strop-tests): Append strncat.
20841 * string/test-wcscmp.c: New file.
20842 New comprehensive test for wcscmp.
20843 * string/test-strcmp.c: Update.
20844 (WIDE): New define.
20845
9be9bfcc
AS
208462011-07-22 Andreas Schwab <schwab@redhat.com>
20847
20848 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20849 line.
20850
2e96f1c7
AS
208512011-07-26 Andreas Schwab <schwab@redhat.com>
20852
20853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20854 encoding to ACE if AI_IDN.
20855
85188888
JJ
208562011-08-01 Jakub Jelinek <jakub@redhat.com>
20857
20858 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20859 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20860
5fa16e9b
LD
208612011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20862
20863 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20864 Fix overflow bug in strncat.
20865 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20866
20867 * string/test-strncat.c: Update.
20868 Add new tests for checking overflow bugs.
20869
208702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20871
20872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20873 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20874 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20875 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20877 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20878 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20879 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20880 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20881
20882 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20883 (USE_AS_STRCAT): Define.
20884 Add strcat and strncat support.
20885 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20886
8c1a459f
AS
208872011-07-25 Andreas Schwab <schwab@redhat.com>
20888
20889 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20890 __n bigger than INT_MAX+1.
20891 (__strncmp_g): Likewise.
20892
bba33c28
UD
208932011-07-23 Ulrich Drepper <drepper@gmail.com>
20894
798be72d
UD
20895 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20896 * libio/stido.h: Likewise.
20897
8accd4dc
UD
20898 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20899 (AF_NFC): Define.
20900 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20901 (AF_NFC): Define.
20902
cbff0d96
UD
20903 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20904 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20905 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20906 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20908
9191c04a
UD
20909 [BZ #13021]
20910 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20911 installed.
20912
bba33c28
UD
20913 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20914 typo.
20915 (_dl_x86_64_save_sse): Likewise.
20916
90f139dd
UD
209172011-07-22 Ulrich Drepper <drepper@gmail.com>
20918
1aae088a
UD
20919 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20920 OSXSAVE.
20921 (_dl_x86_64_save_sse): Likewise.
20922
8e2045f5
UD
20923 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20924
90f139dd
UD
20925 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20926
1d002f25
AS
209272011-07-21 Andreas Schwab <schwab@redhat.com>
20928
20929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20930 change.
20931 (_dl_x86_64_save_sse): Use correct AVX check.
20932
21137f89
UD
209332011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20934
20935 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20936 bug in strncpy/strncat.
20937 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20938
a65c0b7a
UD
209392011-07-21 Ulrich Drepper <drepper@gmail.com>
20940
20941 * string/tester.c (test_strcat): Add tests for different alignments
20942 of source and destination.
20943 (test_strncat): Likewise.
20944
6986b98a
UD
209452011-07-20 Ulrich Drepper <drepper@gmail.com>
20946
90bb2039
UD
20947 [BZ #12852]
20948 * posix/glob.c (glob): Check passed in values before using them in
20949 expressions to avoid some overflows.
20950 (glob_in_dir): Likewise.
20951
5644ef54
UD
20952 [BZ #13007]
20953 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20954 check for AVX enablement so that we don't crash with old kernels and
20955 new hardware.
20956 * elf/tst-audit4.c: Add same checks here.
20957 * elf/tst-audit6.c: Likewise.
20958
20959 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20960
bfc9dc9b
AS
209612011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20962
20963 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20964
702e64bb
UD
209652011-07-20 Ulrich Drepper <drepper@gmail.com>
20966
20967 * po/cs.po: Update from translation team.
20968 * po/bg.po: Likewise.
20969
295e904f
MP
209702011-07-12 Marek Polacek <mpolacek@redhat.com>
20971
20972 * misc/sys/cdefs.h: Add support for const attribute.
20973 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20974 to gnu_dev_{major,minor,makedev} functions.
20975
3ff94596
MP
209762011-07-20 Marek Polacek <mpolacek@redhat.com>
20977
20978 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20979
28b59fca
AS
209802011-07-20 Andreas Schwab <schwab@redhat.com>
20981
20982 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20983 strlen results.
20984
19df733e
AK
209852011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20986
20987 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20988 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20989 register in order to avoid conflicts with the soft frame pointer
20990 being held in r11 when necessary.
20991 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20992 (INTERNAL_VSYSCALL_NCS): Likewise.
20993
c8835729
MP
209942011-07-14 Marek Polacek <mpolacek@redhat.com>
20995
20996 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20997 * elf/dl-fini.c (_dl_fini): Adjust caller.
20998 * elf/dl-close.c (_dl_close_worker): Likewise.
20999 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21000
b902330c
MP
210012011-07-15 Marek Polacek <mpolacek@redhat.com>
21002
8991e135
MP
21003 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21004 "aux_cache->nlibs < 0".
21005
b902330c
MP
21006 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21007 in the reload-count case.
21008
99710781
LD
210092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21010
21011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21012 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21013 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21014 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21015 * sysdeps/x86_64/multiarch/strcat.S: New file.
21016 * sysdeps/x86_64/multiarch/strncat.S: New file.
21017 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21018 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21019 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21020 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21021 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21022 (USE_AS_STRCAT): Define.
21023 Add strcat and strncat support.
21024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21025 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21026 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21027 * string/strncat.c: Update.
21028 (USE_AS_STRNCAT): Define.
21029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21030 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21031 and i7.
21032 * sysdeps/x86_64/multiarch/init-arch.h
21033 (bit_Prefer_PMINUB_for_stringop): New.
21034 (index_Prefer_PMINUB_for_stringop): Likewise.
21035 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21036 bit_Prefer_PMINUB_for_stringop.
21037
7dc6bd90
UD
210382011-07-19 Ulrich Drepper <drepper@gmail.com>
21039
21040 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21041 buffer64.
21042 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21043 of casting of buffer.
21044 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21045 buffer32 and buffer64.
21046 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21047 writes instead of casting of buffer.
21048 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21049 buffer32.
21050 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21051 casting of buffer.
21052
e0e72284
AS
210532011-07-19 Andreas Schwab <schwab@redhat.com>
21054
21055 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21056
feb1eb0b
UD
210572011-07-19 Ulrich Drepper <drepper@gmail.com>
21058
21059 * nscd/nscd.c (termination_handler): Don't do anything for a database
21060 if it has not yet been initialized.
21061
298711ff
UD
210622011-07-18 Ulrich Drepper <drepper@gmail.com>
21063
21064 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21065
210662011-07-15 Marek Polacek <mpolacek@redhat.com>
21067
21068 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21069
f9d68389
UD
210702011-07-18 Ulrich Drepper <drepper@gmail.com>
21071
21072 * po/nl.po: Update from translation team.
21073 * po/sv.po: Likewise.
21074
db290cf5
RM
210752011-07-16 Roland McGrath <roland@hack.frob.com>
21076
21077 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21078 now disallowed by GCC.
5c550700 21079
fd5e21c7
RM
21080 * configure.in (use-default-link): Default to yes if a test -shared
21081 link meets our qualifications.
21082 * configure: Regenerated.
21083
5c550700
RM
21084 * config.make.in (output-format): New variable.
21085 * configure.in: Check for ld --print-output-format support.
21086 * configure: Regenerated.
21087 * Makerules ($(common-objpfx)format.lds)
21088 [$(output-format) != unknown]: Just use $(output-format),
21089 instead of the linker-script munging.
21090
9fa2c032
RM
210912011-07-14 Roland McGrath <roland@hack.frob.com>
21092
a6928d51
RM
21093 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21094 of $(common-objpfx)shlib.lds.
21095 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21096
661607b3
RM
21097 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21098 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21099
9fa2c032
RM
21100 * configure.in (-z relro check): Adjust test code to add a large
21101 writable data section after it.
21102 * configure: Regenerated.
21103
defe9061
RM
211042011-07-11 Roland McGrath <roland@hack.frob.com>
21105
21106 * configure.in (-z relro check): Fix test code to make the variable
21107 truly const.
21108 * configure: Regenerated.
21109
319b9ad4
UD
211102011-07-11 Ulrich Drepper <drepper@gmail.com>
21111
21112 * nscd/nscd.h (struct traced_file): Define.
21113 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21114 elements. Add traced_files.
21115 (inotify_fd): Declare.
21116 (register_traced_file): Declare.
21117 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21118 (inotify_fd): Export.
21119 (resolv_conf_descr): Remove.
21120 (nscd_init): Move inotify descriptor creation to main.
21121 Don't register files for notification here.
21122 (register_traced_file): New function.
21123 (invalidate_cache): Don't use reset_res to determine whether to call
21124 res_init, go through the list of registered files.
21125 (main_loop_poll): The inotify descriptors are now stored in the
21126 structures for the traced files.
21127 (main_loop_epoll): Likewise
21128 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21129 to __nss_disable_nscd.
21130 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21131 for a database anymore. Check the records for all the registered
21132 files instead.
21133 * nss/Makefile (libnss_files-routines): Add files-init.
21134 (libnss_db-routines): Add db-init.
21135 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21136 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21137 * nss/nss_db/db-init.c: New file.
21138 * nss/nss_files/files-init.c: New file.
21139 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21140 __nss_lookup_function.
21141 (__nss_lookup_function): Call nss_load_library.
21142 (nss_load_all_libraries): New function.
21143 (__nss_disable_nscd): Take parameter with callback function for files
21144 to register. Set is_nscd. Load all the DSOs for the NSS modules
21145 used for the cached services.
21146 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21147 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21148 options for features to all the files in nscd.
21149
21150 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21151
23bee3e8
RM
211522011-07-10 Roland McGrath <roland@hack.frob.com>
21153
21154 * csu/elf-init.c (__libc_csu_init): Comment typo.
21155
46a5b7f0
UD
211562011-07-09 Ulrich Drepper <drepper@gmail.com>
21157
21158 * po/pl.po: Update from translation team.
21159 * po/ja.po: Likewise.
21160 * po/ru.po: Likewise.
21161 * po/ko.po: Likewise.
21162 * po/fr.po: Likewise.
21163
d30cf5bb
RM
211642011-07-09 Roland McGrath <roland@hack.frob.com>
21165
113ddea4
RM
21166 * configure.in (.ctors/.dtors header and trailer check):
21167 Use an empirical test on a built program.
21168 * configure: Regenerated.
21169
574920b4
RM
21170 * configure.in (-z relro check): Use an empirical test on a built DSO.
21171 Detect, but do not require, on ia64.
21172 * configure: Regenerated.
21173
d30cf5bb
RM
21174 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21175 Update tests that use readelf to use $READELF instead.
21176 * configure: Regenerated.
21177
8538fdb3
UD
211782011-07-08 Ulrich Drepper <drepper@gmail.com>
21179
21180 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21181 if the result is not used.
21182
04d08991
AJ
211832011-07-05 Andreas Jaeger <aj@suse.de>
21184
21185 [BZ#9696]
21186 * stdlib/tst-strtod.c: Add testcase.
21187
de283087
AD
211882011-07-07 Ulrich Drepper <drepper@gmail.com>
21189
4e5f31c8 21190 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21191 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21192 The latter has a higher limit. Take additional parameter to pass to
21193 the new function.
21194 (__pathconf): Pass file to __statfs_link_max.
21195 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21196 __statfs_link_max.
21197 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21198 __statfs_link_max.
21199
de283087
AD
21200 [BZ #12868]
21201 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21202 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21203 Handle Lustre.
21204 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21205 (__statfs_filesize_max): Likewise.
21206 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21207
c75fa153
AJ
212082011-07-05 Andreas Jaeger <aj@suse.de>
21209
21210 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21211
1a544854
UD
212122011-07-06 Marek Polacek <mpolacek@redhat.com>
21213
21214 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21215 `status' variable.
21216 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21217 Likewise.
21218
6f0eec67
UD
212192011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21220
21221 * Makefile (strop-tests): Add strncat.
21222 * string/test-strncat.c: New file.
21223
aae30307
UD
212242011-06-30 Marek Polacek <mpolacek@redhat.com>
21225
21226 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21227
c0cfb5eb
UD
212282011-06-21 Andreas Jaeger <aj@suse.de>
21229
21230 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21231 Copy rule from iconvdata/Makefile.
21232
01636b21
UD
212332011-07-06 Ulrich Drepper <drepper@gmail.com>
21234
21235 [BZ #12922]
21236 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21237 but no long options are defined, just return 'W'.
21238
9895c8bc
UD
212392011-06-22 Marek Polacek <mpolacek@redhat.com>
21240
21241 [BZ #9696]
21242 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21243
5d4cf042
UD
212442011-07-06 Ulrich Drepper <drepper@gmail.com>
21245
21246 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21247 netgroups to read.
960e5535 21248 (innetgr): Likewise.
5d4cf042 21249
751eb97e
RM
212502011-07-05 Roland McGrath <roland@hack.frob.com>
21251
21252 * config.make.in (install_root): Default to $(DESTDIR).
21253
f15f1e45
UD
212542011-07-05 Ulrich Drepper <drepper@gmail.com>
21255
21256 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21257
4e34ac6a
RM
212582011-07-02 Roland McGrath <roland@hack.frob.com>
21259
5e9b6af4
RM
21260 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21261
84f9ea0f
RM
21262 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21263 containing directory rather than embedding absolute directory names.
21264
ea5ee9f7
RM
21265 * scripts/check-local-headers.sh: Rewritten using awk.
21266 Match by word, not by line. Print error messages for matches.
21267 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21268
1b74661a
RM
21269 * Makerules [shlib-lds-flags empty]:
21270 ($(common-objpfx)libc_pic.opts): New target.
21271 ($(common-objpfx)libc_pic.os.clean): New target.
21272 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21273
21274 * config.make.in (OBJCOPY): New variable.
21275 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21276 * configure: Regenerated.
21277
f781ef40
RM
21278 * config.make.in (use-default-link): New variable.
21279 * configure.in (use_default_link): Grok --with-default-link to set it.
21280 * configure: Regenerated.
21281 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21282 (shlib-lds, shlib-lds-flags): Define to empty.
21283
2d4fa81e
RM
21284 * Makerules (shlib-lds): New variable.
21285 (shlib-lds-flags): New variable.
21286 (build-shlib, build-moduile, build-module-asneeded): Use it.
21287 ($(common-objpfx)libc.so): Use $(shlib-lds).
21288 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21289 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21290
31fffa6b
RM
21291 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21292 DT_FLAGS/DT_FLAGS_1 with zero flags.
21293
4e34ac6a
RM
21294 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21295 linker script munging.
21296
fcfc776b
UD
212972011-07-02 Ulrich Drepper <drepper@gmail.com>
21298
21299 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21300 as 128-bit value.
21301 * crypt/sha512.c (sha512_process_block): Perform total addition using
21302 128-bit if possible.
21303 (__sha512_finish_ctx): Likewise.
21304 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21305 as 64-bit value.
21306 * crypt/sha256.c (SWAP64): Define.
21307 (sha256_process_block): Perform total addition using 64-bit if
21308 possible.
21309 (__sha256_finish_ctx): Likewise.
21310
99231d9a
UD
213112011-07-01 Ulrich Drepper <drepper@gmail.com>
21312
21313 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21314 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21315 * nscd/hstcache.c (cache_addhst): Likewise.
21316 * nscd/grpcache.c (cache_addgr): Likewise.
21317 * nscd/aicache.c (addhstaiX): Likewise
21318 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21319
445b4a53
TK
213202011-07-01 Thorsten Kukuk <kukuk@suse.de>
21321
21322 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21324 * nscd/hstcache.c (cache_addhst): Likewise.
21325 * nscd/grpcache.c (cache_addgr): Likewise.
21326 * nscd/aicache.c (addhstaiX): Likewise
21327
6d4d8e8e
AS
213282011-07-01 Andreas Schwab <schwab@redhat.com>
21329
21330 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21331 domain only when needed.
21332
89f654c5
AS
213332011-06-30 Andreas Schwab <schwab@redhat.com>
21334
21335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21336 is always restored.
21337
cf3b23ff
UD
213382011-06-29 Ulrich Drepper <drepper@gmail.com>
21339
21340 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21341 are re-adding the entry.
21342 * nscd/servicescache.c (cache_addserv): Likewise.
21343
751626f9
AJ
213442011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21345
21346 * sysdeps/generic/dl-irel.h: fix protection against multiple
21347 inclusions.
21348 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21349
9113ea1f
UD
213502011-06-28 Ulrich Drepper <drepper@gmail.com>
21351
5c0b8d90
UD
21352 [BZ #12935]
21353 * malloc/memusage.sh: Fix quoting in message.
21354 * debug/xtrace.sh: Likewise.
21355
9113ea1f
UD
21356 * configure.in: Remove support for --experimental-malloc option, make
21357 it the default.
21358 * config.make.in: Likewise.
21359 * malloc/Makefile: Likewise.
21360
a4172181
AS
213612011-06-27 Andreas Schwab <schwab@redhat.com>
21362
21363 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21364 two-byte characters.
21365
78a7eee7
RM
213662011-06-27 Roland McGrath <roland@hack.frob.com>
21367
62bede13
RM
21368 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21369 AC_CACHE_CHECK invocation.
21370 * configure: Regenerated.
21371
78a7eee7
RM
21372 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21373
5ce33a62
UD
213742011-06-27 Ulrich Drepper <drepper@gmail.com>
21375
034807a9
UD
21376 [BZ #12350]
21377 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21378 bit from old_res_options.
21379
4902da17
UD
21380 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21381
5ce33a62
UD
21382 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21383 value type for setfct.
21384
c2344f56
L
213852011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21386
21387 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21388 __gettimeofday instead of gettimeofday.
21389
68468076
UD
213902011-06-26 Ulrich Drepper <drepper@gmail.com>
21391
21392 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21393
acb0d739
L
213942011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21395
21396 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21397
21398 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21399 info.
21400
8912479f
L
214012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21402
21403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21404 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21405 strcpy-sse2-unaligned strncpy-sse2-unaligned
21406 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21407 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21408 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21409 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21410 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21411 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21412 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21413 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21414 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21415 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21416 (STRCPY): Support SSE2 and SSSE3 versions.
21417
d5495a11
UD
214182011-06-24 Ulrich Drepper <drepper@gmail.com>
21419
21420 [BZ #12874]
21421 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21422 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21423 kernels which artificially limit size of requests.
21424
0b1cbaae
L
214252011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21426
21427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21428 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21429 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21430 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21431 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21432 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21433 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21434 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21435 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21437 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21438 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21439 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21440 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21441 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21443 Enable unaligned load optimization for Intel Core i3, i5 and i7
21444 processors.
21445 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21446 Define.
21447 (index_Fast_Unaligned_Load): Define.
21448 (HAS_FAST_UNALIGNED_LOAD): Define.
21449
07f494a0
MP
214502011-06-23 Marek Polacek <mpolacek@redhat.com>
21451
21452 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21453
fa3fc0fe
UD
214542011-06-22 Ulrich Drepper <drepper@gmail.com>
21455
21456 [BZ #12907]
21457 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21458 until it is clear that the information is realy needed.
21459 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21460
e12df166
AS
214612011-06-22 Andreas Schwab <schwab@redhat.com>
21462
21463 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21464
852eb34d
UD
214652011-06-22 Ulrich Drepper <drepper@gmail.com>
21466
84e2a551
UD
21467 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21468 /sys/devices/system/cpu/online if it is usable.
21469
852eb34d
UD
21470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21471 reading the information from the /proc filesystem to once a second.
21472
6e502e19
UD
214732011-06-21 Andreas Jaeger <aj@suse.de>
21474
21475 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21476 NULL after inclusion of kernel headers.
21477
75d39ff2
UD
214782011-06-21 Ulrich Drepper <drepper@gmail.com>
21479
51f9aa6a
UD
21480 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21481 calls to internal_setent.
21482
c0244a9d
UD
21483 [BZ #12885]
21484 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21485 addresses using gethostbyname4_r ignore IPv4 addresses.
21486
c5e3c2ae
UD
21487 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21488 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21489
75d39ff2
UD
21490 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21491
42675c6f
DM
214922011-06-20 David S. Miller <davem@davemloft.net>
21493
21494 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21495 inclusions.
21496 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21497
21498 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21499 (elf_irel): Use it.
21500 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21501 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21502 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21503 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21504 * sysdeps/x86_64/dl-irel.h: Likewise.
21505
21506 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21507 * elf/dl-sym.c: Likewise.
21508
57912a71
UD
215092011-06-15 Ulrich Drepper <drepper@gmail.com>
21510
21511 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21512 need to dereference resplen2.
21513
ee22793d
AS
215142011-06-14 Andreas Schwab <schwab@redhat.com>
21515
21516 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21517
a9e836b0
UD
215182011-06-15 Ulrich Drepper <drepper@gmail.com>
21519
77fb9117
UD
21520 * Makeconfig: Define vardbdir and inst_vardbdir.
21521 * nss/Makefile: Add rules to install db-Makefile.
21522
40c1b22c
UD
21523 * nss/nss_db/db-XXX.c: Cleanup.
21524
9f2da732
UD
21525 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21526 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21527 GLIBC_PRIVATE.
21528 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21529 * nss/makedb.c: Implement -g option to specify that value strings
21530 are generated and should not be added to table iterated over for
21531 get*ent calls.
21532 * nss/nss_db/db-initgroups.c: New file.
21533
82e9a1f7
UD
21534 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21535 interface.
21536
c41af17e
UD
21537 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21538 (internal_getgrouplist): Adjust to name change.
21539 Update use_initgroups_entry if this is not the first call.
21540 * nss/databases.def: Add initgroups entry.
21541
a9e836b0
UD
21542 * nss/makedb.c (compute_tables): Check result of multiple hash table
21543 sizes to minimize maximum chain length.
21544
2666d441
UD
215452011-06-14 Ulrich Drepper <drepper@gmail.com>
21546
21547 * Versions.def: Add entry for libnss_db.
21548 * shlib-versions: Likewise.
21549 * nss/Makefile: Add rules to build libnss_db.
21550 * nss/Versions: Add libnss_db information. Organize libnss_files
21551 entries better.
21552 * nss/db-Makefile: Add gshadow support. Change rules for the new
21553 makedb progra. Some minor improvements to generate smaller files.
21554 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21555 here from...
21556 * nss/makedb.c: ...here.
21557 Improve database format to be smaller and require less memory at
21558 runtime.
21559 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21560 db anymore.
21561 * nss/nss_db/db-netgrp.c: Likewise.
21562 * nss/nss_db/db-open.c: Likewise.
21563 * nss/nss_files/flies-XXX.x: Adjust comments.
21564 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21565 * nss/nss_files/files-grp.c: Likewise.
21566 * nss/nss_files/files-hosts.c: Likewise.
21567 * nss/nss_files/files-network.c: Likewise.
21568 * nss/nss_files/files-proto.c: Likewise.
21569 * nss/nss_files/files-pwd.c: Likewise.
21570 * nss/nss_files/files-rpc.c: Likewise.
21571 * nss/nss_files/files-service.c: Likewise.
21572 * nss/nss_files/files-sgrp.c: Likewise.
21573 * nss/nss_files/files-spwd.c: Likewise.
21574 * nss/nss_db/db-alias.c: Removed.
21575 * nss/nss_db/dummy-db.h: Removed.
21576
9ee76b5a
UD
215772011-06-02 Ulrich Drepper <drepper@gmail.com>
21578
21579 * nss/makedb.c: Rewritten to not use database library.
21580 * nss/Makefile: Update to build new makedb program.
21581
c71ca1f8
AJ
215822011-06-14 Andreas Jaeger <aj@suse.de>
21583
21584 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21585 memset declaration.
21586
3154bfb8
UD
215872011-06-10 Andreas Schwab <schwab@redhat.com>
21588
21589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21590 tmpbuf.
21591
b350afab
RM
215922011-06-10 Roland McGrath <roland@hack.frob.com>
21593
decd4e50
RM
21594 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21595 * elf/Makefile ($(objpfx)ld.so): Likewise.
21596
5615eaf2
RM
21597 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21598 Don't list ld.so twice in dependencies.
21599
21600 * posix/bug-regex31.c: Include <stdlib.h>.
21601
21602 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21603
21604 * nis/nss_compat/compat-spwd.c
21605 (getspent_next_nss_netgr): Remove unused variable.
21606 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21607
21608 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21609 nonmembers" output to use the right array.
21610
21611 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21612
21613 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21614
21615 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21616 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21617 * catgets/gencat.c (read_input_file): Likewise.
21618 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21619
21620 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21621 variable definition inside #if's controlling its use.
21622
21623 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21624
21625 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21626
21627 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21628
21629 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21630 unreachable code.
21631
21632 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21633
b68e08db
RM
21634 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21635 * configure: Regenerated.
21636
b350afab
RM
21637 * Makerules: Revert last change.
21638 * elf/Makefile: Likewise.
21639
28368601
RM
216402011-06-09 Roland McGrath <roland@hack.frob.com>
21641
21642 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21643 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21644 (reloc-link): Likewise.
21645
11988f8f
UD
216462011-06-09 Ulrich Drepper <drepper@gmail.com>
21647
21648 * elf/Makefile: Add rules to build pldd.
21649 * elf/pldd.c: New file.
21650 * elf/pldd-xx.c: New file.
21651
e80fab37
UD
216522011-06-07 Ulrich Drepper <drepper@gmail.com>
21653
21654 * version.h: Update for 2.15 development version.
21655
9b849836
DM
216562011-06-07 David S. Miller <davem@davemloft.net>
21657
21658 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21659 ifuncs.
21660 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21661 elf_machine_lazy_rel): Likewise.
21662 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21663 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21664 elf_machine_lazy_rel): Likewise.
21665 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21666 dl_hwcap via passed in argument.
21667 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21668 Likewise.
21669
5a31b283
AK
216702011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21671
21672 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21673
069e52f8
RM
216742011-06-06 Roland McGrath <roland@hack.frob.com>
21675
21676 [BZ #12849]
21677 * manual/fdl-1.1.texi: New file, verbatim from:
21678 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21679 * manual/lgpl-2.1.texi: New file, verbatim from:
21680 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21681 * manual/Makefile (licenses): New variable, list those new file names.
21682 (texis): Use it.
21683 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21684
21685 * manual/fdl.texi: File removed.
21686 * manual/lesser.texi: File removed.
21687 * manual/libc.texinfo (Copying, Documentation License):
21688 Use new @include file names, put @appendix directive before @include.
21689
f16846a5
JJ
216902011-06-04 Jakub Jelinek <jakub@redhat.com>
21691
21692 [BZ #12841]
21693 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21694 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21695 (mq_open): Add __NTH.
21696
3d29045b
L
216972011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21698
21699 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21700 Assume Intel Core i3/i5/i7 processor if AVX is available.
21701
8c297311
UD
217022011-05-31 Ulrich Drepper <drepper@gmail.com>
21703
21704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21705 typo.
21706
c8fc0c91
UD
217072011-05-31 Andreas Schwab <schwab@redhat.com>
21708
21709 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21710 memory. Use alloca_account. Fix memory leak when retrying.
21711
5b27a807
UD
217122011-05-31 Ulrich Drepper <drepper@gmail.com>
21713
356f8bc6
UD
21714 * version.h (RELEASE): Bump for 2.14 release.
21715 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21716
5b27a807
UD
21717 * config.make.in (RANLIB): Remove entry.
21718
01f16ab0
UD
217192011-05-30 Ulrich Drepper <drepper@gmail.com>
21720
41fce8bd
UD
21721 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21722 (libc.pot): Work around missing support for .ksh extension in xgettext.
21723
4769ae77
UD
21724 [BZ #12684]
21725 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21726 if both request failed.
21727 (send_dg): In case of server errors clear resplen or *resplen2.
21728
6b1e7d19
UD
21729 [BZ #12454]
21730 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21731 when there are multiple maps.
21732 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21733 (_dl_fini): Remove test here.
21734
01f16ab0
UD
21735 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21736
b1ebd700
UD
217372011-05-29 Ulrich Drepper <drepper@gmail.com>
21738
7ae22829
UD
21739 [BZ #12350]
21740 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21741 bit from old_res_options.
21742 (gaih_inet): Likewise.
21743
553149f6 21744 [BZ #11099]
18a84741 21745 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21746 as signed.
21747
652ffab1
UD
21748 * resolv/res_init.c (res_setoptions): Make the code more compact.
21749
16985fd0
UD
21750 [BZ #11558]
21751 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21752 set RES_USEVC.
21753
0464f746
UD
21754 [BZ #11634]
21755 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21756
7d17596c
UD
21757 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21758
cf6bbbd7
UD
21759 [BZ #11781]
21760 * malloc/malloc.h: Declare malloc hook variables as volatile.
21761
13f1ab36
UD
21762 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21763 in last patch.
21764
b1ebd700
UD
21765 [BZ #11799]
21766 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21767 raise in the comment.
80e2212d
UD
21768 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21769 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21770 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21771
ce67228d
UD
217722011-05-28 Ulrich Drepper <drepper@gmail.com>
21773
8887a920
UD
21774 [BZ #12811]
21775 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21776 grow the buffers more if it already has to be sufficient.
21777 (build_wcs_upper_buffer): Likewise.
21778 * posix/regexec.c (check_matching): Likewise.
21779 (clean_state_log_if_needed): Likewise.
21780 (extend_buffers): Don't enlarge buffers beyond size of the input
21781 buffer.
21782 Patches mostly by Emil Wojak <emil@wojak.eu>.
21783 * posix/bug-regex32.c: New file.
21784 * posix/Makefile (tests): Add bug-regex32.
21785
4f031072
UD
21786 * locale/findlocale.c (_nl_find_locale): Return right away if
21787 _nl_explode_name failed.
21788 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21789
d0478f0c
UD
21790 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21791
de81b246
UD
21792 * debug/xtrace.sh: Unify messages.
21793 * malloc/memusage.sh: Likewise.
21794
c738465a
UD
21795 [BZ #12813]
21796 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21797 time symbol from vDSO. Substitute with vsyscall if not available.
21798 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21799 __vdso_time.
21800
f1f929d7
UD
21801 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21802 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21803 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21804 Add sendmmsg and internal_sendmmsg.
21805 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21806 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21807 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21808
ce67228d
UD
21809 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21810 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21811 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21812
e57420c6
UD
218132011-05-27 Ulrich Drepper <drepper@gmail.com>
21814
a8509ca5
UD
21815 [BZ #12813]
21816 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21817 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21818 available.
21819 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21820 __vdso_getcpu.
21821
e57420c6
UD
21822 [BZ #12814]
21823 * iconvdata/Makefile (tests): Add bug-iconv9.
21824 * iconvdata/bug-iconv9.c: New file.
21825
4d07db15
AS
218262011-05-27 Andreas Schwab <schwab@redhat.com>
21827
21828 [BZ #12814]
21829 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21830
ea486f69
JJ
218312011-05-25 Jakub Jelinek <jakub@redhat.com>
21832
21833 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21834 (struct user_regs_struct): Change intcs field back to cs.
21835
6f038433
UD
218362011-05-25 Ulrich Drepper <drepper@gmail.com>
21837
21838 * po/ja.po: Update from translation team.
21839
67f86a25
UD
218402011-05-23 Ulrich Drepper <drepper@gmail.com>
21841
21842 [BZ #12795]
21843 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21844 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21845
def7fbd6
AS
218462011-05-20 Andreas Schwab <schwab@redhat.com>
21847
21848 * stdlib/longlong.h: Update from GCC.
21849
f50ef8f1
AS
218502011-05-23 Andreas Schwab <schwab@redhat.com>
21851
21852 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21853 parameter name.
21854 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21855 Add parameter name.
21856 (__sysconf): Pass it down.
21857
de7ce8f1
UD
218582011-05-22 Ulrich Drepper <drepper@gmail.com>
21859
f2962a71
UD
21860 [BZ #12671]
21861 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21862 some situations.
21863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21864 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21865 add in in __libc_use_alloca calls. Adjust callers.
21866 (glob): Use malloc in some situations.
21867
de7ce8f1
UD
21868 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21869 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21870 pltexit.
21871
aec84f53
UD
218722011-05-21 Ulrich Drepper <drepper@gmail.com>
21873
05bb4a68
UD
21874 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21875 and CLOCK_BOOTTIME_ALARM.
21876
7ea72f99
UD
21877 [BZ #12782]
21878 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21879 is returned.
21880
7e4afad5
UD
21881 * string/_strerror.c (__strerror_r): Print negative errors as signed
21882 numbers.
21883
8e211fec
UD
21884 [BZ #12777]
21885 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21886 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21887 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21888
f7d82dc9
UD
21889 * configure.in: Fix typo in redirection and correct removal of test
21890 files in two cases.
21891
cc9e536d
UD
21892 [BZ #12788]
21893 * locale/setlocale.c (new_composite_name): Fix test to check for
21894 identical name of all categories.
21895
aec84f53
UD
21896 [BZ #12792]
21897 * libio/filedoalloc.c (local_isatty): New function.
21898 (_IO_file_doallocate): Use local_isatty.
21899 * stdio-common/perror.c (perror): In case a new stream is used
21900 forward the stream error.
21901 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21902 error flag.
21903
78e64fdc
RT
219042011-05-20 Ulrich Drepper <drepper@gmail.com>
21905
34a9094f
UD
21906 [BZ #11869]
21907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21908 alloca.
21909 * include/alloca.h (extend_alloca_account): Define.
21910
78e64fdc
RT
21911 [BZ #11857]
21912 * posix/regex.h: Fix comments with documentation of user-accessible
21913 fields after compilation and describe correct free'ing of pattern
21914 after re_compile_pattern.
21915 Patch by Reuben Thomas <rrt@sc3d.org>.
21916
457bddfc
RA
219172011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21918
21919 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21920 and -mno-altivec to prevent the compiler from using Altivec and/or
21921 VSX instructions when the corresponding registers are not available.
21922
a4527b51
AS
219232011-05-19 Andreas Schwab <schwab@redhat.com>
21924
21925 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21926
ed690b2f
UD
219272011-05-19 Ulrich Drepper <drepper@gmail.com>
21928
21929 * libio/freopen.c (freopen): Use __dup2, not dup2.
21930 * libio/freopen64.c (freopen64): Likewise.
21931
8db73634
L
219322011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21933
21934 [BZ #12775]
21935 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21936 * math/Makefile (tests): Add test-powl.
21937 (CFLAGS-test-powl.c): Define.
21938 * math/test-powl.c: New file.
21939
0a197a9d
L
219402011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21941
21942 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21943
ee30c380
UD
219442011-05-17 Ulrich Drepper <drepper@gmail.com>
21945
21946 [BZ #11837]
21947 * iconvdata/gb18030.c: Update to GB18020-2005.
21948
6ce75379
UD
219492011-05-16 Ulrich Drepper <drepper@gmail.com>
21950
a4b89fd8
AR
21951 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21952 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21953 Patch by Aharon Robbins <arnold@skeeve.com>.
21954
ea389b12
UD
21955 [BZ #11892]
21956 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21957 on the stack.
21958
68a3f91f
UD
21959 [BZ #11895]
21960 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21961 through underflows.
21962
15cc7dd1
UD
21963 [BZ #12766]
21964 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21965 point to strings before performing equality test for error_one_per_line
21966 mode.
21967
f3799213
UD
21968 [BZ #11697]
21969 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21970
d79a9c94
UD
21971 [BZ #11820]
21972 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21973 (struct user_fpregs_struct): Avoid __uint*_t types.
21974
56e5eb46
UD
21975 [BZ #6420]
21976 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21977 symbol info. Use it instead of calling _dl_addr locally.
21978 (lock_and_info): New function.
21979 (tr_freehook): Call lock_and_info and pass symbol info as additional
21980 parameter to tr_where.
21981 (tr_mallochook): Likewise.
21982 (tr_reallochook): Likewise.
21983 (tr_memalignhook): Likewise.
21984
6ce75379
UD
21985 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21986 used and couldn't be at all thread-safe.
21987
f8a3b5bf
UD
219882011-05-15 Ulrich Drepper <drepper@gmail.com>
21989
94b7cc37
UD
21990 * libio/freopen.c (freopen): Don't close old file descriptor
21991 before the new one is opened. Instead dup the new file descriptor
21992 to the old one after the new stream is created.
21993 * libio/freopen64.c (freopen64): Likewise.
21994 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21995 * libio/fileops.c (_IO_new_file_close_it): Handle new
21996 _IO_FLAGS2_NOCLOSE flag.
21997 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21998 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21999 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22000 _IO_FLAGS2_NOCLOSE flag.
22001 * include/unistd.h: Add hidden_proto for dup3.
22002 Define __have_dup3.
22003 * io/dup3.c: Define hidden symbol.
22004 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22005
bd25564e
UD
22006 [BZ #7101]
22007 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22008 when an incomplete long option is used.
22009 * posix/tst-getopt_long1.c: New file.
22010 * posix/Makefile (tests): Add tst-getopt_long1.
22011
c84cfef4
UD
22012 [BZ #10138]
22013 * scripts/config.guess: Update from autoconf-2.68.
22014 * scripts/config.sub: Likewise.
22015
3b85df27
UD
22016 [BZ #10157]
22017 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22018 tests into ...
22019 (has_cpuclock): ...this. New function.
22020 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22021 macro here based on has_cpuclock code.
22022
15a856b1
UD
22023 [BZ #10149]
22024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22025 First byte (not low byte) is now always NUL.
22026 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22027
05f399e6
UD
22028 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22029 Use non-cancelable interfaces.
22030
10a52685 22031 [BZ #9809]
94ecc67d
UD
22032 * locale/iso-639.def: Add entry for Sorani.
22033
f8a3b5bf
UD
22034 [BZ #11901]
22035 * include/stdlib.h: Move include protection to the right place.
22036 Define abort_msg_s. Declare __abort_msg with it.
22037 * stdlib/abort.c (__abort_msg): Adjust type.
22038 * assert/assert.c (__assert_fail_base): New function. Majority
22039 of code from __assert_fail. Allocate memory for __abort_msg with
22040 mmap.
22041 (__assert_fail): Now call __assert_fail_base.
22042 * assert/assert-perr.c: Remove bulk of implementation. Use
22043 __assert_fail_base.
22044 * include/assert.hL Declare __assert_fail_base.
22045 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22046 mmap.
22047 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22048
1af4e298
UD
220492011-05-14 Ulrich Drepper <drepper@gmail.com>
22050
f8a3b5bf 22051 [BZ #11952]
d26dfc60
MG
22052 [BZ #12453]
22053 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22054 until all modules are registered in the DTV.
22055 * elf/Makefile: Add rules to build and run tst-tls19.
22056 * elf/tst-tls19.c: New file.
22057 * elf/tst-tls19mod1.c: New file.
22058 * elf/tst-tls19mod2.c: New file.
22059 * elf/tst-tls19mod3.c: New file.
22060 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22061
2fc54d6f
UD
22062 [BZ #12083]
22063 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22064 correctly.
22065
98d76b46
UD
22066 [BZ #12601]
22067 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22068 two-byte sequence errors.
22069 * iconvdata/Makefile (tests): Add bug-iconv8.
22070 * iconvdata/bug-iconv8.c: New file.
22071
da3c19ef
UD
22072 [BZ #12626]
22073 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22074 buf2 definition.
22075
ca408c15
UD
22076 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22077
d6f67f7d
UD
22078 [BZ #12432]
22079 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22080 (dummy_getcfa): New function.
22081 (init): Get _Unwind_GetCFA address, use dummy if not found.
22082 (backtrace_helper): In recursion check, also check whether CFA changes.
22083 (__backtrace): Completely initialize arg.
22084
1af4e298 22085 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22086 storing incomplete byte sequence in state object. Avoid testing for
22087 guaranteed too small input if we know there is enough data available.
1af4e298 22088
da62f81b
AS
220892011-05-11 Andreas Schwab <schwab@redhat.com>
22090
22091 * Makeconfig (+link-pie): Indent.
22092 * Rules (binaries-pie): Define if $(have-fpie) and
22093 $(build-shared).
22094 (binaries-shared): Also filter out $(binaries-pie).
22095 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22096 * nscd/Makefile (others-pie): Add nscd.
22097 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22098 ($(objpfx)nscd): Remove command override.
22099 * login/Makefile (others-pie): Add pt_chown.
22100 ($(objpfx)pt_chown): Remove command override.
22101 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22102 remove command overrides.
22103
fcabc0f8
UD
221042011-05-13 Ulrich Drepper <drepper@gmail.com>
22105
20030ae6
UD
22106 * libio/tst_putwc.c: Fix error messages.
22107
fcabc0f8
UD
22108 [BZ #12724]
22109 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22110 currently writing and seek to current position when not.
22111 * libio/Makefile (tests): Add bug-fclose1.
22112 * libio/bug-fclose1.c: New file.
22113
320a5dc0
PB
221142011-05-12 Ulrich Drepper <drepper@gmail.com>
22115
22116 [BZ #12511]
22117 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22118 don't set DF_1_NODELETE here.
22119 (do_lookup_x): When entering new entry test for copy relocation
22120 and if necessary set DF_1_NODELETE flag.
22121 * elf/tst-unique4.cc: New file.
22122 * elf/tst-unique4.h: New file.
22123 * elf/tst-unique4lib.cc: New file.
22124 * elf/Makefile: Add rules to build and run tst-unique4.
22125 Patch by Piotr Bury <pbury@goahead.com>.
22126
22836f52
UD
221272011-05-11 Ulrich Drepper <drepper@gmail.com>
22128
f574184a
UD
22129 [BZ #12052]
22130 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22131
e1fb097f
UD
22132 [BZ #12625]
22133 * misc/mntent_r.c (addmntent): Flush the stream after the output
22134
22836f52
UD
22135 [BZ #12393]
22136 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22137 (is_trusted_path_normalize): Skip initial colon. Append slash
22138 to empty buffer. Duplicate is_trusted_path code but allow
22139 constructed patch to be prefix.
22140 (is_dst): Allow $ORIGIN followed by /.
22141 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22142 Correct testing of result of is_trusted_path_normalize
22143 (decompose_rpath): Fix warning.
22144
7b3b0b2a
UD
221452011-05-10 Ulrich Drepper <drepper@gmail.com>
22146
22147 [BZ #11257]
22148 * grp/initgroups.c (internal_getgrouplist): When we found the service
22149 list through the initgroups entry in nsswitch.conf do not always
22150 continue on a successful lookup. Don't always use the
eac80ce2 22151 __nss_group_database value if it is set.
7b3b0b2a
UD
22152 * nss/nsswitch.conf (initgroups): Change action for successful db
22153 lookup to continue for compatibility.
22154
2a81eaa5
UD
221552011-05-09 Ulrich Drepper <drepper@gmail.com>
22156
be97a69e
UD
22157 [BZ #11532]
22158 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22159 and CP774 modules.
22160 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22161 and CP774 modules.
22162 * iconvdata/tst-tables.sh: Likewise.
22163 * iconvdata/cp770.c: New file.
22164 * iconvdata/cp771.c: New file.
22165 * iconvdata/cp772.c: New file.
22166 * iconvdata/cp773.c: New file.
22167 * iconvdata/cp774.c: New file.
22168 * iconvdata/testdata/CP770: New file.
22169 * iconvdata/testdata/CP770..UTF8: New file.
22170 * iconvdata/testdata/CP771: New file.
22171 * iconvdata/testdata/CP771..UTF8: New file.
22172 * iconvdata/testdata/CP772: New file.
22173 * iconvdata/testdata/CP772..UTF8: New file.
22174 * iconvdata/testdata/CP773: New file.
22175 * iconvdata/testdata/CP773..UTF8: New file.
22176 * iconvdata/testdata/CP774: New file.
22177 * iconvdata/testdata/CP774..UTF8: New file.
22178
22179 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22180 END CHARMAP line.
22181 * iconvdata/gen-8bit-gap.sh: Likewise.
22182 * iconvdata/gen-8bit.sh: Likewise.
22183
c1e9e399
UD
22184 * locale/iso-639.def: Add ary entry.
22185
24c55fb3 22186 [BZ #11258]
96b4b1b0
UD
22187 * locale/C-translit.h.in: Add U20A1 transliteration.
22188
bdc2f971
KB
22189 [BZ #12178]
22190 * locale/iso-639.def: Add wae entry.
22191 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22192
2952b117
UD
22193 [BZ #12545]
22194 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22195 for n.
22196
2a81eaa5
UD
22197 [BZ #12711]
22198 * locale/C-translit.h.in: Add entry for U20B9.
22199 Patch by pravin.d.s@gmail.com.
22200
28377d1b
UD
222012011-05-08 Ulrich Drepper <drepper@gmail.com>
22202
7fb90fb8
UD
22203 [BZ #12713]
22204 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22205 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22206 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22207 in rtld. Use *stat64.
7fb90fb8 22208 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22209 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22210 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22211 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22212 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22213 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22214 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22215 __fstatat64 macros.
7fb90fb8
UD
22216 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22217 * dirent/rewinddir.c: Add libc_hidden_def.
22218 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22219 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22220
28377d1b
UD
22221 * include/dirent.h (__alloc_dir): Add flags parameter.
22222 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22223 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22224 __alloc_dir.
22225 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22226 from fdopendir if O_CLOEXEC is already set.
22227
66bdbaa4
AM
222282011-03-15 Alan Modra <amodra@gmail.com>
22229
22230 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22231 l_tls_firstbyte_offset non-zero. Save padding offset in
22232 l_tls_firstbyte_offset for later use.
22233 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22234 freeing static tls block.
22235
95721191
JN
222362011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22237
22238 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22239 where #ifdef was intended. The intent is to prevent ARG_MAX from
22240 being defined by the kernel headers.
22241
f87dfb1f
UD
222422011-05-07 Ulrich Drepper <drepper@gmail.com>
22243
22244 [BZ #12734]
22245 * resolv/resolv.h: Define RES_NOTLDQUERY.
22246 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22247 no-tld-query and set RES_NOTLDQUERY.
22248 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22249 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22250 modern BIND to search name as TLD unless forbidden.
22251
47c3cd7a
UD
222522011-05-07 Petr Baudis <pasky@suse.cz>
22253 Ulrich Drepper <drepper@gmail.com>
22254
22255 [BZ #12393]
22256 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22257 (is_trusted_path): ...to here.
c1e9ea35 22258 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22259 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22260 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22261
8a35c912
PP
222622011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22263
22264 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22265 __BEGIN/__END_DECLS.
22266
acd41f47
UD
222672011-05-06 Ulrich Drepper <drepper@gmail.com>
22268
22269 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22270 NSS_STATUS_NOTFOUND if no record was found.
22271
597df647
AS
222722011-05-05 Andreas Schwab <schwab@redhat.com>
22273
22274 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22275 (headers-not-in-tirpc): Remove rpc/netdb.h
22276 * resolv/netdb.h: Revert last change.
22277
b9af1301
PP
222782011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22279
22280 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22281 circular dependency between libgcc.a and libc.a.
22282
4e34d5f5
AS
222832011-05-05 Andreas Schwab <schwab@redhat.com>
22284
22285 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22286 * nis/Makefile: Don't install rpcsvc/*.
22287 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22288 instead of <rpc/types.h>.
22289 (MAXHOSTNAMELEN): Define.
22290
00ee369c
AS
222912011-05-03 Andreas Schwab <schwab@redhat.com>
22292
22293 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22294
0b592a30
MB
222952011-04-28 Maciej Babinski <mbabinski@google.com>
22296
22297 [BZ #12714]
22298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22299 gethostbyname4_r when IPv6 results are possible.
22300
6e04cbbe
UD
223012011-05-02 Ulrich Drepper <drepper@gmail.com>
22302
22303 [BZ #12723]
22304 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22305 _PC_PIPE_BUF handling.
22306
e4ecafe0
BH
223072011-04-30 Bruno Haible <bruno@clisp.org>
22308
22309 [BZ #12717]
22310 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22311 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22312 to 'int'.
22313 * inet/getnameinfo.c (getnameinfo): Likewise.
22314
125ee683
UD
223152011-04-29 Ulrich Drepper <drepper@gmail.com>
22316
22317 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22318 to groups setting in database lookup.
22319 * nss/nsswitch.conf: Add initgroups entry.
22320
b722481a
EB
223212011-04-22 Ulrich Drepper <drepper@gmail.com>
22322
22323 [BZ #12685]
22324 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22325 mode string.
22326 Patch by Eric Blake <eblake@redhat.com>.
22327
4df46dbd
L
223282011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22329
22330 * sunrpc/Makefile (need-export-routines): Add svc_run.
22331 (routines): Remove svc_run.
22332 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22333 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22334 * sunrpc/svc_run.c (svc_run): Likewise.
22335 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22336
e84142d2
UD
223372011-04-21 Ulrich Drepper <drepper@gmail.com>
22338
22339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22340 problem in reallocation in last patch.
22341
877175d8
UD
223422011-04-20 Ulrich Drepper <drepper@gmail.com>
22343
22344 * sunrpc/Makefile: Move inclusion of Rules.
22345
ab8eed78
UD
223462011-04-19 Ulrich Drepper <drepper@gmail.com>
22347
22348 * nss/nss_files/files-initgroups.c: New file.
22349 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22350 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22351 _nss_files_initgroups_dyn.
22352
e3d8f584
RS
223532011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22354
22355 * elf/elf.h (R_ARM_IRELATIVE): Define.
22356
af190f45
UD
223572011-04-19 Ulrich Drepper <drepper@gmail.com>
22358
22359 * po/ru.po: Update from translation team.
22360
53cf59ef
UD
223612011-04-17 Ulrich Drepper <drepper@gmail.com>
22362
22363 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22364 dependencies.
22365
4c559bcd
MF
223662011-02-06 Mike Frysinger <vapier@gentoo.org>
22367
22368 [BZ #12653]
22369 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22370 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22372 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22373 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22374
4420675c
AS
223752011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22376
22377 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22378 differing bytes.
22379 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22380 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22381 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22382
75ea32ab
UD
223832011-04-17 Ulrich Drepper <drepper@gmail.com>
22384
22385 [BZ #12420]
22386 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22387 storing it.
22388 * stdlib/bug-getcontext.c: New file.
22389 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22390
27390476
AK
223912011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22392
22393 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22394 instructions into .machine "z9-109".
22395 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22396 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22397
10442705
AK
223982011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22399
22400 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22401 between environment variables and auxiliary vector.
22402
7b57bfe5
UD
224032011-04-16 Ulrich Drepper <drepper@gmail.com>
22404
22405 * Makefile: Add rules to build linkobj/libc.so.
22406 * include/libc-symbols.h: Define libc_hidden_nolink.
22407 * include/rpc/auth.h: Mark functions which are to be hidden.
22408 * include/rpc/auth_des.h: Likewise.
22409 * include/rpc/auth_unix.h: Likewise.
22410 * include/rpc/clnt.h: Likewise.
22411 * include/rpc/des_crypt.h: Likewise.
22412 * include/rpc/key_prot.h: Likewise.
22413 * include/rpc/pmap_clnt.h: Likewise.
22414 * include/rpc/pmap_prot.h: Likewise.
22415 * include/rpc/pmap_rmt.h: Likewise.
22416 * include/rpc/rpc_msg.h: Likewise.
22417 * include/rpc/svc.h: Likewise.
22418 * include/rpc/svc_auth.h: Likewise.
22419 * include/rpc/xdr.h: Likewise.
22420 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22421 * nss/Makefile: Likewise.
22422 * sunrpc/Makefile: Don't install headers. Build library with normal
22423 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22424 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22425 for the compat linking library. Remove use of INTDEF/INTUSE.
22426 * sunrpc/auth_none.c: Likewise.
22427 * sunrpc/auth_unix.c: Likewise.
22428 * sunrpc/authdes_prot.c: Likewise.
22429 * sunrpc/authuxprot.c: Likewise.
22430 * sunrpc/clnt_gen.c: Likewise.
22431 * sunrpc/clnt_perr.c: Likewise.
22432 * sunrpc/clnt_raw.c: Likewise.
22433 * sunrpc/clnt_simp.c: Likewise.
22434 * sunrpc/clnt_tcp.c: Likewise.
22435 * sunrpc/clnt_udp.c: Likewise.
22436 * sunrpc/clnt_unix.c: Likewise.
22437 * sunrpc/des_crypt.c: Likewise.
22438 * sunrpc/des_soft.c: Likewise.
22439 * sunrpc/get_myaddr.c: Likewise.
22440 * sunrpc/key_call.c: Likewise.
22441 * sunrpc/key_prot.c: Likewise.
22442 * sunrpc/netname.c: Likewise.
22443 * sunrpc/pm_getmaps.c: Likewise.
22444 * sunrpc/pm_getport.c: Likewise.
22445 * sunrpc/pmap_clnt.c: Likewise.
22446 * sunrpc/pmap_prot.c: Likewise.
22447 * sunrpc/pmap_prot2.c: Likewise.
22448 * sunrpc/pmap_rmt.c: Likewise.
22449 * sunrpc/publickey.c: Likewise.
22450 * sunrpc/rpc_cmsg.c: Likewise.
22451 * sunrpc/rpc_common.c: Likewise.
22452 * sunrpc/rpc_dtable.c: Likewise.
22453 * sunrpc/rpc_prot.c: Likewise.
22454 * sunrpc/rpc_thread.c: Likewise.
22455 * sunrpc/rtime.c: Likewise.
22456 * sunrpc/svc.c: Likewise.
22457 * sunrpc/svc_auth.c: Likewise.
22458 * sunrpc/svc_authux.c: Likewise.
22459 * sunrpc/svc_raw.c: Likewise.
22460 * sunrpc/svc_run.c: Likewise.
22461 * sunrpc/svc_simple.c: Likewise.
22462 * sunrpc/svc_tcp.c: Likewise.
22463 * sunrpc/svc_udp.c: Likewise.
22464 * sunrpc/svc_unix.c: Likewise.
22465 * sunrpc/svcauth_des.c: Likewise.
22466 * sunrpc/xcrypt.c: Likewise.
22467 * sunrpc/xdr.c: Likewise.
22468 * sunrpc/xdr_array.c: Likewise.
22469 * sunrpc/xdr_float.c: Likewise.
22470 * sunrpc/xdr_intXX_t.c: Likewise.
22471 * sunrpc/xdr_mem.c: Likewise.
22472 * sunrpc/xdr_rec.c: Likewise.
22473 * sunrpc/xdr_ref.c: Likewise.
22474 * sunrpc/xdr_sizeof.c: Likewise.
22475 * sunrpc/xdr_stdio.c: Likewise.
22476
e6c61494
UD
224772011-04-10 Ulrich Drepper <drepper@gmail.com>
22478
22479 [BZ #12650]
22480 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22481 * sysdeps/ia64/dl-tls.h: Likewise.
22482 * sysdeps/powerpc/dl-tls.h: Likewise.
22483 * sysdeps/s390/dl-tls.h: Likewise.
22484 * sysdeps/sh/dl-tls.h: Likewise.
22485 * sysdeps/sparc/dl-tls.h: Likewise.
22486 * sysdeps/x86_64/dl-tls.h: Likewise.
22487 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22488
34fe483e
AS
224892011-03-14 Andreas Schwab <schwab@redhat.com>
22490
22491 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22492 rpath element also skip the following colon.
22493 (expand_dynamic_string_token): Add is_path parameter and pass
22494 down to DL_DST_REQUIRED and _dl_dst_substitute.
22495 (decompose_rpath): Call expand_dynamic_string_token with
22496 non-zero is_path. Ignore empty rpaths.
22497 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22498 with zero is_path.
22499
f12a32e6
AS
225002011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22501
22502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22503 Make cancelable.
22504
38a7d692
UD
225052011-04-09 Ulrich Drepper <drepper@gmail.com>
22506
22507 [BZ #12655]
22508 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22509 Patch by Filipe David Manana <fdmanana@apache.org>.
22510
e451d22b
AS
225112011-04-07 Andreas Schwab <schwab@redhat.com>
22512
22513 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22514 Maintain aligned stack.
22515 (CHECK_RSP): Remove unused macro.
22516
dedc7c7b
UD
225172011-04-03 Ulrich Drepper <drepper@gmail.com>
22518
22519 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22520 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22521
94521213
UD
225222011-04-02 Ulrich Drepper <drepper@gmail.com>
22523
22524 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22525
8cb700c0 22526 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22527
0354e355
L
225282011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22529
22530 [BZ #12518]
22531 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22532 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22533 * sysdeps/x86_64/memmove.c: New file.
22534 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22535 (memcpy): Renamed to ...
22536 (__new_memcpy): This.
22537 (memcpy): Provide GLIBC_2_14 memcpy.
22538 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22539 (memcpy): Provide GLIBC_2_2_5 memcpy.
22540
8593482f
UD
225412011-04-01 Ulrich Drepper <drepper@gmail.com>
22542
22543 [BZ #12631]
22544 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22545
81a5726b
AS
225462011-03-30 Andreas Schwab <schwab@redhat.com>
22547
22548 * misc/syncfs.c: New file.
22549 * misc/Makefile (routines): Add syncfs.
22550 * posix/unistd.h: Declare syncfs.
22551 * sysdeps/unix/syscalls.list: Add syncfs.
22552
00e5419f
AS
225532011-04-01 Andreas Schwab <schwab@redhat.com>
22554
22555 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22556 open_by_handle_at.
22557 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22559 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22560 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22562 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22564
748876bf
UD
225652011-04-01 Ulrich Drepper <drepper@gmail.com>
22566
658e451d
UD
22567 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22568 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22569 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22570 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22571 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22573 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22574
748876bf
UD
22575 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22576 sync_file_range.c with -fexceptions.
22577 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22578 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22579 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22580 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22581 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22582 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22583 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22584 sync_file_range as cancellation point
22585 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22586 now a wrapper around __call_sync_file_range with cancellation handling.
22587 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22588 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22589 function name to __call_sync_file_range.
22590 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22591 Add call_sync_file_range.
748876bf 22592
6e63d5e1
AS
225932011-04-01 Andreas Schwab <schwab@redhat.com>
22594
22595 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22596 bits/timex.h.
6e63d5e1 22597
46998f74
UD
225982011-04-01 Ulrich Drepper <drepper@gmail.com>
22599
4c1423ed
UD
22600 * iconv/iconv.h: Fix typo in comment.
22601 * io/fcntl.h: Likewise.
22602 * libio/stdio.h: Likewise.
22603 * posix/spawn.h: Likewise.
22604 * posix/unistd.h: Likewise.
22605 * stdlib/stdlib.h: Likewise.
22606 * time/time.h: Likewise.
22607 * wcsmbs/wchar.h: Likewise.
22608
158648c0
UD
22609 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22610 open_by_handle): Add.
22611 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22612 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22613 Augment a few comments.
22614 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22616 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22618 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22619 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22620 open_by_handle.
22621
46998f74
UD
22622 * io/fcntl.h (AT_EMPTY_PATH): Define.
22623
83fe108b
UD
226242011-03-30 Ulrich Drepper <drepper@gmail.com>
22625
22626 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22627 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22628 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22629 to...
22630 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22631 * Versions.def: Add GLIBC_2.14.
22632 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22633 Export.
83fe108b 22634
bb242059
UD
226352011-03-22 Ulrich Drepper <drepper@gmail.com>
22636
22637 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22638 round counter.
22639 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22640
c97a1282
L
226412011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22642
22643 [BZ #12597]
22644 * string/test-strncmp.c (do_page_test): New function.
22645 (check2): Likewise.
22646 (test_main): Call check2.
22647 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22648
2a115601
UD
226492011-03-20 Ulrich Drepper <drepper@gmail.com>
22650
22651 [BZ #12587]
22652 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22653 Handle cache information in CPU leaf 4.
22654 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22655
8126d904
UD
226562011-03-18 Ulrich Drepper <drepper@gmail.com>
22657
042c49c6 22658 [BZ #12583]
8126d904
UD
22659 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22660 character representation.
22661 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22662
ccfe366e
RA
226632011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22664
22665 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22666 END(__isnan) to END(__isnanf) to match function entry point/label
22667 EALIGN(__isnanf,...).
22668
c6e13027
JJ
226692011-03-10 Jakub Jelinek <jakub@redhat.com>
22670
22671 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22672
33f85a3f
UD
226732011-03-10 Ulrich Drepper <drepper@gmail.com>
22674
028478fa
UD
22675 [BZ #12510]
22676 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22677 copy from the symbol referenced in the relocation to initialize the
22678 used variable.
22679 Patch by Piotr Bury <pbury@goahead.com>.
22680 * elf/Makefile: Add rules to build and tst-unique3.
22681 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22682 * elf/tst-unique3.cc: New file.
22683 * elf/tst-unique3.h: New file.
22684 * elf/tst-unique3lib.cc: New file.
22685 * elf/tst-unique3lib2.cc: New file.
22686
33f85a3f
UD
22687 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22688
03592fc7
MF
226892011-03-10 Mike Frysinger <vapier@gentoo.org>
22690
22691 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22692 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22693 to _start.
03592fc7 22694
6a5ee102
UD
226952011-03-06 Ulrich Drepper <drepper@gmail.com>
22696
22697 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22698 to-be-loaded object along a path to loader is ld.so.
22699
7e4ba49c
HJ
227002011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22701 Ulrich Drepper <drepper@gmail.com>
22702
22703 * sysdeps/x86_64/memset.S: After aligning destination, code
22704 branches to different locations depending on the value of
22705 misalignment, when multiarch is enabled. Fix this.
22706
227072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22708
22709 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22710 Set _x86_64_preferred_memory_instruction for AMD processsors.
22711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22712 Set bit_Prefer_SSE_for_memop for AMD processors.
22713
13a804de
UD
227142011-03-04 Ulrich Drepper <drepper@gmail.com>
22715
22716 * libio/fmemopen.c (fmemopen): Optimize a bit.
22717
9d25c392
AS
227182011-03-03 Andreas Schwab <schwab@redhat.com>
22719
22720 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22721
a5543c6a
RM
227222011-03-03 Roland McGrath <roland@redhat.com>
22723
22724 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22725
012d35f7
DM
227262011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22727
7e4ba49c 22728 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22729 __bzero_ultra1 instead of __memset_ultra1.
22730
4bff6e01
AS
227312011-02-23 Andreas Schwab <schwab@redhat.com>
22732 Ulrich Drepper <drepper@gmail.com>
22733
22734 [BZ #12509]
22735 * include/link.h (struct link_map): Add l_orig_initfini.
22736 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22737 returning unsuccessfully.
22738 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22739 close of a file loaded at startup, restore the original l_initfini
22740 list.
22741 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22742 list, store the pointer.
22743 * elf/Makefile ($(objpfx)noload-mem): New rule.
22744 (noload-ENV): Define.
22745 (tests): Add $(objpfx)noload-mem.
22746 * elf/noload.c: Include <memcheck.h>.
22747 (main): Call mtrace. Close all opened handles.
22748
f2092faf
AS
227492011-02-17 Andreas Schwab <schwab@redhat.com>
22750
22751 [BZ #12454]
22752 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22753 dependencies are missing.
22754
6c8a2e88
ST
227552011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22756
f2092faf 22757 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22758 Hurd needs munmap.
22759 * sysdeps/mach/hurd/ifreq.h: New file.
22760
84a42118
PB
227612011-01-27 Petr Baudis <pasky@suse.cz>
22762 Ulrich Drepper <drepper@gmail.com>
22763
071f805e 22764 [BZ 12445]#
84a42118
PB
22765 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22766 to extend_alloca().
22767 * stdio-common/bug23.c: New file.
22768 * stdio-common/Makefile (tests): Add bug23.
22769
e23fe25b
AS
227702010-09-28 Andreas Schwab <schwab@redhat.com>
22771 Ulrich Drepper <drepper@gmail.com>
22772
22773 [BZ #12489]
22774 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22775 before performing relro protection. At old place add assertion
22776 to make sure nothing changed.
22777
d3f02e10
NS
227782011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22779 Glauber de Oliveira Costa <glommer@gmail.com>
22780
22781 * elf/elf.h: Add new ARM TLS relocs.
22782
d55fd7a5
RA
227832011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22784
22785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22786 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22787 cast from r3.
22788 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22789 'tests' variable.
22790 * sysdeps/wordsize-64/tst-writev.c: New file.
22791
2206397e
RA
227922011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22793
22794 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22795 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22796 insns in _dl_start to prevent a TOC reference before relocs are
22797 resolved.
22798
e9433893
UD
227992011-02-15 Ulrich Drepper <drepper@gmail.com>
22800
22801 [BZ #12469]
22802 * Makeconfig: Remove RANLIB definition.
22803 * Makerules: Don't use RANLIB.
22804 * aclocal.m4: Remove ranlib test.
22805 * configure.in: No need to check for ranlib.
22806 * elf/rtld-Rules: Don't use RANLIB.
22807
f75286c6
ST
228082011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22809
8e31c82d
ST
22810 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22811 protection macro.
22812 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22813 inclusion protection macro.
22814
f75286c6
ST
22815 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22816 SIGRTMIN and SIGRTMAX and print information in that case only when
22817 SIGRTMIN is defined.
22818
c1d0e639
JJ
228192011-02-11 Jakub Jelinek <jakub@redhat.com>
22820
22821 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22822 arginfo fn returning -1.
22823
22824 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22825 and thousands string is zero terminated.
22826
edf9294e
AS
228272011-02-03 Andreas Schwab <schwab@redhat.com>
22828
22829 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22830 sysdeps/unix/sysv/linux/bits/socket.h.
22831
2b7e92df
ST
228322011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22833
edf9294e
AS
22834 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22835 (__CPU_COUNT): Remove old macros.
22836 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22837 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22838 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22839 (__sched_cpualloc, __sched_cpufree): Add declarations.
22840
a4c7ea7b
UD
228412011-02-05 Ulrich Drepper <drepper@gmail.com>
22842
22843 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22844 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22845 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22846 (readdhstai): Return value of addhstaiX call.
22847 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22848 (addgrbyX): Return value returned by cache_addgr.
22849 (readdgrbyname): Return value returned by addgrbyX.
22850 (readdgrbygid): Likewise.
22851 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22852 (addpwbyX): Return value returned by cache_addpw.
22853 (readdpwbyname): Return value returned by addhstbyX.
22854 (readdpwbyuid): Likewise.
22855 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22856 (addservbyX): Return value returned by cache_addserv.
22857 (readdservbyname): Return value returned by addservbyX:
22858 (readdservbyport): Likewise.
22859 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22860 (addhstbyX): Return value returned by cache_addhst.
22861 (readdhstbyname): Return value returned by addhstbyX.
22862 (readdhstbyaddr): Likewise.
22863 (readdhstbynamev6): Likewise.
22864 (readdhstbyaddrv6): Likewise.
22865 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22866 (readdinitgroups): Return value returned by addinitgroupsX.
22867 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22868 (prune_cache): Keep track of timeout value of re-added entries.
22869 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22870 * nscd/nscd.h: Adjust prototypes of readd* functions.
22871
a0bf67cc
RM
228722011-02-04 Roland McGrath <roland@redhat.com>
22873
22874 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22875 (nis_stats): Likewise.
22876 * nis/nis_modify.c (nis_modify): Likewise.
22877 * nis/nis_remove.c (nis_remove): Likewise.
22878 * nis/nis_add.c (nis_add): Likewise.
22879
22880 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22881
22882 * posix/fnmatch_loop.c: Add some consts.
22883
22884 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22885
435b95eb
L
228862011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22887
22888 [BZ #12460]
22889 * config.make.in (config-cflags-novzeroupper): Define.
22890 * configure.in: Substitute libc_cv_cc_novzeroupper.
22891 * elf/Makefile (AVX-CFLAGS): Define.
22892 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22893 (CFLAGS-tst-auditmod4a.c): Likewise.
22894 (CFLAGS-tst-auditmod4b.c): Likewise.
22895 (CFLAGS-tst-auditmod6b.c): Likewise.
22896 (CFLAGS-tst-auditmod6c.c): Likewise.
22897 (CFLAGS-tst-auditmod7b.c): Likewise.
22898 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22899
8517b15e
UD
229002011-02-02 Ulrich Drepper <drepper@gmail.com>
22901
22902 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22903 function to the callback.
22904 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22905
10a656fe
AS
229062011-02-02 Andreas Schwab <schwab@redhat.com>
22907
22908 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22909 of errno.
22910
968dad0a
UD
229112011-01-19 Ulrich Drepper <drepper@gmail.com>
22912
9f94d2ea 22913 [BZ #11724]
968dad0a
UD
22914 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22915 of constructors.
22916 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22917 of destructors.
22918 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22919
22920 [BZ #11724]
22921 * elf/Makefile: Add rules to build and run new test.
22922 * elf/tst-initorder.c: New file.
22923 * elf/tst-initorder.exp: New file.
22924 * elf/tst-initordera1.c: New file.
22925 * elf/tst-initordera2.c: New file.
22926 * elf/tst-initordera3.c: New file.
22927 * elf/tst-initordera4.c: New file.
22928 * elf/tst-initorderb1.c: New file.
22929 * elf/tst-initorderb2.c: New file.
22930 * elf/tst-order-a1.c: New file.
22931 * elf/tst-order-a2.c: New file.
22932 * elf/tst-order-a3.c: New file.
22933 * elf/tst-order-a4.c: New file.
22934 * elf/tst-order-b1.c: New file.
22935 * elf/tst-order-b2.c: New file.
22936 * elf/tst-order-main.c: New file.
22937 New test case by George Gensure <werkt0@gmail.com>.
22938
86e92359
UD
229392010-10-01 Andreas Schwab <schwab@redhat.com>
22940
22941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22942 decoding ACE if AI_CANONIDN.
22943
5d5732b0
UD
229442011-01-18 Ulrich Drepper <drepper@gmail.com>
22945
22946 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22947
a77e8cbc
UD
229482011-01-17 Ulrich Drepper <drepper@gmail.com>
22949
6392473f
UD
22950 * version.h (RELEASE): Bump for 2.13 release.
22951 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22952
620a0529
UD
22953 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22954
18ba70a5
UD
22955 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22956 MADV_NOHUGEPAGE.
32465c3e
UD
22957 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22958 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22959 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22960 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22961 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22962 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22963
c0dafcf1
UD
22964 * posix/getconf.c: Update copyright year.
22965 * catgets/gencat.c: Likewise.
22966 * csu/version.c: Likewise.
22967 * debug/catchsegv.sh: Likewise.
22968 * debug/xtrace.sh: Likewise.
22969 * elf/ldconfig.c: Likewise.
22970 * elf/ldd.bash.in: Likewise.
22971 * elf/sprof.c (print_version): Likewise.
22972 * iconv/iconv_prog.c: Likewise.
22973 * iconv/iconvconfig.c: Likewise.
22974 * locale/programs/locale.c: Likewise.
22975 * locale/programs/localedef.c: Likewise.
22976 * malloc/memusage.sh: Likewise.
22977 * malloc/mtrace.pl: Likewise.
22978 * nscd/nscd.c (print_version): Likewise.
22979 * nss/getent.c: Likewise.
22980
a77e8cbc
UD
22981 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22982 PF_CAIF, and PF_ALG.
22983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22984
77e8bddf
AS
229852011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22986
1f20b93a
AS
22987 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22988 (modules-names): Use them.
22989 (ifunc-test-modules, ifunc-pie-tests): Define.
22990 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22991 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22992 (test-extras): Likewise.
22993 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22994 $(compile-command.c).
22995 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22996 (all-built-dso): Define.
22997 (check-textrel.out, check-execstack.out): Depend on it.
22998
77e8bddf
AS
22999 * configure.in: Don't override --enable-multi-arch.
23000
bc425b33
UD
230012011-01-15 Ulrich Drepper <drepper@gmail.com>
23002
23003 [BZ #6812]
23004 * nscd/hstcache.c (tryagain): Define.
23005 (cache_addhst): Return tryagain not notfound for temporary errors.
23006 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23007 failed.
23008
794c3ad3
UD
230092011-01-14 Ulrich Drepper <drepper@gmail.com>
23010
70181fdd
UD
23011 [BZ #10563]
23012 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23013 to make the syscall.
23014 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23015
794c3ad3
UD
23016 [BZ #12378]
23017 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23018 and fall back to matching as normal character if the string ends before
23019 the matching ']' is found. This is what POSIX requires.
23020 * posix/testfnm.c: Adjust test result.
23021 * posix/globtest.sh: Adjust test result. Add new test.
23022 * posix/tst-fnmatch.input: Likewise.
23023 * posix/tst-fnmatch2.c: Add new test.
23024
68dc9497
AS
230252010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23026
23027 * elf/Makefile (check-execstack): Revert last change. Depend on
23028 check-execstack.h.
23029 (check-execstack.h): New target.
23030 (generated): Add check-execstack.h.
23031 * elf/check-execstack.c: Include "check-execstack.h".
23032 (main): Revert last change.
23033 (handle_file): Return zero if GNU_STACK is absent and
23034 DEFAULT_STACK_PERMS doesn't include PF_X.
23035
451f001b
UD
230362011-01-13 Ulrich Drepper <drepper@gmail.com>
23037
cfa28e56
UD
23038 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23039 in child fails because the descriptor is already closed.
8cf8ce17
UD
23040 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23041 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23042 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23043
1086d70d
UD
23044 [BZ #12397]
23045 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23046 syscall.
23047
451f001b
UD
23048 [BZ #10484]
23049 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23050 temporary buffer used to handle multi lookups locally.
a85b5cb4 23051 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23052
08769175
UD
230532011-01-12 Ulrich Drepper <drepper@gmail.com>
23054
23055 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23056 loader is ld.so.
23057
5e49c52e
UD
230582011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23059
23060 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23061 alignment for SSE2.
23062
60522a5f
UD
230632011-01-12 Ulrich Drepper <drepper@gmail.com>
23064
23065 [BZ #12394]
23066 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23067 characters. When rounding increased number of integer digits recompute
23068 number of groups.
23069 * stdio-common/tst-grouping.c: New file.
23070 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23071
f257bbd7
UD
230722011-01-09 Ulrich Drepper <drepper@gmail.com>
23073
23074 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23075 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23076
23077 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23078 void.
23079 * bits/select.h: Likewise.
23080
fa9c15cb
UD
230812011-01-08 Ulrich Drepper <drepper@gmail.com>
23082
23083 * po/ja.po: Update from translation team.
23084
16c2895f
DM
230852011-01-04 David S. Miller <davem@sunset.davemloft.net>
23086
23087 [BZ #11155]
23088 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23089 implementation just like for lxstat, fxstatat, et al.
23090
2543fef2
JM
230912010-12-27 Jim Meyering <meyering@redhat.com>
23092
23093 [BZ #12348]
23094 * posix/regexec.c (build_trtable): Return failure indication upon
23095 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23096
98727dbe
UD
230972010-12-25 Ulrich Drepper <drepper@gmail.com>
23098
5bd6dc5c
UD
23099 [BZ #12201]
23100 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23101 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23102 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23103 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23104
97983464
UD
23105 [BZ #12207]
23106 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23107
98727dbe
UD
23108 [BZ #12204]
23109 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23110 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23111
4a531bb0
L
231122010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23113
23114 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23115 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23116 script has SORT_BY_INIT_PRIORITY.
23117 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23118 NO_CTORS_DTORS_SECTIONS is defined.
23119 * elf/soinit.c: Likewise.
23120 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23121 NO_CTORS_DTORS_SECTIONS is defined.
23122 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23123 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23124 * sysdeps/sh/init-first.c: Likewise.
23125 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23126
07eb4b71
UD
231272010-12-24 Ulrich Drepper <drepper@gmail.com>
23128
23129 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23130 always use the slow path.
23131
30950a5f
RA
231322010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23133
23134 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23135 similar rule which adds the sysdep directories to the header search in
23136 order to pick up the correct platform stackinfo.h.
23137 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23138 perform test if it is, otherwise return successfully without testing.
23139 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23140 DEFAULT_STACK_PERMS define in stackinfo.h.
23141 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23142 defined in stackinfo.h.
23143 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23144 DEFAULT_STACK_PERMS defined in stackinfo.h.
23145 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23146 * sysdeps/ia64/stackinfo.h: Likewise.
23147 * sysdeps/s390/stackinfo.h: Likewise.
23148 * sysdeps/sh/stackinfo.h: Likewise.
23149 * sysdeps/sparc/stackinfo.h: Likewise.
23150 * sysdeps/x86_64/stackinfo.h: Likewise.
23151 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23152 PF_X for powerpc64. Retain PF_X for powerpc32.
23153
db753e2c
UD
231542010-12-19 Ulrich Drepper <drepper@gmail.com>
23155
14b697f7
UD
23156 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23157 accurately.
db753e2c
UD
23158 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23159 GETDENTS_64BIT_ALIGNED.
23160
28300719
UD
231612010-12-14 Ulrich Drepper <dreper@gmail.com>
23162
14b697f7 23163 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23164
4f197237
AS
231652010-12-10 Andreas Schwab <schwab@redhat.com>
23166
dbb0472f
AS
23167 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23168 _GNU_SOURCE.
23169
4f197237
AS
23170 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23171 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23172 Remove __restrict.
23173 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23174 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23175
fb88ac72
UD
231762010-12-09 Ulrich Drepper <drepper@gmail.com>
23177
23178 [BZ #11655]
23179 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23180 are initialized.
23181
42acbb92
JJ
231822010-12-09 Jakub Jelinek <jakub@redhat.com>
23183
23184 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23185
c038d98d
UD
231862010-12-03 Ulrich Drepper <drepper@gmail.com>
23187
23188 * po/it.po: Update from translation team.
23189
3a4a2499
L
231902010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23191
23192 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23193 unused codes.
23194
1e24cf6e
UD
231952010-11-30 Ulrich Drepper <drepper@gmail.com>
23196
23197 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23198
a7690819
AS
231992010-11-24 Andreas Schwab <schwab@redhat.com>
23200
23201 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23202 specially.
23203 (gaih_getanswer_slice): Likewise.
23204
3bf8d1b1
JJ
232052010-10-20 Jakub Jelinek <jakub@redhat.com>
23206
23207 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23208
6db52fbb
PB
232092010-05-31 Petr Baudis <pasky@suse.cz>
23210
23211 [BZ #11149]
23212 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23213 silently even in the chroot mode.
23214
eaca7569
UD
232152010-11-22 Ulrich Drepper <drepper@gmail.com>
23216
23217 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23218 last patch a bit. Pretty printing
23219
3056dcdb
UD
232202010-05-31 Petr Baudis <pasky@suse.cz>
23221
23222 [BZ #10085]
23223 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23224 initialization of skip_initgroups_dyn.
23225
cf7c9078
UD
232262010-11-19 Ulrich Drepper <drepper@gmail.com>
23227
23228 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23229 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23230
a1fb5e3e
UD
232312010-11-16 Ulrich Drepper <drepper@gmail.com>
23232
23233 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23234
3540d66b
AS
232352010-11-11 Andreas Schwab <schwab@redhat.com>
23236
23237 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23238 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23239 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23240 ($(objpfx)tst-fnmatch-mem): New rule.
23241 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23242 * posix/tst-fnmatch.c (main): Call mtrace.
23243
13b69574
L
232442010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23245
23246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23247 Support Intel processor model 6 and model 0x2c.
23248
da93d214
LM
232492010-11-10 Luis Machado <luisgpm@br.ibm.com>
23250
23251 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23252 signed comparison.
23253
8ca52c6e
L
232542010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23255
23256 [BZ #12205]
23257 * string/test-strncasecmp.c (check_result): New function.
23258 (do_one_test): Use it.
23259 (check1): New function.
23260 (test_main): Use it.
23261 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23262 Support strcasecmp and strncasecmp.
23263
69da074d
UD
232642010-11-08 Ulrich Drepper <drepper@gmail.com>
23265
23266 [BZ #12194]
23267 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23268 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23269
ff02d528
L
232702010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23271
23272 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23273 IFUNC support.
23274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23275 memset-x86-64.
23276 * sysdeps/x86_64/multiarch/bzero.S: New file.
23277 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23278 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23279 * sysdeps/x86_64/multiarch/memset.S: New file.
23280 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23282 Set bit_Prefer_SSE_for_memop for Intel processors.
23283 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23284 Define.
23285 (index_Prefer_SSE_for_memop): Define.
23286 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23287
344d0b54
LM
232882010-11-04 Luis Machado <luisgpm@br.ibm.com>
23289
23290 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23291 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23292
c0dde15b
UD
232932010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23294
23295 [BZ #12191]
23296 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23297 (__x86_64_raw_data_cache_size_half): Likewise.
23298 (__x86_64_raw_shared_cache_size): Likewise.
23299 (__x86_64_raw_shared_cache_size_half): Likewise.
23300
23301 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23302 (__x86_64_raw_data_cache_size_half): Likewise.
23303 (__x86_64_raw_shared_cache_size): Likewise.
23304 (__x86_64_raw_shared_cache_size_half): Likewise.
23305 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23306 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23307 and __x86_64_raw_shared_cache_size_half. Round
23308 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23309 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23310 to multiple of 256 bytes.
23311
0e516e0e
MS
233122010-11-03 Ulrich Drepper <drepper@gmail.com>
23313
23314 [BZ #12167]
23315 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23316 of inacessible symlinks. Verify result of symlink before returning it.
23317 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23318 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23319
0e012e87
ER
233202010-10-28 Erich Ritz <erichritz@gmail.com>
23321
23322 * math/math.h (isinf): Fix typo in comment.
23323
de0ff7bc
UD
233242010-11-01 Ulrich Drepper <drepper@gmail.com>
23325
23326 * po/da.po: Update from translation team.
23327
fa41c84d
UD
233282010-10-26 Ulrich Drepper <drepper@gmail.com>
23329
23330 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23331 is added to the list.
23332
f0967738
AK
233332010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23334 Ulrich Drepper <drepper@gmail.com>
23335
23336 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23337 the global list here. Move code to...
23338 (_dl_add_to_namespace_list): ...here. New function.
23339 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23340 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23341 * elf/dl-load.c (lose): Don't remove the element from the list.
23342 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23343 (_dl_map_object): Likewise.
23344
233452010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23346
23347 [BZ #12159]
23348 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23349 into all bytes of SSE register.
23350 Patch by Richard Li <richardpku@gmail.com>.
23351
f0967738 233522010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23353
23354 [BZ #12140]
23355 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23356 perturbing.
23357
d0b9e94f
MB
233582010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23359
23360 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23361 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23362 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23363 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23365 submachine.
23366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23367
8e9f92e9
AS
233682010-10-22 Andreas Schwab <schwab@redhat.com>
23369
23370 * include/dlfcn.h (__RTLD_SECURE): Define.
23371 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23372 mode & __RTLD_SECURE instead.
23373 (open_path): Rename preloaded parameter to secure.
23374 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23375 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23376 * elf/dl-deps.c (openaux): Likewise.
23377 * elf/rtld.c (struct map_args): Remove is_preloaded.
23378 (map_doit): Don't use it.
23379 (dl_main): Likewise.
23380 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23381 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23382
bc96fbda
AS
233832010-09-09 Andreas Schwab <schwab@redhat.com>
23384
23385 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23386 (sysd-rules-targets): Remove duplicates.
23387 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23388 rtld-%.$o dependency.
23389
22cd1c9b
AS
233902010-10-18 Andreas Schwab <schwab@redhat.com>
23391
23392 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23393 _dl_map_object do it.
23394
18edac48
UD
233952010-10-19 Ulrich Drepper <drepper@gmail.com>
23396
23397 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23398 fast fma builtins, define the macros in the C99 standard.
23399 (FP_FAST_FMAF): Likewise.
23400 (FP_FAST_FMAL): Likewise.
23401 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23402
23403 * bits/mathdef.h: Update copyright year.
23404 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23405
d2050124
MM
234062010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23407
23408 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23409 builtins, define the macros in the C99 standard.
23410 (FP_FAST_FMAF): Likewise.
23411 (FP_FAST_FMAL): Likewise.
23412 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23413 multiply/add.
23414 (FP_FAST_FMAF): Likewise.
23415
475facd1
JJ
234162010-10-15 Jakub Jelinek <jakub@redhat.com>
23417
23418 [BZ #3268]
23419 * math/libm-test.inc (fma_test): Some new testcases.
23420 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23421 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23422 y and infinite z. Do multiplication by C already in long double.
23423 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23425 y and infinite z. Do bitwise or of inexact bit into u.d.
23426 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23427 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23428 * sysdeps/i386/fpu/s_fma.S: Removed.
23429 * sysdeps/i386/fpu/s_fmal.S: Removed.
23430
7c08a05c
JJ
234312010-10-16 Jakub Jelinek <jakub@redhat.com>
23432
23433 [BZ #3268]
23434 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23436 computation is not scheduled after fetestexcept. Fix value
23437 of minimum denormal long double.
23438
f3f7372d
JJ
234392010-10-14 Jakub Jelinek <jakub@redhat.com>
23440
23441 [BZ #3268]
23442 * math/libm-test.inc (fma_test): Add some more tests.
23443 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23444 correctly.
23445
14d43591
AS
234462010-10-15 Andreas Schwab <schwab@redhat.com>
23447
23448 * scripts/data/localplt-s390-linux-gnu.data: New file.
23449 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23450
5e908464
JJ
234512010-10-13 Jakub Jelinek <jakub@redhat.com>
23452
23453 [BZ #3268]
23454 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23455 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23456 instead of dbl-64.
23457 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23458 inlines.
23459 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23461 if one of x and y is very large and the other is subnormal.
23462 * sysdeps/s390/fpu/s_fmaf.c: New file.
23463 * sysdeps/s390/fpu/s_fma.c: New file.
23464 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23465 * sysdeps/powerpc/fpu/s_fma.S: New file.
23466 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23467 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23468 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23469
234702010-10-12 Jakub Jelinek <jakub@redhat.com>
23471
23472 [BZ #3268]
23473 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23474 fma tests.
23475 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23476 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23477 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23478 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23479 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23480 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23481 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23482
b833d51f
UD
234832010-10-12 Ulrich Drepper <drepper@redhat.com>
23484
23485 [BZ #12078]
23486 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23487 * posix/bug-regex31.input: Add test case.
23488
1751705d
UD
234892010-10-11 Ulrich Drepper <drepper@gmail.com>
23490
e9b9cbf5
UD
23491 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23492 * posix/bug-regex31.input: New file.
23493
23494 [BZ #12078]
23495 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23496 (parse_sub_exp): Fix last change, use postorder.
23497
ef06edbe
UD
23498 * posix/bug-regex31.c: New file.
23499 * posix/Makefile: Add rules to build and run bug-regex31.
23500
a129c80d
UD
23501 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23502
23503 [BZ #12078]
23504 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23505
b76b818e
UD
23506 [BZ #12108]
23507 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23508 to have entries in sys_siglist.
23509
1751705d
UD
23510 [BZ #12093]
23511 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23512 be NULL.
23513
9ff8d36f
JJ
235142010-10-07 Jakub Jelinek <jakub@redhat.com>
23515
23516 [BZ #3268]
23517 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23518 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23519 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23520 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23521 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23522 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23523 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23524 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23525 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23526 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23527 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23528 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23529 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23530 * math/ftestexcept.c (fetestexcept): Likewise.
23531 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23532 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23533 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23534 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23535 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23536 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23537 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23538
af325969
UD
235392010-10-11 Ulrich Drepper <drepper@gmail.com>
23540
c579b202 23541 [BZ #12107]
af325969
UD
23542 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23543 newline.
23544
67a67b95
UD
235452010-10-06 Ulrich Drepper <drepper@gmail.com>
23546
23547 * string/bug-strstr1.c: New file.
23548 * string/Makefile: Add rules to build and run bug-strstr1.
23549
5fb308bc
EB
235502010-10-05 Eric Blake <eblake@redhat.com>
23551
23552 [BZ #12092]
23553 * string/str-two-way.h (two_way_long_needle): Always clear memory
23554 when skipping input due to the shift table.
23555
45db99c7
UD
235562010-10-03 Ulrich Drepper <drepper@gmail.com>
23557
3b111893
UD
23558 [BZ #12005]
23559 * malloc/mcheck.c: Handle large requests.
23560
45db99c7
UD
23561 [BZ #12077]
23562 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23563 for strncmp and strncasecmp.
23564 * string/stratcliff.c: Add tests for strcmp and strncmp.
23565 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23566
cf7a1eb8
NI
235672010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23568
23569 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23570 __set_fpscr.
23571
6484ba5e
AJ
235722010-09-30 Andreas Jaeger <aj@suse.de>
23573
23574 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23575 (CGROUP_SUPER_MAGIC): Define.
23576 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23577 Handle btrfs and cgroup file systems.
23578 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23579 Likewise.
23580
91c42559
LM
235812010-09-27 Luis Machado <luisgpm@br.ibm.com>
23582
23583 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23584 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23585
87a97932
AK
235862010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23587
23588 [BZ #12067]
23589 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23590 trying to locate the ELF header.
23591
c21cc9bc
AS
235922010-09-27 Andreas Schwab <schwab@redhat.com>
23593
23594 [BZ #11611]
23595 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23596 Mask out sign-bit copies when constructing f_fsid.
23597
315970f6
PB
235982010-09-24 Petr Baudis <pasky@suse.cz>
23599
23600 * debug/stack_chk_fail_local.c: Add missing licence exception.
23601 * debug/warning-nop.c: Likewise.
23602
1ac7a2c7
JM
236032010-09-15 Joseph Myers <joseph@codesourcery.com>
23604
23605 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23606 implementing getdents64 using getdents syscall, set d_type if
23607 __ASSUME_GETDENTS32_D_TYPE.
23608
56801c50
AS
236092010-09-16 Andreas Schwab <schwab@redhat.com>
23610
23611 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23612 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23613
dda51327
UD
236142010-09-21 Ulrich Drepper <drepper@redhat.com>
23615
23616 [BZ #12037]
23617 * posix/unistd.h: Undo change of feature selection for ftruncate from
23618 2010-01-11.
23619
8ffcee4a
UD
236202010-09-20 Ulrich Drepper <drepper@redhat.com>
23621
a545ecd9 23622 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23623 detection.
23624
e24f0a8b
AS
236252010-09-20 Andreas Schwab <schwab@redhat.com>
23626
23627 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23628 fanotify_mark.
23629 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23630
7291c56f
AS
236312010-09-14 Andreas Schwab <schwab@redhat.com>
23632
23633 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23634 variables after CHECK_SP call.
23635 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23636
bc5fb037
AS
236372010-09-13 Andreas Schwab <schwab@redhat.com>
23638 Ulrich Drepper <drepper@redhat.com>
23639
23640 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23641 re-relocationg ld.so.
23642 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23643 _dl_init_paths call.
23644 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23645 here anymore.
23646
e66e7419
UD
236472010-09-14 Ulrich Drepper <drepper@redhat.com>
23648
23649 * resolv/res_init.c (__res_vinit): Count the default server we added.
23650
c044aa75
CLT
236512010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23652 Ulrich Drepper <drepper@redhat.com>
23653
23654 [BZ #11968]
23655 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23656 (____longjmp_chk): Use %ebx for saving value across system call.
23657 Add unwind info.
23658
32cf4069
AS
236592010-09-06 Andreas Schwab <schwab@redhat.com>
23660
23661 * manual/Makefile: Don't mix pattern rules with normal rules.
23662
817328ee
AS
236632010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23664
23665 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23666 operation.
23667 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23668 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23669 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23670 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23672 Likewise.
23673
29fddf61
UD
236742010-09-04 Ulrich Drepper <drepper@redhat.com>
23675
23676 [BZ #11979]
23677 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23678 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23679
0959ffc9
UD
236802010-09-02 Ulrich Drepper <drepper@redhat.com>
23681
23682 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23683 * sysdeps/x86_64/addmul_1.S: Likewise.
23684 * sysdeps/x86_64/lshift.S: Likewise.
23685 * sysdeps/x86_64/mul_1.S: Likewise.
23686 * sysdeps/x86_64/rshift.S: Likewise.
23687 * sysdeps/x86_64/sub_n.S: Likewise.
23688 * sysdeps/x86_64/submul_1.S: Likewise.
23689
ece29840
ST
236902010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23691
0959ffc9
UD
23692 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23693 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23694 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23695 * bits/sched.h [__need_schedparam]
ece29840 23696 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23697 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23698 (__defined_schedparam): Define to 1.
ece29840
ST
23699 (__sched_param): New structure, identical to sched_param.
23700 (__need_schedparam): Undefine.
23701
e53a31fe
MF
237022010-08-31 Mike Frysinger <vapier@gentoo.org>
23703
fdc0c10d
MF
23704 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23705 (epoll_create1): Declare.
23706
e53a31fe
MF
23707 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23708
a726d796
AS
237092010-08-31 Andreas Schwab <schwab@redhat.com>
23710
23711 [BZ #7066]
23712 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23713 shifting retval into place.
23714
2f3e3dc7
UD
237152010-09-01 Ulrich Drepper <drepper@redhat.com>
23716
f2933da9
UD
23717 * nis/rpcsvc/nis.h: Update copyright notice.
23718 * nis/rpcsvc/nis.x: Likewise.
23719 * nis/rpcsvc/nis_callback.h: Likewise.
23720 * nis/rpcsvc/nis_callback.x: Likewise.
23721 * nis/rpcsvc/nis_object.x: Likewise.
23722 * nis/rpcsvc/nis_tags.h: Likewise.
23723 * nis/rpcsvc/yp.h: Likewise.
23724 * nis/rpcsvc/yp.x: Likewise.
23725 * nis/rpcsvc/ypupd.h: Likewise.
23726 * nis/yp_xdr.c: Likewise.
23727 * nis/ypupdate_xdr.c: Likewise.
23728
2f3e3dc7
UD
23729 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23730 mainly the body of pmap_getport. Add parameters to specify timeouts.
23731 (pmap_getport): Use __libc_rpc_getport.
23732 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23733 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23734 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23735
f3dcc2f9
AS
237362010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23737
23738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23739 fanotify_mark.
23740
6d34eb5b
RM
237412010-08-27 Roland McGrath <roland@redhat.com>
23742
23743 * sysdeps/i386/i686/multiarch/Makefile
23744 (CFLAGS-varshift.c): New variable.
23745
9ea3de11
UD
237462010-08-27 Ulrich Drepper <drepper@redhat.com>
23747
c96d23fc
UD
23748 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23749 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23750
9ea3de11
UD
23751 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23752
23753 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23754
623aac7f
L
237552010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23756
23757 * sysdeps/x86_64/strlen.S: Unroll the loop.
23758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23759 strlen-sse2 strlen-sse2-bsf.
23760 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23761 __strlen_no_bsf if bit_Slow_BSF is set.
23762 (__strlen_sse42): Removed.
23763 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23764 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23765
8b2b7715
RM
237662010-08-25 Roland McGrath <roland@redhat.com>
23767
23768 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23769 * sysdeps/x86_64/multiarch/varshift.c: New file.
23770 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23771 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23772 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23773 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23774
e73015f2
L
237752010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23776
23777 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23778 strlen-sse2 strlen-sse2-bsf.
23779 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23780 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23781 (__strlen_sse2): Removed.
23782 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23783 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23785 bit_Slow_BSF for Atom.
23786 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23787 (index_Slow_BSF): Define.
23788 (HAS_SLOW_BSF): Define.
23789
df24a73e
UD
237902010-08-25 Ulrich Drepper <drepper@redhat.com>
23791
23792 [BZ #10851]
23793 * resolv/res_init.c (__res_vinit): When no server address at all
23794 is given default to loopback.
23795
f2ac4868
RM
237962010-08-24 Roland McGrath <roland@redhat.com>
23797
09055553
RM
23798 * configure.in: Remove config-name.h generation.
23799 * configure: Regenerated.
23800 * config-name.in: File removed.
23801 * scripts/config-uname.sh: New file.
23802 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23803 ($(objdir)config-name.h): New target.
23804
f2ac4868
RM
23805 * sunrpc/rpc_parse.h: Avoid nested comment.
23806
73f27d5e
RH
238072010-08-24 Richard Henderson <rth@redhat.com>
23808 Ulrich Drepper <drepper@redhat.com>
23809 H.J. Lu <hongjiu.lu@intel.com>
23810
23811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23813 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23814 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23815 _mm_alignr_epi8 with _mm_loadu_si128.
23816 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23817 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23818 (__m128i_shift_right): Removed.
23819 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23820 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23821 * sysdeps/x86_64/multiarch/varshift.h: New file.
23822 * sysdeps/x86_64/multiarch/varshift.S: New file.
23823
84b9230c
MF
238242010-08-21 Mike Frysinger <vapier@gentoo.org>
23825
23826 * configure.in: Move assembler checks to before sysdep dir checking.
23827
9bbd0ddc
PB
238282010-08-20 Petr Baudis <pasky@suse.cz>
23829
23830 * LICENSES: Sync the sunrpc license.
23831
9da4bb31
UD
238322010-08-19 Ulrich Drepper <drepper@redhat.com>
23833
a7ab6ec8
UD
23834 * sunrpc/auth_des.c: Update copyright notice once again.
23835 * sunrpc/auth_none.c: Likewise.
23836 * sunrpc/auth_unix.c: Likewise.
23837 * sunrpc/authdes_prot.c: Likewise.
23838 * sunrpc/authuxprot.c: Likewise.
23839 * sunrpc/bindrsvprt.c: Likewise.
23840 * sunrpc/clnt_gen.c: Likewise.
23841 * sunrpc/clnt_perr.c: Likewise.
23842 * sunrpc/clnt_raw.c: Likewise.
23843 * sunrpc/clnt_simp.c: Likewise.
23844 * sunrpc/clnt_tcp.c: Likewise.
23845 * sunrpc/clnt_udp.c: Likewise.
23846 * sunrpc/clnt_unix.c: Likewise.
23847 * sunrpc/des_crypt.c: Likewise.
23848 * sunrpc/des_soft.c: Likewise.
23849 * sunrpc/get_myaddr.c: Likewise.
23850 * sunrpc/getrpcport.c: Likewise.
23851 * sunrpc/key_call.c: Likewise.
23852 * sunrpc/key_prot.c: Likewise.
23853 * sunrpc/openchild.c: Likewise.
23854 * sunrpc/pm_getmaps.c: Likewise.
23855 * sunrpc/pm_getport.c: Likewise.
23856 * sunrpc/pmap_clnt.c: Likewise.
23857 * sunrpc/pmap_prot.c: Likewise.
23858 * sunrpc/pmap_prot2.c: Likewise.
23859 * sunrpc/pmap_rmt.c: Likewise.
23860 * sunrpc/rpc/auth.h: Likewise.
23861 * sunrpc/rpc/auth_unix.h: Likewise.
23862 * sunrpc/rpc/clnt.h: Likewise.
23863 * sunrpc/rpc/des_crypt.h: Likewise.
23864 * sunrpc/rpc/key_prot.h: Likewise.
23865 * sunrpc/rpc/netdb.h: Likewise.
23866 * sunrpc/rpc/pmap_clnt.h: Likewise.
23867 * sunrpc/rpc/pmap_prot.h: Likewise.
23868 * sunrpc/rpc/pmap_rmt.h: Likewise.
23869 * sunrpc/rpc/rpc.h: Likewise.
23870 * sunrpc/rpc/rpc_des.h: Likewise.
23871 * sunrpc/rpc/rpc_msg.h: Likewise.
23872 * sunrpc/rpc/svc.h: Likewise.
23873 * sunrpc/rpc/svc_auth.h: Likewise.
23874 * sunrpc/rpc/types.h: Likewise.
23875 * sunrpc/rpc/xdr.h: Likewise.
23876 * sunrpc/rpc_clntout.c: Likewise.
23877 * sunrpc/rpc_cmsg.c: Likewise.
23878 * sunrpc/rpc_common.c: Likewise.
23879 * sunrpc/rpc_cout.c: Likewise.
23880 * sunrpc/rpc_dtable.c: Likewise.
23881 * sunrpc/rpc_hout.c: Likewise.
23882 * sunrpc/rpc_main.c: Likewise.
23883 * sunrpc/rpc_parse.c: Likewise.
23884 * sunrpc/rpc_parse.h: Likewise.
23885 * sunrpc/rpc_prot.c: Likewise.
23886 * sunrpc/rpc_sample.c: Likewise.
23887 * sunrpc/rpc_scan.c: Likewise.
23888 * sunrpc/rpc_scan.h: Likewise.
23889 * sunrpc/rpc_svcout.c: Likewise.
23890 * sunrpc/rpc_tblout.c: Likewise.
23891 * sunrpc/rpc_util.c: Likewise.
23892 * sunrpc/rpc_util.h: Likewise.
23893 * sunrpc/rpcinfo.c: Likewise.
23894 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23895 * sunrpc/rpcsvc/key_prot.x: Likewise.
23896 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23897 * sunrpc/rpcsvc/mount.x: Likewise.
23898 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23899 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23900 * sunrpc/rpcsvc/rex.x: Likewise.
23901 * sunrpc/rpcsvc/rstat.x: Likewise.
23902 * sunrpc/rpcsvc/rusers.x: Likewise.
23903 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23904 * sunrpc/rpcsvc/spray.x: Likewise.
23905 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23906 * sunrpc/rtime.c: Likewise.
23907 * sunrpc/svc.c: Likewise.
23908 * sunrpc/svc_auth.c: Likewise.
23909 * sunrpc/svc_authux.c: Likewise.
23910 * sunrpc/svc_raw.c: Likewise.
23911 * sunrpc/svc_run.c: Likewise.
23912 * sunrpc/svc_simple.c: Likewise.
23913 * sunrpc/svc_tcp.c: Likewise.
23914 * sunrpc/svc_udp.c: Likewise.
23915 * sunrpc/svc_unix.c: Likewise.
23916 * sunrpc/svcauth_des.c: Likewise.
23917 * sunrpc/xcrypt.c: Likewise.
23918 * sunrpc/xdr.c: Likewise.
23919 * sunrpc/xdr_array.c: Likewise.
23920 * sunrpc/xdr_float.c: Likewise.
23921 * sunrpc/xdr_mem.c: Likewise.
23922 * sunrpc/xdr_rec.c: Likewise.
23923 * sunrpc/xdr_ref.c: Likewise.
23924 * sunrpc/xdr_sizeof.c: Likewise.
23925 * sunrpc/xdr_stdio.c: Likewise.
23926
9da4bb31
UD
23927 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23928 handling.
23929
bdaa77bc
AS
239302010-08-19 Andreas Schwab <schwab@redhat.com>
23931
23932 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23933
fe2f79db
LM
239342010-08-19 Luis Machado <luisgpm@br.ibm.com>
23935
23936 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23937 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23938 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23939 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23940 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23941 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23942 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23943 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23944 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23945 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23946 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23947 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23948 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23949 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23950
b9b42ee0
AB
239512010-07-26 Anton Blanchard <anton@samba.org>
23952
23953 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23954 * malloc/arena.c (heap_trim): Likewise.
23955
1c06ba31
UD
239562010-08-16 Ulrich Drepper <drepper@redhat.com>
23957
23958 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23959 here. Not...
23960 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23961 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23962
f8392f40
L
239632010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23964
23965 * sysdeps/i386/elf/Makefile: New file.
23966
3162f12e
AS
239672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23968
23969 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23970 from fanotify_init.
23971 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23973
28c90b2c
UD
239742010-08-15 Ulrich Drepper <drepper@redhat.com>
23975
23976 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23977 of strncasecmp_l.
1feccb6c 23978 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23979
ca6bb004
UD
239802010-08-14 Ulrich Drepper <drepper@redhat.com>
23981
e9f82e0d
UD
23982 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23983 strncase_l-nonascii.
23984 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23985 Add strncase_l-ssse3.
23986 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23987 * sysdeps/x86_64/strcmp.S: Likewise.
23988 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23989 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23990 * sysdeps/x86_64/strncase.S: New file.
23991 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23992 * sysdeps/x86_64/strncase_l.S: New file.
23993 * string/Makefile (strop-tests): Add strncasecmp.
23994 * string/test-strncasecmp.c: New file.
23995
23996 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23997 warning.
23998
ca6bb004
UD
23999 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24000 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24001
052fa7b3
AS
240022010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24003
24004 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24005
962dba78
UD
240062010-08-12 Ulrich Drepper <drepper@redhat.com>
24007
24008 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24009 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24010 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24011
bebff237
AM
240122010-05-01 Alan Modra <amodra@gmail.com>
24013
24014 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24015 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24016 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24017 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24018 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24019 tidying. Don't tail-call __sigjmp_save for static lib.
24020 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24021 save location.
24022 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24023 (CALL_MCOUNT): Add eh info, and nop after bl.
24024 (TAIL_CALL_SYSCALL_ERROR): New macro.
24025 (PSEUDO_RET): Use it.
24026 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24027 Correct save location of integer regs and cr.
24028 (_dl_profile_resolve): Correct cr save location. Delete nops
24029 after bl when SHARED. Reduce cfi size a little by better
24030 placement of cfi directives.
24031 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24032 make a stack frame. Instead use parm save area as a temp.
24033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24034 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24036 Don't make a stack frame for parent, use parm save area.
24037 Increase child stack frame to 112 bytes. Don't save unused reg,
24038 and adjust reg usage. Set up cfi on error recovery and
24039 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24041 (__makecontext): Add dummy nop after jump to exit.
24042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24043 Use correct parm save area and cr save, reduce stack frame.
24044 Correct cfi for possible PSEUDO_RET frame setup.
24045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24046 Branch to local label emitted by PSEUDO_RET rather than
24047 __syscall_error.
24048
02637374
AS
240492010-08-12 Andreas Schwab <schwab@redhat.com>
24050
24051 [BZ #11904]
24052 * locale/programs/locale.c (print_assignment): New function.
24053 (show_locale_vars): Use it.
24054
c3e2f19b
UD
240552010-08-11 Ulrich Drepper <drepper@redhat.com>
24056
3cdaa6ad
UD
24057 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24058 field.
24059 (struct statfs64): Likewise.
24060 (_STATFS_F_FLAGS): Define.
24061 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24062 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24063 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24064 (ST_VALID): Define locally.
24065 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24066 __statvfs_getflags, use the provided value.
24067 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24068 __ASSUME_STATFS_F_FLAGS.
24069
754f7da3
UD
24070 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24071
10b3bedc
UD
24072 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24073 Add sys/fanotify.h.
24074 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24075 fanotify_mask for GLIBC_2.13.
24076 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24077 fanotify_init and fanotify_mark.
24078 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24079 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24080
c08fb0d7
UD
24081 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24082 Add prlimit.
24083 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24084 prlimit64 for GLIBC_2.13.
24085 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24086 prlimit64.
24087 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24088 syscall.
24089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24090 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24091 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24092 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24093 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24094 add prlimit alias.
24095 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24096
15bac72b
UD
24097 [BZ #11903]
24098 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24099 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24100
c3e2f19b
UD
24101 * nss/Makefile: Add rules to build and run tst-nss-test1.
24102 * shlib-versions: Add entry for libnss_test1.
24103 * nss/nss_test1.c: New file.
24104 * nss/tst-nss-test1.c: New file.
24105
24106 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24107 (__nss_configure_lookup): Set appropriate entry in
24108 __nss_configure_lookup to true.
24109 * nss/nsswitch.h: Define enum with indeces of databases in
24110 databases and __nss_database_custom arrays. Declare
24111 __nss_database_custom.
24112 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24113 to avoid using nscd when custom rules are installed.
24114 * nss/getXXbyYY_r.c: Likewise.
24115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24116
24117 * nss/nss_files/files-parse.c: Whitespace fixes.
24118
f15ce4d8
UD
241192010-08-09 Ulrich Drepper <drepper@redhat.com>
24120
24121 [BZ #11883]
24122 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24123 * posix/fnmatch_loop.c: Likewise.
24124
d22e4cc9
AK
241252010-07-17 Andi Kleen <ak@linux.intel.com>
24126
24127 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24128 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24129 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24130 * Versions.def [GLIBC_2.13]: Add.
24131
805bc17d
UD
241322010-08-06 Ulrich Drepper <drepper@redhat.com>
24133
24134 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24135 Also fail if tpwd after pwuid call is NULL.
24136
5a42321d
ST
241372010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24138
24139 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24140 when converting to ms.
24141
fd3ebeda
ST
241422010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24143
24144 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24145 EOPNOTSUPP errors with ENOTTY.
24146 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24147 EOPNOTSUPP errors with ENOTTY.
24148
73507d3a
UD
241492010-07-31 Ulrich Drepper <drepper@redhat.com>
24150
24151 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24152 Add strcasecmp_l-ssse3.
24153 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24154 strcasecmp.
24155 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24156 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24157 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24158
fe36dd02
UD
241592010-07-30 Ulrich Drepper <drepper@redhat.com>
24160
66f6765a
UD
24161 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24162
42e08a54
UD
24163 * string/Makefile (strop-tests): Add strcasecmp.
24164 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24165 strcasecmp_l-nonascii.
24166 (gen-as-const-headers): Add locale-defines.sym.
24167 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24168 * sysdeps/x86_64/strcasecmp.S: New file.
24169 * sysdeps/x86_64/strcasecmp_l.S: New file.
24170 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24171 * sysdeps/x86_64/locale-defines.sym: New file.
24172 * string/test-strcasecmp.c: New file.
24173
fe36dd02
UD
24174 * string/test-strcasestr.c: Test both ends of the range of characters.
24175 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24176
48cbc0d6
RM
241772010-07-29 Roland McGrath <roland@redhat.com>
24178
76e6d6bc 24179 [BZ #11856]
48cbc0d6
RM
24180 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24181
880113d9
UD
241822010-07-27 Ulrich Drepper <drepper@redhat.com>
24183
24184 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24185 for ld.so.
24186
deb9cabb
AS
241872010-07-27 Andreas Schwab <schwab@redhat.com>
24188
24189 * manual/memory.texi (Malloc Tunable Parameters): Document
24190 M_PERTURB.
24191
1c7570ff
RM
241922010-07-26 Roland McGrath <roland@redhat.com>
24193
24194 [BZ #11840]
24195 * configure.in (-fgnu89-inline check): Set and substitute
24196 gnu89_inline, not libc_cv_gnu89_inline.
24197 * configure: Regenerated.
24198 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24199
24fb0f88
UD
242002010-07-26 Ulrich Drepper <drepper@redhat.com>
24201
24202 * string/test-strnlen.c: New file.
24203 * string/Makefile (strop-tests): Add strnlen.
24204 * string/tester.c (test_strnlen): Add a few more test cases.
24205 * string/tst-strlen.c: Better error reporting.
24206
24207 * sysdeps/x86_64/strnlen.S: New file.
24208
8e96b93a
UD
242092010-07-24 Ulrich Drepper <drepper@redhat.com>
24210
24211 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24212 lower-latency instructions.
24213
dbc676d4
UD
242142010-07-23 Ulrich Drepper <drepper@redhat.com>
24215
24216 * string/test-strcasestr.c: New file.
24217 * string/test-strstr.c: New file.
24218 * string/Makefile (strop-tests): Add strstr and strcasestr.
24219 * string/str-two-way.h: Don't undefine MAX.
24220 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24221
f6a31e0e
AS
242222010-07-21 Andreas Schwab <schwab@redhat.com>
24223
24224 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24225 strcasestr-nonascii.
24226 (CFLAGS-strcasestr-nonascii.c): Define.
24227 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24228 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24229 Remove unused attribute.
24230
5dbc3b6c
RM
242312010-07-20 Roland McGrath <roland@redhat.com>
24232
24233 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24234 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24235 ld.so.cache was broken. With it, there is no way to disable dsocaps
24236 like LD_HWCAP_MASK can disable hwcaps.
24237
23d101d8
EPM
242382010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24239
24240 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24241
cc9f2e47
UD
242422010-07-16 Ulrich Drepper <drepper@redhat.com>
24243
24244 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24245 call in strcasestr.
24246 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24247 __strcasestr_sse42_nonascii.
24248 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24249 strcasestr-nonascii.c.
24250 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24251
77c1b069
LM
242522010-06-15 Luis Machado <luisgpm@br.ibm.com>
24253
24254 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24255 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24256 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24257 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24258
440566c3
UD
242592010-07-09 Ulrich Drepper <drepper@redhat.com>
24260
24261 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24262 fcntl.
24263
5be9d05d
AS
242642010-07-06 Andreas Schwab <schwab@redhat.com>
24265
c30b7ee2 24266 [BZ #11577]
5be9d05d
AS
24267 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24268 dl_signal_cerror.
24269
8a492a67
UD
242702010-07-06 Ulrich Drepper <drepper@redhat.com>
24271
24272 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24273 _PC_PIPE_BUF using F_GETPIPE_SZ.
24274
713df3d5
RM
242752010-07-05 Roland McGrath <roland@redhat.com>
24276
24277 * manual/arith.texi (Rounding Functions): Fix rint description
24278 implicit in round description.
24279
702e8f14
UD
242802010-07-02 Ulrich Drepper <drepper@redhat.com>
24281
24282 * elf/Makefile: Fix linking for a few tests to make recent linker
24283 happy.
24284
52ed8be9
AS
242852010-06-30 Andreas Schwab <schwab@redhat.com>
24286
24287 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24288 $(common-objpfx)libc_nonshared.a.
24289
f47c9a11
LM
242902010-06-21 Luis Machado <luisgpm@br.ibm.com>
24291
24292 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24293 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24294 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24295 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24296 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24297 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24298 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24299 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24314 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24315 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24316 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24317 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24318 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24319 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24320 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24321 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24322 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24323 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24324 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24325 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24340
6fb8cbcb
L
243412010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24342
24343 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24344 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24345 * string/memmove.c (memmove): Renamed to ...
24346 (MEMMOVE): ...this. Default to memmove.
24347 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24348 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24349 (END_CHK): Define.
24350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24351 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24352 mempcpy-ssse3-back memmove-ssse3-back.
24353 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24354 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24355 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24356 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24357 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24358 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24359 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24360 * sysdeps/x86_64/multiarch/memmove.c: New file.
24361 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24362 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24363 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24364 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24365 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24366 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24367 Define.
24368 (index_Fast_Copy_Backward): Define.
24369 (HAS_ARCH_FEATURE): Define.
24370 (HAS_FAST_REP_STRING): Define.
24371 (HAS_FAST_COPY_BACKWARD): Define.
24372
4e733bac 243732010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24374
24375 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24376 Restore proper fallback handling.
24377
63c4ed22
UD
243782010-06-19 Ulrich Drepper <drepper@redhat.com>
24379
ac2b484c
UD
24380 [BZ #11701]
24381 * posix/group_member.c (__group_member): Correct checking loop.
24382
63c4ed22
UD
24383 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24384 OOM in getpwuid_r correctly. Return error number when the caller
24385 should return, otherwise -1.
24386 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24387 call returning > 0 value.
24388 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24389
765ade4b
AS
243902010-06-07 Andreas Schwab <schwab@redhat.com>
24391
24392 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24393 libc_nonshared.a from targets in modules-names.
24394
80da2e09
KS
243952010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24396
24397 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24398 requires it.
24399
158db122
LM
244002010-06-10 Luis Machado <luisgpm@br.ibm.com>
24401
24402 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24403 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24404 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24405 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24406
caa78cf8
AS
244072010-06-02 Andreas Schwab <schwab@redhat.com>
24408
24409 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24410
b2ef2c01
UD
244112010-06-14 Ulrich Drepper <drepper@redhat.com>
24412
24413 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24414 and F_GETPIPE_SZ.
24415 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24416 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24419 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24420 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24421
fbd643b6
RM
244222010-06-14 Roland McGrath <roland@redhat.com>
24423
24424 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24425
f32f2869
JJ
244262010-06-07 Jakub Jelinek <jakub@redhat.com>
24427
24428 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24429 __REDIRECT followed by __THROW.
24430 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24431 * posix/getopt.h (getopt): Likewise.
24432
2a50c078
EPM
244332010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24434
24435 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24436 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24437 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24438 in AT_FLAGS.
24439 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24440 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24441
eb5ad2eb
LM
244422010-05-28 Luis Machado <luisgpm@br.ibm.com>
24443
24444 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24445
3c88fe1e
L
244462010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24447
24448 [BZ #11640]
24449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24450 Properly check family and model.
24451
d2f73151
TY
244522010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24453
24454 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24455
ebd2e13d
LM
244562010-05-24 Luis Machado <luisgpm@br.ibm.com>
24457
24458 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24459
b32b8b45
UD
244602010-05-21 Ulrich Drepper <drepper@redhat.com>
24461
24462 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24463 symbol reference.
24464
9acbe24d
AS
244652010-05-19 Andreas Schwab <schwab@redhat.com>
24466
24467 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24468 symbol reference.
24469
f0ccf6ea
AS
244702010-05-21 Andreas Schwab <schwab@redhat.com>
24471
3d04ff3a
AS
24472 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24473 and internal_recvmmsg.
24474 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24475 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24476 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24477 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24478
f0ccf6ea
AS
24479 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24480 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24481 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24482
5b08ac57
AS
244832010-05-20 Andreas Schwab <schwab@redhat.com>
24484
24485 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24486
4828935d
LM
244872010-05-17 Luis Machado <luisgpm@br.ibm.com>
24488
24489 POWER7 optimizations.
24490 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24491 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24492
373d545e
UD
244932010-05-19 Ulrich Drepper <drepper@redhat.com>
24494
24495 * version.h: Update for 2.13 development version.
24496
21a2b1ae
AS
244972010-05-12 Andrew Stubbs <ams@codesourcery.com>
24498
24499 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24500 exceptions. Return 0.
24501
3f7dcb2b
RM
245022010-05-07 Roland McGrath <roland@redhat.com>
24503
24504 * elf/ldconfig.c (main): Add a const.
24505
5f24d53a 245062010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24507
a160f8d8
UD
24508 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24509 (args_options): Add no-idn option.
24510 (ahosts_keys_int): Add idn_flags to ai_flags.
24511 (parse_option): Handle 'i' option to clear idn_flags.
24512
5f24d53a
UD
24513 * malloc/malloc.c (_int_free): Possible race in the most recently
24514 added check. Only act on the data if no current modification
24515 happened.
265bb1ce
UD
24516
24517See ChangeLog.17 for earlier changes.