]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
S/390: Fix setjmp/longjmp FPR save/restore
[thirdparty/glibc.git] / ChangeLog
CommitLineData
5655a0b5
AC
12013-01-23 Adam Conrad <adconrad@0c3.net>
2
3 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4 (LDFLAGS-tst-array5): Likewise.
5
052aff95
JM
62013-01-23 Joseph Myers <joseph@codesourcery.com>
7
8 [BZ #15036]
9 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13
7c1e01aa
DM
142013-01-21 David S. Miller <davem@davemloft.net>
15
16 * sysdeps/sparc/backtrace.c: New file.
17 * sysdeps/sparc/sparc32/backtrace.h: New file.
18 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19 * sysdeps/sparc/sparc64/backtrace.h: New file.
20 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22 -funwind-tables.
23
ab087e0a
AS
242013-01-21 Andreas Schwab <schwab@suse.de>
25
26 [BZ #15020]
27 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28 closed its stdout.
29
ed689c2f
AS
302013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31
32 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33 "mpa2.h".
34 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35
31d470ac
JM
362013-01-18 Joseph Myers <joseph@codesourcery.com>
37 Mark Mitchell <mark@codesourcery.com>
38 Tom de Vries <tom@codesourcery.com>
39 Paul Pluzhnikov <ppluzhnikov@google.com>
40
41 * debug/tst-backtrace2.c: New file.
42 * debug/tst-backtrace3.c: Likewise.
43 * debug/tst-backtrace4.c: Likewise.
44 * debug/tst-backtrace5.c: Likewise.
45 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46 (CFLAGS-tst-backtrace3.c): Likewise.
47 (CFLAGS-tst-backtrace4.c): Likewise.
48 (CFLAGS-tst-backtrace5.c): Likewise.
49 (LDFLAGS-tst-backtrace2): Likewise.
50 (LDFLAGS-tst-backtrace3): Likewise.
51 (LDFLAGS-tst-backtrace4): Likewise.
52 (LDFLAGS-tst-backtrace5): Likewise.
53 (tests): Add new tests tst-backtrace2, tst-backtrace3,
54 tst-backtrace4 and tst-backtrace5.
55
90567f30 562013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
57 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
58
59 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
62 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
63 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65 "+r" and remove output regs list as redundant. Add explicit inline
66 asm to specify register of return val to work around compiler codegen
67 bug. Remove (int) cast on return value. Add return type parameter to
68 use in macro so that this macro does not truncate return value for
69 64-bit values.
70 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71 pass to INTERNAL_VSYSCALL_NCS.
72 (INLINE_VSYSCALL): Add 'long int' as return type to
73 INTERNAL_VSYSCALL_NCS macro invocation.
74 (INTERNAL_VSYSCALL): Add 'long int' as return type to
75 INTERNAL_VSYSCALL_NCS macro invocation.
76 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77
d3b9ea61
SP
782013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
79
0b57daeb
SP
80 [BZ #14496]
81 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
82 Fix application of SIMD FP exception mask.
83
caa99d06
SP
84 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
85 mp_no from a power of two.
86 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
87 __mpexp_twomm1. Use __pow_mp.
88
d3b9ea61
SP
89 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
90 multiplication.
91
1dbaee3c
DM
922013-01-17 David S. Miller <davem@davemloft.net>
93
94 * sysdeps/sparc/fpu/libm-test-ulps: Update.
95
728d7b43
JM
962013-01-17 Joseph Myers <joseph@codesourcery.com>
97
98 [BZ #15023]
99 * include/complex.h: Condition contents on [!_COMPLEX_H].
100 (__kernel_casinhf): New prototype.
101 (__kernel_casinh): Likewise.
102 (__kernel_casinhl): Likewise.
103 * math/Makefile (libm_calls): Add k_casinh.
104 * math/k_casinh.c: New file.
105 * math/k_casinhf.c: Likewise.
106 * math/k_casinhl.c: Likewise.
107 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
108 finite nonzero arguments.
109 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
110 finite nonzero arguments.
111 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
112 finite nonzero arguments.
113 * math/s_casinh.c: Do not include <float.h>.
114 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
115 * math/s_casinhf.c: Do not include <float.h>.
116 (__casinhf): Move code for finite nonzero arguments to
117 k_casinhf.c.
118 * math/s_casinhl.c: Do not include <float.h>.
119 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
120 redefine.
121 (__casinhl): Move code for finite nonzero arguments to
122 k_casinhl.c.
123 * math/libm-test.inc (cacos_test): Add more tests.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
126
2a26ef3a
PT
1272013-01-17 Pino Toscano <toscano.pino@tiscali.it>
128
129 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
130 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
131 [!HAVE_MREMAP]: Remove [defined linux] case.
132 * malloc/arena.c: Do not include <malloc-sysdep.h>.
133
a897655d
SP
1342013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
135
136 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
137
881ebe89 1382013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
139
140 * elf/elf.h (R_386_SIZE32): New relocation.
141 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
142 R_386_SIZE32.
143 (elf_machine_rela): Likewise.
144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
145 R_X86_64_SIZE64 and R_X86_64_SIZE32.
146
59981e9b
JM
1472013-01-17 Joseph Myers <joseph@codesourcery.com>
148
149 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
150 (FP_FAST_FMA): Do not define.
151 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
152 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
153 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
154 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
155 !_SOFT_FLOAT]: Likewise.
156 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
157 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
158 value.
159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
160 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
162 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
163 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
164 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
165 file.
166
cfa8054f
AS
1672013-01-16 Andreas Schwab <schwab@suse.de>
168
169 [BZ #14327]
170 * include/stdlib.h (__mktemp): Add declaration.
171 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
172 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
173
dd930cc5
SP
1742013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
175
881ebe89
SP
176 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
177 definitions.
178 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
179 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
180 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
181 definitions here.
182 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
183 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
184 definitions.
185 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
186 and ONE.
187 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
188 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
189 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
190 definitions.
191 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
192 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
193 definitions.
194 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 195
dd930cc5
SP
196 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
197
c19a9f89
DM
1982013-01-15 David S. Miller <davem@davemloft.net>
199
1aa61767
DM
200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
201 trunc{,f} to libm-sysdep_routes.
202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
204 file.
205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
207 file.
208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
209 file.
210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
212 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
213 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
214 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
215 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
216 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
217 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
218
c42d5e98
DM
219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
220 nearbyint{,f} to libm-sysdep_routes.
221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
223 New file.
224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
225 file.
226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
227 New file.
228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
229 file.
230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
233 file.
234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
236 file.
237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
238 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
239 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
240
c19a9f89
DM
241 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
242 libc_feholdexcept and libc_fesetenv.
243
357679d2
MF
2442013-01-15 Mike Frysinger <vapier@gentoo.org>
245
246 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
247
65a82e3d
DM
2482013-01-14 David S. Miller <davem@davemloft.net>
249
8b954ab9
DM
250 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
251 (SPARC_ASM_VIS2_IFUNC): Likewise.
252 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
254 use of 'siam' instruction.
255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
256 Likewise.
257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
258 Likewise.
259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
260 Likewise.
261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
263 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
264 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
266 file.
267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
268 file.
269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
270 file.
271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
272 file.
273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
278 new VIS2 routines.
279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
282 Likewise.
283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
284 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
288 routines to libm-sysdep_routines.
289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
290
65a82e3d
DM
291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
292 fdim/fdimf to libm-sysdep_routines.
293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
294 file.
295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
297 file.
298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
301 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
302 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
303 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
304 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
305
e34ab705
SP
3062013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
307
2a91b573
SP
308 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
309 to optimize copies.
310
1066a534
SP
311 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
312 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
313 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
314
e34ab705
SP
315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
316 local variable MPTWO.
317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
318 Likewise.
319
aba5e596
MF
3202013-01-13 Mike Frysinger <vapier@gentoo.org>
321
322 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
323 GLOB_NOESCAPE.
324
e557e9e5
MF
3252013-01-13 Mike Frysinger <vapier@gentoo.org>
326
327 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
328
0428cec9
MF
3292013-01-13 Mike Frysinger <vapier@gentoo.org>
330
331 * manual/pattern.texi (glob_t): Document gl_flags.
332 (glob64_t): Likewise.
333
8794a964
DM
3342013-01-11 David S. Miller <davem@davemloft.net>
335
66438c3f
RM
336 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
337 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
338 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
339 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
340 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
341 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
342 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
343 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
344 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
345 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
346 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
347 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
348 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
349
4ae4244d
DM
350 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
351 sparc V9 rather than using V8 code.
352 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
353 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
354
8794a964
DM
355 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
356 Move to...
357 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
358 Here.
359
6270516e
RM
3602013-01-11 Roland McGrath <roland@hack.frob.com>
361
362 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
363 not in the main loop.
364 * configure: Regenerated.
365
6a57d931
JM
3662013-01-11 Joseph Myers <joseph@codesourcery.com>
367
368 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
369 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
370 to just #else.
371 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
372 [!__GLIBC_HAVE_LONG_LONG] case.
373 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
374 condition to just #else.
375 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
376 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
377 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
378 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
379 unconditional.
380 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
381 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
382 #elif condition to just #else.
383 * sysdeps/unix/sysv/linux/sys/sysmacros.h
384 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
385 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
386 #elif condition to just #else.
387
0e8529e9
SE
3882013-01-11 Steve Ellcey <sellcey@mips.com>
389
390 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
391 (EF_MIPS_ARCH_64): Fix value.
392 (EF_MIPS_ARCH_32R2): New.
393 (EF_MIPS_ARCH_64R2): New.
394
740b3dbe
L
3952013-01-11 H.J. Lu <hongjiu.lu@intel.com>
396
397 * Makeconfig (+link-pie-before-libc): New.
398 (+link-pie-after-libc): Likewise.
399 (+link-pie-tests): Likewise.
400 (+link-pie): Rewritten.
401 (link-before-libc): Remove $(config-LDFLAGS).
402 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
403 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
404 (config-LDFLAGS): Renamed to ...
405 (rtld-LDFLAGS): This.
406 (rtld-tests-LDFLAGS): New macro.
407 (link-libc-rpath-link): Likewise.
408 (link-libc-tests-rpath-link): Likewise.
409 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
410 (link-libc): Prepand $(link-libc-rpath-link).
411 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
412 (test-program-prefix): New macro.
413 (test-via-rtld-prefix): Likewise.
414 (test-program-cmd): Likewise.
415 (host-test-program-cmd): Likewise.
416 * Makefile ($(common-objpfx)testrun.sh): Replace
417 $(run-program-prefix) with $(test-program-prefix).
418 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
419 $(rtld-LDFLAGS).
420 ($(common-objpfx)shlib.lds): Likewise.
421 (build-module-helper): Likewise.
422 ($(common-objpfx)format.lds): Likewise.
423 * Rules (binaries-pie-tests): New.
424 (binaries-pie-notests): Likewise.
425 (binaries-pie): Rewritten.
426 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
427 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
428 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
429 (make-test-out): Replace $(host-built-program-cmd) with
430 $(host-test-program-cmd).
431 * config.make.in (build-hardcoded-path-in-tests): New variable.
432 * configure.in (--enable-hardcoded-path-in-tests): New configure
433 option.
434 (hardcoded_path_in_tests): New AC_SUBST.
435 * configure: Regenerated.
436 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
437 $(built-program-cmd) with $(test-program-cmd).
438 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
439 (test_program_cmd): This.
440 * elf/Makefile ($(objpfx)order.out): Run test with
441 $(test-program-prefix).
442 ($(objpfx)order2.out): Likewise.
443 ($(objpfx)tst-initorder.out): Likewise.
444 ($(objpfx)tst-initorder2.out): Likewise.
445 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
446 $(test-program-cmd).
447 ($(objpfx)tst-array1-static.out): Likewise.
448 ($(objpfx)tst-array2.out): Likewise.
449 ($(objpfx)tst-array3.out): Likewise.
450 ($(objpfx)tst-array4.out): Likewise.
451 ($(objpfx)tst-array5.out): Likewise.
452 ($(objpfx)tst-array5-static.out): Likewise.
453 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
454 $(test-program-cmd).
455 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
456 $(run-program-prefix) with $(test-program-prefix).
457 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
458 (test_program_prefix): This.
459 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
460 $(run-program-prefix) with $(test-program-prefix).
461 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
462 (test_program_prefix): This.
463 * iconvdata/tst-tables.sh: Likewise.
464 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
465 $(run-program-prefix) with $(test-program-prefix).
466 ($(objpfx)tst-translit.out): Likewise.
467 ($(objpfx)tst-gettext2.out): Likewise.
468 ($(objpfx)tst-gettext4.out): Likewise.
469 ($(objpfx)tst-gettext6.out): Likewise.
470 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
471 (test_program_prefix): This.
472 * intl/tst-gettext2.sh: Likewise.
473 * intl/tst-gettext4.sh Likewise.
474 * intl/tst-gettext6.sh: Likewise.
475 * intl/tst-translit.sh: Likewise.
476 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
477 with $(test-program-cmd).
478 * libio/Makefile ($(objpfx)test-freopen.out): Replace
479 $(run-program-prefix) with $(test-program-prefix).
480 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
481 (test_program_prefix): This.
482 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
483 $(run-program-prefix) with $(test-program-prefix).
484 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
485 (test_program_prefix): This.
486 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
487 * posix/Makefile ($(objpfx)globtest.out): Replace
488 $(run-via-rtld-prefix) and $(test-wrapper) with
489 $(test-program-prefix) and $(test-via-rtld-prefix).
490 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
491 $(test-program-prefix).
492 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
493 $(host-test-program-cmd).
494 (tst-spawn-ARGS): Likewise.
495 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
496 $(test-program-prefix).
497 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
498 (test_via_rtld_prefix): This.
499 (test_wrapper): Renamed to ...
500 (test_program_prefix): This.
501 (run_program_prefix): Replaced by test_program_prefix.
502 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
503 (test_program_prefix): This.
504 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
505 with $(host-test-program-cmd).
506 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
507 $(run-program-prefix) with $(test-program-prefix).
508 ($(objpfx)tst-printf.out): Likewise.
509 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
510 $(test-program-cmd).
511 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
512 (test_program_prefix): This.
513 * stdio-common/tst-unbputc.sh: Likewise.
514 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
515 $(run-program-prefix) with $(test-program-prefix).
516 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
517 (test_program_prefix): This.
518 * string/Makefile ($(objpfx)tst-svc.out): Replace
519 $(built-program-cmd) with $(test-program-cmd).
520
c6fe55cf
AJ
5212013-01-11 Andreas Jaeger <aj@suse.de>
522
523 [BZ #15003]
524 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
525 value. Sync with Linux 3.7.
526
9e6919c8
DM
5272013-01-10 David S. Miller <davem@davemloft.net>
528
529 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
530 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
531 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
532
1c9f1a02
RM
5332013-01-10 Roland McGrath <roland@hack.frob.com>
534
535 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
536 never set.
537 * configure: Regenerated.
538
b9de2dde
DM
5392013-01-10 David S. Miller <davem@davemloft.net>
540
541 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
542 sparc V9 rather than using V8 code.
543 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
544 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
545
e7f68ef4
RM
5462013-01-10 Roland McGrath <roland@hack.frob.com>
547
548 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
549 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
550 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
551 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
552 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
553 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
554 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
555 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
556 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
557 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
558 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
559 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
560 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
561 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
562 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
563 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
564 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
565 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
566 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
567 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
568 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
569 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
570 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
571 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
572 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
573 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
574 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
575
5a47cc9c
DM
5762013-01-10 David S. Miller <davem@davemloft.net>
577
578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
579
4cf8f209
L
5802013-01-10 H.J. Lu <hongjiu.lu@intel.com>
581
582 * posix/Makefile (tests-static): New variable.
583 (tests): Add $(tests-static).
584 (tst-exec-static-ARGS): New variable.
585 (tst-spawn-static-ARGS): Likewise.
586 * posix/tst-exec-static.c: New file.
587 * posix/tst-spawn-static.c: Likewise.
588 * posix/tst-exec.c: Support run directly.
589 * posix/tst-spawn.c: Likewise.
590
fed0faa1
JM
5912013-01-10 Joseph Myers <joseph@codesourcery.com>
592
828beb13
JM
593 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
594 long.
595 * math/bits/mathcalls.h (llrint): Likewise.
596 (llround): Likewise.
597 * stdlib/stdlib.h (struct drand48_data): Likewise.
598 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
599 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
600 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
601 Likewise.
602 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
603 Likewise.
604 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
605 (elf_greg_t): Likewise.
606 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
607 (__jmp_buf): Likewise.
608 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
609 definitions.
610 (llrint): Likewise, for all definitions.
611 (llrintl): Likewise.
612
fed0faa1
JM
613 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
614 Remove [__GNUC__] condition.
615 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
616 condition to just [__USE_ISOC99].
617 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
618
1a20cb20
L
6192013-01-10 H.J. Lu <hongjiu.lu@intel.com>
620
621 [BZ #14200]
622 * sysdeps/unix/sysv/linux/x86/bits/environments.h
623 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
624 defined.
625 (_POSIX_V6_ILP32_OFF32): Likewise.
626 (_XBS5_ILP32_OFF32): Likewise.
627 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
628 (__ILP32_OFFBIG_LDFLAGS): Likewise.
629
751b85f7
SP
6302013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
631
7490eb81
SP
632 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
633
751b85f7
SP
634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
635 doubles __mpexp_twomm1. Adjust usage.
636 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
637 Remove.
638
988197f0
AS
6392013-01-10 Andreas Schwab <schwab@suse.de>
640
641 [BZ #14964]
642 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
643 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
644
e83d7298
DM
6452013-01-09 David S. Miller <davem@davemloft.net>
646
034ed64b 647 [BZ #15003]
e83d7298
DM
648 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
649 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
650 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
651 TCP_FASTOPEN): Define.
652 (tcp_repair_opt): New structure.
653 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
654 enum values.
655 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
656 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
657 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
658 (tcp_cookie_transactions): New structure.
659
d5e0b9bd
AB
6602013-01-09 Anton Blanchard <anton@samba.org>
661
662 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
663 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
664 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
665 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
666
0c07e3ea
JM
6672013-01-09 Joseph Myers <joseph@codesourcery.com>
668
669 * include/features.h (__USE_ANSI): Remove.
670
232f7002
RM
6712013-01-09 Roland McGrath <roland@hack.frob.com>
672
ad98e30c
RM
673 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
674
232f7002
RM
675 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
676
950c99ca
SP
6772013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
678
b5792741
SP
679 * sysdeps/s390/fpu/libm-test-ulps: Update.
680
47cf2278
SP
681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
682
950c99ca
SP
683 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
684 (__acr): Likewise.
685 (__cpy): Likewise.
686 (norm): Likewise.
687 (denorm): Likewise.
688 (__mp_dbl): Likewise.
689 (__dbl_mp): Likewise.
690 (add_magnitudes): Likewise.
691 (sub_magnitudes): Likewise.
692 (__add): Likewise.
693 (__sub): Likewise.
694 (__mul): Likewise.
695 (__inv): Likewise.
696 (__dvd): Likewise.
697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
698 (__acr): Likewise.
699 (__cpy): Likewise.
700 (norm): Likewise.
701 (denorm): Likewise.
702 (__mp_dbl): Likewise.
703 (__dbl_mp): Likewise.
704 (add_magnitudes): Likewise.
705 (sub_magnitudes): Likewise.
706 (__add): Likewise.
707 (__sub): Likewise.
708 (__mul): Likewise.
709 (__inv): Likewise.
710 (__dvd): Likewise.
711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
712 (__acr): Likewise.
713 (__cpy): Likewise.
714 (norm): Likewise.
715 (denorm): Likewise.
716 (__mp_dbl): Likewise.
717 (__dbl_mp): Likewise.
718 (add_magnitudes): Likewise.
719 (sub_magnitudes): Likewise.
720 (__add): Likewise.
721 (__sub): Likewise.
722 (__mul): Likewise.
723 (__inv): Likewise.
724 (__dvd): Likewise.
725
eede9df9
JM
7262013-01-08 Joseph Myers <joseph@codesourcery.com>
727
728 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
729 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
730 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
731 2 && __USE_EXTERN_INLINES]: Likewise.
732
c40ea3d9
AJ
7332013-01-08 Andreas Jaeger <aj@suse.de>
734
735 [BZ# 14985]
736 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
737 Remove.
738 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
739 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
740
2ccdea26
AB
7412013-01-07 Anton Blanchard <anton@samba.org>
742
743 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
744 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
745 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
746 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
747 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
748 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
749 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
750 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
752 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
753 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
754 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
755 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
756 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
757 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
758 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
759 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
760 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
761 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
762 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
763 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
764 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
765 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
766 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
767 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
768 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
769 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
770 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
771 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
772 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
773 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
775 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
776 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
777 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
778 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
779 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
780 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
781 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
782 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
783 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
785 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
786
a9708fed
JM
7872013-01-07 Joseph Myers <joseph@codesourcery.com>
788
375607b9
JM
789 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
790 (__MALLOC_PMT): Likewise.
791 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
792 [__GNUC__], only on [_LIBC].
793 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
794 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
795 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
796 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
797 forward declaration.
798 (realloc_hook_ini): Likewise.
799 (memalign_hook_ini): Likewise.
800 (__libc_memalign): Do not use __MALLOC_PMT in variable
801 declaration.
802 (__libc_valloc): Likewise.
803 (__libc_pvalloc): Likewise.
804 (__libc_calloc): Likewise.
805 (__posix_memalign): Likewise.
806
a9708fed
JM
807 [BZ #14996]
808 * math/s_casinh.c: Include <float.h>.
809 (__casinh): Do not do computation with squaring and square root
810 for large arguments.
811 * math/s_casinhf.c: Include <float.h>.
812 (__casinhf): Do not do computation with squaring and square root
813 for large arguments.
814 * math/s_casinhl.c: Include <float.h>.
815 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
816 (__casinhl): Do not do computation with squaring and square root
817 for large arguments.
818 * math/libm-test.inc (casin_test): Add more tests.
819 (casinh_test): Likewise.
820 * sysdeps/i386/fpu/libm-test-ulps: Update.
821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
822
afec409a
L
8232013-01-04 H.J. Lu <hongjiu.lu@intel.com>
824
825 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
826 (__x86_64_raw_data_cache_size): Likewise.
827 (__x86_64_data_cache_size_half): Likewise.
828 (__x86_64_raw_data_cache_size_half): Likewise.
829 (__x86_64_shared_cache_size): Likewise.
830 (__x86_64_raw_shared_cache_size): Likewise.
831 (__x86_64_shared_cache_size_half): Likewise.
832 (__x86_64_raw_shared_cache_size_half): Likewise.
833 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
834 to ...
835 (__x86_data_cache_size): This.
836 (__x86_64_raw_data_cache_size): Renamed to ...
837 (__x86_raw_data_cache_size): This.
838 (__x86_64_data_cache_size_half): Renamed to ...
839 (__x86_data_cache_size_half): This.
840 (__x86_64_raw_data_cache_size_half): Renamed to ...
841 (__x86_raw_data_cache_size_half): This.
842 (__x86_64_shared_cache_size): Renamed to ...
843 (__x86_shared_cache_size): This.
844 (__x86_64_raw_shared_cache_size): Renamed to ...
845 (__x86_raw_shared_cache_size): This.
846 (__x86_64_shared_cache_size_half): Renamed to ...
847 (__x86_shared_cache_size_half): This.
848 (__x86_64_raw_shared_cache_size_half): Renamed to ...
849 (__x86_raw_shared_cache_size_half): This.
850 * sysdeps/x86_64/memcpy.S: Updated.
851 * sysdeps/x86_64/memset.S: Likewise.
852 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
853 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
854 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
855
0b3986d0
DM
8562013-01-04 David S. Miller <davem@davemloft.net>
857
858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
859
e47686e9
AS
8602013-01-04 Andreas Schwab <schwab@linux-m68k.org>
861
d643bac1
AS
862 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
863 1 to avoid redefinition warning.
864 (__USE_GNU): Don't define.
865 (init_signaling_nan): Protoize.
866
e47686e9
AS
867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
868
b18decba
SP
8692013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
870
fffb407f
SP
871 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
873 (__cpymn): Likewise.
874 (norm): Remove commented code.
875 (denorm): Likewise.
876 (__mp_dbl): Likewise.
877 (__inv): Likewise.
878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
879 (__cpymn): Likewise.
880 (norm): Remove commented code.
881 (denorm): Likewise.
882 (__mp_dbl): Likewise.
883 (__inv): Likewise.
884
b18decba
SP
885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
886 mp_no value for 1.0 and 2.0.
887 (norm): Use RADIXI instead of radixi.d.
888 (denorm): Likewise.
889 (__mul): Use 0.0 instead of zero.d.
890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
891 mp_no value for 1.0 and 2.0.
892 (norm): Use RADIXI instead of radixi.d.
893 (denorm): Likewise.
894 (__mul): Use 0.0 instead of zero.d.
895
cdc1c96f
JM
8962013-01-04 Joseph Myers <joseph@codesourcery.com>
897
898 [BZ #14994]
899 * math/s_casinh.c (__casinh): Reduce finite argument to first
900 quadrant then set signs of results at the end.
901 * math/s_casinhf.c (__casinhf): Likewise.
902 * math/s_casinhl.c (__casinhl): Likewise.
903 * math/libm-test.inc (casin_test): Add more tests.
904 (casinh_test): Likewise.
905 * sysdeps/i386/fpu/libm-test-ulps: Update.
906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
907
302913e1
SP
9082013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
909
6420d207
SP
910 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
911
a9e48ab4
SP
912 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
913
b7837264
SP
914 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
915 declarations.
916 (denorm): Likewise.
917 (__mp_dbl): Likewise.
918 (__inv): Likewise.
919
f8af25d2
SP
920 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
921 and adjust the header comment.
922
302913e1
SP
923 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
924 variable name from declaration.
925
5d7dd1ca
L
9262013-01-03 H.J. Lu <hongjiu.lu@intel.com>
927
928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
929 Initialize COMMON_CPUID_INDEX_7 element.
930 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
931 (CPUID_RTM): Likewise.
932 (HAS_RTM): Likewise.
933 (COMMON_CPUID_INDEX_7): New enum.
934
2f5f40f4
AS
9352013-01-03 Andreas Schwab <schwab@linux-m68k.org>
936
937 [BZ #14981]
938 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
939 size is zero, record memory as freed.
940
4056f4a0
AJ
9412013-01-03 Andreas Jaeger <aj@suse.de>
942
943 * po/ia.po: Add new Interlingua translation.
944
ab15736f 9452012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
946
947 * locale/programs/localedef.c: Fix description of '--posix' flag.
948
568035b7
JM
9492013-01-02 Joseph Myers <joseph@codesourcery.com>
950
e6898b8d
JM
951 * NEWS: Update dates in second copyright notice.
952 * README: Update copyright dates in example.
953 * manual/libc.texinfo: Update copyright dates.
954 * scripts/test-installation.pl: Update copyright date in --version
955 output.
956
0e2f9562
JM
957 * hurd/ctty-input.c: Fix copyright notice formatting.
958 * hurd/ctty-output.c: Likewise.
959 * hurd/dtable.c: Likewise.
960 * hurd/hurd-raise.c: Likewise.
961 * hurd/hurdprio.c: Likewise.
962 * hurd/msgportdemux.c: Likewise.
963 * misc/sys/file.h: Likewise.
964 * misc/sys/ioctl.h: Likewise.
965 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
966 * sysdeps/mach/hurd/chdir.c: Likewise.
967 * sysdeps/mach/hurd/fchdir.c: Likewise.
968 * sysdeps/mach/hurd/rename.c: Likewise.
969 * sysdeps/mach/hurd/rmdir.c: Likewise.
970 * sysdeps/mach/hurd/seekdir.c: Likewise.
971 * sysdeps/mach/hurd/setsid.c: Likewise.
972 * sysdeps/posix/wait3.c: Likewise.
973
568035b7
JM
974 * All files with FSF copyright notices: Update copyright dates
975 using scripts/update-copyrights.
976 * intl/plural.c: Regenerated.
977 * locale/programs/charmap-kw.h: Likewise.
978 * locale/programs/locfile-kw.h: Likewise.
979
da08f647
SP
9802013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
981
0f5477af
SP
982 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
983 four values.
984
44e0d4c2
SP
985 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
986 calculation loop and add branch prediction.
987
4d55b4e5
SP
988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
989 check access beyond bounds of m1np.
990
da08f647
SP
991 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
992 MPTWO.
993 (__inv): Remove local variable MPTWO to use the global
994 constant.
995 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
996 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
997 variable MPTWO.
998 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
999 MP3HALFS static const.
1000
8e051029
DM
10012013-01-01 David S. Miller <davem@davemloft.net>
1002
1003 * po/ca.po: Update from translation team.
1004
f4cf5f2d
JM
10052013-01-01 Joseph Myers <joseph@codesourcery.com>
1006
1007 * scripts/update-copyrights: New file.
1008 * Makeconfig: Reformat copyright notice.
1009 * ctype/ctype.h: Likewise.
1010 * debug/swprintf_chk.c: Likewise.
1011 * elf/dl-cache.c: Likewise.
1012 * elf/dl-debug.c: Likewise.
1013 * elf/dl-object.c: Likewise.
1014 * grp/initgroups.c: Likewise.
1015 * hurd/Makefile: Likewise.
1016 * hurd/hurd/signal.h: Likewise.
1017 * hurd/hurdfault.c: Likewise.
1018 * hurd/hurdioctl.c: Likewise.
1019 * hurd/hurdlookup.c: Likewise.
1020 * hurd/intr-msg.c: Likewise.
1021 * iconv/gconv_open.c: Likewise.
1022 * libio/swprintf.c: Likewise.
1023 * locale/lc-ctype.c: Likewise.
1024 * locale/nl_langinfo.c: Likewise.
1025 * mach/Machrules: Likewise.
1026 * mach/Makefile: Likewise.
1027 * malloc/obstack.h: Likewise.
1028 * manual/Makefile: Likewise.
1029 * manual/tsort.awk: Likewise.
1030 * misc/bits/stab.def: Likewise.
1031 * nis/nis_print_group_entry.c: Likewise.
1032 * nis/nis_table.c: Likewise.
1033 * nis/nss_compat/compat-pwd.c: Likewise.
1034 * nis/nss_compat/compat-spwd.c: Likewise.
1035 * po/Makefile: Likewise.
1036 * posix/fnmatch.c: Likewise.
1037 * posix/regex.h: Likewise.
1038 * resolv/Makefile: Likewise.
1039 * resolv/nss_dns/dns-network.c: Likewise.
1040 * resolv/res_hconf.c: Likewise.
1041 * scripts/gen-sorted.awk: Likewise.
1042 * soft-fp/soft-fp.h: Likewise.
1043 * stdio-common/printf.h: Likewise.
1044 * stdlib/monetary.h: Likewise.
1045 * stdlib/random.c: Likewise.
1046 * stdlib/random_r.c: Likewise.
1047 * sysdeps/generic/Makefile: Likewise.
1048 * sysdeps/gnu/Makefile: Likewise.
1049 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1051 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1053 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1055 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1057 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1059 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1060 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1061 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
1062 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
1063 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
1064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
1065 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1066 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1069 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1070 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1071 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1072 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1073 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
1074 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
1075 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1076 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
1077 * sysdeps/mach/hurd/errnos.awk: Likewise.
1078 * sysdeps/mach/hurd/fork.c: Likewise.
1079 * sysdeps/mach/hurd/getcwd.c: Likewise.
1080 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
1081 * sysdeps/mach/hurd/mmap.c: Likewise.
1082 * sysdeps/mach/hurd/utimes.c: Likewise.
1083 * sysdeps/mach/hurd/xmknod.c: Likewise.
1084 * sysdeps/posix/profil.c: Likewise.
1085 * sysdeps/posix/readdir_r.c: Likewise.
1086 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1087 * sysdeps/powerpc/bits/setjmp.h: Likewise.
1088 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
1089 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
1090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
1091 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1092 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1093 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
1094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1095 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1096 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1097 * sysdeps/pthread/lio_listio.c: Likewise.
1098 * sysdeps/sparc/dl-procinfo.h: Likewise.
1099 * sysdeps/unix/i386/sysdep.S: Likewise.
1100 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
1101 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
1102 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
1103 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
1104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1105 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1106 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1107 * sysdeps/unix/sysv/linux/speed.c: Likewise.
1108 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
1109 * sysdeps/wordsize-32/divdi3.c: Likewise.
1110 * time/sys/time.h: Likewise.
1111 * wcsmbs/Makefile: Likewise.
1112
0549fbba
DM
11132013-01-01 David S. Miller <davem@davemloft.net>
1114
a141f1a7
DM
1115 * po/fr.po: Update from translation team.
1116
0549fbba
DM
1117 * catgets/gencat.c: Update copyright year.
1118 * csu/version.c: Likewise.
1119 * debug/catchsegv.sh: Likewise.
1120 * debug/pcprofiledump.c: Likewise.
1121 * debug/xtrace.sh: Likewise.
1122 * elf/ldconfig.c: Likewise.
1123 * elf/ldd.bash.in: Likewise.
1124 * elf/pldd.c: Likewise.
1125 * elf/sotruss.ksh: Likewise.
1126 * elf/sprof.c: Likewise.
1127 * iconv/iconv_prog.c: Likewise.
1128 * iconv/iconvconfig.c: Likewise.
1129 * locale/programs/locale.c: Likewise.
1130 * locale/programs/localedef.c: Likewise.
1131 * login/programs/pt_chown.c: Likewise.
1132 * malloc/memusage.sh: Likewise.
1133 * malloc/memusagestat.c: Likewise.
1134 * malloc/mtrace.pl: Likewise.
1135 * nscd/nscd.c: Likewise.
1136 * nss/getent.c: Likewise.
1137 * nss/makedb.c: Likewise.
1138 * posix/getconf.c: Likewise.
1139
18ea052c
SP
11402012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1141
1142 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
1143 numbers.
1144
9c89fca6
MF
11452012-12-30 Mike Frysinger <vapier@gentoo.org>
1146
1147 * math/bits/mathcalls.h (modf): Use __nonnull.
1148
085ec079
SP
11492012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1150
1151 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
1152 (split): Use macro CN instead of the bare value.
1153 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
1154 could be used.
1155 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
1156 instead of the bare value.
1157 (power1): Likewise.
1158
6d9f97e1
SP
11592012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1160
d63f73be
SP
1161 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
1162 __ATAN_TWOM.
1163 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1164
6d9f97e1
SP
1165 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
1166 their values.
1167 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
1168 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1169 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
1170 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
1171
4c4febf5
AJ
11722012-12-28 Andreas Jaeger <aj@suse.de>
1173
af5843ef
AJ
1174 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
1175 values are from Linux 3.7.
1176
4c4febf5
AJ
1177 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
1178 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
1179
99136f82
SP
11802012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1181
2f216c3c 1182 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
1183 TRUE case.
1184
99136f82
SP
1185 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
1186 (norm): Likewise.
1187 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
1188 variables with preprocessor constants.
1189 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
1190 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
1191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
1192
7fffbdff
BH
11932012-12-27 Bruno Haible <bruno@clisp.org>
1194
1195 [BZ #14317]
1196 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
1197 only if needed.
1198
b76eb5f0
SP
11992012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1200
31a7fe5c
SP
1201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
1202 and use variable directly.
1203 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
1204
b76eb5f0
SP
1205 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
1206 MPONE.
1207 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
1208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
1209 variable MPONE.
1210 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1212 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
1213 include directive. Remove local variable MPONE.
1214 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
1215 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
1216 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1217
2c8bfe7d
DM
12182012-12-25 David S. Miller <davem@davemloft.net>
1219
1220 * version.h (RELEASE): Set to "development".
1221 (VERSION): Set to "2.17.90".
1222 * NEWS: Add 2.18 section.
1223
147d03b0
DM
12242012-12-21 David S. Miller <davem@davemloft.net>
1225
1226 * po/hr.po: Update from translation team.
1227
a8ebb2b9
AK
12282012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1229
1230 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
1231
95b4f1b6
SE
12322012-12-19 Steve Ellcey <sellcey@mips.com>
1233
b2d94007 1234 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 1235
cedb2a90
MS
12362012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1237
1238 * manual/contrib.texi (Contributors): Spelling correction.
1239
bbf527d6
DM
12402012-12-15 David S. Miller <davem@davemloft.net>
1241
1242 * po/ru.po: Update from translation team.
1243
bc38c906
DM
12442012-12-13 David S. Miller <davem@davemloft.net>
1245
85429b1a
DM
1246 * NEWS: Mention IFUNC testsuite enhancements.
1247
d283e353
DM
1248 * po/pl.po: Update from translation team.
1249 * po/bg.po: Likewise.
1250
bc38c906
DM
1251 * manual/contrib.texi (Contributors): Update entries for Hongjiu
1252 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
1253
a181b0d7
DM
12542012-12-11 David S. Miller <davem@davemloft.net>
1255
4641d57e
DM
1256 * po/sv.po: Update from translation team.
1257
f7bc6495
DM
1258 * po/vi.po: Update from translation team.
1259
6fc9048f
DM
1260 * po/cs.po: Update from translation team.
1261
a181b0d7
DM
1262 * po/de.po: Update from translation team.
1263 * po/eo.po: Likewise.
1264 * po/nl.po: Likewise.
1265
f70bfe80
SP
12662012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1267
3c8b4190
SP
1268 [BZ #14246]
1269 * manual/argp.texi (Argp Helper Functions): Move node to follow
1270 Argp Parsing State.
1271
f70bfe80
SP
1272 [BZ #14872]
1273 * manual/conf.texi (Limits on File System Capacity): Mention if
1274 terminating null is included in the max size.
1275
188f0adf
AJ
12762012-12-10 Andreas Jaeger <aj@suse.de>
1277
1278 * po/cs.po: Update from translation team.
1279
56e7d3ad
SP
12802012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1281
1282 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
1283 void pointer and cast to uintptr_t.
1284 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
1285 path.
1286 * sysdeps/s390/s390-64/memcpy.S: Likewise.
1287 * sysdeps/s390/s390-64/memset.S: Likewise.
1288
76f2d2ea 12892012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
1290
1291 [BZ #14833]
1292 * menual/message.texi (Message Translation): Fix typos.
1293 (Helper programs for gettext): Likewise.
1294
67cbf9a2
AS
12952012-12-07 Andreas Schwab <schwab@linux-m68k.org>
1296
1297 [BZ #14898]
1298 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
1299 Change to -1.
1300
682d0e9a
DM
13012012-12-07 David S. Miller <davem@davemloft.net>
1302
1303 * po/libc.pot: Update.
1304
573cd484
RH
13052012-12-07 Richard Henderson <rth@redhat.com>
1306
7e9da188 1307 [BZ #10114]
573cd484
RH
1308 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
1309 normal/normal case to before the switch.
1310 (_FP_DIV): Likewise.
1311
e933a943
MF
13122012-12-06 Carlos O'Donell <carlos@systemhalted.org>
1313 Mike Frysinger <vapier@gentoo.org>
1314
1315 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
1316 check for __NR_fadvise64_64.
1317
82123268
CM
13182012-12-06 Chris Metcalf <cmetcalf@tilera.com>
1319
1320 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
1321 0, not just to plain "0" as a statement.
1322 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
1323 with cw.
1324
d9814526
JM
13252012-12-06 Joseph Myers <joseph@codesourcery.com>
1326
1327 * NEWS: Use sourceware.org in Bugzilla URL.
1328
7728c574
SP
13292012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1330
f16946dd
SP
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1332 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1333
5704bbcb
SP
1334 * stdio-common/tst-put-error.c (do_test): Add newline to the
1335 padded test to ensure flush.
1336
17aa0516
JL
13372012-12-05 Jeff Law <law@redhat.com>
1338
1339 * sunrpc/etc.rpc (fedfs_admin): Add entry.
1340
363313b5
JM
13412012-12-05 Joseph Myers <joseph@codesourcery.com>
1342
effbd42a
JM
1343 * README: Don't refer to ports add-on as distributed separately.
1344 Mention AArch64 in list of systems supported in the ports add-on.
1345
87600365
JM
1346 * LICENSES: Add more non-FSF copyright and license notices.
1347
a0d7066a
JM
1348 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
1349 ((unused)).
1350
66ca5a5b
JM
1351 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
1352
363313b5
JM
1353 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
1354 10000 as width of padded output.
1355
b37984ad
JM
13562012-12-04 Joseph Myers <joseph@codesourcery.com>
1357
9003570a
JM
1358 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
1359
b37984ad
JM
1360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
1361 variable LX with __attribute__ ((unused)).
1362 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1363 Likewise.
1364 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1366 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
1367 with __attribute__ ((unused)).
1368
c8df52ec
DM
13692012-12-04 David S. Miller <davem@abraco.davemloft.net>
1370
1371 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
1372
b3b099af
JM
13732012-12-04 Joseph Myers <joseph@codesourcery.com>
1374
c33aa6e3
JM
1375 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
1376 (CFLAGS-nldbl-acos.c): New variable.
1377 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
1378 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
1379 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
1380 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
1381 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
1382 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
1383 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
1384 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
1385 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
1386 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
1387 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
1388 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
1389 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
1390 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
1391 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
1392 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
1393 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
1394 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
1395 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
1396 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
1397 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
1398 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
1399 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
1400 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
1401 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
1402 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
1403 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
1404 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
1405 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
1406 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
1407 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
1408 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
1409 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
1410 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
1411 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
1412 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
1413 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
1414 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
1415 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
1416 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
1417 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
1418 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
1419 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
1420 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
1421 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
1422 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
1423 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
1424 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
1425 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
1426 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
1427 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
1428 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
1429 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
1430 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
1431 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
1432 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
1433 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
1434 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
1435 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
1436 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
1437 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
1438 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
1439 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
1440 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
1441 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
1442 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
1443 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
1444 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
1445 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
1446 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
1447 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
1448 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
1449 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
1450 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
1451 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
1452 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
1453 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
1454 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
1455 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
1456 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
1457 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
1458 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
1459 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
1460 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
1461 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
1462 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
1463 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
1464 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
1465 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
1466 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
1467 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
1468 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
1469 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
1470 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
1471 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
1472 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
1473 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
1474
20f0018d
JM
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1476 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
1477
b3b099af
JM
1478 [BZ #14914]
1479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
1480 whole low double instead of just low 47 bits when splitting values
1481 into two parts.
1482
029264d1
AM
14832012-12-03 Allan McRae <allan@archlinux.org>
1484
1485 * manual/stdio.texi (Predefined Printf Handlers): Remove
1486 @hsep and @vsep usage.
1487
c9d6789e
MF
14882012-12-03 Mike Frysinger <vapier@gentoo.org>
1489
1490 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
1491 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
1492
4b7634a5
JL
14932012-12-03 Jeff Law <law@redhat.com>
1494
1495 * time/sys/time.h (settimeofday): Do not mark TV argument
1496 as __nonnull.
1497
eb6cbd24
MF
14982012-12-01 Mike Frysinger <vapier@gentoo.org>
1499
1500 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
1501 when currently writing and seek to current position when not.
1502 * libio/Makefile (tests): Remove bug-fclose1.
1503 * libio/bug-fclose1.c: Delete.
1504
f638872a
JM
15052012-12-01 Joseph Myers <joseph@codesourcery.com>
1506
1507 * manual/arith.texi (feenableexcept): Fix typo.
1508 (fedisableexcept): Likewise.
1509
48085d14
RM
15102012-11-30 Roland McGrath <roland@hack.frob.com>
1511
1512 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
1513 second, differently-typed declaration, rather than a cast.
1514
1a538b9f
SP
15152012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1516
1517 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
1518 * include/rpc/svc.h: ... here.
1519
d07f2ff1 15202012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
1521
1522 [BZ #13013]
1523 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
1524 depending n and resplen2 to catch cases where answer
1525 equals answerp2.
1526
c93ec1f0
CD
15272012-11-29 Carlos O'Donell <carlos@systemhalted.org>
1528
1529 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
1530 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
1531
37db69de
MF
15322012-11-29 Mike Frysinger <vapier@gentoo.org>
1533
1534 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
1535
e10c4e4f
RM
15362012-11-29 Roland McGrath <roland@hack.frob.com>
1537
1538 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
1539
2af1b328
JL
15402012-11-28 Jeff Law <law@redhat.com>
1541
1542 [BZ #13761]
1543 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
1544 dataset_temporary. Track alloca usage into alloca_used.
1545 If dataset is large allocate and release it via malloc/free.
1546
111db5b1
FW
15472012-06-04 Florian Weimer <fweimer@redhat.com>
1548
f06cc227 1549 [BZ #14197]
111db5b1
FW
1550 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1551
dd694abd
DM
15522012-11-28 David S. Miller <davem@davemloft.net>
1553
1554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1555
9984dd01
JM
15562012-11-28 Joseph Myers <joseph@codesourcery.com>
1557
1558 [BZ #14803]
1559 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1560 of pi/2 rounded to nearest to 64 bits.
1561 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1562 nearest to 64 bits.
1563 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1564 bits.
1565
14bc93a9
JL
15662012-11-28 Jeff Law <law@redhat.com>
1567 Martin Osvald <mosvald@redhat.com>
1568
1569 [BZ #14889]
1570 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1571 * sunrpc/svc.c: Include time.h.
1572 (__svc_accept_failed): New function.
1573 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1574 any reason other than EINTR, call __svc_accept_failed.
1575 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1576 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1577
e3c6aa3a
AS
15782012-11-28 Andreas Schwab <schwab@suse.de>
1579
1580 * scripts/abilist.awk: Also handle indirect functions in .opd
1581 section.
1582
1bead169
JM
15832012-11-28 Joseph Myers <joseph@codesourcery.com>
1584
1585 [BZ #13881]
1586 * sysdeps/x86/fpu/powl_helper.c: New file.
1587 * sysdeps/x86/fpu/Makefile: Likewise.
1588 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1589 (p3): New object.
1590 (__ieee754_powl): Use __powl_helper for finite arguments except
1591 integer exponents below 8.
1592 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1593 (p3): New object.
1594 (__ieee754_powl): Use __powl_helper for finite arguments except
1595 integer exponents below 8.
1596 * math/libm-test.inc (pow_test): Add more tests and enable some
1597 previously disabled tests.
1598 * sysdeps/i386/fpu/libm-test-ulps: Update.
1599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1600
0817d63d
SP
16012012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1602 Carlos O'Donell <carlos_odonell@mentor.com>
1603
1604 * nss/makedb.c (is_prime): Assert that input is odd and greater
1605 than 4. Note that fact in a comment too.
1606 (next_prime): Add 4 to input.
1607
de2fd463
SP
16082012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1609
1610 [BZ #11741]
1611 * libio/Makefile (tests): Add test case tst-fwrite-error.
1612 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1613 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1614 * libio/tst-fwrite-error.c: New test case.
1615
c515fb51
L
16162012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1617
1618 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1619 before casting to void *.
1620 * include/libc-internal.h (__pointer_type): New macro.
1621 (__integer_if_pointer_type_sub): Likewise.
1622 (__integer_if_pointer_type): Likewise.
1623 (cast_to_integer): Likewise.
1624 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1625 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1626 before casting to atomic64_t.
1627 (atomic_exchange_acq): Likewise.
1628 (__arch_exchange_and_add_body): Likewise.
1629 (__arch_add_body): Likewise.
1630 (atomic_add_negative): Likewise.
1631 (atomic_add_zero): Likewise.
1632
4cf77aa9
JM
16332012-11-26 Joseph Myers <joseph@codesourcery.com>
1634
1635 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1636 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1637 (add_fdes): Likewise.
1638 (linear_search_fdes): Likewise.
1639 (binary_search_unencoded_fdes): Likewise.
1640
d260b3b4
AS
16412012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1642
1643 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1644
67060746
AC
16452012-11-24 Adam Conrad <adconrad@0c3.net>
1646
1647 * configure.in: Autodetect C++ header directories.
1648 * configure: Regenerated.
1649
800938a1
MF
16502012-11-23 Mike Frysinger <vapier@gentoo.org>
1651
1652 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1653
4e6e34e6
AS
16542012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1655
1656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1657
7c7feb47
JM
16582012-11-22 Joseph Myers <joseph@codesourcery.com>
1659
7184dcdf
JM
1660 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1661 LDBL_MANT_DIG == 106]: Disable some tests.
1662 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1663 Likewise.
1664 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1665 Likewise.
1666
0a42601f
JM
1667 [BZ #14871]
1668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1669 input for small inputs. Return +/- pi/2 for large inputs.
1670 * math/libm-test.inc (atan_test): Add more tests.
1671
79c9b9fe
JM
1672 * sysdeps/generic/unwind-dw2-fde-glibc.c
1673 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1674 __attribute__ ((unused)).
1675
c60d3bf2
JM
1676 [BZ #14645]
1677 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1678 x * y if x and y are nonzero and z is zero.
1679
ef1e0867
JM
1680 [BZ #14811]
1681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1682 nonzero exponents with absolute value below 0x1p-117 to +/-
1683 0x1p-117.
1684
1468ded3
JM
1685 [BZ #14869]
1686 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1687 up arguments below 2**-450, not just those below 2**-500.
1688 * math/libm-test.inc (hypot_test): Add another test.
1689
8e27e3cc
JM
1690 [BZ #14868]
1691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1692 Return a+b for ratio over 2**120, not 2**60.
1693 * math/libm-test.inc (hypot_test): Add another test.
1694
c9c0279b
JM
1695 * math/libm-test.inc (clog_test): Use
1696 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1697 (clog10_test): Likewise.
1698
7c7feb47
JM
1699 [BZ #6778]
1700 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1701
fff1530e
AS
17022012-11-22 Andreas Schwab <schwab@suse.de>
1703
1704 * sysdeps/i386/fpu/libm-test-ulps: Update.
1705
94558d30
PT
17062012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1707
1708 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1709 printf output with newline.
1710
7e1be741
L
17112012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1712
6bfea974
L
1713 [BZ #14865]
1714 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1715 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1716 -z nodlopen, -z initfirst and -z execstack support.
1717 * configure: Regenerated.
1718
7e1be741
L
1719 * elf/elf.h (DF_1_NODIRECT): New macro.
1720 (DF_1_IGNMULDEF): Likewise.
1721 (DF_1_NOKSYMS): Likewise.
1722 (DF_1_NOHDR): Likewise.
1723 (DF_1_EDITED): Likewise.
1724 (DF_1_NORELOC): Likewise.
1725 (DF_1_SYMINTPOSE): Likewise.
1726 (DF_1_GLOBAUDIT): Likewise.
1727 (DF_1_SINGLETON): Likewise.
1728 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1729 DT_1_SUPPORTED_MASK bits.
1730 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1731
105ce2ce
CD
17322012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1733
1734 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1735
123be9de
TS
17362012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1737
d072f3f7
TS
1738 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1739 macro.
1740
123be9de
TS
1741 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1742 (sendmmsg): Move declarations...
1743 * socket/sys/socket.h: ... here.
1744 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1745 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1746 include it from...
1747 * socket/recvmmsg.c: ... this new file.
1748 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1749 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1750 definition of __sendmmsg hidden.
1751 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1752 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1753 Move ENOSYS stub into and include it from...
1754 * socket/sendmmsg.c: ... this new file.
1755 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1756 (sysdep_routines): Move recvmmsg and sendmmsg...
1757 * socket/Makefile (routines): ... here.
1758 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1759 (GLIBC_PRIVATE): Add __sendmmsg.
1760 * include/sys/socket.h (__sendmmsg): Add declarations.
1761 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1762 sendmmsg.
1763
cf9a5d18
JM
17642012-11-20 Joseph Myers <joseph@codesourcery.com>
1765
1766 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1767 variable I1 with __attribute__ ((unused)).
1768 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1769
ecd4caf9
JM
17702012-11-19 Joseph Myers <joseph@codesourcery.com>
1771
be14d48f
JM
1772 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1773 DUMMY variables with __attribute__ ((unused)).
1774
ecd4caf9
JM
1775 * bits/byteswap.h: Include <bits/types.h>.
1776 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1777
986cab95
PT
17782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1779
1780 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1781 string_t. Do not manually set errno.
1782 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1783 length with __strnlen. Make sure to both set errno and return it on
1784 failure.
1785
6d33cc9d
DM
17862012-11-19 David S. Miller <davem@davemloft.net>
1787
1788 With help from Joseph Myers.
1789 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1790 very large arguments properly.
1791 * math/libm-test.inc (atan_test): New tests.
1792 (atan2_test): New tests.
1793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1794 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1795
ee663277
JM
17962012-11-19 Joseph Myers <joseph@codesourcery.com>
1797
877f2d8e
JM
1798 [BZ #14856]
1799 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1800 Define to 3.
1801
116fc08a
JM
1802 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1803 [POSIX] (EADDRNOTAVAIL): Likewise.
1804 [POSIX] (EAFNOSUPPORT): Likewise.
1805 [POSIX] (EALREADY): Likewise.
1806 [POSIX] (ECONNABORTED): Likewise.
1807 [POSIX] (ECONNREFUSED): Likewise.
1808 [POSIX] (ECONNRESET): Likewise.
1809 [POSIX] (EDESTADDRREQ): Likewise.
1810 [POSIX] (EDQUOT): Likewise.
1811 [POSIX] (EHOSTUNREACH): Likewise.
1812 [POSIX] (EIDRM): Likewise.
1813 [POSIX] (EISCONN): Likewise.
1814 [POSIX] (ELOOP): Likewise.
1815 [POSIX] (EMULTIHOP): Likewise.
1816 [POSIX] (ENETDOWN): Likewise.
1817 [POSIX] (ENETUNREACH): Likewise.
1818 [POSIX] (ENOBUFS): Likewise.
1819 [POSIX] (ENODATA): Likewise.
1820 [POSIX] (ENOLINK): Likewise.
1821 [POSIX] (ENOMSG): Likewise.
1822 [POSIX] (ENOPROTOOPT): Likewise.
1823 [POSIX] (ENOSR): Likewise.
1824 [POSIX] (ENOSTR): Likewise.
1825 [POSIX] (ENOTCONN): Likewise.
1826 [POSIX] (ENOTSOCK): Likewise.
1827 [POSIX] (EOPNOTSUPP): Likewise.
1828 [POSIX] (EOVERFLOW): Likewise.
1829 [POSIX] (EPROTO): Likewise.
1830 [POSIX] (EPROTONOSUPPORT): Likewise.
1831 [POSIX] (EPROTOTYPE): Likewise.
1832 [POSIX] (ESTALE): Likewise.
1833 [POSIX] (ETIME): Likewise.
1834 [POSIX] (ETXTBSY): Likewise.
1835 [POSIX] (EWOULDBLOCK): Likewise.
1836 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1837 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1838 [POSIX] (SEEK_CUR): Likewise.
1839 [POSIX] (SEEK_END): Likewise.
1840 [POSIX || UNIX98] (mode_t): Do not require.
1841 [POSIX] (off_t): Likewise.
1842 [POSIX] (pid_t): Likewise.
1843 [POSIX] (sys/stat.h): Do not allow header.
1844 [POSIX] (unistd.h): Likewise.
1845 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1846 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1847 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1848 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1849 require.
1850 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1851 sigevent): Specify elements.
1852 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1853 entry.
1854 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1855 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1856
a483863f
JM
1857 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1858 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1859 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1860 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1861 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1862 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1863 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1864 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1865 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1866 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1867 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1868 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1869 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1870 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1871 Likewise.
1872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1873 Likewise.
1874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1875 Likewise.
1876 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1877 Likewise.
1878 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1879 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1880 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1881 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1882 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1883 Specify lower bound on value.
1884 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1885 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1886 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1887 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1888 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1889 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1890 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1891 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1892 value.
1893 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1894 as optional.
1895 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1896 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1897 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1898 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1899 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1900 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1901 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1902 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1903 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1904 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1905 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1906 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1907 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1908 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1909 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1910 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1911 entry.
1912 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1913 optional.
1914 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1915 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1916 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1917 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1918 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1919 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1920 Likewise.
1921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1922 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1923 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1924 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1925 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1926 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1927 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1928 as optional.
1929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1930 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1931 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1932 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1933 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1934 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1935 specify as optional.
1936 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1937 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1938 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1939 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1940 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1941 [XPG3] (NL_LANGMAX): Likewise.
1942 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1943 [POSIX || XPG3] (NL_NMAX): Likewise.
1944 [POSIX || XPG3] (NL_SETMAX): Likewise.
1945 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1946 [XPG3] (NZERO): Likewise.
1947 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1948 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1949 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1950 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1951 (REG_ERANGE): Expect.
1952 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1953 optional-constant.
1954 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1955 Use (void) in prototype.
1956 [POSIX] (*_t): Allow.
1957 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1958 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1959 (WRDE_BADVAL): Expect.
1960
5ba924e3
JM
1961 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1962 expect.
1963 [XPG3 || XPG4] (O_RSYNC): Likewise.
1964 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1965 Likewise.
1966 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1967 [XPG3 || XPG4] (sigqueue): Likewise.
1968 [XPG3 || XPG4] (sigtimedwait): Likewise.
1969 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1970 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1971 [XPG3 || XPG4] (vsnprintf): Likewise.
1972 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1973 Likewise.
1974 [XPG3 || XPG4] (blksize_t): Likewise.
1975 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1976 Likewise.
1977 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1978 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1979 [XPG3 || XPG4] (struct itimerspec): Likewise.
1980 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1981 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1982 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1983 [XPG3 || XPG4] (clockid_t): Likewise.
1984 [XPG3 || XPG4] (timer_t): Likewise.
1985 [XPG3 || XPG4] (clock_getres): Likewise.
1986 [XPG3 || XPG4] (clock_gettime): Likewise.
1987 [XPG3 || XPG4] (clock_settime): Likewise.
1988 [XPG3 || XPG4] (nanosleep): Likewise.
1989 [XPG3 || XPG4] (timer_create): Likewise.
1990 [XPG3 || XPG4] (timer_delete): Likewise.
1991 [XPG3 || XPG4] (timer_gettime): Likewise.
1992 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1993 [XPG3 || XPG4] (timer_settime): Likewise.
1994 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1995 [XPG3 || XPG4] (getlogin_r): Likewise.
1996 [XPG3 || XPG4] (pread): Likewise.
1997 [XPG3 || XPG4] (pthread_atfork): Likewise.
1998 [XPG3 || XPG4] (pwrite): Likewise.
1999
ee663277
JM
2000 [BZ #14835]
2001 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
2002 <bits/siginfo.h>.
2003
942caa16
PT
20042012-11-19 Pino Toscano <toscano.pino@tiscali.it>
2005
e19af380
PT
2006 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
2007 finalizing MALLSTREAM.
2008
942caa16
PT
2009 * sysdeps/mach/hurd/syncfs.c: New file.
2010
cfde9b46
SP
20112012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2012
2013 [BZ #14719]
2014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
2015 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
2016 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
2017 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
2018 (_nss_dns_gethostbyname4_r): Likewise.
2019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
2020 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
2021
f6da27e5
PH
20222012-11-19 Peng Haitao <penght@cn.fujitsu.com>
2023
2024 [BZ #13763]
2025 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
2026
6665d4a2
SM
20272012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
2028
1f51ee92
SM
2029 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
2030 * elf/cache.c (print_entry): Print ",AArch64" for
2031 FLAG_AARCH64_LIB64
2032
6665d4a2
SM
2033 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
2034 * elf/cache.c (print_entry): Print ",hard-float" for
2035 FLAG_ARM_LIBHF.
2036
05b227bd
DM
20372012-11-18 David S. Miller <davem@davemloft.net>
2038
2039 With help from Joseph Myers.
2040 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
2041 cutoff to 2**-13.
2042 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
2043 cutoff to 2**-25.
2044 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
2045 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
2046 small.
2047 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2048 * math/libm-test.inc (y0_test): New tests.
2049 (y1_test): New tests.
2050 * sysdeps/i386/fpu/libm-test-ulps: Update.
2051 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2053
786b0b67
AS
20542012-11-18 Andreas Schwab <schwab@linux-m68k.org>
2055
2056 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
2057 64-bit targets.
2058 * configure: Regenerated.
2059
8e18b86d
DM
20602012-11-17 David S. Miller <davem@davemloft.net>
2061
2062 [BZ #14811]
2063 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
2064 nonzero exponents with absolute value below 0x1p-128 to +/-
2065 0x1p-128.
2066
531f1ae0
JM
20672012-11-17 Joseph Myers <joseph@codesourcery.com>
2068
12df29e2
JM
2069 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
2070
150dc1a0
JM
2071 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
2072
531f1ae0
JM
2073 * posix/getconf-speclist.c: New file.
2074 * posix/posix-envs.def: Likewise.
2075 * posix/confstr.c (START_ENV_GROUP): New macro.
2076 (END_ENV_GROUP): Likewise.
2077 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2078 (KNOWN_PRESENT_ENV_STRING): Likewise.
2079 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2080 (UNKNOWN_ENVIRONMENT): Likewise.
2081 (confstr): Include posix-envs.def instead of handling
2082 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
2083 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
2084 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
2085 (END_ENV_GROUP): Likewise.
2086 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
2087 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
2088 (UNKNOWN_ENVIRONMENT): Likewise.
2089 (__sysconf): Include posix-envs.def instead of handling associated
2090 cases directly here.
2091 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
2092 preprocessing getconf-speclist.c rather than running getconf or
2093 generating empty file.
2094
a93f9cbc
PT
20952012-11-16 Pino Toscano <toscano.pino@tiscali.it>
2096
2097 * scripts/check-local-headers.sh: Ignore 'mach' headers.
2098
d64d9f87
AL
20992012-11-16 Andrej Lajovic <natrij@gmail.com>
2100
2101 [BZ #14672]
2102 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
2103
447885eb
DM
21042012-11-16 David S. Miller <davem@davemloft.net>
2105
2106 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
2107 smaller than LDBL_EPSILON/2.0L, just return xm1.
2108
bcbf9830
L
21092012-11-16 H.J. Lu <hongjiu.lu@intel.com>
2110
2111 * elf/tst-array1.c (init): Set constructor priority to 1000.
2112 (fini): Set destructor priority to 1000.
2113 * elf/tst-array2dep.c: Likewise.
2114
2b766585
SP
21152012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2116
2117 [BZ #11741]
2118 * libio/fileops.c (_IO_new_file_write): Correctly return error.
2119 (_IO_new_file_xsputn): Also return EOF if none of the input
2120 data was written when overflow failed.
2121 * libio/iopadn.c (_IO_padn): Likewise.
2122 * libio/iowpadn.c (_IO_wpadn): Likewise.
2123 * stdio-common/tst-put-error.c: Add copyright notice.
2124 (do_test): Add case for printing padded string.
2125 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
2126 _IO_padn returned error.
2127 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
2128 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
2129 return EOF.
2130
b1848fde
SP
21312012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2132
2133 * libio/libioP.h: Add comment note that the references to C++
2134 bits are now obsolete.
2135
2fd89785
MS
21362012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2137
2138 * math/libm-test.inc (check_complex): Use asprintf.
2139
e3ea5409
JM
21402012-11-14 Joseph Myers <joseph@codesourcery.com>
2141
2142 * debug/pcprofiledump.c (print_version): Update copyright year.
2143 * malloc/memusagestat.c (print_version): Likewise.
2144
2e64d265
L
21452012-11-14 H.J. Lu <hongjiu.lu@intel.com>
2146
2147 [BZ #14831]
2148 * elf/Makefile (tests): Add tst-audit8.
2149 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
2150 ($(objpfx)tst-audit8.out): New target.
2151 (tst-audit8-ENV): New variable.
2152 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
2153 audit if l_reloc_result is NULL.
2154 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
2155 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
2156 * elf/tst-audit8.c: New file.
2157
c485e4d2
MS
21582012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2159
2160 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
2161 * misc/Makefile (CFLAGS-select.c): Define.
2162 * posix/Makefile (CFLAGS-pause.c): Define.
2163
3a0d900a
DM
21642012-11-13 David S. Miller <davem@davemloft.net>
2165
2166 * crypt/Makefile: Move test targets after toplevel Rules
2167 inclusion. Grab any necessary sysdep routines when linking.
2168 * crypt/md5.c (md5_process_block): Remove define, we will always
2169 name it __md5_process_block.
2170 (md5_finish_ctx): Update md5_process_block call.
2171 (md5_stream): Likewise.
2172 (md5_process_bytes): Likewise.
2173 (md5_process_block): Rename to __md5_process_block and move to ...
2174 * crypt/md5-block.c: ... here.
2175 * crypt/sha256.c (sha256_process_block): Move to ...
2176 * crypt/sha256-block.c: ... here.
2177 * crypt/sha512.c (sha512_process_block): Move to ...
2178 * crypt/sha512-block.c: ... here.
2179 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
2180 path.
2181 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
2182 * sysdeps/sparc/sparc64/multiarch/Makefile
2183 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
2184 crypt subdir.
2185 (localedef-aux): Add md5 crypto assembler when in locale subdir.
2186 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
2187 multiarch changes.
2188 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
2189 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
2190 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
2191 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
2192 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
2193 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
2194 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
2195 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
2196 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
2197 file.
2198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
2199 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
2200 file.
2201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
2202
8ca89318
JM
22032012-11-13 Joseph Myers <joseph@codesourcery.com>
2204
e27d476a
JM
2205 * timezone/tzselect.ksh: Update from tzcode git revision
2206 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
2207 * timezone/zdump.c: Likewise.
2208 * timezone/zic.c: Likewise.
2209 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
2210 in TZVERSION setting, not $(PKGVERSION).
2211 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
2212 REPORT_BUGS_TO settings.
2213
8ca89318
JM
2214 [BZ #14838]
2215 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
2216 macro.
2217
47594329
MS
22182012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2219
2220 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
2221 detection to immediately after _FP_ROUND().
2222 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
2223 bits are 0.
2224
640ac3f1
DM
22252012-11-11 David S. Miller <davem@davemloft.net>
2226
2227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
2228 inttypes.h
2229 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
2230 __close rather than their public counterparts.
2231
3d2577bb
JM
22322012-11-10 Joseph Myers <joseph@codesourcery.com>
2233
2234 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
2235 file.
2236 [UNIX98] (sem_timedwait): Do not expect.
2237 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
2238 [XPG4 || UNIX98] (sockatmark): Do not expect.
2239 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
2240 (clock_getcpuclockid): Do not expect.
2241 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
2242 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
2243 Do not expect.
2244 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
2245 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
2246 [UNIX98] (vwscanf): Likewise.
2247 [UNIX98] (vswscanf): Likewise.
2248
fb1ae1ee
JM
22492012-11-09 Joseph Myers <joseph@codesourcery.com>
2250
9ec6f8bd
JM
2251 * timezone/version.h: Remove file.
2252 * timezone/README: Do not refer to version.h.
2253 * timezone/Makefile ($(objpfx)zic.o): New dependency on
2254 $(objpfx)version.h.
2255 ($(objpfx)zdump.o): Likewise.
c3f81911 2256 ($(objpfx)version.h): New target.
9ec6f8bd 2257
0aa8f8a1
JM
2258 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
2259 2012i.
2260 * timezone/README: Don't mention modification to tzselect.ksh.
2261 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
2262 work on unmodified tzselect.ksh. Substitute version numbers in
2263 tzselect.ksh.
2264
4e87147f
JM
2265 * Makefile (format-me): Remove.
2266 (INSTALL): Adjust indentation. Use commands directly instead of
2267 using $(format-me).
2268
8b748aed
JM
2269 * aclocal.m4 (ACX_PKGVERSION): New macro.
2270 (ACX_BUGURL): Likewise.
2271 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
2272 (PKGVERSION): New AC_DEFINE_UNQUOTED.
2273 (REPORT_BUGS_TO): Likewise.
2274 * configure: Regenerated.
2275 * config.h.in (PKGVERSION): New macro.
2276 (REPORT_BUGS_TO): Likewise.
2277 * config.make.in (PKGVERSION): New variable.
2278 (PKGVERSION_TEXI): Likewise.
2279 (REPORT_BUGS_TO): Likewise.
2280 (REPORT_BUGS_TEXI): Likewise.
2281 * Makefile (format-me): Use -I$(common-objpfx)manual.
2282 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
2283 ($(common-objpfx)manual/%): New target.
2284 (manual/%): Remove target.
2285 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
2286 (print_version): Use PKGVERSION.
2287 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
2288 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
2289 and REPORT_BUGS_TO.
2290 ($(objpfx)xtrace): Likewise.
2291 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
2292 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
2293 (print_version): Use PKGVERSION.
2294 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
2295 (do_version): Use PKGVERSION.
2296 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
2297 REPORT_BUGS_TO.
2298 (common-ldd-rewrite): Likewise.
2299 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
2300 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
2301 (print_version): Use PKGVERSION.
2302 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
2303 * elf/pldd.c (argp_program_bug_address): Remove variable.
2304 (more_help): New function.
2305 (argp): Use more_help.
2306 (print_version): Use PKGVERSION.
2307 * elf/sln.c (main): Use PKGVERSION.
2308 (usage): Use REPORT_BUGS_TO.
2309 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
2310 (top level): Use PKGVERSION.
2311 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
2312 (print_version): Use PKGVERSION.
2313 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
2314 (print_version): Use PKGVERSION.
2315 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
2316 (print_version): Use PKGVERSION.
2317 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
2318 (print_version): Use PKGVERSION.
2319 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
2320 (print_version): Use PKGVERSION.
2321 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
2322 (print_version): Use PKGVERSION.
2323 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
2324 and BUGURL.
2325 ($(objpfx)memusage): Likewise.
2326 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
2327 (do_version): Use PKGVERSION.
2328 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
2329 (print_version): Use PKGVERSION.
2330 * malloc/mtrace.pl ($PACKAGE): Remove variable.
2331 ($PKGVERSION): New variable.
2332 ($REPORT_BUGS_TO): Likewise.
2333 (usage): Use $REPORT_BUGS_TO.
2334 (top level): Use $PKGVERSION.
2335 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
2336 ($(objpfx)pkgvers.texi): New rule.
2337 ($(objpfx)stamp-pkgvers): Likewise.
2338 * manual/install.texi: Include pkgvers.texi.
2339 (--with-pkgversion): Document new configure option.
2340 (--with-bugurl): Likewise.
2341 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
2342 than necessarily for this particular distribution. Use
2343 REPORT_BUGS_TO for where to report bugs.
2344 * INSTALL: Regenerated.
2345 * manual/libc.texinfo: Include pkgvers.texi.
2346 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
2347 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
2348 (print_version): Use PKGVERSION.
2349 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
2350 (print_version): Use PKGVERSION.
2351 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
2352 (print_version): Use PKGVERSION.
2353 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
2354 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
2355 macro.
2356 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
2357 (print_version): Use PKGVERSION.
2358 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
2359 (print_version): Use PKGVERSION.
2360 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
2361 and PKGVERSION.
2362
92e4b6a9
JM
2363 * timezone/checktab.awk: Update from tzcode 2012i.
2364 * timezone/ialloc.c: Likewise.
2365 * timezone/private.h: Likewise.
2366 * timezone/scheck.c: Likewise.
2367 * timezone/tzfile.h: Likewise.
2368 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
2369 (TZVERSION): Hardcode tzcode version number.
2370 * timezone/zdump.c: Update from tzcode 2012i.
2371 * timezone/zic.c: Likewise.
2372 * timezone/version.h: New file.
2373 * timezone/README: Describe version.h. Update upstream location.
2374
9bde902c
JM
2375 [BZ #14824]
2376 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
2377 (mktemp): Enable declaration.
2378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
2379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
2380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
2381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
2382 Likewise.
2383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
2384 Likewise.
2385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
2386 Likewise.
2387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
2388 Likewise.
2389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
2390 Likewise.
2391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
2392 Likewise.
2393
fb1ae1ee
JM
2394 [BZ #14821]
2395 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
2396 offset in buffer as u_int32_t not u_long. Consistently use memcpy
2397 for copies of such integer values.
2398 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
2399 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
2400
2c1adbcb
AJ
24012012-11-09 Andreas Jaeger <aj@suse.de>
2402
2403 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
2404 definitions and declarations that are provided by
2405 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2406
d0f8457e
AK
24072012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2408
3a235abb 2409 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
2410 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
2411 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
2412 definition.
2413
57241e26
MS
24142012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2415
2416 * elf/elf.h: Update comment before AArch64 relocations.
2417
60e8270d
DM
24182012-11-07 David S. Miller <davem@davemloft.net>
2419
2420 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
2421 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2422 (__start_context): Declare.
2423 (__makecontext_ret): Delete.
2424 (__makecontext): Hook up __start_context instead of
2425 __makecontext_ret.
2426 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
2427 (sysdep_routines): Add __start_context when in stdlib.
2428
0fbb0fbc
JM
24292012-11-07 Joseph Myers <joseph@codesourcery.com>
2430
2431 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
2432 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
2433 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
2434 hardcoded "nm".
2435 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
2436 (READELF): New variable. Use it instead of hardcoded "readelf".
2437
eb48db7e
L
24382012-11-07 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
2441 * sysdeps/x86/Makefile: Here.
2442 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
2443 * sysdeps/x86/tst-xmmymm.sh: This.
2444
05bcf62a
JM
24452012-11-07 Joseph Myers <joseph@codesourcery.com>
2446
c4b6cf53
JM
2447 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
2448 expectations.
2449 [UNIX98] (pthread_barrier_t): Do not expect.
2450 [UNIX98] (pthread_barrierattr_t): Likewise.
2451 [UNIX98] (pthread_spinlock_t): Likewise.
2452 [UNIX98] (pthread_barrier_destroy): Likewise.
2453 [UNIX98] (pthread_barrier_init): Likewise.
2454 [UNIX98] (pthread_barrier_wait): Likewise.
2455 [UNIX98] (pthread_barrierattr_destroy): Likewise.
2456 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
2457 [UNIX98] (pthread_barrierattr_init): Likewise.
2458 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
2459 [UNIX98] (pthread_getcpuclockid): Likewise.
2460 [UNIX98] (pthread_mutex_timedlock): Likewise.
2461 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
2462 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
2463 [UNIX98] (pthread_sigmask): Likewise.
2464 [UNIX98] (pthread_spin_destroy): Likewise.
2465 [UNIX98] (pthread_spin_init): Likewise.
2466 [UNIX98] (pthread_spin_lock): Likewise.
2467 [UNIX98] (pthread_spin_trylock): Likewise.
2468 [UNIX98] (pthread_spin_unlock): Likewise.
2469 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
2470 Do not expect.
2471 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
2472 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
2473 [XPG3 || XPG4] (pthread_cond_t): Likewise.
2474 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
2475 [XPG3 || XPG4] (pthread_key_t): Likewise.
2476 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
2477 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
2478 [XPG3 || XPG4] (pthread_once_t): Likewise.
2479 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
2480 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
2481 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
2482 [XPG3 || XPG4] (pthread_t): Likewise.
2483
cbe6e120
JM
2484 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
2485 not expect.
2486 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
2487
1b126443
JM
2488 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
2489 Change function return type to int.
2490
b961a573
JM
2491 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
2492 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
2493 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
2494 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
2495 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
2496 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
2497 [!POSIX] (posix_madvise): Likewise.
2498 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
2499 && !UNIX98].
2500 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
2501 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
2502 (mode_t): Likewise.
2503 (posix_mem_offset): Likewise.
2504 (posix_typed_mem_get_info): Likewise.
2505 (posix_typed_mem_open): Likewise.
2506
9e188909
JM
2507 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
2508 Change condition to [XOPEN2K8].
2509
05bcf62a
JM
2510 * conform/conformtest.pl: Preprocess allow-header data with -x c
2511 instead of from stdin.
2512 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
2513 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
2514 [C99-based standards] (cerfc): Likewise.
2515 [C99-based standards] (cexp2): Likewise.
2516 [C99-based standards] (cexpm1): Likewise.
2517 [C99-based standards] (clog10): Likewise.
2518 [C99-based standards] (clog1p): Likewise.
2519 [C99-based standards] (clog2): Likewise.
2520 [C99-based standards] (clgamma): Likewise.
2521 [C99-based standards] (ctgamma): Likewise.
2522 [C99-based standards] (cerff): Likewise.
2523 [C99-based standards] (cerfcf): Likewise.
2524 [C99-based standards] (cexp2f): Likewise.
2525 [C99-based standards] (cexpm1f): Likewise.
2526 [C99-based standards] (clog10f): Likewise.
2527 [C99-based standards] (clog1pf): Likewise.
2528 [C99-based standards] (clog2f): Likewise.
2529 [C99-based standards] (clgammaf): Likewise.
2530 [C99-based standards] (ctgammaf): Likewise.
2531 [C99-based standards] (cerfl): Likewise.
2532 [C99-based standards] (cerfcl): Likewise.
2533 [C99-based standards] (cexp2l): Likewise.
2534 [C99-based standards] (cexpm1l): Likewise.
2535 [C99-based standards] (clog10l): Likewise.
2536 [C99-based standards] (clog1pl): Likewise.
2537 [C99-based standards] (clog2l): Likewise.
2538 [C99-based standards] (clgammal): Likewise.
2539 [C99-based standards] (ctgammal): Likewise.
2540 * conform/data/inttypes.h-data [C99-based standards]: Include
2541 stdint.h-data. Remove all expectations for stdint.h contents.
2542 [C99-based standards] (PRI*): Do not allow.
2543 [C99-based standards] (SCN*): Likewise.
2544 [C99-based standards] (*_t): Likewise.
2545 [C99-based-standards] (PRId8): Expect macro.
2546 [C99-based-standards] (PRIi8): Likewise.
2547 [C99-based-standards] (PRIo8): Likewise.
2548 [C99-based-standards] (PRIu8): Likewise.
2549 [C99-based-standards] (PRIx8): Likewise.
2550 [C99-based-standards] (PRIX8): Likewise.
2551 [C99-based-standards] (SCNd8): Likewise.
2552 [C99-based-standards] (SCNi8): Likewise.
2553 [C99-based-standards] (SCNo8): Likewise.
2554 [C99-based-standards] (SCNu8): Likewise.
2555 [C99-based-standards] (SCNx8): Likewise.
2556 [C99-based-standards] (PRIdLEAST8): Likewise.
2557 [C99-based-standards] (PRIiLEAST8): Likewise.
2558 [C99-based-standards] (PRIoLEAST8): Likewise.
2559 [C99-based-standards] (PRIuLEAST8): Likewise.
2560 [C99-based-standards] (PRIxLEAST8): Likewise.
2561 [C99-based-standards] (PRIXLEAST8): Likewise.
2562 [C99-based-standards] (SCNdLEAST8): Likewise.
2563 [C99-based-standards] (SCNiLEAST8): Likewise.
2564 [C99-based-standards] (SCNoLEAST8): Likewise.
2565 [C99-based-standards] (SCNuLEAST8): Likewise.
2566 [C99-based-standards] (SCNxLEAST8): Likewise.
2567 [C99-based-standards] (PRIdFAST8): Likewise.
2568 [C99-based-standards] (PRIiFAST8): Likewise.
2569 [C99-based-standards] (PRIoFAST8): Likewise.
2570 [C99-based-standards] (PRIuFAST8): Likewise.
2571 [C99-based-standards] (PRIxFAST8): Likewise.
2572 [C99-based-standards] (PRIXFAST8): Likewise.
2573 [C99-based-standards] (SCNdFAST8): Likewise.
2574 [C99-based-standards] (SCNiFAST8): Likewise.
2575 [C99-based-standards] (SCNoFAST8): Likewise.
2576 [C99-based-standards] (SCNuFAST8): Likewise.
2577 [C99-based-standards] (SCNxFAST8): Likewise.
2578 [C99-based-standards] (PRId16): Likewise.
2579 [C99-based-standards] (PRIi16): Likewise.
2580 [C99-based-standards] (PRIo16): Likewise.
2581 [C99-based-standards] (PRIu16): Likewise.
2582 [C99-based-standards] (PRIx16): Likewise.
2583 [C99-based-standards] (PRIX16): Likewise.
2584 [C99-based-standards] (SCNd16): Likewise.
2585 [C99-based-standards] (SCNi16): Likewise.
2586 [C99-based-standards] (SCNo16): Likewise.
2587 [C99-based-standards] (SCNu16): Likewise.
2588 [C99-based-standards] (SCNx16): Likewise.
2589 [C99-based-standards] (PRIdLEAST16): Likewise.
2590 [C99-based-standards] (PRIiLEAST16): Likewise.
2591 [C99-based-standards] (PRIoLEAST16): Likewise.
2592 [C99-based-standards] (PRIuLEAST16): Likewise.
2593 [C99-based-standards] (PRIxLEAST16): Likewise.
2594 [C99-based-standards] (PRIXLEAST16): Likewise.
2595 [C99-based-standards] (SCNdLEAST16): Likewise.
2596 [C99-based-standards] (SCNiLEAST16): Likewise.
2597 [C99-based-standards] (SCNoLEAST16): Likewise.
2598 [C99-based-standards] (SCNuLEAST16): Likewise.
2599 [C99-based-standards] (SCNxLEAST16): Likewise.
2600 [C99-based-standards] (PRIdFAST16): Likewise.
2601 [C99-based-standards] (PRIiFAST16): Likewise.
2602 [C99-based-standards] (PRIoFAST16): Likewise.
2603 [C99-based-standards] (PRIuFAST16): Likewise.
2604 [C99-based-standards] (PRIxFAST16): Likewise.
2605 [C99-based-standards] (PRIXFAST16): Likewise.
2606 [C99-based-standards] (SCNdFAST16): Likewise.
2607 [C99-based-standards] (SCNiFAST16): Likewise.
2608 [C99-based-standards] (SCNoFAST16): Likewise.
2609 [C99-based-standards] (SCNuFAST16): Likewise.
2610 [C99-based-standards] (SCNxFAST16): Likewise.
2611 [C99-based-standards] (PRId32): Likewise.
2612 [C99-based-standards] (PRIi32): Likewise.
2613 [C99-based-standards] (PRIo32): Likewise.
2614 [C99-based-standards] (PRIu32): Likewise.
2615 [C99-based-standards] (PRIx32): Likewise.
2616 [C99-based-standards] (PRIX32): Likewise.
2617 [C99-based-standards] (SCNd32): Likewise.
2618 [C99-based-standards] (SCNi32): Likewise.
2619 [C99-based-standards] (SCNo32): Likewise.
2620 [C99-based-standards] (SCNu32): Likewise.
2621 [C99-based-standards] (SCNx32): Likewise.
2622 [C99-based-standards] (PRIdLEAST32): Likewise.
2623 [C99-based-standards] (PRIiLEAST32): Likewise.
2624 [C99-based-standards] (PRIoLEAST32): Likewise.
2625 [C99-based-standards] (PRIuLEAST32): Likewise.
2626 [C99-based-standards] (PRIxLEAST32): Likewise.
2627 [C99-based-standards] (PRIXLEAST32): Likewise.
2628 [C99-based-standards] (SCNdLEAST32): Likewise.
2629 [C99-based-standards] (SCNiLEAST32): Likewise.
2630 [C99-based-standards] (SCNoLEAST32): Likewise.
2631 [C99-based-standards] (SCNuLEAST32): Likewise.
2632 [C99-based-standards] (SCNxLEAST32): Likewise.
2633 [C99-based-standards] (PRIdFAST32): Likewise.
2634 [C99-based-standards] (PRIiFAST32): Likewise.
2635 [C99-based-standards] (PRIoFAST32): Likewise.
2636 [C99-based-standards] (PRIuFAST32): Likewise.
2637 [C99-based-standards] (PRIxFAST32): Likewise.
2638 [C99-based-standards] (PRIXFAST32): Likewise.
2639 [C99-based-standards] (SCNdFAST32): Likewise.
2640 [C99-based-standards] (SCNiFAST32): Likewise.
2641 [C99-based-standards] (SCNoFAST32): Likewise.
2642 [C99-based-standards] (SCNuFAST32): Likewise.
2643 [C99-based-standards] (SCNxFAST32): Likewise.
2644 [C99-based-standards] (PRId64): Likewise.
2645 [C99-based-standards] (PRIi64): Likewise.
2646 [C99-based-standards] (PRIo64): Likewise.
2647 [C99-based-standards] (PRIu64): Likewise.
2648 [C99-based-standards] (PRIx64): Likewise.
2649 [C99-based-standards] (PRIX64): Likewise.
2650 [C99-based-standards] (SCNd64): Likewise.
2651 [C99-based-standards] (SCNi64): Likewise.
2652 [C99-based-standards] (SCNo64): Likewise.
2653 [C99-based-standards] (SCNu64): Likewise.
2654 [C99-based-standards] (SCNx64): Likewise.
2655 [C99-based-standards] (PRIdLEAST64): Likewise.
2656 [C99-based-standards] (PRIiLEAST64): Likewise.
2657 [C99-based-standards] (PRIoLEAST64): Likewise.
2658 [C99-based-standards] (PRIuLEAST64): Likewise.
2659 [C99-based-standards] (PRIxLEAST64): Likewise.
2660 [C99-based-standards] (PRIXLEAST64): Likewise.
2661 [C99-based-standards] (SCNdLEAST64): Likewise.
2662 [C99-based-standards] (SCNiLEAST64): Likewise.
2663 [C99-based-standards] (SCNoLEAST64): Likewise.
2664 [C99-based-standards] (SCNuLEAST64): Likewise.
2665 [C99-based-standards] (SCNxLEAST64): Likewise.
2666 [C99-based-standards] (PRIdFAST64): Likewise.
2667 [C99-based-standards] (PRIiFAST64): Likewise.
2668 [C99-based-standards] (PRIoFAST64): Likewise.
2669 [C99-based-standards] (PRIuFAST64): Likewise.
2670 [C99-based-standards] (PRIxFAST64): Likewise.
2671 [C99-based-standards] (PRIXFAST64): Likewise.
2672 [C99-based-standards] (SCNdFAST64): Likewise.
2673 [C99-based-standards] (SCNiFAST64): Likewise.
2674 [C99-based-standards] (SCNoFAST64): Likewise.
2675 [C99-based-standards] (SCNuFAST64): Likewise.
2676 [C99-based-standards] (SCNxFAST64): Likewise.
2677 [C99-based-standards] (PRIdMAX): Likewise.
2678 [C99-based-standards] (PRIiMAX): Likewise.
2679 [C99-based-standards] (PRIoMAX): Likewise.
2680 [C99-based-standards] (PRIuMAX): Likewise.
2681 [C99-based-standards] (PRIxMAX): Likewise.
2682 [C99-based-standards] (PRIXMAX): Likewise.
2683 [C99-based-standards] (SCNdMAX): Likewise.
2684 [C99-based-standards] (SCNiMAX): Likewise.
2685 [C99-based-standards] (SCNoMAX): Likewise.
2686 [C99-based-standards] (SCNuMAX): Likewise.
2687 [C99-based-standards] (SCNxMAX): Likewise.
2688 [C99-based-standards] (PRIdPTR): Likewise.
2689 [C99-based-standards] (PRIiPTR): Likewise.
2690 [C99-based-standards] (PRIoPTR): Likewise.
2691 [C99-based-standards] (PRIuPTR): Likewise.
2692 [C99-based-standards] (PRIxPTR): Likewise.
2693 [C99-based-standards] (PRIXPTR): Likewise.
2694 [C99-based-standards] (SCNdPTR): Likewise.
2695 [C99-based-standards] (SCNiPTR): Likewise.
2696 [C99-based-standards] (SCNoPTR): Likewise.
2697 [C99-based-standards] (SCNuPTR): Likewise.
2698 [C99-based-standards] (SCNxPTR): Likewise.
2699 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2700 allow.
2701 * conform/data/stdint.h-data: Update comments to clarify
2702 requirements.
2703 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2704 type.
2705 [C99-based standards] (INT8_MAX): Likewise.
2706 [C99-based standards] (INT16_MIN): Likewise.
2707 [C99-based standards] (INT16_MAX): Likewise.
2708 [C99-based standards] (INT32_MIN): Likewise.
2709 [C99-based standards] (INT32_MAX): Likewise.
2710 [C99-based standards] (INT64_MIN): Likewise.
2711 [C99-based standards] (INT64_MAX): Likewise.
2712 [C99-based standards] (UINT8_MAX): Likewise.
2713 [C99-based standards] (UINT16_MAX): Likewise.
2714 [C99-based standards] (UINT32_MAX): Likewise.
2715 [C99-based standards] (UINT64_MAX): Likewise.
2716 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2717 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2718 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2719 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2720 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2721 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2722 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2723 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2724 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2725 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2726 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2727 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2728 [C99-based standards] (INT_FAST8_MIN): Likewise.
2729 [C99-based standards] (INT_FAST8_MAX): Likewise.
2730 [C99-based standards] (INT_FAST16_MIN): Likewise.
2731 [C99-based standards] (INT_FAST16_MAX): Likewise.
2732 [C99-based standards] (INT_FAST32_MIN): Likewise.
2733 [C99-based standards] (INT_FAST32_MAX): Likewise.
2734 [C99-based standards] (INT_FAST64_MIN): Likewise.
2735 [C99-based standards] (INT_FAST64_MAX): Likewise.
2736 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2737 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2738 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2739 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2740 [C99-based standards] (INTPTR_MIN): Likewise.
2741 [C99-based standards] (INTPTR_MAX): Likewise.
2742 [C99-based standards] (UINTPTR_MAX): Likewise.
2743 [C99-based standards] (INTMAX_MIN): Likewise.
2744 [C99-based standards] (INTMAX_MAX): Likewise.
2745 [C99-based standards] (UINTMAX_MAX): Likewise.
2746 [C99-based standards] (PTRDIFF_MIN): Likewise.
2747 [C99-based standards] (PTRDIFF_MAX): Likewise.
2748 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2749 [C99-based standards] (SIZE_MAX): Likewise.
2750 [C99-based standards] (WCHAR_MAX): Likewise.
2751 [C99-based standards] (WINT_MAX): Likewise.
2752 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2753 constraint on value.
2754 [C99-based standards] (WCHAR_MIN): Likewise.
2755 [C99-based standards] (WINT_MIN): Likewise.
2756 [C99-based standards] (*_t): Allow.
2757 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2758 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2759 Include math.h-data and complex.h-data. Remove all expectations
2760 of math.h and complex.h contents.
2761 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2762 at end of line.
2763 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2764 (struct tm): Expect tag.
2765 [C99-based-standards] (wcstof): Expect function.
2766 [C99-based-standards] (wcstold): Likewise.
2767 [C99-based-standards] (wcstoll): Likewise.
2768 [C99-based-standards] (wcstoull): Likewise.
2769 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2770 macro-int-constant. Specify type.
2771 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2772 constraint on value.
2773 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2774 Specify type.
2775 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2776 Specify value.
2777 [ISO C standards]: Do not allow headers.
2778 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2779 wcs[abcdefghijklmnopqrstuvwxyz]*.
2780 [ISO C standards] (*_t): Do not allow.
2781 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2782 Expect function.
2783 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2784 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2785 Specify type.
2786 [ISO C standards]: Do not allow headers.
2787 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2788 is[abcdefghijklmnopqrstuvwxyz]*.
2789 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2790 to[abcdefghijklmnopqrstuvwxyz]*.
2791 [ISO C standards] (*_t): Do not allow.
2792 * conform/data/stdalign.h-data: New file.
2793 * conform/data/stdbool.h-data: Likewise.
2794 * conform/data/stdnoreturn.h-data: Likewise.
2795
7514feb8
RM
27962012-11-07 Roland McGrath <roland@hack.frob.com>
2797
2798 [BZ #14815]
2799 * manual/filesys.texi (Directory Entries): Typo fix.
2800 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2801
19b2ecfc
MS
28022012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2803
2804 * elf/elf.h (EM_AARCH64): New macro.
2805 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2806 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2807 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2808 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2809 (R_AARCH64_TLSDESC): Likewise.
2810 (NT_ARM_TLS): Likewise.
2811 (NT_ARM_HW_BREAK): Likewise.
2812 (NT_ARM_HW_WATCH): Likewise.
2813
60e235ee
JM
28142012-11-07 Joseph Myers <joseph@codesourcery.com>
2815
2816 [BZ #14811]
2817 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2818 (__ieee754_powl): Saturate nonzero exponents with absolute value
2819 below 0x1p-79 to +/- 0x1p-79.
2820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2821 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2822 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2823 nonzero exponents with absolute value below 0x1p-32 to +/-
2824 0x1p-32.
2825 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2826 (__ieee754_powl): Saturate nonzero exponents with absolute value
2827 below 0x1p-79 to +/- 0x1p-79.
2828 * math/libm-test.inc (pow_test): Add more tests.
2829
0ab234b7
AK
28302012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2831
2832 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2833 _dl_s390_cap_flags with kernel. Increase string length.
2834 (_dl_s390_platforms): Add z196 and zEC12.
2835
45832f74
JM
28362012-11-07 Joseph Myers <joseph@codesourcery.com>
2837
2838 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2839 Change XOPEN21K to XOPEN2K.
2840
19218757
MK
28412012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2842
2843 * string/memmove.c: Use memcpy when possible.
2844
c5f45721
AJ
28452012-11-06 Andreas Jaeger <aj@suse.de>
2846
2847 * po/eo.po: Update from translation team.
2848
82477c28
JM
28492012-11-06 Joseph Myers <joseph@codesourcery.com>
2850
2851 [BZ #14793]
2852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2853 exponent and small x and y exponents, scale x or y up. Increase
2854 by 2 the exponent used in scaling up.
2855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2857 * math/libm-test.inc (fma_test): Add more tests.
2858 (fma_test_towardzero): Likewise.
2859 (fma_test_downward): Likewise.
2860 (fma_test_upward): Likewise.
2861
99252c8c
JM
28622012-11-05 Joseph Myers <joseph@codesourcery.com>
2863
acfa885f
JM
2864 [BZ #14805]
2865 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2866 fenv_t *.
2867
99252c8c
JM
2868 [BZ #14801]
2869 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2870 namespace for names of struct fields.
2871 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2872 fenv_t fields.
2873 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2874 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2875
d6d98dea
ST
28762012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2877
2878 [BZ #3665]
2879 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2880
e10bb107
TS
28812012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2882
2883 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2884 PTR_DEMANGLE.
2885
2886 [BZ #5246]
2887 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2888 PTR_DEMANGLE.
2889
a0c2940d
JM
28902012-11-04 Joseph Myers <joseph@codesourcery.com>
2891
2892 [BZ #14797]
2893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2894 definitely overflow as x * y not x * y + z.
2895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2896 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2897 * math/libm-test.inc (fma_test): Add more tests.
2898 (fma_test_towardzero): Likewise.
2899 (fma_test_downward): Likewise.
2900 (fma_test_upward): Likewise.
2901
b830319d
TS
29022012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2903
2904 [BZ #157]
2905
2906 * include/stub-tag.h: Remove file.
2907 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2908 '#include' of it.
2909 * manual/maint.texi (Porting): Don't reference it.
2910 * Makerules ($(objpfx)stubs): Likewise.
2911 * dirent/closedir.c: Don't include <stub-tag.h>.
2912 * dirent/dirfd.c: Likewise.
2913 * dirent/fdopendir.c: Likewise.
2914 * dirent/getdents.c: Likewise.
2915 * dirent/getdents64.c: Likewise.
2916 * dirent/opendir.c: Likewise.
2917 * dirent/readdir.c: Likewise.
2918 * dirent/readdir64.c: Likewise.
2919 * dirent/readdir64_r.c: Likewise.
2920 * dirent/readdir_r.c: Likewise.
2921 * dirent/rewinddir.c: Likewise.
2922 * dirent/seekdir.c: Likewise.
2923 * dirent/telldir.c: Likewise.
2924 * gmon/profil.c: Likewise.
2925 * grp/setgroups.c: Likewise.
2926 * inet/if_index.c: Likewise.
2927 * io/access.c: Likewise.
2928 * io/chdir.c: Likewise.
2929 * io/chmod.c: Likewise.
2930 * io/chown.c: Likewise.
2931 * io/close.c: Likewise.
2932 * io/dup.c: Likewise.
2933 * io/dup2.c: Likewise.
2934 * io/dup3.c: Likewise.
2935 * io/euidaccess.c: Likewise.
2936 * io/faccessat.c: Likewise.
2937 * io/fchdir.c: Likewise.
2938 * io/fchmod.c: Likewise.
2939 * io/fchmodat.c: Likewise.
2940 * io/fchown.c: Likewise.
2941 * io/fchownat.c: Likewise.
2942 * io/fcntl.c: Likewise.
2943 * io/flock.c: Likewise.
2944 * io/fstatfs.c: Likewise.
2945 * io/fstatfs64.c: Likewise.
2946 * io/fstatvfs.c: Likewise.
2947 * io/fstatvfs64.c: Likewise.
2948 * io/futimens.c: Likewise.
2949 * io/fxstat.c: Likewise.
2950 * io/fxstat64.c: Likewise.
2951 * io/fxstatat.c: Likewise.
2952 * io/fxstatat64.c: Likewise.
2953 * io/getcwd.c: Likewise.
2954 * io/isatty.c: Likewise.
2955 * io/lchmod.c: Likewise.
2956 * io/lchown.c: Likewise.
2957 * io/link.c: Likewise.
2958 * io/linkat.c: Likewise.
2959 * io/lseek.c: Likewise.
2960 * io/lseek64.c: Likewise.
2961 * io/lxstat64.c: Likewise.
2962 * io/mkdir.c: Likewise.
2963 * io/mkdirat.c: Likewise.
2964 * io/mkfifo.c: Likewise.
2965 * io/mkfifoat.c: Likewise.
2966 * io/open.c: Likewise.
2967 * io/open64.c: Likewise.
2968 * io/openat.c: Likewise.
2969 * io/openat64.c: Likewise.
2970 * io/pipe.c: Likewise.
2971 * io/pipe2.c: Likewise.
2972 * io/poll.c: Likewise.
2973 * io/posix_fadvise.c: Likewise.
2974 * io/posix_fadvise64.c: Likewise.
2975 * io/posix_fallocate.c: Likewise.
2976 * io/posix_fallocate64.c: Likewise.
2977 * io/read.c: Likewise.
2978 * io/readlink.c: Likewise.
2979 * io/readlinkat.c: Likewise.
2980 * io/rmdir.c: Likewise.
2981 * io/sendfile.c: Likewise.
2982 * io/sendfile64.c: Likewise.
2983 * io/statfs.c: Likewise.
2984 * io/statfs64.c: Likewise.
2985 * io/statvfs.c: Likewise.
2986 * io/statvfs64.c: Likewise.
2987 * io/symlink.c: Likewise.
2988 * io/symlinkat.c: Likewise.
2989 * io/ttyname.c: Likewise.
2990 * io/ttyname_r.c: Likewise.
2991 * io/umask.c: Likewise.
2992 * io/unlink.c: Likewise.
2993 * io/unlinkat.c: Likewise.
2994 * io/utime.c: Likewise.
2995 * io/utimensat.c: Likewise.
2996 * io/write.c: Likewise.
2997 * io/xmknod.c: Likewise.
2998 * io/xmknodat.c: Likewise.
2999 * io/xstat.c: Likewise.
3000 * io/xstat64.c: Likewise.
3001 * login/getpt.c: Likewise.
3002 * login/grantpt.c: Likewise.
3003 * login/unlockpt.c: Likewise.
3004 * math/e_acoshl.c: Likewise.
3005 * math/e_acosl.c: Likewise.
3006 * math/e_asinl.c: Likewise.
3007 * math/e_atan2l.c: Likewise.
3008 * math/e_atanhl.c: Likewise.
3009 * math/e_coshl.c: Likewise.
3010 * math/e_expl.c: Likewise.
3011 * math/e_fmodl.c: Likewise.
3012 * math/e_gammal_r.c: Likewise.
3013 * math/e_hypotl.c: Likewise.
3014 * math/e_j0l.c: Likewise.
3015 * math/e_j1l.c: Likewise.
3016 * math/e_jnl.c: Likewise.
3017 * math/e_lgammal_r.c: Likewise.
3018 * math/e_log10l.c: Likewise.
3019 * math/e_log2l.c: Likewise.
3020 * math/e_logl.c: Likewise.
3021 * math/e_powl.c: Likewise.
3022 * math/e_rem_pio2l.c: Likewise.
3023 * math/e_sinhl.c: Likewise.
3024 * math/e_sqrtl.c: Likewise.
3025 * math/fclrexcpt.c: Likewise.
3026 * math/fedisblxcpt.c: Likewise.
3027 * math/feenablxcpt.c: Likewise.
3028 * math/fegetenv.c: Likewise.
3029 * math/fegetexcept.c: Likewise.
3030 * math/fegetround.c: Likewise.
3031 * math/feholdexcpt.c: Likewise.
3032 * math/fesetenv.c: Likewise.
3033 * math/fesetround.c: Likewise.
3034 * math/feupdateenv.c: Likewise.
3035 * math/fgetexcptflg.c: Likewise.
3036 * math/fraiseexcpt.c: Likewise.
3037 * math/fsetexcptflg.c: Likewise.
3038 * math/ftestexcept.c: Likewise.
3039 * math/k_cosl.c: Likewise.
3040 * math/k_rem_pio2l.c: Likewise.
3041 * math/k_sinl.c: Likewise.
3042 * math/k_tanl.c: Likewise.
3043 * math/s_asinhl.c: Likewise.
3044 * math/s_atanl.c: Likewise.
3045 * math/s_cbrtl.c: Likewise.
3046 * math/s_erfl.c: Likewise.
3047 * math/s_expm1l.c: Likewise.
3048 * math/s_log1pl.c: Likewise.
3049 * math/s_tanhl.c: Likewise.
3050 * misc/acct.c: Likewise.
3051 * misc/brk.c: Likewise.
3052 * misc/chflags.c: Likewise.
3053 * misc/chroot.c: Likewise.
3054 * misc/fchflags.c: Likewise.
3055 * misc/fgetxattr.c: Likewise.
3056 * misc/flistxattr.c: Likewise.
3057 * misc/fremovexattr.c: Likewise.
3058 * misc/fsetxattr.c: Likewise.
3059 * misc/fsync.c: Likewise.
3060 * misc/ftruncate.c: Likewise.
3061 * misc/futimes.c: Likewise.
3062 * misc/futimesat.c: Likewise.
3063 * misc/getdomain.c: Likewise.
3064 * misc/getdtsz.c: Likewise.
3065 * misc/gethostid.c: Likewise.
3066 * misc/gethostname.c: Likewise.
3067 * misc/getloadavg.c: Likewise.
3068 * misc/getpagesize.c: Likewise.
3069 * misc/getsysstats.c: Likewise.
3070 * misc/getxattr.c: Likewise.
3071 * misc/gtty.c: Likewise.
3072 * misc/ioctl.c: Likewise.
3073 * misc/lgetxattr.c: Likewise.
3074 * misc/listxattr.c: Likewise.
3075 * misc/llistxattr.c: Likewise.
3076 * misc/lremovexattr.c: Likewise.
3077 * misc/lsetxattr.c: Likewise.
3078 * misc/lutimes.c: Likewise.
3079 * misc/madvise.c: Likewise.
3080 * misc/mincore.c: Likewise.
3081 * misc/mlock.c: Likewise.
3082 * misc/mlockall.c: Likewise.
3083 * misc/mmap.c: Likewise.
3084 * misc/mprotect.c: Likewise.
3085 * misc/msync.c: Likewise.
3086 * misc/munlock.c: Likewise.
3087 * misc/munlockall.c: Likewise.
3088 * misc/munmap.c: Likewise.
3089 * misc/preadv.c: Likewise.
3090 * misc/preadv64.c: Likewise.
3091 * misc/ptrace.c: Likewise.
3092 * misc/pwritev.c: Likewise.
3093 * misc/pwritev64.c: Likewise.
3094 * misc/readv.c: Likewise.
3095 * misc/reboot.c: Likewise.
3096 * misc/remap_file_pages.c: Likewise.
3097 * misc/removexattr.c: Likewise.
3098 * misc/revoke.c: Likewise.
3099 * misc/select.c: Likewise.
3100 * misc/setdomain.c: Likewise.
3101 * misc/setegid.c: Likewise.
3102 * misc/seteuid.c: Likewise.
3103 * misc/sethostid.c: Likewise.
3104 * misc/sethostname.c: Likewise.
3105 * misc/setregid.c: Likewise.
3106 * misc/setreuid.c: Likewise.
3107 * misc/setxattr.c: Likewise.
3108 * misc/sstk.c: Likewise.
3109 * misc/stty.c: Likewise.
3110 * misc/swapoff.c: Likewise.
3111 * misc/swapon.c: Likewise.
3112 * misc/sync.c: Likewise.
3113 * misc/syncfs.c: Likewise.
3114 * misc/syscall.c: Likewise.
3115 * misc/truncate.c: Likewise.
3116 * misc/ualarm.c: Likewise.
3117 * misc/usleep.c: Likewise.
3118 * misc/ustat.c: Likewise.
3119 * misc/utimes.c: Likewise.
3120 * misc/vhangup.c: Likewise.
3121 * misc/writev.c: Likewise.
3122 * posix/_exit.c: Likewise.
3123 * posix/alarm.c: Likewise.
3124 * posix/execve.c: Likewise.
3125 * posix/fexecve.c: Likewise.
3126 * posix/fork.c: Likewise.
3127 * posix/fpathconf.c: Likewise.
3128 * posix/getaddrinfo.c: Likewise.
3129 * posix/getegid.c: Likewise.
3130 * posix/geteuid.c: Likewise.
3131 * posix/getgid.c: Likewise.
3132 * posix/getgroups.c: Likewise.
3133 * posix/getlogin.c: Likewise.
3134 * posix/getlogin_r.c: Likewise.
3135 * posix/getpgid.c: Likewise.
3136 * posix/getpid.c: Likewise.
3137 * posix/getppid.c: Likewise.
3138 * posix/getresgid.c: Likewise.
3139 * posix/getresuid.c: Likewise.
3140 * posix/getsid.c: Likewise.
3141 * posix/getuid.c: Likewise.
3142 * posix/glob64.c: Likewise.
3143 * posix/nanosleep.c: Likewise.
3144 * posix/pathconf.c: Likewise.
3145 * posix/pause.c: Likewise.
3146 * posix/posix_madvise.c: Likewise.
3147 * posix/pread.c: Likewise.
3148 * posix/pread64.c: Likewise.
3149 * posix/pwrite.c: Likewise.
3150 * posix/pwrite64.c: Likewise.
3151 * posix/sched_getaffinity.c: Likewise.
3152 * posix/sched_getp.c: Likewise.
3153 * posix/sched_gets.c: Likewise.
3154 * posix/sched_primax.c: Likewise.
3155 * posix/sched_primin.c: Likewise.
3156 * posix/sched_rr_gi.c: Likewise.
3157 * posix/sched_setaffinity.c: Likewise.
3158 * posix/sched_setp.c: Likewise.
3159 * posix/sched_sets.c: Likewise.
3160 * posix/sched_yield.c: Likewise.
3161 * posix/setgid.c: Likewise.
3162 * posix/setlogin.c: Likewise.
3163 * posix/setpgid.c: Likewise.
3164 * posix/setresgid.c: Likewise.
3165 * posix/setresuid.c: Likewise.
3166 * posix/setsid.c: Likewise.
3167 * posix/setuid.c: Likewise.
3168 * posix/sleep.c: Likewise.
3169 * posix/spawni.c: Likewise.
3170 * posix/sysconf.c: Likewise.
3171 * posix/times.c: Likewise.
3172 * posix/wait.c: Likewise.
3173 * posix/wait3.c: Likewise.
3174 * posix/wait4.c: Likewise.
3175 * posix/waitpid.c: Likewise.
3176 * resolv/gai_sigqueue.c: Likewise.
3177 * resource/getpriority.c: Likewise.
3178 * resource/getrlimit.c: Likewise.
3179 * resource/getrusage.c: Likewise.
3180 * resource/nice.c: Likewise.
3181 * resource/setpriority.c: Likewise.
3182 * resource/setrlimit.c: Likewise.
3183 * resource/ulimit.c: Likewise.
3184 * rt/aio_cancel.c: Likewise.
3185 * rt/aio_fsync.c: Likewise.
3186 * rt/aio_read.c: Likewise.
3187 * rt/aio_sigqueue.c: Likewise.
3188 * rt/aio_suspend.c: Likewise.
3189 * rt/aio_write.c: Likewise.
3190 * rt/clock_getres.c: Likewise.
3191 * rt/clock_gettime.c: Likewise.
3192 * rt/clock_nanosleep.c: Likewise.
3193 * rt/clock_settime.c: Likewise.
3194 * rt/lio_listio.c: Likewise.
3195 * rt/mq_close.c: Likewise.
3196 * rt/mq_getattr.c: Likewise.
3197 * rt/mq_notify.c: Likewise.
3198 * rt/mq_open.c: Likewise.
3199 * rt/mq_receive.c: Likewise.
3200 * rt/mq_send.c: Likewise.
3201 * rt/mq_setattr.c: Likewise.
3202 * rt/mq_timedreceive.c: Likewise.
3203 * rt/mq_timedsend.c: Likewise.
3204 * rt/mq_unlink.c: Likewise.
3205 * rt/shm_open.c: Likewise.
3206 * rt/shm_unlink.c: Likewise.
3207 * rt/timer_create.c: Likewise.
3208 * rt/timer_delete.c: Likewise.
3209 * rt/timer_getoverr.c: Likewise.
3210 * rt/timer_gettime.c: Likewise.
3211 * rt/timer_settime.c: Likewise.
3212 * setjmp/__longjmp.c: Likewise.
3213 * setjmp/setjmp.c: Likewise.
3214 * signal/kill.c: Likewise.
3215 * signal/killpg.c: Likewise.
3216 * signal/raise.c: Likewise.
3217 * signal/sigaction.c: Likewise.
3218 * signal/sigaltstack.c: Likewise.
3219 * signal/sigblock.c: Likewise.
3220 * signal/sigignore.c: Likewise.
3221 * signal/sigintr.c: Likewise.
3222 * signal/signal.c: Likewise.
3223 * signal/sigpause.c: Likewise.
3224 * signal/sigpending.c: Likewise.
3225 * signal/sigqueue.c: Likewise.
3226 * signal/sigreturn.c: Likewise.
3227 * signal/sigset.c: Likewise.
3228 * signal/sigsetmask.c: Likewise.
3229 * signal/sigstack.c: Likewise.
3230 * signal/sigsuspend.c: Likewise.
3231 * signal/sigtimedwait.c: Likewise.
3232 * signal/sigvec.c: Likewise.
3233 * signal/sigwait.c: Likewise.
3234 * signal/sigwaitinfo.c: Likewise.
3235 * signal/sysv_signal.c: Likewise.
3236 * socket/accept.c: Likewise.
3237 * socket/accept4.c: Likewise.
3238 * socket/bind.c: Likewise.
3239 * socket/connect.c: Likewise.
3240 * socket/getpeername.c: Likewise.
3241 * socket/getsockname.c: Likewise.
3242 * socket/getsockopt.c: Likewise.
3243 * socket/isfdtype.c: Likewise.
3244 * socket/listen.c: Likewise.
3245 * socket/recv.c: Likewise.
3246 * socket/recvfrom.c: Likewise.
3247 * socket/recvmsg.c: Likewise.
3248 * socket/send.c: Likewise.
3249 * socket/sendmsg.c: Likewise.
3250 * socket/sendto.c: Likewise.
3251 * socket/setsockopt.c: Likewise.
3252 * socket/shutdown.c: Likewise.
3253 * socket/sockatmark.c: Likewise.
3254 * socket/socket.c: Likewise.
3255 * socket/socketpair.c: Likewise.
3256 * stdio-common/ctermid.c: Likewise.
3257 * stdio-common/cuserid.c: Likewise.
3258 * stdio-common/remove.c: Likewise.
3259 * stdio-common/rename.c: Likewise.
3260 * stdio-common/renameat.c: Likewise.
3261 * stdio-common/tempname.c: Likewise.
3262 * stdlib/getcontext.c: Likewise.
3263 * stdlib/makecontext.c: Likewise.
3264 * stdlib/setcontext.c: Likewise.
3265 * stdlib/swapcontext.c: Likewise.
3266 * stdlib/system.c: Likewise.
3267 * streams/fattach.c: Likewise.
3268 * streams/fdetach.c: Likewise.
3269 * streams/getmsg.c: Likewise.
3270 * streams/getpmsg.c: Likewise.
3271 * streams/putmsg.c: Likewise.
3272 * streams/putpmsg.c: Likewise.
3273 * sysdeps/unix/bsd/getpt.c: Likewise.
3274 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
3275 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
3276 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3278 Likewise.
3279 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
3280 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3281 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
3282 * sysvipc/msgctl.c: Likewise.
3283 * sysvipc/msgget.c: Likewise.
3284 * sysvipc/msgrcv.c: Likewise.
3285 * sysvipc/msgsnd.c: Likewise.
3286 * sysvipc/semctl.c: Likewise.
3287 * sysvipc/semget.c: Likewise.
3288 * sysvipc/semop.c: Likewise.
3289 * sysvipc/semtimedop.c: Likewise.
3290 * sysvipc/shmat.c: Likewise.
3291 * sysvipc/shmctl.c: Likewise.
3292 * sysvipc/shmdt.c: Likewise.
3293 * sysvipc/shmget.c: Likewise.
3294 * termios/tcdrain.c: Likewise.
3295 * termios/tcflow.c: Likewise.
3296 * termios/tcflush.c: Likewise.
3297 * termios/tcgetattr.c: Likewise.
3298 * termios/tcgetpgrp.c: Likewise.
3299 * termios/tcsendbrk.c: Likewise.
3300 * termios/tcsetattr.c: Likewise.
3301 * termios/tcsetpgrp.c: Likewise.
3302 * time/adjtime.c: Likewise.
3303 * time/clock.c: Likewise.
3304 * time/getitimer.c: Likewise.
3305 * time/gettimeofday.c: Likewise.
3306 * time/setitimer.c: Likewise.
3307 * time/settimeofday.c: Likewise.
3308 * time/stime.c: Likewise.
3309 * time/time.c: Likewise.
3310
33112012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 3312
a20492cf
PT
3313 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
3314 /usr/old/bin.
3315
72e182e3
PT
3316 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
3317 instead of spaces.
3318 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
3319
fbeafede
JM
33202012-11-03 Joseph Myers <joseph@codesourcery.com>
3321
5b5b04d6
JM
3322 [BZ #14796]
3323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
3324 FE_TONEAREST before applying Dekker multiplication and Knuth
3325 addition. Clear inexact exceptions and check for exact zero
3326 results afterwards.
3327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3328 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3330 * math/libm-test.inc (fma_test): Add more tests.
3331 (fma_test_towardzero): Likewise.
3332 (fma_test_downward): Likewise.
3333 (fma_test_upward): Likewise.
3334 * sysdeps/generic/math_private.h (default_libc_fesetround): New
3335 function.
3336 (libc_fesetround): New macro.
3337 (libc_fesetroundf): Likewise.
3338 (libc_fesetroundl): Likewise.
3339 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
3340 function.
3341 (libc_fesetround_387): Likewise.
3342 (libc_fesetroundf): New macro.
3343 (libc_fesetround): Likewise.
3344 (libc_fesetroundl): Likewise.
3345 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
3346 function.
3347 (libc_fesetroundf): New macro.
3348 (libc_fesetround): Likewise.
3349 (libc_fesetroundl): Likewise.
3350 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
3351 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
3352 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
3353 libm_hidden_ver.
3354 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
3355 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
3356 libm_hidden_def.
3357 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
3358 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
3359 libm_hidden_ver.
3360 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
3361 libm_hidden_def.
3362
fbeafede
JM
3363 [BZ #3439]
3364 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
3365 integer constant usable in #if and use that to give value to enum
3366 constant.
3367 (FE_DIVBYZERO): Likewise.
3368 (FE_UNDERFLOW): Likewise.
3369 (FE_OVERFLOW): Likewise.
3370 (FE_INVALID): Likewise.
3371 (FE_INVALID_SNAN): Likewise.
3372 (FE_INVALID_ISI): Likewise.
3373 (FE_INVALID_IDI): Likewise.
3374 (FE_INVALID_ZDZ): Likewise.
3375 (FE_INVALID_IMZ): Likewise.
3376 (FE_INVALID_COMPARE): Likewise.
3377 (FE_INVALID_SOFTWARE): Likewise.
3378 (FE_INVALID_SQRT): Likewise.
3379 (FE_INVALID_INTEGER_CONVERSION): Likewise.
3380 (FE_TONEAREST): Likewise.
3381 (FE_TOWARDZERO): Likewise.
3382 (FE_UPWARD): Likewise.
3383 (FE_DOWNWARD): Likewise.
3384 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
3385 (FE_DIVBYZERO): Likewise.
3386 (FE_OVERFLOW): Likewise.
3387 (FE_UNDERFLOW): Likewise.
3388 (FE_INEXACT): Likewise.
3389 (FE_TONEAREST): Likewise.
3390 (FE_DOWNWARD): Likewise.
3391 (FE_UPWARD): Likewise.
3392 (FE_TOWARDZERO): Likewise.
3393 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
3394 (FE_UNDERFLOW): Likewise.
3395 (FE_OVERFLOW): Likewise.
3396 (FE_DIVBYZERO): Likewise.
3397 (FE_INVALID): Likewise.
3398 (FE_TONEAREST): Likewise.
3399 (FE_TOWARDZERO): Likewise.
3400 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
3401 (FE_OVERFLOW): Likewise.
3402 (FE_UNDERFLOW): Likewise.
3403 (FE_DIVBYZERO): Likewise.
3404 (FE_INEXACT): Likewise.
3405 (FE_TONEAREST): Likewise.
3406 (FE_TOWARDZERO): Likewise.
3407 (FE_UPWARD): Likewise.
3408 (FE_DOWNWARD): Likewise.
3409 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
3410 (FE_DIVBYZERO): Likewise.
3411 (FE_OVERFLOW): Likewise.
3412 (FE_UNDERFLOW): Likewise.
3413 (FE_INEXACT): Likewise.
3414 (FE_TONEAREST): Likewise.
3415 (FE_DOWNWARD): Likewise.
3416 (FE_UPWARD): Likewise.
3417 (FE_TOWARDZERO): Likewise.
3418
105ca950
CM
34192012-11-02 Chris Metcalf <cmetcalf@tilera.com>
3420
3421 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
3422
a542b389
AS
34232012-11-03 Andreas Schwab <schwab@linux-m68k.org>
3424
3425 * scripts/cross-test-ssh.sh (command): Use newlines to separate
3426 commands. Quote $PWD.
3427 (blacklist_exports): Don't use remove_newlines. Replace "declare
3428 -x" by "export".
3429 (remove_newlines): Remove.
3430
f62c8abc
L
34312012-11-02 H.J. Lu <hongjiu.lu@intel.com>
3432
3433 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
3434 * stdlib/stdlib.h (atof): Moved to ...
3435 * include/bits/stdlib-float.h: Here. New file.
3436 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
3437 * stdlib/bits/stdlib-float.h: New file.
3438 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
3439 -mno-sse -mno-mmx.
3440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
3441 <xmmintrin.h>.
3442
0155d5b2
JM
34432012-11-02 Joseph Myers <joseph@codesourcery.com>
3444
a68d0680
JM
3445 * conform/conformtest.pl (@headers): Add fenv.h.
3446 * conform/data/fenv.h-data: New file.
3447 * include/fenv.h [_ISOMAC]: Disable all contents of file except
3448 include of <math/fenv.h>.
3449
caf7f573
JM
3450 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
3451 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
3452 && !UNIX98]. Enables tests for XOPEN2K8.
3453 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
3454 POSIX2008]: Likewise.
3455
6c073ad6
JM
3456 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
3457 (struct rusage): Do not expect type or its members.
3458
0155d5b2
JM
3459 [BZ #3439]
3460 * math/math.h (FP_NAN): Define macro to integer constant usable in
3461 #if and use that to give value to enum constant.
3462 (FP_INFINITE): Likewise.
3463 (FP_ZERO): Likewise.
3464 (FP_SUBNORMAL): Likewise.
3465 (FP_NORMAL): Likewise.
3466
b5dcacb4
AS
34672012-11-02 Andreas Schwab <schwab@linux-m68k.org>
3468
3469 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
3470 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
3471 arguments.
3472
f7934be8
RM
34732012-11-02 Roland McGrath <roland@hack.frob.com>
3474
3475 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
3476 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
3477 autoconf-time if not.
3478 * configure.in: Remove AC_PREREQ.
3479
d7d08bde
TMQMF
34802012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3481
3482 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
3483 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
3484 of the internal implementation.
3485
dcdae19a
JM
34862012-11-02 Joseph Myers <joseph@codesourcery.com>
3487
3488 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
3489 except include of <misc/sys/syslog.h>.
3490
d6cffd3e
AS
34912012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3492
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
3494 function returns with a NULL context exit with zero.
3495
b3563932
TMQMF
34962012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3497
3498 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
3499
b288a93d
L
35002012-11-01 H.J. Lu <hongjiu.lu@intel.com>
3501
3502 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
3503 (run_program_cmd): This.
3504 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
3505 (tst_langinfo): New variable. Use it.
3506
a2421a68
SAS
35072012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
3508
3509 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
3510 floating point opcodes.
3511
6f796e1b
TS
35122012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3513
7402596b
TS
3514 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
3515 variable.
3516
d0d4f868
TS
3517 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
3518
6f796e1b
TS
3519 * sysdeps/mach/hurd/powerpc: Remove directory.
3520 * sysdeps/mach/powerpc: Likewise.
3521
4da224a2
AS
35222012-11-01 Andreas Schwab <schwab@linux-m68k.org>
3523
3524 * scripts/check-local-headers.sh: Ignore c++ headers.
3525
341dd673
TS
35262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3527
3528 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
3529 __libc_cleanup_region_start argument.
3530
473611b2
JM
35312012-11-01 Joseph Myers <joseph@codesourcery.com>
3532
3533 [BZ #14784]
3534 [BZ #14785]
3535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
3536 x * y using scaling, not as x * y + z.
3537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3539 * math/libm-test.inc (fma_test): Add more tests.
3540 (fma_test_towardzero): Likewise.
3541 (fma_test_downward): Likewise.
3542 (fma_test_upward): Likewise.
3543
4078da3d
TS
35442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3545
3546 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3547
903252aa
JM
35482012-10-31 Joseph Myers <joseph@codesourcery.com>
3549
3550 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3551 New variable.
3552
cbc818d0
TS
35532012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3554
3555 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3556
5a03cb1e
AS
35572012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3558
3559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3560 Fix sort order.
3561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3562 Likewise.
3563
90aff2ff
TMQMF
35642012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3565
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3567 Fix the order of the list for glibc 2.17.
3568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3569 Likewise.
3570
1818fcb7
AS
35712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3572
3573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3574
ef82f4da
JM
35752012-10-31 Joseph Myers <joseph@codesourcery.com>
3576
16a0e2ec
JM
3577 [BZ #14610]
3578 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3579 for low part of x being zero before using __atanl (y).
3580 * math/libm-test.inc (atan2_test): Add another test.
3581
0eb69512
JM
3582 * manual/install.texi (Configuring and compiling): Document
3583 general use of test-wrapper and test-wrapper-env.
3584 * INSTALL: Regenerated.
3585
ef82f4da
JM
3586 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3587 (__fma): Do not extract and scale down low bits on after-rounding
3588 systems when result rounded to normal precision would have normal
3589 exponent.
3590 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3591 (__fmal): Do not extract and scale down low bits on after-rounding
3592 systems when result rounded to normal precision would have normal
3593 exponent.
3594 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3595 (__fmal): Do not extract and scale down low bits on after-rounding
3596 systems when result rounded to normal precision would have normal
3597 exponent.
3598 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3599 macro.
3600 (fma_test): Add more tests.
3601 (fma_test_towardzero): Likewise.
3602 (fma_test_downward): Likewise.
3603 (fma_test_upward): Likewise.
3604
954ef0d9
L
36052012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3606
3607 * sysdeps/i386/tininess.h: Renamed to ...
3608 * sysdeps/x86/tininess.h: This.
3609 * sysdeps/x86_64/tininess.h: Removed.
3610
df61ffb2
JM
36112012-10-30 Joseph Myers <joseph@codesourcery.com>
3612
3613 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3614 input. Use $(build-program-cmd).
3615 ($(objpfx)tst-array1-static.out): Likewise.
3616 ($(objpfx)tst-array2.out): Likewise.
3617 ($(objpfx)tst-array3.out): Likewise.
3618 ($(objpfx)tst-array4.out): Likewise.
3619 ($(objpfx)tst-array5.out): Likewise.
3620 ($(objpfx)tst-array5-static.out): Likewise.
3621
01767843
CM
36222012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3623
47cc1490
CM
3624 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3625 if defined.
3626
01767843
CM
3627 * nss/nsswitch.h (nss_interface_function): Provide new
3628 macro for use with NSS functions.
3629 * grp/initgroups.c: Use new macro.
3630 * nss/getXXbyYY.c: Likewise.
3631 * nss/getXXbyYY_r.c: Likewise.
3632 * nss/getXXent.c: Likewise.
3633 * nss/getXXent_r.c: Likewise.
3634 * sysdeps/posix/getaddrinfo.c: Likewise.
3635
8321aa97
AJ
36362012-10-30 Andreas Jaeger <aj@suse.de>
3637
3638 * po/ru.po: Update Russion translation from translation project.
3639
2a27fd6d
JM
36402012-10-30 Joseph Myers <joseph@codesourcery.com>
3641
8627a232
JM
3642 [BZ #14152]
3643 [BZ #14783]
3644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3645 result and shift together with sticky bit instead of replicating
3646 round-to-nearest rounding.
3647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3649 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3650 missing underflow exceptions.
3651 (fma_test_towardzero): Add more tests.
3652 (fma_test_downward): Likewise.
3653 (fma_test_upward): Likewise.
3654
2a27fd6d
JM
3655 [BZ #14047]
3656 * sysdeps/generic/tininess.h: New file.
3657 * sysdeps/i386/tininess.h: Likewise.
3658 * sysdeps/sh/tininess.h: Likewise.
3659 * sysdeps/x86_64/tininess.h: Likewise.
3660 * stdlib/tst-strtod-underflow.c: Likewise.
3661 * stdlib/tst-tininess.c: Likewise.
3662 * stdlib/strtod_l.c: Include <tininess.h>.
3663 (round_and_return): Do not set errno for exact underflow cases.
3664 Force an underflow exception when setting errno for underflow.
3665 Determine underflow based on rounding to normal precision if
3666 TININESS_AFTER_ROUNDING.
3667 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3668 ERANGE for exact underflow cases.
3669 * stdlib/Makefile (tests): Add tst-tininess and
3670 tst-strtod-underflow.
3671 ($(objpfx)tst-tininess): Use $(link-libm).
3672 ($(objpfx)tst-strtod-underflow): Likewise.
3673
e7170363
AJ
36742012-10-30 Andreas Jaeger <aj@suse.de>
3675
e5088dc6
AJ
3676 [BZ#14767]
3677 * elf/Makefile (tests): Remove conditional for have-initfini-array
3678 since this is now always required and the variable does not exist
3679 anymore.
3680 (tests-static): Likewise.
3681 (modules-names): Likewise.
3682
e7170363 3683 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
3684
3685 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3686 merged with constructor/destructor.
3687 (init_array): Likewise.
3688 * elf/tst-array2dep.c (fini_array): Likewise.
3689 (init_array): Likewise.
3690
60457d8a
MF
36912012-10-29 Mike Frysinger <vapier@gentoo.org>
3692
3693 * manual/message.texi: Delete @cartouche tags.
3694
8bece752
PT
36952012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3696
94ce799f
PT
3697 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3698 EOPNOTSUPP.
3699 * sysdeps/mach/hurd/fsync.c: Likewise.
3700
8bece752
PT
3701 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3702 [_POSIX_REALTIME_SIGNALS]: Change condition to
3703 [_POSIX_REALTIME_SIGNALS > 0].
3704
86ebe6b1
AJ
37052012-10-27 Andreas Jaeger <aj@suse.de>
3706
3707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3708 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3709 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3710 [__WORDSIZE != 64]: Likewise.
3711
54399c08
L
37122012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3713
3714 * iconvdata/tst-table.sh: Remove ${SHELL}.
3715 * iconvdata/tst-tables.sh: Likewise.
3716
e2211bed
DM
37172012-10-25 David S. Miller <davem@davemloft.net>
3718
3719 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3720 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3721 of strtoull.
3722
f303f97c
DM
3723 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3724 ifunc-impl-list.c
3725 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3726 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3727 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3728 file.
3729
1e9d84cd
RM
37302012-10-25 Roland McGrath <roland@hack.frob.com>
3731
3732 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3733 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3734 __getdirentries.
3735
df381762
JM
37362012-10-25 Joseph Myers <joseph@codesourcery.com>
3737 Jim Blandy <jimb@codesourcery.com>
3738
3739 * scripts/cross-test-ssh.sh: New file.
3740 * manual/install.texi (Configuring and compiling): Document use of
3741 cross-test-ssh.sh.
3742 * INSTALL: Regenerated.
3743
bff64913
PT
37442012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3745
3746 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3747 EOPNOTSUPP.
3748
25fe8932
JM
37492012-10-25 Joseph Myers <joseph@codesourcery.com>
3750
3751 * Makeconfig (run-program-prefix): Fix comment.
3752
cc1290d0
JM
37532012-10-24 Joseph Myers <joseph@codesourcery.com>
3754 Jim Blandy <jimb@codesourcery.com>
3755
3756 * Makeconfig (test-wrapper): New variable,
3757 (test-wrapper-env): Likewise.
3758 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3759 (run-built-tests): Define to yes.
3760 (run-program-prefix): Use $(test-wrapper).
3761 (built-program-cmd): Likewise.
3762 * Rules (make-test-out): Use $(test-wrapper-env) and
3763 $(host-built-program-cmd).
3764 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3765 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3766 tst-pathopt.sh.
3767 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3768 $(test-wrapper-env) to tst-rtld-load-self.sh.
3769 ($(objpfx)order2.out): Use $(test-wrapper).
3770 ($(objpfx)tst-initorder.out): Likewise.
3771 ($(objpfx)tst-initorder2.out): Likewise.
3772 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3773 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3774 (test_wrapper_env): New variable. Use it to run ld.so.
3775 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3776 Use it to run ld.so.
3777 (test_wrapper_env): Likewise.
3778 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3779 $(test-wrapper) to run-iconv-test.sh.
3780 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3781 (ICONV): Use $test_wrapper.
3782 * posix/Makefile ($(objpfx)globtest.out): Pass
3783 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3784 globtest.sh, not $(run-program-prefix).
3785 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3786 (test_wrapper): Likewise.
3787 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3788 set together with run_via_rtld_prefix.
3789 (run_program_prefix): Define in terms of test_wrapper and
3790 run_via_rtld_prefix.
3791
6e6249d0
RM
37922012-10-24 Roland McGrath <roland@hack.frob.com>
3793
3794 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3795 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3796 Targets removed.
3797
3798 [BZ #14743]
3799 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3800 Declare __clock_getres, __clock_gettime, __clock_settime,
3801 __clock_nanosleep, and __clock_getcpuclockid.
3802 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3803 Remove librt_hidden_def (clock_gettime).
3804 * sysdeps/unix/clock_gettime.c: Likewise.
3805 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3806 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3807 * rt/clock_getres.c: Define __clock_getres as an alias.
3808 * sysdeps/posix/clock_getres.c: Likewise.
3809 * rt/clock_settime.c: Define __clock_settime as an alias.
3810 * sysdeps/unix/clock_settime.c: Likewise.
3811 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3812 * sysdeps/unix/clock_nanosleep.c: Likewise.
3813 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3814 * rt/clock-compat.c: New file.
3815 * rt/Makefile (librt-routines): Add clock-compat and move
3816 $(clock-routines) to ...
3817 (routines): ... here, new variable.
3818 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3819 Don't add get_clockfreq here.
3820 * rt/Versions (libc: GLIBC_2.17): New version set.
3821 Add clock_* symbols here.
3822 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3823 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3824 (GLIBC_2.17): Add clock_* symbols.
3825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3829 Likewise.
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3831 Likewise.
3832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3836 * NEWS: Mention the move.
3837
3838 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3839 Use __open, __read, __close rather than their public counterparts.
3840 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3841 (__get_clockfreq_via_cpuinfo): Likewise.
3842 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3843 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3844
3845 * config.h.in (HAVE_IFUNC): New #undef.
3846 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3847 was successful.
3848 * configure: Regenerated.
3849
0cae3f4b
MF
38502012-10-24 Mike Frysinger <vapier@gentoo.org>
3851
3852 * configure.in: Move READELF check to start of file.
3853 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3854 libc_cv_asm_gnu_indirect_function in the process.
3855 * configure: Regenerated.
3856
8175a253
MF
38572012-10-24 Mike Frysinger <vapier@gentoo.org>
3858
3859 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3860 send the output to /dev/null.
3861 (libc_cv_cc_with_libunwind): Likewise.
3862 (libc_cv_as_noexecstack): Likewise.
3863 * configure: Regenerate.
3864
0708a7d1
JM
38652012-10-24 Joseph Myers <joseph@codesourcery.com>
3866
10b40d85
JM
3867 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3868
0708a7d1
JM
3869 * posix/globtest.sh (TMPDIR): Do not set.
3870 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3871 (testout): Likewise.
3872
9fddec1a
AJ
38732012-10-24 Andreas Jaeger <aj@suse.de>
3874
3a8db22f
AJ
3875 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3876 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3877 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3878 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3879 posix_fadvise64, posix_fallocate64.
3880
9fddec1a
AJ
3881 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3882 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3883 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3884 Likewise.
3885 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3886 Likewise.
3887 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3888
3889 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3890 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3891 <bits/fcntl-linux.h>.
3892 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3893
3894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3895 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3896 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3897 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3898 [__WORDSIZE != 64]: Likewise.
3899
ebfd1bbd
JM
39002012-10-23 Joseph Myers <joseph@codesourcery.com>
3901
03ac099f
JM
3902 * Makeconfig (run-built-tests): New variable.
3903 * Rules [$(cross-compiling) = yes]: Change condition to
3904 [$(run-built-tests) = no].
3905 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3906 to [$(run-built-tests) = yes].
3907 * elf/Makefile [$(cross-compiling) = no]: Likewise
3908 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3909 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3910 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3911 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3912 * io/Makefile [$(cross-compiling) = no]: Likewise.
3913 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3914 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3915 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3916 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3917 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3918 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3919 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3920 * string/Makefile [$(cross-compiling) = no]: Likewise.
3921
ebfd1bbd
JM
3922 * posix/Makefile ($(objpfx)globtest.out): Pass
3923 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3924 $(rtld-installed-name).
3925 * posix/globtest.sh (elf_objpfx): Remove variable.
3926 (rtld_installed_name): Likewise.
3927 (library_path): Likewise.
3928 (run_program_prefix): New variable. Use for running globtest
3929 binary.
3930
166bca24
JB
39312012-10-23 Jim Blandy <jimb@codesourcery.com>
3932 Joseph Myers <joseph@codesourcery.com>
3933
3934 * Makeconfig (host-built-program-cmd): New variable.
3935 * elf/Makefile (tst-stackguard1-ARGS): Use
3936 $(host-built-program-cmd).
3937 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3938 (tst-spawn-ARGS): Likewise.
3939 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3940
88866099
JM
39412012-10-23 Joseph Myers <joseph@codesourcery.com>
3942 Jim Blandy <jimb@codesourcery.com>
3943
3944 * Makeconfig (run-via-rtld-prefix): New variable.
3945 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3946 (built-program-cmd): Likewise.
3947
b4b4c296
AJ
39482012-10-22 Andreas Jaeger <aj@suse.de>
3949
3950 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3951 __O_RSYNC if it exists, otherwise to O_SYNC.
3952
6fb54a22
JB
39532012-10-22 Jim Blandy <jimb@codesourcery.com>
3954 Joseph Myers <joseph@codesourcery.com>
3955
3956 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3957 /dev/null.
3958 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3959 from /dev/null
3960 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3961 /dev/null.
3962
481b90b9
AJ
39632012-10-22 Andreas Jaeger <aj@suse.de>
3964
2a0e2669
AJ
3965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3966 Define always.
3967 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3968
76e38f9a
AJ
3969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3970 bits/fcntl-linux.h.
3971
7cd37b43
AJ
3972 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3973 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3974
481b90b9
AJ
3975 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3976 to __O_LARGEFILE.
3977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3978 to __O_LARGEFILE.
3979
aba75984
JB
39802012-10-21 Jim Blandy <jimb@codesourcery.com>
3981 Joseph Myers <joseph@codesourcery.com>
3982
3983 * config.make.in (NM): New variable.
3984
88d4247f
AJ
39852012-10-21 Andreas Jaeger <aj@suse.de>
3986
3987 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3988 definitions and declarations that are provided by
3989 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3990
f2eed205
L
39912012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 [BZ #14683]
3994 * elf/Makefile (tests-static): Add tst-leaks1-static.
3995 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3996 ($(objpfx)tst-leaks1-static): New rule.
3997 ($(objpfx)tst-leaks1-static-mem): Likewise.
3998 (tst-leaks1-static-ENV): New macro.
3999 * elf/dl-open.c (dl_open_worker): Check the main application
4000 only if SHARED is defined.
4001 * elf/tst-leaks1-static.c: New file.
4002
335e6931
AJ
40032012-10-20 Andreas Jaeger <aj@suse.de>
4004
4005 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
4006 generic values for Linux.
4007 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
4008 and declarations that are provided by <bits/fcntl-linux.h> and
4009 include <bits/fcntl-linux.h>.
4010 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
4011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
4012
ac5c94d3
RM
40132012-10-20 Roland McGrath <roland@hack.frob.com>
4014
4015 * io/fcntl.h: Move include of <bits/types.h> to the top and
4016 include it unconditionally.
4017
de54b33a
L
40182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
4019
228cfb01
L
4020 * wcsmbs/Makefile (tests-ifunc): New variable.
4021 (tests): Add $(tests-ifunc).
4022 * wcsmbs/test-wcschr-ifunc.c: New file.
4023 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4024 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4025 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4026 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4027 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4028
69f07e5f
L
4029 * string/Makefile (tests-ifunc): New variable.
4030 (tests): Add $(tests-ifunc).
4031 * string/test-memccpy.c (TEST_NAME): New macro.
4032 * string/test-memchr.c (TEST_NAME): Likewise.
4033 * string/test-memcmp.c (TEST_NAME): Likewise.
4034 * string/test-memcpy.c (TEST_NAME): Likewise.
4035 * string/test-memmem.c (TEST_NAME): Likewise.
4036 * string/test-memmove.c (TEST_NAME): Likewise.
4037 * string/test-memset.c (TEST_NAME): Likewise.
4038 * string/test-rawmemchr.c (TEST_NAME): Likewise.
4039 * string/test-stpcpy.c (TEST_NAME): Likewise.
4040 * string/test-stpncpy.c (TEST_NAME): Likewise.
4041 * string/test-strcasecmp.c (TEST_NAME): Likewise.
4042 * string/test-strcasestr.c (TEST_NAME): Likewise.
4043 * string/test-strcat.c (TEST_NAME): Likewise.
4044 * string/test-strchr.c (TEST_NAME): Likewise.
4045 * string/test-strcmp.c(TEST_NAME): Likewise.
4046 * string/test-strcpy.c (TEST_NAME): Likewise.
4047 * string/test-strcspn.c (TEST_NAME): Likewise.
4048 * string/test-strlen.c (TEST_NAME): Likewise.
4049 * string/test-strncasecmp.c (TEST_NAME): Likewise.
4050 * string/test-strncmp.c (TEST_NAME): Likewise.
4051 * string/test-strncpy.c (TEST_NAME): Likewise.
4052 * string/test-strnlen.c (TEST_NAME): Likewise.
4053 * string/test-strpbrk.c (TEST_NAME): Likewise.
4054 * string/test-strrchr.c (TEST_NAME): Likewise.
4055 * string/test-strspn.c (TEST_NAME): Likewise.
4056 * string/test-strstr.c (TEST_NAME): Likewise.
4057 * string/test-bcopy-ifunc.c: New file.
4058 * string/test-bzero-ifunc.c: Likewise.
4059 * string/test-memccpy-ifunc.c: Likewise.
4060 * string/test-memchr-ifunc.c: Likewise.
4061 * string/test-memcmp-ifunc.c: Likewise.
4062 * string/test-memcpy-ifunc.c: Likewise.
4063 * string/test-memmem-ifunc.c: Likewise.
4064 * string/test-memmove-ifunc.c: Likewise.
4065 * string/test-mempcpy-ifunc.c: Likewise.
4066 * string/test-memset-ifunc.c: Likewise.
4067 * string/test-rawmemchr-ifunc.c: Likewise.
4068 * string/test-stpcpy-ifunc.c: Likewise.
4069 * string/test-stpncpy-ifunc.c: Likewise.
4070 * string/test-strcasecmp-ifunc.c: Likewise.
4071 * string/test-strcasestr-ifunc.c: Likewise.
4072 * string/test-strcat-ifunc.c: Likewise.
4073 * string/test-strchr-ifunc.c: Likewise.
4074 * string/test-strchrnul-ifunc.c: Likewise.
4075 * string/test-strcmp-ifunc.c: Likewise.
4076 * string/test-strcpy-ifunc.c: Likewise.
4077 * string/test-strcspn-ifunc.c: Likewise.
4078 * string/test-strlen-ifunc.c: Likewise.
4079 * string/test-strncasecmp-ifunc.c: Likewise.
4080 * string/test-strncat-ifunc.c: Likewise.
4081 * string/test-strncmp-ifunc.c: Likewise.
4082 * string/test-strncpy-ifunc.c: Likewise.
4083 * string/test-strnlen-ifunc.c: Likewise.
4084 * string/test-strpbrk-ifunc.c: Likewise.
4085 * string/test-strrchr-ifunc.c: Likewise.
4086 * string/test-strspn-ifunc.c: Likewise.
4087 * string/test-strstr-ifunc.c: Likewise.
4088
de54b33a
L
4089 * debug/Makefile (tests-ifunc): New variable.
4090 (tests): Add $(tests-ifunc).
4091 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
4092 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
4093 * debug/test-stpcpy_chk-ifunc.c: New file.
4094 * debug/test-strcpy_chk-ifunc.c: Likewise.
4095
88481c16
SP
40962012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4097
4098 [BZ #13601]
4099 * elf/dl-load.c (open_verify): Retry read if the entire ELF
4100 header is not read in.
4101
135948bd
JM
41022012-10-19 Joseph Myers <joseph@codesourcery.com>
4103
89f1c388
JM
4104 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
4105 script to $(SHELL) as $<. Pass $(common-objpfx) to script
4106 directly. Pass built executable to script as
4107 $(built-program-cmd).
4108 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
4109 $testprogram without using LD_LIBRARY_PATH and $ldso.
4110
e40a0d21
JM
4111 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
4112 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
4113 $(rtld-installed-name).
4114 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
4115 (rtld_installed_name): Likewise.
4116 (library_path): Likewise.
4117 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
4118 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
4119 $(run-program-prefix) to tst-tables.sh.
4120 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
4121 it to run tst-table-from and tst-table-to.
4122 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
4123 Pass it to tst-table.sh.
4124 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
4125 $(run-program-prefix) to tst-gettext.sh.
4126 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
4127 tst-translit.sh.
4128 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
4129 tst-gettext2.sh.
4130 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
4131 to run tst-gettext.
4132 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
4133 to run tst-gettext2.
4134 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
4135 to run tst-translit.
4136 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
4137 $(run-program-prefix) to tst-mtrace.sh.
4138 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
4139 to run tst-mtrace.
4140 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
4141 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
4142 $(rtld-installed-name).
4143 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
4144 (rtld_installed_name): Likewise.
4145 (run_program_prefix): New variable. Use it to run wordexp-test.
4146
728e272a
JM
4147 * Makeconfig (ARCH): Remove all definitions.
4148 (machine): Likewise.
4149 [ARCH]: Remove conditional code.
4150 [!objdir]: Give error.
4151 [!objdir] (objpfx): Remove.
4152 [!objdir] (common-objpfx): Likewise.
4153 [!objdir] (common-objdir): Likewise.
4154 * configure.in (config_makefile): Remove. Hardcode Makefile in
4155 AC_CONFIG_FILES call.
4156 * configure: Regenerated.
4157
d528cdcf
JM
4158 [BZ #13888]
4159 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
4160 or TMPDIR.
4161 (testout): Likewise.
4162
135948bd
JM
4163 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
4164 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
4165 $(rtld-installed-name).
4166 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
4167 (rtld_installed_name): Likwise.
4168 (runit): Remove function.
4169 (run_getconf): New variable, Use it for running getconf binary.
4170
38c78296
L
41712012-10-18 H.J. Lu <hongjiu.lu@intel.com>
4172
4173 [BZ #14716]
4174 * string/test-memmem.c (check_result): New function.
4175 (do_one_test): Use it.
4176 (check1): New function.
4177 (test_main): Use it.
4178
d077f65f
MT
41792012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
4180
4181 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
4182
ced52c71
JM
41832012-10-18 Joseph Myers <joseph@codesourcery.com>
4184
4185 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
4186 (_G_LSEEK64): Likewise.
4187 (_G_MMAP64): Likewise.
4188 (_G_FSTAT64): Likewise.
4189 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
4190 (_G_LSEEK64): Likewise.
4191 (_G_MMAP64): Likewise.
4192 (_G_FSTAT64): Likewise.
4193 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
4194 unconditional. Call __mmap64 directly.
4195 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
4196 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
4197 __lseek64 directly.
4198 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
4199 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
4200 __mmap64 directly.
4201 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
4202 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
4203 __lseek64 directly.
4204 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
4205 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
4206 __lseek64 directly.
4207 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
4208 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
4209 __lseek64 directly.
4210 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
4211 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
4212 __fxstat64 directly.
4213 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
4214 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
4215 unconditional.
4216 (freopen64) [!_G_OPEN64]: Remove conditional code.
4217 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
4218 unconditional.
4219 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
4220 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
4221 unconditional.
4222 (ftello64) [!_G_LSEEK64]: Remove conditional code.
4223 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
4224 unconditional.
4225 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4226 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
4227 unconditional.
4228 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
4229 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
4230 unconditional.
4231 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4232 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
4233 unconditional.
4234 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
4235 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
4236 unconditional.
4237 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
4238
b741de23
SP
42392012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4240
4241 [BZ #12140]
4242 * manual/memory.texi (Malloc Tunable Parameters): Add note
4243 about free list pointers overwriting some perturb bytes.
4244 Wording suggested by Roland McGrath.
4245
f9b9d9c9
JM
42462012-10-17 Joseph Myers <joseph@codesourcery.com>
4247
4248 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
4249 (lgamma_test): Likewise.
4250 (tgamma_test): Likewise.
4251
172a631a
FW
42522012-10-16 Florian Weimer <fweimer@redhat.com>
4253
4254 [BZ #14700]
4255 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
4256 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
4257
e9f37252
MK
42582012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
4259
4260 * NEWS: Mention BZ #14716.
4261 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
4262 when removing AVAILABLE1_USES_J macro.
4263
d394eb74
L
42642012-10-12 H.J. Lu <hongjiu.lu@intel.com>
4265
4266 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
4267 (__bswap_64): __uint64_t for unsigned 64-bit int.
4268
ca38dc17
AS
42692012-10-12 Andreas Schwab <schwab@linux-m68k.org>
4270
4271 * include/string.h (memmem): Declare libc hidden alias.
4272 * string/memmem.c (memmem): Define libc hidden alias.
4273 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
4274 __read, __close instead of open, read, close.
4275
9a387d1f
L
42762012-10-11 H.J. Lu <hongjiu.lu@intel.com>
4277
ac49ecaf
L
4278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
4279 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
4280 global and hidden.
4281 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
4282 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
4283 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
4284 Likewise.
4285 (__rawmemchr_sse2): Likewise.
4286 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
4287 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
4288 (__strchr_sse2): Likewise.
4289 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
4290 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
4291 (__strcasecmp_sse2): Likewise.
4292 (__strncasecmp_sse2): Likewise.
4293 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
4294 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
4295 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
4296 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
4297 (__strrchr_sse2): Likewise.
4298 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
4299 ifunc-impl-list.c.
4300 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4301 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4302 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4303 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4304 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4305 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4306 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4307 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4308 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
4309 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
4310 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
4311 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
4312 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
4313 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4314 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4315 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4316 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4317 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4318 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
4319 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
4320 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
4321 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
4322 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
4323 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4324 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
4325 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4326 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4327 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
4328 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4329 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4330
b090e8ea
L
4331 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
4332 global and hidden.
4333 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
4334 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
4335 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
4336 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
4337 Likewise.
4338 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
4339 Likewise.
4340 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
4341 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
4342 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
4343 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
4344 ifunc-impl-list.c.
4345 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4346 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4347 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4348 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4349 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4350 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4351 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4352 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4353 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4354 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4358 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
4359 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
4360 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4361 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
4362 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
4363 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4364 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4365 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4366 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4367 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4368 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4369 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4370 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
4371 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
4372 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
4373 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
4374 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4375 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
4376 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4377 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4378 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
4379 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4380 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4381 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4382 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4383 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4384 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4385 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
4386
11dd4af6
L
4387 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
4388 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
4389 * include/ifunc-impl-list.h: New file.
4390 * misc/ifunc-impl-list.c: Likewise.
4391 * misc/Makefile (routines): Add ifunc-impl-list.
4392 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
4393 * string/test-string.h: Include <ifunc-impl-list.h>.
4394 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
4395 impl_array): New variables.
4396 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
4397 are defined.
4398 (test_init): Call __libc_ifunc_impl_list to initialize
4399 func_list if TEST_IFUNC and TEST_NAME are defined.
4400
9a387d1f
L
4401 * string/Makefile (strop-tests): Add bcopy and bzero.
4402 * string/test-bcopy.c: New file.
4403 * string/test-bzero.c: Likewise.
4404 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
4405 defined.
4406 * string/test-memset.c: Support bzero test if TEST_BZERO is
4407 defined.
4408 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
4409 __libc_memmove.
4410 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
4411 __libc_memset.
4412 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
4413 of memset.
4414
472371b9
JM
44152012-10-10 Joseph Myers <joseph@codesourcery.com>
4416
1e4a9536
JM
4417 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
4418 * configure: Regenerated.
4419
d173d12e
JM
4420 * Makeconfig (+link-static-before-libc): Don't include
4421 $(link-static-libc).
4422
472371b9
JM
4423 * libio/libio.h (_IO_pos_t): Remove.
4424
89a3ad0b
AO
44252012-10-10 Alexandre Oliva <aoliva@redhat.com>
4426
4427 * NEWS: Add note about FIPS mode. Wording suggested by Roland
4428 McGrath.
4429
e7451425
AO
44302012-10-10 Alexandre Oliva <aoliva@redhat.com>
4431
4432 * crypt/crypt-entry.c: Include fips-private.h.
4433 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
4434 * crypt/md5c-test.c (main): Tolerate disabled MD5.
4435 * sysdeps/unix/sysv/linux/fips-private.h: New file.
4436 * sysdeps/generic/fips-private.h: New file, dummy fallback.
4437
4ba74a35
AO
44382012-10-10 Alexandre Oliva <aoliva@redhat.com>
4439
4440 * crypt/crypt-private.h: Include stdbool.h.
4441 (_ufc_setup_salt_r): Return bool.
4442 * crypt/crypt-entry.c: Include errno.h.
4443 (__crypt_r): Return NULL with EINVAL for bad salt.
4444 * crypt/crypt_util.c (bad_for_salt): New.
4445 (_ufc_setup_salt_r): Check that salt is long enough and within
4446 the specified alphabet.
4447 * crypt/badsalttest.c: New file.
4448 * crypt/Makefile (tests): Add it.
4449 ($(objpfx)badsalttest): New.
4450
f96f1242
MK
44512012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
4452
4453 * NEWS: Add entry for BZ #14602.
4454
0e8e0c1c
JM
44552012-10-09 Joseph Myers <joseph@codesourcery.com>
4456
4457 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
4458 type-generic.
4459 * math/libm-test.inc: Update comment listing what functions and
4460 macros are tested.
4461 (isgreater_test): New function.
4462 (isgreaterequal_test): Likewise.
4463 (isless_test): Likewise.
4464 (islessequal_test): Likewise.
4465 (islessgreater_test): Likewise.
4466 (isunordered_test): Likewise.
4467 (main): Call the new functions.
4468
273edc5e
RM
44692012-10-09 Roland McGrath <roland@hack.frob.com>
4470
b8493de0
RM
4471 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
4472 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
4473 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
4474 * sysdeps/i386/configure: Regenerated.
4475 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
4476 * sysdeps/mach/configure: Regenerated.
4477 * sysdeps/mach/hurd/configure: Regenerated.
4478 * sysdeps/powerpc/configure: Regenerated.
4479 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4480 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4481 * sysdeps/s390/s390-32/configure: Regenerated.
4482 * sysdeps/s390/s390-64/configure: Regenerated.
4483 * sysdeps/sh/configure: Regenerated.
4484 * sysdeps/sparc/configure: Regenerated.
4485 * sysdeps/unix/sysv/linux/configure: Regenerated.
4486 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4487 * sysdeps/x86_64/configure: Regenerated.
4488
273edc5e
RM
4489 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
4490 defined. Don't check if MAP is NULL.
4491
c8450f70
JM
44922012-10-09 Joseph Myers <joseph@codesourcery.com>
4493
4494 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
4495 (_G_stat64): Likewise.
4496 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
4497 (_G_stat64): Likewise.
4498 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
4499 instead of struct _G_stat64.
4500 * libio/fileops.c (mmap_remap_check): Likewise.
4501 (decide_maybe_mmap): Likewise.
4502 (_IO_new_file_seekoff): Likewise.
4503 (_IO_file_stat): Likewise.
4504 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
4505 _G_off64_t.
4506 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
4507 instead of struct _G_stat64.
4508 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4509
57e605ba
MK
45102012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
4511
4512 [BZ #14602]
4513 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4514 Replace with ...
4515 (CHECK_EOL): New macro.
4516 (two_way_short_needle): Check beginning of haystack for EOL. Use
4517 CHECK_EOL.
4518 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4519 Replace with CHECK_EOL.
4520 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
4521 Replace with CHECK_EOL.
4522
ef1bb361
JM
45232012-10-08 Joseph Myers <joseph@codesourcery.com>
4524
4525 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
4526 type-generic.
4527 * math/libm-test.inc: Update comment listing what functions and
4528 macros are tested.
4529 (finite_test): New function.
4530 (isinf_test): Likewise.
4531 (isnan_test): Likewise.
4532 (fpclassify_test): Test subnormal input.
4533 (isfinite_test): Likewise.
4534 (isnormal_test): Likewise.
4535 (main): Call the new functions.
4536
55f11534
JN
45372012-10-08 Jonathan Nieder <jrnieder@gmail.com>
4538
4539 [BZ #14660]
4540 * Makerules (%.dynsym): Force C locale when running
4541 $(OBJDUMP) --dynamic-syms.
4542
1ab29350
AS
45432012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4544
4545 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4546 <stdint.h>.
4547
f1ecb7ef
DM
45482012-10-06 David S. Miller <davem@davemloft.net>
4549
4550 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4551 upper 32-bits of the length value in %o2 since we use branch-on-register
4552 tests which consider the entire 64-bit register.
4553
5d41d91a
L
45542012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4555
4556 * string/test-strstr.c (check2): Add a test for page boundary.
4557
3baddb72
DM
45582012-10-05 David S. Miller <davem@davemloft.net>
4559
4560 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4561 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4562 file.
4563 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4564 sysdep_routines.
4565 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4566 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4567 and bzero when HWCAP_SPARC_CRYPTO is present.
4568
9cee5585
L
45692012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4570
d7e0dab9
L
4571 [BZ #14602]
4572 * string/test-strstr.c (check2): New function.
4573 (test_main): Call check2.
4574
03759f47
L
4575 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4576 and bug-strchr1.
4577 * string/bug-strcasestr1.c (do_test): Moved to ...
4578 * string/test-strcasestr.c (check1): Here. New function.
4579 (do_one_test): Break out result checking code into ...
4580 (check_result): This. New function.
4581 (do_one_test): Call check_result.
4582 (test_main): Call check1.
4583 * string/bug-strchr1.c (do_test): Moved to ...
4584 * string/test-strchr.c (check1): Here. New function.
4585 (do_one_test): Break out result checking code into ...
4586 (check_result): This. New function.
4587 (do_one_test): Call check_result.
4588 (test_main): Call check1.
4589 * string/bug-strstr1.c (main): Moved to ...
4590 * string/test-strchr.c (check1): Here. New function.
4591 (do_one_test): Break out result checking code into ...
4592 (check_result): This. New function.
4593 (do_one_test): Call check_result.
4594 (test_main): Call check1.
4595 * string/bug-strcasestr1.c: Removed.
4596 * string/bug-strchr1.c: Likewise.
4597 * string/bug-strstr1.c: Likewise.
4598
53cea63e
L
4599 * elf/Makefile (dl-routines): Add hwcaps.
4600 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4601 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4602 (_dl_important_hwcaps): Moved to ...
4603 * elf/dl-hwcaps.c: Here. New file.
4604 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4605
9cee5585 4606 [BZ #14557]
bb859b06
L
4607 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4608 if IS_IN_rtld isn't defined.
4609
9cee5585
L
4610 * elf/dl-support.c (_dl_sysinfo_map): New.
4611 Include "get-dynamic-info.h" and "setup-vdso.h".
4612 (_dl_non_dynamic_init): Call setup_vdso.
4613 * elf/dynamic-link.h: Don't include <assert.h>.
4614 (elf_get_dynamic_info): Moved to ...
4615 * elf/get-dynamic-info.h: Here. New file.
4616 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4617 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4618 * elf/setup-vdso.h: Here. New file.
4619 * elf/rtld.c: Include "setup-vdso.h".
4620 (dl_main): Call setup_vdso.
4621
23c31b76
JM
46222012-10-05 Joseph Myers <joseph@codesourcery.com>
4623
28234b07
JM
4624 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4625 creal in comment listing functions tested. List finite, isinf,
4626 isnan, isless, islessequal, isgreater, isgreaterequal,
4627 islessgreater, isunordered, lgamma_r and pow10 as functions and
4628 macros not tested. Mention which functions not tested are aliases
4629 for other functions. Fix typo. Note that signs of NaNs are not
4630 tested.
4631
23c31b76
JM
4632 * scripts/config.guess: Update from config.git.
4633 * scripts/config.sub: Likewise.
4634
9043e228
RM
46352012-10-04 Roland McGrath <roland@hack.frob.com>
4636
4637 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4638 * misc/madvise.c (madvise): Renamed to __madvise.
4639 Make madvise a weak alias.
4640 * include/sys/mman.h: Declare __madvise.
4641 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4642 * sysdeps/unix/syscalls.list
4643 (madvise): Make __madvise the strong name, and madvise a weak alias.
4644 * sysdeps/unix/sysv/linux/syscalls.list
4645 (madvise, mmap): Remove redundant entries.
4646 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4647 * malloc/malloc.c (mtrim): Likewise.
4648 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4649
f57f8055
RM
46502012-10-03 Roland McGrath <roland@hack.frob.com>
4651
4652 * sysdeps/mach/hurd/dl-cache.c: File removed.
4653 * config.h.in (USE_LDCONFIG): New #undef.
4654 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4655 * configure: Regenerated.
4656 * elf/Makefile (dl-routines): Add dl-cache only under
4657 [$(use-ldconfig) = yes].
4658 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4659 cache on [USE_LDCONFIG].
4660 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4661 [USE_LDCONFIG].
4662 * elf/rtld.c (dl_main): Likewise.
4663
5bb0c10a
PT
46642012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4665
4666 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4667 _SC_LEVEL4_CACHE_LINESIZE.
4668
010188c6
RM
46692012-10-03 Roland McGrath <roland@hack.frob.com>
4670
4671 * sysdeps/unix/bsd/confstr.h: File removed.
4672
b6c5ec07
AO
46732012-10-02 Alexandre Oliva <aoliva@redhat.com>
4674
4675 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4676 sys/sdt-config.h.
4677
408223d4
RM
46782012-10-02 Roland McGrath <roland@hack.frob.com>
4679
4680 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4681 Make 'mapoff' field ElfW(Off) rather than off_t.
4682
bb9510dc
DL
46832012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4684
fc997c6e
DL
4685 * nscd/Makefile: Remove nscd-cflags and all its users.
4686 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4687 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4688
bb9510dc
DL
4689 [BZ #10631]
4690 * malloc.c (malloc_printerr): Clarify error message.
4691
05699367
L
46922012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4693
4694 [BZ #14648]
4695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4696 Set bit_FMA_Usable if FMA is supported.
4697 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4698 macro.
4699 (bit_FMA4_Usable): Updated.
4700 (index_FMA_Usable): New macro.
4701 (CPUID_FMA): Likewise
4702 (HAS_FMA): Defined with bit_FMA_Usable.
4703
51367701
RM
47042012-10-01 Roland McGrath <roland@hack.frob.com>
4705
4706 * bits/types.h (__swblk_t): Type removed.
4707 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4708 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4710 (__SWBLK_T_TYPE): Likewise.
4711 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4712 (__SWBLK_T_TYPE): Likewise.
4713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4714 (__SWBLK_T_TYPE): Likewise.
4715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4716 (__SWBLK_T_TYPE): Likewise.
4717
4d57bf63 47182012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 4719 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
4720
4721 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4722 (xdr_mapname): Use YPMAXMAP as maxsize.
4723 (xdr_peername): Use YPMAXPEER as maxsize.
4724 (xdr_keydat): Use YPAXRECORD as maxsize.
4725 (xdr_valdat): Use YPMAXRECORD as maxsize.
4726
93c65d43
RM
47272012-10-01 Roland McGrath <roland@hack.frob.com>
4728
497a03d6
RM
4729 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4730
93c65d43
RM
4731 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4732 * csu/init-first.c: ... here.
4733 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4734 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4735 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4736 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4737 * sysdeps/i386/init-first.c: File removed.
4738 * sysdeps/sh/init-first.c: File removed.
4739
bec749fd
JM
47402012-10-01 Joseph Myers <joseph@codesourcery.com>
4741
4742 [BZ #14645]
4743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4744 if x * y might underflow to zero and z is zero.
4745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4747 * math/libm-test.inc (min_subnorm_value): New variable.
4748 (fma_test): Add more tests.
4749 (fma_test_towardzero): Likewise.
4750 (fma_test_downward): Likewise
4751 (fma_test_upward): Likewise.
4752 (initialize): Set min_subnorm_value.
4753
8ec5b013
JM
47542012-09-29 Joseph Myers <joseph@codesourcery.com>
4755
4756 [BZ #14638]
4757 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4758 0 + 0.
4759 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4760 mode for addition resulting in exact zero.
4761 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4763 exact 0 + 0.
4764 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4766 * math/libm-test.inc (fma_test): Add more tests.
4767 (fma_test_towardzero): New function.
4768 (fma_test_downward): Likewise.
4769 (fma_test_upward): Likewise.
4770 (main): Call the new functions.
4771
b1fa802e
DM
47722012-09-28 David S. Miller <davem@davemloft.net>
4773
4774 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4775
d3b9fd9e
RM
47762012-09-28 Roland McGrath <roland@hack.frob.com>
4777
ea4d37b3
RM
4778 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4779 instead of SIGALRM.
4780
ac51c949
RM
4781 * sysdeps/gnu/_G_config.h: Moved to ...
4782 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4783 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4784 * sysdeps/generic/_G_config.h: ... here.
4785
28c195f7
RM
4786 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4787
848917f9
RM
4788 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4789
6bacf05b
RM
4790 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4791 Conditionalize target on [libnss_test1.so-version].
4792
91363dbb
RM
4793 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4794
cc87f7d8
RM
4795 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4796 (elfobjdir): Move out of conditionals.
4797
b1c608fe
RM
4798 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4799 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4800 (__nss_lookup_function): Conditionalize label remove_from_tree on
4801 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 4802
1d9a6d96
DM
48032012-09-28 David S. Miller <davem@davemloft.net>
4804
4805 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4806 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4807 file.
4808 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4809 sysdep_routines.
4810 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4812 when HWCAP_SPARC_CRYPTO is present.
4813
72581615
PT
48142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4815
4816 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4817
715a900c
JL
48182012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4819
4820 [BZ #6530]
4821 * stdio-common/vfprintf.c (process_string_arg): Revert
4822 2000-07-22 change.
4823
48242011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4825
4826 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4827 for testcase.
4828 * stdio-common/tst-sprintf.c: Include <locale.h>
4829 (main): Test sprintf's handling of incomplete multibyte
4830 characters.
4831
9bac1d86
L
48322012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4833
4834 * elf/dl-runtime.c (VERSYMIDX): Removed.
4835 * elf/dl-version.c (VERSYMIDX): Likewise.
4836 * elf/do-rel.h (VERSYMIDX): Likewise.
4837 (VALIDX): Likewise.
4838 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4839 * elf/rtld.c (VALIDX): Likewise.
4840 (ADDRIDX): Likewise.
9bac1d86
L
4841 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4842 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4843 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
4844 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4845 (VALIDX): Likewise.
4846 (ADDRIDX): Likewise.
9bac1d86 4847
b31606c0
PT
48482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4849
4850 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4851
11541177
JL
48522012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4853
4854 [BZ #11438]
4855 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4856 to global scope.
4857 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4858 addresses are in the same scope as 192.0.2/24.
4859 * posix/gai.conf: Document new scope table defaults.
4860
adb26fae
SP
48612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4862
4863 [BZ #5298]
4864 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4865 for ftell. Compute offsets from write pointers instead.
4866 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4867
4573c6b0
SP
48682012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4869
4870 [BZ #14543]
4871 * libio/Makefile (tests): New test case tst-fseek.
4872 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4873 combination works in wide mode.
4874 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4875 state when the external buffer state changes.
4876
aa9bbfe6
DM
48772012-09-27 David S. Miller <davem@davemloft.net>
4878
4879 [BZ #14376]
4880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4881 pass reloc->r_addend in as the 'high' argument to
4882 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4883
784421e7
DM
4884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4885
c39bc8b8
PT
48862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4887
4888 * rt/tst-aio2.c: Include <pthread.h>.
4889 * rt/tst-aio3.c: Likewise.
4890
1ccc2399
SE
48912012-09-27 Steve Ellcey <sellcey@mips.com>
4892
4893 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4894
31ed4153
L
48952012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4896
25f5f885
L
4897 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4898 contents on [SHARED].
31ed4153 4899
b7bfe116
MP
49002012-09-26 Marek Polacek <polacek@redhat.com>
4901
4902 [BZ #14530]
4903 [BZ #13741]
4904 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4905 for C++ and GCC <4.3 as well as for non GCC compilers.
4906
43c4edba
MT
49072012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4908
4909 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4910
6a1bf82f
RM
49112012-09-25 Roland McGrath <roland@hack.frob.com>
4912
4913 * Makefile.in (all, install): Declare with .PHONY.
4914 Reported by Michael Hope <michael.hope@linaro.org>.
4915
8ad11b9a
TMQMF
49162012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4917
4918 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4919 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4920 system header.
4921 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4922 Likewise.
4923 (sydep_routines): Add the new and the internal functions.
4924 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4925 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4927 (GLIBC_2.17): Add the new function.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4929 (GLIBC_2.17): Likewise.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4931 (GLIBC_2.17): Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4933 (GLIBC_2.17): Likewise.
4934 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4935
7e2fca8d
AM
49362012-09-25 Alan Modra <amodra@gmail.com>
4937
4938 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4939 Add release barrier before setting once_control to say
4940 initialisation is done. Add hints on lwarx. Use macro in
4941 place of isync.
4942 (clear_once_control): Add release barrier.
4943
b87c4b24
JM
49442012-09-25 Joseph Myers <joseph@codesourcery.com>
4945
d032e0d2
JM
4946 [BZ #13629]
4947 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4948 specially.
4949 * math/s_clog10.c (__clog10): Likewise.
4950 * math/s_clog10f.c (__clog10f): Likewise.
4951 * math/s_clog10l.c (__clog10l): Likewise.
4952 * math/s_clogf.c (__clogf): Likewise.
4953 * math/s_clogl.c (__clogl): Likewise.
4954 * math/Makefile (libm-calls): Add x2y2m1.
4955 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4956 (__x2y2m1): Likewise.
4957 (__x2y2m1l): Likewise.
4958 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4959 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4962 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4963 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4964 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4965 * sysdeps/i386/fpu/libm-test-ulps: Update.
4966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4967
b87c4b24
JM
4968 [BZ #14621]
4969 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4970 int as type of variable DEPTH.
4971 (glob): Use size_t instead of int as type of variables NEWCOUNT
4972 and OLD_PATHC.
4973
6d3bf199
LD
49742012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4975
22bf5c17
LD
4976 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4977 Add s_sincosf-sse2.
4978 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4979 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4980 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4981 macros for using routine as __sincosf_ia32.
4982 Use macro for function declaration and weak_alias.
4983 * sysdeps/i386/fpu/libm-test-ulps: Update.
4984
4985 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4987
4988 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
4989 subnormal argument.
4990 * math/s_cexpf.c (__cexpf): Likewise.
4991 * math/s_csinf.c (__csinf): Likewise.
4992 * math/s_csinhf.c (__csinhf): Likewise.
4993 * math/s_ctanf.c (__ctanf): Likewise.
4994 * math/s_ctanhf.c (__ctanhf): Likewise.
4995 * math/s_ccosh.c (__ccoshf): Likewise.
4996 * math/s_cexp.c (__cexpl): Likewise.
4997 * math/s_csin.c (__csin): Likewise.
4998 * math/s_csinh.c (__csinh): Likewise.
4999 * math/s_ctan.c (__ctan): Likewise.
5000 * math/s_ctanh.c (ctanh): Likewise.
5001 * math/s_ccoshl.c (__ccoshl): Likewise.
5002 * math/s_cexpl.c (__cexpl): Likewise.
5003 * math/s_csinl.c (__csinl): Likewise.
5004 * math/s_csinhl.c (__csinhl): Likewise.
5005 * math/s_ctanl.c (__ctanl): Likewise.
5006 * math/s_ctanhl.c (__ctanhl): Likewise.
5007
203e5603
JM
50082012-09-25 Joseph Myers <joseph@codesourcery.com>
5009
5010 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
5011 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
5012 (_IO_off_t): Define to __off_t, not _G_off_t.
5013 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
5014 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
5015 (_IO_wint_t): Define to wint_t, not _G_wint_t.
5016 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
5017 type of __dummy and __dummy2 fields.
5018 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
5019 (_G_ssize_t): Likewise.
5020 (_G_off_t): Likewise.
5021 (_G_pid_t): Likewise.
5022 (_G_uid_t): Likewise.
5023 (_G_wchar_t): Likewise.
5024 (_G_wint_t): Likewise.
5025 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
5026 (_G_ssize_t): Likewise.
5027 (_G_off_t): Likewise.
5028 (_G_pid_t): Likewise.
5029 (_G_uid_t): Likewise.
5030 (_G_wchar_t): Likewise.
5031 (_G_wint_t): Likewise.
5032 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
5033 (_G_ssize_t): Likewise.
5034 (_G_off_t): Likewise.
5035 (_G_pid_t): Likewise.
5036 (_G_uid_t): Likewise.
5037 (_G_wchar_t): Likewise.
5038 (_G_wint_t): Likewise.
5039
9fab36eb
SP
50402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5041
5042 * malloc/arena.c: Include malloc-sysdep.h.
5043 (shrink_heap): Use check_may_shrink_heap to decide if madvise
5044 is sufficient to shrink the heap or an unmap is needed.
5045 * sysdeps/generic/malloc-sysdep.h: New file. Define
5046 new function check_may_shrink_heap.
5047 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
5048 new function check_may_shrink_heap.
5049
2b4f00d1
SP
50502012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5051
5052 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
5053 comments.
5054
9a9028b1
DL
50552012-09-24 Dmitry V. Levin <ldv@altlinux.org>
5056
57c69bef
DL
5057 * catgets/test-gencat.sh: Add "set -e".
5058 * elf/tst-pathopt.sh: Likewise.
5059 * grp/tst_fgetgrent.sh: Likewise.
5060 * iconvdata/run-iconv-test.sh: Likewise.
5061 * intl/tst-gettext.sh: Likewise.
5062 * intl/tst-gettext2.sh: Likewise.
5063 * intl/tst-gettext4.sh: Likewise.
5064 * intl/tst-gettext6.sh: Likewise.
5065 * intl/tst-translit.sh: Likewise.
5066 * io/ftwtest-sh: Likewise.
5067 * libio/test-freopen.sh: Likewise.
5068 * malloc/tst-mtrace.sh: Likewise.
5069 * posix/globtest.sh: Likewise.
5070 * posix/tst-getconf.sh: Likewise.
5071 * posix/wordexp-tst.sh: Likewise.
5072 * stdio-common/tst-printf.sh: Likewise.
5073 * stdio-common/tst-unbputc.sh: Likewise.
5074 * stdlib/tst-fmtmsg.sh: Likewise.
5075 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5076 * catgets/Makefile: Do not specify -e option when running
5077 testsuite shell scripts.
5078 * elf/Makefile: Likewise.
5079 * grp/Makefile: Likewise.
5080 * iconvdata/Makefile: Likewise.
5081 * intl/Makefile: Likewise.
5082 * io/Makefile: Likewise.
5083 * libio/Makefile: Likewise.
5084 * malloc/Makefile: Likewise.
5085 * posix/Makefile: Likewise.
5086 * stdio-common/Makefile: Likewise.
5087 * stdlib/Makefile: Likewise.
5088 * sysdeps/x86_64/Makefile: Likewise.
5089
9a9028b1
DL
5090 * io/ftwtest-sh: Add copyright header.
5091 * posix/globtest.sh: Likewise.
5092 * posix/tst-getconf.sh: Likewise.
5093 * posix/wordexp-tst.sh: Likewise.
5094 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
5095
ced6f16e
L
50962012-09-24 H.J. Lu <hongjiu.lu@intel.com>
5097
94b32c39
L
5098 [BZ #13679]
5099 * Makeconfig (+link): Defined as $(+link-static) if
5100 $(build-shared) isn't yes.
5101 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
5102 isn't yes.
5103 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
5104
189e935b
L
5105 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
5106
ced6f16e
L
5107 [BZ #14562]
5108 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
5109 new chunk size with MALLOC_ALIGN_MASK.
5110
a9f8e53a
JM
51112012-09-24 Joseph Myers <joseph@codesourcery.com>
5112
5113 [BZ #5044]
5114 * stdio-common/printf_fphex.c: Include <stdbool.h> and
5115 <rounding-mode.h>.
5116 (__printf_fphex): Determine rounding using get_rounding_mode and
5117 round_away.
5118 * stdio-common/tst-printf-round.c (struct hex_test): New
5119 structure.
5120 (hex_tests): New variable.
5121 (test_hex_in_one_mode): New function.
5122 (do_test): Also run tests for hex float output.
5123
43153109
JM
51242012-09-21 Joseph Myers <joseph@codesourcery.com>
5125
5126 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5127 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5128 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
5129 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
5130 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
5131 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
5132 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5133 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
5134
8a26625d
JM
51352012-09-20 Joseph Myers <joseph@codesourcery.com>
5136
5137 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
5138 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
5139 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
5140 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
5141
f3fd569c
DL
51422012-09-19 Dmitry V. Levin <ldv@altlinux.org>
5143
5144 [BZ #14579]
5145 * elf/rtld.c (dl_main): Limit the check for self loading to normal
5146 mode only.
5147 * elf/tst-rtld-load-self.sh: New test.
5148 * elf/Makefile: Run it.
5149
63bbedd4
JM
51502012-09-18 Joseph Myers <joseph@codesourcery.com>
5151
5152 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
5153 (tst-writev-ENV): Remove.
5154 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
5155
626f8b6a
CM
51562012-09-17 Chris Metcalf <cmetcalf@tilera.com>
5157
5158 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
5159
b7aaa4d6
JM
51602012-09-17 Joseph Myers <joseph@codesourcery.com>
5161
5162 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
5163 unconditional.
5164 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
5165 Likewise.
5166 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
5167 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
5168 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
5169 Likewise.
5170
65513990
L
51712012-09-14 H.J. Lu <hongjiu.lu@intel.com>
5172
5173 [BZ #14587]
5174 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
5175 * config.make.in (have-cpp-asm-debuginfo): Removed.
5176 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
5177 * configure: Regenerated.
5178
784761be
JM
51792012-09-14 Joseph Myers <joseph@codesourcery.com>
5180
5181 [BZ #5044]
5182 * stdio-common/printf_fp.c: Include <stdbool.h> and
5183 <rounding-mode.h>.
5184 (___printf_fp): Determine rounding using get_rounding_mode and
5185 round_away.
5186 * stdio-common/tst-printf-round.c: New file.
5187 * stdio-common/Makefile (tests): Add tst-printf-round.
5188 (link-libm): New variable.
5189 ($(objpfx)tst-printf-round): Depend in $(link-libm).
5190
9503345f
L
51912012-09-13 H.J. Lu <hongjiu.lu@intel.com>
5192
5193 [BZ #14576]
5194 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
5195 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
5196 Likewise.
5197 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
5198 Likewise.
5199
ad35fc00
JM
52002012-09-13 Joseph Myers <joseph@codesourcery.com>
5201
5202 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
5203 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5204 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5205 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
5206
6c9b0f68
JM
52072012-09-12 Joseph Myers <joseph@codesourcery.com>
5208
5209 [BZ #14518]
5210 * include/rounding-mode.h: New file.
5211 * sysdeps/generic/get-rounding-mode.h: Likewise.
5212 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
5213 * stdlib/strtod_l.c: Include <rounding-mode.h>.
5214 (MAX_VALUE): New macro.
5215 (MIN_VALUE): Likewise.
5216 (overflow_value): New function.
5217 (underflow_value): Likewise.
5218 (round_and_return): Use overflow_value and underflow_value to
5219 determine return values in overflow and underflow cases. Use
5220 round_away to determine rounding depending on rounding mode.
5221 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
5222 determine return values in overflow and underflow cases.
5223 * stdlib/tst-strtod-round.c: Include <fenv.h>.
5224 (struct test_results): New structure.
5225 (struct test): Use struct test_results to store expected results
5226 for all rounding modes.
5227 (TEST): Include expected results for all rounding modes.
5228 (test_in_one_mode): New function.
5229 (do_test): Use test_in_one_mode to compute and check results.
5230 Check results for all rounding modes.
5231 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
5232 $(link-libm).
5233
19fcedd5
AM
52342012-12-09 Allan McRae <allan@archlinux.org>
5235
1e9d84cd 5236 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 5237
8bbfd2f1
JM
52382012-09-11 Joseph Myers <joseph@codesourcery.com>
5239
5240 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
5241 (_G_int32_t): Likewise.
5242 (_G_uint16_t): Likewise.
5243 (_G_uint32_t): Likewise.
5244 (_G_HAVE_BOOL): Likewise.
5245 (_G_HAVE_ATEXIT): Likewise.
5246 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5247 (_G_HAVE_IO_FILE_OPEN): Likewise.
5248 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
5249 (_G_int32_t): Likewise.
5250 (_G_uint16_t): Likewise.
5251 (_G_uint32_t): Likewise.
5252 (_G_HAVE_BOOL): Likewise.
5253 (_G_HAVE_ATEXIT): Likewise.
5254 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5255 (_G_HAVE_IO_FILE_OPEN): Likewise.
5256 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
5257 (_G_int32_t): Likewise.
5258 (_G_uint16_t): Likewise.
5259 (_G_uint32_t): Likewise.
5260 (_G_HAVE_BOOL): Likewise.
5261 (_G_HAVE_ATEXIT): Likewise.
5262 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
5263 (_G_HAVE_IO_FILE_OPEN): Likewise.
5264
b1dc5912
L
52652012-09-11 H.J. Lu <hongjiu.lu@intel.com>
5266
5267 * csu/libc-tls.c: Update copyright years.
5268
0e886ef9
JM
52692012-09-10 Joseph Myers <joseph@codesourcery.com>
5270
28361c5e
JM
5271 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
5272 [!_G_USING_THUNKS]: Remove conditional code.
5273 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
5274 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
5275
0e886ef9
JM
5276 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
5277 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
5278 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5279 (_G_VTABLE_LABEL_PREFIX): Likewise.
5280 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5281 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5283 (_G_VTABLE_LABEL_PREFIX): Likewise.
5284 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5285 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
5286 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
5287 (_G_VTABLE_LABEL_PREFIX): Likewise.
5288 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
5289
bcba7aa2
L
52902012-09-10 H.J. Lu <hongjiu.lu@intel.com>
5291
5292 * libio/Makefile: Include ../Makeconfig before tests.
5293 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
5294 only if $(build-shared) is yes.
5295
06585ee8
L
5296 * iconv/gconv_db.c: Update copyright years.
5297
80ccd52c
LD
52982012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5299
5300 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
5301 unwind info if defined PIC. Fix special cases description.
5302 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
5303
5304 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
5305 DP_HI_MASK entry.
5306 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
5307
691bc9c1
L
53082012-09-07 H.J. Lu <hongjiu.lu@intel.com>
5309
3d9b46b3
L
5310 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
5311
de2139a9
L
5312 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
5313 is NULL.
5314
5ca78dd0
L
5315 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
5316 (LDLIBS-tst-chk4): This.
5317 (LDFLAGS-tst-chk5): Renamed to ...
5318 (LDLIBS-tst-chk5): This.
5319 (LDFLAGS-tst-chk6): Renamed to ...
5320 (LDLIBS-tst-chk6): This.
5321 (LDFLAGS-tst-lfschk4): Renamed to ...
5322 (LDLIBS-tst-lfschk4): This.
5323 (LDFLAGS-tst-lfschk5): Renamed to ...
5324 (LDLIBS-tst-lfschk5): This.
5325 (LDFLAGS-tst-lfschk6): Renamed to ...
5326 (LDLIBS-tst-lfschk6): This.
5327
691bc9c1
L
5328 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
5329 on $(common-objpfx)soversions.mk.
5330
65cafb1c
JM
53312012-09-07 Joseph Myers <joseph@codesourcery.com>
5332
5333 [BZ #10014]
5334 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
5335 example host name.
5336
c78ab094
SP
53372012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5338
5339 * malloc/arena.c (arena_get_retry): New function that gets
5340 another arena for the caller to try its request on.
5341 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
5342 current arena cannot fulfill the request.
5343 (__libc_memalign): Likewise.
5344 (__libc_memalign): Likewise.
5345 (__libc_pvalloc): Likewise.
5346 (__libc_calloc): Likewise.
5347
01f49f59
JT
53482012-09-05 John Tobey <john.tobey@gmail.com>
5349
5350 [BZ #13542]
5351 * manual/arith.texi (Operations on Complex): Fix description
5352 of carg branch cut.
5353
4c23fed5
JM
53542012-09-06 Joseph Myers <joseph@codesourcery.com>
5355
1d3c8572
JM
5356 [BZ #10014]
5357 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
5358 host name.
5359
4c23fed5
JM
5360 [BZ #10038]
5361 * manual/memory.texi (Memory): Make order of menu items match
5362 order of sections.
5363
04570aaa
L
53642012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5365
5366 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
5367 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
5368 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
5369
b80af2f4
L
53702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5371
5372 * csu/libc-tls.c (static_dtv): Renamed to ...
5373 (_dl_static_dtv): This. Make it global.
5374 (_dl_initial_dtv): Removed.
5375 (__libc_setup_tls): Updated.
5376 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
5377 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
5378 DL_INITIAL_DTV.
5379
2abe9f15
PM
53802012-09-06 Petr Machata <pmachata@redhat.com>
5381
5382 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
5383 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
5384 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
5385 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
5386
0948c3af
L
53872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5388
5389 [BZ #14545]
5390 * csu/libc-tls.c (_dl_initial_dtv): New variable.
5391 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
5392 freeing dtv[-1].
5393
a5055ad1
L
53942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
5395
5396 [BZ #14544]
5397 * Makeconfig (link-static-before-libc): Replace $(+prector)
5398 with $(+prectorT).
5399 (link-static-after-libc): Replace $(+postctor) with
5400 $(+postctorT).
5401 (link-bounded): Replace $(+prector)/$(+postctor) with
5402 $(+prectorT)/$(+postctorT).
5403 (+prectorT): New macro.
5404 (+postctorT): Likewise.
5405
ed8c2ecd
JM
54062012-09-06 Joseph Myers <joseph@codesourcery.com>
5407
5408 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
5409 (round_str): Handle values above the maximum for IBM long double
5410 as inexact.
5411 * stdlib/tst-strtod-round.c (tests): Regenerated.
5412
14c996c8
AK
54132012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5414
5415 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
5416 assembler flag.
5417 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
5418 zarch_nohighgprs around the zarch optimized routines.
5419 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5420 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5421 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
5422 for zarch.
5423
430d6ce6
DM
54242012-09-05 David S. Miller <davem@davemloft.net>
5425
5426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5427
ff04dda4
DM
5428 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
5429 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
5430 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
5431 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
5432 entries.
5433
24d4e01b
AO
54342012-09-05 Alexandre Oliva <aoliva@redhat.com>
5435
5436 * malloc/arena.c: Fold copyright years.
5437 * malloc/mcheck.c, malloc/memusage.c: Likewise.
5438
61d58174
AO
54392012-09-05 Alexandre Oliva <aoliva@redhat.com>
5440
5441 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
5442
20196a5e
AO
54432012-09-05 Alexandre Oliva <aoliva@redhat.com>
5444
5445 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
5446
5c447383
AO
54472012-09-05 Alexandre Oliva <aoliva@redhat.com>
5448
5449 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
5450 change internal state upon failure.
5451
fad64255
AO
54522012-09-05 Alexandre Oliva <aoliva@redhat.com>
5453
5454 * malloc/mcheck.c (mcheck_check_all): Fix typo.
5455 * malloc/memusage.c (mmap): Likewise.
5456 (mmap64, mremap): Likewise. Adjust name in comment.
5457
1ffb8c90
SP
54582012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5459
5460 * libio/fileops.c: Fix typos in comments.
5461 * libio/oldfileops.c: Likewise.
5462 * libio/wfileops.c: Likewise.
5463
6ef9cc37
SP
54642012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5465
5466 [BZ #1349]
5467 * malloc/Makefile (tests): Add tst-malloc-usable test case.
5468 (tst-malloc-usable-ENV): Set environment for test case.
5469 * malloc/hooks.c (malloc_check_get_size): New function to get
5470 requested size.
5471 * malloc/malloc.c (musable): Use malloc_check_get_size.
5472 * malloc/tst-malloc-usable.c: New test case.
5473
4d038ae3
AS
54742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5475
5476 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
5477
c4e85184
AM
54782012-09-05 Allan McRae <allan@archlinux.org>
5479
b9dafc56 5480 [BZ #13966]
c4e85184
AM
5481 * configure.in (CXX_SYSINCLUDES): Use compiler output to
5482 determine header location.
5483 * configure: Regenerated.
5484
e1343020
AS
54852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
5486
5487 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
5488 float format.
5489 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
5490 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
5491 format.
e1343020
AS
5492 (test): Regenerate.
5493
0a9f1987
DM
54942012-09-04 David S. Miller <davem@davemloft.net>
5495
5496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
5497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
5498 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
5499
29237804
FW
55002012-09-04 Florian Weimer <fweimer@redhat.com>
5501
5502 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
5503 failures.
5504
edb3cb88
FW
5505 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
5506
60160d83
JM
55072012-09-04 Joseph Myers <joseph@codesourcery.com>
5508
5509 [BZ #9914]
5510 * libio/iogetdelim.c: Include <limits.h>.
5511 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
5512 + len + 1 would overflow.
5513
bcd6c8dc
AJ
55142012-09-03 Andreas Jaeger <aj@suse.de>
5515
5516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5517 * sysdeps/i386/fpu/libm-test-ulps: Update.
5518
4ffffbd2
LD
55192012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5520
5521 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
5522 Add s_sinf-sse2, s_conf-sse2.
5523
5524 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
5525 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
5526 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
5527 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
5528
5529 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
5530 for using routine as __sinf_ia32.
5531 Use macro for function declaration and weak_alias.
5532 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
5533 for using routine as __cosf_ia32.
5534 Use macro for function declaration and weak_alias.
5535
5536 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
5537 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
5538
5539 * sysdeps/x86_64/fpu/s_sinf.S: New file.
5540 * sysdeps/x86_64/fpu/s_cosf.S: New file.
5541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5542
5543 * math/libm-test.inc (cos_test): Add more test cases.
5544 (sin_test): Likewise.
5545 (sincos_test): Likewise.
5546
511fa286
AK
55472012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5548
5549 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5550 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5551 hidden.
5552 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5553
5f30cfec
L
55542012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5555
5556 [BZ #14538]
5557 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5558 first element of the GOT.
5559 (elf_machine_load_address): Return the difference between
5560 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5561
0786794f
AM
55622012-09-01 Allan McRae <allan@archlinux.org>
5563
5f30cfec
L
5564 [BZ #13412]
5565 * configure.in (AWK): Require gawk version 3.0 or later.
5566 * configure: Regenerated.
0786794f 5567
26889eac
JM
55682012-09-01 Joseph Myers <joseph@codesourcery.com>
5569
5570 * sysdeps/unix/sysv/linux/kernel-features.h
5571 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5573 [__NR_clock_getres]: Make code unconditional.
5574 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5575 (clock_getcpuclockid): Remove code left unreachable by removal of
5576 conditionals.
5577 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5578 code unconditional.
5579 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5580 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5581 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5582 Make code unconditional.
5583 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5584 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5585 * sysdeps/unix/sysv/linux/clock_settime.c
5586 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5587 conditional code.
5588 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5589 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5590
d22e28b0
L
55912012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5592
5593 [BZ #14476]
5594 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5595 scripts/test-installation.pl.
5596
5597 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5598 and $ld_so_version if it is set.
5599
050af9c4
SP
56002012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5601
5602 [BZ #14516]
5603 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5604 failure if reading from procfs failed.
5605 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5606
ad845c0b
JM
56072012-08-27 Joseph Myers <joseph@codesourcery.com>
5608
5609 * sysdeps/unix/sysv/linux/kernel-features.h
5610 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5611 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5612 Remove conditional code.
5613 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5614 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5615 Remove conditional code.
5616 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5617 * sysdeps/unix/sysv/linux/i386/fxstat.c
5618 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5619 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5620 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5621 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5622 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5623 * sysdeps/unix/sysv/linux/i386/lxstat.c
5624 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5625 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5626 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5627 Remove conditional code.
5628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5629 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5630 Remove conditional code.
5631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5632 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5633 <kernel-features.h>.
5634 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5635 Remove.
5636 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5637 Remove conditional code.
5638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5639 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5640 Remove conditional.
5641
5dbf56af
MF
56422012-08-27 Mike Frysinger <vapier@gentoo.org>
5643
5644 [BZ #5400]
5645 * NEWS: Add fixed bug number.
5646
d6e70f43
JM
56472012-08-27 Joseph Myers <joseph@codesourcery.com>
5648
7efb4737
JM
5649 [BZ #14519]
5650 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5651 underflowing exponent in case of negative sign.
5652 * stdlib/tst-strtod-round-data: Add more tests.
5653 * stdlib/tst-strtod-round.c (tests): Regenerated.
5654
af92131a
JM
5655 [BZ #3479]
5656 * stdlib/strtod_l.c (NDIG): Remove.
5657 (HEXNDIG): Likewise.
5658 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5659 smallest representable value.
5660 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5661 lie within an exact representation of 1/2 ulp of the result.
5662 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5663 unconditionally.
5664 (TENS_P9_IDX): Define unconditionally.
5665 (TENS_P9_SIZE): Likewise.
5666 (TENS_P10_IDX): Likewise.
5667 (TENS_P10_SIZE): Likewise.
5668 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5669 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5670 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5671 entries for 10^2^13 and 10^2^14.
5672 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5673 (TENS_P13_IDX): Define.
5674 (TENS_P13_SIZE): Likewise.
5675 (TENS_P14_IDX): Likewise.
5676 (TENS_P14_SIZE): Likewise.
5677 (_fpioconst_pow10): Change array size to
5678 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5679 unconditional.
5680 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5681 1024]: Add entries for 10^2^13 and 10^2^14.
5682 [LAST_POW10 > _LAST_POW10]: Remove #error.
5683 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5684 (_fpioconst_pow10): Change array size to
5685 FPIOCONST_POW10_ARRAY_SIZE.
5686 * stdlib/gen-fpioconst.c: New file.
5687 * stdlib/gen-tst-strtod-round.c: Likewise.
5688 * stdlib/tst-strtod-round-data: Likewise.
5689 * stdlib/tst-strtod-round.c: Likewise.
5690 * stdlib/Makefile (tests): Add tst-strtod-round.
5691
d6e70f43
JM
5692 [BZ #14459]
5693 * stdlib/strtod_l.c: Include <stdint.h>.
5694 (NDEBUG): Do not define.
5695 (round_and_return): Change EXPONENT parameter to type intmax_t.
5696 Rearrange calculations to avoid internal overflow possibilities.
5697 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5698 Rearrange calculations to avoid internal overflow possibilities.
5699 Assert that number fits inside MPNSIZE limbs.
5700 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5701 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5702 calculations and add assertions to avoid internal overflow
5703 possibilities. Add casts to avoid signed/unsigned operations.
5704 * stdlib/tst-strtod-overflow.c: New file.
5705 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5706
1f529f7d
MP
57072012-08-25 Marek Polacek <polacek@redhat.com>
5708
5709 * time/time.h: Fix some typos in comments.
5710
59a629f1
RM
57112012-08-23 Roland McGrath <roland@hack.frob.com>
5712
5713 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5714 * posix/tst-rfc3484-2.c: Likewise.
5715 * posix/tst-rfc3484-3.c: Likewise.
5716
d3bafbc9
SM
57172012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5718
5719 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5720 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5721
4efcc022
JM
57222012-08-23 Joseph Myers <joseph@codesourcery.com>
5723
5724 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5725 #include of fxstatat64.c.
5726
3cc3ef96
RM
57272012-08-22 Roland McGrath <roland@hack.frob.com>
5728
f04e2132
RM
5729 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5730 * shadow/getspent_r.c: Likewise.
5731 * shadow/getspnam.c: Likewise.
5732 * shadow/getspnam_r.c: Likewise.
5733 * gshadow/getsgent.c: Likewise.
5734 * gshadow/getsgent_r.c: Likewise.
5735 * gshadow/getsgnam.c: Likewise.
5736 * gshadow/getsgnam_r.c: Likewise.
5737 * inet/getnetbyad.c: Likewise.
5738 * inet/getnetbyad_r.c: Likewise.
5739 * inet/getnetbynm.c: Likewise.
5740 * inet/getnetbynm_r.c: Likewise.
5741 * inet/getnetent.c: Likewise.
5742 * inet/getnetent_r.c: Likewise.
5743 * inet/getproto.c: Likewise.
5744 * inet/getproto_r.c: Likewise.
5745 * inet/getprtent.c: Likewise.
5746 * inet/getprtent_r.c: Likewise.
5747 * inet/getprtname.c: Likewise.
5748 * inet/getprtname_r.c: Likewise.
5749 * inet/getrpcbyname.c: Likewise.
5750 * inet/getrpcbyname_r.c: Likewise.
5751 * inet/getrpcbynumber.c: Likewise.
5752 * inet/getrpcbynumber_r.c: Likewise.
5753 * inet/getrpcent.c: Likewise.
5754 * inet/getrpcent_r.c: Likewise.
5755 * inet/getaliasent.c: Likewise.
5756 * inet/getaliasent_r.c: Likewise.
5757 * inet/getaliasname.c: Likewise.
5758 * inet/getaliasname_r.c: Likewise.
5759 * nscd/getgrgid_r.c: Likewise.
5760 * nscd/getgrnam_r.c: Likewise.
5761 * nscd/gethstbyad_r.c: Likewise.
5762 * nscd/gethstbynm3_r.c: Likewise.
5763 * nscd/getpwnam_r.c: Likewise.
5764 * nscd/getpwuid_r.c: Likewise.
5765 * nscd/getsrvbynm_r.c: Likewise.
5766 * nscd/getsrvbypt_r.c: Likewise.
5767 * nscd/gai.c: Likewise.
5768
c53d909c
RM
5769 * configure.in (build_nscd): New substituted variable, set
5770 by --disable-build-nscd and defaults to $use_nscd.
5771 * configure: Regenerated.
5772 * config.make.in (build-nscd): New substituted variable.
5773 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5774 Change conditional to require [$(build-nscd) = yes] as well.
5775 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5776
3cc3ef96
RM
5777 [BZ# 13696]
5778 * configure.in (use_nscd): New substituted variable, set by
5779 --disable-nscd. If enabled, define USE_NSCD.
5780 * configure: Regenerated.
5781 * config.h.in: Add USE_NSCD.
5782 * config.make.in (use-nscd): New substituted variable.
5783 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5784 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5785 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5786 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5787 (CFLAGS-getgrnam_r.c): Likewise.
5788 (CFLAGS-initgroups.c): Likewise.
5789 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5790 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5791 Variables removed.
5792 * inet/getnetgrent_r.c
5793 (nscd_setnetgrent): New function, broken out of ...
5794 (setnetgrent): ... here. Call it.
5795 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5796 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5797 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5798 * nscd/Makefile (routines, aux): Move definitions after include of
5799 Makeconfig. Conditionalize on [$(use-nscd) != no].
5800 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5801 Conditionalize on [USE_NSCD].
5802 (is_nscd, nscd_init_cb): Likewise.
5803 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5804 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5805 * nss/nss_db/db-init.c: Likewise.
5806 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5807 [USE_NSCD].
5808 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5809 (make_request): Use it.
5810 (cache_valid_p): New function.
5811 (__check_pf): Use it.
5812 * NEWS: Add item for --disable-nscd.
5813
07e51550
DL
58142012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5815
5816 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5817 to support sed >= 4.2.1-20-ga9bf076.
5818 * configure: Regenerated.
5819
35a5b08b
RM
58202012-08-22 Roland McGrath <roland@hack.frob.com>
5821
5822 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5823 Conditionalize whole body on [IREL].
5824
8479f23a
JL
58252012-08-22 Jeff Law <law@redhat.com>
5826
5827 [BZ #14505]
5828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5829 if the family is PF_UNSPEC.
5830
48da0b21
MF
58312012-08-22 Mike Frysinger <vapier@gentoo.org>
5832
5833 * Makerules (lib-version): Rename from V.
5834 (install-lib-nosubdir): Change V to lib-version.
5835
15d0da8c
WS
58362012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5837
5838 [BZ #14252]
5839 * powerpc32/power6/wcschr.c: New file.
5840 * powerpc32/power6/wcscpy.c: New file.
5841 * powerpc32/power6/wcsrchr.c: New file.
5842 * powerpc64/power6/wcschr.c: New file.
5843 * powerpc64/power6/wcscpy.c: New file.
5844 * powerpc64/power6/wcsrchr.c: New file.
5845
bcca0895
MK
58462012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5847
5848 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5849 (two_way_short_needle): Use it.
5a4aaa33
RM
5850 * string/strstr.c (AVAILABLE1_USES_J): Define.
5851 * string/strcasestr.c: Likewise.
99677e57
MK
5852
5853 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5854 array references.
5855 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5856
400726de
MK
5857 [BZ #11607]
5858 * NEWS: Add an entry.
5859 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5860 define their defaults.
5861 (two_way_short_needle): Detect end-of-string on-the-fly.
5862 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5863 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5864 * string/bug-strcasestr1.c: New test.
5865 * string/Makefile: Run it.
5866
20a71f2c
MK
58672012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5868
5869 [BZ #11607]
5870 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5871 the first character.
5872
21ad0558
RM
58732012-08-21 Roland McGrath <roland@hack.frob.com>
5874
5875 * csu/elf-init.c (__libc_csu_irel): Function removed.
5876 * csu/libc-start.c (apply_irel): New function.
5877 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5878
0e1d9911
JM
58792012-08-21 Joseph Myers <joseph@codesourcery.com>
5880
5881 * sysdeps/unix/sysv/linux/kernel-features.h
5882 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5883 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5884 <kernel-features.h>.
5885 [__NR_fadvise64_64]: Make code unconditional.
5886 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5887 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5888 !__NR_fadvise64_64)]: Likewise.
5889 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5890 !__NR_fadvise64_64))]: Likewise.
5891 [__NR_fadvise64]: Make code unconditional.
5892 [!__NR_fadvise64]: Remove conditional code.
5893 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5894 <kernel-features.h>.
5895 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5896 unconditional.
5897 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5898 conditional code.
5899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5900 not include <kernel-features.h>.
5901 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5902 unconditional.
5903 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5904 conditional code.
5905 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5906 include <kernel-features.h>.
5907 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5908 unconditional.
5909 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5910 conditional code.
5911
14a50c9d
WS
59122012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5913
5914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5915 slight instruction rearrangements per scrollpipe analysis.
5916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5917
c0f4faf0
RM
59182012-08-20 Roland McGrath <roland@hack.frob.com>
5919
696da859
RM
5920 * manual/syslog.texi (syslog; vsyslog, closelog):
5921 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5922 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5923
c0f4faf0
RM
5924 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5925 DSOCAPS to match condition on defining it.
5926
348363b2
JM
59272012-08-20 Joseph Myers <joseph@codesourcery.com>
5928
a35cbf28
JM
5929 * sysdeps/unix/sysv/linux/kernel-features.h
5930 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5932 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5933 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5935 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5936 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5938 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5939 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5940
445f7ecd
JM
5941 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5942 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5943
348363b2
JM
5944 * sysdeps/unix/sysv/linux/kernel-features.h
5945 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5946 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5947 unconditional.
5948 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5949 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5950 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5951 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5952 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5953 Make code unconditional.
5954 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5955 (__mmap64) [!__NR_mmap2]: Likewise.
5956 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5957 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5958 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5959 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5960 [__NR_mmap2]: Make code unconditional.
5961 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5962 (__mmap64) [!__NR_mmap2]: Likewise.
5963
bc5bc0e5
AK
59642012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5965
5966 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5967
88d506de
AJ
59682012-08-18 Andreas Jaeger <aj@suse.de>
5969
5970 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5971
493387d2
MF
59722012-08-18 Mike Frysinger <vapier@gentoo.org>
5973
5974 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5975 * include/unistd.h (__have_sock_cloexec): Likewise.
5976 (__have_pipe2): Likewise.
5977 (__have_dup3): Likewise.
5978
a277af22
MF
59792012-08-18 Mike Frysinger <vapier@gentoo.org>
5980
5981 [BZ #9685]
5982 * include/unistd.h (__have_pipe2): Change define into an extern int.
5983 (__have_dup3): Likewise.
5984 * socket/have_sock_cloexec.c: Include fcntl.h.
5985 (__have_pipe2): New variable.
5986 (__have_dup3): Likewise.
5987
fdab8fd3
MF
59882012-08-17 Mike Frysinger <vapier@gentoo.org>
5989
5990 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5991
31035e80
MP
59922012-08-17 Marek Polacek <polacek@redhat.com>
5993
5994 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5995 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5996
3bd9e993
RM
59972012-08-17 Roland McGrath <roland@hack.frob.com>
5998
c91c505f
RM
5999 * configure.in: Add AC_SUBST for sysheaders.
6000 * configure: Regenerated.
6001 * config.make.in (sysheaders): New substituted variable.
6002
7c6f9d53
RM
6003 * sysdeps/unix/mkfifo.c: Moved ...
6004 * sysdeps/posix/mkfifo.c: ... here.
6005 * sysdeps/unix/mkfifoat.c: Moved ...
6006 * sysdeps/posix/mkfifoat.c: ... here.
6007
6008 * sysdeps/unix/utime.c: Moved ...
6009 * sysdeps/posix/utime.c: ... here.
6010
6011 * sysdeps/unix/time.c: Moved ...
6012 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
6013 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
6014 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
6015
6016 * sysdeps/unix/nice.c: Moved ...
6017 * sysdeps/posix/nice.c: ... here.
6018
6019 * sysdeps/unix/alarm.c: Moved ...
6020 * sysdeps/posix/alarm.c: ... here.
6021
3bd9e993
RM
6022 * intl/Makefile ($(codeset_mo)): Depend on the input file.
6023
d1f09384
JL
60242012-08-17 Jeff Law <law@redhat.com>
6025
6026 * intl/Makefile (codeset_mo): New variable.
6027 ($(codeset_mo)): New target.
6028 (tst-codeset.out): Depend on that. Remove explicit rule.
6029 (tst-gettext3.out, tst-gettext5.out): Likewise.
6030 (LOCPATH-ENV, tst-codeset-ENV): New variables.
6031 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
6032 * intl/tst-codeset.sh: Remove.
6033 * intl/tst-gettext3.sh: Likewise.
6034 * intl/tst-gettext5.sh: Likewise.
6035
2ae1ae5c
RM
60362012-08-17 Roland McGrath <roland@hack.frob.com>
6037
c31fdb83
RM
6038 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
6039 * sysdeps/unix/syscalls.list: ... here.
6040
a0844057
RM
6041 * sysdeps/posix/getaddrinfo.c
6042 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
6043 (gaiconf_init, gaiconf_reload): Use them.
6044 [!_STATBUF_ST_NSEC]
6045 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
6046 Define using time_t rather than struct timespec.
6047
750c1f2a
RM
6048 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
6049 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
6050 Macros removed.
6051 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
6052 [!NO_THREADS].
6053 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
6054 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
6055 Likewise.
6056
2ae1ae5c
RM
6057 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
6058 __libc_cleanup_push argument.
6059
e66a42f5
RM
6060 * bits/param.h: New file.
6061 * misc/sys/param.h: New file.
6062 * include/sys/param.h: New file.
6063 * misc/Makefile (headers): Add bits/param.h.
6064 * sysdeps/generic/sys/param.h: File removed.
6065 * sysdeps/unix/sysv/linux/bits/param.h: New file.
6066 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
6067 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 6068 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 6069
b7c08a66
RM
6070 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
6071 last change.
6072
b2e1c562
RM
6073 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
6074 [_IO_MTSAFE_IO].
6075 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
6076 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
6077 New macros.
6078
c75ccd4c
RM
6079 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
6080 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
6081 rather than -D_IO_MTSAFE_IO conditionally.
6082 * stdio-common/Makefile (CPPFLAGS): Likewise.
6083 * wcsmbs/Makefile (CPPFLAGS): Likewise.
6084 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
6085 Use $(libio-mtsafe).
6086 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
6087 of -D_IO_MTSAFE_IO.
6088 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
6089 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
6090 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
6091 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
6092 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
6093 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
6094 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
6095 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
6096 (CFLAGS-fread_u_chk.c): Likewise.
6097 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
6098 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
6099 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
6100 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
6101 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
6102 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
6103 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
6104 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
6105 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
6106
6107 * libio/Makefile: Test [$(libc-reentrant) = yes]
6108 instead of [$(filter %REENTRANT, $(defines)) nonempty].
6109
6110 * Makeconfig
6111 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
6112 * sysdeps/pthread/configure: File removed.
6113 * sysdeps/pthread/Makeconfig: New file.
6114 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
6115 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
6116
d9195db8
GB
61172012-08-16 Gary Benson <gbenson@redhat.com>
6118
6119 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
6120 unmapping the first object in a namespace.
6121
86466cd9
RM
61222012-08-16 Roland McGrath <roland@hack.frob.com>
6123
6124 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
6125 (__internal_setnetgrent): ... this. Add internal_function to
6126 definition. Add libc_hidden_def.
6127 (setnetgrent): Update caller.
6128 (internal_endnetgrent): Renamed to ...
6129 (__internal_endnetgrent): ... this. Add internal_function to
6130 definition. Add libc_hidden_def.
6131 (endnetgrent): Update caller.
6132 (internal_getnetgrent_r): Renamed to ...
6133 (__internal_getnetgrent_r): ... this. Add internal_function to
6134 definition. Add libc_hidden_def.
6135 (__getnetgrent_r): Update caller.
6136 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
6137
c3c8283c
JM
61382012-08-16 Joseph Myers <joseph@codesourcery.com>
6139
6140 * stdlib/longlong.h: Update from GCC.
6141
db1ee0a8
RM
61422012-08-16 Roland McGrath <roland@hack.frob.com>
6143
6144 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
6145 on _QL, which is set by umul_ppmm but never used.
6146 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
6147 variables, which are set by GMP macros but never used.
6148 * stdio-common/_itowa.c (_itowa): Likewise.
6149 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
6150 * stdlib/mod_1.c (mpn_mod_1): Likewise.
6151
30f69637
CD
61522012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
6153
6154 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
6155 struct La_sh_regs is not constant.
6156 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
6157 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
6158 and struct La_sparc64_regs are not constant.
6159
93a78ac4
JM
61602012-08-16 Joseph Myers <joseph@codesourcery.com>
6161
6162 * sysdeps/unix/sysv/linux/kernel-features.h
6163 (__ASSUME_POSIX_TIMERS): Remove.
6164 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6165 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6166 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
6167 Make code unconditional.
6168 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6169 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
6170 Make code unconditional.
6171 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6172 * sysdeps/unix/sysv/linux/clock_nanosleep.c
6173 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
6174 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6175 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
6176 Make code unconditional.
6177 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
6178 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
6179 (__libc_missing_posix_timers): Remove.
6180
dd924cd7
RM
61812012-08-15 Roland McGrath <roland@hack.frob.com>
6182
4b4f2771
RM
6183 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
6184 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
6185
601c888b
RM
6186 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
6187
176790a7
RM
6188 * elf/dl-sym.c: Include <stdlib.h>.
6189
329bc018
RM
6190 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
6191 constants, which avoids warnings in 32-bit builds.
6192
e04e272d
RM
6193 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
6194 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
6195
952bf94a
RM
6196 * misc/lseek.c: File moved to ...
6197 * io/lseek.c: ... here.
6198
7c99b50a
RM
6199 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
6200
dd924cd7
RM
6201 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
6202 shifting LEN more than 31 bits at once.
6203
b3f479a8
LD
62042012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6205
6206 [BZ #14195]
8c4ae0d4
RM
6207 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
6208 segmentation fault for a case of two empty input strings.
b3f479a8
LD
6209 * string/test-strncasecmp.c (check1): Renamed to...
6210 (bz12205): ...this.
6211 (bz14195): Add new testcase for two empty input strings and N > 0.
6212 (test_main): Call new testcase, adapt for renamed function.
6213
9c55864e
AJ
62142012-08-15 Andreas Jaeger <aj@suse.de>
6215
6216 [BZ #14090]
6217 * crypt/md5test2.c: New test, based on test supplied by Serge
6218 Belyshev <belyshev@depni.sinp.msu.ru>.
6219 * crypt/Makefile (xtests): Add md5test-giant..
6220 * crypt/Makefile ($(objpfx)md5test-giant): Add.
6221
02dcb6c5
PE
62222012-08-15 Paul Eggert <eggert@cs.ucla.edu>
6223
6224 [BZ #14090]
6225 * crypt/md5.c (md5_process_block): Don't assume the buffer
6226 length is less than 2**32.
6227 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
6228 length is less than 2**64.
6229
a3f95dcc
RM
62302012-08-15 Roland McGrath <roland@hack.frob.com>
6231
be75d758
RM
6232 * string/str-two-way.h: Include <sys/param.h>.
6233 (MAX): Macro removed.
6234
7312ca90
RM
6235 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
6236 Move #define and #undef of memmove to just before and after
6237 including <string.h>.
6238
9a0a5486
RM
6239 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
6240 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
6241 and after including <string.h>. Move declarations of
6242 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
6243 to before #include "string/memmove.c".
6244
67cc348d
RM
6245 * include/dirent.h: Declare __getdirentries.
6246
a3f95dcc
RM
6247 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
6248 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
6249
ca98e171
MF
62502012-08-14 Mike Frysinger <vapier@gentoo.org>
6251
6252 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
6253 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
6254 * sysdeps/i386/configure: Regenerated.
6255 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
6256 STABS_CURRENT_FILE, and STABS_FUN.
6257 (END): Remove call to STABS_FUN_END.
6258 (STABS_CURRENT_FILE1): Delete.
6259 (STABS_CURRENT_FILE): Likewise.
6260 (STABS_FUN): Likewise.
6261 (STABS_FUN_END): Likewise.
6262 (STABS_FUN2): Likewise.
6263 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
6264 * sysdeps/x86_64/configure: Regenerated.
6265
5908bf46
RM
62662012-08-14 Roland McGrath <roland@hack.frob.com>
6267
6268 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 6269 * elf/dl-lookup.c: Likewise.
5908bf46 6270
f2c05b9e
JM
62712012-08-14 Joseph Myers <joseph@codesourcery.com>
6272
6273 * sysdeps/unix/sysv/linux/kernel-features.h
6274 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
6275 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
6276 unconditionally.
6277 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
6278 unconditionally.
6279 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
6280 condition on __ASSUME_CLONE_THREAD_FLAGS.
6281
e11f5155
AJ
62822012-08-14 Andreas Jaeger <aj@suse.de>
6283
6284 * sysdeps/i386/fpu/libm-test-ulps: Update.
6285
51a9ba86
MK
62862012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
6287
2fdd4f78
AJ
6288 * include/atomic.h (atomic_exchange_and_add): Split into ...
6289 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
6290 New atomic macros.
51a9ba86 6291
ba6cba9e
MT
62922012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
6293
6294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6295
42443a47
JL
62962012-08-13 Jeff Law <law@redhat.com>
6297
6298 * manual/stdio.texi (snprintf): Clarify handling of the trailing
6299 null byte in the output string.
6300
121dce05
JM
63012012-08-10 Joseph Myers <joseph@codesourcery.com>
6302
6303 * sysdeps/unix/sysv/linux/kernel-features.h
6304 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
6305 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
6306 (__ASSUME_ARG_MAX_STACK_BASED): Define.
6307 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6308 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
6309 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
6310 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
6311
bf51f568
JL
63122012-08-09 Jeff Law <law@redhat.com>
6313
6314 [BZ #13939]
6315 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
6316 When avoid_arena is set, don't retry in the that arena. Pick the
6317 next one, whatever it might be.
6318 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
6319 (arena_lock): Pass in new parameter to arena_get2.
6320 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
6321 arena_get2.
6322 (__libc_malloc): Unify retrying after main arena failure with
6323 __libc_memalign version.
6324 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
6325
f85fa270
L
63262012-08-09 H.J. Lu <hongjiu.lu@intel.com>
6327
6328 [BZ #14166]
6329 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
6330 to __redirect_strstr.
6331 (__strstr_sse42): Use typeof __redirect_strstr.
6332 (__strstr_ia32): Likewise.
6333 (__libc_strstr): New prototype.
6334 (strstr): Renamed to ...
6335 (__libc_strstr): This.
6336 (strstr): New strong alias of __libc_strstr.
6337 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6338 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
6339 __redirect_time.
6340 Include <time.h>.
6341 (__libc_time): New prototype.
6342 (time_ifunc): Replace time with __libc_time.
6343 (time): New strong alias and hidden definition of __libc_time.
6344 (__GI_time): Remove strong alias.
6345 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
6346 Include <stddef.h>.
6347 (memmove): Redefined to __redirect_memmove.
6348 (__memmove_sse2): Use typeof __redirect_memmove.
6349 (__memmove_ssse3): Likewise.
6350 (__memmove_ssse3_back): Likewise.
6351 (__libc_memmove): New prototype.
6352 (memmove): Renamed to ...
6353 (__libc_memmove): This.
6354 (memmove): New strong alias of __libc_memmove.
6355
33b4a91e
MS
63562012-08-08 Mark Salter <msalter@redhat.com>
6357
6358 * elf/elf.h
6359 (R_MN10300_TLS_GD): Define.
6360 (R_MN10300_TLS_LD): Likewise.
6361 (R_MN10300_TLS_LDO): Likewise.
6362 (R_MN10300_TLS_GOTIE): Likewise.
6363 (R_MN10300_TLS_IE): Likewise.
6364 (R_MN10300_TLS_LE): Likewise.
6365 (R_MN10300_TLS_DTPMOD): Likewise.
6366 (R_MN10300_TLS_DTPOFF): Likewise.
6367 (R_MN10300_TLS_TPOFF): Likewise.
6368 (R_MN10300_SYM_DIFF): Likewise.
6369 (R_MN10300_ALIGN): Likewise.
6370 (R_MN10300_NUM): Update.
6371
b36137f1
JM
63722012-08-08 Joseph Myers <joseph@codesourcery.com>
6373
6374 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
6375 Remove.
6376
cdd915fd
RM
63772012-08-08 Roland McGrath <roland@hack.frob.com>
6378
a2433aac
RM
6379 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
6380
cdd915fd
RM
6381 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
6382 sysdeps/unix -> sysdeps/posix move.
6383 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6384
bf9b740a
AM
63852012-08-07 Allan McRae <allan@archlinux.org>
6386
6387 [BZ #14303]
6388 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
6389 (SUNOS_CPP): Likewise.
6390 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
6391 not found.
6392 (open_input): Call CPP using execvp.
6393
93df14ee
JM
63942012-08-07 Joseph Myers <joseph@codesourcery.com>
6395
6396 * sysdeps/unix/sysv/linux/kernel-features.h
6397 (__ASSUME_PROT_GROWSUPDOWN): Remove.
6398 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6399 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6400 (__ASSUME_WAITID_SYSCALL): Likewise.
6401 * sysdeps/unix/sysv/linux/dl-execstack.c
6402 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
6403 code unconditional.
6404 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
6405 conditional code.
6406 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
6407 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
6408 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
6409 code.
6410 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
6411 unconditional.
6412 [__ASSUME_WAITID_SYSCALL]: Likewise.
6413 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
6414
d34689de
RM
64152012-08-07 Roland McGrath <roland@hack.frob.com>
6416
a281decc
RM
6417 * sysdeps/unix/closedir.c: Renamed to ...
6418 * sysdeps/posix/closedir.c: ... here.
6419 * sysdeps/unix/dirfd.c: Renamed to ...
6420 * sysdeps/posix/dirfd.c: ... here.
6421 * sysdeps/unix/dirstream.h: Renamed to ...
6422 * sysdeps/posix/dirstream.h: ... here.
6423 * sysdeps/unix/fdopendir.c: Renamed to ...
6424 * sysdeps/posix/fdopendir.c: ... here.
6425 * sysdeps/unix/opendir.c: Renamed to ...
6426 * sysdeps/posix/opendir.c: ... here.
6427 * sysdeps/unix/readdir.c: Renamed to ...
6428 * sysdeps/posix/readdir.c: ... here.
6429 * sysdeps/unix/readdir_r.c: Renamed to ...
6430 * sysdeps/posix/readdir_r.c: ... here.
6431 * sysdeps/unix/rewinddir.c: Renamed to ...
6432 * sysdeps/posix/rewinddir.c: ... here.
6433 * sysdeps/unix/seekdir.c: Renamed to ...
6434 * sysdeps/posix/seekdir.c: ... here.
6435 * sysdeps/unix/telldir.c: Renamed to ...
6436 * sysdeps/posix/telldir.c: ... here.
6437 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
6438 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
6439 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
6440 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
6441
22895b47
RM
6442 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
6443 * bits/fcntl.h: ... here.
6444
707a53b6
RM
6445 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
6446 not 0.
6447 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
6448 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
6449 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
6450 (struct flock): Move l_start, l_len to the beginning.
6451 Use __pid_t for l_pid.
6452 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
6453 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
6454 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
6455 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
6456 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
6457 [__USE_LARGEFILE64] (struct flock64): New type.
6458 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
6459
f0bd3e25
RM
6460 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
6461 * bits/dirent.h: ... here.
6462
d34689de
RM
6463 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
6464 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
6465
6dad2c06
JM
64662012-08-07 Joseph Myers <joseph@codesourcery.com>
6467
6468 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6469 Change from 2.6.0 to 2.6.16.
6470 * sysdeps/unix/sysv/linux/configure: Regenerated.
6471 * sysdeps/unix/sysv/linux/kernel-features.h
6472 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
6473 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
6474 version.
6475 (__ASSUME_UTIMES): Likewise.
6476 (__ASSUME_CLONE_STOPPED): Remove.
6477 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
6478 architectures, not kernel version.
6479 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
6480 (__ASSUME_NO_CLONE_DETACHED): Likewise.
6481 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
6482 (__ASSUME_WAITID_SYSCALL): Likewise.
6483 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
6484 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
6485 * README: State 2.6.16 as minimum Linux kernel version. Do not
6486 refer to older versions.
6487
03af9520
RM
64882012-08-06 Roland McGrath <roland@hack.frob.com>
6489
8e49df1d
RM
6490 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
6491 Define alphasort64 as an alias.
6492 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
6493 Define versionsort64 as an alias.
6494 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
6495 Define scandir64 as an alias.
6496 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
6497 Define scandirat64 as an alias.
6498 * dirent/alphasort64.c (alphasort64):
6499 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
6500 * dirent/versionsort64.c: Likewise.
6501 * dirent/scandir64.c: Likewise.
6502 * dirent/scandirat64.c: Likewise.
6503 * sysdeps/wordsize-64/alphasort.c: File removed.
6504 * sysdeps/wordsize-64/alphasort64.c: File removed.
6505 * sysdeps/wordsize-64/scandir.c: File removed.
6506 * sysdeps/wordsize-64/scandir64.c: File removed.
6507 * sysdeps/wordsize-64/scandirat.c: File removed.
6508 * sysdeps/wordsize-64/scandirat64.c: File removed.
6509 * sysdeps/wordsize-64/versionsort.c: File removed.
6510 * sysdeps/wordsize-64/versionsort64.c: File removed.
6511 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
6512 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
6513 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
6514 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
6515 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
6516 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
6517 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
6518 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
6519
6520 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
6521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6522 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
6523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6524 [defined __arch64__ || defined __sparcv9]
6525 (__INO_T_MATCHES_INO64_T): New macro.
6526 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6527 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
6528 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
6529 * sysdeps/unix/sysv/linux/bits/dirent.h
6530 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
6531 (_DIRENT_MATCHES_DIRENT64): New macro.
6532
03af9520
RM
6533 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
6534 Define lockf64 as an alias.
6535 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
6536 Define fseeko64 as an alias.
6537 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
6538 Define ftello64 as an alias.
6539 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
6540 Define _IO_fgetpos64 and fgetpos64 as aliases.
6541 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
6542 Define _IO_fsetpos64 and fsetpos64 as aliases.
6543 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
6544 Conditionalize body on this.
6545 * libio/fseeko64.c: Likewise.
6546 * libio/ftello64.c: Likewise.
6547 * libio/iofgetpos64.c: Likewise.
6548 * libio/iofsetpos64.c: Likewise.
6549 * sysdeps/wordsize-64/lockf.c: File removed.
6550 * sysdeps/wordsize-64/lockf64.c: File removed.
6551 * sysdeps/wordsize-64/fseeko.c: File removed.
6552 * sysdeps/wordsize-64/fseeko64.c: File removed.
6553 * sysdeps/wordsize-64/ftello.c: File removed.
6554 * sysdeps/wordsize-64/ftello64.c: File removed.
6555 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6556 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6557 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6558 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6559 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6560 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6561 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6562 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6563 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6564 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6565 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6566 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6568 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6569
6570 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6572 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6573 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6574 [defined __arch64__ || defined __sparcv9]
6575 (__OFF_T_MATCHES_OFF64_T): New macro.
6576 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6577 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6578 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6579 (__OFF_T_MATCHES_OFF64_T): New macro.
6580
c5757acd
L
65812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6582
6583 * stdlib/secure-getenv.c (__secure_getenv): Replace
6584 GLIBC_2_16 with GLIBC_2_17.
6585
3a31811e
L
65862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6587
6588 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6589 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6590
faa2bccb
DM
65912012-08-03 David S. Miller <davem@davemloft.net>
6592
6593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6594
85fe1997
JM
65952012-08-03 Joseph Myers <joseph@codesourcery.com>
6596
6597 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6598 Remove.
6599 (__ASSUME_CORRECT_SI_PID): Likewise.
6600 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6601 (__ASSUME_TMPFS_NAME): Likewise.
6602 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6603 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6604 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6605 (HAVE_AUX_SECURE): Make definition unconditional.
6606 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6607 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6608
4f75b7a0
RM
66092012-08-03 Roland McGrath <roland@hack.frob.com>
6610
6611 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6612 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6613 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6614 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6615 __eloop_threshold instead of SYMLOOP_MAX.
6616
6617 * sysdeps/generic/eloop-threshold.h: New file.
6618 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6619 of MAXSYMLINKS.
6620 * elf/chroot_canon.c (chroot_canon): Likewise.
6621
7aab07e4
JM
66222012-08-03 Joseph Myers <joseph@codesourcery.com>
6623
6624 [BZ #13717]
6625 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6626 Change to 2.6.0 everywhere.
6627 * sysdeps/unix/sysv/linux/configure: Regenerated.
6628 * sysdeps/unix/sysv/linux/kernel-features.h
6629 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6630 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6631 kernel versions.
6632 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6633 (__ASSUME_FUTEX_REQUEUE): Remove.
6634 (__ASSUME_STATFS64): Define unconditionally.
6635 (__ASSUME_AT_SECURE): Likewise.
6636 (__ASSUME_CORRECT_SI_PID): Likewise.
6637 (__ASSUME_TGKILL): Define without depending on kernel version for
6638 i386.
6639 (__ASSUME_UTIMES): Likewise.
6640 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6641 kernel version.
6642 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6643 (__ASSUME_TMPFS_NAME): Likewise.
6644 * README: Update reference to Linux kernel versions.
6645
b67e9372
MP
66462012-08-02 Marek Polacek <polacek@redhat.com>
6647
1f529f7d 6648 [BZ# 14150]
b67e9372
MP
6649 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6650 libc_cv_asm_type_prefix with %.
6651 * configure: Regenerated.
d2441631
RM
6652 * include/libc-symbols.h: Remove comment about
6653 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
6654 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6655 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6656 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6657 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6658 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6659 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6660 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6661 * elf/tst-unique2mod1.c: Likewise.
6662 * elf/tst-unique1mod2.c: Likewise.
6663 * elf/tst-unique1mod1.c: Likewise.
6664 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6665 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6666 Replace ASM_TYPE_DIRECTIVE with .type.
6667 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6668 * sysdeps/i386/sysdep.h: Likewise.
6669 * sysdeps/x86_64/sysdep.h: Likewise.
6670 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6672 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 6673 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
6674 * sysdeps/powerpc/powerpc32/sysdep.h:
6675 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
6676 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6677 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6678 * sysdeps/i386/fpu/e_powf.S: Likewise.
6679 * sysdeps/i386/fpu/e_expl.S: Likewise.
6680 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6681 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6682 * sysdeps/i386/fpu/e_pow.S: Likewise.
6683 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6684 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6685 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6686 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6687 * sysdeps/i386/fpu/e_log2.S: Likewise.
6688 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6689 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6690 * sysdeps/i386/fpu/e_powl.S: Likewise.
6691 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6692 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6693 * sysdeps/i386/fpu/e_logl.S: Likewise.
6694 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6695 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6696 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6697 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6698 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6699 * sysdeps/i386/fpu/e_log.S: Likewise.
6700 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6701 * sysdeps/i386/fpu/e_logf.S: Likewise.
6702 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6703 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6704 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6705 * sysdeps/i386/fpu/e_log10.S: Likewise.
6706 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6707 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6708 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6709 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6710 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6711 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6712 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6713 * sysdeps/i386/i686/strtok.S: Likewise.
6714 * sysdeps/i386/i386-mcount.S: Likewise.
6715 * sysdeps/i386/strtok.S: Likewise.
6716 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6717 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6719 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6720 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6721 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6722 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6723 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6724 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6725 * sysdeps/x86_64/_mcount.S: Likewise.
6726 * sysdeps/x86_64/strtok.S: Likewise.
6727 * sysdeps/sh/_mcount.S: Likewise.
6728
2747bf9a
RM
67292012-08-01 Roland McGrath <roland@hack.frob.com>
6730
6731 * libio/iofopen.c: Include <fcntl.h>.
6732 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6733 (_IO_fopen64, fopen64): Define as aliases.
6734 * libio/iofopen64.c: Include <fcntl.h>.
6735 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6736 Conditionalize body on this.
6737 * sysdeps/wordsize-64/iofopen.c: File removed.
6738 * sysdeps/wordsize-64/iofopen64.c: File removed.
6739
3fb791b8
MP
67402012-08-01 Marek Polacek <polacek@redhat.com>
6741
6742 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6743 Use dlfcn directly instead of a variable.
6744 (binfmt-subdir): Do not define.
6745 (dlfcn): Likewise.
6746
a9f1039f
JM
67472012-08-01 Joseph Myers <joseph@codesourcery.com>
6748
23bddc06
JM
6749 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6750 Remove all definitions.
6751 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6752 <kernel-features.h>.
6753 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6754 (miss_F_GETOWN_EX): Remove all definitions.
6755 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6756 macro definition.
6757 [!__ASSUME_FCNTL64]: Remove conditional code.
6758 [__ASSUME_FCNTL64]: Make code unconditional.
6759 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6760 <kernel-features.h>.
6761 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6762 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6763 (lockf64) [__NR_fcntl64]: Make code unconditional.
6764 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6765
a9f1039f
JM
6766 * sysdeps/unix/sysv/linux/kernel-features.h
6767 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6768 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6769 Make code unconditional.
6770 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6771 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6773 [__NR_vfork]: Make code unconditional.
6774 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6775 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6777 [__NR_vfork]: Make code unconditional.
6778 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6779 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6780
09c0ee5f
RM
67812012-08-01 Roland McGrath <roland@hack.frob.com>
6782
48aec5b9
RM
6783 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6784 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6785
cd97c966
RM
6786 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6787 Define mkstemp64 as an alias.
3f55550c
RM
6788 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6789 Define mkstemps64 as an alias.
cd97c966
RM
6790 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6791 Define mkostemp64 as an alias.
b8625cfc
RM
6792 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6793 Define mkostemps64 as an alias.
cd97c966
RM
6794 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6795 Conditionalize body on this.
6796 * misc/mkostemp64.c: Likewise.
b8625cfc 6797 * misc/mkostemps64.c: Likewise.
3f55550c 6798 * misc/mkstemps64.c: Likewise.
cd97c966
RM
6799 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6800 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6801 * sysdeps/wordsize-64/mkostemp.c: File removed.
6802 * sysdeps/wordsize-64/mkstemp.c: File removed.
6803 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6804 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6805 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6806 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6807
09c0ee5f
RM
6808 [BZ #14138]
6809 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6810 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6811 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6812 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6813
6814 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6815 compat_symbol macros from <shlib-compat.h> rather than the underlying
6816 default_symbol_version and symbol_version macros, so that DEFAULT
6817 lines in shlib-versions are respected.
6818 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6819
7e66ee51
FW
68202012-08-01 Florian Weimer <fweimer@redhat.com>
6821
6822 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6823 Declare with warn_unused_result.
6824 (setgid, setregid, setegid, setresgid): Likewise.
6825 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6826 Likewise.
6827 * WUR-REPORT: Remove set*id functions.
6828
d2a54255
PT
68292012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6830
6831 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6832
7ecdb005
RM
68332012-07-31 Roland McGrath <roland@hack.frob.com>
6834
789bd351
RM
6835 * include/sys/socket.h (__libc_accept, __libc_accept4):
6836 Add attribute_hidden.
6837 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6838
40ce302d
RM
6839 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6840 use of PTR_MANGLE.
6841 * inet/getnetgrent_r.c (setup): Likewise.
6842
7ecdb005
RM
6843 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6844
e2eabb2c
DM
68452012-07-31 David S. Miller <davem@davemloft.net>
6846
6847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6848
d0419dbf
JM
68492012-07-31 Joseph Myers <joseph@codesourcery.com>
6850
6851 [BZ #13629]
6852 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6853 value between 1.0 and 2.0 and smaller part has absolute value less
6854 than 1.0.
6855 * math/s_clog10.c (__clog10): Likewise.
6856 * math/s_clog10f.c (__clog10f): Likewise.
6857 * math/s_clog10l.c (__clog10l): Likewise.
6858 * math/s_clogf.c (__clogf): Likewise.
6859 * math/s_clogl.c (__clogl): Likewise.
6860 * math/libm-test.inc (clog_test): Add more tests.
6861 (clog10_test): Likewise.
6862 * sysdeps/i386/fpu/libm-test-ulps: Update.
6863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6864
2bc13872
FW
68652012-07-31 Florian Weimer <fweimer@redhat.com>
6866
6867 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6868 Exit with zero in case no suitable GID is found, and write a
6869 message to standard error.
6870
bea9b193
RM
68712012-07-30 Roland McGrath <roland@hack.frob.com>
6872
6873 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6874 rather than to 1.
6875 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6876 (MAXPATHLEN): Removed.
6877 (NOGROUP, NODEV): New macros.
6878 (setbit, clrbit, isset, isclr): New macros.
6879 (howmany, roundup, powerof2): New macros.
6880 (DEV_BSIZE): New macro.
6881
6882 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6883 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6884
6885 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6886 definition on [!__NO_LONG_DOUBLE_MATH].
6887
6888 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6889 PTR_MANGLE and PTR_DEMANGLE.
6890
6891 * socket/accept4.c (accept4): Rename to __libc_accept4.
6892 Define accept4 as a weak alias.
6893
6894 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6895 on [_DIRENT_HAVE_D_TYPE].
6896 * io/ftw.c (ftw_dir): Likewise.
6897
6898 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6899
6900 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6901
6902 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6903 Use the BSD numbers rather than the arbitrary ones we had.
6904 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6905 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6906 (SIGXCPU, SIGXFSZ): New macros.
6907 (_NSIG): Now 32.
6908
6909 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6910 initializer on [_LIBC_REENTRANT].
6911
6912 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6913 definitions inside [_POSIX_MAPPED_FILES].
6914
6915 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6916
6917 * dirent/opendir.c: Include <fcntl.h>.
6918
6919 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6920 (__libc_getspecific): Likewise.
6921 (__libc_key_create): Likewise.
6922
6923 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6924 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6925 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6926 (tmpfile64): Define as alias.
6927 * sysdeps/wordsize-64/tmpfile.c: File removed.
6928 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6929 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6930 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6931
6932 * stdio-common/vfscanf.c: Include <stdbool.h>.
6933 * nss/makedb.c: Likewise.
6934 * stdio-common/_i18n_number.h: Likewise.
6935 * argp/argp-help.c: Likewise.
6936 * posix/wordexp.c: Likewise.
6937 * sysdeps/posix/spawni.c: Likewise.
6938 * nss/nss_files/files-initgroups.c: Likewise.
6939 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6940 * nss/nss_files/files-initgroups.c: Likewise.
6941 * nss/nss_db/db-netgrp.c: Likewise.
6942 * nss/nss_db/db-initgroups.c: Likewise.
6943 * io/fchmodat.c: Include <sys/stat.h>.
6944
6945 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6946 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6947
6948 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6949 [HAVE_MMAP].
6950
6951 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6952 Add multiple inclusion protection.
6953
e5abc686
DM
69542012-07-27 David S. Miller <davem@davemloft.net>
6955
6956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6957
815e6fa3
GB
69582012-07-27 Gary Benson <gbenson@redhat.com>
6959
6960 [BZ #14298]
6961 * elf/rtld.c: Include <stap-probe.h>.
6962 (dl_main): Added static probes "init_start" and "init_complete".
6963 * elf/dl-load.c: Include <stap-probe.h>.
6964 (lose): Take new parameter "nsid".
6965 Added static probe "map_failed".
6966 (_dl_map_object_from_fd): Pass namespace id to lose.
6967 Added static probe "map_start".
6968 (open_verify): Pass namespace id to lose.
6969 * elf/dl-open.c: Include <stap-probe.h>.
6970 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6971 and "reloc_complete".
6972 * elf/dl-close.c: Include <stap-probe.h>.
6973 (_dl_close_worker): Added static probes "unmap_start" and
6974 "unmap_complete".
6975 * elf/rtld-debugger-interface.txt: New file documenting the above.
6976
9f98c16c
RM
69772012-07-26 Roland McGrath <roland@hack.frob.com>
6978
6979 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6980 rather than a string variable.
6981 * sunrpc/rpc_main.c (h_output): Likewise.
6982 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6983
f3c22df3
PT
69842012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6985
6986 * inet/check_native.c: New file.
6987
3129cfc6
JM
69882012-07-26 Joseph Myers <joseph@codesourcery.com>
6989
da865e95
JM
6990 [BZ #13629]
6991 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6992 if larger part has absolute value 1.0.
6993 * math/s_clog10.c (__clog10): Likewise.
6994 * math/s_clog10f.c (__clog10f): Likewise.
6995 * math/s_clog10l.c (__clog10l): Likewise.
6996 * math/s_clogf.c (__clogf): Likewise.
6997 * math/s_clogl.c (__clogl): Likewise.
6998 * math/libm-test.inc (clog_test): Add more tests.
6999 (clog10_test): Likewise.
7000 * sysdeps/i386/fpu/libm-test-ulps: Update.
7001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7002
3129cfc6
JM
7003 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
7004 (pltexit): Likewise.
7005 (La_regs): Likewise.
7006 (La_retval): Likewise.
7007 (int_retval): Likewise.
7008 Update #error for removed macros to refer only to definitions in
7009 tst-audit.h.
7010 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
7011 macro.
7012 (pltexit): Likewise.
7013 (La_regs): Likewise.
7014 (La_retval): Likewise.
7015 (int_retval): Likewise.
7016 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
7017 macro.
7018 (pltexit): Likewise.
7019 (La_regs): Likewise.
7020 (La_retval): Likewise.
7021 (int_retval): Likewise.
7022 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
7023 macro.
7024 (pltexit): Likewise.
7025 (La_regs): Likewise.
7026 (La_retval): Likewise.
7027 (int_retval): Likewise.
7028 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
7029 macro.
7030 (pltexit): Likewise.
7031 (La_regs): Likewise.
7032 (La_retval): Likewise.
7033 (int_retval): Likewise.
7034 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
7035 macro.
7036 (pltexit): Likewise.
7037 (La_regs): Likewise.
7038 (La_retval): Likewise.
7039 (int_retval): Likewise.
7040 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
7041 macro.
7042 (pltexit): Likewise.
7043 (La_regs): Likewise.
7044 (La_retval): Likewise.
7045 (int_retval): Likewise.
7046 * sysdeps/generic/tst-audit.h: Update comment to refer only to
7047 macro definitions in tst-audit.h.
7048 * sysdeps/i386/tst-audit.h: New file.
7049 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
7050 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
7051 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
7052 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
7053 * sysdeps/sh/tst-audit.h: Likewise.
7054 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
7055 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
7056 * sysdeps/x86_64/tst-audit.h: Likewise.
7057
bfc07087
AJ
70582012-07-26 Andreas Jaeger <aj@suse.de>
7059
b1b2aaf8
AJ
7060 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
7061 ptrace.
7062
7063 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
7064 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
7065 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
7066 PTRACE_O_MASK.
7067 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
7068 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
7069 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
7070
bfc07087
AJ
7071 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
7072 value.
7073
7074 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
7075 _sigsys.
7076 (si_call_addr, si_syscall, si_arch): Define new macro.
7077 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
7078 _sigsys.
7079 (si_call_addr, si_syscall, si_arch): Define new marcro.
7080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
7081 _sigsys.
7082 (si_call_addr, si_syscall, si_arch): Define new macro.
7083 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
7084 _sigsys.
7085 (si_call_addr, si_syscall, si_arch): Define new macro.
7086
89b4b02f
JM
70872012-07-25 Joseph Myers <joseph@codesourcery.com>
7088
7089 [BZ #13717]
7090 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7091 Change to 2.4.21 where previously 2.4.1.
7092 * sysdeps/unix/sysv/linux/configure: Regenerated.
7093 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
7094 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
7095 Linux kernel version.
7096 (__ASSUME_STD_AUXV): Remove.
7097 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
7098 kernel version.
7099 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
7100 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
7101 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
7102 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
7103 (__ASSUME_NETLINK_SUPPORT): Likewise.
7104 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
7105 (__no_netlink_support): Remove conditional definition.
7106 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
7107 Remove.
7108 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7109 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
7110 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
7111 (if_nameindex_ioctl): Remove.
7112 (if_nameindex_netlink): Do not handle __no_netlink_support.
7113 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7114 code.
7115 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
7116 Remove conditional code.
7117 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
7118 code.
7119 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
7120 unconditional.
7121 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
7122 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
7123 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
7124 Remove.
7125 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
7126 [!__ASSUME_STD_AUXV]: Remove conditional code.
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
7128 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
7129 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
7130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
7131 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
7132 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7133 code.
7134 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7136 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
7137 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7138 conditional code.
7139 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7141 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
7142 code.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7144 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
7145 conditional code.
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
7147 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7148 code unconditional.
7149 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7150 conditional code.
7151 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7152 unconditional.
7153 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7154 conditional code.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7156 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7157 unconditional.
7158 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7159 conditional code.
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7161 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7162 code unconditional.
7163 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7164 conditional code.
7165 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7166 unconditional.
7167 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7168 conditional code.
7169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7170 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
7171 code unconditional.
7172 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7173 conditional code.
7174 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
7175 unconditional.
7176 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
7177 conditional code.
7178
842a39cd
AS
71792012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7180
7181 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
7182 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
7183 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7184 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7185 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
7186 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7187 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7188 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
7189 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
7190 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7191 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
7192 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
7193 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
7194 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7195 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7196 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
7197 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
7198 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
7199 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
7200 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
7201 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
7202 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7203 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
7204
84b3fd84
FW
72052012-07-25 Florian Weimer <fweimer@redhat.com>
7206
7207 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
7208 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
7209 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
7210 Introduce __libc_secure_getenv.
0c7936d5
FW
7211 * stdlib/Versions (2.17): Add secure_getenv
7212 (GLIBC_PRIVATE): Add __libc_secure_getenv.
7213 * stdlib/secure-getenv.c: Rename __secure_getenv to
7214 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
7215 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
7216 * stdlib/tst-secure-getenv.c: New.
7217 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
7218 * manual/startup.texi (Environment Access): Document
7219 secure_getenv.
84b3fd84
FW
7220 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
7221 __libc_secure_getenv.
7222 * inet/ruserpass.c (ruserpass): Likewise.
7223 * malloc/mtrace.c (mtrace): Likewise.
7224 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 7225 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
7226 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
7227 * sysdeps/posix/tempname.c: Likewise. Evaluate
7228 HAVE_SECURE_GETENV.
7229 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 7230 __secure_getenv to __libc_secure_getenv.
84b3fd84 7231 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
7232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7233 Likewise.
7234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7235 Likewise.
7236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 7243
56e49b71
JM
72442012-07-25 Joseph Myers <joseph@codesourcery.com>
7245
7246 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
7247 (struct La_i86_retval): Likewise.
7248 (struct La_x86_64_regs): Likewise.
7249 (struct La_x86_64_retval): Likewise.
7250 (struct La_x32_regs): Likewise.
7251 (struct La_x32_retval): Likewise.
7252 (struct La_ppc32_regs): Likewise.
7253 (struct La_ppc32_retval): Likewise.
7254 (struct La_ppc64_regs): Likewise.
7255 (struct La_ppc64_retval): Likewise.
7256 (struct La_sh_regs): Likewise.
7257 (struct La_sh_retval): Likewise.
7258 (struct La_s390_32_regs): Likewise.
7259 (struct La_s390_32_retval): Likewise.
7260 (struct La_s390_64_regs): Likewise.
7261 (struct La_s390_64_retval): Likewise.
7262 (struct La_sparc32_regs): Likewise.
7263 (struct La_sparc32_retval): Likewise.
7264 (struct La_sparc64_regs): Likewise.
7265 (struct La_sparc64_retval): Likewise.
7266 (struct audit_ifaces): Remove architecture-specific pltenter and
7267 pltexit members.
7268 * sysdeps/i386/ldsodefs.h: New file.
7269 * sysdeps/powerpc/ldsodefs.h: Likewise.
7270 * sysdeps/s390/ldsodefs.h: Likewise.
7271 * sysdeps/sh/ldsodefs.h: Likewise.
7272 * sysdeps/sparc/ldsodefs.h: Likewise.
7273 * sysdeps/x86_64/ldsodefs.h: Likewise.
7274
354691b7
MP
72752012-07-25 Marek Polacek <polacek@redhat.com>
7276
7277 [BZ #6808]
7278 * math/libm-test.inc (yn_test): Add another test.
7279 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
7280 to ERANGE when the result is +-Inf.
7281 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7282 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
7283 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
7284 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
7285
bf9e2071
JM
72862012-07-24 Joseph Myers <joseph@codesourcery.com>
7287
7288 * conform/data/time.h-data (NULL): Use macro-constant. Require
7289 equal to 0.
7290 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
7291 clock_t.
7292 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
7293
57633811
TS
72942012-07-23 Thomas Schwinge <thomas@codesourcery.com>
7295
7296 * configure.in <sysdeps resolving>: Correct printing
7297 Implies_before.
7298 * configure: Regenerate.
7299
c23c33b0
TS
73002012-07-22 Thomas Schwinge <thomas@codesourcery.com>
7301
7302 * math/w_ilogb.c: Include <limits.h>.
7303 * math/w_ilogbl.c: Likewise.
7304
b5982523
JM
73052012-07-20 Joseph Myers <joseph@codesourcery.com>
7306
7307 * manual/lang.texi (__va_copy): Document primarily as ISO C99
7308 va_copy. Document allowing for unavailable va_copy only as
7309 pre-C99 compatibility.
7310 * manual/string.texi (Copying and Concatenation): Use va_copy
7311 instead of __va_copy in concat example.
7312
ac4ea442
PT
73132012-07-20 Pino Toscano <toscano.pino@tiscali.it>
7314
7315 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
7316 (__sendto): Use create_address_port. Initialize APORT and deallocate
7317 it if not null.
7318
f98eafbd
PT
7319 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
7320 with O_NOLINK passed to __file_name_lookup.
7321
898c7aab
PT
7322 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
7323 with O_NOLINK passed to __file_name_lookup.
7324
0ced335a
PT
7325 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
7326 negative N or less than NGIDS.
7327
b3404dbd
PT
7328 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
7329 type to string_t. Set ERANGE as errno and return it if NAME is not big
7330 enough. Use memcpy instead of strncpy.
7331
0f48659e
JM
73322012-07-20 Joseph Myers <joseph@codesourcery.com>
7333
7334 * elf/Makefile (check-data): Remove.
7335 (localplt.data): New vpath directive.
7336 ($(objpfx)check-localplt.out): Use localplt.data from vpath
7337 instead of $(check-data).
7338 * scripts/data/localplt-generic.data: Move to ...
7339 * sysdeps/generic/localplt.data: ... here.
7340 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
7341 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
7342 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
7343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7344 ... here.
7345 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7347 ... here.
7348 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
7349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
7350 ... here.
7351 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
7352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7353 ... here.
7354 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
7355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
7356 ... here.
7357 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
7358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
7359 ... here.
7360
d37cbdaa
AZ
73612012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7362
7363 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
7364 PPC32 and PPC64 files.
7365 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
7366 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
7367
46f85fc2
AK
73682012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7369
7370 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
7371 __makecontext_ret to ...
7372 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
7373 ... here and call exit if uc_link is NULL. New file.
7374 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
7375 __makecontext_ret.S.
7376 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
7377 __makecontext_ret to ...
7378 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
7379 ... here and call exit if uc_link is NULL. New file.
7380 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
7381 __makecontext_ret.S.
7382
08f43f9b
AK
73832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7384
7385 * elf/elf.h (R_390_IRELATIVE): New definition.
7386 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
7387 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
7388 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
7389 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7390 (elf_machine_lazy_rel): Likewise.
7391 * sysdeps/s390/dl-irel.h: New file.
7392 * sysdeps/s390/s390-64/memcpy.S: New asm code.
7393 * sysdeps/s390/s390-64/memset.S: New asm code.
7394 * sysdeps/s390/s390-64/memcmp.S: New asm code.
7395 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
7396 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
7397 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
7398 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
7399 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
7400 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
7401 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
7402 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
7403 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
7404 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
7405 * sysdeps/s390/s390-32/memcpy.S: New asm code.
7406 * sysdeps/s390/s390-32/memset.S: New asm code.
7407 * sysdeps/s390/s390-32/memcmp.S: New asm code.
7408
3b05db33
MP
74092012-07-17 Marek Polacek <polacek@redhat.com>
7410
7411 [BZ #14349]
7412 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
7413 * sysdeps/s390/s390-64/configure.in: Likewise.
7414 * sysdeps/sparc/configure.in: Likewise.
7415 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
7416 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
7417 * sysdeps/i386/configure.in: Likewise.
7418 * sysdeps/x86_64/configure.in: Likewise.
7419 * sysdeps/sh/configure.in: Likewise.
7420 * sysdeps/s390/s390-32/configure: Regenerated.
7421 * sysdeps/s390/s390-64/configure: Likewise.
7422 * sysdeps/x86_64/configure: Likewise.
7423 * sysdeps/sh/configure: Likewise.
7424 * sysdeps/powerpc/powerpc64/configure: Likewise.
7425 * sysdeps/powerpc/powerpc32/configure: Likewise.
7426 * sysdeps/sparc/configure: Likwise.
7427 * sysdeps/i386/configure: Likewise.
7428
a66877c6
MP
7429 * elf/dl-open.c: Comment fixes.
7430
cfc82fd8
JM
74312012-07-17 Joseph Myers <joseph@codesourcery.com>
7432
bd29910a
JM
7433 * Makefile [CXX] (check-data): Remove.
7434 [CXX] (c++-types.data): New vpath directive.
7435 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
7436 vpath. Do not allow for C++ type data being missing.
7437 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
7438 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
7439 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
7440 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
7441 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
7442 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
7443 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
7444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7445 ... here.
7446 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
7447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7448 ... here.
7449 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
7450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
7451 ... here.
7452 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
7453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
7454 ... here.
7455 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
7456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
7457 ... here.
7458 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
7459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
7460 ... here.
7461 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
7462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
7463 ... here.
7464 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
7465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
7466
cfc82fd8
JM
7467 * elf/tls-macros.h (TLS_LE): Move architecture-specific
7468 definitions to architecture-specific files.
7469 (TLS_IE): Likewise.
7470 (TLS_LD): Likewise.
7471 (TLS_GD): Likewise.
7472 * sysdeps/i386/tls-macros.h: New file.
7473 * sysdeps/powerpc/tls-macros.h: Likewise.
7474 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
7475 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
7476 * sysdeps/sh/tls-macros.h: Likewise.
7477 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
7478 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
7479 * sysdeps/x86_64/tls-macros.h: Likewise.
7480
f7db3170
TS
74812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7482
07cbfc23
TS
7483 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
7484 zero value for regular exit case.
7485
f7db3170
TS
7486 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7487 (__start_context): Preserve zero value for regular exit case.
7488
dc97c227
TS
74892012-07-17 Thomas Schwinge <thomas@codesourcery.com>
7490 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7491
7492 * manual/setjmp.texi (setcontext): Clarify normal process
7493 termination when uc_link is the null pointer.
7494 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
7495 exit call.
7496
d0cd7d02
AS
74972012-07-16 Andreas Schwab <schwab@linux-m68k.org>
7498
7499 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
7500 preprocessor. Test for each exception mask separately.
7501
dd318934
AJ
75022012-07-16 Andreas Jaeger <aj@suse.de>
7503
7504 * po/ru.po: Update from translation team.
7505
8048311a
JM
75062012-07-15 Joseph Myers <joseph@codesourcery.com>
7507
7508 * conform/data/string.h-data (NULL): Use macro-constant. Require
7509 equal to 0.
7510 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
7511 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
7512 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
7513 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
7514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
7515
b637d46e
AJ
75162012-07-13 Andreas Jaeger <aj@suse.de>
7517
7518 * po/fr.po: Update from translation team.
7519
541428fe
MP
75202012-07-12 Marek Polacek <polacek@redhat.com>
7521
7522 [BZ #14173]
7523 * math/libm-test.inc (yn_test): Add test for BZ #14173.
7524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
7525 loop condition.
7526
ec332e94
JM
75272012-07-12 Joseph Myers <joseph@codesourcery.com>
7528
7529 [BZ #13717]
7530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
7531 Change to 2.4.1 where previously 2.4.0.
7532 * sysdeps/unix/sysv/linux/configure: Regenerated.
7533 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
7534 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
7535 version.
7536 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
7537 (__ASSUME_AT_CLKTCK): Remove.
7538 (__ASSUME_AT_PAGESIZE): Likewise.
7539 (__ASSUME_AT_XID): Likewise.
7540 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
7541 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
7542 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
7543 unconditionally.
7544 (HAVE_AUX_PAGESIZE): Likewise.
7545 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7546 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7547 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7548
7b6e99be
JB
75492012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7550
7551 [BZ #14307]
7552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7553 the temporary buffer used to invoke __gethostbyname2_r,
7554 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7555 host_data / struct gaih_addrtuple.
7556 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7557 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7558 header file nss/nsswitch.h.
7559 * nss/nsswitch.h (global scope): Add definition of implementation
7560 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7561 resolv/nss_dns/dns-host.c).
7562
608404eb
AJ
75632012-07-11 Andreas Jaeger <aj@suse.de>
7564
7565 * po/fr.po: Update from translation team.
7566
71220aca
AJ
7567 * po/sv.po: Update from translation team
7568 * po/fr.po: Another update from translation team.
7569
28cfe843
AZ
75702012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7571
7572 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7573 for subnormals or multiply small sinh result by itself.
7574 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7576
6b90f981
DM
75772012-07-11 David S. Miller <davem@davemloft.net>
7578
7579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7580
c6825772
AS
75812012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7582
7583 [BZ #14347]
7584 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7585 (INTERNAL_MARK): Shift it here.
7586
7b8e0d49
MP
75872012-07-10 Marek Polacek <polacek@redhat.com>
7588
7589 [BZ #14151]
7590 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7591 libc_cv_asm_global_directive with .globl.
7592 * configure: Regenerated.
7593 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7594 with .globl.
7595 * sysdeps/i386/configure: Regenerated.
7596 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7597 with .globl.
7598 * sysdeps/x86_64/configure: Regenerated.
7599 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7600 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7601 * elf/tst-unique2mod2.c: Likewise.
7602 * elf/tst-unique2mod1.c: Likewise.
7603 * elf/tst-unique1mod2.c: Likewise.
7604 * elf/tst-unique1mod1.c: Likewise.
7605 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7606 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7607 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7608 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7609 * sysdeps/mach/sysdep.h: Likewise.
7610 * sysdeps/i386/sysdep.h: Likewise.
7611 * sysdeps/i386/i386-mcount.S: Likewise.
7612 * sysdeps/x86_64/_mcount.S: Likewise.
7613 * sysdeps/x86_64/sysdep.h: Likewise.
7614 * sysdeps/sh/_mcount.S: Likewise.
7615 * sysdeps/sh/sysdep.h: Likewise.
7616 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7617 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7618 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7619 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7620 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7621 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7622 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7623 * locale/localeinfo.h: Likewise.
7624 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7625 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7626
6c55cda3
RM
76272012-07-09 Roland McGrath <roland@hack.frob.com>
7628
7629 [BZ #14336]
7630 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7631 system".
7632 * manual/message.texi (The Uniforum approach): Likewise.
7633 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7634 (glibc iconv Implementation): Likewise.
7635
638a572e
JM
76362012-07-09 Joseph Myers <joseph@codesourcery.com>
7637
7638 [BZ #14337]
7639 * math/s_clog.c (__clog): Avoid scaling a value down where that
7640 could result in underflow.
7641 * math/s_clog10.c (__clog10): Likewise.
7642 * math/s_clog10f.c (__clog10f): Likewise.
7643 * math/s_clog10l.c (__clog10l): Likewise.
7644 * math/s_clogf.c (__clogf): Likewise.
7645 * math/s_clogl.c (__clogl): Likewise.
7646 * math/libm-test.inc (clog_test): Add more tests.
7647 (clog10_test): Likewise.
7648 * sysdeps/i386/fpu/libm-test-ulps: Update.
7649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7650
261f4859
AS
76512012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7652
0abaf3e4
AS
7653 [BZ #14283]
7654 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7655 by 7 not 8 to examine high bit of fractional part.
7656
261f4859
AS
7657 [BZ #14042]
7658 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7659 for call to __mcount_internal.
7660 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7661 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7662 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7663
f17ac40d
JM
76642012-07-06 Joseph Myers <joseph@codesourcery.com>
7665
9ad63c23
JM
7666 [BZ #14154]
7667 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7668 approximation for values within 0x1p-13f of an odd multiple of
7669 pi/4.
7670 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7671 exception. Add more tests.
7672 * sysdeps/i386/fpu/libm-test-ulps: Update.
7673
f17ac40d
JM
7674 [BZ #6778]
7675 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7676 inputs and return -1 for them. Do not check for +Inf in case not
7677 reachable for +Inf.
7678 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7679 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7680 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7681 and return -1 for them. Do not check for +Inf in case not
7682 reachable for +Inf.
7683 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7684 define.
7685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7686 and return -1 for them. Do not check for +Inf in case not
7687 reachable for +Inf.
7688 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7689 spurious underflow.
7690 * sysdeps/i386/fpu/libm-test-ulps: Update.
7691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7692
fb21f89b
MF
76932012-07-06 Mike Frysinger <vapier@gentoo.org>
7694
7695 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7696
cdfe2c5e
JM
76972012-07-05 Joseph Myers <joseph@codesourcery.com>
7698
7699 [BZ #14157]
7700 [BZ #14331]
7701 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7702 could result in spurious underflow. Scale down values above
7703 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7704 * math/s_csqrtf.c (__csqrtf): Likewise.
7705 * math/s_csqrtl.c (__csqrtl): Likewise.
7706 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7707 spurious underflow.
7708 * sysdeps/i386/fpu/libm-test-ulps: Update.
7709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7710
70d35b67
AS
77112012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7712
704bc459
AS
7713 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7714 xopen-msg.sed.
7715 * catgets/xopen-msg.awk: New file.
7716 * catgets/xopen-msg.sed: Removed.
7717
70d35b67
AS
7718 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7719 po2text.sed.
7720 * intl/po2test.awk: New file.
7721 * intl/po2test.sed: Removed.
7722
ca61cf32
JM
77232012-07-04 Joseph Myers <joseph@codesourcery.com>
7724
7725 [BZ #14328]
7726 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7727 or multiply small sinh result by itself.
7728 * math/s_ctanf.c (__ctanf): Likewise.
7729 * math/s_ctanh.c (__ctanh): Likewise.
7730 * math/s_ctanhf.c (__ctanhf): Likewise.
7731 * math/s_ctanhl.c (__ctanhl): Likewise.
7732 * math/s_ctanl.c (__ctanl): Likewise.
7733 * math/libm-test.inc (ctan_test_tonearest): New function.
7734 (ctan_test_towardzero): Likewise.
7735 (ctan_test_downward): Likewise.
7736 (ctan_test_upward): Likewise.
7737 (ctanh_test_tonearest): Likewise.
7738 (ctanh_test_towardzero): Likewise.
7739 (ctanh_test_downward): Likewise.
7740 (ctanh_test_upward): Likewise.
7741 (main): Call these new functions.
7742 * sysdeps/i386/fpu/libm-test-ulps: Update.
7743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7744
ca48a46a
MF
77452012-07-03 Mike Frysinger <vapier@gentoo.org>
7746
7747 * .gitignore: Delete /ports entry.
7748
9d63d37d
AJ
77492012-07-03 Andreas Jaeger <aj@suse.de>
7750
7751 * po/bg.po: Update from translation team.
7752 * po/cs.po: Likewise.
7753 * po/de.po: Likewise.
7754 * po/hr.po: Likewise.
7755 * po/nl.pl: Likewise.
7756 * po/pl.po: Likewise.
7757 * po/vi.po: Likewise.
7758
370ca3d2
JM
77592012-07-03 Joseph Myers <joseph@codesourcery.com>
7760
95f5a9a8
JM
7761 * Makeconfig [!+link] (+link-before-libc): New variable.
7762 [!+link] (+link-after-libc): Likewise.
7763 [!+link] (+link-tests): Likewise.
7764 [!+link] (+link): Define in terms of $(+link-before-libc) and
7765 $(+link-after-libc).
7766 [!+link-static] (+link-static-before-libc): New variable.
7767 [!+link-static] (+link-static-after-libc): Likewise.
7768 [!+link-static] (+link-static-tests): Likewise.
7769 [!+link-static] (+link-static): Define in terms of
7770 $(+link-static-before-libc) and $(+link-static-after-libc).
7771 [build-shared] (link-libc-before-gnulib): New variable.
7772 [build-shared] (link-libc-tests): Likewise.
7773 [build-shared] (link-libc): Define in terms of
7774 $(link-libc-before-gnulib).
7775 [!build-shared] (link-libc-tests): New variable.
7776 (link-libc-static-tests): New variable.
7777 [!gnulib] (gnulib-arch): New variable.
7778 [!gnulib] (gnulib-tests): Likewise.
7779 [!gnulib] (static-gnulib-arch): Likewise.
7780 [!gnulib] (static-gnulib-tests): Likewise.
7781 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7782 Define with "=" instead of ":=".
7783 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7784 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7785 * Rules (binaries-all-notests): New variable.
7786 (binaries-all-tests): Likewise.
7787 (binaries-static-notests): Likewise.
7788 (binaries-static-tests): Likewise.
7789 (binaries-all): Define using $(binaries-all-notests) and
7790 $(binaries-all-tests).
7791 (binaries-static): Define using $(binaries-static-notests) and
7792 $(binaries-static-tests).
7793 (binaries-shared-tests): New variable.
7794 (binaries-shared-notests): Likewise.
7795 (binaries-shared): Remove variable.
7796 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7797 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7798 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7799 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7800 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7801 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7802 * elf/Makefile (sln-modules): New variable.
7803 (extra-objs): Add $(sln-modules:=.o).
7804 (ldconfig-modules): Add static-stubs.
7805 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7806 * elf/static-stubs.c: New file.
7807
7a845b2c
JM
7808 [BZ #14283]
7809 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7810 by 7 not 8 to examine high bit of fractional part. Use volatile
7811 variables when splitting into final array of floats if
7812 __FLT_EVAL_METHOD__ != 0.
7813 * math/libm-test.inc (cos_test): Add another test.
7814 (sin_test): Likewise.
7815 * sysdeps/i386/fpu/libm-test-ulps: Update.
7816
e2283f38
JM
7817 [BZ #14273]
7818 * math/libm-test.inc (cosh_test): Add more tests.
7819
370ca3d2
JM
7820 * version.h (RELEASE): Set to "development".
7821 (VERSION): Set to "2.16.90".
7822
ee9247c3
CD
78232012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7824
7825 * NEWS: Update copyright. Remove last-updated date.
7826 Mention math library bug fixes and timezone data changes.
7827 * README: Mention GNU/Hurd, x32, and HPPA support status.
7828
4648c381
TS
78292012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7830
7831 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7832
aac78a43
AJ
78332012-06-27 Andreas Jaeger <aj@suse.de>
7834
7835 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7836
ed3dbfad
AJ
78372012-06-25 Andreas Jaeger <aj@suse.de>
7838
7839 * sysdeps/s390/fpu/libm-test-ulps: Update.
7840
4d0ee855
AS
78412012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7842 Thomas Schwinge <thomas@codesourcery.com>
7843
7844 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7845 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7847 fanotify_mark.
7848
af1bce34
TS
78492012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7850
a9fa33ba
TS
7851 * sysdeps/mach/start.c: Remove file.
7852 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7853 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7854 * sysdeps/sh/init-first.c: Likewise.
7855
58f902b8
TS
7856 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7857 registers for frame unwinding purposes, add CFI directives.
7858 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7859 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7860 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7861 Likewise.
7862
1518f58b
TS
7863 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7864 __fortify_fail returning.
7865 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7866
db9b5059
TS
7867 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7868 sysdeps/sh/____longjmp_chk.S.
7869 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7870 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7871 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7872 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7873
967705fe
TS
7874 * sysdeps/sh/abort-instr.h: New file.
7875 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7876 process in case exit returns.
7877
a9def8c4
TS
7878 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7879 initialize the GOT register before use.
7880
2a649725
TS
7881 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7882 calculation of ARGC > 4.
7883
af1bce34
TS
7884 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7885 meaningful names to some local labels.
7886
d230f50a
KK
78872012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7888 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7889
7890 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7891 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7892 (__arch_compare_and_exchange_val_16_acq): Likewise.
7893 (__arch_compare_and_exchange_val_32_acq): Likewise.
7894 (atomic_exchange_and_add): Fix gUSA sequence.
7895 (atomic_add): Likewise.
7896 (atomic_add_negative): Likewise.
7897 (atomic_add_zero): Likewise.
7898 (atomic_bit_test_set): Likewise.
7899
0479b305
AS
79002012-06-22 Andreas Schwab <schwab@redhat.com>
7901
7902 [BZ #13579]
7903 * include/link.h (struct link_map): Add l_free_initfini.
7904 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7905 l_initfini.
7906 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7907 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7908 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7909 set.
7910
0e3933b9
CD
79112012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7912
7913 * configure.in: Use AC_LANG_SOURCE.
7914 * configure: Regenerate.
7915
4248b1b1
RM
79162012-06-22 Roland McGrath <roland@hack.frob.com>
7917
7918 * configure.in (libc_cv_localstatedir): New substituted variable.
7919 * configure: Regenerated.
7920 * config.make.in (localstatedir): New variable, substituted from
7921 libc_cv_localstatedir.
7922 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7923 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7924 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7925 * sysdeps/gnu/configure: Regenerated.
7926
006dd861
JL
79272012-06-21 Jeff Law <law@redhat.com>
7928
7929 [BZ #14277]
7930 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7931 free. Simplify list management for _LIBC case.
7932
79662d42
JM
79332012-06-21 Joseph Myers <joseph@codesourcery.com>
7934
b7abb4bf
JM
7935 [BZ #14273]
7936 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7937 Clear sign bit of 64-bit integer value before comparing against
7938 overflow value.
7939
79662d42
JM
7940 * sysdeps/mach/configure: Regenerated.
7941
1f150908
L
79422012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7943
7944 [BZ #14278]
7945 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7946
28363bbf
JL
79472012-06-21 Jeff Law <law@redhat.com>
7948
7949 [BZ #13882]
7950 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7951 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 7952 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
7953 * elf/dl-open.c (dl_open_worker): Likewise.
7954
09615db4
CD
79552012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7956
7957 * scripts/list-sources.sh: Scan PORTS for translations.
7958 * po/libc.pot: Regenerated.
7959
2174c6dd
AJ
79602012-06-21 Andreas Jaeger <aj@suse.de>
7961
7962 [BZ #12194]
7963 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7964 warning.
7965 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7966 * bits/byteswap-16.h (__bswap_16): Likewise.
7967 * bits/byteswap.h (__bswap_constant_16): Likewise.
7968
3ee947b1
L
79692012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7970
7971 [BZ #14117]
a2f34833
L
7972 * sysdeps/i386/fpu_control.h: Removed.
7973 * sysdeps/x86_64/fpu_control.h: Moved to ...
7974 * sysdeps/x86/fpu_control.h: Here.
7975
3ee947b1
L
7976 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7977 (_FPU_SETCW): Likewise.
7978
ed1825f8
L
79792012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7980
25f1282a
L
7981 [BZ #14117]
7982 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7983 * sysdeps/x86/fpu/bits/mathinline.h: This.
7984 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7985
ed1825f8
L
7986 [BZ #14050]
7987 [BZ #14117]
7988 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7989 functions if __x86_64__ is defined.
7990
36d54b74
CLT
79912012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7992
7993 * string/endian.h: Add !__ASSEMBLER__ condition for including
7994 conversion interfaces.
7995
10285c21
JM
79962012-06-15 Joseph Myers <joseph@codesourcery.com>
7997
7998 [BZ #14241]
7999 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
8000 of ABS(x) in calculating zero to negative powers other than odd
8001 integers.
8002 * math/libm-test.inc (pow_test): Add more tests.
8003
06c5abbd
AJ
80042012-06-15 Andreas Jaeger <aj@suse.de>
8005
8006 * manual/contrib.texi (Contributors): Update entry of Liubov
8007 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
8008 Machado Filho.
8009
a3aeac40
CH
80102012-06-15 Cyril Hrubis <metan@ucw.cz>
8011
8012 * string/string.h: Add __wur to GNU version of strerror_r.
8013
49bdf4c1
L
80142012-06-14 H.J. Lu <hongjiu.lu@intel.com>
8015
8016 [BZ #14229]
8017 * string/Makefile (tests): Add tst-strtok_r.
8018 * string/tst-strtok_r.c: New file.
8019 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
8020 RAX_LP/RDX_LP on SAVE_PTR.
8021
834f9b8d
RM
80222012-06-14 Roland McGrath <roland@hack.frob.com>
8023
8024 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
8025
75fa1921
JM
80262012-06-14 Joseph Myers <joseph@codesourcery.com>
8027
8028 * libm_test.inc (csqrt_test): Allow more spurious underflow
8029 exceptions.
8030 (j0_test): Likewise.
8031 (j1_test): Likewise.
8032 (y0_test): Likewise.
8033 (y1_test): Likewise.
8034
771766df
CD
80352012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
8036
8037 * po/Makefile (libc.pot): Use UTF-8 charset.
8038
ceb9e56b
PP
80392012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
8040
8041 [BZ #14210]
8042 Suppress sign-conversion warning from FD_SET.
8043 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
8044 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
8045 not unsigned long int.
8046 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
8047
ddb28975
L
80482012-06-12 H.J. Lu <hongjiu.lu@intel.com>
8049
8050 [BZ #14050]
8051 [BZ #14117]
8052 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
8053 __extern_always_inline instead of __extern_inline.
8054 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
8055 (__signbit): Likewise.
8056 (__signbitl): Support C++ namespace.
8057 (lrintf): New inline function.
8058 (lrint): Likewise.
8059 (llrintf): Likewise.
8060 (llrint): Likewise.
8061 (fmaxf): Likewise.
8062 (fmax): Likewise.
8063 (fminf): Likewise.
8064 (fmin): Likewise.
8065 (rint): Likewise.
8066 (rintf): Likewise.
8067 (ceil): Likewise.
8068 (ceilf): Likewise.
8069 (floor): Likewise.
8070 (floorf): Likewise.
8071 (nearbyint): Likewise.
8072 (nearbyintf): Likewise.
8073
d7b4fb26
TS
80742012-06-12 Thomas Schwinge <thomas@codesourcery.com>
8075
8076 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
8077 non-default versions.
8078
eb55f5c2
RM
80792012-06-11 Roland McGrath <roland@hack.frob.com>
8080
8081 [BZ #14218]
8082 * manual/argp.texi (Argp): Reword argp_parse description slightly.
8083
366af02c
TS
80842012-06-09 Thomas Schwinge <thomas@codesourcery.com>
8085
99ff6e5c
TS
8086 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
8087 (FE_UPWARD, FE_DOWNWARD): Don't define.
8088 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
8089 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8090
366af02c
TS
8091 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
8092 reading it.
8093 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8094 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8095
793ea851
KK
80962012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8097
8098 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
8099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
8100 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
8101 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
8102
a728a38f
L
81032012-06-06 H.J. Lu <hongjiu.lu@intel.com>
8104
8105 [BZ #14117]
c08010c7
L
8106 * sysdeps/i386/fpu/bits/fenv.h: Removed.
8107 * sysdeps/i386/fpu/Implies: New file.
8108 * sysdeps/x86_64/fpu/Implies: Likewise.
8109 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
8110 * sysdeps/x86/fpu/bits/fenv.h: This.
8111
a728a38f
L
8112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
8113 __SSE_MATH__.
8114
6e230d11
SP
81152012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8116
8117 [BZ #14134]
8118 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
8119 character 0xffff that matches the last element of the
8120 conversion table.
8121
1b671feb
AZ
81222012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8123
8124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
8125 fmodl commit.
8126
6043738b
AZ
81272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8128
8129 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
8130 values higher than 25.6283.
8131
34ae0b32
AZ
81322012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8133
8134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
8135 subnormal exponent extraction and add some __builtin_expect.
8136 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
8137 Fix for subnormal mantissa calculation.
8138
1214ec8f
MF
81392012-06-04 Mike Frysinger <vapier@gentoo.org>
8140
8141 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
8142 cpu2 is -1 and errno is not ENOSYS.
8143
f3d1f93c
L
81442012-06-04 H.J. Lu <hongjiu.lu@intel.com>
8145
8146 [BZ #14117]
0e4a3cd7
L
8147 * sysdeps/i386/i486/bits/string.h: Renamed to ...
8148 * sysdeps/x86/bits/string.h: This.
8149 * sysdeps/x86_64/bits/string.h: Removed.
8150
6704c645
L
8151 * sysdeps/i386/i486/bits/string.h: Define inline functions only
8152 if not compiling for x86-64, but compiling for >= i486.
8153
48495318
L
8154 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
8155 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
8156
14adcbfc
L
8157 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
8158 New macro from Linux kernel 3.4.0.
8159 (FP_XSTATE_MAGIC2): Likewise.
8160 (FP_XSTATE_MAGIC2_SIZE): Likewise.
8161 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
8162 (struct _fpx_sw_bytes): New struct.
8163 (struct _xsave_hdr): Likewise.
8164 (struct _ymmh_state): Likewise.
8165 (struct _xstate): Likewise.
8166
68e408ab
L
8167 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
8168 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
8169 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
8170 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
8171 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
8172 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
8173
f3d1f93c
L
8174 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
8175 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
8176 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
8177 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
8178 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
8179 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
8180
d9dc34cd
TMQMF
81812012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8182
8183 [BZ #13743]
8184 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
8185 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
8186 (sysdep_headers): Include sys/platform/ppc.h.
8187 * sysdeps/powerpc/test-gettimebase.c: Test for
8188 __ppc_get_timebase() to catch future ISA opcode/insn changes.
8189 * manual/Makefile (appendices): Include platform.texi.
8190 * manual/contrib.texi (Contributors): Update @node pointers.
8191 * manual/maint.texi (Maintenance): Likewise.
8192 (Platform): New node.
8193 * manual/platform.texi: New file. Document the new features.
8194
4af3879c
SP
81952012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8196 Jakub Jelinek <jakub@redhat.com>
8197
8198 [BZ #14188]
8199 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
8200 where __builtin_expect is unavailable.
8201
2fd6ff13
DM
82022012-06-03 David S. Miller <davem@davemloft.net>
8203
8204 * stdlib/longlong.h: Updated from GCC.
8205
173f7220
AS
82062012-06-02 Andreas Schwab <schwab@linux-m68k.org>
8207
8208 [BZ #14042]
8209 * sysdeps/powerpc/powerpc32/mcount.c: New file.
8210 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
8211 __mcount_internal.
8212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8213 (GLIBC_2.16): Likewise.
8214
f34a1c6f
L
82152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8216
8217 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
8218
88a4576f
JM
82192012-06-01 Joseph Myers <joseph@codesourcery.com>
8220
ea32bcdd
JM
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8222 (default-abi): New variable.
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
8224 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
8225 variable.
8226 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
8227 Likewise.
8228 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
8229 Likewise.
8230 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
8231 Likewise.
8232
88a4576f
JM
8233 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
8234 definition. Document in comment.
8235
402fe938
DM
82362012-06-01 David S. Miller <davem@davemloft.net>
8237
8238 * stdlib/longlong.h: Updated from GCC.
8239
3553723f
L
82402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8241
8242 [BZ #14117]
3bd872c4
L
8243 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
8244 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
8245 sys/debugreg.h sys/io.h here.
8246 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
8247 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
8248 sys/io.h.
8249 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
8250 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
8251 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
8252 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
8253 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
8254 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
8255
3553723f
L
8256 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
8257 Define only if __x86_64__ is defined.
8258
4842e4fe
JM
82592012-06-01 Joseph Myers <joseph@codesourcery.com>
8260
c5bfe3d5
JM
8261 [BZ #14048]
8262 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
8263 Use int64_t for variable i.
8264 * math/libm-test.inc (fmod_test): Add more tests.
8265
4842e4fe
JM
8266 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
8267 z computation is not scheduled after fetestexcept.
8268 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
8269 Use math_force_eval instead of asm to ensure calculation scheduled
8270 before exception test.
8271 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
8272 Ensure a1 + u.d computation is not scheduled after fetestexcept.
8273
efb73488
AJ
82742012-06-01 Aurelien Jarno <aurelien@aurel32.net>
8275
8276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
8277 computation is not scheduled after fetestexcept.
8278
29bcce7c
L
82792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 [BZ #14117]
8282 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
8283 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
8284
73a68f94
AZ
82852012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8286
8287 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
8288 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8289
67b6df78
L
82902012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8291
edf2933a 8292 [BZ #14117]
ebc64a18
L
8293 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
8294 <bits/wordsize.h>.
8295 (__WCHAR_MIN): Support __WORDSIZE == 64.
8296 (__WCHAR_MAX): Likewise.
8297
edf2933a
L
8298 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
8299 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
8300
57c6cf40
L
8301 [BZ #14183]
8302 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
8303 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
8304
67b6df78 8305 [BZ #14117]
8eb6281e
L
8306 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
8307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
8308
aac639f4
L
8309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
8310 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
8311
67b6df78
L
8312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
8313 Defined to 1 if __x86_64__ isn't defined.
8314 (_STAT_VER_LINUX_OLD): New.
8315 (st_atime): Remove duplicate.
8316 (st_mtime): Likewise.
8317 (st_ctime): Likewise.
8318
1c2cfe81
DM
83192012-05-31 David S. Miller <davem@davemloft.net>
8320
8321 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
8322 entries.
8323
5be8418c
AS
83242012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8325
e7725326
AS
8326 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
8327 gen-libm-test.pl.
8328
5be8418c
AS
8329 [BZ #14132]
8330 * elf/dl-reloc.c: Include <_itoa.h>.
8331 (_dl_reloc_bad_type): Remove use of INTUSE.
8332 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
8333 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
8334 * stdio-common/psiginfo.c (psiginfo): Likewise.
8335 * stdio-common/psignal.c (psignal): Likewise.
8336 * string/strsignal.c (strsignal): Likewise.
8337 * include/signal.h (_sys_siglist): Declare hidden proto.
8338 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
8339 INTVARDEF with libc_hidden_data_def.
8340 * stdio-common/itoa-udigits.c: Likewise.
8341 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
8342 (_itoa_lower_digits_internal): Remove declaration.
8343 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
8344 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
8345 (_sys_sigabbrev_internal): Remove aliases.
8346 (_sys_siglist): Define hidden alias.
8347
507352f1
MT
83482012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
8349
8350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8351 bits/sysctl.h.
8352
42bbb1c3
L
83532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
8354
8355 [BZ #14117]
6bd784b6
L
8356 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
8357 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
8358
8bca20f0
L
8359 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
8360 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
8361 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
8362 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
8363 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
8364 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
8365
f9e890a9
L
8366 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
8367 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
8368 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
8369
471101a1
L
8370 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
8371 with __addr.
8372 (insw): Likewise.
8373 (insl): Likewise.
8374 (outsb): Likewise.
8375 (outsw): Likewise.
8376 (outsl): Likewise.
8377
6451c862
L
8378 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
8379 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
8380 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8381
a254b8c9
L
8382 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
8383 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
8384 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
8385 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8386 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
8387 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
8388
b8dfdd92
L
8389 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
8390 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
8391
578cd270
L
8392 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
8393 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
8394
de662f5f
L
8395 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
8396 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
8397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
8398
25653439
L
8399 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
8400 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
8401 to ...
8402 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
8403
6bad24a0
L
8404 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
8405 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
8406 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
8407
42bbb1c3
L
8408 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
8409 for x86-64.
8410 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
8411
2d10d547
JM
84122012-05-31 Joseph Myers <joseph@codesourcery.com>
8413
8414 * math/math.h (M_El): Use two more decimal places.
8415 (M_LOG2El): Likewise.
8416 (M_LOG10El): Likewise.
8417 (M_LN2l): Likewise.
8418 (M_LN10l): Likewise.
8419 (M_PIl): Likewise.
8420 (M_PI_2l): Likewise.
8421 (M_PI_4l): Likewise.
8422 (M_1_PIl): Likewise.
8423 (M_2_PIl): Likewise.
8424 (M_2_SQRTPIl): Likewise.
8425 (M_SQRT2l): Likewise.
8426 (M_SQRT1_2l): Likewise.
8427
f230c29b
DM
84282012-05-31 David S. Miller <davem@davemloft.net>
8429
8430 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
8431 values between float registers.
8432 * sysdeps/sparc/sparc64/memset.S: Likewise.
8433 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8434
fed806c3
MF
84352012-05-31 Mike Frysinger <vapier@gentoo.org>
8436
8437 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
8438 -D_FORTIFY_SOURCE=1.
8439 (CPPFLAGS-tst-longjmp_chk.c): Define.
8440 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
8441 (CPPFLAGS-tst-longjmp_chk2.c): Define.
8442 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
8443 CFLAGS-tst-wchar-h.c.
8444
30917259
MP
84452012-05-31 Marek Polacek <polacek@redhat.com>
8446
8447 [BZ #14132]
8448 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
8449 __endmntent_internal): Remove declaration.
8450 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
8451 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
8452 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
8453
1c58d5dc
DM
84542012-05-30 David S. Miller <davem@davemloft.net>
8455
8456 * sysdeps/sparc/sparc32/soft-fp/q_util.c
8457 (___Q_simulate_exceptions): Use real FP ops rather than writing
8458 into the %fsr.
8459 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
8460 Likewise.
8461
7dc00e0d
L
84622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8463
8464 [BZ #14117]
0bd53985
L
8465 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
8466 * sysdeps/x86/bits/xtitypes.h: This.
8467
3a257e66
L
8468 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
8469 * sysdeps/x86/bits/wordsize.h: This.
8470
62f62904
L
8471 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
8472 * sysdeps/x86/bits/huge_vall.h: This.
8473
404fe9d9
L
8474 * sysdeps/i386/bits/select.h: Removed.
8475 * sysdeps/x86_64/bits/select.h: Renamed to ...
8476 * sysdeps/x86/bits/select.h: This.
8477
d48d0446
L
8478 * sysdeps/i386/bits/setjmp.h: Removed.
8479 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
8480 * sysdeps/x86/bits/setjmp.h: This.
8481
7dc00e0d
L
8482 * sysdeps/i386/bits/mathdef.h: Removed.
8483 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
8484 * sysdeps/x86/bits/mathdef.h: This.
8485
03277f8f
AS
84862012-05-30 Andreas Schwab <schwab@linux-m68k.org>
8487
8488 [BZ #14132]
8489 * include/sys/socket.h (__connect_internal)
8490 (__libc_sa_len_internal): Remove declaration.
8491 (__connect, __libc_sa_len): Declare hidden_proto.
8492 (SA_LEN): Remove use of INTUSE.
8493 * socket/connect.c: Add libc_hidden_def.
8494 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
8495 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
8496 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
8497 alias.
8498 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8499 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8500 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
8501 of adding _internal alias.
8502
13764867
L
85032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8504
8505 [BZ #14117]
6bd97696
L
8506 * sysdeps/i386/bits/link.h: Removed.
8507 * sysdeps/i386/bits/linkmap.h: Likewise.
8508 * sysdeps/x86_64/bits/link.h: Renamed to ...
8509 * sysdeps/x86/bits/link.h: This.
8510 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
8511 * sysdeps/x86/bits/linkmap.h: This.
8512
f726f0bb
L
8513 * sysdeps/i386/bits/endian.h: Removed.
8514 * sysdeps/x86_64/bits/endian.h: Renamed to ...
8515 * sysdeps/x86/bits/endian.h: This.
8516
13764867
L
8517 * sysdeps/i386/bits/byteswap.h: Removed.
8518 * sysdeps/i386/bits/byteswap-16.h: Likewise.
8519 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
8520 * sysdeps/x86/bits/byteswap.h: This.
8521 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
8522 * sysdeps/x86/bits/byteswap-16.h: This.
8523 * sysdeps/i386/Implies: Add x86.
8524 * sysdeps/x86_64/Implies: Likewise.
8525
ae251b0b
DM
85262012-05-30 David S. Miller <davem@davemloft.net>
8527
8528 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
8529 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
8530 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8531 (FP_TRAPPING_EXCEPTIONS): Define.
8532 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8533 (FP_TRAPPING_EXCEPTIONS): Define.
8534 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
8535 subnormals only when inexact has been signalled or underflow
8536 exceptions are enabled.
8537 (_FP_PACK_CANONICAL): Likewise.
8538
d5c90867
L
85392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8540
8541 [BZ #14183]
8542 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
8543 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8544
63f1549e
RH
85452012-05-30 Richard Henderson <rth@twiddle.net>
8546
8d8f2279
RH
8547 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8548 with #ifndef NOT_IN_libc.
8549
63f1549e
RH
8550 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8551 marked to avoid plt entry.
8552
0ab0291b
L
85532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8554
8555 [BZ #14112]
8556 * Makeconfig (default-abi): New macro.
8557 (abi-includes): Likewise.
8558 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8559 $(abi-$(default-abi)-lib-soname) for soname if defined.
8560 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8561 abi-variants.
8562 * Makefile (installed-stubs): Likewise.
8563 * include/stubs-biarch.h: Removed.
8564 * scripts/lib-names.awk: Only handle one library at a time.
8565 * scripts/soversions.awk: Remove WORDSIZE support.
8566 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8567 entries.
8568 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8569 Removed.
8570 (syscall-list-default-condition): Likewise.
8571 (syscall-list-default-condition): Likewise.
8572 (syscall-list-includes): Likewise.
8573 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8574 syscall-list-* with abi-*. Handle undefined abi-variants.
8575 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8576 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8577 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8578 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8579 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8580 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8581 Removed.
8582 (syscall-list-32-options): Likewise.
8583 (syscall-list-32-condition): Likewise.
8584 (syscall-list-64-options): Likewise.
8585 (syscall-list-64-condition): Likewise.
8586 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8587 macro.
8588 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8589 Renamed to ...
8590 (abi-*): This.
8591 (abi-64-ld-soname): New macro.
8592 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8593 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8594 Renamed to ...
8595 (abi-*): This.
8596 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8597 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8598
4da0431d
JM
85992012-05-30 Joseph Myers <joseph@codesourcery.com>
8600
3a85279c
JM
8601 * sysdeps/unix/sysv/linux/kernel-features.h
8602 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8603 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8604 include <kernel-features.h>.
8605 [!__NR_ftruncate64]: Remove conditional code.
8606 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8607 [__NR_ftruncate64]: Make code unconditional.
8608 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8609 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8610 include <kernel-features.h>.
8611 [!__NR_ftruncate64]: Remove conditional code.
8612 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8613 [__NR_ftruncate64]: Make code unconditional.
8614 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8616 include <kernel-features.h>.
8617 [!__NR_ftruncate64]: Remove conditional code.
8618 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8619 [__NR_ftruncate64]: Make code unconditional.
8620 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8622 include <kernel-features.h>.
8623 [!__NR_ftruncate64]: Remove conditional code.
8624 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8625 [__NR_ftruncate64]: Make code unconditional.
8626 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8627
4da0431d
JM
8628 * configure.in (libc_cv_fpie): Weaken to a compile test using
8629 LIBC_TRY_CC_OPTION.
8630 * configure: Regenerated.
8631
11ef492c
AK
86322012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8633
8634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8638 Refreshed.
8639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8645 Refreshed.
8646
d66ef399
DM
86472012-05-27 David S. Miller <davem@davemloft.net>
8648
8649 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8650 (___Q_zero): New.
8651 (__Q_simulate_exceptions): Return void. Change to simulate
8652 exceptions by writing into the %fsr.
8653 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8654 (__Qp_handle_exceptions): Likewise.
8655 (numbers): Delete.
8656 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8657 __Qp_handle_exceptions.
8658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8659 __Qp_handle_exceptions.
8660 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8661 as unused and give dummy FP_RND_NEAREST initializer.
8662 (FP_INHIBIT_RESULTS): Define.
8663 (___Q_simulate_exceptions): Update declaration.
8664 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8665 formatting.
8666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8667 as unused and give dummy FP_RND_NEAREST initializer.
8668 (__Qp_handle_exceptions): Update declaration.
8669 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8670 formatting.
8671
04fb54b5
TS
86722012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8673
8674 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8675 the temporary FPU control word.
8676 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8677 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8678 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8679 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8680 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8681 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8682 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8683 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8684 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8685 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8686 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8687
3f99608f
KK
86882012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8689
8690 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8691 fields.
8692
65a4de4e
CLT
86932012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8694
8695 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8696 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8697 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8698 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8699 Likewise.
8700 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8701 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8702 Likewise.
8703
15749d40
UD
87042012-05-27 Ulrich Drepper <drepper@gmail.com>
8705
8706 * po/h.po: Update from translation team.
8707
25dbcb27
AS
87082012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8709
3d3f8e55
AS
8710 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8711
25dbcb27
AS
8712 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8713 handling of denormals.
8714 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8715 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8716 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8721 Likewise.
8722
7ad47a80 87232012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
8724
8725 [BZ #14152]
8726 * math/libm-test.inc (fma_test): Don't always expect underflow
8727 exception.
8728
9c6ea9fa
SP
87292012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8730
8731 [BZ #12416]
8732 * elf/tst-execstack.c: Include stackinfo.h.
8733 (do_test): Adjust test case to ensure that pthread_getattr_np
8734 behaviour remains the same after marking stack executable.
8735
a8239222
JM
87362012-05-25 Joseph Myers <joseph@codesourcery.com>
8737
8738 * sysdeps/unix/sysv/linux/kernel-features.h
8739 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8740 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8741 kernel-features.h.
8742 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8743 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8744 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8745 kernel-features.h.
8746 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8747 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8748
918b5606
L
87492012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8750
8751 * configure.in: Define the default includes to being none.
8752 * configure: Regenerated.
8753
3a097cc7
RM
87542012-05-25 Roland McGrath <roland@hack.frob.com>
8755
8422c9a5
RM
8756 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8757 * sysdeps/x86_64/setjmp.S: Likewise.
8758 * sysdeps/i386/bsd-setjmp.S: Likewise.
8759 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8760 * sysdeps/i386/setjmp.S: Likewise.
8761 * sysdeps/i386/__longjmp.S: Likewise.
8762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8763 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8764
3a097cc7
RM
8765 * include/stap-probe.h: New file.
8766 * configure.in: Handle --enable-systemtap.
8767 * configure: Regenerated.
8768 * config.h.in (USE_STAP_PROBE): New #undef.
8769 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8770 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8771 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8772
21708942
JM
87732012-05-25 Joseph Myers <joseph@codesourcery.com>
8774
8775 [BZ #13717]
8776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8777 to 2.4.0 where earlier.
8778 * sysdeps/unix/sysv/linux/configure: Regenerated.
8779 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8780 <kernel-features.h>.
8781 [__ASSUME_32BITUIDS]: Make code unconditional.
8782 [!__ASSUME_32BITUIDS]: Remove conditional code.
8783 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8784 <kernel-features.h>.
8785 [__ASSUME_32BITUIDS]: Make code unconditional.
8786 [!__ASSUME_32BITUIDS]: Remove conditional code.
8787 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8788 [__ASSUME_32BITUIDS]: Make code unconditional.
8789 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8790 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8791 <kernel-features.h>.
8792 [__ASSUME_32BITUIDS]: Make code unconditional.
8793 [!__ASSUME_32BITUIDS]: Remove conditional code.
8794 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8795 <kernel-features.h>.
8796 [__ASSUME_32BITUIDS]: Make code unconditional.
8797 [!__ASSUME_32BITUIDS]: Remove conditional code.
8798 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8799 <kernel-features.h>.
8800 [__ASSUME_32BITUIDS]: Make code unconditional.
8801 [!__ASSUME_32BITUIDS]: Remove conditional code.
8802 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8803 <kernel-features.h>.
8804 [__ASSUME_32BITUIDS]: Make code unconditional.
8805 [!__ASSUME_32BITUIDS]: Remove conditional code.
8806 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8807 <kernel-features.h>.
8808 [__ASSUME_32BITUIDS]: Make code unconditional.
8809 [!__ASSUME_32BITUIDS]: Remove conditional code.
8810 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8811 <kernel-features.h>.
8812 [__ASSUME_32BITUIDS]: Make code unconditional.
8813 [!__ASSUME_32BITUIDS]: Remove conditional code.
8814 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8815 <kernel-features.h>.
8816 [__ASSUME_32BITUIDS]: Make code unconditional.
8817 [!__ASSUME_32BITUIDS]: Remove conditional code.
8818 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8819 <kernel-features.h>.
8820 [__ASSUME_32BITUIDS]: Make code unconditional.
8821 [!__ASSUME_32BITUIDS]: Remove conditional code.
8822 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8823 <kernel-features.h>.
8824 [__ASSUME_32BITUIDS]: Make code unconditional.
8825 [!__ASSUME_32BITUIDS]: Remove conditional code.
8826 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8827 <kernel-features.h>.
8828 [__ASSUME_32BITUIDS]: Make code unconditional.
8829 [!__ASSUME_32BITUIDS]: Remove conditional code.
8830 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8831 <kernel-features.h>.
8832 [__NR_setresgid] (__setresgid): Do not declare.
8833 [__ASSUME_32BITUIDS]: Make code unconditional.
8834 [!__ASSUME_32BITUIDS]: Remove conditional code.
8835 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8836 <kernel-features.h>.
8837 [__NR_setresuid] (__setresuid): Do not declare.
8838 [__ASSUME_32BITUIDS]: Make code unconditional.
8839 [!__ASSUME_32BITUIDS]: Remove conditional code.
8840 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8841 <kernel-features.h>.
8842 [__ASSUME_32BITUIDS]: Make code unconditional.
8843 [!__ASSUME_32BITUIDS]: Remove conditional code.
8844 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8845 <kernel-features.h>.
8846 [__ASSUME_32BITUIDS]: Make code unconditional.
8847 [!__ASSUME_32BITUIDS]: Remove conditional code.
8848 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8849 <kernel-features.h>.
8850 [__ASSUME_32BITUIDS]: Make code unconditional.
8851 [!__ASSUME_32BITUIDS]: Remove conditional code.
8852 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8853 <kernel-features.h>.
8854 [__ASSUME_32BITUIDS]: Make code unconditional.
8855 [!__ASSUME_32BITUIDS]: Remove conditional code.
8856 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8857 <kernel-features.h>.
8858 [__ASSUME_32BITUIDS]: Make code unconditional.
8859 [!__ASSUME_32BITUIDS]: Remove conditional code.
8860 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8861 <kernel-features.h>.
8862 [__ASSUME_32BITUIDS]: Make code unconditional.
8863 [!__ASSUME_32BITUIDS]: Remove conditional code.
8864 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8865 <kernel-features.h>.
8866 [__ASSUME_32BITUIDS]: Make code unconditional.
8867 [!__ASSUME_32BITUIDS]: Remove conditional code.
8868 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8869 <kernel-features.h>.
8870 [__ASSUME_32BITUIDS]: Make code unconditional.
8871 [!__ASSUME_32BITUIDS]: Remove conditional code.
8872 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8873 <kernel-features.h>.
8874 [__ASSUME_32BITUIDS]: Make code unconditional.
8875 [!__ASSUME_32BITUIDS]: Remove conditional code.
8876 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8877 <kernel-features.h>.
8878 [__ASSUME_32BITUIDS]: Make code unconditional.
8879 [!__ASSUME_32BITUIDS]: Remove conditional code.
8880 * sysdeps/unix/sysv/linux/kernel-features.h
8881 (__ASSUME_SETRESUID_SYSCALL): Remove.
8882 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8883 (__ASSUME_32BITUIDS): Likewise.
8884 (__ASSUME_LDT_WORKS): Likewise.
8885 (__ASSUME_O_DIRECTORY): Likewise.
8886 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8887 architecture but not kernel version.
8888 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8889 (__ASSUME_MMAP2_SYSCALL): Likewise.
8890 (__ASSUME_STAT64_SYSCALL): Likewise.
8891 (__ASSUME_IPC64): Likewise.
8892 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8893 <kernel-features.h>.
8894 [__ASSUME_32BITUIDS]: Make code unconditional.
8895 [!__ASSUME_32BITUIDS]: Remove conditional code.
8896 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8897 <kernel-features.h>.
8898 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8899 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8900 132096]: Remove conditional code.
8901 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8902 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8903 <kernel-features.h>.
8904 [__ASSUME_32BITUIDS]: Make code unconditional.
8905 [!__ASSUME_32BITUIDS]: Remove conditional code.
8906 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8907 <kernel-features.h>.
8908 [__ASSUME_32BITUIDS]: Make code unconditional.
8909 [!__ASSUME_32BITUIDS]: Remove conditional code.
8910 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8911 <kernel-features.h>.
8912 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8913 unconditional.
8914 (__setresgid): Do not declare.
8915 [__ASSUME_32BITUIDS]: Make code unconditional.
8916 [!__ASSUME_32BITUIDS]: Remove conditional code.
8917 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8918 <kernel-features.h>.
8919 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8920 unconditional.
8921 (__setresuid): Do not declare.
8922 [__ASSUME_32BITUIDS]: Make code unconditional.
8923 [!__ASSUME_32BITUIDS]: Remove conditional code.
8924 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8925 <kernel-features.h>.
8926 [__ASSUME_32BITUIDS]: Make code unconditional.
8927 [!__ASSUME_32BITUIDS]: Remove conditional code.
8928 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8929 <kernel-features.h>.
8930 [__ASSUME_32BITUIDS]: Make code unconditional.
8931 [!__ASSUME_32BITUIDS]: Remove conditional code.
8932
a386f1cc
RH
89332012-05-25 Richard Henderson <rth@twiddle.net>
8934
8935 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8936 dl_hwcap to ifunc resolver.
8937 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8938 elf_ifunc_invoke.
8939 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8940 dl_hwcap to ifunc resolver.
8941 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8942
b6550497
JM
89432012-05-24 Joseph Myers <joseph@codesourcery.com>
8944
8945 [BZ #14153]
8946 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8947 for |x| <= 2**-26, not 2**-57.
8948 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8949 exception.
8950
b0bc23a1
JL
89512012-05-24 Jeff Law <law@redhat.com>
8952
8953 * stdio-common/Makefile (tests): Add bug25.
8954 * stdio-common/bug25.c: New test.
8955
347c92e9
L
89562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8957
8958 [BZ #13576]
8959 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8960 multiple of MALLOC_ALIGNMENT in size.
8961 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8962
6bcc8b3f
JM
89632012-05-24 Joseph Myers <joseph@codesourcery.com>
8964
8965 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8966 Require >= 256.
8967 (FILENAME_MAX): Use macro-int-constant.
8968 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8969 (_IOFBF): Use macro-int-constant.
8970 (_IOLBF): Likewise.
8971 (_IONBF): Likewise.
8972 (SEEK_CUR): Likewise.
8973 (SEEK_END): Likewise.
8974 (SEEK_SET): Likewise.
8975 (TMP_MAX): Likewise.
8976 (EOF): Use macro-int-constant. Require < 0.
8977 (NULL): Use macro-constant. Require == 0.
8978 (stdin): Require type to be FILE *.
8979 (stdout): Likewise.
8980 (stderr): Likewise.
8981 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8982 macro-int-constant.
8983 (EXIT_SUCCESS): Likewise.
8984 (NULL): Use macro-constant. Require == 0.
8985 (RAND_MAX): Use macro-int-constant.
8986 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8987 [C99-based standards] (strtof): Require function.
8988 [C99-based standards] (strtold): Likewise.
8989 [C99-based standards] (strtoll): Likewise.
8990 [C99-based standards] (strtoull): Likewise.
8991 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8992 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8993 [ISO || ISO99 || ISO11] (math.h): Likewise.
8994 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8995 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8997
d18ea0c5
AS
89982012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8999
9000 [BZ #14132]
56d25bb8
AS
9001 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
9002 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
9003 * intl/dgettext.c (DCGETTEXT): Likewise.
9004 * intl/gettext.c (DCGETTEXT): Likewise.
9005 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
9006 * posix/regex_internal.h (gettext): Likewise.
9007 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
9008 Remove declaration.
9009 * include/argz.h (__argz_count_internal)
9010 (__argz_stringify_internal): Remove declaration.
9011 (__argz_count, __argz_stringify): Declare hidden proto.
9012 * intl/dcgettext.c: Remove use of INTDEF.
9013 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
9014 * string/argz-stringify.c: Likewise.
9015 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9016 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9017 Declare hidden proto.
d18ea0c5
AS
9018 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
9019 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
9020 Declare hidden proto.
9021 * include/stdio.h (__asprintf_internal): Don't declare.
9022 (__asprintf): Don't define as macro. Declare hidden proto.
9023 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
9024 (__fsetlocking): Declare hidden proto.
9025 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
9026 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
9027 hidden proto.
9028 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
9029 (_IO_setlinebuf): Remove use of INTUSE.
9030 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
9031 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
9032 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
9033 Remove declaration.
9034 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
9035 (_IO_do_flush): Remove use of INTUSE.
9036 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
9037 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
9038 (_IO_adjust_column, _IO_least_wmarker)
9039 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
9040 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
9041 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
9042 (_IO_default_doallocate, _IO_wdefault_doallocate)
9043 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
9044 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
9045 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
9046 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
9047 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
9048 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
9049 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
9050 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
9051 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
9052 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
9053 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
9054 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
9055 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
9056 proto.
9057 (_IO_flush_all_internal, _IO_adjust_column_internal)
9058 (_IO_default_uflow_internal, _IO_default_finish_internal)
9059 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
9060 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
9061 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
9062 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
9063 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
9064 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
9065 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
9066 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
9067 (_IO_file_close_internal, _IO_file_close_it_internal)
9068 (_IO_file_underflow_internal, _IO_file_overflow_internal)
9069 (_IO_file_init_internal, _IO_file_attach_internal)
9070 (_IO_file_fopen_internal, _IO_file_read_internal)
9071 (_IO_file_sync_internal, _IO_file_seek_internal)
9072 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
9073 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
9074 (_IO_str_underflow_internal, _IO_str_overflow_internal)
9075 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
9076 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
9077 (_IO_list_all_internal, _IO_link_in_internal)
9078 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
9079 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
9080 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
9081 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
9082 (_IO_do_write_internal, _IO_padn_internal)
9083 (_IO_getline_info_internal, _IO_getline_internal)
9084 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
9085 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
9086 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
9087 (_IO_vfscanf_internal, _IO_vfprintf_internal)
9088 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
9089 (_IO_init_internal, _IO_un_link_internal): Don't declare.
9090 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
9091 with libc_hidden_ver, remove use of INTUSE.
9092 * libio/genops.c: Likewise.
9093 * libio/freopen.c: Likewise.
9094 * libio/freopen64.c: Likewise.
9095 * libio/iofclose.c: Likewise.
9096 * libio/iofdopen.c: Likewise.
9097 * libio/iofflush.c: Likewise.
9098 * libio/iofflush_u.c: Likewise.
9099 * libio/iofgets.c: Likewise.
9100 * libio/iofgets_u.c: Likewise.
9101 * libio/iofopen.c: Likewise.
9102 * libio/iofopncook.c: Likewise.
9103 * libio/iofread.c: Likewise.
9104 * libio/iofread_u.c: Likewise.
9105 * libio/ioftell.c: Likewise.
9106 * libio/iofwrite.c: Likewise.
9107 * libio/iogetline.c: Likewise.
9108 * libio/iogets.c: Likewise.
9109 * libio/iogetwline.c: Likewise.
9110 * libio/iopadn.c: Likewise.
9111 * libio/iopopen.c: Likewise.
9112 * libio/ioseekoff.c: Likewise.
9113 * libio/ioseekpos.c: Likewise.
9114 * libio/iosetbuffer.c: Likewise.
9115 * libio/iosetvbuf.c: Likewise.
9116 * libio/ioungetc.c: Likewise.
9117 * libio/ioungetwc.c: Likewise.
9118 * libio/iovdprintf.c: Likewise.
9119 * libio/iovsprintf.c: Likewise.
9120 * libio/iovsscanf.c: Likewise.
9121 * libio/memstream.c: Likewise.
9122 * libio/obprintf.c: Likewise.
9123 * libio/oldfileops.c: Likewise.
9124 * libio/oldiofclose.c: Likewise.
9125 * libio/oldiofdopen.c: Likewise.
9126 * libio/oldiofopen.c: Likewise.
9127 * libio/oldiopopen.c: Likewise.
9128 * libio/oldstdfiles.c: Likewise.
9129 * libio/putc.c: Likewise.
9130 * libio/setbuf.c: Likewise.
9131 * libio/setlinebuf.c: Likewise.
9132 * libio/stdfiles.c: Likewise.
9133 * libio/strops.c: Likewise.
9134 * libio/vasprintf.c: Likewise.
9135 * libio/vscanf.c: Likewise.
9136 * libio/vsnprintf.c: Likewise.
9137 * libio/vswprintf.c: Likewise.
9138 * libio/wfiledoalloc.c: Likewise.
9139 * libio/wfileops.c: Likewise.
9140 * libio/wgenops.c: Likewise.
9141 * libio/wmemstream.c: Likewise.
9142 * libio/wstrops.c: Likewise.
9143 * libio/__fpurge.c: Likewise.
9144 * libio/__fsetlocking.c: Likewise.
9145 * assert/assert.c: Likewise.
9146 * debug/fgets_chk.c: Likewise.
9147 * debug/fgets_u_chk.c: Likewise.
9148 * debug/fread_chk.c: Likewise.
9149 * debug/fread_u_chk.c: Likewise.
9150 * debug/gets_chk.c: Likewise.
9151 * debug/obprintf_chk.c: Likewise.
9152 * debug/vasprintf_chk.c: Likewise.
9153 * debug/vdprintf_chk.c: Likewise.
9154 * debug/vsnprintf_chk.c: Likewise.
9155 * debug/vsprintf_chk.c: Likewise.
9156 * malloc/mtrace.c: Likewise.
9157 * misc/error.c: Likewise.
9158 * misc/syslog.c: Likewise.
9159 * stdio-common/asprintf.c: Likewise.
9160 * stdio-common/fxprintf.c: Likewise.
9161 * stdio-common/getw.c: Likewise.
9162 * stdio-common/isoc99_fscanf.c: Likewise.
9163 * stdio-common/isoc99_scanf.c: Likewise.
9164 * stdio-common/isoc99_vfscanf.c: Likewise.
9165 * stdio-common/isoc99_vscanf.c: Likewise.
9166 * stdio-common/isoc99_vsscanf.c: Likewise.
9167 * stdio-common/printf-prs.c: Likewise.
9168 * stdio-common/printf_fp.c: Likewise.
9169 * stdio-common/printf_fphex.c: Likewise.
9170 * stdio-common/printf_size.c: Likewise.
9171 * stdio-common/putw.c: Likewise.
9172 * stdio-common/scanf.c: Likewise.
9173 * stdio-common/sprintf.c: Likewise.
9174 * stdio-common/tmpfile.c: Likewise.
9175 * stdio-common/vfprintf.c: Likewise.
9176 * stdio-common/vfscanf.c: Likewise.
9177 * stdlib/strfmon_l.c: Likewise.
9178 * sunrpc/openchild.c: Likewise.
9179 * sunrpc/xdr_stdio.c: Likewise.
9180 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
9181 * sysdeps/mach/hurd/tmpfile.c: Likewise.
9182
d6c33fda
RM
91832012-05-24 Roland McGrath <roland@hack.frob.com>
9184
c1487492
RM
9185 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9186
9187 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
9188 in the third column, to generate for the shared library an IFUNC
9189 that uses _dl_vdso_vsym.
9190 * Makerules (COMPILE.c, compile-stdin.c): New variables.
9191 * Makeconfig (object-suffixes-noshared): New variable.
9192
9193 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
9194 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
9195 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
9196 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
9197
d6c33fda
RM
9198 [BZ #14132]
9199 * include/sys/time.h (__gettimeofday): Remove macro.
9200 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
9201 * time/gettimeofday.c (__gettimeofday): Remove #undef.
9202 Remove INTDEF.
9203 (__gettimeofday): Add libc_hidden_def.
9204 (gettimeofday): Add libc_hidden_weak.
9205 * sysdeps/mach/gettimeofday.c: Likewise.
9206 * sysdeps/posix/gettimeofday.c: Likewise.
9207 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
9208 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
9209 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
9210 (__gettimeofday_internal): Remove strong_alias.
9211 (__gettimeofday): Add libc_hidden_def.
9212 (gettimeofday): Add libc_hidden_weak.
9213 * sysdeps/unix/syscalls.list (gettimeofday):
9214 Remove __gettimeofday_internal alias.
9215
b5a2bbe6
L
92162012-05-24 Daniel Jacobowitz <drow@false.org>
9217 H.J. Lu <hongjiu.lu@intel.com>
9218
9219 [BZ #12495]
9220 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
9221 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
9222 (largebin_index_32_big): New.
9223 (largebin_index): Use it for 16-byte alignment.
9224 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
9225 correction with front_misalign.
9226
cfba4fda
L
92272012-05-24 H.J. Lu <hongjiu.lu@intel.com>
9228
7f907421
L
9229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
9230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9231 Likewise.
9232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
9233 Likewise.
9234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9235 Likewise.
9236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
9237 Likewise.
9238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
9239 Likewise.
9240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
9241 Likewise.
9242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
9243 Likewise.
9244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
9245 Likewise.
9246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
9247 Likewise.
9248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
9249 Likewise.
9250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9251 Likewise.
9252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
9253 Likewise.
9254
cfba4fda
L
9255 * scripts/data/c++-types-x32-linux-gnu.data: New file.
9256 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
9257
80bad0cc
JM
92582012-05-24 Joseph Myers <joseph@codesourcery.com>
9259
7a25eb06
JM
9260 [BZ #10846]
9261 [BZ #14036]
9262 * math/libm-test.inc (exp_test): Add test from bug 14036.
9263 (pow_test): Add test from bug 10846.
9264
795405f9
JM
9265 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
9266 and other flags.
9267 (special_function): Do not include flags in test name.
9268 (parse_args): Likewise.
9269 * sysdeps/i386/fpu/libm-test-ulps: Update.
9270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9271 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9272 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9274
80bad0cc
JM
9275 * math/gen-libm-test.pl (%beautify): Add entries for underflow
9276 exceptions.
9277 * math/libm-test.inc ("Philosophy"): Update comment about
9278 exception testing.
9279 (UNDERFLOW_EXCEPTION): New macro.
9280 (UNDERFLOW_EXCEPTION_OK): Likewise.
9281 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9282 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9283 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9284 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9285 (INVALID_EXCEPTION_OK): Update value.
9286 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9287 (OVERFLOW_EXCEPTION_OK): Likewise.
9288 (IGNORE_ZERO_INF_SIGN): Likewise.
9289 (test_exceptions): Handle underflow exceptions.
9290 (acos_test): Update for underflow exception expectations.
9291 (cexp_test): Likewise.
9292 (clog_test): Likewise.
9293 (clog10_test): Likewise.
9294 (csqrt_test): Likewise.
9295 (ctan_test): Likewise.
9296 (ctanh_test): Likewise.
9297 (exp_test): Likewise.
9298 (exp10_test): Likewise.
9299 (exp2_test): Likewise.
9300 (expm1_test): Likewise.
9301 (fma_test): Likewise.
9302 (j0_test): Likewise.
9303 (jn_test): Likewise.
9304 (nexttoward_test): Likewise.
9305 (pow_test): Likewise.
9306 (scalbn_test): Likewise.
9307 (scalbln_test): Likewise.
9308 (tan_test): Likewise.
9309 (y1_test): Likewise.
9310 * sysdeps/i386/fpu/libm-test-ulps: Update.
9311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9312
9e0e3d0b
DM
93132012-05-23 David S. Miller <davem@davemloft.net>
9314
9315 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9316 (__libc_sigaction): Remove unused local variables.
9317
ccd0a08f
L
93182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9319
9320 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
9321
62bdf9a6
PE
93222012-05-23 Paul Eggert <eggert@cs.ucla.edu>
9323
f8591f80
PE
9324 mktime: avoid signed integer overflow
9325 * time/mktime.c (__mktime_internal): Do not mishandle the case
9326 where diff == INT_MIN.
9327
94c7d826
PE
9328 mktime: simplify computation of average
9329 * time/mktime.c (ranged_convert): Use new time_t_avg function
9330 instead of rolling our own (probably-slower) code.
9331
ce73d683
PE
9332 mktime: do not assume signed right shift propagates sign bit
9333 * time/mktime.c (isdst_differ): New static function.
9334 (__mktime_internal): No need to normalize tm_isdst now.
9335 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
9336 tm_isdst values.
9337
72a22e59
PE
9338 mktime: merge another wrapv change from gnulib
9339 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
9340 from some compilers.
9341
68605433
PE
9342 mktime: remove incorrect attempt at unusual arithmetics
9343 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
9344 The code didn't really work on such machines anyway.
9345 (TYPE_MINIMUM): Assume two's complement.
9346 (twos_complement_arithmetic): Verify that long_int and time_t
9347 are two's complement (or unsigned, in the latter case).
9348
03cf7fe3
PE
9349 mktime: check signed shifts on long_int and time_t, too
9350 * time/mktime.c (SHR): Check that shifts work as desired
9351 on the types long_int and time_t too, as SHR is used on
9352 such types.
9353
f04dfbc2
PE
9354 mktime: do not assume 'long' is wide enough
9355 * time/mktime.c (verify): Move decl up.
9356 (long_int): New type.
9357 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
9358 to remove assumption in the code that 'long' is wide enough to
9359 store year values. This assumption is not true on x32 and on
9360 some non-glibc platforms.
9361
62bdf9a6
PE
9362 mktime: merge wrapv change from gnulib
9363 * time/mktime.c (WRAPV): New macro.
9364 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
9365 (guess_time_tm, __mktime_internal): Do not assume that signed
9366 integer overflow wraps around; modern compilers generate code
9367 where this assumption is no longer valid.
9368
5e292e4f
L
93692012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9370
9371 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9372 Replace "jmp L(pseudo_end)" with "ret".
9373 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
9374 Likewise.
9375
8caf8c87
AJ
93762012-05-23 Andreas Jaeger <aj@suse.de>
9377
9378 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
9379 * sysdeps/unix/sysv/linux/poll.c: Remove file.
9380
1a09dc56
AJ
93812012-05-23 Andreas Jaeger <aj@suse.de>
9382 Maximilian Attems <max@stro.at>
9383
9384 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
9385 New macros.
9386
1c87aba0
L
93872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
9388
9389 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
9390 code so that pseudo_end is just ret and the stack pointer is
9391 correct also for static library in error case.
9392
40e45bd5
JM
93932012-05-23 Joseph Myers <joseph@codesourcery.com>
9394
c2670533
JM
9395 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
9396 move to syscalls.list.
9397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9401
40e45bd5
JM
9402 * manual/install.texi (Running make install): Do not mention Linux
9403 kernel version for which pt_chown is not needed.
9404 (Linux): Do not mention problems with nscd with 2.0 kernels.
9405 * INSTALL: Regenerated.
9406
be08eda5
AJ
94072012-05-23 Andreas Jaeger <aj@suse.de>
9408
9409 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
9410 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
9411 macro.
9412 * sysdeps/unix/sysv/linux/s390/bits/mman.h
9413 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9414 * sysdeps/unix/sysv/linux/sh/bits/mman.h
9415 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9416 * sysdeps/unix/sysv/linux/i386/bits/mman.h
9417 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
9419 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9420 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
9421 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
9422 * sysdeps/unix/sysv/linux/bits/in.h
9423 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
9424
a6a056bb
RM
94252012-05-22 Roland McGrath <roland@hack.frob.com>
9426
9427 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
9428 (PREPARE_VERSION): Just use assert instead, it will be elided
9429 under [NDEBUG] anyway.
9430
c9009328
L
94312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9432
9433 * sysdeps/unix/sysv/linux/Makefile: Include
9434 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 9435 (sysdep_routines): Remove sysctl.
c9009328
L
9436 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
9437 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
9438 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
9439 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
9440 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
9441
73338355
AJ
94422012-05-22 Andreas Jaeger <aj@suse.de>
9443
9444 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
9445 that pseudo_end is just ret and the stack pointer is correct also
9446 for static library in error case.
9447
d44638b0
PP
94482012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9449
9450 [BZ #14122]
9451 * nss/nsswitch.c (defconfig_entries): New variable.
9452 (__nss_database_lookup): Don't leak defconfig entries.
9453 (nss_parse_service_list): Don't leak on error paths.
9454 (free_database_entries): New function.
9455 (free_defconfig): New function.
9456 (free_mem): Move common code to free_database_entries.
9457
31a39bd8
L
94582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9459
da0331a8
L
9460 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
9461 Add arch_prctl.
9462 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
9463
31a39bd8
L
9464 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9465 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
9466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
9467 New macro.
9468 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
9469 (INTERNAL_SYSCALL_TYPES): Likewise.
9470 (LOAD_ARGS_TYPES_[1-6]): Likewise.
9471 (LOAD_REGS_TYPES_[1-6]): Likewise.
9472 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
9473 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
9474
45470df3
AZ
94752012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9476
9477 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
9478 copysignl for GLIBC_2_0.
9479 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
9480 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
9481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
9482 logbl for GLIBC_2_0.
9483 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9484 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9485
98a61bcb
L
94862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9487
a4f6e481
L
9488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
9489 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9490
f63d5db6
L
9491 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
9492 Use "neg %eax".
9493
98a61bcb
L
9494 * time/mktime.c: Update copyright years.
9495
95770f14
PE
94962012-05-22 Paul Eggert <eggert@cs.ucla.edu>
9497
6226efbd
PE
9498 mktime: merge comment-quoting-style change from gnulib
9499 * time/mktime.c: Quote 'like this' in comments.
9500 The GNU coding standards suggest that we no longer quote `like this',
9501 as "`" and "'" are typically rendered asymmetrically nowadays.
9502 The typical gnulib style is to quote 'like this' when quoting
9503 code, and "like this" when quoting English.
9504
b99e4f78
PE
9505 * time/mktime.c (compile-command): Add "-I.".
9506
643e01e6
PE
9507 mktime: merge mktime-internal.h change from gnulib
9508 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
9509
2554247d
PE
9510 mktime: merge time_r change from gnulib
9511 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
9512
826dd0ab
PE
9513 mktime: merge DEBUG change from gnulib
9514 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
9515 case system <time.h> has a #define.
9516
bd83aabe
PE
9517 mktime: merge <sys/types.h> change from gnulib
9518 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
9519 since <time.t> is now guaranteed to define time_t.
9520
95770f14
PE
9521 mktime: merge HAVE_CONFIG_H change from gnulib
9522 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
9523
5e1a27a9
L
95242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
9525
0e44a77e
L
9526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9527 Use "neg %eax".
9528
5e1a27a9
L
9529 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
9530 __rlim_t cast.
9531 (struct rusage): Use anonymous union to pad each field to
9532 __syscall_slong_t.
9533
46259bec
DM
95342012-05-21 David S. Miller <davem@davemloft.net>
9535
9536 * Makefules (o-iterator): Remove .s cases.
9537 (compile-command.s): Delete.
9538 (COMPILE.s): Delete.
9539 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
9540
59f0c22e
JM
95412012-05-21 Joseph Myers <joseph@codesourcery.com>
9542
9543 * configure.in (libc_cv_predef_stack_protector): Only consider
9544 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9545 * configure: Regenerated.
9546
20c07380
L
95472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9548
bbb3154b
L
9549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9550 New macro. Use R*LP on int and pointer.
9551 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
9552 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9553 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
9554 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9555
20c07380
L
9556 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9557 [__WORDSIZE_TIME64_COMPAT32] instead of
9558 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9559 (struct utmp): Likewise.
9560 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9561 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9562 Renamed to ...
9563 (__WORDSIZE_TIME64_COMPAT32): This.
9564 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9565 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9566 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9567 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9568 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9569 (__WORDSIZE_TIME64_COMPAT32): New macro.
9570
d8d1017e
AJ
95712012-05-21 Andreas Jaeger <aj@suse.de>
9572
9573 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9574 only if [SHARED]. Add prototype for __wcschr_ia32.
9575
6c7fb145
RM
95762012-05-21 Roland McGrath <roland@hack.frob.com>
9577
9578 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9579 of %rbp unmolested in the jmp_buf while mangling the low bits.
9580 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9581 unmolested high bits of %rbp while demangling the low bits.
9582 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9583
66274218
AJ
95842012-05-21 Andreas Jaeger <aj@suse.de>
9585
07c58f8f
AJ
9586 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9587 * sunrpc/svc_simple.c: Use it for registerrpc.
9588 * sunrpc/xcrypt.c: Use it for passwd2des.
9589
66274218
AJ
9590 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9591
61f65140
L
95922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9593
9594 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9595 Don't define if [__SYSCALL_WORDSIZE != 32].
9596 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9597 New macro.
9598
5fefb436
AJ
95992012-05-21 Bruno Haible <bruno@clisp.org>
9600 Andreas Jaeger <aj@suse.de>
9601
9602 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9603 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9604 inptr and inend for must_buffer_ch.
9605 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9606 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9607 * stdio-common/Makefile (tests): Remove bug15.
9608 (bug15-ENV): Remove macro.
9609 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9610 anymore.
9611
d8e272ab
AJ
96122012-05-19 Andreas Jaeger <aj@suse.de>
9613 Roland McGrath <roland@hack.frob.com>
9614
9615 * manual/contrib.texi: Completely rewritten. It contains now an
9616 alphabetical list of contributors and their contributions.
9617
4a56a162
RH
96182012-05-21 Richard Henderson <rth@twiddle.net>
9619
9620 * misc/getauxval.c (__getauxval): Use unsigned long int.
9621 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9622 (getauxval): Use unsigned long int.
9623
d024d23c
L
96242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9625
9626 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9627
cbc00a03
RM
96282012-05-21 Roland McGrath <roland@hack.frob.com>
9629
9630 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9631 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9632 __alignof__ (long double).
9633
478143fa
AZ
96342012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9635
9636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9637
c7683a6d
RH
96382012-05-20 Richard Henderson <rth@twiddle.net>
9639
9640 * misc/getauxval.c: New file.
9641 * misc/sys/auxv.h: New file.
9642 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9643 (routines): Add getauxval.
9644 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9645 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9646 * elf/dl-sysdep.c (_dl_auxv): Remove.
9647 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9648 * elf/dl-support.c (_dl_auxv): New variable.
9649 (_dl_aux_init): Initialize it.
9650 * manual/startup.texi (Auxiliary Vector): New node.
9651 * sysdeps/generic/bits/hwcap.h: New file.
9652 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9653 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9654 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9655 * sysdeps/sparc/sysdep.h: ... here. Include it.
9656 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9657 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9659 Update.
c7683a6d
RH
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9663 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9668
a6f1845d
AZ
96692012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9670
9671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9672
cbcbe830
DM
96732012-05-19 David S. Miller <davem@davemloft.net>
9674
9675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9676
e0b16cc2
JM
96772012-05-19 Joseph Myers <joseph@codesourcery.com>
9678
9679 [BZ #14123]
9680 * math/s_ccosh.c: Include <float.h>
9681 (__ccosh): Avoid internal overflow calculating sinh and cosh
9682 values before multiplying by sin and cos values.
9683 * math/s_ccoshf.c: Likewise.
9684 * math/s_ccoshl.c: Likewise.
9685 * math/s_csin.c: Likewise.
9686 * math/s_csinf.c: Likewise.
9687 * math/s_csinl.c: Likewise.
9688 * math/s_csinh.c: Likewise.
9689 * math/s_csinhf.c: Likewise.
9690 * math/s_csinhl.c: Likewise.
9691 * math/libm-test.inc (ccos_test): Add more tests.
9692 (ccosh_test): Likewise.
9693 (csin_test): Likewise.
9694 (csinh_test): Likewise.
9695 * sysdeps/i386/fpu/libm-test-ulps: Update.
9696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9697
6ad13e08
L
96982012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9699
f66f0ce8
L
9700 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9701 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9702
6ad13e08
L
9703 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9704
b1d072a7
JM
97052012-05-19 Joseph Myers <joseph@codesourcery.com>
9706
9707 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9708 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9709 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9710 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9711 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9712 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9713 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9714 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9715 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9716 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9717 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9718 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9719 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9720 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9721 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9722 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9723 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9724 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9725 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9726 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9727 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9728 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9729 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9730 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9731 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9732 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9733 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9734 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9735 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9736 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9737 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9738
9eae47cb
AJ
97392012-05-18 Andreas Jaeger <aj@suse.de>
9740
9741 * csu/.gitignore: Delete.
9742
bb07f69f
L
97432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9744
9745 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9746 (timex): Use __syscall_slong_t.
9747
e6bdb741
AJ
97482012-05-18 Andreas Jaeger <aj@suse.de>
9749 Carlos O'Donell <carlos_odonell@mentor.com>
9750
9751 * manual/install.texi (Configuring and compiling): Update
9752 description about files modified in the source directory.
d6c33fda 9753 * INSTALL: Regenerated.
e6bdb741 9754
1b74487e
L
97552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9756
9757 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9758 value. Use "or" to set return value to -1.
9759 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9760 negate return value.
9761
a88b64b9
TMQMF
97622012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9763
9764 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9765 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9766 failure if the compiler has Graphite support disabled.
9767 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9768 Likewise.
9769 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9770 CFLAGS-memmove.c): Likewise.
9771 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9772 Likewise.
9773
3707636e
L
97742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9775
610b8622
L
9776 * sysdeps/x86_64/x32/_itoa.h: New file.
9777
7cd195df
L
9778 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9779 getdents system call only if kernel and user dirents have the
9780 same d_ino and d_off.
9781
94b07d20
L
9782 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9783 LLONG_MAX != LONG_MAX.
9784 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9785 (_fitoa_word): Likewise.
9786
18298070
L
9787 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9788 years.
9789 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9790 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9791 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9792
553c7ea4
L
9793 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9794 include <bits/wordsize.h>. Check __x86_64__ instead of
9795 __WORDSIZE.
9796 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9797 if __x86_64__ is defined. Use anonymous union on fpstate.
9798
3707636e
L
9799 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9800 anonymous union.
9801
b53ef01a
AS
98022012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9803
37fb1dc0
AS
9804 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9805 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9806 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9807 Refer to _rtld_local_ro instead of _rtld_global_ro.
9808 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9809 Likewise.
9810 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9811 Likewise.
9812 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9813 Likewise.
9814 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9815 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9816 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9817
b53ef01a
AS
9818 * sysdeps/powerpc/powerpc32/dl-machine.c
9819 (__elf_machine_runtime_setup) [PROF]: Don't reference
9820 _dl_prof_resolve.
9821
7a185db2
AJ
98222012-05-18 Andreas Jaeger <aj@suse.de>
9823
9824 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9825 function only available for GCCs before 3.4 since GCC 3.4
9826 introduced a builtin.
9827 (lrint): Likewise.
9828 (llrintf): Likewise.
9829 (llrint): Likewise.
9830 (fmaxf): Likewise.
9831 (fmax): Likewise.
9832 (fminf): Likewise.
9833 (fmin): Likewise.
9834 (rint): Likewise.
9835 (rintf): Likewise.
9836 (nearbyint): Likewise.
9837 (nearbyintf): Likewise.
9838 (ceil): Likewise.
9839 (ceilf): Likewise.
9840 (floor): Likewise.
9841 (floorf): Likewise.
9842
3e5aef87
L
98432012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9844
428bd707
L
9845 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9846 on both fields and cast pointer to __syscall_ulong_t.
9847
3e5aef87
L
9848 * bits/types.h (__fsword_t): New type.
9849 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9850 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9852 (__FSWORD_T_TYPE): Likewise.
9853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9854 (__FSWORD_T_TYPE): Likewise.
9855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9856 (__FSWORD_T_TYPE): Likewise.
9857 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9858 (__FSWORD_T_TYPE): Likewise.
9859 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9860 __SWORD_TYPE with __fsword_t.
9861 (statfs64): Likewise.
9862
1ba7c3dc
DM
98632012-05-17 David S. Miller <davem@davemloft.net>
9864
9865 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9866
59910343
AJ
98672012-05-17 Andreas Jaeger <aj@suse.de>
9868
9869 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9870 warning.
9871
2e4c1e9e
L
98722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9873
9874 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9875
de7f5ce7
AJ
98762012-05-17 Andreas Jaeger <aj@suse.de>
9877
9878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9879 when it is used.
9880
286abc3d
CM
98812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9882
9883 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9884
477cc68e
L
98852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9886
9887 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9888 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9889
1a0994f5
CD
98902012-05-17 Andreas Jaeger <aj@suse.de>
9891 Carlos O'Donell <carlos_odonell@mentor.com>
9892
9893 [BZ #14059]
9894 * sysdeps/x86_64/multiarch/init-arch.h
9895 (bit_YMM_Usable): Rename to...
9896 (bit_AVX_Usable): ... this.
9897 (bit_FMA4_Usable): New macro.
9898 (bit_XMM_state): New macro.
9899 (bit_YMM_state): New macro.
9900 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9901 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9902 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9903 (CPUID_OSXSAVE): New macro.
9904 (CPUID_AVX): New macro.
9905 (CPUID_FMA4): New macro.
9906 (index_YMM_Usable): Rename to...
9907 (index_AVX_Usable): ... this.
9908 (HAS_AVX): Use HAS_ARCH_FEATURE.
9909 (HAS_FMA4): Likewise.
9910 (HAS_YMM_USABLE): Remove.
9911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9912 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9913 are present.
9914 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9915 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9916 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9917 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9918 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9919
0af797de
CM
99202012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9921
9922 * math/libm-test.c: Support platforms without multiple rounding modes.
9923 * math/bug-nextafter.c: Support platforms without FP exceptions.
9924 * math/bug-nexttoward.c: Likewise.
9925 * math/test-fenv.c: Likewise.
9926 * math/test-misc.c: Likewise.
9927 * stdlib/bug-getcontext.c: Likewise.
9928
e39745ff
AJ
99292012-05-17 Andreas Jaeger <aj@suse.de>
9930
9931 * manual/examples/search.c (critter_cmp): Change signature to
9932 avoid warnings.
9933 * manual/string.texi (Collation Functions): Likewise.
9934
48970aba
L
99352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9936
9937 * bits/types.h: Fold copyright years.
9938 * bits/typesizes.h: Likewise.
9939 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9941 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9942 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9943 * time/time.h: Likewise.
9944
bedee953
PP
99452012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9946
9947 [BZ #208]
9948 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9949 in instead of returning them. Return void.
9950 (__libc_mallinfo): Accumulate over all arenas.
9951 (__malloc_stats): Adjust for change in int_mallinfo interface.
9952
61653dfb
RM
99532012-05-16 Roland McGrath <roland@hack.frob.com>
9954
30b99d79
RM
9955 [BZ #10375]
9956 * configure.in (NM): Add AC_CHECK_TOOL for it.
9957 (libc_extra_cflags): New substituted variable.
9958 Check for -fstack-protector being used implicitly.
9959 * configure: Regenerated.
9960 * config.make.in (config-extra-cflags): New variable,
9961 gets @libc_extra_cflags@.
9962 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9963
61653dfb
RM
9964 [BZ #10375]
9965 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9966 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9967 * configure: Regenerated.
9968 * config.make.in (CPPUNDEFS): New substituted variable.
9969 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9970 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9971 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9972
661768bb
L
99732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9974
9975 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9976 (mq_attr): Use __syscall_slong_t.
9977
d4261567
L
99782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9979
9980 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9981 Check __x86_64__ instead of __WORDSIZE.
9982 (_STAT_VER_LINUX): Likewise.
9983 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9984 __syscall_ulong_t and __syscall_slong_t.
9985 (stat64): Likewise.
9986
cf3ff365
L
99872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9988
9989 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9990
76cf3e4d
L
99912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9992
9993 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9994
a637753a
L
99952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9996
9997 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9998 __syscall_ulong_t.
9999
d5e05119
L
10000 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
10001 include <bits/wordsize.h>. Check __x86_64__ instead of
10002 __WORDSIZE.
10003 (greg_t): Use "__extension__ long long int" if __x86_64__ is
10004 defined.
10005 (mcontext_t): Replace "unsigned long" with "unsigned long long".
10006
f62ee380
L
10007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
10008 include <bits/wordsize.h>. Check __x86_64__ instead of
10009 __WORDSIZE.
10010 (user_regs_struct): Use "__extension__ unsigned long long"
10011 instead of "unsigned long" if __x86_64__ is defined.
10012 (user): Likewise. Pad after pointer field if __ILP32__ is
10013 defined.
10014
4e124ced
JM
100152012-05-16 Joseph Myers <joseph@codesourcery.com>
10016
6a3951a0
JM
10017 * configure.in (makeinfo): Require version 4.5 or later. Allow
10018 versions 5 to 9.
10019 * configure: Regenerated.
10020 * manual/install.texi (texinfo): Increase version requirement to
10021 4.5 or later.
10022 * INSTALL: Regenerated.
10023
4e124ced
JM
10024 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
10025
953ca31a
L
100262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
10027
10028 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
10029
617aca05
L
10030 * sysdeps/x86_64/x32/ffs.c: New file.
10031
5762f7ae
L
10032 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
10033 __syscall_ulong_t.
10034 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
10035 defined. Use __syscall_ulong_t.
10036 (shminfo): Use __syscall_ulong_t.
10037 (shm_info): Likewise.
10038
a26b6856
L
10039 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
10040 __syscall_ulong_t.
10041
cb2b9ef7
L
10042 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
10043 <bits/wordsize.h>.
10044 (msgqnum_t): Use __syscall_ulong_t.
10045 (msglen_t): Likewise.
10046 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
10047 __syscall_ulong_t.
10048
34683bb0
L
10049 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
10050 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10051
84a68786
L
10052 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
10053
48baa5f1
L
10054 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
10055 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
10056
180be88b
L
10057 * sysvipc/sys/msg.h (msgbuf): Replace long int with
10058 __syscall_slong_t.
10059
5e90c8ad
L
10060 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
10061 include <bits/wordsize.h>. Check __x86_64__ instead of
10062 __WORDSIZE.
10063
23dfb58b
L
10064 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
10065 "unsigned long long int" if __x86_64__ is defined.
10066 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
10067
ce5d54b0
L
10068 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
10069 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
10070 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
10071
13dc9eac
L
10072 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
10073 <stdint.h>.
10074 (GET_PC): Cast to uintptr_t first.
10075 (GET_FRAME): Likewise.
10076 (GET_STACK): Likewise.
10077
a7895d15
L
10078 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
10079 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
10080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
10081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
10082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
10083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
10084 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
10085 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
10086 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
10087 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
10088 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
10089 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
10090 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10091 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
10092 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
10093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
10094 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
10095 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
10096 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
10097 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
10098 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
10099 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
10100 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
10101 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
10102 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
10103 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
10104 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
10105 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
10106 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
10107
656416c9
AS
101082012-05-16 Andreas Schwab <schwab@linux-m68k.org>
10109
5bd66283
AS
10110 * Makerules (+depfiles): Also collect depfiles from .oS in
10111 $(extra-objs).
10112 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
10113 .oS, $(libnldbl-routines)).
10114
656416c9
AS
10115 * Makerules (native-compile-mkdep-flags): Define.
10116 * sunrpc/Makefile (extra-objs): Add $(addprefix
10117 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
10118 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
10119 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
10120 calling $(make-target-directory).
10121
a46f2169
L
101222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10123
10124 * bits/types.h (__snseconds_t): Removed.
10125 * time/time.h (struct timespec): Replace __snseconds_t with
10126 __syscall_slong_t.
10127 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
10128 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
10129 Likewise.
10130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10131 (__SNSECONDS_T_TYPE): Likewise.
10132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10133 (__SNSECONDS_T_TYPE): Likewise.
10134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10135 (__SNSECONDS_T_TYPE): Likewise.
10136
6af6528b
L
101372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10138
10139 * sysdeps/mach/hurd/bits/typesizes.h
10140 (__SYSCALL_SLONG_TYPE): New macro.
10141 (__SYSCALL_ULONG_TYPE): Likewise.
10142
de986b56
L
101432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10144
10145 * bits/types.h (__syscall_slong_t): New type.
10146 (__syscall_ulong_t): Likewise.
10147
10148 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
10149 (__SYSCALL_ULONG_TYPE): Likewise.
10150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10151 (__SYSCALL_SLONG_TYPE): Likewise.
10152 (__SYSCALL_ULONG_TYPE): Likewise.
10153 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
10154 (__SYSCALL_SLONG_TYPE): Likewise.
10155 (__SYSCALL_ULONG_TYPE): Likewise.
10156 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10157 (__SYSCALL_SLONG_TYPE): Likewise.
10158 (__SYSCALL_ULONG_TYPE): Likewise.
10159
85736dc7
L
101602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10161
10162 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
10163 Add sigaltstack-offsets.sym.
10164 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
10165 <sigaltstack-offsets.h>.
10166 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
10167 longjmp_msg pointer.
10168 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
10169 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
10170 signal stack.
10171 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
10172
cc03b296
JM
101732012-05-15 Joseph Myers <joseph@codesourcery.com>
10174
a9538892
JM
10175 * elf/stackguard-macros.h: Remove file.
10176 * sysdeps/generic/stackguard-macros.h: New file.
10177 * sysdeps/i386/stackguard-macros.h: Likewise.
10178 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10179 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10180 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10181 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10182 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10183 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10184 * sysdeps/x86_64/stackguard-macros.h: Likewise.
10185 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
10186 <elf/stackguard-macros.h>.
10187
cc03b296
JM
10188 [BZ #14109]
10189 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
10190 __aligned__ in attribute.
10191 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
10192 (gregset_t): Likewise.
10193
93171016
L
101942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10195
10196 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
10197 * sysdeps/x86_64/64/Implies-after: Here. New file.
10198 * sysdeps/x86_64/x32/Implies-after: New file.
10199
d86813a0
L
102002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10201
10202 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
10203 and access return value for _dl_profile_fixup. Use R10_LP to
10204 load frame size.
10205
2953ec75
L
102062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10207
10208 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
10209
3b550e9e
L
102102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10211
10212 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
10213 * sysdeps/x86_64/x32/sysdep.h: New file.
10214
eda41706
L
102152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10216
10217 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
10218 * sysdeps/x86_64/setjmp.S: Likewise.
10219
9ea01d93
AZ
102202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10221
10222 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
10223 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
10224 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
10225 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
10226 remove unused global constant.
10227
02a91938
CM
102282012-05-15 Chris Metcalf <cmetcalf@tilera.com>
10229
10230 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
10231 include of <not-cancel.h>.
10232
6540185f
RM
102332012-05-15 Roland McGrath <roland@hack.frob.com>
10234
10235 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
10236
509072a0
AJ
102372012-05-15 Jeff Law <law@redhat.com>
10238 Andreas Jaeger <aj@suse.de>
10239
10240 [BZ #13594]
10241 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
10242 out from...
10243 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
10244 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
10245 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
10246 code changing __hst_map_handle.map.
10247
ba75122d
RM
102482012-05-15 Roland McGrath <roland@hack.frob.com>
10249
10250 * configure.in (sysnames): Look for Implies-before and Implies-after
10251 files.
10252 * configure: Regenerated.
10253
890d8bd8
L
102542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10255
10256 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
10257 8-byte data alignment with LP_SIZE alignment.
10258
f6ee6623
L
102592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10260
10261 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
10262 into R10_LP.
10263
ea2626f6
L
102642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10265
10266 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
10267
085f715e
L
102682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10269
10270 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
10271 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
10272 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
10273 Likewise.
10274 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10275
be8498fc
L
102762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10277
10278 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
10279 (stackinfo_sub_sp): Likewise.
10280
70bc83b9
L
102812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10282
10283 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
10284 RAX_LP.
10285
9bc0b730
L
102862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10287
10288 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
10289 into R*_LP.
10290
6d2850e7
L
102912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10292
10293 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
10294 sizes into R*_LP.
10295
3cb84561
L
102962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10297
10298 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
10299
54e2ed81
L
103002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10301
10302 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
10303 into R11_LP and load __x86_64_shared_cache_size_half into
10304 R8_LP.
10305
8a17f349
L
103062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10307
10308 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
10309 R8_LP.
10310
777b1eea
AZ
103112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10312
10313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
10314 logb for POWER7.
10315 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
10316 logbf for POWER7.
10317 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
10318 logbl for POWER7.
10319 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
10320 powerpc32/power7/fpu/s_logb.c via #include.
10321 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
10322 powerpc32/power7/fpu/s_logbf.c via #include.
10323 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
10324 powerpc32/power7/fpu/s_logbl.c via #include.
10325
d20d4ac2
JM
103262012-05-15 Joseph Myers <joseph@codesourcery.com>
10327
10328 * README.libm: Remove file.
10329
6cdef1ab
L
103302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10331
10332 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
10333 count for x32. Use R*_LP and omit operand-size suffix.
10334
0b254d8f
L
103352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10336
10337 * shlib-versions: Move x86_64-.*-linux.* entries to ...
10338 * sysdeps/x86_64/64/shlib-versions: Here. New file.
10339 * sysdeps/x86_64/x32/shlib-versions: New file.
10340
ceb809dc
RM
103412012-05-14 Roland McGrath <roland@hack.frob.com>
10342
10343 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10344 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
10345 Use _dl_fatal_printf instead.
10346
37f1abd4
JM
103472012-05-14 Joseph Myers <joseph@codesourcery.com>
10348
10349 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
10350 set if not set by the user. Do not allow for being unset.
10351 * sysdeps/unix/sysv/linux/configure: Regenerated.
10352
11de3a33
L
103532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10354
10355 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10356 the `q' suffix from lea and replace .quad with ASM_ADDR.
10357
e02f153a
L
103582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10359
10360 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
10361 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10362 instead of $17.
10363 (PTR_DEMANGLE): Likewise.
10364
520ae0fd
L
103652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10366
10367 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
10368 (LP_OP): Likewise.
10369 (ASM_ADDR): Likewise.
10370 (RAX_LP): Likewise.
10371 (RBP_LP): Likewise.
10372 (RBX_LP): Likewise.
10373 (RCX_LP): Likewise.
10374 (RDI_LP): Likewise.
10375 (RSI_LP): Likewise.
10376 (RSP_LP): Likewise.
10377 (R8_LP): Likewise.
10378 (R9_LP): Likewise.
10379 (R10_LP): Likewise.
10380 (R10_LP): Likewise.
10381 (R11_LP): Likewise.
10382 (R12_LP): Likewise.
10383 (R13_LP): Likewise.
10384 (R14_LP): Likewise.
10385 (R15_LP): Likewise.
10386
b985be81
L
103872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10388
10389 * sysdeps/x86_64/x32/dl-machine.h: New file.
10390
6a4888ff
AJ
103912012-05-14 Andreas Jaeger <aj@suse.de>
10392
10393 * manual/Makefile (subdir): Remove export of subdir.
10394 (all): Remove target.
10395 (.PHONY): Remove all from list.
10396 (mkinstalldirs): Remove.
10397 (.PHONY): Remove installdirs from list.
10398 ($(inst_infodir)/libc.info): Use make-target-directory.
10399 (installdirs): Remove.
10400 (subdir_%): Remove.
10401 (glibc-targets): Remove.
10402 (lib): Remove.
10403 (stubs): Remove.
10404 ($(objpfx)stubs ../po/manual.pot): Remove.
10405 ($(objpfx)stamp%): Remove.
10406 (make-target-directory): Remove.
10407 (subdir_install): Remove.
10408 (routines): Remove.
10409 (aux): Remove.
10410 (sources): Remove.
10411 (objects): Remove.
10412 (headers): Remove.
10413
10414 [BZ #13750]
10415 * manual/.gitignore: Remove, it's not needed anymore.
10416 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
10417 all files in it.
10418 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
10419 directory.
10420 (texis): Renamed to $(objpfx)texis.
10421 (texis-path): New, contains path to generated files.
10422 (chapters.%): Use texis-path for complete path, add extra argument
10423 libc-texinfo.sh.
10424 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
10425 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
10426 (summary,texi, stamp-summary): Use complete path of
10427 files. Generate files in build dir.
10428 (dir-add.texi): Build in build dir.
10429 (libm-err.texi,stamp-libm-err): Likewise.
10430 (version.texi, stamp-version): Likewise.
10431 (.%c.texi): Likewise.
10432 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
10433 (mostlyclean): Remove target.
10434 (realclean): Remove target.
10435 (generated): Add new variable with contents from mostlyclean and
10436 realclean, remove entries duplicated in common-mostlyclean, add
10437 stamp-libm-err and stamp-version.
10438 (generated-dirs): Add libc directory.
10439 ($(inst_infodir)/libc.info): Install files from build dir.
10440
10441 * manual/install.texi (Configuring and compiling): Adjust since
10442 the info files are not part of the tar ball anymore.
10443
7ac77294
AJ
104442012-05-14 Andreas Jaeger <aj@suse.de>
10445
10446 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
10447 variable.
10448
ffb7875d
JM
104492012-05-14 Joseph Myers <joseph@codesourcery.com>
10450
10451 [BZ #13717]
10452 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
10453 to 2.2.0 where earlier.
10454 * sysdeps/unix/sysv/linux/configure: Regenerated.
10455 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
10456 Remove conditional code.
10457 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
10458 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
10459 Remove conditional code.
10460 [!__NR_lchown]: Likewise.
10461 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10462 [__NR_lchown]: Likewise.
10463 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
10464 comment referencing __ASSUME_LCHOWN_SYSCALL.
10465 * sysdeps/unix/sysv/linux/i386/sigaction.c
10466 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10467 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10468 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
10469 Remove conditional code.
10470 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
10471 (__protocol_available): Remove #if 0 code.
10472 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
10473 conditional code.
10474 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
10475 * sysdeps/unix/sysv/linux/kernel-features.h
10476 (__ASSUME_GETCWD_SYSCALL): Don't define.
10477 (__ASSUME_REALTIME_SIGNALS): Likewise.
10478 (__ASSUME_PREAD_SYSCALL): Likewise.
10479 (__ASSUME_PWRITE_SYSCALL): Likewise.
10480 (__ASSUME_POLL_SYSCALL): Likewise.
10481 (__ASSUME_LCHOWN_SYSCALL): Likewise.
10482 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
10483 non-SPARC.
10484 (__ASSUME_SIOCGIFNAME): Don't define.
10485 (__ASSUME_MSG_NOSIGNAL): Likewise.
10486 (__ASSUME_SENDFILE): Define unconditionally.
10487 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
10488 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
10489 conditional code.
10490 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
10491 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
10492 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10493 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10494 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
10495 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
10496 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
10497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
10498 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10499 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
10504 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10505 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
10510 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10511 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
10514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
10516 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10517 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10521 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
10522 Remove conditional code.
10523 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10524 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10525 Remove conditional code.
10526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10527 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
10528 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
10529 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10530 Remove conditional code.
10531 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10532 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
10533 Remove conditional code.
10534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10535 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
10536 Remove conditional code.
10537 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10538 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
10539 Remove conditional code.
10540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
10541 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
10542 Remove conditional code.
10543 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10544 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10545 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10547 * sysdeps/unix/sysv/linux/sigaction.c
10548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10550 * sysdeps/unix/sysv/linux/sigpending.c
10551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10553 * sysdeps/unix/sysv/linux/sigprocmask.c
10554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10556 * sysdeps/unix/sysv/linux/sigsuspend.c
10557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10559 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10560 (__libc_missing_rt_sigs): Remove.
10561 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10562 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10563 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10564 Remove conditional code.
10565 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10566 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10567 return 1.
10568 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10569 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10570 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10571 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10572
1bfb7291
AJ
105732012-05-14 Andreas Jaeger <aj@suse.de>
10574
caae5a81
AJ
10575 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10576 it's not used in glibc.
10577 (__coshm1): Likewise.
10578 (__acosh1p): Likewise.
10579 (__sgn): Likewise.
10580
1bfb7291
AJ
10581 * manual/string.texi (Copying and Concatenation): Add missing
10582 variable in concat example.
10583 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10584
c044d724
L
105852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10586
144c5467 10587 [BZ #14103]
c044d724
L
10588 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10589 __builtin_clzl with __builtin_clzll.
10590
2523c62b
L
105912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10592
10593 [BZ #14104]
10594 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10595 libc_freeres_ptr.
10596
d7bb4c42
LD
105972012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10598
10599 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10600 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10601 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10602 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10603
9dc4e1fb
MF
106042012-05-14 Mike Frysinger <vapier@gentoo.org>
10605
10606 * NEWS: Update ia64 info.
10607
c7df0112
AS
106082012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10609
10610 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10611 used as bcopy.
10612
dc70356c
TS
106132012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10614
10615 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10616 * sysdeps/unix/syscalls.list (dup3): Likewise.
10617 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10618 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10619
9fb1a21f
L
106202012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10621
10622 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10623 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10624
4822a2a5
L
106252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10626
10627 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10628 thread pointer.
10629 (TLS_IE): Use mov/add instead of movq/addq to load thread
10630 pointer.
10631 (TLS_GD_PREFIX): New.
10632 (TLS_GD): Use it.
10633
842b81d6
DM
106342012-05-11 David S. Miller <davem@davemloft.net>
10635
10636 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10637 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10638 (_FPU_SETCW): Likewise.
10639
1cf463cd
L
106402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10641
10642 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10643 is 32-byte aligned.
10644
60cc4a18
AS
106452012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10646
10647 [BZ #11837]
10648 * iconvdata/gb18030.c: Update tables.
10649 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10650 characters specially.
10651 (BODY for TO_LOOP): Add encoding of missing ranges.
10652
febb44a4
TS
106532012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10654
10655 [BZ #13673]
10656 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10657 * sysdeps/mach/hurd/dup3.c: Likewise.
10658 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10659 * sysdeps/powerpc/memmove.c:: Likewise.
10660
0a10fb9e
L
106612012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10662
10663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10664 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10665
df8a552f
L
106662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10667
10668 * elf/elf.h (R_X86_64_RELATIVE64): New.
10669 (R_X86_64_NUM): Updated.
10670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10671 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10672 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10673 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10674 tst-quad1pie tst-quad2pie
10675 (modules-names): Add tst-quadmod1 tst-quadmod2.
10676 ($(objpfx)tst-quad1): New dependency.
10677 ($(objpfx)tst-quad2): Likewise.
10678 ($(objpfx)tst-quad1pie): Likewise.
10679 ($(objpfx)tst-quad2pie): Likewise.
10680 * sysdeps/x86_64/tst-quad1.c: New file.
10681 * sysdeps/x86_64/tst-quad1pie.c: New file.
10682 * sysdeps/x86_64/tst-quad2.c: Likewise.
10683 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10684 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10685 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10686 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10687 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10688
f34d6f84
ST
106892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10690
f42d41d1
ST
10691 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10692 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10693 * streams/stropts.h (t_scalar_t): Define type.
10694
3c3571fc
ST
10695 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10696 (_PATH_PRESERVE): Set to "/var/lib".
10697 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10698
61f06bd3
ST
10699 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10700 instead of int.
10701
918d4d71
ST
10702 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10703 if __dir_mkfile succeeded.
10704
f34d6f84
ST
10705 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10706 checking for _hurd_dtablesize. Unlock it right after having
10707 finished _hurd_dtable allocation.
10708
10589b4a
TS
107092012-05-10 Thomas Schwinge <thomas@schwinge.name>
10710
674cdbc7
TS
10711 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10712 * sysdeps/mach/hurd/configure: Regenerated.
10713 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10714 special-casing to...
10715 * sysdeps/gnu/configure.in: ... this new file.
10716 * sysdeps/unix/sysv/linux/configure: Regenerated.
10717 * sysdeps/gnu/configure: New generated file.
10718
8e41b99f
TS
10719 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10720 for Linux: use nsec instead of usec, as well as:
10721 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10722 members of type struct timespec.
10723 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10724 New macros.
10725 (struct stat64): Likewise.
10726 (_STATBUF_ST_NSEC): New macro.
10727 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10728
10589b4a
TS
10729 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10730 __strtoul_internal rather than strtoul.
10731
63643c85
PT
107322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10733
10734 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10735 and reject them.
10736
3faebe6a
ST
107372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10738
10739 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10740 which preserves existing values.
10741 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10742
c6474b07
PT
107432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10744
10745 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10746 TIMEOUT values. Return EINVAL for NFDS values either negative or
10747 greater than FD_SETSIZE.
10748
1043890b
ST
107492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10750
10751 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10752 allocated, call __vm_protect to finish enabling the existing space, and
10753 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10754 allocate the remainder.
10755
37ed8b9b
PT
107562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10757
10758 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10759 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10760
db653660
ST
107612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10762
37ed8b9b
PT
10763 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10764 sysdeps/mach/hurd/readlink.c.
b29d4053 10765
db653660
ST
10766 * posix/tst-sysconf.c (posix_options): Only use
10767 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10768 _POSIX_SYNCHRONIZED_IO when they are defined
10769 * sysdeps/mach/hurd/bits/posix_opt.h:
10770 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10771 (_XOPEN_REALTIME): Undefine macro.
10772 (_XOPEN_REALTIME_THREADS): Undefine macro.
10773 (_XOPEN_SHM): Undefine macro.
10774 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10775 macro to -1.
10776 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10777 macro to -1.
10778 (_POSIX_ASYNC_IO): Undefine macro.
10779 (_POSIX_PRIORITIZED_IO): Undefine macro.
10780 (_POSIX_SPIN_LOCKS): Define macro to -1.
10781
ee16e894
ST
10782 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10783 SA_NODEFER, SA_RESETHAND.
10784 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10785 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10786 F_DUPFD_CLOEXEC.
10787
6103ae3b
TS
107882012-05-10 Thomas Schwinge <thomas@schwinge.name>
10789
10790 * elf/Makefile (pldd-modules): Define unconditionally.
10791
80b4e5f3
TS
107922012-05-10 Thomas Schwinge <thomas@schwinge.name>
10793
10794 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10795
edadcbd6
ST
107962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10797
10798 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10799 Return ENOENT when name is empty.
10800 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10801
80694780
TS
108022012-05-10 Thomas Schwinge <thomas@schwinge.name>
10803
1792c087
TS
10804 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10805
80694780
TS
10806 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10807
6b645f0d
ST
108082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10809
80694780
TS
10810 Fix mlock in all cases except non-readable pages.
10811 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10812 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 10813
6b645f0d
ST
10814 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10815 (__mkdir): When path is `/', just fail with EEXIST.
10816 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10817
e468f8a3
TS
108182012-05-10 Thomas Schwinge <thomas@schwinge.name>
10819
10820 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10821 <sys/uio.h> (for writev).
10822 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10823 and <sys/param.h> (for MIN).
10824
a4186cff
PT
108252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10826
10827 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10828 REQUESTED_TIME. Properly set the remaining time and return EINTR
10829 if interrupted.
10830
510bbf14
TS
108312012-05-10 Thomas Schwinge <thomas@schwinge.name>
10832
10833 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10834 Depend on against $(link-rpcuserlibs).
10835
5d5722e8
ST
108362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10837
a4186cff
PT
10838 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10839 (__libc_stack_end): Do not use attribute_relro.
10840 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10841 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 10842 to libthread-provided value.
a4186cff
PT
10843 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10844 attribute_relro.
5d5722e8 10845
37233df9
TS
108462012-05-10 Thomas Schwinge <thomas@schwinge.name>
10847
be971a2b
TS
10848 [BZ #3748]
10849 * bits/libc-lock.h (__libc_once_get): New macro.
10850 * sysdeps/mach/bits/libc-lock.h: Likewise.
10851 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10852 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10853 instead of using implementation details.
10854
37233df9
TS
10855 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10856 * libio/freopen.c: Likewise.
10857 * libio/freopen64.c: Likewise.
10858 * misc/syslog.c: Likewise.
10859 * nscd/connections.c: Likewise.
10860 * nscd/netgroupcache.c: Likewise.
10861 * sysdeps/posix/getcwd.c: Likewise.
10862
38de94a5
RM
108632012-05-10 Roland McGrath <roland@hack.frob.com>
10864
10865 * math/w_ilogbf.c: Add #include <limits.h>.
10866
67530489
ST
108672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10868
a4186cff 10869 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
10870 path instead of returning without unlocking.
10871
67530489
ST
10872 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10873 immediate-write ioctls.
10874 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10875
5aa3a74a
TS
108762012-05-10 Thomas Schwinge <thomas@schwinge.name>
10877
18bad2ae
TS
10878 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10879 __builtin_frame_address instead of making assumptions about the
10880 location of the return address relative to DATA. Force early load of
10881 the return address.
10882 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10883 __builtin_frame_address.
10884
5aa3a74a
TS
10885 dup3 for GNU Hurd.
10886 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10887 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10888 implement dup3 and do some further code clean-ups.
10889 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10890 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10891
ecd0de9a
ST
108922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10893
cd9fa985
ST
10894 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10895
a4186cff
PT
10896 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10897 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10898 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10899 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10900 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10901 d->port.lock.
802ca5a5 10902
a4186cff
PT
10903 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10904 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10905 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 10906
bcf55240
TS
109072012-05-10 Thomas Schwinge <thomas@schwinge.name>
10908
6960eb42
TS
10909 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10910 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10911 definitions.
10912
eb43375f
TS
10913 accept4 for GNU Hurd.
10914 * include/sys/socket.h (__libc_accept4): New prototype.
10915 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10916 to implement __libc_accept4.
10917 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10918 __libc_accept4.
10919 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10920
bcf55240
TS
10921 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10922 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10923 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10924 signal-defines.sym.
10925
6178c55b
ST
109262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10927
a4186cff 10928 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 10929
6f080c2f
TS
109302012-05-10 Thomas Schwinge <thomas@schwinge.name>
10931
10932 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10933 assertion on O_CLOEXEC flag.
10934 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10935 * hurd/intern-fd.c: Likewise.
10936 * hurd/port2fd.c: Likewise.
10937
bcfe3a54
ST
109382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10939
10940 [BZ #3906]
10941 * bits/in.h (IPV6_PKTINFO): Define new macro.
10942 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10943
89c9aa49
AZ
109442012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10945
10946 [BZ #13954]
10947 [BZ #13955]
10948 [BZ #13956]
10949 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10950 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10951 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10952 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10954 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10955 * math/libm-test.inc (logb_test) : Additional logb tests.
10956
021db4be
AJ
109572012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10958 Andreas Jaeger <aj@suse.de>
10959
10960 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10961 * configure: Regenerated.
10962 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10963 * config.make.in (link-obsolete-rpc): New substituted variable.
10964 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10965 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10966 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10967 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10968 so that libc.a contains the symbols.
10969 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10970 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10971 * sunrpc/auth_none.c: Likewise.
10972 * sunrpc/auth_unix.c: Likewise.
10973 * sunrpc/authdes_prot.c: Likewise.
10974 * sunrpc/authuxprot.c: Likewise.
10975 * sunrpc/clnt_gen.c: Likewise.
10976 * sunrpc/clnt_perr.c: Likewise.
10977 * sunrpc/clnt_raw.c: Likewise.
10978 * sunrpc/clnt_simp.c: Likewise.
10979 * sunrpc/clnt_tcp.c: Likewise.
10980 * sunrpc/clnt_udp.c: Likewise.
10981 * sunrpc/clnt_unix.c: Likewise.
10982 * sunrpc/des_crypt.c: Likewise.
10983 * sunrpc/des_soft.c: Likewise.
10984 * sunrpc/get_myaddr.c: Likewise.
10985 * sunrpc/key_call.c: Likewise.
10986 * sunrpc/key_prot.c: Likewise.
10987 * sunrpc/netname.c: Likewise.
10988 * sunrpc/pm_getmaps.c: Likewise.
10989 * sunrpc/pm_getport.c: Likewise.
10990 * sunrpc/pmap_clnt.c: Likewise.
10991 * sunrpc/pmap_prot.c: Likewise.
10992 * sunrpc/pmap_prot2.c: Likewise.
10993 * sunrpc/pmap_rmt.c: Likewise.
10994 * sunrpc/publickey.c: Likewise.
10995 * sunrpc/rpc_cmsg.c: Likewise.
10996 * sunrpc/rpc_common.c: Likewise.
10997 * sunrpc/rpc_dtable.c: Likewise.
10998 * sunrpc/rpc_prot.c: Likewise.
10999 * sunrpc/rpc_thread.c: Likewise.
11000 * sunrpc/rtime.c: Likewise.
11001 * sunrpc/svc.c: Likewise.
11002 * sunrpc/svc_auth.c: Likewise.
11003 * sunrpc/svc_raw.c: Likewise.
11004 * sunrpc/svc_run.c: Likewise.
11005 * sunrpc/svc_tcp.c: Likewise.
11006 * sunrpc/svc_udp.c: Likewise.
11007 * sunrpc/svc_unix.c: Likewise.
11008 * sunrpc/svcauth_des.c: Likewise.
11009 * sunrpc/xcrypt.c: Likewise.
11010 * sunrpc/xdr.c: Likewise.
11011 * sunrpc/xdr_array.c: Likewise.
11012 * sunrpc/xdr_float.c: Likewise.
11013 * sunrpc/xdr_intXX_t.c: Likewise.
11014 * sunrpc/xdr_mem.c: Likewise.
11015 * sunrpc/xdr_rec.c: Likewise.
11016 * sunrpc/xdr_ref.c: Likewise.
11017 * sunrpc/xdr_sizeof.c: Likewise.
11018 * sunrpc/xdr_stdio.c: Likewise.
11019
b5c086a2
RM
110202012-05-10 Roland McGrath <roland@hack.frob.com>
11021
11022 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
11023 change. Update copyright years.
11024
6d74dd09
JM
110252012-05-10 Joseph Myers <joseph@codesourcery.com>
11026
11027 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
11028
28e72501
MK
110292012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
11030 Joseph Myers <joseph@codesourcery.com>
11031 Paul Pluzhnikov <ppluzhnikov@google.com>
11032
11033 [BZ #14012]
11034 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
11035 requiring rpcgen.
11036 [cross-compiling] (extra-libs): Likewise.
11037 [cross-compiling] (extra-libs-others): Likewise.
11038 [cross-compiling] (librpcsvc-routines): Likewise.
11039 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
11040 [cross-compiling] (omit-deps): Likewise.
11041 (sunrpc-CPPFLAGS): New variable.
11042 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
11043 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
11044 (cross-rpcgen-objs): New variable.
11045 (extra-objs): Append $(cross-rpcgen-objs).
11046 ($(cross-rpcgen-objs)): New rule.
11047 ($(objpfx)cross-rpcgen): Likewise.
11048 (rpcgen-cmd): Define to use $(built-program-file). Expand
11049 comment.
11050 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
11051 ($(objpfx)x%.stmp): Likewise.
11052 * sunrpc/proto.h [IS_IN_build] (_): Define.
11053 [IS_IN_build] (_libc_intl_domainname): Likewise.
11054
c8c59454
L
110552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
11056
11057 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
11058 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
11059 and R_X86_64_TPOFF64.
11060
6f27cd16
JM
110612012-05-10 Joseph Myers <joseph@codesourcery.com>
11062
11063 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
11064 sysdeps/unix/sysv/syscalls.list.
11065 (stime): Likewise.
11066 (utime): Likewise.
11067 * sysdeps/unix/sysv/syscalls.list: Remove file.
11068
02467e1c
PE
110692012-05-10 Paul Eggert <eggert@cs.ucla.edu>
11070
11071 [BZ #3440]
11072 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
11073 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
11074 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
11075 (__LC_IDENTIFICATION): Make these macros useful in #if
11076 expressions, as required by C99.
11077
da392631
AS
110782012-05-10 Andreas Schwab <schwab@linux-m68k.org>
11079
11080 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
11081 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
11082 after this.
11083
8115f29b
L
110842012-05-09 H.J. Lu <hongjiu.lu@intel.com>
11085
11086 * stdlib/longlong.h: Updated from GCC.
11087
bdd74070
AJ
110882012-05-09 Andreas Jaeger <aj@suse.de>
11089
edfe0dbe
AJ
11090 * nscd/nscd.c (run_modes): Make named enum, reorder so that
11091 default is first entry.
11092 (run_mode): Set type.
11093 (main): Remove informal message about syslog.
11094 (options): Fix typo.
11095
bcfe3a54
ST
11096 [BZ #14053]
11097 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 11098 to asm.
bcfe3a54
ST
11099 (lrint): Likewise.
11100 (llrintf): Likewise.
11101 (llrint): Likewise.
11102 (rint): Likewise.
11103 (rintf): Likewise.
11104 (nearbyint): Likewise.
11105 (nearbyintf): Likewise.
bdd74070 11106
91d8d69e
AJ
111072012-05-09 Andreas Jaeger <aj@suse.de>
11108 Pedro Alves <palves@redhat.com>
11109
11110 * nscd/nscd.c (run_mode): Use enum.
11111 (main): Cleanup coding style issue.
11112
bb90b80b
AJ
111132012-05-09 Alexandre Oliva <aoliva@redhat.com>
11114 Andreas Jaeger <aj@suse.de>
11115
bcfe3a54
ST
11116 * nscd/nscd.c (go_background): Replaced with...
11117 (run_mode): ... this.
bb90b80b 11118 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
11119 (options): Add -F --foreground.
11120 (main): Implement it.
11121 (parse_opt): Parse it.
bb90b80b 11122
1a4b75a1
AJ
111232012-05-09 Andreas Jaeger <aj@suse.de>
11124
11125 [BZ #14083]
11126 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
11127 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
11128 -Wconversion warning.
11129 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
11130 Likewise.
11131
b1cc2472
JM
111322012-05-09 Joseph Myers <joseph@codesourcery.com>
11133
11134 * conform/data/locale.h-data (NULL): Use macro-constant. Require
11135 == 0.
11136 (LC_ALL): Use macro-int-constant.
11137 (LC_COLLATE): Likewise.
11138 (LC_CTYPE): Likewise.
11139 (LC_MESSAGES): Likewise.
11140 (LC_MONETARY): Likewise.
11141 (LC_NUMERIC): Likewise.
11142 (LC_TIME): Likewise.
11143 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
11144 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11145 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11146 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
11147 Specify type.
11148 [C99-based standards] (float_t): Expect type.
11149 [C99-based standards] (double_t): Expect type.
11150 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
11151 type.
11152 [C99-based standards] (HUGE_VALL): Likewise.
11153 [C99-based standards] (INFINITY): Likewise.
11154 [C99-based standards] (NAN): Likewise.
11155 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
11156 [C99-based standards] (FP_NAN): Likewise.
11157 [C99-based standards] (FP_NORMAL): Likewise.
11158 [C99-based standards] (FP_SUBNORMAL): Likewise.
11159 [C99-based standards] (FP_ZERO): Likewise.
11160 [C99-based standards] (FP_FAST_FMA): Use
11161 optional-macro-int-constant. Specify type. Require == 1.
11162 [C99-based standards] (FP_FAST_FMAF): Likewise.
11163 [C99-based standards] (FP_FAST_FMAL): Likewise.
11164 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
11165 [C99-based standards] (FP_ILOGBNAN): Likewise.
11166 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
11167 Specify type.
11168 [C99-based standards] (MATH_ERREXCEPT): Likewise.
11169 [C99-based standards] (math_errhandling): Specify type.
11170 [ISO99 || ISO11] (signgam): Do not allow.
11171 [non-C99-based standards] (copysignf): Do not allow.
11172 [non-C99-based standards] (exp2f): Likewise.
11173 [non-C99-based standards] (log2f): Likewise.
11174 [non-C99-based standards] (modff): Allow.
11175 [non-C99-based standards] (erff): Do not allow.
11176 [non-C99-based standards] (erfcf): Likewise.
11177 [non-C99-based standards] (gammaf): Likewise.
11178 [non-C99-based standards] (hypotf): Likewise.
11179 [non-C99-based standards] (j0f): Likewise.
11180 [non-C99-based standards] (j1f): Likewise.
11181 [non-C99-based standards] (jnf): Likewise.
11182 [non-C99-based standards] (lgammaf): Likewise.
11183 [non-C99-based standards] (tgammaf): Likewise.
11184 [non-C99-based standards] (y0f): Likewise.
11185 [non-C99-based standards] (y1f): Likewise.
11186 [non-C99-based standards] (ynf): Likewise.
11187 [non-C99-based standards] (isnanf): Likewise.
11188 [non-C99-based standards] (acoshf): Likewise.
11189 [non-C99-based standards] (asinhf): Likewise.
11190 [non-C99-based standards] (atanhf): Likewise.
11191 [non-C99-based standards] (cbrtf): Likewise.
11192 [non-C99-based standards] (expm1f): Likewise.
11193 [non-C99-based standards] (ilogbf): Likewise.
11194 [non-C99-based standards] (log1pf): Likewise.
11195 [non-C99-based standards] (logbf): Likewise.
11196 [non-C99-based standards] (nextafterf): Likewise.
11197 [non-C99-based standards] (remainderf): Likewise.
11198 [non-C99-based standards] (rintf): Likewise.
11199 [non-C99-based standards] (scalbf): Likewise.
11200 [non-C99-based standards] (copysignl): Likewise.
11201 [non-C99-based standards] (exp2l): Likewise.
11202 [non-C99-based standards] (log2l): Likewise.
11203 [non-C99-based standards] (modfl): Allow.
11204 [non-C99-based standards] (erfl): Do not allow.
11205 [non-C99-based standards] (erfcl): Likewise.
11206 [non-C99-based standards] (gammal): Likewise.
11207 [non-C99-based standards] (hypotl): Likewise.
11208 [non-C99-based standards] (j0l): Likewise.
11209 [non-C99-based standards] (j1l): Likewise.
11210 [non-C99-based standards] (jnl): Likewise.
11211 [non-C99-based standards] (lgammal): Likewise.
11212 [non-C99-based standards] (tgammal): Likewise.
11213 [non-C99-based standards] (y0l): Likewise.
11214 [non-C99-based standards] (y1l): Likewise.
11215 [non-C99-based standards] (ynl): Likewise.
11216 [non-C99-based standards] (isnanl): Likewise.
11217 [non-C99-based standards] (acoshl): Likewise.
11218 [non-C99-based standards] (asinhl): Likewise.
11219 [non-C99-based standards] (atanhl): Likewise.
11220 [non-C99-based standards] (cbrtl): Likewise.
11221 [non-C99-based standards] (expm1l): Likewise.
11222 [non-C99-based standards] (ilogbl): Likewise.
11223 [non-C99-based standards] (log1pl): Likewise.
11224 [non-C99-based standards] (logbl): Likewise.
11225 [non-C99-based standards] (nextafterl): Likewise.
11226 [non-C99-based standards] (remainderl): Likewise.
11227 [non-C99-based standards] (rintl): Likewise.
11228 [non-C99-based standards] (scalbl): Likewise.
11229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11230 [non-C99-based standards] (FP_*): Do not allow.
11231 [C99-based standards] (FP_*): Change to
11232 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
11233 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11234 allow.
11235 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
11236 (SIG_ERR): Likewise.
11237 [X/Open-based standards] (SIG_HOLD): Likewise.
11238 (SIG_IGN): Likewise.
11239 (SIGABRT): Use macro-int-constant. Specify type. Require
11240 positive value.
11241 (SIGFPE): Likewise.
11242 (SIGILL): Likewise.
11243 (SIGINT): Likewise.
11244 (SIGSEGV): Likewise.
11245 (SIGTER): Likewise.
11246 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
11247 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
11248 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
11249 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
11250 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
11251 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
11252 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
11253 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
11254 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
11255 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
11256 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
11257 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
11258 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
11259 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
11260 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
11261 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
11262 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
11263 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
11264 [X/Open-based standards] (SIGTRAP): Likewise.
11265 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
11266 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
11267 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
11268 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
11269 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11270 allow.
11271
b9f1922d
IW
112722012-05-08 Ian Wienand <ianw@vmware.com>
11273
11274 [BZ #14080]
11275 * time/tzset.c (__tzset_parse_tz): Update default rules for
11276 daylight time changes in the Energy Policy Act of 2005.
11277
1db86e88
AJ
112782012-05-09 Andreas Jaeger <aj@suse.de>
11279
11280 [BZ #13983]
11281 * elf/ldconfig.c (parse_conf): Change string to make clear that
11282 ldconfig only issued a warning if ld.so.conf does not exist.
11283
dee4a4e3
DM
112842012-05-08 David S. Miller <davem@davemloft.net>
11285
ee0db190
DM
11286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
11287 movxtod instead of popping the value on the stack.
11288
dee4a4e3
DM
11289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11290
6a43ec98
CD
112912012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
11292
11293 * config.h.in: Add HAVE_ARM_PCS_VFP.
11294
05c2c961
RMG
112952012-05-08 Roland Mc Grath <roland@hack.frob.com>
11296
bcfe3a54
ST
11297 [BZ #13979]
11298 * include/features.h: Warn if user requests __FORTIFY_SOURCE
11299 checking but the checks are disabled for any reason.
05c2c961 11300
4b30f61a
L
113012012-05-08 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
11304 and ELF64_R_TYPE with ELFW(R_TYPE).
11305
eee2bc67
JM
113062012-05-08 Joseph Myers <joseph@codesourcery.com>
11307
7ea5391a
JM
11308 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
11309 (ulimit): Likewise.
11310
eee2bc67
JM
11311 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
11312 (settimeofday): Likewise.
11313
abb66a67
MF
113142012-05-08 Mike Frysinger <vapier@gentoo.org>
11315
11316 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
11317 a struct th_u2 inside the union, and move tu_block/tu_code into
11318 a new th_u3 union of tu_block/tu_code inside of that. Move
11319 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
11320 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
11321 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
11322 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
11323 (th_stuff): Change to th_u1.tu_stuff.
11324 (th_data): Define.
11325 (th_msg): Change to th_u1.th_u2.tu_data.
11326
7f18b530
DM
113272012-05-07 David S. Miller <davem@davemloft.net>
11328
05760585
DM
11329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11330
7f18b530
DM
11331 [BZ #14074]
11332 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
11333 (SETUP_PIC_REG): Use it.
11334 (SETUP_PIC_REG_LEAF): Use it.
11335
495fd99f
JM
113362012-05-07 Joseph Myers <joseph@codesourcery.com>
11337
11338 [BZ #13885]
11339 [BZ #13923]
11340 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11341 USE_AS_EXPM1L.
11342 (EXPL_FINITE): Likewise.
11343 (FLDLOG): Likewise.
11344 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11345 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11346 e_expl.S.
11347 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11348 USE_AS_EXPM1L.
11349 (EXPL_FINITE): Likewise.
11350 (FLDLOG): Likewise.
11351 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
11352 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
11353 e_expl.S.
11354 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
11355 test of -max_value argument for long double.
11356 * sysdeps/i386/fpu/libm-test-ulps: Update.
11357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11358
6693d694
DM
113592012-05-06 David S. Miller <davem@davemloft.net>
11360
11361 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
11362 quad soft-float symbols whose references which are compiler
11363 generated.
11364 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11365
6c23e11c
JM
113662012-05-06 Joseph Myers <joseph@codesourcery.com>
11367
d8b82cad
JM
11368 [BZ #13884]
11369 [BZ #13914]
11370 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11371 USE_AS_EXP10L.
11372 (EXPL_FINITE): Likewise.
11373 (FLDLOG): Likewise.
11374 (c0): Likewise.
11375 (c1): Likewise.
11376 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11377 Adjust comments for base varying.
11378 (__expl_finite): Change alias to EXPL_FINITE.
11379 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
11380 e_expl.S.
11381 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
11382 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11383 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11384 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
11385 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
11386 USE_AS_EXP10L.
11387 (EXPL_FINITE): Likewise.
11388 (FLDLOG): Likewise.
11389 (c0): Likewise.
11390 (c1): Likewise.
11391 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
11392 Adjust comments for base varying.
11393 (__expl_finite): Change alias to EXPL_FINITE.
11394 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
11395 tests for bugs.
11396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11397
6c23e11c
JM
11398 [BZ #14064]
11399 * math/libm-test.inc (check_float_internal): Correct ulp
11400 calculation for subnormal expected results.
11401
29ba805c
AJ
114022012-05-06 Andreas Jaeger <aj@suse.de>
11403
11404 * Makeconfig (+math-flags): New, set to -frounding-math.
11405 (+cflags): Add +math-flags so that all of glibc gets compiled with
11406 it.
11407
11408 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
11409
7b17aeda
JM
114102012-05-05 Joseph Myers <joseph@codesourcery.com>
11411
5779f134
JM
11412 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
11413 Disable one test.
11414
41498f4d
JM
11415 [BZ #13787]
11416 [BZ #13922]
11417 [BZ #14036]
11418 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
11419 (__ieee754_expl): Allow for and saturate large arguments.
11420 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
11421 (u_threshold): Likewise.
11422 (__exp): Call __ieee754_exp before checking for overflow and
11423 underflow.
11424 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
11425 (u_threshold): Likewise.
11426 (__expf): Call __ieee754_expf before checking for overflow and
11427 underflow.
11428 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
11429 (u_threshold): Likewise.
11430 (__expl): Call __ieee754_expl before checking for overflow and
11431 underflow.
11432 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
11433 (__ieee754_expl): Allow for and saturate large arguments.
11434 * math/libm-test.inc (exp_test): Add another test. Do not allow
11435 missing overflow exception on overflow.
11436 (expm1_test): Do not allow missing overflow exception on overflow.
11437
6698b8bf
JM
11438 * sysdeps/i386/fpu/e_expl.c: Move to ...
11439 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
11440 rather than using inline asm.
11441 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
11442 * sysdeps/x86_64/fpu/e_expl.S: Copy from
11443 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
11444
7b17aeda
JM
11445 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
11446 (nice): Likewise.
11447 (poll): Likewise.
11448 (signal): Likewise.
11449 (time): Likewise.
11450 (times): Likewise.
11451
f7c85819
JM
114522012-05-04 Joseph Myers <joseph@codesourcery.com>
11453
11454 * sysdeps/unix/syscalls.list (adjtime): Add entry from
11455 sysdeps/unix/common/syscalls.list.
11456 (fchmod): Likewise.
11457 (fchown): Likewise.
11458 (ftruncate): Likewise.
11459 (getrusage): Likewise.
11460 (gettimeofday): Likewise.
11461 (setpgid): Likewise.
11462 (setregid): Likewise.
11463 (setreuid): Likewise.
11464 (sigaction): Likewise.
11465 (truncate): Likewise.
11466 (vhangup): Likewise.
11467 * sysdeps/unix/common/syscalls.list: Remove file.
11468 * sysdeps/unix/bsd/Implies: Don't include unix/common.
11469 * sysdeps/unix/sysv/linux/Implies: Likewise.
11470
336270d0
L
114712012-05-04 H.J. Lu <hongjiu.lu@intel.com>
11472
11473 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
11474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
11475 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
11476 Moved to ...
11477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11478 Here.
11479 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
11480 to ...
11481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
11482 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
11483 to ...
11484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
11485 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
11486 to ...
11487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
11488 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
11489 to ...
11490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
11491 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
11492 to ...
11493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
11494 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
11495 to ...
11496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
11497 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
11498 to ...
11499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11500 Here.
11501 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
11502 to ...
11503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
11504 Here.
11505 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
11506 to ...
11507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
11508 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
11509 Moved to ...
11510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
11511 Here.
11512 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
11513 to ...
11514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
11515
d128e450
JM
115162012-05-04 Joseph Myers <joseph@codesourcery.com>
11517
fa8ee516
JM
11518 * sysdeps/unix/common/bits/dirent.h: Remove file.
11519 * sysdeps/unix/common/bits/fcntl.h: Likewise.
11520
d128e450
JM
11521 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
11522 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
11523 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
11524 * sysdeps/unix/bsd/isatty.c: Likewise.
11525 * sysdeps/unix/bsd/tcdrain.c: Likewise.
11526 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
11527 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
11528
ff8faaf0 115292012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 11530
62881be4 11531 [BZ #13563]
31dc8730
AZ
11532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
11533 long double comparison inaccuracies.
11534 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11536
6fef930c
AS
115372012-05-04 Andreas Schwab <schwab@linux-m68k.org>
11538
11539 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
11540 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
11541
8f203e6c
JM
115422012-05-04 Joseph Myers <joseph@codesourcery.com>
11543
11544 [BZ #14049]
11545 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11546 nonzero digits before rounding a hex value.
11547 * stdlib/tst-strtod.c (tests): Add another test.
11548
5197d9c2
AK
115492012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11550
11551 * sysdeps/s390/fpu/libm-test-ulps: Update.
11552
f0c1dedf
AJ
115532012-05-03 Andreas Jaeger <aj@suse.de>
11554
11555 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11556 does not get optimized out.
11557 (malloc_opt_barrier): New.
11558
a65ef2ae 115592012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 11560 Roland McGrath <roland@hack.frob.com>
a65ef2ae 11561
2b942cb7 11562 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 11563 intermediate file deletion.
2b942cb7 11564 (generated): Add .symlist files.
a65ef2ae 11565
54b71e02
JM
115662012-05-03 Joseph Myers <joseph@codesourcery.com>
11567
11568 [BZ #13775]
11569 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11570 Redirect under this condition.
11571 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11572 [__USE_GNU] (__dprintf_chk): Not under this condition.
11573 [__USE_GNU] (__vdprintf_chk): Likewise.
11574 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11575 under this condition.
11576 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11577 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11578 [__USE_XOPEN2K8] (vdprintf): Likewise.
11579 [__USE_GNU] (__dprintf_chk): Not under this condition.
11580 [__USE_GNU] (__vdprintf_chk): Likewise.
11581 [__USE_GNU] (dprintf): Likewise.
11582 [__USE_GNU] (vdprintf): Likewise.
11583
d3dfcc41
RM
115842012-05-03 Roland McGrath <roland@hack.frob.com>
11585
11586 * elf/Makefile (common-generated): Set this instead of generated for
11587 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11588 $(all-built-dso)-derived lists.
11589
7ac30cc5
AJ
115902012-05-03 Andreas Jaeger <aj@suse.de>
11591
0c51e550
AJ
11592 * sysdeps/i386/fpu/libm-test-ulps: Update.
11593
7ac30cc5
AJ
11594 * FAQ: Removed.
11595 * FAQ.in: Likewise.
11596 * scripts/gen-FAQ.pl: Likewise.
11597 * manual/install.texi (Installation): Point to online location of
11598 FAQ.
11599 * Makefile (files-for-dist): Remove FAQ.
11600 (FAQ): Remove.
11601
d4c2917f
AM
116022012-05-02 Allan McRae <allan@archlinux.org>
11603
11604 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11605 (LDFLAGS-reldepmod5.so): Likewise.
11606 (LDFLAGS-reldep6mod1.so): Likewise.
11607 (LDFLAGS-reldep6mod4.so): Likewise.
11608 (LDFLAGS-reldep8mod3.so): Likewise.
11609 (LDFLAGS-unload4mod1.so): Likewise.
11610 (LDFLAGS-unload4mod2.so): Likewise.
11611 (LDFLAGS-tst-initorder): Likewise.
11612 (LDFLAGS-tst-initordera2.so): Likewise.
11613 (LDFLAGS-tst-initordera3.so): Likewise.
11614 (LDFLAGS-tst-initordera4.so): Likewise.
11615 (LDFLAGS-tst-initorderb2.so): Likewise.
11616 (LDFLAGS-noload): Likewise.
11617 (LDFLAGS-next): Likewise.
11618 (LDFLAGS-order2mod1.so): Likewise.
11619 (LDFLAGS-order2mod2.so): Likewise.
11620 (LDFLAGS-tst-initorder2): Likewise.
11621 (LDFLAGS-tst-initorder2a.so): Likewise.
11622 (LDFLAGS-tst-initorder2b.so): Likewise.
11623 (LDFLAGS-tst-initorder2c.so): Likewise.
11624 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11625
d77f993f
DM
116262012-05-02 David S. Miller <davem@davemloft.net>
11627
11628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11629
171a70b4
PP
116302012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11631
11632 [BZ #14055]
11633 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11634
0be196ad
AJ
116352012-05-02 Andreas Jaeger <aj@suse.de>
11636
11637 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11638 since we manipulate rounding mode.
11639 (CPPFLAGS-test-idouble.c): Likewise.
11640 (CPPFLAGS-test-ifloat.c): Likewise.
11641 (CFLAGS-test-ldouble.c): Likewise.
11642 (CFLAGS-test-double.c): Likewise.
11643 (CFLAGS-test-float.c): Likewise.
11644 (CFLAGS-test-misc.c): Likewise.
11645 (CFLAGS-test-test-fenv.c): Likewise.
11646
4f9d04aa
AZ
116472012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11648
2b942cb7
RM
11649 [BZ #2550]
11650 [BZ #2570]
11651 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11652 comparisons to determine direction to adjust input.
4f9d04aa 11653
82a79e7d
RM
116542012-05-01 Roland McGrath <roland@hack.frob.com>
11655
f5a01ca9
RM
11656 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11657 output to the target.
11658
90fe4186
RM
11659 * scripts/localplt.awk: New file.
11660 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11661 (check-localplt-CFLAGS): Variable removed.
11662 ($(all-built-dso:=.jmprel)): New static pattern rule.
11663 (generated): Add those targets.
11664 (localplt-built-dso): New variable.
11665 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11666
11667 * elf/check-localplt.c: File removed.
11668
82397ed6
RM
11669 * scripts/check-execstack.awk: New file.
11670 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11671 (check-execstack-CFLAGS): Variable removed.
11672 ($(objpfx)check-execstack.h): Target removed.
11673 ($(objpfx)execstack-default): New target.
11674 (generated): Add that instead of check-execstack.h.
11675 ($(all-built-dso:=.phdr)): New static pattern rule.
11676 (generated): Add those targets.
11677 * elf/check-execstack.c: File removed.
11678
82a79e7d
RM
11679 * scripts/check-textrel.awk: New file.
11680 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11681 (check-textrel-CFLAGS): Variable removed.
11682 (all-built-dso): Use := to define.o
11683 ($(all-built-dso:=.dyn)): New static pattern rule.
11684 (generated): Add those targets.
11685 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11686 * config.make.in (READELF): New substituted variable.
11687 * elf/check-textrel.c: File removed.
11688
62fde54f 116892012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 11690
615605c9
JM
11691 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11692 allow.
11693 * conform/data/ctype.h-data [C99-based standards] (isblank):
11694 Expect function.
11695 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11696 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11698 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11699 Specify type. Require positive value.
11700 (EILSEQ): Likewise.
11701 (ERANGE): Likewise.
11702 [ISO || POSIX] (EILSEQ): Do not expect.
11703 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11704 Specify type. Require positive value.
11705 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11706 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11707 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11708 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11709 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11710 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11711 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11712 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11713 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11714 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11715 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11716 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11717 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11718 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11719 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11720 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11721 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11722 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11723 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11724 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11725 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11726 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11727 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11728 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11729 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11730 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11731 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11732 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11733 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11734 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11735 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11736 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11737 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11738 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11739 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11740 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11741 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11742 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11743 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11744 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11745 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11746 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11747 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11748 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11749 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11750 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11751 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11752 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11753 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11754 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11755 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11756 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11757 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11758 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11759 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11760 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11761 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11762 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11763 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11764 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11765 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11766 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11767 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11768 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11769 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11770 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11771 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11772 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11773 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11774 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11775 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11776 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11777 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11778 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11779 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11780 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11781 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11782 Require >= 2.
11783 (FLT_ROUNDS): Expect as macro, not constant.
11784 (FLT_MANT_DIG): Use macro-int-constant.
11785 (DBL_MANT_DIG): Likewise.
11786 (LDBL_MANT_DIG): Likewise.
11787 (FLT_DIG): Likewise.
11788 (DBL_DIG): Likewise.
11789 (LDBL_DIG): Likewise.
11790 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11791 (DBL_MIN_EXP): Likewise.
11792 (LDBL_MIN_EXP): Likewise.
11793 (FLT_MAX_EXP): Use macro-int-constant.
11794 (DBL_MAX_EXP): Likewise.
11795 (LDBL_MAX_EXP): Likewise.
11796 (FLT_MAX_10_EXP): Likewise.
11797 (DBL_MAX_10_EXP): Likewise.
11798 (LDBL_MAX_10_EXP): Likewise.
11799 (FLT_MAX): Use macro-constant.
11800 (DBL_MAX): Likewise.
11801 (LDBL_MAX): Likewise.
11802 (FLT_EPSILON): Use macro-constant. Give upper bound.
11803 (DBL_EPSILON): Likewise.
11804 (LDBL_EPSILON): Likewise.
11805 (FLT_MIN): Likewise.
11806 (DBL_MIN): Likewise.
11807 (LDBL_MIN): Likewise.
11808 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11809 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11810 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11811 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11812 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11813 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11814 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11815 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11816 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11817 [ISO11] (FLT_TRUE_MIN): Likewise.
11818 [ISO11] (LDBL_TRUE_MIN): Likewise.
11819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11820 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11821 (SCHAR_MIN): Use macro-int-constant. Specify type.
11822 (SCHAR_MAX): Likewise.
11823 (UCHAR_MAX): Likewise.
11824 (CHAR_MIN): Likewise.
11825 (CHAR_MAX): Likewise.
11826 (MB_LEN_MAX): Use macro-int-constant.
11827 (SHRT_MIN): Use macro-int-constant. Specify type.
11828 (SHRT_MAX): Likewise.
11829 (USHRT_MAX): Likewise.
11830 (INT_MAX): Likewise.
11831 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11832 bound negative.
11833 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11834 bound with "U".
11835 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11836 bound with "L".
11837 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11838 bound negative. Suffix upper bound with "L".
11839 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11840 bound with "UL".
11841 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11842 Specify type.
11843 [C99-based standards] (LLONG_MAX): Likewise.
11844 [C99-based standards] (ULLONG_MAX): Likewise.
11845 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11846 == 0.
11847 [ISO11] (max_align_t): Require type.
11848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11849
c9140a62
JM
11850 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11851 from $CFLAGS, without defining away __attribute__ calls.
11852 (checknamespace): Use $CFLAGS_namespace.
11853
9af0bf29
JM
11854 * conform/conformtest.pl (@keywords): Only include C99 keywords
11855 for standards based on C99 or C11.
11856
343222a2
JM
11857 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11858 Disable tests.
11859 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11860 UNIX98]: Likewise.
11861
661f8cf0
JM
11862 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11863 usability of symbols in #if.
11864
ee74b9cb
JM
11865 * conform/conformtest.pl: If macro or constant types start
11866 "promoted:", expect the symbol to be of the following type
11867 promoted by the integer promotions.
62fde54f 11868
aafc49b3
JM
11869 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11870 in one place. Also handle "macro-constant".
11871
fefdf574
JM
11872 * conform/conformtest.pl: Only accept expected macro values with
11873 "==". Parse all "macro" lines in one place.
11874 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11875
f2d922fe
JM
11876 * conform/conformtest.pl: Handle braced types on "constant" lines
11877 instead of handling "typed-constant".
11878 * conform/data/signal.h-data: Use "constant" instead of
11879 "typed-constant".
11880
d22956c9
JM
11881 * conform/conformtest.pl: Handle "optional-" at start of lines in
11882 one place rather than duplicating several cases. Handle each
11883 format of "macro" line with initial "optional-".
11884
028e2e38
JM
11885 * conform/conformtest.pl: Only accept expected constant or
11886 optional-constant values with "==". Parse all "constant" lines in
11887 one place. Parse all "optional-constant" lines in one place.
11888 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11889 * conform/data/fmtmsg.h-data: Likewise.
11890 * conform/data/netinet/in.h-data: Likewise.
11891 * conform/data/tar.h-data: Likewise.
11892 * conform/data/limits.h-data: Use "==" form on "constant" and
11893 "optional-constant" lines.
11894
1b8f2850
JM
11895 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11896 Use -std=c99 for XOPEN2K.
11897 (@knownproblems): Remove.
11898 (newtoken): Don't check %isknown.
11899
a05a144b
JM
11900 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11901 Do not expect macro.
11902 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11903 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11904 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11905 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11906 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11907 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11908 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11909 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11910 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11911 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11912 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11913 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11914 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11915 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11916 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11917 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11918 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11919 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11920 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11921 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11922 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11923 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11924 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11925 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11926 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11927 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11928 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11929 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11930 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11931 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11932 [XPG3] (acosh): Likewise.
11933 [XPG3] (asinh): Likewise.
11934 [XPG3] (atanh): Likewise.
11935 [XPG3] (cbrt): Likewise.
11936 [XPG3] (expm1): Likewise.
11937 [XPG3] (ilogb): Likewise.
11938 [XPG3] (log1p): Likewise.
11939 [XPG3] (logb): Likewise.
11940 [XPG3] (nextafter): Likewise.
11941 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11942 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11943 [XPG3] (remainder): Likewise.
11944 [XPG3] (rint): Likewise.
11945 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11946 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11947 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11948 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11949 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11950 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11951 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11952 [UNIX98 || XOPEN2K] (scalb): Expect.
11953 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11954 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11955 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11956 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11957 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11958 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11959 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11960 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11961 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11962 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11963 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11964 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11965 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11966 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11967 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11968 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11969 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11970 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11971 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11972 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11973 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11974 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11975 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11976 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11977 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11978 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11979 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11980 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11981 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11982 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11983 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11984 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11985 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11986 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11987 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11988 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11989 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11990 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11991 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11992 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11993 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11994 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11995 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11996 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11997 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11998 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11999 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
12000 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
12001 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
12002 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
12003 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
12004 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
12005 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
12006 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
12007 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
12008 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
12009 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
12010 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
12011 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
12012 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
12013 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
12014 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
12015 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
12016 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
12017 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
12018 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
12019 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
12020 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
12021 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
12022 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
12023 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
12024 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
12025 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
12026 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
12027 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
12028 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
12029 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
12030 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
12031 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
12032 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
12033 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
12034 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
12035 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
12036 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
12037 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
12038 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
12039 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
12040 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
12041 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
12042 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
12043 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
12044 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
12045 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
12046 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
12047 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
12048 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
12049 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
12050 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
12051 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
12052 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
12053 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
12054 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
12055 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
12056 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
12057 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
12058 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
12059 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
12060 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
12061 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
12062 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
12063 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
12064 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
12065 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
12066 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
12067 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
12068 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
12069 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
12070 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
12071 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
12072 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
12073 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
12074 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
12075 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
12076 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
12077 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
12078 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
12079 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
12080 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
12081 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
12082 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
12083 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
12084 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
12085 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
12086 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
12087 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
12088 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
12089 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
12090
73c5ebe3
JM
12091 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
12092 _XOPEN_SOURCE_EXTENDED for XPG4.
12093
39c33b6c
JM
12094 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
12095
62fde54f
JM
12096 * Makeconfig (localtime): Remove variable.
12097 (inst_localtime-file): Likewise.
12098
0741d64c
AS
120992012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12100
12101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12102 Update.
12103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12104 Update.
12105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12106 Update.
12107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12108 Update.
12109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12110 Update.
12111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
12112 Update.
12113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12114 Update.
12115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
12116 Update.
12117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12118 Update.
12119
7cb029ee
JM
121202012-05-01 Joseph Myers <joseph@codesourcery.com>
12121
12122 [BZ #2550]
12123 [BZ #2570]
12124 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
12125 comparisons to determine direction to adjust input.
12126 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12127 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
12128 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12129 Likewise.
12130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12131 Likewise.
12132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12133 Likewise.
12134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12136 Likewise.
12137 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12138 Likewise.
12139 * math/libm-test.inc (nexttoward_test): Add more tests.
12140
412bd966
AS
121412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
12142
12143 [BZ #14040]
12144 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
12145 in version GLIBC_2.1, not GLIBC_2.0.
12146 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
12147 Likewise.
12148
9568c0c2
JM
121492012-04-30 Joseph Myers <joseph@codesourcery.com>
12150
adfbc8ac
JM
12151 [BZ #13942]
12152 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
12153 (1 - x) * (1 + x).
12154 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12155 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
12156 * math/libm-test.inc (acos_test): Add more tests.
12157 (asin_test): Likewise.
12158 * sysdeps/i386/fpu/libm-test-ulps: Update.
12159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12160
5ba3cc69
JM
12161 [BZ #14034]
12162 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
12163 of square root.
12164 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
12165 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
12166 * math/libm-test.inc (acos_test_tonearest): New function.
12167 (acos_test_towardzero): Likewise.
12168 (acos_test_downward): Likewise.
12169 (acos_test_upward): Likewise.
12170 (asin_test_tonearest): Likewise.
12171 (asin_test_towardzero): Likewise.
12172 (asin_test_downward): Likewise.
12173 (asin_test_upward): Likewise.
12174 (main): Call the new functions.
12175 * sysdeps/i386/fpu/libm-test-ulps: Update.
12176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12177
9568c0c2
JM
12178 [BZ #13884]
12179 [BZ #13924]
12180 * math/e_exp10.c: Include <float.h>.
12181 (__ieee754_exp10): Handle underflow here rather than multiplying
12182 large negative argument by M_LN10.
12183 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
12184 of __ieee754_expf.
12185 * math/e_exp10l.c: Include <float.h>.
12186 (__ieee754_exp10l): Handle underflow here rather than multiplying
12187 large negative argument by M_LN10l.
12188 * math/libm-test.inc (exp10_test): Add another test. Do not allow
12189 spurious overflow exception on underflow.
12190
5ac3ea17
MP
121912012-04-29 Marek Polacek <polacek@redhat.com>
12192
12193 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
12194 (__fortify_function): New macro.
12195 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
12196 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
12197 __extern_always_inline.
12198 * libio/bits/stdio2.h: Likewise.
12199 * libio/bits/stdio.h: Likewise.
12200 * string/string.h: Likewise.
12201 * string/bits/string3.h: Likewise.
12202 * include/stdio.h: Likewise.
12203 * stdlib/bits/stdlib.h: Likewise.
12204 * stdlib/stdlib.h: Likewise.
12205 * rt/bits/mqueue2.h: Likewise.
12206 * rt/mqueue.h: Likewise.
12207 * posix/bits/unistd.h: Likewise.
12208 * posix/unistd.h: Likewise.
12209 * io/bits/poll2.h: Likewise.
12210 * io/bits/fcntl2.h: Likewise.
12211 * io/fcntl.h: Likewise.
12212 * io/sys/poll.h: Likewise.
12213 * misc/bits/syslog.h: Likewise.
12214 * misc/bits/syslog-ldbl.h: Likewise.
12215 * misc/sys/syslog.h: Likewise.
12216 * socket/bits/socket2.h: Likewise.
12217 * socket/sys/socket.h: Likewise.
12218 * debug/tst-chk1.c: Likewise.
12219 * wcsmbs/bits/wchar2.h: Likewise.
12220 * wcsmbs/bits/wchar-ldbl.h: Likewise.
12221 * wcsmbs/wchar.h: Likewise.
12222
ecf0ebfb
AJ
122232012-04-29 Andreas Jaeger <aj@suse.de>
12224
12225 * Makerules (tests): Remove enable-check-abi protection.
12226 (check-abi-warn): Remove.
12227 (check-abi-%): Remove check-abi-warn usage.
12228
12229 * configure.in: Remove check-abi configure option.
12230 * configure: Regenerated.
12231 * config.make.in (enable-check-abi): Remove.
12232
6d5c57fa
AS
122332012-04-28 Andreas Schwab <schwab@linux-m68k.org>
12234
24c5d07e 12235 [BZ #14033]
ded5180a
AS
12236 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
12237 double functions to double *_finite functions.
12238
7e0d315d
AS
12239 [BZ #13941]
12240 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
12241 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
12242 LDBL_MIN_EXP.
12243 * stdio-common/Makefile (tests): Add tst-sprintf3.
12244 * stdio-common/tst-sprintf3.c: New file.
12245
6d5c57fa
AS
12246 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
12247 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
12248
0749ff8b
JM
122492012-04-28 Joseph Myers <joseph@codesourcery.com>
12250
12251 * conform/conformtest.pl: Remove duplicate typed-constant
12252 handling.
12253
8dbd5d7b
DM
122542012-04-28 David S. Miller <davem@davemloft.net>
12255
12256 * Makerules (%.abilist): Add vpath on sysdep_dirs.
12257 (check-abi-%): Remove AWK script prerequisite and explicit
12258 abilist directory.
12259 (check-abi): Rewrite to just diff the symlist with the abilist.
12260 (config-tls, config-abi-config): Delete, no longer used.
12261 (update-abi-%): Remove AWK script and explicit abilist directory.
12262 (update-abi): Rewrite to simply compare and conditionally copy the
12263 symlist and the sysdep abilist file. Remove update-abi-config
12264 checks.
12265 * abilist/ld.abilist: Remove.
12266 * abilist/libBrokenLocale.abilist: Remove.
12267 * abilist/libanl.abilist: Remove.
12268 * abilist/libcrypt.abilist: Remove.
12269 * abilist/libdl.abilist: Remove.
12270 * abilist/librt.abilist: Remove.
12271 * abilist/libthread_db.abilist: Remove.
12272 * abilist/libutil.abilist: Remove.
12273 * scripts/extract-abilist.awk: Remove.
12274 * scripts/merge-abilist.awk: Remove.
12275 * sysdeps/generic/libcidn.abilist: New file.
12276 * sysdeps/generic/libnss_compat.abilist: New file.
12277 * sysdeps/generic/libnss_db.abilist: New file.
12278 * sysdeps/generic/libnss_dns.abilist: New file.
12279 * sysdeps/generic/libnss_files.abilist: New file.
12280 * sysdeps/generic/libnss_hesiod.abilist: New file.
12281 * sysdeps/generic/libnss_nis.abilist: New file.
12282 * sysdeps/generic/libnss_nisplus.abilist: New file.
12283 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
12284 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
12285 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
12286 file.
12287 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
12288 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
12289 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
12290 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
12291 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
12292 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
12293 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
12294 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
12295 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
12296 file.
12297 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
12298 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
12299 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
12300 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
12301 file.
12302 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
12303 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
12304 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
12305 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
12306 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
12307 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
12308 file.
12309 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
12310 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
12311 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
12312 file.
12313 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
12314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
12315 New file.
12316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
12317 New file.
12318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
12319 New file.
12320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
12321 New file.
12322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
12323 New file.
12324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
12325 New file.
12326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
12327 New file.
12328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
12329 New file.
12330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
12331 New file.
12332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
12333 New file.
12334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
12335 New file.
12336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
12337 New file.
12338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
12339 New file.
12340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
12341 file.
12342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12343 New file.
12344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12345 New file.
12346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
12347 file.
12348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12349 New file.
12350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12351 New file.
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
12353 file.
12354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12355 New file.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12357 New file.
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12359 New file.
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12361 New file.
12362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12363 New file.
12364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12365 New file.
12366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
12367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
12368 file.
12369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12370 New file.
12371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
12372 file.
12373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
12374 file.
12375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
12376 file.
12377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
12378 file.
12379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
12380 file.
12381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12382 New file.
12383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
12384 file.
12385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
12386 file.
12387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12388 New file.
12389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
12390 file.
12391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
12392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
12393 file.
12394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12395 New file.
12396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
12397 file.
12398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
12399 file.
12400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
12401 file.
12402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
12403 file.
12404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
12405 file.
12406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12407 New file.
12408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
12409 file.
12410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
12411 file.
12412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12413 New file.
12414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
12415 file.
12416 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12417 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
12418 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
12419 file.
12420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
12421 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
12422 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
12423 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
12424 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
12425 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
12426 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
12427 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
12428 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
12429 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
12430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
12431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
12432 file.
12433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12434 New file.
12435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
12436 file.
12437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
12438 file.
12439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
12440 file.
12441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
12442 file.
12443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
12444 file.
12445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12446 New file.
12447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12448 New file.
12449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
12450 file.
12451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12452 New file.
12453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
12454 file.
12455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
12456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
12457 file.
12458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12459 New file.
12460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
12461 file.
12462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
12463 file.
12464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
12465 file.
12466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
12467 file.
12468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
12469 file.
12470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12471 New file.
12472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12473 New file.
12474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
12475 file.
12476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12477 New file.
12478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
12479 file.
12480
41d73a1b
JM
124812012-04-28 Joseph Myers <joseph@codesourcery.com>
12482
12483 * conform/conformtest.pl: Fix typo in handling typed-constant from
12484 allow-header.
12485
28aeeda4
JM
124862012-04-27 Joseph Myers <joseph@codesourcery.com>
12487
adae8f5e
JM
12488 * README: Cut down references to pre-2.6 Linux kernels and
12489 Linuxthreads. Update lists of configurations in libc and ports
12490 and sort alphabetically. Say "or newer" with Linux kernel version
12491 requirements.
12492
28aeeda4
JM
12493 * config.h.in [IS_IN_build]: Allow compiling without optimization.
12494
a462cb63
RA
124952012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12496
12497 [BZ #887]
12498 * math/libm-test.inc (logb_test_downward): New test to expose
12499 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
12500 rounding mode.
12501
6ad3493e
JM
125022012-04-27 Joseph Myers <joseph@codesourcery.com>
12503
12504 [BZ #14027]
12505 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
12506 to be done.
12507 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
12508 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
12509
2ce4f015
JM
125102012-04-26 Joseph Myers <joseph@codesourcery.com>
12511
5aeb141a
JM
12512 * sysdeps/unix/i386/brk.S: Remove file.
12513 * sysdeps/unix/i386/dl-brk.S: Likewise.
12514 * sysdeps/unix/i386/pipe.S: Likewise.
12515 * sysdeps/unix/i386/sigreturn.S: Likewise.
12516 * sysdeps/unix/i386/syscall.S: Likewise.
12517 * sysdeps/unix/i386/vfork.S: Likewise.
12518 * sysdeps/unix/i386/wait.S: Likewise.
12519
7143acae
JM
12520 * sysdeps/unix/common/tcsendbrk.c: Move to ...
12521 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
12522
2ce4f015
JM
12523 * configure.in (arm*-none*): Do not allow without
12524 --enable-hacker-mode.
12525 (netbsd*): Remove case setting base_os.
12526 (386bsd*): Likewise.
12527 (freebsd*): Likewise.
12528 (bsdi*): Likewise.
12529 (osf*): Likewise.
12530 (sunos*): Likewise.
12531 (ultrix*): Likewise.
12532 (newsos*): Likewise.
12533 (dynix*): Likewise.
12534 (*bsd*): Likewise.
12535 (sysv*): Likewise.
12536 (isc*): Likewise.
12537 (esix*): Likewise.
12538 (sco*): Likewise.
12539 (minix*): Likewise.
12540 (irix4*): Likewise.
12541 (irix6*): Likewise.
12542 (solaris[2-9]*): Likewise.
12543 (none): Likewise.
12544 * configure: Regenerated.
12545
0ac229c8
AZ
125462012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12547
12548 [BZ #11521]
12549 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12550 overflow or cancellation in calculating denominator.
12551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12552 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12553 down expression to avoid unexpected rounding in newer GCCs.
12554 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12555
33f244f4
DM
125562012-04-26 David S. Miller <davem@davemloft.net>
12557
12558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12559 long-double compat symbols.
12560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12573
cfa1f3e8
DM
125742012-04-25 David S. Miller <davem@davemloft.net>
12575
12576 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12577 HWCAP_* values only after the memory barriers have been defined.
12578 (atomic_full_barrier): Define.
12579 (atomic_read_barrier): Define.
12580 (atomic_write_barrier): Define.
12581
6e236b92
SP
125822012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12583
12584 * shlib-versions: Add libgcc_s version information.
12585 * sysdeps/generic/libgcc_s.h: Remove.
12586 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12587 libgcc_s.h.
12588 * sysdeps/gnu/unwind-resume.c: Likewise.
12589 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12590
aab39a09
DM
125912012-04-25 David S. Miller <davem@davemloft.net>
12592
12593 * sysdeps/unix/sparc/brk.S: Delete.
12594 * sysdeps/unix/sparc/dl-brk.S: Delete.
12595 * sysdeps/unix/sparc/pipe.S: Delete.
12596 * sysdeps/unix/sparc/sysdep.S: Delete.
12597 * sysdeps/unix/sparc/sysdep.h: Delete.
12598 * sysdeps/unix/sparc/vfork.S: Delete.
12599 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12600 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12602 ret_ERRVAL, r0, r1, MOVE): Define.
12603 (JUMPTARGET): Remove.
12604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12605 sysdeps/unix/sparc/sysdep.h
12606 (ENTRY, END): Remove.
12607 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12608
a3cc4f48
JM
126092012-04-25 Joseph Myers <joseph@codesourcery.com>
12610
2ed8cda2
JM
12611 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12612 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12613 -DIS_IN_build.
12614
35d76d59
JM
12615 * timezone/README: Update upstream location and email address for
12616 tzcode and tzdata.
12617 * timezone/zdump.c: Update from tzcode 2012b.
12618 * timezone/zic.c: Likewise.
12619
a3cc4f48
JM
12620 * configure.in (libc_cv_as_needed): Remove test.
12621 * configure: Regenerated.
12622 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12623 conditional definition.
12624 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12625 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12626 * config.make.in (have-as-needed): Remove variable.
12627
ceab42c3
SP
126282012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12629 Paul Pluzhnikov <ppluzhnikov@google.com>
12630
12631 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12632 strings correctly.
12633
3ce2865f
CLT
126342012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12635
12636 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12637 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12638 * sysdeps/sh/strlen.S: Likewise.
12639
f37e0d68
JM
126402012-04-24 Joseph Myers <joseph@codesourcery.com>
12641
ae186e9a
JM
12642 * sysdeps/unix/fork.S: Remove file.
12643 * sysdeps/unix/i386/fork.S: Likewise.
12644 * sysdeps/unix/sparc/fork.S: Likewise.
12645
b96914af
JM
12646 * sysdeps/unix/system.c: Remove file.
12647 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12648
f37e0d68
JM
12649 * sysdeps/unix/getegid.S: Remove file.
12650 * sysdeps/unix/geteuid.S: Likewise.
12651
87ef29ca
RM
126522012-04-24 Roland McGrath <roland@hack.frob.com>
12653
83bcd236
RM
12654 * scripts/check-localplt.awk: New file.
12655 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12656 of diff.
12657 * scripts/data/localplt-generic.data: Add a comment.
12658
87ef29ca
RM
12659 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12660 NODE when __dir_mkfile failed.
12661 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12662 Reported by Ludovic Courtès <ludo@gnu.org>.
12663
e5a6e567
AJ
126642012-04-24 Andreas Jaeger <aj@suse.de>
12665
12666 * Makerules (common-clean): Also remove gen-as-const-headers
12667 files.
12668
c1820385
JM
126692012-04-24 Joseph Myers <joseph@codesourcery.com>
12670
12671 * Makerules (native-compile): Do not change working directory for
12672 build. Use $(OUTPUT_OPTION) in command.
12673 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12674
94e02fc4
AZ
126752012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12676
12677 [BZ #13886]
12678 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12679 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12680 * math/libm-test.inc (floor_test): Add more tests.
12681 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12682
3a533ca3
JM
126832012-04-24 Joseph Myers <joseph@codesourcery.com>
12684
940ab4b3
JM
12685 * sysdeps/unix/getdents.c: Remove file.
12686 * sysdeps/unix/sysv/getdents.c: Likewise.
12687 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12688
90e037bd
JM
12689 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12690 sysdeps/unix/mman/syscalls.list.
12691 (mmap): Likewise.
12692 (mprotect): Likewise.
12693 (msync): Likewise.
12694 (munmap): Likewise.
12695 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12696 * sysdeps/unix/mman/syscalls.list: Remove.
12697 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12698
3a533ca3
JM
12699 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12700 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12701 * configure: Regenerated.
12702 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12703 $(libgcc_s_suffix).
12704 * config.make.in (libgcc_s_suffix): Remove variable.
12705
1ad743de
JM
127062012-04-23 Joseph Myers <joseph@codesourcery.com>
12707
4ad451e2
JM
12708 * sysdeps/unix/sysv/gethostname.c: Move to ...
12709 * sysdeps/posix/gethostname.c: ... here.
12710
5e37ce39
JM
12711 * sysdeps/unix/execve.S: Remove file.
12712
1ad743de
JM
12713 * sysdeps/unix/_exit.S: Remove file.
12714
4e681b5b
AJ
127152012-04-23 Andreas Jaeger <aj@suse.de>
12716
12717 [BZ #13739]
12718 * manual/Makefile: Remove make dist support, there's no
12719 need for a stand-alone documentation tar ball.
12720 (TEXI2DVI): Define always, it's not in Makeconfig.
12721 (dist): Removed.
12722 (tar-it): Removed.
12723 (edition): Removed.
12724 (glibc-doc-$(edition).tar): Removed
12725 (%.Z): Removed.
12726 (%.gz): Removed.
12727 (%.uu): Removed.
12728 (ETAGS): Remove, it's in Makeconfig.
12729 (move-if-change): Remove, it's in Makeconfig.
12730
38686a03 127312012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
12732
12733 [BZ #13970]
12734 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12735 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12736 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12737 (strtod_l, strtof_l, strtold_l): Remove __wur.
12738 It is not necessarily an error to ignore strtol's return value.
12739 One can reliably look at the stored endptr to decide whether
12740 the number had valid syntax.
12741
7c0616fa
AJ
127422012-04-21 Andreas Jaeger <aj@suse.de>
12743
803cb6b7 12744 [BZ #13739]
7c0616fa
AJ
12745 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12746
b0fe253f
JM
127472012-04-21 Joseph Myers <joseph@codesourcery.com>
12748
12749 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12750 * sysdeps/unix/sysv/Versions: Remove file.
12751
8280f22d
MT
127522012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12753
12754 [BZ #13927]
12755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12756
75ce411f 127572012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
12758
12759 [BZ #7064]
12760 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12761 version from __vm86.
12762
097d59fa
JM
127632012-04-20 Joseph Myers <joseph@codesourcery.com>
12764
a90f3bcb
JM
12765 * sysdeps/unix/common/lxstat.c: Remove file.
12766 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12767
edc7ea78
JM
12768 * sysdeps/unix/sysv/Makefile: Remove file.
12769
cb78c221
JM
12770 * sysdeps/unix/sysv/direct.h: Remove file.
12771
efa6a45f
JM
12772 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12773 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12774 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12775 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12776 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12777 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12778 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12779
9c9f2d0c
JM
12780 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12781
4541c83b
JM
12782 * sysdeps/unix/xmknod.c: Remove file.
12783 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12784
f5d153a0
JM
12785 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12786
aa746595
JM
12787 * sysdeps/unix/sysv/i386/time.S: Remove file.
12788
cce5905e
JM
12789 * sysdeps/unix/fxstat.c: Remove file.
12790 * sysdeps/unix/xstat.c: Likewise.
12791 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12792
37fa3841
JM
12793 * sysdeps/unix/sysv/sigaction.c: Remove file.
12794
ff1962a3
JM
12795 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12796 (sysdep_headers): Remove variable.
12797 [termio.h not in sysdep_headers] (generated): Likewise.
12798 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12799 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12800 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12801 * sysdeps/unix/sysv/tcflow.c: Likewise.
12802 * sysdeps/unix/sysv/tcflush.c: Likewise.
12803 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12804 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12805 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12806 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12807 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12808
e7740d31
JM
12809 * sysdeps/unix/siglist.c: Remove file.
12810
ee06f18b
JM
12811 * sysdeps/unix/getppid.S: Remove file.
12812
097d59fa
JM
12813 * sysdeps/unix/mkdir.c: Remove file.
12814 * sysdeps/unix/rmdir.c: Likewise.
12815
ff3d51ec
AS
128162012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12817
12818 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12819 ERR_MAX value.
12820 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12821 errlist-compat value.
12822
50f81fd7
DM
128232012-04-18 David S. Miller <davem@davemloft.net>
12824
12825 * sysdeps/generic/memcopy.h (reg_char): Delete.
12826 * debug/strcat_chk.c: Use char, not reg_char.
12827 * debug/strcpy_chk.c: Likewise.
12828 * debug/strncat_chk.c: Likewise.
12829 * debug/strncpy_chk.c: Likewise.
12830 * string/memchr.c: Likewise.
12831 * string/memrchr.c: Likewise.
12832 * string/rawmemchr.c: Likewise.
12833 * string/strcat.c: Likewise.
12834 * string/strchr.c: Likewise.
12835 * string/strchrnul.c: Likewise.
12836 * string/strcmp.c: Likewise.
12837 * string/strcpy.c: Likewise.
12838 * string/strncat.c: Likewise.
12839 * string/strncmp.c: Likewise.
12840 * string/strncpy.c: Likewise.
12841
8ff41c46
WS
128422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12843
12844 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12845 __builtin_memcopy is called when src and dest ranges are known to not
12846 overlap.
12847
6b652f46
WS
128482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12849
12850 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12851 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12852 fwd_align_merge macro call.
12853 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12854 bwd_align_merge macro call.
12855 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12856
b282631e
WS
128572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12858
12859 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12860 bwd_align_merge macros.
12861 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12862 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12863 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12864
95aa737c
DM
128652012-04-18 David S. Miller <davem@davemloft.net>
12866
12867 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12868
7a99a614
AJ
128692012-04-18 Andreas Jaeger <aj@suse.de>
12870
12871 [BZ# 6794]
12872 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12873 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12874 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12875
12876 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12877 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12878 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12879
12880 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12881 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12882 Adjust for changed ldbl-128 files.
12883
12884 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12885 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12886 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12887
e5270c23
DM
128882012-04-17 David S. Miller <davem@davemloft.net>
12889
12890 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12891
fb5e92c9
AS
128922012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12893
12894 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12895 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12896 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12897 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12898 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12899 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12900
76da7265
AZ
129012012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12902
12903 [BZ #6794]
12904 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12905 * math/libm-test.inc: Add ilogb errno and exception tests.
12906 * math/w_ilogb.c: New file: ilogb wrapper.
12907 * math/w_ilogbf.c: New file: ilogbf wrapper.
12908 * math/w_ilogbl.c: New file: ilogbl wrapper.
12909 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12910 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12911 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12912 exception being thrown with 0.0 as argument.
12913 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12914 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12915 exception being thrown with 0.0 as argument.
12916 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12917 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12918 exception being thrown with 0.0 as argument.
12919 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12920 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12921 exception being thrown with 0.0 as argument.
12922 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12923 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 12924 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
12925 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12927 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12928 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12929 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12930 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12931
0396e69d
PB
129322012-04-17 Petr Baudis <pasky@ucw.cz>
12933
12934 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12935 with altivec.
12936
750b5926
MP
129372012-04-16 Marek Polacek <polacek@redhat.com>
12938
12939 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12940
751728a1
MP
129412012-04-16 Marek Polacek <polacek@redhat.com>
12942
12943 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12944 operands of fdivp instruction.
12945
34a27407
L
129462012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12947
12948 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12949 * elf/tst-auditmod3b.c: Likewise.
12950 * elf/tst-auditmod4b.c: Likewise.
12951 * elf/tst-auditmod5b.c: Likewise.
12952 * elf/tst-auditmod6b.c: Likewise.
12953 * elf/tst-auditmod6c.c: Likewise.
12954 * elf/tst-auditmod7b.c: Likewise.
12955 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12956 * sysdeps/x86_64/preconfigure.in: Likewise.
12957 * sysdeps/x86_64/preconfigure: Regenerated.
12958
7e73e17d
L
129592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12960
12961 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12962 __ILP32__.
12963
c7a6ab72
AB
129642012-04-13 Antoine Balestrat <merkil33@gmail.com>
12965
12966 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12967 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12968
a9e8e0e0
CL
129692012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12970
12971 [BZ #13973]
12972 * locale/iso-639.def: Fix gl language name. Spotted by
12973 Yaron Shahrabani.
12974
ec98af7d
RM
129752012-04-12 Roland McGrath <roland@hack.frob.com>
12976
12977 [BZ #2074]
12978 * libio/libio.h (__io_write_fn): Update comment.
12979
247c3ede
PB
129802012-04-12 Petr Baudis <pasky@ucw.cz>
12981
12982 [BZ #2074]
12983 * stdio.texi (Hook Functions): The user provided writer function
12984 is not allowed to return -1.
12985
55939d6d
DM
129862012-04-11 David S. Miller <davem@davemloft.net>
12987
12988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12989
90020f5a
MF
129902012-04-11 Mike Frysinger <vapier@gentoo.org>
12991
12992 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12993 Add a leading slash to rtkaio.
12994
288f9098
JM
129952012-04-11 Jim Meyering <meyering@redhat.com>
12996
90020f5a
MF
12997 [BZ #11959]
12998 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12999 It is not necessarily an error to ignore fwrite's return
13000 value. One can reliably use ferror to test for errors after
13001 the fact.
288f9098 13002
4be2b570
L
130032012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13004
13005 * bits/types.h (__snseconds_t): New type.
13006 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
13007
13008 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
13009 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13010 (__SNSECONDS_T_TYPE): Likewise.
13011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13012 (__SNSECONDS_T_TYPE): Likewise.
13013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13014 (__SNSECONDS_T_TYPE): Likewise.
13015
288f9098 130162012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
13017
13018 [BZ #2636]
13019 * manual/time.texi (Processor Time): Return type of times is
13020 elapsed real time since an arbitrary point in the past.
13021 (CPU Time): Move CLK_TCK from here...
13022 (Processor Time): ...to here. Correct description.
13023 * manual/conf.texi (Constants for Sysconf): Correct description of
13024 _SC_CLK_TCK.
13025
d7dd4413
DM
130262012-04-10 David S. Miller <davem@davemloft.net>
13027
13028 [BZ #13967]
13029 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
13030 where the is a gap between DT_REL(A) and DT_JMPREL.
13031
b46068fc
L
130322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
13033
13034 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
13035 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13036 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13037
73d65cc3
SP
130382012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13039
13040 * elf/dl-support.c (_dl_inhibit_cache): New variable.
13041 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
13042 (dl_main): Handle --inhibit-cache.
13043 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
13044 _dl_inhibit_cache.
13045 * elf/dl-load.c (_dl_map_object): Use it.
13046 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
13047
bcc8d661
JM
130482012-04-09 Joseph Myers <joseph@codesourcery.com>
13049
8f9a2fae
JM
13050 [BZ #13872]
13051 * sysdeps/i386/fpu/e_powl.S (p78): New object.
13052 (__ieee754_powl): Saturate large exponents rather than testing for
13053 overflow of y*log2(x).
13054 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13055 * math/libm-test.inc (pow_test): Do not permit spurious overflow
13056 exceptions.
13057
bcc8d661
JM
13058 [BZ #11521]
13059 * math/s_ctan.c: Include <float.h>.
13060 (__ctan): Avoid internal overflow or cancellation in calculating
13061 denominator.
13062 * math/s_ctanf.c: Likewise.
13063 * math/s_ctanl.c: Likewise.
13064 * math/s_ctanh.c: Likewise.
13065 * math/s_ctanhf.c: Likewise.
13066 * math/s_ctanhl.c: Likewise.
13067 * math/libm-test.inc (ctan_test): Add more tests.
13068 (ctanh_test): Likewise.
13069 * sysdeps/i386/fpu/libm-test-ulps: Update.
13070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13071
823fbbb4
AJ
130722012-04-09 Andreas Jaeger <aj@suse.de>
13073
03879793
AJ
13074 [BZ #6894]
13075 * manual/filesys.texi (Directory Entries): Mention that d_namlen
13076 is an optional BSD extension.
13077
823fbbb4
AJ
13078 [BZ #10254]
13079 * manual/stdio.texi (Opening Streams): Document additional fopen
13080 parameters.
13081
8de131cb
RM
130822012-04-09 Roland McGrath <roland@hack.frob.com>
13083
13084 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
13085 %eax without telling the compiler.
13086
c0ed9d7d
CD
130872012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
13088
13089 [BZ # 13963]
13090 * manual/install.texi: Use sourceware.org.
13091
c483f6b4
JM
130922012-04-09 Joseph Myers <joseph@codesourcery.com>
13093
d7dd9453
JM
13094 [BZ #13873]
13095 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
13096 (__ieee754_pow): Generate overflow and underflow using huge*huge
13097 and tiny*tiny rather than just returning constant infinity or zero
13098 for large exponents.
13099 * math/libm-test.inc (pow_test): Require overflow exceptions for
13100 applicable cases of large exponents.
13101
c483f6b4
JM
13102 [BZ #706]
13103 * sysdeps/i386/fpu/e_pow.S (p10): New object.
13104 (__ieee754_pow): Use iterative multiplication algorithm only for
13105 integer exponents with absolute value below 1024. Check for odd
13106 integer exponents when using algorithm for real exponents.
13107 * math/libm-test.inc (pow_test): Add more tests.
13108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13109
d2de7579
JM
131102012-04-08 Joseph Myers <joseph@codesourcery.com>
13111
13112 [BZ #13705]
13113 * math/libm-test.inc (exp_test): Do not allow overflow exception
13114 on underflow test.
13115
f77f1232
AJ
131162012-04-08 Aurelien Jarno <aurelien@aurel32.net>
13117
13118 [BZ #13705]
13119 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
13120 instead of __kernel_standard_f.
13121
3884932b
MF
131222012-04-08 Mike Frysinger <vapier@gentoo.org>
13123
13124 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
13125 * sysdeps/x86_64/memset_chk.S: Likewise.
13126
54472e9c
AJ
131272012-04-08 Andreas Jaeger <aj@suse.de>
13128
6ab0fbfc
AJ
13129 [BZ #10153]
13130 * manual/startup.texi (Environment Access): Describe return value
13131 for putenv and setenv.
13132
61efba8c
AJ
13133 [BZ #6895]
13134 * manual/filesys.texi (Directory Entries): Add description for
13135 DT_LNK.
13136
95c3f29a
AJ
13137 [BZ #6890]
13138 * manual/filesys.texi (Directory Entries): Clarify that it's file
13139 system not operating system in the description of DT_UNKNOWN.
13140
54472e9c
AJ
13141 [BZ #6578]
13142 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13143
624254b1
SC
131442012-04-08 Stephen Compall <s11@member.fsf.org>
13145
13146 [BZ #6649]
13147 * manual/llio.texi (Opening and Closing Files): Add cross
13148 reference to explain mode argument.
13149
1e4920e0
MF
131502012-04-07 Mike Frysinger <vapier@gentoo.org>
13151
13152 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
13153 * sysdeps/x86_64/memset_chk.S: Likewise.
13154
5ed848f3
DM
131552012-04-07 David S. Miller <davem@davemloft.net>
13156
13157 * elf/elf.h (R_SPARC_WDISP10): Define.
13158 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
13159 R_SPARC_SIZE32.
13160 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
13161 R_SPARC_SIZE64 and R_SPARC_H34.
13162
96154cd8
CD
131632012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
13164
13165 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
13166 conditions and remove no longer applicable assertion.
13167
9904dc47
L
131682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13169
13170 * bits/byteswap.h: Include <features.h>.
13171 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
13172 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
13173
f8887d0a
L
131742012-04-06 H.J. Lu <hongjiu.lu@intel.com>
13175
13176 * bits/byteswap.h (__bswap_16): Removed.
13177 Include <bits/byteswap-16.h> to get __bswap_16.
13178 * sysdeps/i386/bits/byteswap.h: Likewise.
13179 * sysdeps/s390/bits/byteswap.h: Likewise.
13180 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13181 * bits/byteswap-16.h: New file.
13182 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13183 * sysdeps/s390/bits/byteswap-16.h: Likewise.
13184 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
13185 * string/Makefile (headers): Add bits/byteswap-16.h.
13186
62470f60
PP
131872012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13188
13189 [BZ #13895]
13190 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
13191 extra indirection.
13192 * nss/Makefile (tests-static, tests): Add tst-nss-static.
13193 * nss/tst-nss-static.c: New.
13194
4dad7bab
RM
131952012-04-06 Robert Millan <rmh@gnu.org>
13196
13197 [BZ #6486]
13198 * manual/llio.texi (File Position Primitive): lseek
13199 refers to WHENCE when it really means OFFSET.
13200
e9142a17
AJ
132012012-04-06 Andreas Jaeger <aj@suse.de>
13202
2c040eff
AJ
13203 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
13204 strncmp declarations.
13205
e9142a17
AJ
13206 * abilist/libc.abilist: Add __poll and __ppoll.
13207
ff9f1c5f
DM
132082012-04-05 David S. Miller <davem@davemloft.net>
13209
dcd2ae90
DM
13210 * scripts/check-local-headers.sh: Accept a host triplet in the
13211 path matched by the exclude regexp.
13212
993eb054
DM
13213 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
13214 definition.
13215 * sysdeps/powerpc/powerpc32/dl-machine.h
13216 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
13217 * sysdeps/s390/s390-32/dl-machine.h
13218 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13219 * sysdeps/sparc/sparc32/dl-machine.h
13220 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13221 * sysdeps/sparc/sparc64/dl-machine.h
13222 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
13223
ff9f1c5f
DM
13224 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
13225 lazy binding.
48e2e132 13226 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
13227 undefined symbol errors.
13228
48e2e132 13229 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
13230 DT_NEEDED entries.
13231
e80d6f94
MM
132322012-04-05 Michael Matz <matz@suse.de>
13233
13234 [BZ #13592]
13235 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
13236
349fa79f
AJ
132372012-04-05 Andreas Jaeger <aj@suse.de>
13238
13239 [BZ #13908]
13240 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
13241 comment.
13242
f402708f
KK
132432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13244
13245 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
13246 which ROUND is no valid rounding mode.
13247
2ecccfc9
KK
132482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13249
13250 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
13251 read again.
13252 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
13253
8a53f50f
KK
132542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13255
13256 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
13257 an exception using FPU order intentionally.
13258
132592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13260
13261 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
13262 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
13263 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
13264 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
13265
d653abb7
SJ
132662012-04-05 Simon Josefsson <simon@josefsson.org>
13267
13268 [BZ #12340]
13269 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
13270 EINVAL when BUFLEN is too smal.
13271
c3b1bf7d
TS
132722012-04-05 Thomas Schwinge <thomas@codesourcery.com>
13273
13274 [BZ #13553]
13275 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
13276 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
13277
b1aa60f3
AJ
132782012-04-03 Andreas Jaeger <aj@suse.de>
13279
c3b1bf7d 13280 [BZ #13938]
67f60a26
AJ
13281 * manual/setjmp.texi (System V contexts): Fix sentence.
13282
b1aa60f3
AJ
13283 [BZ #13926]
13284 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
13285 New macro for this case.
13286 [!__GNUC__] (__bswap_64): New inline function for this case.
13287 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13288 * bits/byteswap.h: Likewise.
13289 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
13290 ull, guard with __GLIBC_HAVE_LONG_LONG.
13291
13292 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
13293 __GLIBC_HAVE_LONG_LONG.
13294
13295 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
13296 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
13297
39c59c35
TMQMF
132982012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13299
13300 [BZ #13691]
13301 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
13302 inptr and inend, rather than using last_ch.
13303
135ffda8
DM
133042012-04-02 David S. Miller <davem@davemloft.net>
13305
13306 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
13307 * stdio-common/printf-parse.h (read_int): Change return type to
13308 'int', return -1 on INT_MAX overflow.
13309 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
13310 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
13311 overflows INT_MAX. Check for overflow of in-format-string precision
13312 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
13313 SIZE_MAX not INT_MAX for integer overflow test.
13314 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
13315 skip the construct in the format string but do not record anything.
13316 * stdio-common/bug22.c: Adjust to test both width/prevision
13317 INT_MAX overflow as well as total length INT_MAX overflow. Check
13318 explicitly for proper errno values.
13319
228c019e
TS
133202012-04-02 Thomas Schwinge <thomas@codesourcery.com>
13321
302cadd3
TS
13322 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
13323 CHAR_MAX.
13324 * string/test-strcmp.c [! WIDE]: Likewise.
13325 * time/tst-mktime2.c: Likewise for INT_MAX.
13326 * string/test-string.h: #include <sys/param.h> for MIN.
13327
228c019e
TS
13328 * csu/init-first.c (__libc_init_first): Call __ctype_init.
13329 * sysdeps/i386/init-first.c (init): Likewise.
13330 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
13331 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
13332 * sysdeps/sh/init-first.c (init): Likewise.
13333
cfa633f5
UD
133342012-04-01 Ulrich Drepper <drepper@gmail.com>
13335
13336 * po/ru.po: Update from translation team.
d1635ef8 13337 * po/vi.po: Likewise.
cfa633f5 13338
6cd0a5ea
SP
133392012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13340
13341 * resolv/nss_dns/dns-host.c: Merge copyright years.
13342
4b43400f
LD
133432012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13344
13345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13346 Optimize memcpy with prefetch if
13347 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
13348 src, dst pointers have unequal 16 byte alignments.
13349
48c41d04
SP
133502012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13351
13352 [BZ #13928]
13353 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
13354 from a CNAME entry and return the minimum ttl for the query.
13355 (gaih_getanswer_slice): Likewise.
13356
b8dc394d
JL
133572012-03-30 Jeff Law <law@redhat.com>
13358
13359 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
13360 due to long keys.
13361 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13362 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13363
2f5a5ed0
JL
13364 * resolv/nss_dns/dns-host.c: Update copyright year.
13365
1d39e359
UD
133662012-03-30 Ulrich Drepper <drepper@gmail.com>
13367
c030f70c 13368 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 13369 requests to save a system call. Fix check that all bytes are sent.
c030f70c 13370
1d39e359
UD
13371 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
13372 comments for sendmmsg.
13373
133742012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
13375
13376 [BZ #13691]
13377 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
13378 with only 1 character between 0x0041 and 0x01b0.
13379 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
13380 * wcsmbs/tst-mbsnrtowcs.c: New file.
13381
20fde227
DM
133822012-03-29 David S. Miller <davem@davemloft.net>
13383
13384 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
13385 small copies by hand.
13386
984a4237
JL
133872012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13388
13389 [BZ #13761]
13390 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
13391 _nss_compat_initgroups_dyn): Fall back to malloc/free
13392 for large group memberships.
13393
18c9d62b
DM
133942012-03-28 David S. Miller <davem@davemloft.net>
13395
88d85d4f
DM
13396 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
13397 that branches into memcpy.
13398 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
13400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13401 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
13402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
13403 bits.
13404 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
13405 implementation too.
13406 * sysdeps/sparc/mempcpy.S: New file.
13407
e5aa83e1
DM
13408 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
13409 the IFUNC routine in the libc case.
13410 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
13411
88570753
DM
13412 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
13413 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
13414 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
13415 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
13416 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
13417 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
13418 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
13419 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
13420
249d7567
DM
13421 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
13422 loop to 256 bytes instead of 64 bytes and fix test signedness.
13423
18c9d62b
DM
13424 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
13425 * sysdeps/sparc/sparc32/Makefile: rather than here...
13426 * sysdeps/sparc/sparc64/Makefile: and here.
13427
05f3d1f6
UD
134282012-03-28 Ulrich Drepper <drepper@gmail.com>
13429
13430 * malloc/mallocbug.c: Avoid warnings about unused variables.
13431
86ae07a8
JL
134322012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13433
13434 [BZ #13760]
13435 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
13436 in the right place. Discard and retry query if response is
13437 larger than input buffer size.
13438
41bf21a1
JM
134392012-03-28 Joseph Myers <joseph@codesourcery.com>
13440
d6270972
JM
13441 [BZ #369]
13442 [BZ #2678]
13443 [BZ #3866]
13444 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
13445 x for large integer exponent.
13446 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13447 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
13448 sign of result as needed afterwards.
13449 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13450 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
13451 result for underflowing pow the same as for overflow.
13452 (__kernel_standard_l): Handle powl overflow and underflow here
13453 rather than calling __kernel_standard.
13454 * math/libm-test.inc (pow_test): Add more tests.
13455
414fca03 13456 [BZ #3868]
41bf21a1
JM
13457 [BZ #13879]
13458 [BZ #13910]
13459 [BZ #13911]
13460 [BZ #13912]
13461 [BZ #13913]
13462 [BZ #13915]
13463 [BZ #13916]
13464 [BZ #13917]
13465 [BZ #13918]
13466 [BZ #13919]
13467 [BZ #13920]
13468 [BZ #13921]
13469 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
13470 * sysdeps/ieee754/k_standard.c: Include <float.h>.
13471 (__kernel_standard_l): New function.
13472 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
13473 __kernel_standard.
13474 * math/w_acosl.c (__acosl): Likewise.
13475 * math/w_asinl.c (__asinl): Likewise.
13476 * math/w_atan2l.c (__atan2l): Likewise.
13477 * math/w_atanhl.c (__atanhl): Likewise.
13478 * math/w_coshl.c (__coshl): Likewise.
13479 * math/w_exp10l.c (__exp10l): Likewise.
13480 * math/w_exp2l.c (__exp2l): Likewise.
13481 * math/w_fmodl.c (__fmodl): Likewise.
13482 * math/w_hypotl.c (__hypotl): Likewise.
13483 * math/w_j0l.c (__j0l, __y0l): Likewise.
13484 * math/w_j1l.c (__j1l, __y1l): Likewise.
13485 * math/w_jnl.c (__jnl, __ynl): Likewise.
13486 * math/w_lgammal.c (__lgammal): Likewise.
13487 * math/w_log10l.c (__log10l): Likewise.
13488 * math/w_log2l.c (__log2l): Likewise.
13489 * math/w_logl.c (__logl): Likewise.
13490 * math/w_powl.c (__powl): Likewise.
13491 * math/w_remainderl.c (__remainderl): Likewise.
13492 * math/w_scalbl.c (sysv_scalbl): Likewise.
13493 * math/w_sinhl.c (__sinhl): Likewise.
13494 * math/w_sqrtl.c (__sqrtl): Likewise.
13495 * math/w_tgammal.c (__tgammal): Likewise.
13496 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
13497 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
13498 * math/libm-test.inc (acos_test): Add more tests.
13499 (acosh_test): Likewise.
13500 (asin_test): Likewise.
13501 (atanh_test): Likewise.
13502 (exp_test): Likewise.
13503 (exp10_test): Likewise.
13504 (exp2_test): Likewise.
13505 (expm1_test): Likewise.
13506 (lgamma_test): Likewise.
13507 (log_test): Likewise.
13508 (log10_test): Likewise.
13509 (log1p_test): Likewise.
13510 (log2_test): Likewise.
13511 (pow_test): Do not allow some spurious overflow exceptions.
13512 (sqrt_test): Add more tests.
13513 (tgamma_test): Likewise.
13514 (y0_test): Likewise.
13515 (y1_test): Likewise.
13516 (yn_test): Likewise.
13517
dd62fda6
AB
135182012-03-27 Anton Blanchard <anton@samba.org>
13519
13520 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
13521 MAP_HUGETLB.
13522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
13523 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
13524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
13525
1e3cdfda
AJ
135262012-03-27 David S. Miller <davem@davemloft.net>
13527
b855ab85
DM
13528 * conform/Makefile: Run run-conformtest.sh using $(BASH).
13529
1e3cdfda
AJ
13530 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
13531 have-as-vis3 check.
13532
135332012-03-27 Andreas Jaeger <aj@suse.de>
13534
13535 * sysdeps/x86_64/elf/configure.in: Moved to ...
13536 * sysdeps/x86_64/configure.in: ... here.
13537 * sysdeps/x86_64/elf/start.S: Moved to ...
13538 * sysdeps/x86_64/start.S: ... here.
13539 * sysdeps/x86_64/elf/configure: Delete.
13540
13541 * sysdeps/x86_64/configure.in: Merge contents from
13542 sysdeps/i386/configure.in (without i686 check).
13543
13544 * sysdeps/i386/elf/Versions: Merge into ...
13545 * sysdeps/i386/Versions: ... this.
13546 * sysdeps/i386/elf/Versions: Delete file.
13547 * sysdeps/i386/elf/start.S: Moved to ...
13548 * sysdeps/i386/start.S: ...here.
13549 * sysdeps/i386/elf/configure.in: Merge into...
13550 * sysdeps/i386/configure.in: ...here.
13551 * sysdeps/i386/elf/configure.in: Delete file.
13552 * sysdeps/i386/elf/configure: Delete file.
13553
13554 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13555 * debug/backtracesyms.c: ... here.
13556 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13557 * debug/backtracesymsfd.c: ... here.
13558 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13559 * sysdeps/generic/ifunc-sel.h: ... here.
13560
13561 * sysdeps/unix/i386/start.c: Delete file.
13562 * sysdeps/unix/sparc/start.c: Delete file.
13563 * sysdeps/unix/start.c: Delete file.
13564
13565 * sysdeps/sh/elf/configure.in: Moved to ...
13566 * sysdeps/sh/configure.in: ... here.
13567 * sysdeps/sh/elf/start.S: Moved to ...
13568 * sysdeps/sh/start.S: ... here.
13569 * sysdeps/sh/elf/configure: Delete file.
13570
13571 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13572 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13573 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13574 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13575 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13576 * sysdeps/powerpc/powerpc64/start.S: here.
13577 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13578 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13579 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13580 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13581 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13582
13583 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13584 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13585 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13586 * sysdeps/powerpc/powerpc32/start.S: ... here.
13587 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13588 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13589 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13590
13591 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13592 * sysdeps/powerpc/ifunc-sel.h: ... here.
13593 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13594 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13595
13596 * sysdeps/sparc/elf/configure.in: Moved to ...
13597 * sysdeps/sparc/configure.in: ... here.
13598 * sysdeps/sparc/elf/configure: Delete file.
13599 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13600 * sysdeps/sparc/sparc32/start.S: ... here.
13601 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13602 * sysdeps/sparc/sparc64/start.S: ... here.
13603 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13604 * sysdeps/sparc/sparc32/Makefile: ... this.
13605 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13606 * sysdeps/sparc/sparc64/Makefile: ... this.
13607
13608 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13609 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13610 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13611 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13612 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13613 * sysdeps/s390/s390-32/setjmp.S: ... here.
13614 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13615 * sysdeps/s390/s390-32/configure.in: ... here.
13616 * sysdeps/s390/s390-32/elf/configure: Delete file.
13617 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13618 * sysdeps/s390/s390-32/start.S: ... here.
13619
13620 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13621 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13622 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13623 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13624 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13625 * sysdeps/s390/s390-64/setjmp.S: ... here.
13626 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13627 * sysdeps/s390/s390-64/configure.in: ... here
13628 * sysdeps/s390/s390-64/elf/configure: Delete file.
13629 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13630 * sysdeps/s390/s390-64/start.S: ... here.
13631 * sysdeps/s390/s390-64/elf/configure: Delete.
13632
13633 * configure.in: Remove support for elf directories in sysdeps.
13634
13635 * configure: Regenerated.
13636 * sysdeps/i386/configure: Regenerated.
13637 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13638 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13639 * sysdeps/s390/s390-32/configure: Regenerated.
13640 * sysdeps/s390/s390-64/configure: Regenerated.
13641 * sysdeps/sh/configure: Regenerated.
13642 * sysdeps/sparc/configure: Regenerated.
13643 * sysdeps/x86_64/configure: Regenerated.
13644
a3f61311
AS
136452012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13646
c876e002
AS
13647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13648
a3f61311
AS
13649 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13650 denormal result into account.
13651
ac4c54f0
RM
136522012-03-25 Roland McGrath <roland@hack.frob.com>
13653
13654 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13655 Reported by Allan McRae <allan@archlinux.org>.
13656
6a9b9c02
JL
136572012-03-23 Jeff Law <law@redhat.com>
13658
13659 * nss/getnssent.c (__nss_getent): Fix typo.
13660
4c42a0c1
DM
136612012-03-23 David S. Miller <davem@davemloft.net>
13662
13663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13664
1532c7ac
L
136652012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13666
13667 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13668 to pad to uint64_t for each field.
13669 (dl_tls_index): Replace unsigned long with uint64_t.
13670
3ff42526
PP
136712012-03-23 Daniel Jacobowitz <dmj@google.com>
13672 Paul Pluzhnikov <ppluzhnikov@google.com>
13673
13674 [BZ #6528]
13675 * grp/Makefile (otherlibs): Don't set it.
13676 * inet/Makefile (otherlibs): Likewise.
13677 * login/Makefile (otherlibs): Likewise.
13678 * nscd/Makefile (otherlibs): Likewise.
13679 * posix/Makefile (otherlibs): Likewise.
13680 * pwd/Makefile (otherlibs): Likewise.
13681 * rt/Makefile (otherlibs): Likewise.
13682 * sunrpc/Makefile (otherlibs): Likewise.
13683 * nss/Makefile (otherlibs): Likewise.
13684 Add libnss_files to routines and static-only-routines.
13685 ($(objpfx)getent): Remove rule.
13686 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13687 static-only-routines.
13688
7c69cd14
JM
136892012-03-22 Joseph Myers <joseph@codesourcery.com>
13690
13691 [BZ #13892]
13692 * math/s_cexp.c: Include <float.h>.
13693 (__cexp): Handle exp result overflowing not necessarily
13694 overflowing both real and imaginary parts of result.
13695 * math/s_cexpf.c: Likewise.
13696 * math/s_cexpl.c: Likewise.
13697 * math/libm-test.inc (cexp_test): Add more tests.
13698 * sysdeps/i386/fpu/libm-test-ulps: Update.
13699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13700
81b035fe
L
137012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13702
13703 * include/link.h (ELFW): New macro.
13704 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13705 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13706
1da7940c
L
137072012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13708
13709 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13710 with uint64_t.
13711
b749dbb9
L
137122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13713
13714 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13715 declaration.
13716 (struct La_x32_retval): Likewise.
13717
2ff87f3f
L
137182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13719
13720 * sysdeps/x86_64/preconfigure.in: New file.
13721 * sysdeps/x86_64/preconfigure: New generated file.
13722
c0df8e69
JM
137232012-03-22 Joseph Myers <joseph@codesourcery.com>
13724
48e44791
JM
13725 [BZ #13824]
13726 * math/e_exp2l.c: Include <float.h>.
13727 (__ieee754_exp2l): Handle overflow and underflow cases
13728 separately. Only pass fractional part of argument to
13729 __ieee754_expl.
13730 * math/libm-test.inc (exp2_test): Add more tests.
13731
c0df8e69
JM
13732 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13733 negating x to take absolute value.
13734 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13735 Likewise.
13736 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13738 Likewise.
13739 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13740 computing low part if x was negated.
13741 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13742
c8e43ba7
L
137432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13744
13745 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13746 la_x32_gnu_pltexit.
13747 (pltexit): Cast int_retval to ptrdiff_t.
13748 * elf/tst-auditmod3b.c: Likewise.
13749 * elf/tst-auditmod4b.c: Likewise.
13750 * elf/tst-auditmod5b.c: Likewise.
13751 * elf/tst-auditmod6b.c: Likewise.
13752 * elf/tst-auditmod6c.c: Likewise.
13753 * elf/tst-auditmod7b.c: Likewise.
13754
13755 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13756 and x32_gnu_pltexit.
13757
13758 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13759 __ELF_NATIVE_CLASS.
13760 (La_x32_regs): New macro.
13761 (La_x32_retval): Likewise.
13762 (la_x32_gnu_pltenter): New function prototype.
13763 (la_x32_gnu_pltexit): Likewise.
13764
7998fa78
AS
137652012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13766
dcb33988
AS
13767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13768 exponent.
13769
233fc563
AS
13770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13771
7998fa78
AS
13772 * configure.in (libc_cv_cc_nofma): Check for option to disable
13773 generation of FMA instructions.
13774 * configure: Regenerate.
13775 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13776 * sysdeps/ieee754/dbl-64/Makefile: New file.
13777 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13778 Remove brandred-fma4.
13779 (CFLAGS-brandred-fma4.c): Remove.
13780 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13781 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13782 define.
13783 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13784 define.
13785
8e95c99a
L
137862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13787
13788 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13789 LLONG_MAX != LONG_MAX.
13790 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13791 (_fitoa_word): Likewise.
13792 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13793 LLONG_MAX != LONG_MAX.
13794 * stdio-common/_itowa.h: Include <_itoa.h>.
13795 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13796 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13797 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13798 only if not defined.
13799 (_ITOA_WORD_TYPE): Likewise.
13800 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13801 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13802
6f4db457
DM
138032012-03-21 David S. Miller <davem@davemloft.net>
13804
13805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13806
7785fe5a
L
138072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13808
13809 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13810 of x86_64 when setting libc_cv_slibdir, libdir and
13811 libc_cv_localedir.
13812 * sysdeps/unix/sysv/linux/configure: Regenerated.
13813
4535cd55
JM
138142012-03-21 Joseph Myers <joseph@codesourcery.com>
13815
13816 * manual/lang.texi (Old Varargs): Remove section.
13817 (How Variadic): Update menu.
13818 (va_start): Do not mention varargs.h.
13819
17228132
TS
138202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13821 Joseph Myers <joseph@codesourcery.com>
13822
13823 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13824 link test.
13825 * configure: Regenerated.
13826
8149f976
TS
138272012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13828
05f3d1f6
UD
13829 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13830 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13831 conformtest.pl
8149f976 13832
1a4ac776
JM
138332012-03-21 Joseph Myers <joseph@codesourcery.com>
13834
be22ce65
JM
13835 * NOTES: Remove.
13836 * Makefile (files-for-dist): Remove NOTES.
13837 (NOTES): Remove rule.
13838 * README: Don't refer to NOTES.
13839 * manual/creature.texi: Don't include macros.texi.
13840 * manual/intro.texi (creature.texi): Remove comment referring to
13841 NOTES.
13842
40b601fb
JM
13843 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13844 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13845 * configure: Regenerated.
13846 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13847 LIBC_TRY_CC_OPTION.
13848 (libc_cv_as_i686): Likewise.
13849 (libc_cv_cc_avx): Likewise.
13850 (libc_cv_cc_sse2avx): Likewise.
13851 (libc_cv_cc_fma4): Likewise.
13852 (libc_cv_cc_novzeroupper): Likewise.
13853 * sysdeps/i386/configure: Regenerated.
13854
1a4ac776
JM
13855 [BZ #13883]
13856 * sysdeps/i386/fpu/s_cexp.S: Remove.
13857 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13859 * math/libm-test.inc (cexp_test): Add more tests.
13860 * sysdeps/i386/fpu/libm-test-ulps: Update.
13861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13862
a458e7fe
AM
138632012-03-21 Allan McRae <allan@archlinux.org>
13864
13865 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13866
0cb7efc5
JM
138672012-03-21 Joseph Myers <joseph@codesourcery.com>
13868
13869 [BZ #13871]
13870 * math/w_exp2.c: Do not include <float.h>.
13871 (o_threshold, u_threshold): Remove.
13872 (__exp2): Calculate result before checking finiteness and calling
13873 __kernel_standard.
13874 * math/w_exp2f.c: Likewise.
13875 * math/w_exp2l.c: Likewise.
13876 * math/libm-test.inc (exp2_test): Require overflow exception for
13877 1e6 input.
2460d3aa
JM
13878
13879 [BZ #3866]
13880 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13881 range of signed 64-bit integers before using fistpll. Remove
13882 checks for whether integers fit in mantissa bits.
13883 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13884 the range of signed 32-bit integers before using fistpl. Remove
13885 checks for whether integers fit in mantissa bits.
13886 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13887 (__ieee754_powl): Test for y outside the range of signed 64-bit
13888 integers before using fistpll. Reduce 64-bit values to 63-bit
13889 ones as needed.
13890 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13891 divide-by-zero is raised for zero to large negative powers.
13892 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13893 (__ieee754_powl): Test for y outside the range of signed 64-bit
13894 integers before using fistpll. Reduce 64-bit values to 63-bit
13895 ones as needed.
13896 * math/libm-test.inc (pow_test): Add more tests.
13897
eb96ffb0
L
138982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13899
13900 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13901 <stdio-common/_itoa.h>.
13902 * debug/segfault.c: Likewise.
13903 * elf/dl-cache.c: Likewise.
13904 * elf/dl-minimal.c: Likewise.
13905 * elf/dl-misc.c: Likewise.
13906 * elf/dl-sysdep.c: Likewise.
13907 * elf/dl-version.c: Likewise.
13908 * elf/rtld.c: Likewise.
13909 * hurd/hurdsock.c: Likewise.
13910 * hurd/lookup-retry.c: Likewise.
13911 * malloc/malloc.c: Likewise.
13912 * malloc/mtrace.c: Likewise.
13913 * nscd/nscd_getgr_r.c: Likewise.
13914 * nscd/nscd_getpw_r.c: Likewise.
13915 * nscd/nscd_getserv_r.c: Likewise.
13916 * posix/getopt_init.c: Likewise.
13917 * posix/wordexp.c: Likewise.
13918 * stdio-common/_itoa.c: Likewise.
13919 * stdio-common/printf_fphex.c: Likewise.
13920 * stdio-common/vfprintf.c: Likewise.
13921 * string/_strerror.c: Likewise.
13922 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13923 * sysdeps/i386/i686/hp-timing.h: Likewise.
13924 * sysdeps/mach/_strerror.c: Likewise.
13925 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13926 * sysdeps/mach/hurd/sethostid.c: Likewise.
13927 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13928 * sysdeps/mach/xpg-strerror.c: Likewise.
13929 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13931 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13932 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13933 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13934 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13935 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13936 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13937 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13938 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13939 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13940 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13941 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13942 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13943 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13944 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13945 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13946 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13947 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13948 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13949 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13950
13951 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13952
13953 * stdio-common/_itoa.h: Moved to ...
13954 * sysdeps/generic/_itoa.h: Here.
13955
13956 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13957
13958 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13959 instead of "_itoa.h" and "_itowa.h".
13960 * stdio-common/vfprintf.: Likewise.
13961
d1af992d
L
139622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13963
13964 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13965 <bits/wordsize.h>.
13966 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13967 (__signbit): Likwise.
13968 (llrintf): Likwise.
13969 (llrint): Likwise.
13970
114883e0
L
139712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13972
13973 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13974 __WORDSIZE != 64.
13975
c135cc1b
JM
139762012-03-20 Joseph Myers <joseph@codesourcery.com>
13977
13978 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13979 OVERFLOW_EXCEPTION_OK.
13980 * math/libm-test.inc ("Philosophy"): Update comment about
13981 exception testing.
13982 (OVERFLOW_EXCEPTION): Define.
13983 (OVERFLOW_EXCEPTION_OK): Likewise.
13984 (INVALID_EXCEPTION_OK): Renumber.
13985 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13986 (IGNORE_ZERO_INF_SIGN): Likewise.
13987 (test_exceptions): Handle FE_OVERFLOW.
13988 (exp10_test): Expect overflow exceptions.
13989 (exp2_test): Likewise.
13990 (expm1_test): Likewise.
13991 (nextafter_test): Likewise.
13992 (pow_test): Likewise.
13993 (scalbn_test): Likewise.
13994 (scalbln_test): Likewise.
13995
95443d88
L
139962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13997
13998 * sysdeps/x86_64/bits/atomic.h
13999 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
14000 64bit integer.
14001 (atomic_exchange_acq): Likewise.
14002 (__arch_exchange_and_add_body): Likewise.
14003 (__arch_add_body): Likewise.
14004 (atomic_add_negative): Likewise.
14005 (atomic_add_zero): Likewise.
14006
490df6c4
L
140072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14008
c2722551 14009 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
14010 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
14011
5e52b189
L
140122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14013
14014 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
14015 Check __x86_64__ instead of __WORDSIZE.
14016
a9879d4c
L
140172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14018
14019 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
14020
5df98260
DM
140212012-03-19 David S. Miller <davem@davemloft.net>
14022
e1497744
DM
14023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14024
5df98260
DM
14025 * sysdeps/sparc/fpu/fenv_private.h: New file.
14026 * sysdeps/sparc/fpu/math_private.h: Use it.
14027 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
14028 Remove.
14029 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
14030 (libc_feholdexcept_setroundl): Remove.
14031 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
14032 Remove.
14033 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
14034 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
14035
b4c35121
L
140362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14037
14038 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
14039 int64_t instead of long int.
14040 (INSERT_WORDS64): Likwise.
14041
56965fd7
L
140422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
14043
14044 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
14045 _Unwind_GetCFA return to _Unwind_Ptr first.
14046
83d1aec8
JM
140472012-03-19 Joseph Myers <joseph@codesourcery.com>
14048
1897ad44
JM
14049 [BZ #13629]
14050 * math/s_clog.c: Include <float.h>.
14051 (__clog): Scale large or subnormal inputs.
14052 * math/s_clogf.c: Likewise.
14053 * math/s_clogl.c: Likewise.
14054 * math/s_clog10.c: Include <float.h>.
14055 (M_LOG10_2): Define.
14056 (__clog10): Scale large or subnormal inputs.
14057 * math/s_clog10f.c: Likewise.
14058 * math/s_clog10l.c: Likewise.
14059 * math/libm-test.inc (clog_test): Add more tests.
14060 (clog10_test): Likewise.
14061 * sysdeps/i386/fpu/libm-test-ulps: Update.
14062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14063
7726d6a9
JM
14064 [BZ #11451]
14065 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
14066 x and y.
14067 * math/libm-test.inc (atan2_test): Add another test.
14068
83d1aec8
JM
14069 * Makerules (common-objdir-compile): Remove.
14070 * sysdeps/unix/Makefile (config-generated): Do not add
14071 $(unix-generated) to variable.
14072 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
14073 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
14074 Remove rule.
14075 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
14076 Likewise.
14077 [generic bits/local_lim.h] (before-compile): Do not append to
14078 variable.
14079 [generic bits/local_lim.h] (common-generated): Likewise.
14080 [generic sys/param.h] (before-compile): Do not append to variable.
14081 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
14082 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
14083 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
14084 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
14085 include.
14086 [generic sys/param.h] (sys/param.h-includes): Remove variable.
14087 [generic sys/param.h] (sys/param.h-includes): Remove rule.
14088 [generic sys/param.h] ($(addprefix
14089 $(common-objpfx),$(sys/param.h-includes))): Likewise.
14090 [generic sys/param.h] (common-generated): Do not append to
14091 variable.
14092 [generic sys/param.h] (sysdep_headers): Likewise.
14093 [generic bits/errno.h] (before-compile): Do not append to
14094 variable.
14095 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
14096 rule.
14097 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
14098 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
14099 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
14100 [generic bits/errno.h] (common-generated): Do not append to
14101 variable.
14102 [generic bits/ioctls.h] (before-compile): Do not append to
14103 variable.
14104 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
14105 rule.
14106 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
14107 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
14108 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
14109 rule.
14110 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
14111 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
14112 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
14113 [generic bits/ioctls.h] (common-generated): Do not append to
14114 variable.
14115 [generic sys/syscall.h] (syscall.h): Remove variable.
14116 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
14117 rule.
14118 [generic sys/syscall.h] (before-compile): Do not append to
14119 variable.
14120 [generic sys/syscall.h] (common-generated): Likewise.
14121 * sysdeps/unix/errnos-tmpl.c: Remove file.
14122 * sysdeps/unix/errnos.awk: Likewise.
14123 * sysdeps/unix/ioctls-tmpl.c: Likewise.
14124 * sysdeps/unix/ioctls.awk: Likewise.
14125 * sysdeps/unix/mk-local_lim.c: Likewise.
14126 * sysdeps/unix/snarf-ioctls: Likewise.
14127
4851a949
RH
141282012-03-19 Richard Henderson <rth@twiddle.net>
14129
bd37f2ee
RH
14130 * sysdeps/i386/fpu/fenv_private.h: New file.
14131 * sysdeps/i386/fpu/math_private.h: Use it.
14132 (math_opt_barrier, math_force_eval): Remove.
14133 (libc_feholdexcept_setround_53bit): Remove.
14134 (libc_feupdateenv_53bit): Remove.
14135 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14136 (math_opt_barrier, math_force_eval): Remove.
14137 (libc_feholdexcept): Remove.
14138 (libc_feholdexcept_setround): Remove.
14139 (libc_fetestexcept, libc_fesetenv): Remove.
14140 (libc_feupdateenv_test): Remove.
14141 (libc_feupdateenv, libc_feholdsetround): Remove.
14142 (libc_feresetround): Remove.
14143
d0adc922
RH
14144 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
14145 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14146
0fe0f1f8
RH
14147 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
14148 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
14149 (libc_feupdateenv_testl): New.
14150 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
14151 (libc_feupdateenv_testf): New.
14152 (libc_feupdateenv): Use libc_feupdateenv_test.
14153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
14154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
14155
eb92c487
RH
14156 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
14157 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14158 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
14159 (libc_feresetround_noex): New.
14160 (libc_feresetround_noexf): New.
14161 (libc_feresetround_noexl): New.
14162 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
14163 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
14164 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
14165 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
14166 SET_RESTORE_ROUND.
14167 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14168 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
14169 (__cos): Likewise.
14170 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
14171 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14172 SET_RESTORE_ROUND_NOEX.
14173 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
14174 SET_RESTORE_ROUND_NOEXF.
14175 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
14176 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
14177 (libc_feholdsetroundf): New.
14178 (libc_feresetround, libc_feresetroundf): New.
14179
7d2e8012
RH
14180 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
14181 (libc_feholdexcept_setround_53bit): Convert from macro to function.
14182 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
14183
b4dabbb4
RH
14184 * sysdeps/generic/math_private.h: Include <fenv.h>.
14185 (default_libc_feholdexcept): New.
14186 (default_libc_feholdexcept_setround): New.
14187 (default_libc_fesetenv, default_libc_feupdateenv): New.
14188 (libc_feholdexcept): Only define if undefined.
14189 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
14190 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
14191 (libc_feholdexcept_setroundl): Likewise.
14192 (libc_feholdexcept_setround_53bit): Likewise.
14193 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
14194 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
14195 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
14196 (libc_feupdateenv_53bit): Likewise.
14197 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
14198 (libc_feholdexcept): Convert from macro to inline function.
14199 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
14200 (libc_fesetenv, libc_feupdateenv): Likewise.
14201
4851a949
RH
14202 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
14203 not previously defined.
14204 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
14205 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
14206 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
14207 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
14208 * sysdeps/ieee754/flt-32/math_private.h: New file.
14209 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
14210 math_private.h below SET_FLOAT_WORD.
14211 (__isnan, __isinf_ns, __finite): Remove.
14212 (__isnanf, __isinf_nsf, __finitef): Remove.
14213
e79d442e
AS
142142012-03-18 Andreas Schwab <schwab@linux-m68k.org>
14215
14216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14217
90b80344
DM
142182012-03-17 David S. Miller <davem@davemloft.net>
14219
14220 [BZ #6471]
14221 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
14222 for 2.16.
14223
edc21804
DM
142242012-03-16 David S. Miller <davem@davemloft.net>
14225
77e927af
DM
14226 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
14227 warnings.
14228
374976dd
DM
14229 [BZ #6471]
14230 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
14231 properly.
14232 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
14233 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
14234 sysdep_routines when subdir is sysvipc.
14235 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
14236 __getshmlba helper.
14237
edc21804
DM
14238 * sysdeps/sparc/fpu/libm-test/ulps: Update.
14239
473c3ef3
L
142402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14241
14242 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
14243 [__LP64__].
14244
eb0f39b6
L
142452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14246
14247 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
14248 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
14249 (__lround): Renamed to ...
14250 (__llround): This. Replace long int with long long int.
14251 Define lround functions as aliases of llround functions.
14252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
14253
6b6cd74b
L
142542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14255
14256 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
14257 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14258 adresses to uintptr_t. Replace "long int" and "unsigned long
14259 int" with "greg_t" on va_arg.
14260
f1a77b01
L
142612012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14262
14263 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
14264 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
14265
14266 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
14267 Move e_machine check before EI_CLASS check. Handle x32
14268 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
14269 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
14270 SKIP_EM_IA_64 and include
14271 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
14272
14273 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
14274 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
14275 (add_system_dir): New macro.
14276
14277 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
14278 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
14279
11b90b9f
JM
142802012-03-16 Joseph Myers <joseph@codesourcery.com>
14281
c36e1d23
JM
14282 [BZ #2551]
14283 [BZ #2552]
14284 [BZ #2553]
14285 [BZ #2554]
14286 [BZ #2562]
14287 [BZ #2563]
14288 [BZ #2565]
14289 [BZ #2566]
14290 [BZ #2576]
14291 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
14292 (y0): Likewise.
14293 * math/w_j0f.c (j0f): Likewise.
14294 (y0f): Likewise.
14295 * math/w_j0l.c (__j0l): Likewise.
14296 (__y0l): Likewise.
14297 * math/w_j1.c (j1): Likewise.
14298 (y1): Likewise.
14299 * math/w_j1f.c (j1f): Likewise.
14300 (y1f): Likewise.
14301 * math/w_j1l.c (__j1l): Likewise.
14302 (__y1l): Likewise.
14303 * math/w_jn.c (jn): Likewise.
14304 (yn): Likewise.
14305 * math/w_jnf.c (jnf): Likewise.
14306 (ynf): Likewise.
14307 * math/w_jnl.c (__jnl): Likewise.
14308 (__ynl): Likewise.
14309 * math/libm-test.inc (j0_test): Add more tests.
14310 (j1_test): Likewise.
14311 (jn_test): Likewise. Add trailing semicolon to existing test.
14312 (y0_test): Likewise.
14313 (y1_test): Likewise.
14314 * sysdeps/i386/fpu/libm-test-ulps: Update.
14315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14316
11b90b9f
JM
14317 [BZ #13851]
14318 [BZ #13854]
14319 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14320 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
14321 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
14322 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
14323 (__tanl): Set errno for infinite argument.
14324 * sysdeps/i386/fpu/mptan.c: Remove.
14325 * sysdeps/i386/fpu/s_tan.S: Likewise.
14326 * sysdeps/i386/fpu/s_tanl.S: Likewise.
14327 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
14328 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
14329 * math/libm-test.inc (tan_test): Add more tests and enable more
14330 tests for double and long double.
14331 * sysdeps/i386/fpu/libm-test-ulps: Update.
14332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14333
6a1bd2a1
JK
143342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14335
14336 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
14337 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
14338
10a803e0
RM
143392012-03-16 Roland McGrath <roland@hack.frob.com>
14340
14341 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
14342 * configure.in: Use it for both main tree and add-ons.
14343 * configure: Regenerated.
14344
f196c7f7
L
143452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
14346
14347 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
14348
8848d99d
JM
143492012-03-16 Joseph Myers <joseph@codesourcery.com>
14350
96cbe7f4
JM
14351 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
14352 in comment.
14353
8848d99d
JM
14354 [BZ #13851]
14355 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
14356 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14358 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
14359 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
14360 infinite argument.
14361 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
14362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
14363 != 0 for prec == 2.
14364 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
14365 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
14366 * sysdeps/i386/fpu/s_cosl.S: Likewise.
14367 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
14368 * sysdeps/i386/fpu/s_sinl.S: Likewise.
14369 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
14370 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
14371 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
14372 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
14373 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
14374 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
14375 * math/libm-test.inc (cos_test): Add more tests and enable more
14376 tests for long double.
14377 (sin_test): Likewise.
14378 (sincos_test): Likewise.
14379 * sysdeps/i386/fpu/libm-test-ulps: Update.
14380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14381
dd7f4703
DM
143822012-03-16 David S. Miller <davem@davemloft.net>
14383
14384 * sysdeps/sparc/fpu/math_private.h: New file.
14385
006f1daa
DM
143862012-03-15 David S. Miller <davem@davemloft.net>
14387
c0c83bc8
DM
14388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
14389 file.
e6a62e18 14390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
14391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
14392 file.
e6a62e18
DM
14393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
14394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
14395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
14396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
14397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
14398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
14399 sysdep routines.
14400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14401
88cb87d9
DM
14402 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
14403 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
14404
006f1daa 14405 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
14406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
14407 sparc-ifunc.h
006f1daa 14408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
14409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
14410 Likewise.
14411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
14412 Likewise.
006f1daa
DM
14413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
14414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
14415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
14416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14417 Likewise.
006f1daa
DM
14418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
14420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
14422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
14423 Likewise.
14424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
14425 Likewise.
006f1daa
DM
14426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
14428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
14429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
14430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
14433 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
14434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
14437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
14438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
14439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
14440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
14441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
14442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
14443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
14444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
14445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
14446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
14447 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
14448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
14449 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
14450
11e0098e
AS
144512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14452
14453 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
14454 scaling.
14455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14456
e85b09d0
AJ
144572012-03-15 Andreas Jaeger <aj@suse.de>
14458
14459 [BZ #13852]
14460 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
14461 ieee754/flt-32 implementation for sin, cos and sincos.
14462 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
14463 * sysdeps/i386/fpu/s_cosf.S: Likewise.
14464 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
14465 * sysdeps/i386/fpu/s_sinf.S: Likewise.
14466 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
14467 ieee754/flt-32 implementation for tan.
14468
14469 * math/libm-test.inc (cos_test): Enable some large input tests for
14470 float as well
14471 (sin_test): Likewise.
14472 (sincos_test): Likewise.
14473 (tan_test): Add tests for large input.
14474
14475 * sysdeps/i386/fpu/libm-test-ulps: Update.
14476
81c64153
AJ
144772012-03-15 Andreas Jaeger <aj@suse.de>
14478
14479 [BZ #13658]
14480 * math/libm-test.inc (cos_test): Add more test cases.
14481 (sin_test): Likewise.
14482 (sincos_test): Likewise.
14483
7bbfa5c6
AJ
144842012-03-15 Andreas Jaeger <aj@suse.de>
14485
14486 [BZ #13837]
14487 * math/libm-test.inc (cos_test): Add a test case for large input
14488 value.
14489 (sin_test): Likewise.
14490 (sincos_test): Likewise.
14491
144922012-03-15 Andreas Jaeger <aj@suse.de>,
14493 Joseph Myers <joseph@codesourcery.com>
14494
14495 [BZ #13658]
0671f479 14496 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
14497 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
14498 * sysdeps/i386/fpu/branred.c: Likewise.
14499 * sysdeps/i386/fpu/dosincos.c: Likewise.
14500 * sysdeps/i386/fpu/mpa.c: Likewise.
14501 * sysdeps/i386/fpu/s_cos.S: Likewise.
14502 * sysdeps/i386/fpu/s_sin.S: Likewise.
14503 * sysdeps/i386/fpu/s_sincos.S: Likewise.
14504 * sysdeps/i386/fpu/sincos32.c: Likewise.
14505
14506 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
14507 Define.
14508 (libc_feupdateenv_53bit): Define.
14509 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
14510 Define.
14511 (libc_feupdateenv_53bit): Define.
14512
14513 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
14514 53 bit (without extend i386 double precision).
14515
14516 * math/libm-test.inc (sincos_test): Add tests for large input.
14517 (sin): Likewise.
14518 (cos): Likewise.
14519
14520 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14521
9cad04ea
AS
145222012-03-15 Andreas Schwab <schwab@linux-m68k.org>
14523
14524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14525
f7062b9a
DM
145262012-03-15 David S. Miller <davem@davemloft.net>
14527
14528 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
14529 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
14530 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
14531 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
14532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
14533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
14534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
14535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
14536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
14537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
14538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
14539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
14540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
14541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
14542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
14543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14544 file.
f7062b9a 14545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
14546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14547 file.
f7062b9a 14548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
14549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14550 file.
f7062b9a 14551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
14552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14553 file.
f7062b9a
DM
14554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14556 fmin/fmax sysdep routines.
14557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14558
7bd951ff
DM
145592012-03-14 David S. Miller <davem@davemloft.net>
14560
559398ab
DM
14561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14590 routines.
14591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14592 file.
559398ab 14593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
14594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14595 file.
559398ab 14596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
14597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14598 file.
559398ab 14599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
14600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14601 file.
559398ab 14602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
14603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14604 file.
559398ab 14605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
14606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14607 file.
14608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14609 file.
14610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14611 file.
14612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14613 file.
14614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14615 New file.
14616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14617 file.
14618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14619 file.
559398ab 14620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
14621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14622 file.
559398ab 14623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
14624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14625 file.
559398ab 14626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
14627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14628 file.
559398ab 14629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
14630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14631 VIS3 routines.
559398ab
DM
14632
14633 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14634 New file.
14635
5a1c1e32
DM
14636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14637
eae47a36
DM
14638 * sysdeps/sparc/configure.in: New file.
14639 * sysdeps/sparc/configure: Generate.
14640 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14641 * configure: Regenerate.
14642 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14643 * config.make.in (have-as-vis3): New.
14644 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14645 available use -Av9d instead of -Av9a.
14646 * sysdeps/sparc/sparc64/Makefile: Likewise.
14647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
14648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14649 New file.
14650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14651 file.
14652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14653 New file.
14654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14655 file.
eae47a36
DM
14656 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14661
c0c83bc8
DM
14662 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14663 fzeros/fnegs to load 0x80000000 into a float register instead of
14664 using the stack.
7bd951ff
DM
14665 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14666
bd951ccb
JM
146672012-03-14 Joseph Myers <joseph@codesourcery.com>
14668
14669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14670 bits/syscall.h.
14671 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14672 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14673 ($(inst_includedir)/bits/syscall.h): Remove rule.
14674 ($(objpfx)bits/syscall.d): Include instead of
14675 $(objpfx)syscall-list.d.
14676 (generated): Change syscall-list.h and syscall-list.d to
14677 bits/syscall.h and bits/syscall.d.
14678
bb4e6db2
RM
146792012-03-14 Roland McGrath <roland@hack.frob.com>
14680
14681 [BZ #13846]
14682 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14683
aa4a2ae1
JM
146842012-03-14 Joseph Myers <joseph@codesourcery.com>
14685
e456826d
JM
14686 [BZ #13841]
14687 * math/s_csqrt.c: Include <float.h>.
14688 (__csqrt): Scale large or subnormal inputs.
14689 * math/s_csqrtf.c: Likewise.
14690 * math/s_csqrtl.c: Likewise.
14691 * math/libm-test.inc (csqrt_test): Add more tests.
14692 * sysdeps/i386/fpu/libm-test-ulps: Update.
14693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14694
aa4a2ae1
JM
14695 [BZ #13840]
14696 * math/libm-test.inc (hypot_test): Add more tests.
14697
7c10fd35
DM
146982012-03-13 David S. Miller <davem@davemloft.net>
14699
14700 [BZ #13840]
14701 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14702 double-precision for the calculation instead of scaling.
14703
f453b98b
JM
147042012-03-13 Joseph Myers <joseph@codesourcery.com>
14705
14706 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14707 manipulate bits before adding and subtracting TWO52[sx].
14708 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14709 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14710 Likewise.
14711 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14712
09a3453f
DM
147132012-03-13 David S. Miller <davem@davemloft.net>
14714
8e59da90
DM
14715 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14716 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14718 rtld-global-offsets.h
14719 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14720
2a8ab7f2
DM
14721 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14722 large parameters.
14723
10f62770
DM
14724 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14725
5f0bdb18
DM
14726 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14727 'err' in the ifdef scope in which it is actually used.
14728
09a3453f
DM
14729 * nss/nss_db/db-init.c: Include string.h
14730
b4b2eb5e
DM
147312012-03-12 David S. Miller <davem@davemloft.net>
14732
98bb2f1c
DM
14733 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14734 masking out of the most significant byte of random value used.
14735 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14736 Fix coding style in previous change.
14737
b4b2eb5e
DM
14738 * sysdeps/unix/sysv/linux/kernel-features.h
14739 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14740 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14741 expression.
14742 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14743 later.
14744
6e226b09
DM
147452012-03-11 David S. Miller <davem@davemloft.net>
14746
a1bcbd40
DM
14747 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14748 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14749 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14750 for 'resultvar' otherwise things get truncated on 64-bit.
14751
cb9d6174
DM
14752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14753 Fix masking out of the most significant byte of random value used.
14754
6e226b09
DM
14755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14756
058c132d
AS
147572012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14758
14759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14760
2d2cd515
DM
147612012-03-09 David S. Miller <davem@davemloft.net>
14762
14763 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14764 variables with appropriate CPP guards.
14765 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14766 frame pointer, not the stack pointer. Correct layout comments. Fix test
14767 on resulting framesize and the management of the outregs buffer for pltexit.
14768 Preserve floating point return values across _dl_call_pltexit call.
14769 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14770 framesize and the management of the outregs buffer for pltexit.
14771 Preserve floating point return values across _dl_call_pltexit
14772 call.
14773 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14774 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14775 (print_exit): Fix format string for return register value.
14776
9a07f9d0
JM
147772012-03-10 Joseph Myers <joseph@codesourcery.com>
14778
14779 * sunrpc/Makefile (others): Add rpcgen.
14780 ($(objpfx)rpcgen): Remove special build rule and dependency on
14781 libc.
14782 * sunrpc/rpcgen.c: New file.
14783
547b5e30
PE
147842012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14785
c524201a
PE
14786 [BZ #13673]
14787 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14788 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14789 * sysdeps/i386/crti.S: Likewise.
14790 * sysdeps/i386/crtn.S: Likewise.
14791 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14792 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14793 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14794 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14795 * sysdeps/sh/crti.S: Likewise.
14796 * sysdeps/sh/crtn.S: Likewise.
14797 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14798
7b6235f2
PE
14799 [BZ #13673]
14800 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14801 with URL.
14802 * locale/programs/locfile-kw.gperf: Likewise.
14803 * locale/programs/charmap-kw.h: Regenerated.
14804 * locale/programs/locfile-kw.h: Likewise.
14805
547b5e30
PE
14806 [BZ #13673]
14807 * intl/plural.y: Replace FSF snail mail address with URL.
14808 * intl/plural.c: Regenerated.
14809
5f0a5dae
RH
148102012-03-09 Richard Henderson <rth@twiddle.net>
14811
14812 * include/math_private.h: Remove file.
14813 * math/math_private.h: Move file ...
14814 * sysdeps/generic/math_private.h: ... here.
14815
b8c03620
RH
14816 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14817 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14818 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14819
4e234f5d 14820 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
14821 and <math_private.h>.
14822 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14823 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14824 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14825 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14826 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14827 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14828 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14830 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14831 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14832 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14833 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14834 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14835 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14836 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14837 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14838 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14839 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14840 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14841 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14843 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14844 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14846 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14847 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14848 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14852 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14853 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14854 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14855 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14856 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14857 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14858 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14859 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14860 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14861 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14862 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14863 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14865 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14866 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14867 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14868 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14869 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14870 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14871 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14872 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14873 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14874 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14875 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14876 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14877 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14878 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14879 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14880 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14881 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14882 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14883 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14885 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14886 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14887 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14888 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14889 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14890 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14891 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14892 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14893 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14896 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14900 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14901 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14902 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14903 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14904 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14905 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14906 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14909 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14910 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14911 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14912 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14913 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14914 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14915 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14916 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14917 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14918 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14919 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14922 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14923 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14924 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14925 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14926 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14927 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14928 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14929 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14930 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14931 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14932 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14933 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14934 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14935 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14936 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14937 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14938 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14939 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14940 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14941 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14942 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14943 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14944 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14945 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14946 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14947 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14948 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14949 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14950 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14951 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14952 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14953 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14954 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14955 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14956 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14957 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14958 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14959 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14960 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14961 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14962 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14963 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14964 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14965 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14966 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14967 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14968 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14969 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14970 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14971 * sysdeps/ieee754/k_standard.c: Likewise.
14972 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14973 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14974 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14975 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14976 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14980 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14981 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14982 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14986 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14987 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14988 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14989 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14990 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14991 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14992 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14993 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14994 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14995 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14996 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14997 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14998 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14999 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
15000 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
15001 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15002 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15003 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
15004 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
15005 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
15006 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15007 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
15008 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
15009 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
15010 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
15011 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
15012 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15013 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15014 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15022 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15023 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15024 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
15026 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15027 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
15030 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
15031 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
15032 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15033 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15034 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15035 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
15036 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15044 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
15048 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
15049 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
15050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15051 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15052 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15053 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15054 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
15055 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
15056 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15060 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15061 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
15062 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
15068 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
15069 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
15073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
15074 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15075 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
15076 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
15077 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15078 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15079 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
15080 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
15081 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
15082 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
15083 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
15084 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
15085 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
15086 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
15087 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
15088 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
15089 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
15090 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
15091 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15092 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15093 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
15094 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
15095 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
15096 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
15097 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
15098 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
15099 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
15100 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
15101 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15102 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
15103 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
15104 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
15105 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
15106 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
15107 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
15108 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
15109 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
15110 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
15111 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
15112 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
15113 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
15114 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
15115 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
15116 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
15117 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
15118 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
15119 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
15120 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
15121 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
15122 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
15123 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
15124 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15125 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
15126 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
15127 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
15128 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
15129 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
15130 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
15131 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
15132 * sysdeps/ieee754/s_lib_version.c: Likewise.
15133 * sysdeps/ieee754/s_matherr.c: Likewise.
15134 * sysdeps/ieee754/s_signgam.c: Likewise.
15135 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15136 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15137 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
15138 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
15139 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
15140 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15141 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
15142 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
15143 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
15144 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
15145 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15146 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
15147 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
15148 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15149 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
15150 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15151 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15152 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15153 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15154 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 15156
1991fa03
JM
151572012-03-09 Joseph Myers <joseph@codesourcery.com>
15158
15159 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
15160 * sunrpc/rpc_main.c: Likewise.
15161 * sunrpc/rpc_svcout.c: Likewise.
15162
60d6f5a6
DM
151632012-03-09 David S. Miller <davem@davemloft.net>
15164
15165 * include/math_private.h: New file.
15166
4962050e
JM
151672012-03-09 Joseph Myers <joseph@codesourcery.com>
15168
02a6f887
JM
15169 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
15170 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
15171 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
15172 from <bits/socket_type.h>.
15173 (enum __socket_type): Don't define here.
15174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
15175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15176 bits/socket_type.h.
15177
c6e013c1
JM
15178 [BZ #13566]
15179 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
15180 checking __USE_GNU.
15181
4962050e
JM
15182 * Makerules ($(inst_includedir)/%.h): New rule.
15183 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
15184 (install-others): Remove variable setting.
15185 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
15186
38842f45
RH
151872012-03-08 Richard Henderson <rth@twiddle.net>
15188
67bb6da6
RH
15189 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
15190 from macro to inline function; merge with the
15191 !__LIBC_INTERNAL_MATH_INLINES version.
15192 (__ieee754_sqrtf): Likewise.
15193
15194b4b
RH
15194 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
15195 to inline function.
15196 (__rintf, __floor, __floorf): Likewise.
15197
64e21ede
RH
15198 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
15199 macro to inline function.
15200 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
15201
38842f45
RH
15202 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
15203 not <math/math_private.h>.
15204
c64bf5fe
DM
152052012-03-08 David S. Miller <davem@davemloft.net>
15206
15207 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
15208 copyright year.
15209 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15210
82d86f28
TS
152112012-03-08 Thomas Schwinge <thomas@codesourcery.com>
15212
15213 * resolv/gai_misc.c (handle_requests): Fix struct timespec
15214 normalization.
15215 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
15216 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
15217
aea5d727
UD
152182012-03-08 Ulrich Drepper <drepper@gmail.com>
15219
15220 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
15221 be defined individually, they must be defined as a block. Define
15222 S for printing a string instead of hidint the different by using a
15223 macro for adding the 'l'.
15224 * stdio-common/tst-fphex-wide.c: Adjust.
15225
70bca0a3
MP
152262012-03-07 Marek Polacek <polacek@redhat.com>
15227
15228 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
15229
65b81130
MP
152302012-03-08 Marek Polacek <polacek@redhat.com>
15231
15232 [BZ #13806]
15233 * stdio-common/Makefile (tests): Add tst-fphex-wide.
15234 * stdio-common/tst-fphex.c: Define a few macros to make the
15235 test reusable. Use them.
15236 * stdio-common/tst-fphex-wide.c: New file.
15237
07037eeb
JM
152382012-03-08 Joseph Myers <joseph@codesourcery.com>
15239
a7a93d50
JM
15240 [BZ #6911]
15241 * manual/macros.texi (gnusystems): New macro.
15242 (nongnusystems): Likewise.
15243 (gnulinuxhurdsystems): Likewise.
15244 (gnuhurdsystems): Likewise..
15245 (gnulinuxsystems): Likewise.
15246 * manual/charset.texi: Use new macros or @theglibc{} to refer to
15247 variants of the GNU system, not "GNU system".
15248 * manual/conf.texi: Likewise.
15249 * manual/errno.texi: Likewise. Update example of errno macro
15250 expansion.
15251 * manual/filesys.texi: Likewise.
15252 (getumask): Document as specific to GNU/Hurd.
15253 * manual/install.texi: Likewise. Reword some references to
15254 GNU/Linux.
15255 * manual/intro.texi: Likewise.
15256 * manual/io.texi: Likewise.
15257 (File Name Portability): Detail which constraints are inapplicable
15258 to all GNU systems and which are only inapplicable to GNU/Hurd.
15259 * manual/job.texi: Likewise.
15260 * manual/llio.texi: Likewise.
15261 (O_NOCTTY): Document as present on GNU/Linux.
15262 * manual/maint.texi: Likewise.
15263 * manual/memory.texi: Likewise.
15264 * manual/pattern.texi: Likewise.
15265 * manual/pipe.texi: Likewise.
15266 * manual/process.texi: Likewise.
15267 * manual/resource.texi: Likewise.
15268 (RUSAGE_CHILDREN): Remove statement about specifying a particular
15269 child on GNU/Hurd.
15270 * manual/setjmp.texi: Likewise.
15271 * manual/signal.texi: Likewise.
15272 * manual/startup.texi: Likewise.
15273 * manual/stdio.texi: Likewise.
15274 * manual/terminal.texi: Likewise.
15275 (ONLCR): Document as POSIX.
15276 (OXTABS): Document availability on GNU/Linux as XTABS.
15277 (ONOEOT): Document availability separately from other bits.
15278 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
15279 * manual/time.texi: Likewise.
15280 * manual/users.texi: Likewise.
15281 * INSTALL: Regenerated.
15282 * sysdeps/gnu/errlist.c: Regenerated.
15283
07037eeb
JM
15284 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
15285 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
15286 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
15287 puts.
15288 * configure: Regenerated.
15289
d1d3431a
JM
152902012-03-07 Joseph Myers <joseph@codesourcery.com>
15291
af6a1e37
JM
15292 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
15293 default includes instead of AC_HEADER_CHECK.
15294 * sysdeps/i386/configure: Regenerated.
15295
d1d3431a
JM
15296 [BZ #10716]
15297 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
15298 * math/s_cacoshf.c (__cacoshf): Likewise.
15299 * math/s_cacoshl.c (__cacoshl): Likewise.
15300 * math/s_casinh.c (__casinh): Set signs of result from argument.
15301 * math/s_casinhf.c (__casinhf): Likewise.
15302 * math/s_casinhl.c (__casinhl): Likewise.
15303 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
15304 (casinh_test): Add more tests.
15305 * sysdeps/i386/fpu/libm-test-ulps: Update.
15306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15307
482ff4da
UD
153082012-03-07 Ulrich Drepper <drepper@gmail.com>
15309
872fda05
UD
15310 * po/zh_TW.po: Update from translation team.
15311
a4300c7a
UD
15312 * login/Makefile (distribute): Remove variable.
15313 * catgets/Makefile: Likewise.
15314 * mach/Makefile: Likewise.
15315 * malloc/Makefile: Likewise.
15316 * misc/Makefile: Likewise.
15317 * iconv/Makefile: Likewise.
15318 * nscd/Makefile: Likewise.
15319 * hurd/Makefile: Likewise.
15320 * manual/Makefile: Likewise.
15321 * locale/Makefile: Likewise.
15322 * intl/Makefile: Likewise.
15323 * conform/Makefile: Likewise.
15324 * nss/Makefile: Likewise.
15325 * time/Makefile: Likewise.
15326 * soft-fp/Makefile: Likewise.
15327 * dirent/Makefile: Likewise.
15328 * gmon/Makefile: Likewise.
15329 * po/Makefile: Likewise.
15330 * rt/Makefile: Likewise.
15331 * socket/Makefile: Likewise.
15332 * math/Makefile: Likewise.
15333 * signal/Makefile: Likewise.
15334 * debug/Makefile: Likewise.
15335 * elf/Makefile: Likewise.
15336 * timezone/Makefile: Likewise.
15337 * stdlib/Makefile: Likewise.
15338 * iconvdata/Makefile: Likewise.
15339 * sunrpc/Makefile: Likewise.
15340 * io/Makefile: Likewise.
15341 * argp/Makefile: Likewise.
15342 * inet/Makefile: Likewise.
15343 * hesiod/Makefile: Likewise.
15344 * grp/Makefile: Likewise.
15345 * csu/Makefile: Likewise.
15346 * wctype/Makefile: Likewise.
15347 * crypt/Makefile: Likewise.
15348 * libio/Makefile: Likewise.
15349 * string/Makefile: Likewise.
15350 * nis/Makefile: Likewise.
15351 * resolv/Makefile: Likewise.
15352 * stdio-common/Makefile: Likewise.
15353 * wcsmbs/Makefile: Likewise.
15354 * dlfcn/Makefile: Likewise.
15355 * posix/Makefile: Likewise.
15356
3b7c4e74 15357 [BZ #6959]
482ff4da
UD
15358 * timezone/Makefile: Don't install timezone files, just the programs
15359 and scripts.
15360
f72ed77d
UD
153612012-03-06 Ulrich Drepper <drepper@gmail.com>
15362
a000466f
UD
15363 * nss/databases.def: Add missing gshadow entry.
15364
f72ed77d
UD
15365 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
15366
a53b7a4e
MP
153672012-03-06 Marek Polacek <polacek@redhat.com>
15368
15369 [BZ #13726]
15370 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
15371 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15372 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
15373 * stdio-common/tst-long-dbl-fphex.c: New file.
15374
e9258400
DM
153752012-03-06 David S. Miller <davem@davemloft.net>
15376
15377 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15378 (set_obp_int): New function.
15379 (get_obp_int): New function.
15380 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
15381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
15382 Avoid unused variable warnings on 'val' and use builtin_expect.
15383 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
15384 __builtin_expect.
e9258400
DM
15385 (INLINE_CLONE_SYSCALL): Likewise.
15386
3bd2c723
DM
153872012-03-05 David S. Miller <davem@davemloft.net>
15388
15389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15390
bbb78d03
AS
153912012-03-05 Andreas Schwab <schwab@linux-m68k.org>
15392
884c5db4
AS
15393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15394
bbb78d03
AS
15395 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
15396 only for |x| >= 40.
15397 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
15398
1c9f702a 153992012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
15400
15401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
15402 Replace gettimeofday with __vdso_gettimeofday.
15403
7be16f82
RM
15404 * sysdeps/unix/sysv/linux/x86_64/init-first.c
15405 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
15406 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
15407
15408 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
15409 time with __vdso_time.
15410
ed58a00f
JM
154112012-03-05 Joseph Myers <joseph@codesourcery.com>
15412
15413 * manual/lang.texi (size_t): Note types to which size_t may be
15414 equivalent with the GNU C Library, but do not describe when
15415 differences between them are significant.
15416
30ee4ced
AJ
154172012-03-05 Andreas Jaeger <aj@suse.de>
15418
15419 * sysdeps/i386/fpu/libm-test-ulps: Update.
15420
b7cd39e8
JM
154212012-03-05 Joseph Myers <joseph@codesourcery.com>
15422
15423 [BZ #3976]
15424 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
15425 (__ieee754_pow): Save and restore rounding mode and use
15426 round-to-nearest for main computations.
15427 * math/libm-test.inc (pow_test_tonearest): New function.
15428 (pow_test_towardzero): Likewise.
15429 (pow_test_downward): Likewise.
15430 (pow_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.
ca811b22
JM
15434
15435 [BZ #3976]
15436 * math/libm-test.inc (cosh_test_tonearest): New function.
15437 (cosh_test_towardzero): Likewise.
15438 (cosh_test_downward): Likewise.
15439 (cosh_test_upward): Likewise.
15440 (sinh_test_tonearest): Likewise.
15441 (sinh_test_towardzero): Likewise.
15442 (sinh_test_downward): Likewise.
15443 (sinh_test_upward): Likewise.
15444 (main): Call the new functions.
15445 * sysdeps/i386/fpu/libm-test-ulps: Update.
15446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15447
6c6a98c9
TV
154482012-03-05 Tom de Vries <tom@codesourcery.com>
15449
15450 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
15451 default stack guard is set in last bytes.
15452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
15453
21bb2d2e 154542012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 15455
21bb2d2e 15456 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 15457
21bb2d2e
AJ
15458 [BZ #13656]
15459 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
15460 possibly allocate from heap instead of stack.
15461 * stdio-common/bug-vfprintf-nargs.c: New file.
15462 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 15463
c6922934
AS
154642012-03-03 Andreas Schwab <schwab@linux-m68k.org>
15465
15466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15467
bc957d53
MP
154682012-03-03 Marek Polacek <polacek@redhat.com>
15469
15470 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
15471 * math/math_private.h: Likewise.
15472 * stdlib/tst-strtod.c: Likewise.
15473 * sysdeps/i386/i486/bits/atomic.h: Likewise.
15474 * sysdeps/x86_64/bits/atomic.h: Likewise.
15475
6358490d
DM
154762012-03-02 David S. Miller <davem@davemloft.net>
15477
15478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
15479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
15480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
15481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
15482 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
15483 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
15484 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
15485 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
15486
01ae168d
RM
154872012-03-02 Roland McGrath <roland@hack.frob.com>
15488
d9a17c07
RM
15489 [BZ #13792]
15490 * manual/examples/README: New file, says the example source files
15491 can be used under GPL>=2.
15492 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
15493 line containing just "*/".
15494 * manual/examples/add.c: Add copyright header (GPL>=2).
15495 * manual/examples/argp-ex1.c: Likewise.
15496 * manual/examples/argp-ex2.c: Likewise.
15497 * manual/examples/argp-ex3.c: Likewise.
15498 * manual/examples/argp-ex4.c: Likewise.
15499 * manual/examples/atexit.c: Likewise.
15500 * manual/examples/db.c: Likewise.
15501 * manual/examples/dir.c: Likewise.
15502 * manual/examples/dir2.c: Likewise.
15503 * manual/examples/execinfo.c: Likewise.
15504 * manual/examples/filecli.c: Likewise.
15505 * manual/examples/filesrv.c: Likewise.
15506 * manual/examples/fmtmsgexpl.c: Likewise.
15507 * manual/examples/genpass.c: Likewise.
15508 * manual/examples/inetcli.c: Likewise.
15509 * manual/examples/inetsrv.c: Likewise.
15510 * manual/examples/isockad.c: Likewise.
15511 * manual/examples/longopt.c: Likewise.
15512 * manual/examples/memopen.c: Likewise.
15513 * manual/examples/memstrm.c: Likewise.
15514 * manual/examples/mkfsock.c: Likewise.
15515 * manual/examples/mkisock.c: Likewise.
15516 * manual/examples/mygetpass.c: Likewise.
15517 * manual/examples/pipe.c: Likewise.
15518 * manual/examples/popen.c: Likewise.
15519 * manual/examples/rprintf.c: Likewise.
15520 * manual/examples/search.c: Likewise.
15521 * manual/examples/select.c: Likewise.
15522 * manual/examples/setjmp.c: Likewise.
15523 * manual/examples/sigh1.c: Likewise.
15524 * manual/examples/sigusr.c: Likewise.
15525 * manual/examples/stpcpy.c: Likewise.
15526 * manual/examples/strdupa.c: Likewise.
15527 * manual/examples/strftim.c: Likewise.
15528 * manual/examples/strncat.c: Likewise.
15529 * manual/examples/subopt.c: Likewise.
15530 * manual/examples/swapcontext.c: Likewise.
15531 * manual/examples/termios.c: Likewise.
15532 * manual/examples/testopt.c: Likewise.
15533 * manual/examples/testpass.c: Likewise.
15534 * manual/examples/timeval_subtract.c: Likewise.
15535
01ae168d
RM
15536 [BZ #13792]
15537 * manual/time.texi (Elapsed Time): Move timeval_subtract example
15538 function to ...
15539 * manual/timeval_subtract.c.texi: ... here, new file.
15540
49efa33d
DM
155412012-03-02 David S. Miller <davem@davemloft.net>
15542
15543 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15544
28afd92d
JM
155452012-03-02 Joseph Myers <joseph@codesourcery.com>
15546
804360ed
JM
15547 [BZ #3976]
15548 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15549 (__sin): Save and restore rounding mode and use round-to-nearest
15550 for all computations.
15551 (__cos): Save and restore rounding mode and use round-to-nearest
15552 for all computations.
15553 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15554 <fenv.h>.
15555 (tan): Save and restore rounding mode and use round-to-nearest for
15556 all computations.
15557 * math/libm-test.inc (cos_test_tonearest): New function.
15558 (cos_test_towardzero): Likewise.
15559 (cos_test_downward): Likewise.
15560 (cos_test_upward): Likewise.
15561 (sin_test_tonearest): Likewise.
15562 (sin_test_towardzero): Likewise.
15563 (sin_test_downward): Likewise.
15564 (sin_test_upward): Likewise.
15565 (tan_test_tonearest): Likewise.
15566 (tan_test_towardzero): Likewise.
15567 (tan_test_downward): Likewise.
15568 (tan_test_upward): Likewise.
15569 (main): Call the new functions.
15570 * sysdeps/i386/fpu/libm-test-ulps: Update.
15571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15572
a6d06d7b
JM
15573 [BZ #10135]
15574 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15575 small n, then large n, before computing and testing k+n.
15576 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15578 Likewise.
15579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15580 Likewise.
15581 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15582 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15583 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15584 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15585 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15586 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15587 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15588 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15589 * math/libm-test.inc (scalbn_test): Add more tests.
15590 (scalbln_test): Likewise.
15591
07e12bb3
JM
15592 * manual/filesys.texi (mode_t): Describe constraints on size and
15593 signedness, not exact equivalence to a particular type.
15594 (ino_t): Likewise.
15595 (ino64_t): Likewise.
15596 (dev_t): Likewise.
15597 (nlink_t): Likewise.
15598 (blkcnt_t): Likewise.
15599 (blkcnt64_t): Likewise.
15600 * manual/llio.texi (off_t): Likewise.
15601
28afd92d
JM
15602 [BZ #3976]
15603 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15604 (__ieee754_exp): Save and restore rounding mode and use
15605 round-to-nearest for all computations.
15606 * math/libm-test.inc (exp_test_tonearest): New function.
15607 (exp_test_towardzero): Likewise.
15608 (exp_test_downward): Likewise.
15609 (exp_test_upward): Likewise.
15610 (main): Call the new functions.
15611 * sysdeps/i386/fpu/libm-test-ulps: Update.
15612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15613
b1eeb65d
CD
156142012-03-01 Chris Demetriou <cgd@google.com>
15615
15616 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15617 have predictable order.
15618
53362a4b
DM
156192012-03-01 David S. Miller <davem@davemloft.net>
15620
3c969083
DM
15621 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15622
759707de
DM
15623 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15624 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15625 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15626 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15627
dfdb8ff2
DM
15628 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15629 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15630 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15632 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15633 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15634 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15635 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15636 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15637
ead89f96
DM
15638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15639
7f66bd07
DM
15640 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15641 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15642 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15643
53362a4b
DM
15644 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15645 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15646 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15647 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15648 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15649 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15651 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15652 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15653 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15654 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15655 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15657 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15658 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15660 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15661 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15662 * sysdeps/sparc/elf/configure: Regenerated.
15663
7b1902cb
JM
156642012-03-01 Joseph Myers <joseph@codesourcery.com>
15665
bec039bc
JM
15666 * configure.in (AS, LD): Require binutils 2.20 or later.
15667 * configure: Regenerated.
15668 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15669 as required minimum version.
15670 * INSTALL: Regenerated.
15671
7b1902cb
JM
15672 [BZ #2541]
15673 [BZ #4108]
15674 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15675 before squaring exponent.
15676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15677 bottom long double and 27 bits of top long double before squaring
15678 exponent.
15679 * math/libm-test.inc (erfc_test): Add more tests.
15680 * sysdeps/i386/fpu/libm-test-ulps: Update.
15681 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15683
f775c276
KT
156842012-03-01 Kai Tietz <ktietz@redhat.com>
15685
15686 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15687 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15688 containing bit-fields.
15689 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15690 * soft-fp/single.h (_FP_UNION_S): Likewise.
15691 * soft-fp/double.h (_FP_UNION_D): Likewise.
15692
5b8a4d4a
JM
156932012-02-29 Joseph Myers <joseph@codesourcery.com>
15694
0bab47b6
JM
15695 [BZ #13786]
15696 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15697 not include ../strcmp.S.
15698 [USE_AS_STRNCASECMP_L]: Likewise.
15699 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15700 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15701 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15702 (__strncasecmp_l_ia32): Define as alias to
15703 __strncasecmp_l_nonascii.
15704
0fcad3e2
JM
15705 [BZ #5794]
15706 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15707 * sysdeps/i386/fpu/libm-test-ulps: Update.
15708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15709
5b8a4d4a
JM
15710 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15712
8fdceb2e
JL
157132012-02-29 Jeff Law <law@redhat.com>
15714
15715 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15716 out of bounds read.
15717
1f393a11
MP
157182012-02-29 Marek Polacek <polacek@redhat.com>
15719
15720 [BZ #13706]
15721 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15722 * elf/Makefile: Add rules to run tst-unused-dep.out.
15723
8847f037
DM
157242012-02-28 David S. Miller <davem@davemloft.net>
15725
15726 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15727 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15728 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15729 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15730 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15731 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15732
169d7f11
JM
157332012-02-29 Joseph Myers <joseph@codesourcery.com>
15734
15735 * math/libm-test.inc (llround_test): Move one test from
15736 lround_test. Use TEST_f_L in moved test.
15737 (lround_test): Move misplaced test to llround_test. Add testcase
15738 from bug 2561.
15739
39adf059
UD
157402012-02-28 Ulrich Drepper <drepper@gmail.com>
15741
15742 * sysdeps/x86_64/fpu/e_expf.S: New file.
15743 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15744
71b5d1c5
SB
157452012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15746
15747 [BZ #13637]
15748 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15749 of remain_len that may cause incomplete multi-byte character and
15750 false match.
15751 * posix/bug-regex33.c: New file.
15752 * posix/Makefile (tests): Add bug-regex33.
15753
1f77f049
JM
157542012-02-28 Joseph Myers <joseph@codesourcery.com>
15755
15756 * manual/macros.texi: New file.
15757 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15758 * manual/libc.texinfo: Include macros.texi.
15759 * manual/creatute.texi: Likewise.
15760 * manual/install.texi: Likewise.
15761 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15762 @glibcadj{} in references to the GNU C Library.
15763 * manual/charset.texi: Likewise.
15764 * manual/conf.texi: Likewise.
15765 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15766 when not using those macros.
15767 * manual/creature.texi: Likewise.
15768 * manual/crypt.texi: Likewise.
15769 * manual/errno.texi: Likewise.
15770 * manual/filesys.texi: Likewise.
15771 * manual/header.texi: Likewise.
15772 * manual/install.texi: Likewise.
15773 * manual/intro.texi: Likewise.
15774 * manual/io.texi: Likewise.
15775 * manual/job.texi: Likewise.
15776 * manual/lang.texi: Likewise.
15777 * manual/libc.texiinfo: Likewise.
15778 * manual/llio.texi: Likewise.
15779 * manual/locale.texi: Likewise.
15780 * manual/maint.texi: Likewise.
15781 * manual/math.texi: Likewise.
15782 * manual/memory.texi: Likewise.
15783 * manual/message.texi: Likewise.
15784 * manual/nss.texi: Likewise.
15785 * manual/pattern.texi: Likewise.
15786 * manual/process.texi: Likewise.
15787 * manual/resource.texi: Likewise.
15788 * manual/search.texi: Likewise.
15789 * manual/setjmp.texi: Likewise.
15790 * manual/signal.texi: Likewise.
15791 * manual/socket.texi: Likewise.
15792 * manual/startup.texi: Likewise.
15793 * manual/stdio.texi: Likewise.
15794 * manual/string.texi: Likewise.
15795 * manual/sysinfo.texi: Likewise.
15796 * manual/syslog.texi: Likewise.
15797 * manual/terminal.texi: Likewise.
15798 * manual/time.texi: Likewise.
15799 * manual/users.texi: Likewise.
15800 * INSTALL: Regenerated.
15801 * NOTES: Regenerated.
d40c5d54 15802 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 15803
450bf206
AS
158042012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15805
15806 * include/dirent.h: Include <dirstream.h> before
15807 <dirent/dirent.h>.
15808
741a235b
DM
158092012-02-28 David S. Miller <davem@davemloft.net>
15810
15811 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15812 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15813 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15814 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15815
d6b5aa58
DM
158162012-02-27 David S. Miller <davem@davemloft.net>
15817
1aff59a3
DM
15818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15820 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15821 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15822
d6b5aa58
DM
15823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15824 frame pointer instead of stack pointer relative arg slot.
15825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15826 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15827 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15828
433f48bf
CD
158292012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15830
15831 [BZ #3992]
15832 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15833
d674b76d
DM
158342012-02-27 David S. Miller <davem@davemloft.net>
15835
15836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15840 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15841 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15842 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15843 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15844
0e7727f7
JM
158452012-02-27 Joseph Myers <joseph@codesourcery.com>
15846
15847 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15848 later. Allow versions 5-9.
43be4ca2 15849 * configure: Regenerated.
0e7727f7
JM
15850 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15851 required minimum version and 4.6 as recommended version. Do not
15852 mention bugs in GCC 2.7 and 2.8.
43be4ca2 15853 * INSTALL: Regenerated.
0e7727f7 15854
a78bc654
DM
158552012-02-27 David S. Miller <davem@davemloft.net>
15856
428d5830
DM
15857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15861 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15862 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15863 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15864 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15865
a78bc654
DM
15866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15867 manipulate bits before adding and subtracting TWO112[sx].
15868 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15869
4579f81c
RM
158702012-02-27 Roland McGrath <roland@hack.frob.com>
15871
36c8acb4
RM
15872 [BZ #13775]
15873 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15874 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15875 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15876 being in POSIX, because they are in 1003.1-2008.
15877
84ad622b
RM
15878 * rt/tst-aio.c: Include <fcntl.h>.
15879 * rt/tst-aio7.c: Likewise.
15880 * rt/tst-aio64.c: Likewise.
15881
4579f81c
RM
15882 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15883
abd923db
JM
158842012-02-27 Joseph Myers <joseph@codesourcery.com>
15885
15886 * manual/install.texi (--with-headers): Describe headers as
15887 interface headers, not private headers.
15888 (Specific advice for GNU/Linux systems): Describe use of headers
15889 from "make headers_install", not private headers from older
15890 kernels.
43be4ca2 15891 * INSTALL: Regenerated.
abd923db
JM
15892 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15893 Change to 2.6.19.
15894 * sysdeps/unix/sysv/linux/configure: Regenerated.
15895
6664049b
JM
15896 * manual/llio.texi (fclean): Remove documentation.
15897
bb8b6697
JM
15898 * manual/Makefile (libc-texi-generated): New variable. Include
15899 version.texi.
15900 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15901 $(libc-texi-generated), not duplicated list of files.
15902 (version.texi, stamp-version): New rules.
15903 (realclean): Remove $(libc-texi-generated), not individual files
15904 from that list. Do not remove dir-add.texinfo.
15905 * manual/libc.texinfo: Comment out uses of edition numbers and
15906 references to printed manual. Remove last-updated dates.
15907 (EDITION): Comment out.
15908 (ISBN): Likewise.
15909 (VERSION, UPDATED): Remove.
15910 (version.texi): Include.
15911
12e5c3b9
AS
159122012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15913
15914 * sysdeps/posix/spawni.c: Include <signal.h>.
15915 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15916 * sysdeps/pthread/aio_fsync.c: Likewise.
15917
4efeffc1 159182012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 15919
ba63ba08
UD
15920 * conform/Makefile (tests): Run only when not cross-compiling and
15921 when fast-check is not defined.
15922
d94a4670
UD
15923 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15924 * conform/data/limits.h-data: Fixes for POSIX2008.
15925 * conform/run-conformtest.sh: Run all tests.
15926 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15927 headers.
15928 * include/bits/dlfcn.h: Likewise.
15929 * include/langinfo.h: Likewise.
15930 * include/monetary.h: Likewise.
15931 * include/sys/poll.h: Likewise.
15932
15933 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15934 for __USE_GNU.
15935 * posix/spawn.h: Define __need_sigset_t.
15936 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15937 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15938 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15939 to get sigevent_t only.
15940 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15941 only for __USE_GNU.
15942 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15943 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15944 process_vm_writev only for __USE_GNU.
15945 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
15946
15947 * conform/Makefile: For now ignore errors from run-conformtest.
15948 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15949 POSIX to avoid namespace pollution. Don't prepend headers.
15950 * conform/data/aio.h-data: Fixes for POSIX testing.
15951 * conform/data/fcntl.h-data: Likewise.
15952 * conform/data/glob.h-data: Likewise.
15953 * conform/data/grp.h-data: Likewise.
15954 * conform/data/pthread.h-data: Likewise.
15955 * conform/data/pwd.h-data: Likewise.
15956 * conform/data/signal.h-data: Likewise.
15957 * conform/data/spawn.h-data: Likewise.
15958 * conform/data/stdio.h-data: Likewise.
15959 * conform/data/stdlib.h-data: Likewise.
15960 * conform/data/stropts.h-data: Likewise.
15961 * conform/data/sys/mman.h-data: Likewise.
15962 * conform/data/sys/stat.h-data: Likewise.
15963 * conform/data/sys/types.h-data: Likewise.
15964 * conform/data/sys/wait.h-data: Likewise.
15965 * conform/data/time.h-data: Likewise.
15966 * conform/data/unistd.h-data: Likewise.
15967 * conform/data/utime.h-data: Likewise.
15968
15969 * io/sys/stat.h: fchmod was always in POSIX.
15970 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15971 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15972 * rt/aio.h: Define __need_timespec before including <time.h>.
15973 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15974 struct. Add forward declaration of pthread_attr_t and use it in
15975 sigevent.
15976 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15978 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15979 always remove CLK_TCK definition.
15980
c20105c3
AS
159812012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15982
15983 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15984
7a270350
UD
159852012-02-25 Ulrich Drepper <drepper@gmail.com>
15986
31341567
UD
15987 * conform/run-conformtest.sh: New file.
15988 * conform/Makefile: Run run-conformtest for tests.
15989 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15990 support.
15991
15992 * conform/data/uchar.h-data: New file.
15993 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15994 * conform/data/arpa/inet.h-data: Likewise.
15995 * conform/data/assert.h-data: Likewise.
15996 * conform/data/complex.h-data: Likewise.
15997 * conform/data/cpio.h-data: Likewise.
15998 * conform/data/ctype.h-data: Likewise.
15999 * conform/data/dirent.h-data: Likewise.
16000 * conform/data/dlfcn.h-data: Likewise.
16001 * conform/data/errno.h-data: Likewise.
16002 * conform/data/fcntl.h-data: Likewise.
16003 * conform/data/float.h-data: Likewise.
16004 * conform/data/fmtmsg.h-data: Likewise.
16005 * conform/data/fnmatch.h-data: Likewise.
16006 * conform/data/ftw.h-data: Likewise.
16007 * conform/data/glob.h-data: Likewise.
16008 * conform/data/grp.h-data: Likewise.
16009 * conform/data/iconv.h-data: Likewise.
16010 * conform/data/inttypes.h-data: Likewise.
16011 * conform/data/langinfo.h-data: Likewise.
16012 * conform/data/libgen.h-data: Likewise.
16013 * conform/data/limits.h-data: Likewise.
16014 * conform/data/locale.h-data: Likewise.
16015 * conform/data/math.h-data: Likewise.
16016 * conform/data/monetary.h-data: Likewise.
16017 * conform/data/mqueue.h-data: Likewise.
16018 * conform/data/ndbm.h-data: Likewise.
16019 * conform/data/net/if.h-data: Likewise.
16020 * conform/data/netdb.h-data: Likewise.
16021 * conform/data/netinet/in.h-data: Likewise.
16022 * conform/data/nl_types.h-data: Likewise.
16023 * conform/data/poll.h-data: Likewise.
16024 * conform/data/pthread.h-data: Likewise.
16025 * conform/data/pwd.h-data: Likewise.
16026 * conform/data/regex.h-data: Likewise.
16027 * conform/data/sched.h-data: Likewise.
16028 * conform/data/search.h-data: Likewise.
16029 * conform/data/semaphore.h-data: Likewise.
16030 * conform/data/setjmp.h-data: Likewise.
16031 * conform/data/signal.h-data: Likewise.
16032 * conform/data/spawn.h-data: Likewise.
16033 * conform/data/stdarg.h-data: Likewise.
16034 * conform/data/stdio.h-data: Likewise.
16035 * conform/data/stdlib.h-data: Likewise.
16036 * conform/data/string.h-data: Likewise.
16037 * conform/data/strings.h-data: Likewise.
16038 * conform/data/stropts.h-data: Likewise.
16039 * conform/data/sys/ipc.h-data: Likewise.
16040 * conform/data/sys/mman.h-data: Likewise.
16041 * conform/data/sys/msg.h-data: Likewise.
16042 * conform/data/sys/resource.h-data: Likewise.
16043 * conform/data/sys/select.h-data: Likewise.
16044 * conform/data/sys/sem.h-data: Likewise.
16045 * conform/data/sys/shm.h-data: Likewise.
16046 * conform/data/sys/socket.h-data: Likewise.
16047 * conform/data/sys/stat.h-data: Likewise.
16048 * conform/data/sys/statvfs.h-data: Likewise.
16049 * conform/data/sys/time.h-data: Likewise.
16050 * conform/data/sys/timeb.h-data: Likewise.
16051 * conform/data/sys/times.h-data: Likewise.
16052 * conform/data/sys/types.h-data: Likewise.
16053 * conform/data/sys/uio.h-data: Likewise.
16054 * conform/data/sys/un.h-data: Likewise.
16055 * conform/data/sys/utsname.h-data: Likewise.
16056 * conform/data/sys/wait.h-data: Likewise.
16057 * conform/data/syslog.h-data: Likewise.
16058 * conform/data/tar.h-data: Likewise.
16059 * conform/data/termios.h-data: Likewise.
16060 * conform/data/utime.h-data: Likewise.
16061 * conform/data/utmpx.h-data: Likewise.
16062 * conform/data/varargs.h-data: Likewise.
16063 * conform/data/wchar.h-data: Likewise.
16064 * conform/data/wctype.h-data: Likewise.
16065 * conform/data/wordexp.h-data: Likewise.
16066
16067 * include/stropts.h: New file.
16068 * include/uchar.h: New file.
16069 * include/aio.h: Changes to allow conformtest.pl to use the headers.
16070 * include/assert.h: Likewise.
16071 * include/ctype.h: Likewise.
16072 * include/dirent.h: Likewise.
16073 * include/dlfcn.h: Likewise.
16074 * include/fcntl.h: Likewise.
16075 * include/fnmatch.h: Likewise.
16076 * include/glob.h: Likewise.
16077 * include/grp.h: Likewise.
16078 * include/libio.h: Likewise.
16079 * include/locale.h: Likewise.
16080 * include/math.h: Likewise.
16081 * include/net/if.h: Likewise.
16082 * include/netdb.h: Likewise.
16083 * include/netinet/in.h: Likewise.
16084 * include/pthread.h: Likewise.
16085 * include/pwd.h: Likewise.
16086 * include/regex.h: Likewise.
16087 * include/sched.h: Likewise.
16088 * include/search.h: Likewise.
16089 * include/setjmp.h: Likewise.
16090 * include/signal.h: Likewise.
16091 * include/stdio.h: Likewise.
16092 * include/stdlib.h: Likewise.
16093 * include/string.h: Likewise.
16094 * include/sys/cdefs.h: Likewise.
16095 * include/sys/mman.h: Likewise.
16096 * include/sys/msg.h: Likewise.
16097 * include/sys/resource.h: Likewise.
16098 * include/sys/select.h: Likewise.
16099 * include/sys/socket.h: Likewise.
16100 * include/sys/stat.h: Likewise.
16101 * include/sys/statvfs.h: Likewise.
16102 * include/sys/time.h: Likewise.
16103 * include/sys/times.h: Likewise.
16104 * include/sys/uio.h: Likewise.
16105 * include/sys/utsname.h: Likewise.
16106 * include/sys/wait.h: Likewise.
16107 * include/termios.h: Likewise.
16108 * include/time.h: Likewise.
16109 * include/ulimit.h: Likewise.
16110 * include/unistd.h: Likewise.
16111 * include/utime.h: Likewise.
16112 * include/wchar.h: Likewise.
16113 * include/wctype.h: Likewise.
16114 * include/wordexp.h: Likewise.
16115
16116 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
16117
7a270350
UD
16118 * time/time.h: TIME_UTC must be a macro.
16119 Make timespec_get available for ISO C11 only as well.
16120
7724defc
UD
161212012-02-24 Ulrich Drepper <drepper@gmail.com>
16122
16123 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
16124 Reported by Peng Haitao <penght@cn.fujitsu.com>.
16125
6b1d1d46
JM
161262012-02-24 Joseph Myers <joseph@codesourcery.com>
16127
16128 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 16129
0f8bbd69
JM
161302012-02-24 Joseph Myers <joseph@codesourcery.com>
16131
16132 * manual/texinfo.tex: Update to version 2012-01-19.16.
16133
66ab80bc
JM
161342012-02-24 Joseph Myers <joseph@codesourcery.com>
16135
16136 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
16137
74981cc5
RM
161382012-02-24 Roland McGrath <roland@hack.frob.com>
16139
ee968201
RM
16140 [BZ #13738]
16141 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
16142 * manual/fdl-1.3.texi: New file.
16143 * manual/fdl-1.1.texi: File removed.
16144
74981cc5
RM
16145 [BZ #13738]
16146 * manual/libc.texinfo (FDL_VERSION): New @set.
16147 Use it for mention of FDL in cover text.
16148 (Documentation License): Use it in @include file name.
16149
7bb764bc
JM
161502012-02-22 Joseph Myers <joseph@codesourcery.com>
16151 Roland McGrath <roland@hack.frob.com>
16152
16153 [BZ #5461]
16154 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
16155 not LONG_LONG_MAX and LONG_LONG_MIN.
16156 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
16157 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
16158 name.
16159 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
16160
6cbeae47
JM
161612012-02-22 Joseph Myers <joseph@codesourcery.com>
16162
16163 [BZ #2547]
16164 [BZ #11365]
16165 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
16166 manipulate bits before adding and subtracting TWO23[sx].
16167 * math/libm-test.inc (nearbyint_test): Add more tests.
16168
fe45ce09
JM
161692012-02-22 Joseph Myers <joseph@codesourcery.com>
16170
16171 [BZ #2548]
16172 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
16173 bits before adding and subtracting TWO23[sx].
16174 * math/libm-test.inc (rint_test): Add more tests.
16175 (rint_test_tonearest): Likewise.
16176 (rint_test_towardzero): Likewise.
16177 (rint_test_downward): Likewise.
16178 (rint_test_upward: Likewise.
16179
ff3b3d82
JM
161802012-02-22 Joseph Myers <joseph@codesourcery.com>
16181
16182 [BZ #10110]
16183 * include/stdc-predef.h: New file. Extracted from features.h.
16184 * include/features.h: Include stdc-predef.h.
16185 * Makefile (headers): Add stdc-predef.h.
16186 * CONFORMANCE (Compiler limitations): Update.
16187
ef0aab35
JM
161882012-02-22 Joseph Myers <joseph@codesourcery.com>
16189
16190 * manual/libc.texinfo (VERSION, UPDATED): Revert.
16191
58639409
DM
161922012-02-21 David S. Miller <davem@davemloft.net>
16193
16194 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
16195 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16196
c0e70b25
DM
161972012-02-20 David S. Miller <davem@davemloft.net>
16198
16199 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
16200 using a normal save/restore sequence, rather than allocating a
16201 dummy stack frame just to store a frame pointer and restore.
16202 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16203
fb06851d
JM
162042012-02-21 Joseph Myers <joseph@codesourcery.com>
16205
16206 * manual/install.texi: Fix stray word in line-wrapped comment.
16207
7a8b71c3
DM
162082012-02-20 David S. Miller <davem@davemloft.net>
16209
d510c123
DM
16210 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
16211 both binutils and gcc support GOTDATA.
16212
0722d7c2
DM
16213 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
16214 "rd %pc" in the PIC register setup sequences.
16215
3d2b3019
DM
16216 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
16217 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
16218 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
16219 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
16220 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
16221 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16222 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16223 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
16224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
16225 (SYSCALL_ERROR_HANDLER): Likewise.
16226 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
16227 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16228 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
16229 (SYSCALL_ERROR_HANDLER): Likewise.
16230
c80098a9
DM
16231 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
16232 (HAVE_GCC_GOTDATA): New.
16233 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
16234 relocation support in both binutils and gcc.
16235 * sysdeps/sparc/elf/configure: Regenerate.
16236
3a2545a0
DM
16237 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
16238 * sysdeps/sparc/sparc32/elf/configure: Delete.
16239 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
16240 * sysdeps/sparc/sparc64/elf/configure: Delete.
16241 * sysdeps/sparc/elf/configure.in: New file.
16242 * sysdeps/sparc/elf/configure: Generate.
16243
7a8b71c3
DM
16244 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
16245 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
16246 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
16247 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
16248 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
16249
f1e86fca
JM
162502012-02-21 Joseph Myers <joseph@codesourcery.com>
16251
16252 * manual/install.texi: Do not mention specific glibc version
16253 numbers.
16254 * manual/libc.texinfo (VERSION, UPDATED): Update.
16255 (@copying): Use @copyright{} and range of years.
16256
0e7dfaef
JM
162572012-02-21 Joseph Myers <joseph@codesourcery.com>
16258
16259 [BZ #13695]
16260 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
16261 [crti.S not in sysdirs] (generated): Do not append.
16262 [crti.S not in sysdirs] (omit-deps): Likewise.
16263 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
16264 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
16265 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
16266 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
16267 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
16268 Likewise.
16269 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
16270 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
16271 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
16272 * csu/defs.awk: Remove file.
16273 * sysdeps/generic/initfini.c: Likewise.
16274 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
16275 variable.
16276 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
16277 Likewise.
16278
599af3ca
JM
162792012-02-20 Joseph Myers <joseph@codesourcery.com>
16280
16281 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
16282 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
16283 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
16284 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
16285 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16286 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
16287 <bits/epoll.h>.
16288 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
16289 (__EPOLL_PACKED): Define to empty if not defined by
16290 <bits/epoll.h>.
16291 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
16292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16293 bits/epoll.h.
16294
0e499750
JM
162952012-02-20 Joseph Myers <joseph@codesourcery.com>
16296
16297 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
16298 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
16299 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
16300 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
16301 <bits/timerfd.h>.
16302 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
16303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16304 bits/timerfd.h.
16305
5ad91f6e
JM
163062012-02-20 Joseph Myers <joseph@codesourcery.com>
16307
16308 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
16309 in C locale.
16310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
16313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16314
06b99b02
AJ
163152012-02-20 Aurelien Jarno <aurelien@aurel32.net>
16316
16317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16318 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
16319
7638c0fd
AS
163202012-02-19 Andreas Schwab <schwab@linux-m68k.org>
16321
16322 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
16323 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
16324 defined.
16325 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
16326 Likewise.
16327 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
16328 entry for 2.16.
16329
92221550
AJ
163302012-02-19 Aurelien Jarno <aurelien@aurel32.net>
16331
16332 * math/w_acos.c: Use non-signaling floating-point comparisons.
16333 * math/w_acosf.c: Likewise.
16334 * math/w_acosh.c: Likewise.
16335 * math/w_acoshf.c: Likewise.
16336 * math/w_acoshl.c: Likewise.
16337 * math/w_acosl.c: Likewise.
16338 * math/w_asin.c: Likewise.
16339 * math/w_asinf.c: Likewise.
16340 * math/w_asinl.c: Likewise.
16341 * math/w_atanh.c: Likewise.
16342 * math/w_atanhf.c: Likewise.
16343 * math/w_atanhl.c: Likewise.
16344 * math/w_exp2.c: Likewise.
16345 * math/w_exp2f.c: Likewise.
16346 * math/w_exp2l.c: Likewise.
16347 * math/w_j0.c: Likewise.
16348 * math/w_j0f.c: Likewise.
16349 * math/w_j0l.c: Likewise.
16350 * math/w_j1.c: Likewise.
16351 * math/w_j1f.c: Likewise.
16352 * math/w_j1l.c: Likewise.
16353 * math/w_jn.c: Likewise.
16354 * math/w_jnf.c: Likewise.
16355 * math/w_log.c: Likewise.
16356 * math/w_log10.c: Likewise.
16357 * math/w_log10f.c: Likewise.
16358 * math/w_log10l.c: Likewise.
16359 * math/w_log2.c: Likewise.
16360 * math/w_log2f.c: Likewise.
16361 * math/w_log2l.c: Likewise.
16362 * math/w_logf.c: Likewise.
16363 * math/w_logl.c: Likewise.
16364 * math/w_sqrt.c: Likewise.
16365 * math/w_sqrtf.c: Likewise.
16366 * math/w_sqrtl.c: Likewise.
16367 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
16368 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
16369 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
16370 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
16371 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
16372
ebaf36eb
JM
163732012-02-19 Joseph Myers <joseph@codesourcery.com>
16374
16375 [BZ #9739]
16376 * manual/string.texi (strnlen): Use correct parameter name in
16377 equivalent expression.
16378
71c254a6
JM
163792012-02-19 Joseph Myers <joseph@codesourcery.com>
16380
16381 [BZ #11174]
16382 * manual/users.texi (seteuid): Consistently use neweuid for
16383 argument name.
16384
16d2c631
JM
163852012-02-19 Joseph Myers <joseph@codesourcery.com>
16386
16387 [BZ #13704]
16388 * manual/nss.texi (Services in the NSS configuration): Correct
16389 list of services in example configuration file.
16390
cd837b09
NB
163912012-02-19 Nick Bowler <nbowler@draconx.ca>
16392
16393 [BZ #11322]
16394 * manual/arith.texi: Remove statements about negative zero
16395 behaving identically to zero.
16396
02c4bbad
JM
163972012-02-18 Joseph Myers <joseph@codesourcery.com>
16398
16399 [BZ #5993]
16400 * manual/install.texi: Do not document upgrading from libc5.
16401
366842e7
JM
164022012-02-18 Joseph Myers <joseph@codesourcery.com>
16403
16404 [BZ #4596]
16405 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
16406
dd54084d
DM
164072012-02-18 David S. Miller <davem@davemloft.net>
16408
16409 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
16410 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
16411 %o7 across the call.
16412 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
16413 instead.
16414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
16415 SETUP_PIC_REG_LEAF.
16416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16417 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
16418 * sysdeps/sparc/crtn.S: Likewise.
16419
2bcc53a3
UD
164202012-02-17 Ulrich Drepper <drepper@gmail.com>
16421
16422 * aout/Makefile: Remove.
16423
09c093b5
RK
164242012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
16425
16426 [BZ #13058]
16427 * manual/examples/argp-ex1.c (main): Format definition in GNU
16428 style.
16429 * manual/examples/argp-ex2.c (main): Likewise.
16430 * manual/examples/argp-ex3.c (main): Likewise.
16431 * manual/examples/argp-ex4.c (main): Likewise.
16432 * manual/examples/longopt.c (main): Use new-style prototype
16433 definition.
16434 * manual/examples/strncat.c (main): Specify return type and use
16435 (void) for arguments.
16436 * manual/examples/subopt.c (main): Use char **argv argument.
16437
2ee633a2
JM
164382012-02-17 Joseph Myers <joseph@codesourcery.com>
16439
16440 [BZ #5077]
16441 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
16442 rounding modes.
16443
0520adde
FB
164442012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
16445
16446 [BZ #6907]
16447 * manual/string.texi (strchr): Change when strchrnul is
16448 recommended.
16449
3f4081cd
DGM
164502012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
16451
16452 [BZ #174]
16453 * manual/locale.texi (setlocale): Document LOCPATH.
16454
d1b10e78
JM
164552012-02-17 Joseph Myers <joseph@codesourcery.com>
16456
16457 [BZ #10210]
16458 * manual/process.texi (execle): Move @dots{} before last argument.
16459
79c6869c
PB
164602012-02-17 Paul Bolle <pebolle@tiscali.nl>
16461
16462 [BZ #12047]
16463 * manual/charset.texi (Generic Charset Conversion): Fix typo
16464 (LC_TYPE -> LC_CTYPE).
16465
cc6e48bc
NB
164662012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
16467
16468 [BZ #5805]
16469 * manual/arith.texi (scalbn): Use @var{} on parameter names.
16470 (scalbnf): Likewise.
16471 (scalbnl): Likewise.
16472 (scalbln): Likewise.
16473 (scalblnf): Likewise.
16474 (scalblnl): Likewise.
16475 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
16476 (vwarnx): Likewise.
16477 (verr): Likewise.
16478 (verrx): Likewise.
16479 * manual/filesys.texi (telldir): Use braces around return type.
16480 * manual/llio.texi (mmap): Add space after comma.
16481 (mmap64): Likewise.
16482 * manual/math.texi (jn): Use @var{} on parameter names.
16483 (jnf): Likewise.
16484 (jnl): Likewise.
16485 (yn): Likewise.
16486 (ynf): Likewise.
16487 (ynl): Likewise.
16488 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
16489 line.
16490 * manual/resource.texi (ulimit): Use @dots{} instead of literal
16491 "...".
16492 (sched_get_priority_min): Remove semicolon on @deftypefun line.
16493 (sched_get_priority_max): Likewise.
16494 * manual/signal.texi (sigvec): Add space after comma.
16495 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
16496 names.
16497 (if_indextoname): Likewise.
16498 (if_freenameindex): Likewise.
16499 (sendto): Use ',' instead of '.' in prototype.
16500 * manual/startup.texi (syscall): Use @dots{} instead of literal
16501 "...".
16502 * manual/stdio.texi (__fpending): Separate initial words of
16503 paragraph from @deftypefun line.
16504 * manual/syslog.texi (syslog): Use @dots{} instead of literal
16505 "...".
16506 (vsyslog): Use @var{} on parameter names.
16507 * manual/terminal.texi (stty): Use @var{} on parameter names.
16508 * manual/users.texi (getutmp): Use @var{} on parameter names.
16509 (getutmpx): Likewise.
16510
5b23062f
JM
165112012-02-17 Joseph Myers <joseph@codesourcery.com>
16512
16513 [BZ #6884]
16514 * manual/stdio.texi (fopen): Fix typos in description of
16515 ",ccs=STRING".
16516
8dee4833
AJ
165172012-02-17 Aurelien Jarno <aurelien@aurel32.net>
16518
16519 [BZ #4026]
16520 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
16521 get clock_id definition.
16522
9078ce93
TS
165232012-02-17 Thomas Schwinge <thomas@schwinge.name>
16524
16525 [BZ #4822]
16526 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
16527 (madvise): Cast every argument to void on its own.
16528
3835c55f
JM
165292012-02-17 Joseph Myers <joseph@codesourcery.com>
16530
16531 [BZ #9902]
16532 * manual/startup.texi (Exit Status): Fix typo.
16533
35c47e37
JM
165342012-02-17 Joseph Myers <joseph@codesourcery.com>
16535
16536 [BZ #10140]
16537 * manual/examples/argp-ex1.c: Include <stdlib.h>.
16538 * manual/examples/argp-ex2.c: Likewise.
16539 * manual/examples/argp-ex3.c: Likewise.
16540
e3b69ca7
RH
165412012-02-16 Richard Henderson <rth@redhat.com>
16542
16543 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
16544 * sysdeps/s390/s390-32/initfini.c: Remove.
16545 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16546 * sysdeps/s390/s390-64/initfini.c: Remove.
16547
df83af67
KK
165482012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16549
16550 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16551 compiler output for sysdeps/generic/initfini.c.
16552 * sysdeps/sh/elf/initfini.c: Remove file.
16553
f63f3380
DM
165542012-02-16 David S. Miller <davem@davemloft.net>
16555
fb59b3a4
DM
16556 [BZ #11494]
16557 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16558
f63f3380
DM
16559 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16560 * sysdeps/sparc/crti.S: New file.
16561 * sysdeps/sparc/crtn.S: New file.
16562 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16563 * sysdeps/sparc/sparc64/Makefile: Likewise.
16564
df6a4a4a
MF
165652012-02-15 Mike Frysinger <vapier@gentoo.org>
16566
6dd8f3dc 16567 [BZ #3335]
df6a4a4a
MF
16568 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16569
1cac7236
RM
165702012-02-15 Roland McGrath <roland@hack.frob.com>
16571
d2c736f8
RM
16572 [BZ #4822]
16573 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16574
1cac7236
RM
16575 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16576 (write, read, close): Likewise.
16577 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16578
8e475601
JM
165792012-02-15 Joseph Myers <joseph@codesourcery.com>
16580
16581 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16582 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16583 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16584 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16585 <bits/signalfd.h>.
16586 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16588 bits/signalfd.h.
16589
ed656b40
MP
165902012-02-14 Marek Polacek <polacek@redhat.com>
16591
16592 * sysdeps/x86_64/crti.S: New file.
16593 * sysdeps/x86_64/crtn.S: New file.
16594 * sysdeps/x86_64/elf/initfini.c: Remove file.
16595
2a979d3a
JM
165962012-02-13 Joseph Myers <joseph@codesourcery.com>
16597
16598 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16599 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16600 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16601 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16602 <bits/inotify.h>.
16603 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16605 bits/inotify.h.
16606
2a418ac3
JM
166072012-02-13 Joseph Myers <joseph@codesourcery.com>
16608
16609 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16610 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16611 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16612 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16613 <bits/eventfd.h>.
16614 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16616 bits/eventfd.h.
16617
fb779be7
TS
166182012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16619
e19e83c5
RM
16620 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16621 __feraiseexcept instead of feraiseexcept.
7c35ffed 16622
fb779be7
TS
16623 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16624 nanosleep invocations.
16625 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16626 strings, and add error checking for a nanosleep invocations.
16627
59ba27a6
PE
166282012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16629
16630 Replace FSF snail mail address with URLs, as per GNU coding standards.
16631 Most of the snail mail addresses were wrong anyway, and omitting
16632 them makes the source code easier to maintain. Almost all of the
16633 changes are to license notices and to locale LC_IDENTIFICATION
16634 addresses, except for this one:
16635 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16636 not its snail mail address.
16637
57b957eb
RH
166382012-02-09 Richard Henderson <rth@twiddle.net>
16639
af850b1c
RH
16640 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16641 of kernel-features.h.
16642
57b957eb
RH
16643 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16644
6b73181a
MP
166452012-02-08 Marek Polacek <polacek@redhat.com>
16646
16647 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16648 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16649 * sysdeps/gnu/_G_config.h: Likewise.
16650 * sysdeps/generic/_G_config.h: Likewise.
16651
26ecc33a
AS
166522012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16653
6c6dbc63
AS
16654 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16655 tests.
16656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16657
e216c012
AS
16658 * sysdeps/powerpc/powerpc32/crti.S: New file.
16659 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16660 * sysdeps/powerpc/powerpc64/crti.S: New file.
16661 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16662
26ecc33a
AS
16663 * Makeconfig (have-initfini): Don't set.
16664 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16665 * configure.in (nopic_initfini): Don't substitute.
16666 * config.h.in (HAVE_INITFINI): Don't #undef.
16667 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16668 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16669
3add8e13
JM
166702012-02-08 Joseph Myers <joseph@codesourcery.com>
16671
16672 Support crti.S and crtn.S provided directly by architectures.
16673 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16674 [crti.S in sysdirs] (omit-deps): Likewise.
16675 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16676 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16677 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16678 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16679 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16680 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16681 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16682 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16683 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16684 compiler output for sysdeps/generic/initfini.c.
16685 * sysdeps/i386/elf/Makefile: Remove file.
16686 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16687
a22f12b4
MP
166882012-02-07 Marek Polacek <polacek@redhat.com>
16689
16690 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16691 * sysdeps/gnu/_G_config.h: Likewise.
16692 * sysdeps/mach/hurd/_G_config.h: Likewise.
16693
148cf100
MP
166942012-02-07 Marek Polacek <polacek@redhat.com>
16695
16696 * math/Makefile (tests): Add tst-CMPLX2.
16697 * math/tst-CMPLX2.c: New file.
16698
cfdc0dd7
AS
166992012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16700
84ba42c4
AS
16701 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16702
cfdc0dd7
AS
16703 * math/libm-test.inc (jn_test): Add missing L suffix.
16704
622c86f4
MP
167052012-02-06 Marek Polacek <polacek@redhat.com>
16706
16707 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16708 * sysdeps/i386/fpu/e_powf.S: Likewise.
16709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16710 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16711 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16712 * sysdeps/i386/fpu/e_pow.S: Likewise.
16713 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16714 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16715 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16716 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16717 * sysdeps/i386/fpu/e_log2.S: Likewise.
16718 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16719 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16720 * sysdeps/i386/fpu/e_powl.S: Likewise.
16721 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16722 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16723 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16724 * sysdeps/i386/fpu/e_logl.S: Likewise.
16725 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16726 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16727 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16728 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16729 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16730 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16731 * sysdeps/i386/fpu/e_log.S: Likewise.
16732 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16733 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16734 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16735 * sysdeps/i386/fpu/e_logf.S: Likewise.
16736 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16737 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16738 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16739 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16740 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16741 * sysdeps/i386/fpu/e_log10.S: Likewise.
16742 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16743 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16744 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16745 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16746 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16747 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16748 * sysdeps/i386/asm-syntax.h: Likewise.
16749 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16750 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16751 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16752 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16753 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16754 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16755 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16756 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16757 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16758 * sysdeps/powerpc/sysdep.h: Likewise.
16759 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16760 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16761
d4a54ac6
JM
167622012-02-06 Joseph Myers <joseph@codesourcery.com>
16763
16764 [BZ #411]
16765 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16766
314054ea
JM
167672012-02-06 Joseph Myers <joseph@codesourcery.com>
16768
16769 * sysdeps/i386/sysdep.h: Include <features.h>.
16770 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16771 version.
16772
d8e0ca50
JM
167732012-02-05 Joseph Myers <joseph@codesourcery.com>
16774
16775 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16776 Define.
16777 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16778 LOAD_PIC_REG_STR.
16779
b1da7dd9
JM
167802012-02-03 Joseph Myers <joseph@codesourcery.com>
16781
16782 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16783 (SETUP_PIC_REG): Use GET_PC_THUNK.
16784 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16785 macro.
16786
9a1d9254
JM
167872012-02-03 Joseph Myers <joseph@codesourcery.com>
16788
16789 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16790 for non-PIC compilation.
16791 (SETUP_PIC_REG): Add .p2align directive.
16792 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16793 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16794 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16795 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16796 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16797 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16798 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16800 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16801 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16802 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16803 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16804 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16805 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16806 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16807 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16808 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16809 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16810 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16811 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16812 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16813 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16814 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16815 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16818 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16819 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16820 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16821 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16822 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16823 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16824 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16825 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16826 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16827 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16828 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16829 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16830 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16831 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16832 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16833
65dc3b75
JM
168342012-02-03 Joseph Myers <joseph@codesourcery.com>
16835
16836 * math/tst-CMPLX.c: Include <stdio.h>.
16837
d55bf177
JM
168382012-01-31 Joseph Myers <joseph@codesourcery.com>
16839
16840 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16841 float.
16842 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16843 * sysdeps/sparc/bits/mathdef.h: Likewise.
16844
69db4f8f
MP
168452012-01-31 Marek Polacek <polacek@redhat.com>
16846
16847 * libio/libio.h: Don't define _PARAMS.
16848 * locale/programs/config.h: Don't define PARAMS.
16849 * stdlib/strtol_l.c: Likewise.
16850 (__strtol_l): Remove PARAMS from the prototype.
16851
41b81892
UD
168522012-01-31 Ulrich Drepper <drepper@gmail.com>
16853
3b49edc0
UD
16854 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16855 names. Just use the correct names. Remove unnecessary wrapper
16856 functions.
16857 * malloc/arena.c: Likewise.
16858 * malloc/hooks.c: Likewise.
16859
41b81892
UD
16860 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16861 ARENA_TEST says not to. Simplify test for creation of a new arena.
16862 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16863
27a25b6e
UD
168642012-01-30 Ulrich Drepper <drepper@gmail.com>
16865
16866 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16867 into tail calls.
16868 (update_get_addr): New function.
16869 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16870 GET_ADDR_MODULE parameter.
16871
c8a89e7d
JM
168722012-01-30 Joseph Myers <joseph@codesourcery.com>
16873
16874 * crypt/cert.c: Remove __STDC__ conditionals.
16875 * crypt/crypt-entry.c: Likewise.
16876 * crypt/crypt_util.c: Likewise.
16877 * libio/filedoalloc.c: Likewise.
16878 * libio/fileops.c: Likewise.
16879 * libio/genops.c: Likewise.
16880 * libio/iofclose.c: Likewise.
16881 * libio/iofdopen.c: Likewise.
16882 * libio/iofopen.c: Likewise.
16883 * libio/iofopen64.c: Likewise.
16884 * libio/iogetdelim.c: Likewise.
16885 * libio/iopopen.c: Likewise.
16886 * libio/obprintf.c: Likewise.
16887 * libio/oldfileops.c: Likewise.
16888 * libio/oldiofclose.c: Likewise.
16889 * libio/oldiofdopen.c: Likewise.
16890 * libio/oldiofopen.c: Likewise.
16891 * libio/oldiopopen.c: Likewise.
16892 * libio/wfiledoalloc.c: Likewise.
16893 * libio/wgenops.c: Likewise.
16894 * locale/programs/xmalloc.c: Likewise.
16895 * misc/syslog.c: Likewise.
16896 * stdio-common/xbug.c: Likewise.
16897 * string/memchr.c: Likewise.
16898 * string/memcmp.c: Likewise.
16899 * string/memrchr.c: Likewise.
16900 * string/rawmemchr.c: Likewise.
16901 * sysdeps/posix/getcwd.c: Likewise.
16902 * time/strftime_l.c: Likewise.
16903
3b100462
JM
169042012-01-30 Joseph Myers <joseph@codesourcery.com>
16905
16906 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
16907 * config.make.in (config-cflags-sse2avx): Define.
16908 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16909 Fix typo.
16910
607998af
CM
169112012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16912
16913 * scripts/config.guess: Update from upstream config git repository.
16914 * scripts/config.sub: Likewise.
16915
3601428f
CM
169162012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16917
3ac8b282
CM
16918 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16919 (EM_NUM): Update.
16920 (R_TILEPRO_*, R_TILEGX_*): New macros.
16921
e034841e
CM
16922 * scripts/firstversions.awk: Fix bug in version range handling.
16923
540d7568
CM
16924 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16925
3601428f
CM
16926 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16927
463de862
CM
16928 * include/sys/epoll.h: New file.
16929 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16930 libc_hidden_def.
16931
73139a76
UD
169322012-01-28 Ulrich Drepper <drepper@gmail.com>
16933
96bc5b45
UD
16934 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16935 Avoid unnecessary __WORDSIZE == 64 test.
16936 (fmaxf): Use VEX format if possible.
16937 (fmax): Likewise.
16938 (fminf): Likewise.
16939 (fmin): Likewise.
16940
56f6f6a2
UD
16941 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16942 * math/math_private.h: Remove libc_fegetround* and
16943 libc_fesetround*.
16944 * sysdeps/i386/configure.in: Check for -msse2avx.
16945 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16946 also if SSE2AVX is defined.
16947 Remove libc_fegetround* and libc_fesetround*.
16948 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16949 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16951 of HAS_YMM_USABLE.
16952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16953 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16954 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16955 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16956 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16957
73139a76
UD
16958 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16959
d73f93a4
AZ
169602012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16961
16962 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16963 size is not set.
16964 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16965
6ee65ed6
UD
169662012-01-27 Ulrich Drepper <drepper@gmail.com>
16967
16968 [BZ #13618]
16969 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16970 relocation.
16971 * Makeconfig (libm): Define.
16972 * elf/Makefile: Add rules to build and run tst-relsort1.
16973 * elf/tst-relsort1.c: New file.
16974 * elf/tst-relsort1mod1.c: New file.
16975 * elf/tst-relsort1mod2.c: New file.
16976
8db21882
JM
169772012-01-27 Joseph Myers <joseph@codesourcery.com>
16978
16979 * math/s_ldexp.c: Remove __STDC__ conditionals.
16980 * math/s_ldexpf.c: Likewise.
16981 * math/s_ldexpl.c: Likewise.
16982 * math/s_nextafter.c: Likewise.
16983 * math/s_nexttowardf.c: Likewise.
16984 * math/s_significand.c: Likewise.
16985 * math/s_significandf.c: Likewise.
16986 * math/s_significandl.c: Likewise.
16987 * math/w_jnl.c: Likewise.
16988 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16989 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16990 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16991 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16992 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16993 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16994 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16995 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16996 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16997 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16998 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16999 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17000 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17001 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17002 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17003 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17004 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17005 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17007 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17008 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17009 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17010 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17011 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17012 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17013 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17014 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17015 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17016 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17017 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17018 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17019 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17020 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17021 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17022 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17023 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17024 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17025 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17026 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17027 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17028 * sysdeps/ieee754/k_standard.c: Likewise.
17029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17031 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17033 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17038 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17047 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17048 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17049 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17050 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17051 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17052 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17053 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17054 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17057 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17058 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17059 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17060 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
17061 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17062 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17063 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17064 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17065 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
17066 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17067 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17068 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
17069 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
17070 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17071 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
17073 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17074 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
17075 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17076 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17077 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17078 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
17079 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
17080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17082 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17083 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17084 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17085 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
17086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17087 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17088 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17090 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17091 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17092 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17093 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17094 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17095 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17096 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17097 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17098 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17099 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17100 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17101 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17103 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17104 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17105 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17106 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17107 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17108 * sysdeps/ieee754/s_matherr.c: Likewise.
17109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17111 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17112 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17113
965a54a4
JM
171142012-01-26 Joseph Myers <joseph@codesourcery.com>
17115
17116 * crypt/md5.h: Remove __STDC__ conditionals.
17117 * libio/libioP.h: Likewise.
17118 * locale/programs/config.h: Likewise.
17119 * sysdeps/generic/sysdep.h: Likewise.
17120 * sysdeps/i386/asm-syntax.h: Likewise.
17121 * sysdeps/s390/asm-syntax.h: Likewise.
17122 * sysdeps/unix/sysdep.h: Likewise.
17123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17125
7071ad79
JM
171262012-01-26 Joseph Myers <joseph@codesourcery.com>
17127
17128 * libio/libio.h: Remove __STDC__ conditionals.
17129 * malloc/obstack.h: Likewise.
17130 * math/complex.h: Likewise.
17131 * math/math.h: Likewise.
17132 * sysdeps/generic/_G_config.h: Likewise.
17133 * sysdeps/gnu/_G_config.h: Likewise.
17134 * sysdeps/mach/hurd/_G_config.h: Likewise.
17135 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17136 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
17137 * sysdeps/sparc/bits/mathdef.h: Likewise.
17138
afc5ed09
UD
171392012-01-26 Ulrich Drepper <drepper@gmail.com>
17140
17141 [BZ #13583]
17142 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 17143 Clean up HAS_* macros.
afc5ed09 17144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
17145 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
17146 possible.
17147 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
17148 HAS_AVX.
17149 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17150 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17151 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17153 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 17154
bdb6de1d
JM
171552012-01-25 Joseph Myers <joseph@codesourcery.com>
17156
17157 * elf/tst-unique3.cc (gets): Remove declaration.
17158 * elf/tst-unique3lib.cc (gets): Likewise.
17159 * elf/tst-unique3lib2.cc (gets): Likewise.
17160 * elf/tst-unique4.cc (gets): Likewise.
17161
b15549e6
UD
171622012-01-24 Ulrich Drepper <drepper@gmail.com>
17163
17164 * include/stdio.h: Add C++ protection. Add gets declarations and
17165 definitions.
17166 * debug/tst-chk1.c: Don't declare gets here.
17167 * stdio-common/tst-gets.c: Likewise.
17168
a037381f
JM
171692012-01-24 Joseph Myers <joseph@codesourcery.com>
17170
17171 * posix/glob: Remove directory.
17172
f1d4aa75
JM
171732012-01-24 Joseph Myers <joseph@codesourcery.com>
17174
17175 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
17176
81c0c964
PT
171772012-01-22 Pino Toscano <toscano.pino@tiscali.it>
17178
17179 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
17180 of the non-standard EPFNOSUPPORT.
17181
0ea698ae
ST
171822011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
17183
17184 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
17185 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
17186 ANYWHERE set to 1 only on KERN_NO_SPACE error.
17187
d220b117
UD
171882012-01-21 Ulrich Drepper <drepper@gmail.com>
17189
17190 * wcsmbs/uchar.h: Test __STDC_VERSION__.
17191
3e1aa84e
UD
171922012-01-20 Ulrich Drepper <drepper@gmail.com>
17193
17194 * nscd/aicache.c (addhstaiX): Do not cache negative results of
17195 transient errors.
17196 * nscd/grpcache.c (cache_addgr): Likewise.
17197 * nscd/hstcache.c (cache_addhst): Likewise.
17198 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17199 * nscd/pwdcache.c (cache_addpw): Likewise.
17200 * nscd/servicescache.c (cache_addserv): Likewise.
17201
400aa020
UD
172022012-01-16 Ulrich Drepper <drepper@gmail.com>
17203
d77e7869
UD
17204 * malloc/malloc.c: Various cleanups.
17205 * malloc/hooks.c: Likewise.
17206
400aa020
UD
17207 * stdlib/Makefile (tests): Add bug-fmtmsg1.
17208 * stdlib/bug-fmtmsg1.c: New file.
17209
17210 * stdlib/fmtmsg.c (init): Add missing unlock.
17211 Patch by Peng Haitao <penght@cn.fujitsu.com>.
17212
e0a309cf
MP
172132012-01-12 Marek Polacek <polacek@redhat.com>
17214
17215 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
17216 and _GNU_SOURCE.
17217
929d11c7
WS
172182012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
17219
17220 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
17221 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
17222 macro to ensure uniqueness of label name.
17223 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17224 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17225
41d0e869
UD
172262012-01-11 Ulrich Drepper <drepper@gmail.com>
17227
0cc5ed3b
UD
17228 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
17229
41d0e869
UD
17230 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
17231 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17232 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
17234
a47a831a
UD
172352012-01-10 Ulrich Drepper <drepper@gmail.com>
17236
daa891c0
UD
17237 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
17238
17239 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
17240 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17241 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17242
e58ef0f2
UD
17243 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
17244
a47a831a 17245 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
17246 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17247 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 17248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
17249
17250 * math/bits/math-finite.h: Add ldexp support.
17251
a0bfc9c7
MP
172522012-01-10 Marek Polacek <polacek@redhat.com>
17253
17254 * locale/programs/localedef.h (show_archive_content): Add noreturn
17255 attribute.
17256
d6e97a1d
UD
172572012-01-09 Ulrich Drepper <drepper@gmail.com>
17258
17259 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
17260
d5835c26
UD
172612012-01-08 Ulrich Drepper <drepper@gmail.com>
17262
e5f484c6
UD
17263 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
17264
d5835c26
UD
17265 * io/Makefile (headers): Add bits/poll2.h.
17266
d1f741e9
WS
172672011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
17268
17269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
17270 typo #include statement.
17271
ec09c1c4
UD
172722012-01-08 Ulrich Drepper <drepper@gmail.com>
17273
17274 * include/sys/cdefs.h: Define __attribute_alloc_size.
17275 * catgets/gencat.c: Add alloc_size attribute and apply consistently
17276 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
17277 * elf/pldd.c: Likewise.
17278 * iconv/iconv_charmap.c: Likewise.
17279 * iconv/iconvconfig.c: Likewise.
17280 * iconv/strtab.c: Likewise.
17281 * locale/programs/locale.c: Likewise.
17282 * locale/programs/localedef.h: Likewise.
17283 * locale/programs/simple-hash.c: Likewise.
17284 * nscd/nscd.h: Likewise.
17285 * nss/makedb.c: Likewise.
17286 * sysdeps/generic/ldconfig.h: Likewise.
17287 * locale/programs/localedef.c: Remove xmalloc prototype.
17288 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
17289
20b38e03
PP
172902012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17291
17292 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
17293 appropriate.
17294
a0da5fe1
UD
172952012-01-08 Ulrich Drepper <drepper@gmail.com>
17296
1d5a644a 17297 * math/Makefile (tests): Add tst-CMPLX.
669704fd 17298 * math/tst-CMPLX.c: New file.
1d5a644a 17299
8784a6db
UD
17300 * math/complex.h (CMPLXL): Fix typo.
17301
d9a216c0
UD
17302 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
17303 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
17304 GLIBC_2.16.
17305 * debug/tst-chk1.c: Add poll and ppoll tests.
17306 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
17307 * include/sys/poll.h: Add hidden proto for ppoll.
17308 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
17309 * sysdeps/mach/hurd/ppoll.c: Likewise.
17310 * io/ppoll.c: Likewise.
17311 * debug/poll_chk.c: New file.
17312 * debug/ppoll_chk.c: New file.
17313 * include/bits/poll2.h: New file.
17314 * io/bits/poll2.h: New file.
17315
ac097f5c
UD
17316 [BZ #1350]
17317 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
17318
2119dcfa
UD
17319 * configure.in: static is always set to yes. Remove.
17320 * config.make.in: Don't set build-static.
17321 * Makeconfig: Remove use of build-static.
17322 * dlfcn/Makefile: Likewise.
17323 * elf/Makefile: Likewise.
17324 * math/Makefile: Likewise.
17325 * misc/Makefile: Likewise.
17326 * nptl/Makefile: Likewise.
17327 * sysdeps/mach/hurd/Makefile: Likewise.
17328
121766a9
UD
17329 * configure.in: PWD_P is not used anymore.
17330 * config.make.in: Remove PWD_P entry.
17331
51a1d39c 17332 * configure.in: Remove last remnants of RANLIB.
8720d066 17333 No need to check for signed size_t anymore.
215f4bdc
UD
17334 Don't set libc_commonpagesize and libc_relro_required here for Alpha
17335 and IA-64.
3857022a 17336 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
17337 * aclocal.m4: Likewise.
17338
d3ed7225
UD
17339 * wcsmbs/mbrtoc16.c: Implement using towc function.
17340 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
17341 * wcsmbs/wcsmbsload.c: Likewise.
17342 * iconv/gconv_simple.c: Likewise.
17343 * iconv/gconv_int.h: Likewise.
17344 * iconv/gconv_builtin.h: Likewise.
17345 * iconv/iconv_prog.c: Remove CHAR16 handling.
17346
17347 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
17348
17349 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
17350
a0da5fe1
UD
17351 * configure.in: Remove --with-elf and --enable-bounded options.
17352 Dont set base_machine for ia64. More non-ELF conditions removed.
17353 Remove testing and setting of leading underscore information.
17354 * config.make.in (build-bounded): Set to no.
17355 * config.h.in: Remove NO_UNDERSCORES entry.
17356 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
17357 them.
17358 * csu/start.c: Remove !NO_UNDERSCORE code.
17359 * locale/localeinfo.h: Likewise.
17360 * sysdeps/generic/machine-gmon.h: Likewise.
17361 * sysdeps/generic/sysdep.h: Likewise.
17362 * sysdeps/i386/sysdep.h: Likewise.
17363 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17364 * sysdeps/mach/sysdep.h: Likewise.
17365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17366 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17367 * sysdeps/sh/sysdep.h: Likewise.
17368 * sysdeps/sparc/sparc32/alloca.S: Likewise.
17369 * sysdeps/unix/i386/sysdep.S: Likewise.
17370 * sysdeps/unix/sparc/start.c: Likewise.
17371 * sysdeps/unix/sparc/sysdep.S: Likewise.
17372 * sysdeps/unix/sparc/sysdep.h: Likewise.
17373 * sysdeps/unix/start.c: Likewise.
17374 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17375 * sysdeps/x86_64/sysdep.h: Likewise.
17376
df78418a
UD
173772012-01-07 Ulrich Drepper <drepper@gmail.com>
17378
a784e502
UD
17379 [BZ #13553]
17380 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
17381 for non-gcc.
17382 * argp/argp-fmtstream.h: Use const instead __const.
17383 * argp/argp.h: Likewise.
17384 * assert/assert.h: Likewise.
17385 * bits/fenv.h: Likewise.
17386 * bits/sched.h: Likewise.
17387 * bits/sigset.h: Likewise.
17388 * bits/sigthread.h: Likewise.
17389 * catgets/nl_types.h: Likewise.
17390 * conform/data/pthread.h-data: Likewise.
17391 * crypt/crypt-private.h: Likewise.
17392 * crypt/crypt.h: Likewise.
17393 * crypt/crypt_util.c: Likewise.
17394 * ctype/ctype.h: Likewise.
17395 * debug/execinfo.h: Likewise.
17396 * debug/mbsnrtowcs_chk.c: Likewise.
17397 * debug/mbsrtowcs_chk.c: Likewise.
17398 * debug/wcsnrtombs_chk.c: Likewise.
17399 * debug/wcsrtombs_chk.c: Likewise.
17400 * debug/wcstombs_chk.c: Likewise.
17401 * dirent/dirent.h: Likewise.
17402 * dlfcn/dlfcn.h: Likewise.
17403 * elf/neededtest4.c: Likewise.
17404 * grp/grp.h: Likewise.
17405 * gshadow/gshadow.h: Likewise.
17406 * iconv/gconv.h: Likewise.
17407 * iconv/gconv_int.h: Likewise.
17408 * iconv/gconv_simple.c: Likewise.
17409 * iconv/iconv.h: Likewise.
17410 * iconv/loop.c: Likewise.
17411 * iconv/skeleton.c: Likewise.
17412 * include/aio.h: Likewise.
17413 * include/aliases.h: Likewise.
17414 * include/argz.h: Likewise.
17415 * include/arpa/inet.h: Likewise.
17416 * include/assert.h: Likewise.
17417 * include/dirent.h: Likewise.
17418 * include/dlfcn.h: Likewise.
17419 * include/execinfo.h: Likewise.
17420 * include/fcntl.h: Likewise.
17421 * include/fenv.h: Likewise.
17422 * include/glob.h: Likewise.
17423 * include/grp.h: Likewise.
17424 * include/libintl.h: Likewise.
17425 * include/mntent.h: Likewise.
17426 * include/netdb.h: Likewise.
17427 * include/pwd.h: Likewise.
17428 * include/rpc/netdb.h: Likewise.
17429 * include/sched.h: Likewise.
17430 * include/search.h: Likewise.
17431 * include/shadow.h: Likewise.
17432 * include/signal.h: Likewise.
17433 * include/stdio.h: Likewise.
17434 * include/stdlib.h: Likewise.
17435 * include/string.h: Likewise.
17436 * include/sys/socket.h: Likewise.
17437 * include/sys/stat.h: Likewise.
17438 * include/sys/statfs.h: Likewise.
17439 * include/sys/statvfs.h: Likewise.
17440 * include/sys/syslog.h: Likewise.
17441 * include/sys/time.h: Likewise.
17442 * include/sys/uio.h: Likewise.
17443 * include/time.h: Likewise.
17444 * include/unistd.h: Likewise.
17445 * include/utmp.h: Likewise.
17446 * include/wchar.h: Likewise.
17447 * include/wctype.h: Likewise.
17448 * inet/aliases.h: Likewise.
17449 * inet/arpa/inet.h: Likewise.
17450 * inet/netinet/ether.h: Likewise.
17451 * inet/netinet/in.h: Likewise.
17452 * intl/libintl.h: Likewise.
17453 * io/bits/fcntl2.h: Likewise.
17454 * io/fcntl.h: Likewise.
17455 * io/ftw.h: Likewise.
17456 * io/sys/poll.h: Likewise.
17457 * io/sys/stat.h: Likewise.
17458 * io/sys/statfs.h: Likewise.
17459 * io/sys/statvfs.h: Likewise.
17460 * io/utime.h: Likewise.
17461 * libio/bits/stdio.h: Likewise.
17462 * libio/bits/stdio2.h: Likewise.
17463 * libio/libio.h: Likewise.
17464 * libio/libioP.h: Likewise.
17465 * libio/stdio.h: Likewise.
17466 * locale/lc-ctype.c: Likewise.
17467 * locale/locale.h: Likewise.
17468 * login/utmp.h: Likewise.
17469 * malloc/arena.c: Likewise.
17470 * malloc/malloc.c: Likewise.
17471 * malloc/malloc.h: Likewise.
17472 * malloc/mcheck.c: Likewise.
17473 * malloc/mtrace.c: Likewise.
17474 * math/bits/mathcalls.h: Likewise.
17475 * math/fenv.h: Likewise.
17476 * math/math_private.h: Likewise.
17477 * misc/bits/error.h: Likewise.
17478 * misc/bits/syslog.h: Likewise.
17479 * misc/err.h: Likewise.
17480 * misc/error.h: Likewise.
17481 * misc/fstab.h: Likewise.
17482 * misc/mntent.h: Likewise.
17483 * misc/regexp.h: Likewise.
17484 * misc/search.h: Likewise.
17485 * misc/sgtty.h: Likewise.
17486 * misc/sys/mman.h: Likewise.
17487 * misc/sys/syslog.h: Likewise.
17488 * misc/sys/uio.h: Likewise.
17489 * misc/sys/xattr.h: Likewise.
17490 * misc/ttyent.h: Likewise.
17491 * nis/rpcsvc/ypclnt.h: Likewise.
17492 * nss/nss.h: Likewise.
17493 * posix/bits/unistd.h: Likewise.
17494 * posix/fnmatch.h: Likewise.
17495 * posix/glob.h: Likewise.
17496 * posix/sched.h: Likewise.
17497 * posix/spawn.h: Likewise.
17498 * posix/sys/wait.h: Likewise.
17499 * posix/unistd.h: Likewise.
17500 * posix/wordexp.h: Likewise.
17501 * pwd/pwd.h: Likewise.
17502 * resolv/netdb.h: Likewise.
17503 * resource/sys/resource.h: Likewise.
17504 * rt/aio.h: Likewise.
17505 * rt/bits/mqueue2.h: Likewise.
17506 * rt/mqueue.h: Likewise.
17507 * shadow/shadow.h: Likewise.
17508 * signal/signal.h: Likewise.
17509 * socket/send.c: Likewise.
17510 * socket/sendto.c: Likewise.
17511 * socket/sys/socket.h: Likewise.
17512 * stdio-common/printf.h: Likewise.
17513 * stdlib/bits/stdlib.h: Likewise.
17514 * stdlib/fmtmsg.h: Likewise.
17515 * stdlib/monetary.h: Likewise.
17516 * stdlib/stdlib.h: Likewise.
17517 * stdlib/ucontext.h: Likewise.
17518 * streams/stropts.h: Likewise.
17519 * string/argz.h: Likewise.
17520 * string/bits/string2.h: Likewise.
17521 * string/string.h: Likewise.
17522 * string/strings.h: Likewise.
17523 * sunrpc/rpc/auth.h: Likewise.
17524 * sunrpc/rpc/auth_des.h: Likewise.
17525 * sunrpc/rpc/clnt.h: Likewise.
17526 * sunrpc/rpc/netdb.h: Likewise.
17527 * sunrpc/rpc/pmap_clnt.h: Likewise.
17528 * sunrpc/rpc/xdr.h: Likewise.
17529 * sysdeps/generic/inttypes.h: Likewise.
17530 * sysdeps/generic/net/if.h: Likewise.
17531 * sysdeps/generic/sys/swap.h: Likewise.
17532 * sysdeps/gnu/net/if.h: Likewise.
17533 * sysdeps/gnu/utmpx.h: Likewise.
17534 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
17535 * sysdeps/i386/i486/bits/string.h: Likewise.
17536 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
17537 * sysdeps/s390/bits/string.h: Likewise.
17538 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
17539 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
17540 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
17541 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
17542 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
17543 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
17544 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17545 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17546 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17547 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17548 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17549 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17550 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17551 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17552 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17553 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17554 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17556 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17557 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17558 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17559 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17560 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17561 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17562 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17563 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17564 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17565 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17566 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17567 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17568 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17569 * sysvipc/sys/ipc.h: Likewise.
17570 * sysvipc/sys/msg.h: Likewise.
17571 * sysvipc/sys/sem.h: Likewise.
17572 * sysvipc/sys/shm.h: Likewise.
17573 * termios/termios.h: Likewise.
17574 * time/sys/time.h: Likewise.
17575 * time/time.h: Likewise.
17576 * wcsmbs/bits/wchar2.h: Likewise.
17577 * wcsmbs/uchar.h: Likewise.
17578 * wcsmbs/wchar.h: Likewise.
17579 * wctype/wctype.h: Likewise.
17580
0269750c
UD
17581 [BZ #13551]
17582 * Makeconfig: Remove all but ELF support including AIX support.
17583 * Makerules: Likewise.
17584 * config.h.in: Likewise.
17585 * config.make.in: Likewise.
17586 * configure: Likewise.
17587 * configure.in: Likewise.
17588 * csu/Makefile: Likewise.
17589 * csu/version.c: Likewise.
17590 * debug/Makefile: Likewise.
17591 * dlfcn/Makefile: Likewise.
17592 * elf/Makefile: Likewise.
17593 * extra-lib.mk: Likewise.
17594 * iconv/Makefile: Likewise.
17595 * include/libc-symbols.h: Likewise.
17596 * include/shlib-compat.h: Likewise.
17597 * resolv/Makefile: Likewise.
17598 * resolv/res_libc.c: Likewise.
17599 * rt/Makefile: Likewise.
17600 * sysdeps/i386/asm-syntax.h: Likewise.
17601 * sysdeps/i386/sysdep.h: Likewise.
17602 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17603 * sysdeps/mach/sysdep.h: Likewise.
17604 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17605 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17606 * sysdeps/s390/asm-syntax.h: Likewise.
17607 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17608 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17609 * sysdeps/sh/sysdep.h: Likewise.
17610 * sysdeps/unix/sparc/sysdep.h: Likewise.
17611 * sysdeps/wordsize-32/divdi3.c: Likewise.
17612 * sysdeps/x86_64/sysdep.h: Likewise.
17613
00bbd29b
UD
17614 * argp/Versions: Remove _argp_unlock_xxx.
17615
17616 [BZ #13559]
17617 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17618 * abilist/libBrokenLocale.abilist: Likewise.
17619 * abilist/libanl.abilist: Likewise.
17620 * abilist/libc.abilist: Likewise.
17621 * abilist/libcrypt.abilist: Likewise.
17622 * abilist/libdl.abilist: Likewise.
17623 * abilist/libm.abilist: Likewise.
17624 * abilist/libnsl.abilist: Likewise.
17625 * abilist/libpthread.abilist: Likewise.
17626 * abilist/libresolv.abilist: Likewise.
17627 * abilist/librt.abilist: Likewise.
17628 * abilist/libthread_db.abilist: Likewise.
17629 * abilist/libutil.abilist: Likewise.
17630 * abilist/libnss_db.abilist: New file.
17631
17632 * scripts/abilist.awk: Add support for indirect functions.
17633
a2693a0e
UD
17634 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17635
3f05895f
UD
17636 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17637
ecb6fb48
UD
17638 * shlib-versions: Remove entries for ports architectures.
17639
664f8cb9
UD
17640 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17641 files in ports.
17642 * elf/stackguard-macros.h: Remove support for IA-64.
17643 * elf/tst-auditmod1.c: Likewise.
17644 * sysdeps/generic/ldsodefs.h: Likewise.
17645
7ae81d88
UD
17646 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17647 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17648 configure files.
17649
bdeba135
UD
17650 [BZ #13552]
17651 * configure.in: Remove --enable-omitfp support.
17652 * FAQ.in: Adjust.
17653 * config.make.in: Likewise.
17654 * Makeconfig: Likewise.
17655 * manual/install.texi: Likewise.
17656
d75a0a62
UD
17657 In case anyone cares, the IA-64 architecture could move to ports.
17658 * sysdeps/ia64/*: Removed.
17659 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 17660 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 17661
dcc9756b
UD
17662 [BZ #13555]
17663 * configure.in: Remove entries for unsupported architectures.
17664
d3761ebc 17665 [BZ #13533]
9954432e
UD
17666 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17667 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17668 routines.
17669 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17670 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17671 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17672 fall back to using wcrtomb.
17673 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17674 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17675 renaming.
17676 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17677 * wcsmbs/tst-c16c32-1.c: New file.
17678
17679 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17680 local variable.
17681
c3a87236
UD
17682 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17683
28926a1b
UD
17684 * elf/tst-unique3.cc: Add explicit declaration of gets.
17685 * elf/tst-unique3lib.cc: Likewise.
17686 * elf/tst-unique3lib2.cc: Likewise.
17687 * elf/tst-unique4.cc: Likewise.
17688
df78418a
UD
17689 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17690
8ecd6b2a
JM
176912012-01-06 Joseph Myers <joseph@codesourcery.com>
17692
17693 [BZ #13566]
17694 * assert/assert.h (static_assert): Don't define for C++.
17695 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17696 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17697
9f115170
UD
176982012-01-03 Ulrich Drepper <drepper@gmail.com>
17699
5e0d0300
UD
17700 * iconv/loop.c (single loop): Fix assertion in storing of
17701 remaining bytes.
17702
9f115170
UD
17703 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17704
81fb02b0
UD
177052012-01-01 Ulrich Drepper <drepper@gmail.com>
17706
17707 * posix/getconf.c: Update copyright year.
17708 * nss/getent.c: Likewise.
a316c1f6 17709 * nss/makedb.c: Likewise.
81fb02b0
UD
17710 * iconv/iconvconfig.c: Likewise.
17711 * iconv/iconv_prog.c: Likewise.
17712 * elf/ldconfig.c: Likewise.
a316c1f6
UD
17713 * elf/pldd.c: Likewise.
17714 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
17715 * catgets/gencat.c: Likewise.
17716 * csu/version.c: Likewise.
17717 * elf/ldd.bash.in: Likewise.
17718 * elf/sprof.c (print_version): Likewise.
17719 * locale/programs/locale.c: Likewise.
17720 * locale/programs/localedef.c: Likewise.
a316c1f6 17721 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
17722 * nscd/nscd.c (print_version): Likewise.
17723 * debug/xtrace.sh: Likewise.
17724 * malloc/memusage.sh: Likewise.
17725 * malloc/mtrace.pl: Likewise.
17726 * debug/catchsegv.sh: Likewise.
17727
2ba92745
JJ
177282011-12-30 Jakub Jelinek <jakub@redhat.com>
17729
17730 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17731 pure attribute.
17732
dadebdae
UD
177332011-12-24 Ulrich Drepper <drepper@gmail.com>
17734
d3761ebc 17735 [BZ #13533]
db6af3eb
UD
17736 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17737 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17738 transformations.
17739 * iconv/gconv_int.h: Likewise.
17740 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17741 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17742 from libc for GLIBC_2.16.
17743 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17744 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17745 * wcsmbs/uchar.h: Really define mbstate_t.
17746 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17747 * wcsmbs/c16rtomb.c: New file.
17748 * wcsmbs/mbrtoc16.c: New file.
17749 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17750 for C/POSIX locale.
17751 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17752 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17753
dadebdae
UD
17754 * wcsmbs/wchar.h: Add missing __restrict.
17755
67371b56
UD
177562011-12-23 Ulrich Drepper <drepper@gmail.com>
17757
74033a25
UD
17758 [BZ #13532]
17759 * time/Makefile (routines): Add timespec_get.
17760 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17761 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17762 timespec for ISO C11.
17763 * time/timespec_get.c: New file.
17764 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17765 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17766
380d7e87
UD
17767 [BZ #13531]
17768 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17769 * stdlib/stdlib.h: Declare aligned_alloc.
17770 * Versions.def: Add GLIBC_2.16 for libc.
17771 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17772
4e9e7a35
UD
17773 [BZ 13527]
17774 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17775 ISO C11.
17776
380d7e87 17777 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
17778 code.
17779
03a71829
UD
17780 [BZ #13528]
17781 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17782
839e283e
UD
17783 [BZ #13529]
17784 * assert/assert.h (static_assert): Define.
17785
ce5294e2 17786 * version.h: Update for 2.16 development version.
90fa7312 17787
8d44e150 17788 [BZ #13526]
d7809905
UD
17789 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17790 _ISOC11_SOURCE.
17791
c0da14cd
UD
17792 * version.h (RELEASE): Bump for 2.15 release.
17793 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17794
530a3249
MP
17795 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17796 Patch by Marek Polacek <mpolacek@redhat.com>.
17797
67371b56
UD
17798 * bits/byteswap.h: Protect long long constants with __extension__.
17799 * sysdeps/i386/bits/byteswap.h: Likewise.
17800 * sysdeps/ia64/bits/byteswap.h: Likewise.
17801 * sysdeps/s390/bits/byteswap.h: Likewise.
17802 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17803
15db4de1
LD
178042011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17805
17806 [BZ #13540]
bbe315ea
LD
17807 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17808 destination buffer.
15db4de1
LD
17809 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17810
2b2596b1
MP
178112011-12-23 Marek Polacek <polacek@redhat.com>
17812
17813 * elf/dl-addr.c (determine_info): Add inline keyword.
17814 * elf/tst-auditmod4b.c (check_avx): Likewise.
17815 * elf/tst-auditmod6b.c (check_avx): Likewise.
17816 * elf/tst-auditmod6c.c (check_avx): Likewise.
17817 * elf/tst-auditmod7b.c (check_avx): Likewise.
17818
70c6c246
UD
178192011-12-23 Ulrich Drepper <drepper@gmail.com>
17820
17821 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17822 !__SSE_MATH__.
17823
c044cf14
LD
178242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17825
15db4de1 17826 [BZ #13540]
c044cf14
LD
17827 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17828 processing for last bytes.
17829
6b13d9d9
BH
178302011-08-06 Bruno Haible <bruno@clisp.org>
17831
d455f537
BH
17832 [BZ #13061]
17833 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17834 U+0385, not to U+1FEE.
17835
6b13d9d9
BH
17836 [BZ #13062]
17837 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17838 entry for U+00A5 U+0301.
17839
db910efd
UD
178402011-12-22 Ulrich Drepper <drepper@gmail.com>
17841
27deeafc
UD
17842 [BZ #13166]
17843 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17844 buffer for the output is too small.
17845
aed9d171
UD
17846 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17847 optimization.
17848
db910efd
UD
17849 [BZ #13185]
17850 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17851 SSE flags if possible.
17852
2bd779ae
LD
178532011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17854
e7f9dac3 17855 [BZ #13540]
2bd779ae
LD
17856 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17857 processing for last bytes.
17858
154bfc16
JM
178592011-12-22 Joseph Myers <joseph@codesourcery.com>
17860
17861 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17862 (syscall-list-default-options, syscall-list-default-condition)
17863 (syscall-list-includes): Define.
17864 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17865 list of ABIs and options and #if conditions for each ABI. Do not
17866 handle common syscalls between ABIs specially.
17867 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17868 Remove.
17869 (syscall-list-variants, syscall-list-32bit-options)
17870 (syscall-list-32bit-condition, syscall-list-64bit-options)
17871 (syscall-list-64bit-condition): Define.
17872 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17873 (syscall-list-variants, syscall-list-32bit-options)
17874 (syscall-list-32bit-condition, syscall-list-64bit-options)
17875 (syscall-list-64bit-condition): Define.
17876 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17877 Remove.
17878 (syscall-list-variants, syscall-list-32bit-options)
17879 (syscall-list-32bit-condition, syscall-list-64bit-options)
17880 (syscall-list-64bit-condition): Define.
17881 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17882 Remove.
17883 (syscall-list-variants, syscall-list-32bit-options)
17884 (syscall-list-32bit-condition, syscall-list-64bit-options)
17885 (syscall-list-64bit-condition): Define.
17886
21eaf3a5
UD
178872011-12-22 Ulrich Drepper <drepper@gmail.com>
17888
16c6f992
UD
17889 * locale/iso-639.def: Add brx entry.
17890
41043168
UD
17891 [BZ #13328]
17892 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17893 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17894
21eaf3a5
UD
17895 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17896 __feraiseexcept_renamed.
17897
e3a851a2
UD
178982011-12-21 Ulrich Drepper <drepper@gmail.com>
17899
4920765e
UD
17900 [BZ #13538]
17901 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17902 EPOLLET with unsigned values.
17903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17904 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17905
e3a851a2
UD
17906 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17907 to large cancellation.
17908 * math/s_cacoshf.c: Likewise.
17909 * math/s_cacoshl.c: Likewise.
17910
b27e24b8
RK
179112011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17912
17913 [BZ #13305]
aebefeee 17914 [BZ #12786]
b27e24b8
RK
17915 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17916 * math/s_cacoshf.c: Likewise.
17917 * math/s_cacoshl.c: Likewise.
17918
ee190f67
UD
179192011-12-21 Ulrich Drepper <drepper@gmail.com>
17920
17921 [BZ #13439]
17922 * iconv/gconv.h: Define __GCONV_SWAP.
17923 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17924 * iconvdata/utf-16.c: Likewise.
17925 * iconvdata/utf-32.c: Likewise.
17926
707f25df
AS
179272011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17928
17929 [BZ #13524]
17930 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17931 numerator after shifting it by one limb.
17932
d2daaa1e
RÁE
179332011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17934
17935 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17936 under [__USE_EXTERN_INLINES].
17937
a4647e72
UD
179382011-12-17 Ulrich Drepper <drepper@gmail.com>
17939
17940 [BZ #13446]
17941 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17942
f0b264f1
AZ
179432011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17944
17945 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17946 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17947 optimized code.
17948 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17949 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17950 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17951 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17952 for strncasecmp/strncasecmp_l compilation.
17953 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17954 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17955
8ef4f244
MP
179562011-12-08 Marek Polacek <mpolacek@redhat.com>
17957
17958 [BZ #13484]
17959 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17960 of __asm__.
17961
97ac2654
UD
179622011-12-17 Ulrich Drepper <drepper@gmail.com>
17963
17964 [BZ #13506]
17965 * time/tzfile.c (__tzfile_read): Check values from file header.
17966
91d2a845
WS
179672011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17968
17969 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17970 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17971 * powerpc/powerpc32/dl-start.S: Likewise.
17972 * powerpc/powerpc32/elf/start.S: Likewise.
17973 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17974 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17975 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17976 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17977 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17978 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17979 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17980 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17981 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17982 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17983 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17984 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17985 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17986 * powerpc/powerpc32/memset.S: Likewise.
17987 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17988 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17989 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17990 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17991 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17992 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17993 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17994 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17995 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17996 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17997 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17998 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17999 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
18000
a1267ba1
AZ
180012011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18002
18003 * math/libm-test.inc: Added more nearbyint tests.
18004 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
18005 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
18006 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
18007 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
18008
ad8ac1bd
RL
180092011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
18010
18011 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
18012 FD_CLOEXEC.
18013
1d3e4b61
UD
180142011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18015
18016 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
18017 Add wcscpy-ssse3 wcscpy-c.
18018 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
18019 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
18020 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
18021 * sysdeps/x86_64/wcschr.S: New file.
18022 * sysdeps/x86_64/wcsrchr.S: New file.
18023 * string/test-strcmp.c: Remove checking of wcscmp function for
18024 wrong alignments.
18025 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
18026 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
18027 wcsrchr-sse2 wcsrchr-c.
18028 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
18029 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
18030 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
18031 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
18032 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
18033 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
18034 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
18035 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
18036 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
18037 * wcsmbc/wcschr.c (WCSCHR): New macro.
18038
5b330a2d
UD
180392011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18040
18041 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
18042 * wcsmbs/test-wcsrchr.c: New file.
18043 * string/test-strrchr.c: Add wcsrchr support.
18044 (WIDE): New macro.
18045 * wcsmbs/test-wcscpy.c: New file.
18046 * string/test-strcpy.c: Add wcscpy support.
18047 (WIDE): New macro.
26428b7c 18048
f039c043
UD
180492011-12-10 Ulrich Drepper <drepper@gmail.com>
18050
18051 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
18052 the inner loop.
18053
850fb039
AS
180542011-12-06 Andreas Schwab <schwab@linux-m68k.org>
18055
18056 [BZ #13472]
18057 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
18058
4efbd5cb
UD
180592011-12-04 Ulrich Drepper <drepper@gmail.com>
18060
52ff5dd0 18061 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 18062 Minor optimizations.
52ff5dd0 18063
4efbd5cb
UD
18064 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
18065 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
18066 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
18067
8a426e12
UD
180682011-12-03 Ulrich Drepper <drepper@gmail.com>
18069
aff2453d
UD
18070 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
18071 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
18072 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
18073 for gcc to avoid warnings.
18074 * inet/Makefile (tests): Add tst-checks.
18075 * inet/tst-checks.c: New file.
18076
18077 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
18078 warning.
18079
18080 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
18081 __wmemcmp_sse2.
18082
18083 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
18084 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
18085
8a426e12
UD
18086 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
18087
9bea3473
UD
180882011-12-02 Ulrich Drepper <drepper@gmail.com>
18089
3a965496
UD
18090 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
18091 problem.
18092
9bea3473
UD
18093 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
18094
f101631b
UD
180952011-11-29 Joseph Myers <joseph@codesourcery.com>
18096
18097 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
18098 conditional on GCC version.
18099 (__arch_compare_and_exchange_val_8_acq)
18100 (__arch_compare_and_exchange_val_16_acq)
18101 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
18102 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
18103 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
18104
a98275aa
UD
181052011-12-02 Joseph Myers <joseph@codesourcery.com>
18106
18107 * sysdeps/sh/backtrace.c: New file.
18108
d4cc29a2
AS
181092011-12-02 Andreas Schwab <schwab@redhat.com>
18110
18111 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
18112 parenthesis.
18113
6257af2d
AS
181142011-12-01 Andreas Schwab <schwab@redhat.com>
18115
18116 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
18117 falling back to utime.
18118
b5f44c1a
AS
181192011-11-30 Andreas Schwab <schwab@redhat.com>
18120
18121 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
18122 expectations for float.
18123
f3a6cc0a
AS
181242011-11-29 Andreas Schwab <schwab@redhat.com>
18125
18126 * locale/weight.h (findidx): Add parameter len.
18127 * locale/weightwc.h (findidx): Likewise.
18128 * posix/fnmatch_loop.c (FCT): Adjust caller.
18129 * posix/regcomp.c (build_equiv_class): Likewise.
18130 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
18131 * posix/regexec.c (check_node_accept_bytes): Likewise.
18132 * string/strcoll_l.c (STRCOLL): Likewise.
18133 * string/strxfrm_l.c (STRXFRM): Likewise.
18134
9d65ea3a
UD
181352011-11-17 Ulrich Drepper <drepper@gmail.com>
18136
18137 * Makefile.in: Remove CVSOPT handling.
18138 * configure.in: Remove use of AC_REVISION.
18139 * iconvdata/Makefile (distribute): No need to filter out CVS.
18140 * scripts/list-sources.sh: Remove CVS, subversion and monotone
18141 handling.
18142
5583a086
AS
181432011-11-16 Andreas Schwab <schwab@redhat.com>
18144
18145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
18146 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
18147 [USE_AS_STRNCASECMP_L]: Likewise.
18148 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
18149 NO_TLS_DIRECT_SEG_REFS.
18150 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
18151 Fix argument offsets for non-PIC.
18152 [USE_AS_STRNCASECMP_L]: Likewise.
18153 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
18154 NO_TLS_DIRECT_SEG_REFS.
18155
d62a8200
UD
181562011-11-15 Ulrich Drepper <drepper@gmail.com>
18157
9d65ea3a 18158 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
18159 O_CLOEXEC.
18160 * locale/loadlocale.c (_nl_load_locale): Likewise.
18161
09f93bd3
AS
181622011-11-15 Andreas Schwab <schwab@redhat.com>
18163
446514f9
AS
18164 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
18165 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
18166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
18167 (SYSCALL_GETTIME): Set errno on error.
18168
09f93bd3
AS
18169 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
18170 count references to noai6ai_cached.
18171
312be3f9
UD
181722011-11-15 Ulrich Drepper <drepper@gmail.com>
18173
18174 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
18175
18176 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
18177 FD_CLOEXEC for /proc/self/maps.
18178
18179 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
18180 FD_CLOEXEC for /proc/meminfo.
18181
18182 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
18183 gai.conf.
18184
18185 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
18186 FD_CLOEXEC for given file.
18187
18188 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
18189
18190 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
18191 FD_CLOEXEC for /etc/hosts.
18192 (_gethtent): Likewise.
18193
18194 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
18195
18196 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
18197 cancellation and set FD_CLOEXEC for /etc/netgroup.
18198
18199 * nss/nss_files/files-key.c (search): Don't allow cancellation when
18200 reading /etc/publickey.
18201
18202 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
18203 allow cancellation when reading /etc/group.
18204
18205 * nss/nss_files/files-alias.c (internal_setent): Don't allow
18206 cancellation.
18207 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
18208
18209 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
18210 when using data file.
18211
18212 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
18213
18214 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
18215 (write_nis_obj): Use "c" and "e" in fopen.
18216
18217 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
18218
18219 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
18220
18221 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
18222
18223 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
18224
18225 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
18226 locale.alias.
18227
18228 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
18229
18230 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
18231
18232 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
18233
18234 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
18235 file parsing and set FD_CLOEXEC.
18236
82af0fa8
UD
182372011-11-14 Ulrich Drepper <drepper@gmail.com>
18238
18239 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
18240
a5fb313c
AS
182412011-11-14 Andreas Schwab <schwab@redhat.com>
18242
18243 * malloc/arena.c (arena_get2): Don't call reused_arena when
18244 _int_new_arena failed.
18245
6abf3465
UD
182462011-11-14 Ulrich Drepper <drepper@gmail.com>
18247
18248 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
18249 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
18250 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
18251 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18252 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18253 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
18254 to compile strcasecmp and strncasecmp.
18255 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
18256 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
18257
18258 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
18259
76e3966e
UD
182602011-11-13 Ulrich Drepper <drepper@gmail.com>
18261
18262 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
18263 locale-defines.sym to gen-as-const-headers.
18264 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
18265 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
18266 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
18267 to compile strcasecmp and strncasecmp.
18268 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
18269 strcasecmp_l and strncasecmp_l.
18270 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
18271 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
18272 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
18273 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
18274 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
18275 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
18276 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
18277 * sysdeps/i386/i686/multiarch/strncase.S: New file.
18278 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
18279 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
18280 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
18281
ab26144e
UD
182822011-11-12 Ulrich Drepper <drepper@gmail.com>
18283
7edb22ef
UD
18284 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
18285 result of SYSDEP_GETTIME_CPU to retval.
18286 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
18287 parameter list to macro. Remove trailing semicolon. Adjust users.
18288
9694fc44
UD
18289 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
18290 variable.
18291
8ad89ef8
UD
18292 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
18293 mantissa words.
18294 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
18295
0c822ef9
UD
18296 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
18297 from unused variable.
18298
874e0564
UD
18299 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
18300 DWARF definitions.
18301 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
18302 for assembling.
18303
3a2edc79
UD
18304 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
18305 over namespaces.
18306
f3c2577f
UD
18307 * sunrpc/rpc_prot.c (rejected): Fix case value.
18308
294ce126
UD
18309 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
18310 unsigned long long int to avoid warnings in shift.
18311
5e2b63c6
UD
18312 * posix/regex_internal.c (re_string_reconstruct): Actually use result
18313 of use of trans.
18314 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
18315 variable tmp.
18316
e7f4b08e
UD
18317 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
18318 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18319 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18320
ab26144e
UD
18321 * nis/nis_table.c (nis_list): Use variable of correct type for
18322 result of __follow_path call.
18323
8a6d5255
AZ
183242011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18325
18326 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
18327 of math functions ceil, trunc, floor, round, and sqrt, when
18328 avaliable on the platform.
18329 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
18330 name clash.
18331 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18332 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18333 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18334
aaddc98c
MP
183352011-10-30 Marek Polacek <mpolacek@redhat.com>
18336
18337 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
18338 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18339
95b7042b
RM
183402011-11-11 Roland McGrath <roland@hack.frob.com>
18341
18342 * include/unistd.h: Fix __readlink return type.
18343 Reported by Chris Metcalf <cmetcalf@tilera.com>.
18344
57769839
UD
183452011-11-11 Ulrich Drepper <drepper@gmail.com>
18346
18347 * stdlib/ucontext.h: Undo last change for makecontext.
18348
edc5984d
AS
183492011-11-11 Andreas Schwab <schwab@redhat.com>
18350
98591e58
AS
18351 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
18352
edc5984d
AS
18353 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
18354 * setjmp/setjmp.h: Mark functions as non-leaf.
18355 * setjmp/bits/setjmp2.h: Likewise.
18356 * stdlib/ucontext.h: Likewise.
18357
77cdc054
AS
183582011-11-10 Andreas Schwab <schwab@redhat.com>
18359
18360 * malloc/arena.c (_int_new_arena): Don't increment narenas.
18361 (reused_arena): Don't check arena limit.
18362 (arena_get2): Atomically check arena limit.
18363
fe72eebd
UD
183642011-11-08 Ulrich Drepper <drepper@gmail.com>
18365
5f078c32
UD
18366 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
18367 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
18368
fe72eebd
UD
18369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
18370 instructions.
18371
ae1bc2fa
AS
183722011-11-07 Andreas Schwab <schwab@redhat.com>
18373
7583a88d
AS
18374 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
18375 handler when locking.
18376
ae1bc2fa
AS
18377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
18378 Fix size of allocated buffer.
18379
10fb0bfa
AS
183802011-11-04 Andreas Schwab <schwab@redhat.com>
18381
998832a4
AS
18382 [BZ #10103]
18383 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
18384 declarations for long double functions.
18385 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
18386
10fb0bfa
AS
18387 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
18388
3d7ba52b
AS
183892011-11-03 Andreas Schwab <schwab@redhat.com>
18390
a9ae54a1
AS
18391 * nscd/nscd.c (main): Don't start AVC thread until credentials are
18392 installed.
18393
3d7ba52b
AS
18394 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
18395 is disabled.
18396
bc8db248
ST
183972011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
18398
18399 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
18400
45b96dd6
AS
184012011-11-01 Andreas Schwab <schwab@linux-m68k.org>
18402
647776f6
AS
18403 * include/alloca.h (stackinfo_alloca_round): Define.
18404 (extend_alloca): Use it.
18405 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
18406 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
18407 here.
18408
d91a8b93
AS
18409 * scripts/check-local-headers.sh: Ignore libaudit.h.
18410
45b96dd6
AS
18411 * nscd/Makefile (extra-objs): Make recursively expanded.
18412
432d41ce
UD
184132011-11-01 Ulrich Drepper <drepper@gmail.com>
18414
34372fc6
UD
18415 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
18416 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
18417
fadb59f8
UD
18418 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
18419 * posix/tst-rfc3484-2.c: Likewise.
18420 * posix/tst-rfc3484-3.c: Likewise.
18421
78239589
UD
18422 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18423 process_vm_writev.
18424 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
18425 process_vm_writev.
18426 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
18427 process_vm_writev from libc using GLIBC_2.15 version.
18428
432d41ce
UD
18429 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
18430
02f9c6cf
PP
184312011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
18432
18433 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
18434 stack usage.
18435
3a2c0242
UD
184362011-10-31 Ulrich Drepper <drepper@gmail.com>
18437
f4ec4833
UD
18438 [BZ #13367]
18439 * nss/getent.c (initgroups_keys): Show error message in case no group
18440 names are given.
18441
3a2c0242
UD
18442 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
18443 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
18444 __bump_nl_timestamp.
18445 * nscd/connections (nscd_init): When host database is served open
18446 netlink socket and request notification about configuration changes.
18447 (main_loop_poll): Track netlink file descriptor and bump timestamp
18448 in case data becomes available.
18449 (main_loop_epoll): Likewise.
18450 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
18451 (database_pers_head): Add extra_data fileds.
18452 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
18453 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
18454 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
18455 Adjust caller.
18456 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
18457 in6ai data, call __free_in6ai.
18458 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
18459 Add -DHAVE_NETLINK.
18460 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
18461 interface information. Reuse previous data if netlink timestamp
18462 is not changed.
18463 (__bump_nl_timestamp): New function.
18464 (__free_in6ai): New function.
18465
636064eb
UD
184662011-10-30 Ulrich Drepper <drepper@gmail.com>
18467
18468 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
18469 close_not_cancel_no_status here.
18470 (__check_pf): Reorganize code a bit to not call close twice if OOM.
18471
9beb2334
UD
184722011-10-29 Ulrich Drepper <drepper@gmail.com>
18473
6ef76f3b
UD
18474 [BZ #13276]
18475 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
18476 return value.
18477
0ffc4f3e 18478 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
18479 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
18480 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
18481
cb95113e
UD
184822011-07-03 Andreas Jaeger <aj@suse.de>
18483
18484 [BZ #10709]
18485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
18486 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
18487 * math/libm-test.inc (sin_test): Add test case.
18488
a1b560ff
UD
184892011-10-29 Ulrich Drepper <drepper@gmail.com>
18490
c9aaface
UD
18491 [BZ #13337]
18492 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
18493 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18494
d272e7f1
UD
18495 * elf/chroot_canon.c (chroot_canon): Cleanups.
18496
1bc33071
UD
18497 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
18498
1760874d
TJ
18499 [BZ #13335]
18500 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
18501 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
18502
51d91b18
UD
18503 * string/test-strchr.c: Make usable for strchrnul testing.
18504 * string/test-strchrnul.c: New file.
18505 * string/Makefile (strop-tests): Add strchrnul.
18506
a1b560ff 18507 * po/it.po: Update from translation team.
b611fb81 18508 * po/es.po: Likewise.
a1b560ff 18509
a5b81e1f
UD
185102011-10-28 Ulrich Drepper <drepper@gmail.com>
18511
fd52bc6d
UD
18512 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
18513 the three constants needed as parameters. Drop the others.
18514 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
18515 __m128i_strloadu_tolower.
52e4b9eb
UD
18516 Create and initialize variable zero and use it in all the places
18517 where _mm_setzero_si128 was used.
fd52bc6d 18518
a5b81e1f
UD
18519 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
18520 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
18521 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
18522 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
18523 anymore.
18524 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
18525 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
18526 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
18527 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
18528 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
18529 __mpranred, __mptan.
18530 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
18531 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
18532 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
18533 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
18534 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
18535 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
18536 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
18537 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
18538 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
18539
b4343346
AS
185402011-10-28 Andreas Schwab <schwab@redhat.com>
18541
0c92d8a8
AS
18542 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
18543 redefine if SHARED.
18544 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18545
b4343346
AS
18546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18547 wide char related routines to wcsmbs subdir.
18548
3871f58f
AS
185492011-10-27 Andreas Schwab <schwab@redhat.com>
18550
18551 [BZ #13344]
18552 * misc/sys/cdefs.h (__THROWNL): Define.
18553 * posix/unistd.h: Use __THREADNL instead of __THREAD
18554 for memory synchronization functions.
18555
94d44d9f
RM
185562011-10-26 Roland McGrath <roland@hack.frob.com>
18557
21b64b15 18558 [BZ #13349]
94d44d9f
RM
18559 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18560 doesn't exist.
18561 * manual/stdio.texi (Obstack Streams): Node removed.
18562
f6ce9294
AS
185632011-10-26 Andreas Schwab <schwab@redhat.com>
18564
80479147
AS
18565 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18566 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18567 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18568
f6ce9294
AS
18569 * math/math_private.h (math_force_eval): Allow non-addressable
18570 arguments.
18571 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18572
618280a1
UD
185732011-10-25 Ulrich Drepper <drepper@gmail.com>
18574
e0016b11
UD
18575 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18576 file is not needed.
18577
18578 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18579 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18580 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18581 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18582 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18583 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18584 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18585 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18586 Add AVX variants.
18587 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18588 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18589 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18590 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18591 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18592 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18593 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18594 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18595 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18596 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18597 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18598 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18599 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18600 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18601 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18602 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18603 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18604 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18605 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18606
18607 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18608 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18609
618280a1
UD
18610 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18611 place. Use VEX encoding when compiling for AVX.
18612
37822576
AS
186132011-10-25 Andreas Schwab <schwab@redhat.com>
18614
1f1e1947
AS
18615 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18616 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18617
37822576
AS
18618 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18619
31ea014d
UD
186202011-10-25 Ulrich Drepper <drepper@gmail.com>
18621
d7826aa1 18622 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 18623 useless if() expression.
d7826aa1
UD
18624 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18625 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18626 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18627 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18629 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18630 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18631 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18632 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18635 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18636 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18637 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18638 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18639 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18640 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18641 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18642 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18643
31ea014d
UD
18644 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18645
16437fec
AS
186462011-10-25 Andreas Schwab <schwab@redhat.com>
18647
18648 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18649 condition.
18650 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18651
31d3cc00
UD
186522011-10-25 Ulrich Drepper <drepper@gmail.com>
18653
18654 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18655 .text section. Avoid duplicate constants.
18656 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18657 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18658 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18663 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18664 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18665 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18666 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18667 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18668 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18669 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18670 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18671 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18672 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18673 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18676 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18679 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18680 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18681 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18682 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18683 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18684 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18685 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18686 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18687 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18688 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18689 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18690 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18691 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18692 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18693 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18694 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18695 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18696 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18697 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18698 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18699 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18700 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18701
58985aa9
UD
187022011-10-24 Ulrich Drepper <drepper@gmail.com>
18703
202c9deb
UD
18704 * sysdeps/x86_64/dla.h: Move to ...
18705 * sysdeps/x86_64/fpu/dla.h: ...here.
18706 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18707 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 18708
af968f62
UD
18709 * config.make.in: Add have-mfma4 entry.
18710 * configure.in: Substitute libc_cv_cc_fma4.
18711 * math/Makefile (dbl-only-routines): Add sincostab.
18712 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18713 Use __sincostab not sincos.
18714 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18715 name is a macro.
18716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18720 using __copysign.
18721 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18722 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18723 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18724 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18725 and __inv.
18726 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18727 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18728 __copysign.
18729 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18730 define aliases when function name is a macro.
18731 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18732 sysdeps/ieee754/dbl-64/sincos.tbl.
18733 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18734 fma4-enabled routines.
18735 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18736 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18737 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18738 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18739 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18740 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18742 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18744 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18745 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18746 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18747 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18748 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18749 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18750 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18751 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18752 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18753 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18754 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18755 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18756 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18757 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18758 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18759 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18762 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18763 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18764 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18765
58985aa9
UD
18766 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18767 rename.
18768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18776
a201fbcf
AS
187772011-10-24 Andreas Schwab <schwab@redhat.com>
18778
18779 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18780
fc2ee42a
LD
187812011-10-23 Ulrich Drepper <drepper@gmail.com>
18782
bb3129bd
UD
18783 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18784
0275fff8
UD
18785 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18786 prediction.
18787 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18788
2fa2ae85
UD
18789 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18790 Remove unused variable magic_bits.
18791 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18792
fc2ee42a
LD
18793 * string/strnlen.c: Define and use STRNLEN macro.
18794 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18795 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18796 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18797 * wcsmbs/wcslen.c: Define and use WCSLEN.
18798 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18799 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18800 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18801 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18802 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18803 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18804 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18805
ce7dd29f
LD
188062011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18807
18808 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18809 strnlen-sse2-no-bsf.
18810 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18811 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18812 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18813 Add strnlen support.
18814 (USE_AS_STRNLEN): New macro.
18815 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18816 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18817 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18818 * sysdeps/x86_64/wcslen.S: New file.
18819
979c70a3
MZ
188202011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18821
18822 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18823 XMM-moves are used for copying on small sizes.
18824
2d09f82f
LD
188252011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18826
18827 * wcsmbs/Makefile (strop-tests): Add wcschr.
18828 * wcsmbs/test-wcschr.c: New file.
18829 * string/test-strchr.c: Update.
18830 Add wcschr support.
18831 (WIDE): New macro.
18832
619fccca
LD
188332011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18834
2d09f82f 18835 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
18836 * wcsmbs/test-wcslen.c: New file.
18837 * string/test-strlen.c: Update.
18838 Add wcslen support.
18839 (WIDE): New macro.
18840
09f699ea
UD
188412011-10-23 Ulrich Drepper <drepper@gmail.com>
18842
18843 * po/it.po: Update from translation team.
18844
95584d3b
LD
188452011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18846
18847 * sysdeps/x86_64/wcscmp.S: Update.
18848 Fix wrong comparison semantics.
18849 wcscmp shall use signed comparison not unsigned.
18850 Don't use substraction to avoid overflow bug.
18851 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18852 * wcsmbc/wcscmp.c: Likewise.
18853 * string/test-strcmp.c: Likewise.
18854 Add new tests to check cases with negative values.
18855
c8b3296b
UD
188562011-10-23 Ulrich Drepper <drepper@gmail.com>
18857
18858 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18859 * sysdeps/x86_64/dla.h: ...here. New file.
18860 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18861 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18863 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18864 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18865 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18866 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18867 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18869
246ad57a
AS
188702011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18871
18872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18873 __ynl_finite aliases.
18874
a1a87169
UD
188752011-10-22 Ulrich Drepper <drepper@gmail.com>
18876
0d355eb7
UD
18877 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18878
a1a87169
UD
18879 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18880 define DLA_FMA.
18881 [DLA_FMA] (EMULV): Use DLA_FMA.
18882 [DLA_FMA] (MUL12): Use EMULV.
18883 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18884 that are not needed.
18885 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18886 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18887 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18888 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18889 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18890 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18891 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18892
ee2aafe0
AS
188932011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18894
18895 * math/s_nan.c: Undef __nan.
18896 * math/s_nanf.c: Undef __nanf.
18897 * math/s_nanl.c: Undef __nanl.
18898 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18899 "math_private.h".
18900
bc62c2fb
UD
189012011-10-22 Ulrich Drepper <drepper@gmail.com>
18902
77425c63
UD
18903 * math/s_catan.c: Add branch predictions.
18904 * math/s_catanf.c: Likewise.
18905 * math/s_catanh.c: Likewise.
18906 * math/s_catanhf.c: Likewise.
18907 * math/s_catanhl.c: Likewise.
18908 * math/s_catanl.c: Likewise.
18909 * math/s_cexp.c: Likewise.
18910 * math/s_cexpf.c: Likewise.
18911 * math/s_cexpl.c: Likewise.
18912 * math/s_clog.c: Likewise.
18913 * math/s_clog10.c: Likewise.
18914 * math/s_clog10f.c: Likewise.
18915 * math/s_clog10l.c: Likewise.
18916 * math/s_clogf.c: Likewise.
18917 * math/s_clogl.c: Likewise.
18918 * math/s_csqrt.c: Likewise.
18919 * math/s_csqrtf.c: Likewise.
18920 * math/s_csqrtl.c: Likewise.
18921 * math/s_ctanf.c: Likewise.
18922 * math/s_ctanh.c: Likewise.
18923 * math/s_ctanhf.c: Likewise.
18924 * math/s_ctanhl.c: Likewise.
18925 * math/s_ctanl.c: Likewise.
18926
bc62c2fb
UD
18927 * math/math_private.h: Define __nan, __nanf, __nanl.
18928 * math/s_cacosh.c: Include <math_private.h>.
18929 * math/s_cacoshl.c: Likewise.
18930 * math/s_casinh.c: Likewise.
18931 * math/s_casinhf.c: Likewise.
18932 * math/s_casinhl.c: Likewise.
18933 * math/s_ccos.c: Rely entire on ccosh.
18934 * math/s_ccosf.c: Rely entire on ccoshf.
18935 * math/s_ccosl.c: Rely entirely on ccoshl.
18936 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18937 Remove tests for FE_INVALID.
18938 * math/s_ccoshf.c: Likewise.
18939 * math/s_ccoshl.c: Likewise.
18940 * math/s_csin.c: Likewise.
18941 * math/s_csinf.c: Likewise.
18942 * math/s_csinh.c Likewise.
18943 * math/s_csinhf.c: Likewise.
18944 * math/s_csinhl.c: Likewise.
18945 * math/s_csinl.c: Likewise.
18946 * math/s_ctan.c: Likewise.
18947 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18948 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18949 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18950
8ec250a4
UD
189512011-10-21 Ulrich Drepper <drepper@gmail.com>
18952
c196fed8
UD
18953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18954 compilation problems.
18955
8ec250a4
UD
18956 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18957 __builtin_expect.
18958
8d4f46c6
UD
189592011-10-20 Ulrich Drepper <drepper@gmail.com>
18960
ed72b654
UD
18961 * sysdeps/i386/configure.in: Test for -mfma4 option.
18962 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18963 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18964 COMMON_CPUID_INDEX_80000001.
18965 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18966 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18967 use it if FMA3 is not supported.
18968 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18969
8d4f46c6
UD
18970 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18971 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18972
d45c60c2
AS
189732011-10-20 Andreas Schwab <schwab@redhat.com>
18974
18975 [BZ #12892]
18976 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18977 it would create a cycle with a link time dependency.
18978
d9a4d2ab
UD
189792011-10-19 Ulrich Drepper <drepper@gmail.com>
18980
855d1560
UD
18981 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18982 instruction.
18983 * string/Makefile (strop-tests): Add rawmemchr.
18984 * string/test-rawmemchr.c: New file.
18985
d9a4d2ab
UD
18986 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18987 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18988 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18989 when compiling str{,n}casecmp and when AVX is available. Hook up
18990 new optimized code in initializers.
18991
8f3b1ffe
AS
189922011-10-19 Andreas Schwab <schwab@redhat.com>
18993
18994 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18995 __feraiseexcept instead of feraiseexcept.
18996
d38f1dba
UD
189972011-10-18 Ulrich Drepper <drepper@gmail.com>
18998
d9a8d0ab
UD
18999 * math/math_private.h: Define defaults for libc_fetestexcept and
19000 libc_feupdateenv.
19001 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
19002 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
19003 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19004 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19005 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19006 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19007 libc_fetestexcept and libc_feupdateenv.
19008
4855e3dd
UD
19009 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
19010 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
19011 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
19012 * sysdeps/x86_64/fpu/math_private.h: Define special version of
19013 libc_feholdexcept_setround.
19014
581d30e3
UD
19015 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
19016 Add s_nearbyint-c and s_nearbyintf-c.
19017 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
19018 nearbyintf inlines.
19019 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
19020 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
19021 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
19022 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
19023
d38f1dba
UD
19024 * math/math_private.h: Define defaults for libc_fegetround,
19025 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
19026 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
19027 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
19028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
19029 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
19030 standard functions.
19031 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19032 Remove comments and hacks for old compiler versions.
19033 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
19034 libc_fegetround, libc_fesetround, libc_feholdexcept, and
19035 libc_feholdexceptl.
19036
caa6c9d8
AS
190372011-10-18 Andreas Schwab <schwab@redhat.com>
19038
19039 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
19040 (__feraiseexcept_renamed): Add __NTH.
19041 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
19042 namespace violations.
19043
97c066e6
UD
190442011-10-17 Ulrich Drepper <drepper@gmail.com>
19045
99ce7b04
UD
19046 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
19047
1004d182
UD
19048 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
19049
228a984d
UD
19050 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
19051 recently added interfaces.
19052 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
19053
c8553a6a
UD
19054 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
19055 about macro parameter expansion.
19056
ed22dcf6
UD
19057 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
19058 __NO_MATH_INLINES is defined. Cleanups.
19059
19060 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
19061 and __floorf is target has SSE4.1.
19062 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
19063 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
19064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
19065 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
19066
b171c137
UD
19067 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
19068 name.
19069 (floorf): Likewise.
19070
97c066e6
UD
19071 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
19072
629f62ef
AS
190732011-10-17 Andreas Schwab <schwab@redhat.com>
19074
49a43d80
AS
19075 * misc/sys/cdefs.h: Fix last change.
19076
629f62ef
AS
19077 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
19078 database lookup.
19079
e453f6cd
UD
190802011-10-16 Ulrich Drepper <drepper@gmail.com>
19081
aa78043a
UD
19082 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
19083
ad0f5cad
UD
19084 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
19085 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19086 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19087 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19088 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19089 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19091 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19092 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19093 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
19094 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
19095 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
19096 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
19097 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
19098 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
19099 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
19100 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
19101 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
19102 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
19103 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
19104 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
19105 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
19106
19107 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
19108 ceil, ceilf, floor, floorf.
19109
19110 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
19111 Perform IRELATIVE relocations last.
19112
e453f6cd
UD
19113 * elf/do-rel.h: Add another parameter nrelative, replacing the
19114 local variable with the same name. Change name of the function
19115 to end in Rel or Rela (uppercase).
19116 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
19117 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
19118 elf_dynamic_do_##reloc function.
19119
fd5bdc09
UD
191202011-10-15 Ulrich Drepper <drepper@gmail.com>
19121
79b195b5
UD
19122 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
19123 is sufficient, at least on modern CPUs.
19124
d4a28569
UD
19125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
19126
b61099b5
UD
19127 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
19128 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
19129
bcf01e6d
UD
19130 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
19131 __expl_finite.
19132 * math/bits/math-finite.h: Add entries for exp.
19133 * math/e_expl.c: Add __*_finite alias.
19134 * sysdeps/i386/fpu/e_exp.S: Likewise.
19135 * sysdeps/i386/fpu/e_expf.S: Likewise.
19136 * sysdeps/i386/fpu/e_expl.c: Likewise.
19137 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19138 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19139 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19141 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
19142 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19143 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19144
ba1a0d59
UD
19145 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
19146 is sufficient, at least on modern CPUs.
19147
fd5bdc09
UD
19148 * ctype/ctype-info.c (__ctype_init): Define.
19149 * include/ctype.h (__ctype_init): Declare.
19150 (__ctype_b_loc): The variable is always initialized.
19151 (__ctype_toupper_loc): Likewise.
19152 (__ctype_tolower_loc): Likewise.
19153 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
19154 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
19155
7872cfb0
AS
191562011-10-15 Andreas Schwab <schwab@linux-m68k.org>
19157
b468825a
AS
19158 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
19159
7872cfb0
AS
19160 * configure.in: Also look in $cxxmachine/include for C++ system
19161 headers.
19162
be13f7bf
LD
191632011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19164
19165 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
19166 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
19167 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
19168 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
19169 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
19170 (USE_AS_WMEMCMP): New macro.
19171 Fixing indents.
19172 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
19173 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
19174 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
19175 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
19176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19177 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
19178 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
19179 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
19180 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
19181 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
19182 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
19183 (USE_AS_WMEMCMP): New macro.
19184 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
19185 * sysdeps/string/test-memcmp.c: Update.
19186 Fix simple_wmemcmp.
19187 Add new tests.
19188 * wcsmbs/wmemcmp.c: Update.
19189 (WMEMCMP): New macro.
19190 Fix overflow bug.
19191
556a2007
AJ
191922011-10-12 Andreas Jaeger <aj@suse.de>
19193
19194 [BZ #13268]
19195 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
19196
538faaa7
UD
191972011-10-15 Ulrich Drepper <drepper@gmail.com>
19198
ab6737ff
UD
19199 * libio/iofwide.c (do_length): Avoid warning.
19200
538faaa7
UD
19201 * ctype/ctype.h (__isctype_f): Add missing __THROW.
19202
396a21b1
UD
192032011-10-14 Ulrich Drepper <drepper@gmail.com>
19204
cdf2901f
UD
19205 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
19206
38ad40ce
UD
19207 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
19208 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
19209 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
19210 * sysdeps/i386/i686/fpu/e_log.S: New file.
19211 * sysdeps/i386/i686/fpu/e_logf.S: New file.
19212 * sysdeps/i386/i686/fpu/e_logl.S: New file.
19213
396a21b1
UD
19214 * ctype/ctype.h: Add support for inlined isXXX functions when
19215 compiling C++ code.
19216
6b1f68c9
AS
192172011-10-14 Andreas Schwab <schwab@redhat.com>
19218
349290c0
AS
19219 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19220
6b1f68c9
AS
19221 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
19222
f2282d42
RM
192232011-10-13 Roland McGrath <roland@hack.frob.com>
19224
19225 [BZ #13291]
19226 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
19227
5298ffa8
AS
192282011-10-13 Andreas Schwab <schwab@redhat.com>
19229
714fad23
AS
19230 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
19231 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
19232 feraiseexcept.
19233
81dcc7fb
AS
19234 * sysdeps/x86_64/memrchr.S: Check for zero size.
19235
5298ffa8
AS
19236 * string/stratcliff.c: Add memrchr tests.
19237
951fbcec
LD
192382011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19239
19240 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19241 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
19242 rawmemchr-sse2 rawmemchr-sse2-bsf.
19243 * sysdeps/i386/i686/multiarch/memchr.S: New file.
19244 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
19245 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
19246 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
19247 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
19248 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
19249 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
19250 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
19251 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
19252 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
19253 * string/memrchr.c (MEMRCHR): New macro.
19254
0ac5ae23
UD
192552011-10-12 Ulrich Drepper <drepper@gmail.com>
19256
19257 Add integration with gcc's -ffinite-math-only and optimize wrapper
19258 functions in libm.
19259 * Versions.def: Define GLIBC_2.15 version for libm.
19260 * math/Makefile (headers): Add bits/math-finite.h.
19261 * math/bits/math-finite.h: New file.
19262 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
19263 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
19264 * math/e_acoshl.c: Add __*_finite alias.
19265 * math/e_acosl.c: Likewise.
19266 * math/e_asinl.c: Likewise.
19267 * math/e_atan2l.c: Likewise.
19268 * math/e_atanhl.c: Likewise.
19269 * math/e_coshl.c: Likewise.
19270 * math/e_exp10.c: Likewise.
19271 * math/e_exp10f.c: Likewise.
19272 * math/e_exp10l.c: Likewise.
19273 * math/e_exp2l.c: Likewise.
19274 * math/e_fmodl.c: Likewise.
19275 * math/e_gammal_r.c: Likewise.
19276 * math/e_hypotl.c: Likewise.
19277 * math/e_j0l.c: Likewise.
19278 * math/e_j1l.c: Likewise.
19279 * math/e_jnl.c: Likewise.
19280 * math/e_lgammal_r.c: Likewise.
19281 * math/e_log10l.c: Likewise.
19282 * math/e_log2l.c: Likewise.
19283 * math/e_logl.c: Likewise.
19284 * math/e_powl.c: Likewise.
19285 * math/e_sinhl.c: Likewise.
19286 * math/e_sqrtl.c: Likewise.
19287 * math/e_scalb.c: Completely rewritten and optimized.
19288 * math/e_scalbf.c: Likewise.
19289 * math/e_scalbl.c: Likewise.
19290 * math/w_acos.c: Likewise.
19291 * math/w_acosf.c: Likewise.
19292 * math/w_acosl.c: Likewise.
19293 * math/w_acosh.c: Likewise.
19294 * math/w_acoshf.c: Likewise.
19295 * math/w_acoshl.c: Likewise.
19296 * math/w_asin.c: Likewise.
19297 * math/w_asinf.c: Likewise.
19298 * math/w_asinl.c: Likewise.
19299 * math/w_atan2.c: Likewise.
19300 * math/w_atan2f.c: Likewise.
19301 * math/w_atan2l.c: Likewise.
19302 * math/w_atanh.c: Likewise.
19303 * math/w_atanhf.c: Likewise.
19304 * math/w_atanhl.c: Likewise.
19305 * math/w_exp10.c: Likewise.
19306 * math/w_exp10f.c: Likewise.
19307 * math/w_exp10l.c: Likewise.
19308 * math/w_fmod.c: Likewise.
19309 * math/w_fmodf.c: Likewise.
19310 * math/w_fmodl.c: Likewise.
19311 * math/w_j0.c: Likewise.
19312 * math/w_j0f.c: Likewise.
19313 * math/w_j0l.c: Likewise.
19314 * math/w_j1.c: Likewise.
19315 * math/w_j1f.c: Likewise.
19316 * math/w_j1l.c: Likewise.
19317 * math/w_jn.c: Likewise.
19318 * math/w_jnf.c: Likewise.
19319 * math/w_log.c: Likewise.
19320 * math/w_logf.c: Likewise.
19321 * math/w_logl.c: Likewise.
19322 * math/w_log10.c: Likewise.
19323 * math/w_log10f.c: Likewise.
19324 * math/w_log10l.c: Likewise.
19325 * math/w_log2.c: Likewise.
19326 * math/w_log2f.c: Likewise.
19327 * math/w_log2l.c: Likewise.
19328 * math/w_pow.c: Likewise.
19329 * math/w_powf.c: Likewise.
19330 * math/w_powl.c: Likewise.
19331 * math/w_remainder.c: Likewise.
19332 * math/w_remainderf.c: Likewise.
19333 * math/w_remainderl.c: Likewise.
19334 * math/w_scalb.c: Likewise.
19335 * math/w_scalbf.c: Likewise.
19336 * math/w_scalbl.c: Likewise.
19337 * math/w_sqrt.c: Likewise.
19338 * math/w_sqrtf.c: Likewise.
19339 * math/w_sqrtl.c: Likewise.
19340 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
19341 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
19342 used.
19343 * math/math_private.h: Declare __kernel_standard_f.
19344 * math/w_cosh.c: Remove cruft and optimize a bit.
19345 * math/w_coshf.c: Likewise.
19346 * math/w_coshl.c: Likewise.
19347 * math/w_exp2.c: Likewise.
19348 * math/w_exp2f.c: Likewise.
19349 * math/w_exp2l.c: Likewise.
19350 * math/w_hypot.c: Likewise.
19351 * math/w_hypotf.c: Likewise.
19352 * math/w_hypotl.c: Likewise.
19353 * math/w_lgamma.c: Likewise.
19354 * math/w_lgamma_r.c: Likewise.
19355 * math/w_lgammaf.c: Likewise.
19356 * math/w_lgammaf_r.c: Likewise.
19357 * math/w_lgammal.c: Likewise.
19358 * math/w_lgammal_r.c: Likewise.
19359 * math/w_sinh.c: Likewise.
19360 * math/w_sinhf.c: Likewise.
19361 * math/w_sinhl.c: Likewise.
19362 * math/w_tgamma.c: Likewise.
19363 * math/w_tgammaf.c: Likewise.
19364 * math/w_tgammal.c: Likewise.
19365 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19366 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19367 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
19368 Minor optimizations. Pretty printing. Remove cruft.
19369 * sysdeps/i386/fpu/e_acosf.S: Likewise.
19370 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19371 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19372 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19373 * sysdeps/i386/fpu/e_acosl.c: Likewise.
19374 * sysdeps/i386/fpu/e_asin.S: Likewise.
19375 * sysdeps/i386/fpu/e_asinf.S: Likewise.
19376 * sysdeps/i386/fpu/e_atan2.S: Likewise.
19377 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
19378 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
19379 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19380 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19381 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19382 * sysdeps/i386/fpu/e_exp10.S: Likewise.
19383 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
19384 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
19385 * sysdeps/i386/fpu/e_exp2.S: Likewise.
19386 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
19387 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
19388 * sysdeps/i386/fpu/e_fmod.S: Likewise.
19389 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
19390 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
19391 * sysdeps/i386/fpu/e_hypot.S: Likewise.
19392 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
19393 * sysdeps/i386/fpu/e_log.S: Likewise.
19394 * sysdeps/i386/fpu/e_log10.S: Likewise.
19395 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19396 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19397 * sysdeps/i386/fpu/e_log2.S: Likewise.
19398 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19399 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19400 * sysdeps/i386/fpu/e_logf.S: Likewise.
19401 * sysdeps/i386/fpu/e_logl.S: Likewise.
19402 * sysdeps/i386/fpu/e_pow.S: Likewise.
19403 * sysdeps/i386/fpu/e_powf.S: Likewise.
19404 * sysdeps/i386/fpu/e_powl.S: Likewise.
19405 * sysdeps/i386/fpu/e_remainder.S: Likewise.
19406 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
19407 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
19408 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19409 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19410 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19411 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
19412 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
19413 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19431 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19432 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19434 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19435 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19436 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19437 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19438 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19439 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19440 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
19441 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19442 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
19443 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19444 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19445 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19446 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19448 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19449 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19450 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19451 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19452 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19453 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19454 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19455 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19456 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19457 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19458 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19459 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19460 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19466 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19469 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19470 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19471 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19474 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19475 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19477 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19479 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19480 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19481 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19482 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
19483 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19484 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19485 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19486 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19487 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19488 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19489 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19490 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19491 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19492 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19493 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19494 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19496 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
19497 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19499 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19500 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19502 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19504 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19505 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19506 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19507 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
19510 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
19511 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19512 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19513 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19514 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
19515 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
19516 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
19517 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
19518 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19519 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19520 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19521 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19522 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
19523 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19524 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
19525 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
19526 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
19527 (__isnanf): Likewise.
19528 (__isinf_ns): Likewise.
19529 (__isinf_nsf): Likewise.
19530 (__finite): Likewise.
19531 (__finitef): Likewise.
19532 (__ieee754_sqrt): Define as macro.
19533 (__ieee754_sqrtf): Define as macro.
19534 (__ieee754_sqrtl): Define as macro.
19535 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
19536 inlined copy.
19537 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
19538 __FINITE_MATH_ONLY__ consistent.
19539 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
19540
12cc2fcd
AS
195412011-10-10 Andreas Schwab <schwab@linux-m68k.org>
19542
a843a204
AS
19543 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19544 of rawmemchr.
19545
12cc2fcd
AS
19546 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19547
c853acd5
UD
195482011-10-09 Ulrich Drepper <drepper@gmail.com>
19549
19550 * po/ja.po: Update from translation team.
19551
c658d255
RM
195522011-10-08 Roland McGrath <roland@hack.frob.com>
19553
110946e4
RM
19554 * locale/programs/locarchive.c (prepare_address_space): New function.
19555 (create_archive, enlarge_archive, open_archive): Use it.
19556
50604220
RM
19557 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19558 inside [SHARED], where it is used.
19559
c658d255
RM
19560 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19561
19562 * nss/getent.c (netgroup_keys): Remove unused variable.
19563 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19564
6a621eb7
UD
195652011-10-08 Ulrich Drepper <drepper@gmail.com>
19566
7edb55ce
UD
19567 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19568 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19570 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19571 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19572 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19573 * math/Makefile (libm-calls): Add s_isinf_ns.
19574 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19575 * math/multc3.c: Likewise.
19576 * math/s_casin.c: Likewise.
19577 * math/s_casinf.c: Likewise.
19578 * math/s_casinl.c: Likewise.
19579 * math/s_ccos.c: Likewise.
19580 * math/s_ccosf.c: Likewise.
19581 * math/s_ccosl.c: Likewise.
19582 * math/s_ctan.c: Likewise.
19583 * math/s_ctanf.c: Likewise.
19584 * math/s_ctanh.c: Likewise.
19585 * math/s_ctanhf.c: Likewise.
19586 * math/s_ctanhl.c: Likewise.
19587 * math/s_ctanl.c: Likewise.
19588 * math/w_fmod.c: Likewise.
19589 * math/w_fmodf.c: Likewise.
19590 * math/w_fmodl.c: Likewise.
19591 * math/w_remainder.c: Likewise.
19592 * math/w_remainderf.c: Likewise.
19593 * math/w_remainderl.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19595 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19596 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19598 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19599 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19600 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19601 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19602
187da0ae
UD
19603 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19604 of the number.
19605 * stdio-common/printf_fphex.c: Likewise.
19606 * stdio-common/printf_size.c: Likewise.
19607
9277c064
UD
19608 * math/e_exp10.c: Include math_private.h using <...> not "...".
19609 * math/e_exp10f.c: Likewise.
19610 * math/e_exp10l.c: Likewise.
19611 * math/e_exp2l.c: Likewise.
19612 * math/e_j0l.c: Likewise.
19613 * math/e_j1l.c: Likewise.
19614 * math/e_jnl.c: Likewise.
19615 * math/e_lgammal_r.c: Likewise.
19616 * math/e_rem_pio2l.c: Likewise.
19617 * math/e_scalb.c: Likewise.
19618 * math/e_scalbf.c: Likewise.
19619 * math/e_scalbl.c: Likewise.
19620 * math/k_cosl.c: Likewise.
19621 * math/k_sinl.c: Likewise.
19622 * math/k_tanl.c: Likewise.
19623 * math/s_cacoshf.c: Likewise.
19624 * math/s_catan.c: Likewise.
19625 * math/s_catanf.c: Likewise.
19626 * math/s_catanh.c: Likewise.
19627 * math/s_catanhf.c: Likewise.
19628 * math/s_catanhl.c: Likewise.
19629 * math/s_catanl.c: Likewise.
19630 * math/s_ccosh.c: Likewise.
19631 * math/s_ccoshf.c: Likewise.
19632 * math/s_ccoshl.c: Likewise.
19633 * math/s_cexp.c: Likewise.
19634 * math/s_cexpf.c: Likewise.
19635 * math/s_cexpl.c: Likewise.
19636 * math/s_clog.c: Likewise.
19637 * math/s_clog10.c: Likewise.
19638 * math/s_clog10f.c: Likewise.
19639 * math/s_clog10l.c: Likewise.
19640 * math/s_clogf.c: Likewise.
19641 * math/s_clogl.c: Likewise.
19642 * math/s_csin.c: Likewise.
19643 * math/s_csinf.c: Likewise.
19644 * math/s_csinh.c: Likewise.
19645 * math/s_csinhf.c: Likewise.
19646 * math/s_csinhl.c: Likewise.
19647 * math/s_csinl.c: Likewise.
19648 * math/s_csqrt.c: Likewise.
19649 * math/s_csqrtf.c: Likewise.
19650 * math/s_csqrtl.c: Likewise.
19651 * math/s_ctan.c: Likewise.
19652 * math/s_ctanf.c: Likewise.
19653 * math/s_ctanh.c: Likewise.
19654 * math/s_ctanhf.c: Likewise.
19655 * math/s_ctanhl.c: Likewise.
19656 * math/s_ctanl.c: Likewise.
19657 * math/s_ldexp.c: Likewise.
19658 * math/s_ldexpf.c: Likewise.
19659 * math/s_ldexpl.c: Likewise.
19660 * math/s_significand.c: Likewise.
19661 * math/s_significandf.c: Likewise.
19662 * math/s_significandl.c: Likewise.
19663 * math/w_acos.c: Likewise.
19664 * math/w_acosf.c: Likewise.
19665 * math/w_acosh.c: Likewise.
19666 * math/w_acoshf.c: Likewise.
19667 * math/w_acoshl.c: Likewise.
19668 * math/w_acosl.c: Likewise.
19669 * math/w_asin.c: Likewise.
19670 * math/w_asinf.c: Likewise.
19671 * math/w_asinl.c: Likewise.
19672 * math/w_atan2.c: Likewise.
19673 * math/w_atan2f.c: Likewise.
19674 * math/w_atan2l.c: Likewise.
19675 * math/w_atanh.c: Likewise.
19676 * math/w_atanhf.c: Likewise.
19677 * math/w_atanhl.c: Likewise.
19678 * math/w_cosh.c: Likewise.
19679 * math/w_coshf.c: Likewise.
19680 * math/w_coshl.c: Likewise.
19681 * math/w_dremf.c: Likewise.
19682 * math/w_exp10.c: Likewise.
19683 * math/w_exp10f.c: Likewise.
19684 * math/w_exp10l.c: Likewise.
19685 * math/w_exp2.c: Likewise.
19686 * math/w_exp2f.c: Likewise.
19687 * math/w_fmod.c: Likewise.
19688 * math/w_fmodf.c: Likewise.
19689 * math/w_fmodl.c: Likewise.
19690 * math/w_hypot.c: Likewise.
19691 * math/w_hypotf.c: Likewise.
19692 * math/w_hypotl.c: Likewise.
19693 * math/w_j0.c: Likewise.
19694 * math/w_j0f.c: Likewise.
19695 * math/w_j0l.c: Likewise.
19696 * math/w_j1.c: Likewise.
19697 * math/w_j1f.c: Likewise.
19698 * math/w_j1l.c: Likewise.
19699 * math/w_jn.c: Likewise.
19700 * math/w_jnf.c: Likewise.
19701 * math/w_jnl.c: Likewise.
19702 * math/w_lgamma.c: Likewise.
19703 * math/w_lgamma_r.c: Likewise.
19704 * math/w_lgammaf.c: Likewise.
19705 * math/w_lgammaf_r.c: Likewise.
19706 * math/w_lgammal.c: Likewise.
19707 * math/w_lgammal_r.c: Likewise.
19708 * math/w_log.c: Likewise.
19709 * math/w_log10.c: Likewise.
19710 * math/w_log10f.c: Likewise.
19711 * math/w_log10l.c: Likewise.
19712 * math/w_log2.c: Likewise.
19713 * math/w_log2f.c: Likewise.
19714 * math/w_log2l.c: Likewise.
19715 * math/w_logf.c: Likewise.
19716 * math/w_logl.c: Likewise.
19717 * math/w_pow.c: Likewise.
19718 * math/w_powf.c: Likewise.
19719 * math/w_powl.c: Likewise.
19720 * math/w_remainder.c: Likewise.
19721 * math/w_remainderf.c: Likewise.
19722 * math/w_remainderl.c: Likewise.
19723 * math/w_scalb.c: Likewise.
19724 * math/w_scalbf.c: Likewise.
19725 * math/w_scalbl.c: Likewise.
19726 * math/w_sinh.c: Likewise.
19727 * math/w_sinhf.c: Likewise.
19728 * math/w_sinhl.c: Likewise.
19729 * math/w_sqrt.c: Likewise.
19730 * math/w_sqrtf.c: Likewise.
19731 * math/w_sqrtl.c: Likewise.
19732 * math/w_tgamma.c: Likewise.
19733 * math/w_tgammaf.c: Likewise.
19734 * math/w_tgammal.c: Likewise.
19735
6a621eb7
UD
19736 * po/ja.po: Update from translation team.
19737
bf582445
AJ
197382011-09-29 Andreas Jaeger <aj@suse.de>
19739
f9efbf3a
AJ
19740 [BZ #13179]
19741 * sunrpc/netname.c (netname2host): Fix logic.
19742
bf582445
AJ
19743 [BZ #6779]
19744 [BZ #6783]
19745 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19746 correctly.
19747 * math/w_remainder.c (__remainder): Likewise.
19748 * math/w_remainderf.c (__remainderf): Likewise.
19749 * math/libm-test.inc (remainder_test): Add test cases.
19750
48693bea
AK
197512011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19752
19753 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19754 sdiv_qrnnd.
19755
42622229
LD
197562011-10-07 Ulrich Drepper <drepper@gmail.com>
19757
19758 * string/test-memcmp.c: Avoid unncessary #defines.
19759 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19760
093ecf92
LD
197612011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19762
19763 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19764 Use new sse2 version for core i3 - i7 as it's faster
19765 than sse42 version.
19766 (bit_Prefer_PMINUB_for_stringop): New.
19767 * sysdeps/x86_64/rawmemchr.S: Update.
19768 Replace with faster SSE2 version.
19769 * sysdeps/x86_64/memrchr.S: New file.
19770 * sysdeps/x86_64/memchr.S: Update.
19771 Replace with faster SSE2 version.
19772
fde56e5c
MP
197732011-09-12 Marek Polacek <mpolacek@redhat.com>
19774
19775 * elf/dl-load.c (lose): Add cast to avoid warning.
19776
21fd49a9
UD
197772011-10-07 Ulrich Drepper <drepper@gmail.com>
19778
5a06e643
UD
19779 * po/ca.po: Update from translation team.
19780
684ae515
UD
19781 * inet/getnetgrent_r.c: Hook up nscd.
19782 * nscd/Makefile (routines): Add nscd_netgroup.
19783 (nscd-modules): Add netgroupcache.
19784 (CFLAGS-netgroupcache.c): Define.
19785 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19786 (cache_search): Add const to second parameter.
19787 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19788 INNETGR.
19789 (dbs): Add netgrdb entry.
19790 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19791 (verify_persistent_db): Handle netgrdb.
19792 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19793 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19794 GETFDNETGR.
19795 (netgroup_response_header): Define.
19796 (innetgroup_response_header): Define.
19797 (datahead): Add netgroup_response_header and innetgroup_response_header
19798 elements.
19799 * nscd/nscd.conf: Add entries for netgroup cache.
19800 * nscd/nscd.h (dbtype): Add netgrdb.
19801 (_PATH_NSCD_NETGROUP_DB): Define.
19802 (netgroup_iov_disabled): Declare.
19803 (xmalloc, xcalloc, xrealloc): Move declarations here.
19804 (cache_search): Adjust prototype.
19805 Add netgroup-related prototypes.
19806 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19807 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19808 (__nscd_innetgr): Declare.
19809 * nscd/selinux.c (perms): Use access_vector_t as element type and
19810 add netgroup-related initializers.
19811 * nscd/netgroupcache.c: New file.
19812 * nscd/nscd_netgroup.c: New file.
19813 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19814 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19815 For four parameters use innetgr.
19816 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19817 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19818 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19819 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19820
21fd49a9
UD
19821 * nscd/connections.c (register_traced_file): Don't register file
19822 for disabled databases.
19823
054c0457
UD
198242011-10-06 Ulrich Drepper <drepper@gmail.com>
19825
32b63198
UD
19826 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19827
054c0457
UD
19828 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19829 from tree and freeing node.
19830
64031225
JO
198312011-09-25 Jiri Olsa <jolsa@redhat.com>
19832
19833 * nss/nsswitch.c (__nss_database_lookup): Handle
19834 nss_parse_service_list out of memory case.
19835
0490345c
JO
198362011-09-15 Jiri Olsa <jolsa@redhat.com>
19837
19838 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19839 out of memory case.
19840
3a62d00d
AS
198412011-10-04 Andreas Schwab <schwab@redhat.com>
19842
19843 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19844 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19845 pass it down.
19846 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19847 elf_machine_rela, elf_machine_lazy_rel.
19848 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19849 (ELF_DYNAMIC_DO_REL): Likewise.
19850 (ELF_DYNAMIC_DO_RELA): Likewise.
19851 (ELF_DYNAMIC_RELOCATE): Likewise.
19852 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19853 to ELF_DYNAMIC_DO_REL.
19854 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19855 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19856 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19857 elf_machine_rela.
19858 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19859 skip_ifunc, don't call ifunc function if non-zero.
19860 (elf_machine_rela): Likewise.
19861 (elf_machine_lazy_rel): Likewise.
19862 (elf_machine_lazy_rela): Likewise.
19863 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19864 (elf_machine_lazy_rel): Likewise.
19865 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19866 Likewise.
19867 (elf_machine_lazy_rel): Likewise.
19868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19869 Likewise.
19870 (elf_machine_lazy_rel): Likewise.
19871 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19872 (elf_machine_lazy_rel): Likewise.
19873 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19874 (elf_machine_lazy_rel): Likewise.
19875 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19876 (elf_machine_lazy_rel): Likewise.
19877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19878 (elf_machine_lazy_rel): Likewise.
19879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19880 (elf_machine_lazy_rel): Likewise.
19881 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19882 (elf_machine_lazy_rel): Likewise.
19883
68577918
UD
198842011-09-28 Ulrich Drepper <drepper@gmail.com>
19885
19886 * nss/nss_files/files-init.c (_nss_files_init): Use static
19887 initialization for all the *_traced_file variables.
19888
68822d74
AS
198892011-09-28 Andreas Schwab <schwab@redhat.com>
19890
19891 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19892
2056100b
RM
198932011-09-27 Roland McGrath <roland@hack.frob.com>
19894
19895 [BZ #13226]
19896 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19897
32c76b63
AS
198982011-09-27 Andreas Schwab <schwab@redhat.com>
19899
19900 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19901 Reread the line before reparsing it.
19902
bf972c9d
AS
199032011-09-26 Andreas Schwab <schwab@redhat.com>
19904
19905 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19906
e057a1b5
JM
199072011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19908 Maxim Kuvyrkov <maxim@codesourcery.com>
19909 Joseph Myers <joseph@codesourcery.com>
19910
19911 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19912 if needed for __stack_chk_guard.
19913
bc7e1c36
RM
199142011-09-19 Roland McGrath <roland@hack.frob.com>
19915
ecb1482f
RM
19916 * sysdeps/posix/spawni.c (script_execute): Always define it.
19917 It will be optimized away if unused.
19918 (maybe_script_execute): New function.
19919 (__spawni): Call it.
19920
bc7e1c36
RM
19921 * Makerules: Don't include tls.make.
19922 (config-tls): Always set to thread.
19923 * tls.make.c: File removed.
19924
1c3b002b
MF
199252011-09-19 Mike Frysinger <vapier@gentoo.org>
19926
19927 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19928 * config.make.in (CPPFLAGS-config): New substituted variable.
19929
2840865d
UD
199302011-09-15 Ulrich Drepper <drepper@gmail.com>
19931
88738eb6
UD
19932 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19933
cbf645a6 19934 [BZ #13192]
2840865d
UD
19935 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19936 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19937
b402e91a
RM
199382011-09-15 Roland McGrath <roland@hack.frob.com>
19939
19940 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19941 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19942 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19943 (CALL_FAIL): Likewise.
19944 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19945 (CALL_FAIL): Macro removed.
19946 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19947
4c1a1f71
UD
199482011-09-15 Ulrich Drepper <drepper@gmail.com>
19949
19950 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19951 for __FINITE_MATH_ONLY__ == 1.
19952
edc121be
AS
199532011-09-15 Andreas Schwab <schwab@redhat.com>
19954
19955 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19956 __ieee754_sqrt instead of sqrt.
19957 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19958 __ieee754_sqrtf instead of sqrtf.
19959 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19960 __floorf instead of floorf.
19961 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19962 __floorf, __truncf instead of floorf, truncf.
19963
cd205654
UD
199642011-09-14 Ulrich Drepper <drepper@gmail.com>
19965
ee4d0315
UD
19966 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19967
cd205654
UD
19968 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19969 __extern_always_inline.
19970 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19971 32-bit.
19972
48b67d71
AS
199732011-09-14 Andreas Schwab <schwab@redhat.com>
19974
19975 * elf/rtld.c (dl_main): Also relocate in dependency order when
19976 doing symbol dependency testing.
19977
1ae12c75
AS
199782011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19979
19980 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19981 Always define `refsym'.
19982
995a80df
AS
199832011-09-13 Andreas Schwab <schwab@redhat.com>
19984
e529793b
AS
19985 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19986 (__FD_ELT): Renamed from __FDELT.
19987 * misc/bits/select2.h (__FD_ELT): Likewise.
19988 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19989 __FD_MASK instead of __FDELT, __FDMASK.
19990 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19991 Likewise.
19992 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19993 Likewise.
19994
52d4fef8
AS
19995 * elf/Makefile (gen-ldd): Fix pattern.
19996
995a80df
AS
19997 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19998 (init_tls): Likewise.
19999
8682f8b0
UD
200002011-09-12 Ulrich Drepper <drepper@gmail.com>
20001
20002 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
20003
de82006d
AS
200042011-09-12 Andreas Schwab <schwab@redhat.com>
20005
a7c8e6a1
AS
20006 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
20007 `struct cmsghdr *' instead of `void *'.
20008 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
20009 Likewise.
20010
0f31fe77
AS
200112011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20012
20013 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
20014 if non-absolute.
20015 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
20016 ldd_rewrite_script.
0f31fe77 20017
32b4c839
UD
200182011-09-11 Ulrich Drepper <drepper@gmail.com>
20019
83cd1420
UD
20020 * configure.in: Remove --with-tls option.
20021 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
20022 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
20023 out in case it is missing.
20024 * sysdeps/ia64/elf/configure.in: Likewise.
20025 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
20026 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
20027 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
20028 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
20029 * sysdeps/sh/elf/configure.in: Likewise.
20030 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
20031 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20032 * sysdeps/x86_64/elf/configure.in: Likewise.
20033 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
20034 * sysdeps/mach/hurd/tls.h: Likewise.
20035
633f745d
UD
20036 [BZ #13067]
20037 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
20038
f318beb8
UD
20039 [BZ #13090]
20040 * configure.in: Fix use of AC_INIT.
20041
32b4c839
UD
20042 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
20043
3ce1f295
UD
200442011-09-10 Ulrich Drepper <drepper@gmail.com>
20045
bb016596
UD
20046 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
20047 __set_errno.
8e58439c
UD
20048 * malloc/hooks.c: Likewise.
20049
aebae053 20050 [BZ #11929]
02d46fc4
UD
20051 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
20052 variables statically.
20053 (narenas): Initialize.
20054 (list_lock): Initialize.
bb016596
UD
20055 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
20056 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
20057 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
20058 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
20059 Add initializers to main_arena and mp_.
20060 (malloc_state): Remove pagesize member. Change all users to use
20061 GLRO(dl_pagesize).
20062
20063 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
20064 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
20065 is always initialized.
20066
22a89187
UD
20067 * malloc/malloc.c: Removed unused configurations and dead code.
20068 * malloc/arena.c: Likewise.
20069 * malloc/hooks.c: Likewise.
02d46fc4 20070 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 20071
d063d164
UD
20072 * include/tls.h: Removed. USE___THREAD must always be defined.
20073 * bits/libc-tsd.h: Don't handle !USE___THREAD.
20074 * elf/dl-libc.c: Likewise.
20075 * elf/dl-tsd.c: Likewise.
20076 * include/errno.h: Likewise.
20077 * include/netdb.h: Likewise.
20078 * include/resolv.h: Likewise.
20079 * inet/herrno-loc.c: Likewise.
20080 * inet/herrno.c: Likewise.
20081 * malloc/arena.c: Likewise.
20082 * malloc/hooks.c: Likewise.
20083 * malloc/malloc.c: Likewise.
20084 * resolv/res-state.c: Likewise.
20085 * resolv/res_libc.c: Likewise.
20086 * sysdeps/i386/dl-machine.h: Likewise.
20087 * sysdeps/ia64/dl-machine.h: Likewise.
20088 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
20089 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20090 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20091 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20092 * sysdeps/sh/dl-machine.h: Likewise.
20093 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20094 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20095 * sysdeps/unix/i386/sysdep.S: Likewise.
20096 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20097 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20100 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20101 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20102 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20103 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20105 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20106 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20107 * sysdeps/x86_64/dl-machine.h: Likewise.
20108 * tls.make.c: Likewise.
20109
3ce1f295
UD
20110 * configure.in: Remove --with-__thread option. Make tests for
20111 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
20112 tls_model attribute fail if no support is available. Remove
20113 USE_IN_LIBIO.
20114 * Makeconfig: Adjust for dropped configure option. All features are
20115 now mandatory.
20116 * Makerules: Likewise.
20117 * Versions.def: Likewise.
20118 * argp/argp-fmtstream.c: Likewise.
20119 * argp/argp-fmtstream.h: Likewise.
20120 * argp/argp-help.c: Likewise.
20121 * assert/assert.c: Likewise.
20122 * config.h.in: Likewise.
20123 * config.make.in: Likewise.
20124 * configure: Likewise.
20125 * configure.in: Likewise.
20126 * csu/Versions: Likewise.
20127 * csu/init.c: Likewise.
20128 * elf/tst-audit2.c: Likewise.
20129 * elf/tst-tls10.c: Likewise.
20130 * elf/tst-tls10.h: Likewise.
20131 * elf/tst-tls11.c: Likewise.
20132 * elf/tst-tls12.c: Likewise.
20133 * elf/tst-tls14.c: Likewise.
20134 * elf/tst-tlsmod11.c: Likewise.
20135 * elf/tst-tlsmod12.c: Likewise.
20136 * elf/tst-tlsmod13.c: Likewise.
20137 * elf/tst-tlsmod13a.c: Likewise.
20138 * elf/tst-tlsmod14a.c: Likewise.
20139 * elf/tst-tlsmod15b.c: Likewise.
20140 * elf/tst-tlsmod16a.c: Likewise.
20141 * elf/tst-tlsmod16b.c: Likewise.
20142 * elf/tst-tlsmod7.c: Likewise.
20143 * elf/tst-tlsmod8.c: Likewise.
20144 * elf/tst-tlsmod9.c: Likewise.
20145 * gmon/gmon.c: Likewise.
20146 * grp/fgetgrent_r.c: Likewise.
20147 * grp/putgrent.c: Likewise.
20148 * hurd/fopenport.c: Likewise.
20149 * include/libc-symbols.h: Likewise.
20150 * include/tls.h: Likewise.
20151 * intl/gettextP.h: Likewise.
20152 * intl/loadinfo.h: Likewise.
20153 * locale/global-locale.c: Likewise.
20154 * locale/localeinfo.h: Likewise.
20155 * mach/devstream.c: Likewise.
20156 * malloc/arena.c: Likewise.
20157 * malloc/set-freeres.c: Likewise.
20158 * misc/err.c: Likewise.
20159 * misc/getttyent.c: Likewise.
20160 * misc/mntent_r.c: Likewise.
20161 * posix/getopt.c: Likewise.
20162 * posix/wordexp.c: Likewise.
20163 * pwd/fgetpwent_r.c: Likewise.
20164 * resolv/Versions: Likewise.
20165 * resolv/res_hconf.c: Likewise.
20166 * shadow/fgetspent_r.c: Likewise.
20167 * shadow/putspent.c: Likewise.
20168 * stdio-common/printf_fphex.c: Likewise.
20169 * stdio-common/tmpfile.c: Likewise.
20170 * stdlib/abort.c: Likewise.
20171 * stdlib/fmtmsg.c: Likewise.
20172 * sunrpc/auth_unix.c: Likewise.
20173 * sunrpc/clnt_perr.c: Likewise.
20174 * sunrpc/clnt_tcp.c: Likewise.
20175 * sunrpc/clnt_udp.c: Likewise.
20176 * sunrpc/clnt_unix.c: Likewise.
20177 * sunrpc/openchild.c: Likewise.
20178 * sunrpc/svc_simple.c: Likewise.
20179 * sunrpc/svc_tcp.c: Likewise.
20180 * sunrpc/svc_udp.c: Likewise.
20181 * sunrpc/svc_unix.c: Likewise.
20182 * sunrpc/xdr.c: Likewise.
20183 * sunrpc/xdr_array.c: Likewise.
20184 * sunrpc/xdr_rec.c: Likewise.
20185 * sunrpc/xdr_ref.c: Likewise.
20186 * sunrpc/xdr_stdio.c: Likewise.
20187
1248c1c4
PB
201882011-09-09 Ulrich Drepper <drepper@gmail.com>
20189
20190 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20191
201922011-07-03 Andreas Jaeger <aj@suse.de>
20193
20194 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
20195 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
20196 regenerate with gen-libm-tests.pl.
20197
201982010-05-12 Petr Baudis <pasky@suse.cz>
20199
20200 [BZ #11589]
20201 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
20202 around j0() zero points by switching to j1().
20203 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20207
f22e1074
UD
202082011-09-09 Ulrich Drepper <drepper@gmail.com>
20209
f19009c1
UD
20210 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
20211 instead of 0.
20212 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 20213 instead of 0.
f19009c1
UD
20214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20215 Patch in part by Pavel Roskin <proski@gnu.org>.
20216
3f8cc204
UD
20217 [BZ #13138]
20218 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
20219 realloc.
20220 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
20221 Free memory block if necessary.
20222
f22e1074
UD
20223 [BZ #12847]
20224 * libio/genops.c (INTDEF): For string streams the _lock pointer can
20225 be NULL. Don't lock in this case.
20226
0a2349f9
RM
202272011-09-09 Roland McGrath <roland@hack.frob.com>
20228
20229 * elf/elf.h (ELFOSABI_GNU): New macro.
20230 (ELFOSABI_LINUX): Define to that.
20231
f3cdd467
DZ
202322011-07-29 Denis Zaitceff <zaitceff@gmail.com>
20233
20234 * string/strncat.c (strncat): Undef the symbol in case it has been
20235 defined in bits/string.h.
20236
74718d13
UD
202372011-09-09 Ulrich Drepper <drepper@gmail.com>
20238
633e9e0f
UD
20239 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
20240
0a2349f9 20241 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
20242 link map.
20243
f9924780
AJ
202442011-08-17 Andreas Jaeger <aj@suse.de>
20245
20246 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
20247
7f5517aa
PP
202482011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20249 Ian Lance Taylor <iant@google.com>
20250
20251 * math/libm-test.inc (lround_test): New testcase.
20252 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
20253
762011fe
UD
202542011-09-08 Ulrich Drepper <drepper@gmail.com>
20255
92963737
UD
20256 * Makefile: Remove support for automatic cvs check-ins.
20257 * Makerules: Likewise.
20258 * config.make.in: Likewise.
20259 * configure.in: Likewise.
20260 * intl/Makefile: Likewise.
20261 * locale/Makefile: Likewise.
20262 * po/Makefile: Likewise.
20263 * posix/Makefile: Likewise.
20264 * sysdeps/gnu/Makefile: Likewise.
20265 * sysdeps/mach/hurd/Makefile: Likewise.
20266 * sysdeps/sparc/sparc32/Makefile: Likewise.
20267
b0727fd8
JS
20268 [BZ #13118]
20269 * posix/Makefile (bug-regex32-ENV): Define.
20270 Patch by John Stanley <jpsinthemix@verizon.net>.
20271
a0f33f99
UD
20272 * misc/Makefile (headers): Add bits/select2.h.
20273 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
20274 * misc/bits/select2.h: New file.
20275 * include/bits/select2.h: New file.
20276 * debug/Makefile (routines): Add fdelt_chk.
20277 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
20278 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
20279 FD_ISSET.
20280 * debug/fdelt_chk.c: New file.
20281
762011fe
UD
20282 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
20283 * wcsmbs/test-wmemcmp.c: Likewise.
20284 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 20285 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
20286
202872011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20288
20289 * string/Makefile (strop-tests): Add memcmp.
20290 * string/test-wmemcmp.c: New file.
20291 * string/test-memcmp.c: Add wmemcmp support.
20292
7f513ec8
RM
202932011-09-08 Roland McGrath <roland@hack.frob.com>
20294
0442afb4
RM
20295 [BZ #13153]
20296 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
20297 2011-07-19 change.
20298
7f513ec8
RM
20299 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
20300 garbage value in a __mach_port_mod_refs call in the cases of the
20301 task-self and thread-self ports.
20302
a12b2239
ST
203032011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20304
20305 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
20306
610f9ab4
AS
203072011-09-08 Andreas Schwab <schwab@redhat.com>
20308
7f513ec8 20309 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 20310
48882a1a
LD
203112011-09-07 Ulrich Drepper <drepper@gmail.com>
20312
b49865be
UD
20313 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
20314
fdc86bc9
UD
20315 * elf/dl-libc.c (dlerror_run): Pass back error code from
20316 dl_catch_error.
20317
c966526a
UD
20318 [BZ #13123]
20319 * elf/dl-load.c (lose): Free l_origin if it is valid.
20320
48882a1a
LD
20321 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
20322 names.
20323 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20324 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20325 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20326 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20327 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20328 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
20329
77a2a8b4
AZ
203302011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20331
20332 * sysdeps/powerpc/fpu/e_hypot.c: New file.
20333 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
20334 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
20335 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
20336 * sysdeps/powerpc/fpu/k_cosf.c: New file.
20337 * sysdeps/powerpc/fpu/k_sinf.c: New file.
20338 * sysdeps/powerpc/fpu/s_cosf.c: New file.
20339 * sysdeps/powerpc/fpu/s_sinf.c: New file.
20340 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
20341 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
20342
24f579d8
AM
203432011-08-15 Alan Modra <amodra@gmail.com>
20344
20345 [BZ #13092]
20346 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
20347 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
20348 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
20349 ppc_mcount to static-only-routines.
20350 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
20351 __mcount_internal.
20352 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
20353 __mcount_internal with usual JUMPTARGET. Remove useless nop.
20354
3d4837df
UD
203552011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
20356
20357 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
20358 for finite and infinity parameters.
20359
22700377
WS
203602011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20361
20362 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
20363 and add nop instructions for throughput optimization.
20364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20365
5025581e
WS
203662011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
20367
20368 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
20369 aligned copy for power7 with vector-scalar instructions.
20370 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20371
08a300c9
L
203722011-07-24 H.J. Lu <hongjiu.lu@intel.com>
20373
20374 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
20375 AVX check.
20376
59178ef9
AS
203772011-09-07 Andreas Schwab <schwab@redhat.com>
20378
20379 [BZ #13144]
20380 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
20381 last change.
20382
e38ba7ab
UD
203832011-09-07 Ulrich Drepper <drepper@gmail.com>
20384
20385 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20386 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
20387 syscall wrapper around clock_gettime in __vdso_clock_gettime.
20388 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
20389 clock_gettime.
20390
d53a73ac
UD
203912011-09-06 Ulrich Drepper <drepper@gmail.com>
20392
fc8bffcc
UD
20393 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
20394 Forgot to demangle the pointer.
20395
ceaa0c5d
UD
20396 * sysdeps/i386/sysdep.h: Define atom_text_section.
20397 * sysdeps/x86_64/sysdep.h: Likewise.
20398 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
20399 section with atom_text_section.
20400 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20401 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20402 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20403 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20404 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
20405
a77d3c17
UD
20406 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
20407 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
20408 already be defined. Change to take two parameters and don't assign
20409 result to variable. Adjust all users.
20410 Define INTERNAL_GETTIME if not already defined.
20411 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
20412 call.
20413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
20414 HAVE_CLOCK_GETTIME_VSYSCALL.
20415 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
20416
d53a73ac
UD
20417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
20418 gettimeofday vsyscall, just use time.
20419
a8f84144
AS
204202011-09-06 Andreas Schwab <schwab@redhat.com>
20421
20422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
20423 <errno.h>.
20424
ef606249
UD
204252011-09-06 Ulrich Drepper <drepper@gmail.com>
20426
20427 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
20428 syscall on x86-64.
20429 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
20430 syscall.
20431 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20432 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
20433 syscall if possible.
20434
6585cb60
UD
204352011-09-05 Ulrich Drepper <drepper@gmail.com>
20436
20437 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
20438 e_ident. Don't pass to find_mapsXX.
20439 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
20440
a5f524e4
LD
204412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20442
20443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20444 strchr-sse2-no-bsf strrchr-sse2-no-bsf
20445 * sysdeps/x86_64/multiarch/strchr.S: Update.
20446 Check bit_slow_BSF bit.
20447 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20448 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
20449 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
20450
554881ef
UD
204512011-09-05 Ulrich Drepper <drepper@gmail.com>
20452
d96de963
UD
20453 [BZ #13134]
20454 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
20455 before glibc 2.15.
20456 (tryshell): Define.
20457 (__spawni): Change last parameter to be flag. Test
20458 SPAWN_XFLAGS_USE_PATH flag to use path or not.
20459 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
20460 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
20461 * posix/spawni.c: Likewise.
20462 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
20463 * posix/spawnp.c: Likewise. Change normal version to use
20464 SPAWN_XFLAGS_USE_PATH.
20465 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
20466 SPAWN_XFLAGS_TRY_SHELL.
20467
d48e5868
UD
20468 [BZ #13150]
20469 * posix/glob.h: Remove gcc 1.x support.
20470
554881ef
UD
20471 [BZ #13068]
20472 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
20473
693fb948
LD
204742011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20475
20476 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20477 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
20478 strrchr-sse2-bsf
20479 * sysdeps/i386/i686/multiarch/strchr.S: New file.
20480 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
20481 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
20482 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
20483 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
20484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
20485
1b48c537
UD
204862011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20487
49d42c37
UD
20488 * sysdeps/x86_64/wcscmp.S: New file.
20489
1b48c537
UD
20490 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
20491 wcscmp-c wcscmp-sse2
20492 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
20493 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
20494 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
20495 * wcsmbs/wcscmp.c: Allow renaming.
20496
15c95c5d
DM
204972011-09-05 David S. Miller <davem@davemloft.net>
20498
20499 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
20500 stack slot, rather than the struct return pointer slot.
20501 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
20502 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
20503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
20504 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
20505
2f0ad8f3
UD
205062011-09-05 Ulrich Drepper <drepper@gmail.com>
20507
d88ae418
UD
20508 * po/ja.po: Update from translation team.
20509
2f0ad8f3
UD
20510 [BZ #13144]
20511 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
20512 kernel in 64-bit binaries.
20513
5f4318d1
DM
205142011-09-01 David S. Miller <davem@davemloft.net>
20515
20516 * elf/elf.h (HWCAP_SPARC_*): Move to..
20517 * sysdeps/sparc/sysdep.h: this new file and add new values.
20518 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
20519 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
20520 _DL_HWCAP_COUNT to 24.
20521 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20522 entries.
20523 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
20524 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
20525 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
20526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
20527 instead of magic constants.
20528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20529
3ba57516
DM
205302011-08-31 David S. Miller <davem@davemloft.net>
20531
20532 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
20533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
20534 Reimplement to do errno handling inline.
20535 (SYSCALL_ERROR_HANDLER): New macro.
20536 (__SYSCALL_STRING): Do not do errno handling in asm.
20537 (__CLONE_SYSCALL_STRING): Delete.
20538 (__INTERNAL_SYSCALL_STRING): Delete.
20539 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
20540 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
20541 (PSEUDO): Reimplement to do errno handling inline.
20542 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
20543 (SYSCALL_ERROR_HANDLER): New macro.
20544 (__SYSCALL_STRING): Do not do errno handling in asm.
20545 (__CLONE_SYSCALL_STRING): Delete.
20546 (__INTERNAL_SYSCALL_STRING): Delete.
20547 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20548 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20549 i386.
20550 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20551 (inline_syscall*): Add 'err' argument.
20552 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20553 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20554 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20555 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20556
20557 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20558 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20559
2bc17433
AS
205602011-08-30 Andreas Schwab <schwab@redhat.com>
20561
20562 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20563
fbeb5f4d
JO
205642011-08-29 Jiri Olsa <jolsa@redhat.com>
20565
20566 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20567 directive.
20568
ad69cc26
DM
205692011-08-24 David S. Miller <davem@davemloft.net>
20570
20571 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20572
39dd69df
AS
205732011-08-24 Andreas Schwab <schwab@redhat.com>
20574
20575 * elf/Makefile: Add rules to build and run unload8 test.
20576 * elf/unload8.c: New file.
20577 * elf/unload8mod1.c: New file.
20578 * elf/unload8mod1x.c: New file.
20579 * elf/unload8mod2.c: New file.
20580 * elf/unload8mod3.c: New file.
20581
20582 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20583 it wasn't used.
20584
2c0b250a
DM
205852011-08-23 David S. Miller <davem@davemloft.net>
20586
20587 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20588 subtract stack bias.
20589 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20590 %sp not %fp in calculations.
20591 (_JMPBUF_UNWINDS_ADJ): Likewise.
20592
22044b48
DM
20593 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20594 (aio_suspend): Call it to force an exception region around the
20595 AIO_MISC_WAIT() invocation.
20596
2cae4995
AS
205972011-08-23 Andreas Schwab <schwab@redhat.com>
20598
20599 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20600 backslash.
20601
873a772e
AJ
206022011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20603
20604 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20605 protection macro.
20606 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20607 and <dl-machine.h>.
20608 (Elf64_FuncDesc): Remove.
20609
25ad0df1
DM
206102011-08-22 David S. Miller <davem@davemloft.net>
20611
20612 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20613 sigaltstack check, add missing cfi directives.
20614 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20615 missing cfi directives, and sigaltstack handling.
20616
e888bcbe
AS
206172011-08-16 Andreas Schwab <schwab@redhat.com>
20618
20619 [BZ #11724]
20620 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20621 object is seen twice.
20622 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20623
20624 * elf/Makefile (distribute): Add tst-initorder2.c.
20625 (tests): Add tst-initorder2.
20626 (modules-names): Add tst-initorder2a tst-initorder2b
20627 tst-initorder2c tst-initorder2d. Add rules to build them.
20628 ($(objpfx)tst-initorder2.out): New rule.
20629 * elf/tst-initorder2.c: New file.
20630 * elf/tst-initorder2.exp: New file.
20631
87162f46
AS
206322011-08-22 Andreas Schwab <schwab@redhat.com>
20633
70538b7f
AS
20634 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20635
f55ffe58
AS
20636 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20637 dependencies back to end of function.
20638
87162f46
AS
20639 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20640 $(elfobjdir)/ld.so.
20641
91b392a4
UD
206422011-08-21 Ulrich Drepper <drepper@gmail.com>
20643
20644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20645 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20647 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20648 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20649 of __vdso_gettimeofday.
20650 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20651 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20652 attribute_hidden.
20653 (_libc_vdso_platform_setup): Remove initialization of
20654 __vdso_gettimeofday and __vdso_time.
20655
5c43483f
UD
206562011-08-20 Ulrich Drepper <drepper@gmail.com>
20657
775a77e7
UD
20658 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20659 and fgetc_unlocked.
20660 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20661 getc_unlocked.
89f447ed 20662
49c74ba9
UD
20663 * elf/dl-open.c (add_to_global): Report additions to the global scope
20664 for LD_DEBUG=scopes.
20665 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 20666 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 20667
5c43483f
UD
20668 [BZ #13114]
20669 * stdio-common/Makefile (tests): Add bug24.
20670 * stdio-common/bug24.c: New file.
20671
a101b025
AJ
206722011-08-19 Andreas Jaeger <aj@suse.de>
20673
20674 [BZ #13114]
20675 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20676 non-existant file when using close-on-exec mode.
20677
c88f1766
UD
206782011-08-20 Ulrich Drepper <drepper@gmail.com>
20679
0276a718
UD
20680 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20681 the very first instruction.
20682
c88f1766
UD
20683 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20684 the CFI state in the end.
20685 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20686 inclusion of dl-trampoline.h.
20687 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20688
51ccffa0
AS
206892011-08-19 Andreas Schwab <schwab@redhat.com>
20690
94d7165f
AS
20691 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20692 expectations for long double.
20693
51ccffa0
AS
20694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20695 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20696
fd708658 206972011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
20698
20699 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20700 artificual limit depends upon the system page size.
20701
44f0a71e
UD
207022011-08-17 Ulrich Drepper <drepper@gmail.com>
20703
20704 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20705 * resolv/Makefile: Define CFLAGS-libresolv.
20706
8de79a24
AS
207072011-08-17 Andreas Schwab <schwab@redhat.com>
20708
20709 * nss/makedb.c (compute_tables): Make variables used in nested
20710 function static.
20711
27724598
UD
207122011-08-17 Ulrich Drepper <drepper@gmail.com>
20713
c5305d88
UD
20714 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20715 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20716 if buffer was too small.
20717
27724598
UD
20718 * elf/pldd.c (main): Attach to all threads in the process.
20719 Rewrite /proc handling to use *at functions.
20720
076fe015
UD
207212011-08-16 Ulrich Drepper <drepper@gmail.com>
20722
174baab3
UD
20723 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20724 specifies first scope to show.
20725 (dl_open_worker): Update callers. Move printing scope of new
20726 object to before the relocation.
44f0a71e 20727 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
20728 * sysdeps/generic/ldsodefs.h: Update declaration.
20729
076fe015
UD
20730 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20731 string for the scope number.
20732
a60df2c3
UD
207332011-08-14 Ulrich Drepper <drepper@gmail.com>
20734
20735 * nscd/servicescache.c (cache_addserv): Make sure written is always
20736 initialized.
20737
5e4287d1
RM
207382011-08-14 Roland McGrath <roland@hack.frob.com>
20739
85ae0589
RM
20740 * sysdeps/i386/i486/bits/atomic.h
20741 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20742 statement expression, so as to suppress "set but not used" warning.
20743 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20744
69f63097
RM
20745 * string/strncat.c (STRNCAT): Use prototype definition.
20746
675456ef
RM
20747 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20748 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20749 -Iprograms here.
20750 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20751 (localedef-modules): Add localedef.
20752 (locale-modules): Add locale.
20753
5e4287d1
RM
20754 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20755 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20756 to avoid a warning.
20757
9c96ff23
DM
207582011-08-14 David S. Miller <davem@davemloft.net>
20759
20760 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20761 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20762
f9ddf089
UD
207632011-08-13 Ulrich Drepper <drepper@gmail.com>
20764
44f0a71e 20765 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
20766 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20767 * elf/rtld.c (dl_main): Set l_name of vDSO.
20768 Call _dl_show_scope when DL_DEBUG_SCOPES.
20769 (process_dl_debug): Recognize scopes flag and also set it for all.
20770 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20771 Declare _dl_show_scope.
20772
1dc27704
UD
20773 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20774 (do_dlopen): Pass caller_dlopen to dl_open.
20775 (__libc_dlopen_mode): Initialize caller_dlopen.
20776
f9ddf089
UD
20777 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20778 of libc. Make tolower call locale-independent. Optimize a bit by
20779 using isdigit instead of isalnum.
20780 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20781
9ac533d3
UD
207822011-08-12 Ulrich Drepper <drepper@gmail.com>
20783
20784 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20785 was a dependency or dynamically loaded.
20786
89edf2e9
UD
207872011-08-11 Ulrich Drepper <drepper@gmail.com>
20788
8e999d29
UD
20789 * intl/l10nflist.c: Allow architecture-specific pop function.
20790 * sysdeps/x86_64/l10nflist.c: New file.
20791
89edf2e9
UD
20792 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20793 classification.
20794
14d96785
AS
207952011-08-10 Andreas Schwab <schwab@redhat.com>
20796
20797 * include/dirent.h: Add libc_hidden_proto for scandirat and
20798 scandirat64. Don't declare __scandirat64.
20799 * dirent/scandirat.c: Add libc_hidden_def.
20800 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20801 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20802
6761ac04
DM
208032011-08-10 David S. Miller <davem@davemloft.net>
20804
20805 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20806 enum.
20807 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20808 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20809 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20810
c55fbd1e
UD
208112011-08-09 Ulrich Drepper <drepper@gmail.com>
20812
20813 * Versions.def [libc]: Add GLIBC_2.15.
20814 * dirent/Makefile (routines): Add scandirat and scandirat64.
20815 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20816 GLIBC_2.15.
20817 * dirent/dirent.h: Declare scandirat and scandirat64.
20818 * dirent/scandirat.c: New file.
20819 * dirent/scandirat64.c: New file.
20820 * sysdeps/wordsize-64/scandirat.c: New file.
20821 * sysdeps/wordsize-64/scandirat64.c: New file.
20822 * dirent/opendir.c: Define opendirat.
20823 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20824 using scandirat.
20825 * dirent/scandir64.c: Adjust for scandir.c change.
20826 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20827 __scandirat64, and __scandir_cancel_handler.
20828 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20829 additional parameter and use openat instead of open (outside of ld.so).
20830 Add new __opendir as wrapper around __opendirat.
20831 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20832 here without requiring old scandirat implementation.
20833
879165f2
UD
208342011-08-08 Ulrich Drepper <drepper@gmail.com>
20835
20836 * dirent/scandir.c (cancel_handler): Renamed to
20837 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20838 defined. Adjust users.
20839 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20840 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20841
cb7e923b
UD
208422011-08-04 Ulrich Drepper <drepper@gmail.com>
20843
16292edd
UD
20844 * string/test-string.h (IMPL): Use __STRING to expand name and then
20845 stringify it.
20846
cb7e923b
UD
20847 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20848 of cleanups.
20849
cff82933
LD
208502011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20851
20852 * string/Makefile: Update.
20853 (strop-tests): Append strncat.
20854 * string/test-wcscmp.c: New file.
20855 New comprehensive test for wcscmp.
20856 * string/test-strcmp.c: Update.
20857 (WIDE): New define.
20858
9be9bfcc
AS
208592011-07-22 Andreas Schwab <schwab@redhat.com>
20860
20861 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20862 line.
20863
2e96f1c7
AS
208642011-07-26 Andreas Schwab <schwab@redhat.com>
20865
20866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20867 encoding to ACE if AI_IDN.
20868
85188888
JJ
208692011-08-01 Jakub Jelinek <jakub@redhat.com>
20870
20871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20872 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20873
5fa16e9b
LD
208742011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20875
20876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20877 Fix overflow bug in strncat.
20878 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20879
20880 * string/test-strncat.c: Update.
20881 Add new tests for checking overflow bugs.
20882
208832011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20884
20885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20886 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20887 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20888 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20889 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20890 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20891 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20892 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20893 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20894
20895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20896 (USE_AS_STRCAT): Define.
20897 Add strcat and strncat support.
20898 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20899
8c1a459f
AS
209002011-07-25 Andreas Schwab <schwab@redhat.com>
20901
20902 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20903 __n bigger than INT_MAX+1.
20904 (__strncmp_g): Likewise.
20905
bba33c28
UD
209062011-07-23 Ulrich Drepper <drepper@gmail.com>
20907
798be72d
UD
20908 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20909 * libio/stido.h: Likewise.
20910
8accd4dc
UD
20911 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20912 (AF_NFC): Define.
20913 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20914 (AF_NFC): Define.
20915
cbff0d96
UD
20916 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20917 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20918 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20919 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20920 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20921
9191c04a
UD
20922 [BZ #13021]
20923 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20924 installed.
20925
bba33c28
UD
20926 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20927 typo.
20928 (_dl_x86_64_save_sse): Likewise.
20929
90f139dd
UD
209302011-07-22 Ulrich Drepper <drepper@gmail.com>
20931
1aae088a
UD
20932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20933 OSXSAVE.
20934 (_dl_x86_64_save_sse): Likewise.
20935
8e2045f5
UD
20936 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20937
90f139dd
UD
20938 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20939
1d002f25
AS
209402011-07-21 Andreas Schwab <schwab@redhat.com>
20941
20942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20943 change.
20944 (_dl_x86_64_save_sse): Use correct AVX check.
20945
21137f89
UD
209462011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20947
20948 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20949 bug in strncpy/strncat.
20950 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20951
a65c0b7a
UD
209522011-07-21 Ulrich Drepper <drepper@gmail.com>
20953
20954 * string/tester.c (test_strcat): Add tests for different alignments
20955 of source and destination.
20956 (test_strncat): Likewise.
20957
6986b98a
UD
209582011-07-20 Ulrich Drepper <drepper@gmail.com>
20959
90bb2039
UD
20960 [BZ #12852]
20961 * posix/glob.c (glob): Check passed in values before using them in
20962 expressions to avoid some overflows.
20963 (glob_in_dir): Likewise.
20964
5644ef54
UD
20965 [BZ #13007]
20966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20967 check for AVX enablement so that we don't crash with old kernels and
20968 new hardware.
20969 * elf/tst-audit4.c: Add same checks here.
20970 * elf/tst-audit6.c: Likewise.
20971
20972 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 20973
bfc9dc9b
AS
209742011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20975
20976 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20977
702e64bb
UD
209782011-07-20 Ulrich Drepper <drepper@gmail.com>
20979
20980 * po/cs.po: Update from translation team.
20981 * po/bg.po: Likewise.
20982
295e904f
MP
209832011-07-12 Marek Polacek <mpolacek@redhat.com>
20984
20985 * misc/sys/cdefs.h: Add support for const attribute.
20986 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20987 to gnu_dev_{major,minor,makedev} functions.
20988
3ff94596
MP
209892011-07-20 Marek Polacek <mpolacek@redhat.com>
20990
20991 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20992
28b59fca
AS
209932011-07-20 Andreas Schwab <schwab@redhat.com>
20994
20995 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20996 strlen results.
20997
19df733e
AK
209982011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20999
21000 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21001 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
21002 register in order to avoid conflicts with the soft frame pointer
21003 being held in r11 when necessary.
21004 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21005 (INTERNAL_VSYSCALL_NCS): Likewise.
21006
c8835729
MP
210072011-07-14 Marek Polacek <mpolacek@redhat.com>
21008
21009 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
21010 * elf/dl-fini.c (_dl_fini): Adjust caller.
21011 * elf/dl-close.c (_dl_close_worker): Likewise.
21012 * sysdeps/generic/ldsodefs.h: Adjust declaration.
21013
b902330c
MP
210142011-07-15 Marek Polacek <mpolacek@redhat.com>
21015
8991e135
MP
21016 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
21017 "aux_cache->nlibs < 0".
21018
b902330c
MP
21019 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
21020 in the reload-count case.
21021
99710781
LD
210222011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21023
21024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21025 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
21026 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
21027 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
21028 * sysdeps/x86_64/multiarch/strcat.S: New file.
21029 * sysdeps/x86_64/multiarch/strncat.S: New file.
21030 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
21031 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
21032 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
21033 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
21034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
21035 (USE_AS_STRCAT): Define.
21036 Add strcat and strncat support.
21037 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
21038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21039 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
21040 * string/strncat.c: Update.
21041 (USE_AS_STRNCAT): Define.
21042 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21043 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
21044 and i7.
21045 * sysdeps/x86_64/multiarch/init-arch.h
21046 (bit_Prefer_PMINUB_for_stringop): New.
21047 (index_Prefer_PMINUB_for_stringop): Likewise.
21048 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
21049 bit_Prefer_PMINUB_for_stringop.
21050
7dc6bd90
UD
210512011-07-19 Ulrich Drepper <drepper@gmail.com>
21052
21053 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
21054 buffer64.
21055 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
21056 of casting of buffer.
21057 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
21058 buffer32 and buffer64.
21059 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
21060 writes instead of casting of buffer.
21061 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
21062 buffer32.
21063 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
21064 casting of buffer.
21065
e0e72284
AS
210662011-07-19 Andreas Schwab <schwab@redhat.com>
21067
21068 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
21069
feb1eb0b
UD
210702011-07-19 Ulrich Drepper <drepper@gmail.com>
21071
21072 * nscd/nscd.c (termination_handler): Don't do anything for a database
21073 if it has not yet been initialized.
21074
298711ff
UD
210752011-07-18 Ulrich Drepper <drepper@gmail.com>
21076
21077 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21078
210792011-07-15 Marek Polacek <mpolacek@redhat.com>
21080
21081 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
21082
f9d68389
UD
210832011-07-18 Ulrich Drepper <drepper@gmail.com>
21084
21085 * po/nl.po: Update from translation team.
21086 * po/sv.po: Likewise.
21087
db290cf5
RM
210882011-07-16 Roland McGrath <roland@hack.frob.com>
21089
21090 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
21091 now disallowed by GCC.
5c550700 21092
fd5e21c7
RM
21093 * configure.in (use-default-link): Default to yes if a test -shared
21094 link meets our qualifications.
21095 * configure: Regenerated.
21096
5c550700
RM
21097 * config.make.in (output-format): New variable.
21098 * configure.in: Check for ld --print-output-format support.
21099 * configure: Regenerated.
21100 * Makerules ($(common-objpfx)format.lds)
21101 [$(output-format) != unknown]: Just use $(output-format),
21102 instead of the linker-script munging.
21103
9fa2c032
RM
211042011-07-14 Roland McGrath <roland@hack.frob.com>
21105
a6928d51
RM
21106 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
21107 of $(common-objpfx)shlib.lds.
21108 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
21109
661607b3
RM
21110 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
21111 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
21112
9fa2c032
RM
21113 * configure.in (-z relro check): Adjust test code to add a large
21114 writable data section after it.
21115 * configure: Regenerated.
21116
defe9061
RM
211172011-07-11 Roland McGrath <roland@hack.frob.com>
21118
21119 * configure.in (-z relro check): Fix test code to make the variable
21120 truly const.
21121 * configure: Regenerated.
21122
319b9ad4
UD
211232011-07-11 Ulrich Drepper <drepper@gmail.com>
21124
21125 * nscd/nscd.h (struct traced_file): Define.
21126 (struct database_dyn): Remove inotify_descr, reset_res, and filename
21127 elements. Add traced_files.
21128 (inotify_fd): Declare.
21129 (register_traced_file): Declare.
21130 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
21131 (inotify_fd): Export.
21132 (resolv_conf_descr): Remove.
21133 (nscd_init): Move inotify descriptor creation to main.
21134 Don't register files for notification here.
21135 (register_traced_file): New function.
21136 (invalidate_cache): Don't use reset_res to determine whether to call
21137 res_init, go through the list of registered files.
21138 (main_loop_poll): The inotify descriptors are now stored in the
21139 structures for the traced files.
21140 (main_loop_epoll): Likewise
21141 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
21142 to __nss_disable_nscd.
21143 * nscd/cache.c (prune_cache): There is no single inotify descriptor
21144 for a database anymore. Check the records for all the registered
21145 files instead.
21146 * nss/Makefile (libnss_files-routines): Add files-init.
21147 (libnss_db-routines): Add db-init.
21148 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
21149 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
21150 * nss/nss_db/db-init.c: New file.
21151 * nss/nss_files/files-init.c: New file.
21152 * nss/nsswitch.c (nss_load_library): New function. Broken out of
21153 __nss_lookup_function.
21154 (__nss_lookup_function): Call nss_load_library.
21155 (nss_load_all_libraries): New function.
21156 (__nss_disable_nscd): Take parameter with callback function for files
21157 to register. Set is_nscd. Load all the DSOs for the NSS modules
21158 used for the cached services.
21159 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
21160 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
21161 options for features to all the files in nscd.
21162
21163 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
21164
23bee3e8
RM
211652011-07-10 Roland McGrath <roland@hack.frob.com>
21166
21167 * csu/elf-init.c (__libc_csu_init): Comment typo.
21168
46a5b7f0
UD
211692011-07-09 Ulrich Drepper <drepper@gmail.com>
21170
21171 * po/pl.po: Update from translation team.
21172 * po/ja.po: Likewise.
21173 * po/ru.po: Likewise.
21174 * po/ko.po: Likewise.
21175 * po/fr.po: Likewise.
21176
d30cf5bb
RM
211772011-07-09 Roland McGrath <roland@hack.frob.com>
21178
113ddea4
RM
21179 * configure.in (.ctors/.dtors header and trailer check):
21180 Use an empirical test on a built program.
21181 * configure: Regenerated.
21182
574920b4
RM
21183 * configure.in (-z relro check): Use an empirical test on a built DSO.
21184 Detect, but do not require, on ia64.
21185 * configure: Regenerated.
21186
d30cf5bb
RM
21187 * configure.in (READELF): Find it with AC_CHECK_TOOL.
21188 Update tests that use readelf to use $READELF instead.
21189 * configure: Regenerated.
21190
8538fdb3
UD
211912011-07-08 Ulrich Drepper <drepper@gmail.com>
21192
21193 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
21194 if the result is not used.
21195
04d08991
AJ
211962011-07-05 Andreas Jaeger <aj@suse.de>
21197
21198 [BZ#9696]
21199 * stdlib/tst-strtod.c: Add testcase.
21200
de283087
AD
212012011-07-07 Ulrich Drepper <drepper@gmail.com>
21202
4e5f31c8 21203 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 21204 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
21205 The latter has a higher limit. Take additional parameter to pass to
21206 the new function.
21207 (__pathconf): Pass file to __statfs_link_max.
21208 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
21209 __statfs_link_max.
21210 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
21211 __statfs_link_max.
21212
de283087
AD
21213 [BZ #12868]
21214 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
21215 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21216 Handle Lustre.
21217 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
21218 (__statfs_filesize_max): Likewise.
21219 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
21220
c75fa153
AJ
212212011-07-05 Andreas Jaeger <aj@suse.de>
21222
21223 * resolv/res_comp.c (dn_skipname): Remove unused variable.
21224
1a544854
UD
212252011-07-06 Marek Polacek <mpolacek@redhat.com>
21226
21227 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
21228 `status' variable.
21229 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
21230 Likewise.
21231
6f0eec67
UD
212322011-07-04 H.J. Lu <hongjiu.lu@intel.com>
21233
21234 * Makefile (strop-tests): Add strncat.
21235 * string/test-strncat.c: New file.
21236
aae30307
UD
212372011-06-30 Marek Polacek <mpolacek@redhat.com>
21238
21239 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
21240
c0cfb5eb
UD
212412011-06-21 Andreas Jaeger <aj@suse.de>
21242
21243 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
21244 Copy rule from iconvdata/Makefile.
21245
01636b21
UD
212462011-07-06 Ulrich Drepper <drepper@gmail.com>
21247
21248 [BZ #12922]
21249 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
21250 but no long options are defined, just return 'W'.
21251
9895c8bc
UD
212522011-06-22 Marek Polacek <mpolacek@redhat.com>
21253
21254 [BZ #9696]
21255 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
21256
5d4cf042
UD
212572011-07-06 Ulrich Drepper <drepper@gmail.com>
21258
21259 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
21260 netgroups to read.
960e5535 21261 (innetgr): Likewise.
5d4cf042 21262
751eb97e
RM
212632011-07-05 Roland McGrath <roland@hack.frob.com>
21264
21265 * config.make.in (install_root): Default to $(DESTDIR).
21266
f15f1e45
UD
212672011-07-05 Ulrich Drepper <drepper@gmail.com>
21268
21269 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
21270
4e34ac6a
RM
212712011-07-02 Roland McGrath <roland@hack.frob.com>
21272
5e9b6af4
RM
21273 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
21274
84f9ea0f
RM
21275 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
21276 containing directory rather than embedding absolute directory names.
21277
ea5ee9f7
RM
21278 * scripts/check-local-headers.sh: Rewritten using awk.
21279 Match by word, not by line. Print error messages for matches.
21280 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
21281
1b74661a
RM
21282 * Makerules [shlib-lds-flags empty]:
21283 ($(common-objpfx)libc_pic.opts): New target.
21284 ($(common-objpfx)libc_pic.os.clean): New target.
21285 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
21286
21287 * config.make.in (OBJCOPY): New variable.
21288 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
21289 * configure: Regenerated.
21290
f781ef40
RM
21291 * config.make.in (use-default-link): New variable.
21292 * configure.in (use_default_link): Grok --with-default-link to set it.
21293 * configure: Regenerated.
21294 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
21295 (shlib-lds, shlib-lds-flags): Define to empty.
21296
2d4fa81e
RM
21297 * Makerules (shlib-lds): New variable.
21298 (shlib-lds-flags): New variable.
21299 (build-shlib, build-moduile, build-module-asneeded): Use it.
21300 ($(common-objpfx)libc.so): Use $(shlib-lds).
21301 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
21302 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
21303
31fffa6b
RM
21304 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
21305 DT_FLAGS/DT_FLAGS_1 with zero flags.
21306
4e34ac6a
RM
21307 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
21308 linker script munging.
21309
fcfc776b
UD
213102011-07-02 Ulrich Drepper <drepper@gmail.com>
21311
21312 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
21313 as 128-bit value.
21314 * crypt/sha512.c (sha512_process_block): Perform total addition using
21315 128-bit if possible.
21316 (__sha512_finish_ctx): Likewise.
21317 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
21318 as 64-bit value.
21319 * crypt/sha256.c (SWAP64): Define.
21320 (sha256_process_block): Perform total addition using 64-bit if
21321 possible.
21322 (__sha256_finish_ctx): Likewise.
21323
99231d9a
UD
213242011-07-01 Ulrich Drepper <drepper@gmail.com>
21325
21326 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
21327 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21328 * nscd/hstcache.c (cache_addhst): Likewise.
21329 * nscd/grpcache.c (cache_addgr): Likewise.
21330 * nscd/aicache.c (addhstaiX): Likewise
21331 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
21332
445b4a53
TK
213332011-07-01 Thorsten Kukuk <kukuk@suse.de>
21334
21335 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
21336 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21337 * nscd/hstcache.c (cache_addhst): Likewise.
21338 * nscd/grpcache.c (cache_addgr): Likewise.
21339 * nscd/aicache.c (addhstaiX): Likewise
21340
6d4d8e8e
AS
213412011-07-01 Andreas Schwab <schwab@redhat.com>
21342
21343 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
21344 domain only when needed.
21345
89f654c5
AS
213462011-06-30 Andreas Schwab <schwab@redhat.com>
21347
21348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
21349 is always restored.
21350
cf3b23ff
UD
213512011-06-29 Ulrich Drepper <drepper@gmail.com>
21352
21353 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
21354 are re-adding the entry.
21355 * nscd/servicescache.c (cache_addserv): Likewise.
21356
751626f9
AJ
213572011-06-30 Aurelien Jarno <aurelien@aurel32.net>
21358
21359 * sysdeps/generic/dl-irel.h: fix protection against multiple
21360 inclusions.
21361 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
21362
9113ea1f
UD
213632011-06-28 Ulrich Drepper <drepper@gmail.com>
21364
5c0b8d90
UD
21365 [BZ #12935]
21366 * malloc/memusage.sh: Fix quoting in message.
21367 * debug/xtrace.sh: Likewise.
21368
9113ea1f
UD
21369 * configure.in: Remove support for --experimental-malloc option, make
21370 it the default.
21371 * config.make.in: Likewise.
21372 * malloc/Makefile: Likewise.
21373
a4172181
AS
213742011-06-27 Andreas Schwab <schwab@redhat.com>
21375
21376 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
21377 two-byte characters.
21378
78a7eee7
RM
213792011-06-27 Roland McGrath <roland@hack.frob.com>
21380
62bede13
RM
21381 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
21382 AC_CACHE_CHECK invocation.
21383 * configure: Regenerated.
21384
78a7eee7
RM
21385 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
21386
5ce33a62
UD
213872011-06-27 Ulrich Drepper <drepper@gmail.com>
21388
034807a9
UD
21389 [BZ #12350]
21390 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
21391 bit from old_res_options.
21392
4902da17
UD
21393 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
21394
5ce33a62
UD
21395 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
21396 value type for setfct.
21397
c2344f56
L
213982011-06-23 H.J. Lu <hongjiu.lu@intel.com>
21399
21400 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21401 __gettimeofday instead of gettimeofday.
21402
68468076
UD
214032011-06-26 Ulrich Drepper <drepper@gmail.com>
21404
21405 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
21406
acb0d739
L
214072011-06-24 H.J. Lu <hongjiu.lu@intel.com>
21408
21409 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
21410
21411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
21412 info.
21413
8912479f
L
214142011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21415
21416 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21417 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21418 strcpy-sse2-unaligned strncpy-sse2-unaligned
21419 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
21420 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
21421 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
21422 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
21423 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
21424 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
21425 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
21426 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
21427 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
21428 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
21429 (STRCPY): Support SSE2 and SSSE3 versions.
21430
d5495a11
UD
214312011-06-24 Ulrich Drepper <drepper@gmail.com>
21432
21433 [BZ #12874]
21434 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
21435 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
21436 kernels which artificially limit size of requests.
21437
0b1cbaae
L
214382011-06-22 H.J. Lu <hongjiu.lu@intel.com>
21439
21440 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21441 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
21442 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
21443 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
21444 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
21445 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
21446 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
21447 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
21448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
21449 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
21450 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
21451 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
21452 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
21453 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
21454 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
21455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21456 Enable unaligned load optimization for Intel Core i3, i5 and i7
21457 processors.
21458 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
21459 Define.
21460 (index_Fast_Unaligned_Load): Define.
21461 (HAS_FAST_UNALIGNED_LOAD): Define.
21462
07f494a0
MP
214632011-06-23 Marek Polacek <mpolacek@redhat.com>
21464
21465 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
21466
fa3fc0fe
UD
214672011-06-22 Ulrich Drepper <drepper@gmail.com>
21468
21469 [BZ #12907]
21470 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
21471 until it is clear that the information is realy needed.
21472 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
21473
e12df166
AS
214742011-06-22 Andreas Schwab <schwab@redhat.com>
21475
21476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
21477
852eb34d
UD
214782011-06-22 Ulrich Drepper <drepper@gmail.com>
21479
84e2a551
UD
21480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
21481 /sys/devices/system/cpu/online if it is usable.
21482
852eb34d
UD
21483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
21484 reading the information from the /proc filesystem to once a second.
21485
6e502e19
UD
214862011-06-21 Andreas Jaeger <aj@suse.de>
21487
21488 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
21489 NULL after inclusion of kernel headers.
21490
75d39ff2
UD
214912011-06-21 Ulrich Drepper <drepper@gmail.com>
21492
51f9aa6a
UD
21493 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
21494 calls to internal_setent.
21495
c0244a9d
UD
21496 [BZ #12885]
21497 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
21498 addresses using gethostbyname4_r ignore IPv4 addresses.
21499
c5e3c2ae
UD
21500 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
21501 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
21502
75d39ff2
UD
21503 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
21504
42675c6f
DM
215052011-06-20 David S. Miller <davem@davemloft.net>
21506
21507 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
21508 inclusions.
21509 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
21510
21511 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
21512 (elf_irel): Use it.
21513 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
21514 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
21515 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
21516 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
21517 * sysdeps/x86_64/dl-irel.h: Likewise.
21518
21519 * elf/dl-runtime.c: Use elf_ifunc_invoke.
21520 * elf/dl-sym.c: Likewise.
21521
57912a71
UD
215222011-06-15 Ulrich Drepper <drepper@gmail.com>
21523
21524 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
21525 need to dereference resplen2.
21526
ee22793d
AS
215272011-06-14 Andreas Schwab <schwab@redhat.com>
21528
21529 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
21530
a9e836b0
UD
215312011-06-15 Ulrich Drepper <drepper@gmail.com>
21532
77fb9117
UD
21533 * Makeconfig: Define vardbdir and inst_vardbdir.
21534 * nss/Makefile: Add rules to install db-Makefile.
21535
40c1b22c
UD
21536 * nss/nss_db/db-XXX.c: Cleanup.
21537
9f2da732
UD
21538 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
21539 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
21540 GLIBC_PRIVATE.
21541 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
21542 * nss/makedb.c: Implement -g option to specify that value strings
21543 are generated and should not be added to table iterated over for
21544 get*ent calls.
21545 * nss/nss_db/db-initgroups.c: New file.
21546
82e9a1f7
UD
21547 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21548 interface.
21549
c41af17e
UD
21550 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21551 (internal_getgrouplist): Adjust to name change.
21552 Update use_initgroups_entry if this is not the first call.
21553 * nss/databases.def: Add initgroups entry.
21554
a9e836b0
UD
21555 * nss/makedb.c (compute_tables): Check result of multiple hash table
21556 sizes to minimize maximum chain length.
21557
2666d441
UD
215582011-06-14 Ulrich Drepper <drepper@gmail.com>
21559
21560 * Versions.def: Add entry for libnss_db.
21561 * shlib-versions: Likewise.
21562 * nss/Makefile: Add rules to build libnss_db.
21563 * nss/Versions: Add libnss_db information. Organize libnss_files
21564 entries better.
21565 * nss/db-Makefile: Add gshadow support. Change rules for the new
21566 makedb progra. Some minor improvements to generate smaller files.
21567 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21568 here from...
21569 * nss/makedb.c: ...here.
21570 Improve database format to be smaller and require less memory at
21571 runtime.
21572 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21573 db anymore.
21574 * nss/nss_db/db-netgrp.c: Likewise.
21575 * nss/nss_db/db-open.c: Likewise.
21576 * nss/nss_files/flies-XXX.x: Adjust comments.
21577 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21578 * nss/nss_files/files-grp.c: Likewise.
21579 * nss/nss_files/files-hosts.c: Likewise.
21580 * nss/nss_files/files-network.c: Likewise.
21581 * nss/nss_files/files-proto.c: Likewise.
21582 * nss/nss_files/files-pwd.c: Likewise.
21583 * nss/nss_files/files-rpc.c: Likewise.
21584 * nss/nss_files/files-service.c: Likewise.
21585 * nss/nss_files/files-sgrp.c: Likewise.
21586 * nss/nss_files/files-spwd.c: Likewise.
21587 * nss/nss_db/db-alias.c: Removed.
21588 * nss/nss_db/dummy-db.h: Removed.
21589
9ee76b5a
UD
215902011-06-02 Ulrich Drepper <drepper@gmail.com>
21591
21592 * nss/makedb.c: Rewritten to not use database library.
21593 * nss/Makefile: Update to build new makedb program.
21594
c71ca1f8
AJ
215952011-06-14 Andreas Jaeger <aj@suse.de>
21596
21597 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21598 memset declaration.
21599
3154bfb8
UD
216002011-06-10 Andreas Schwab <schwab@redhat.com>
21601
21602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21603 tmpbuf.
21604
b350afab
RM
216052011-06-10 Roland McGrath <roland@hack.frob.com>
21606
decd4e50
RM
21607 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21608 * elf/Makefile ($(objpfx)ld.so): Likewise.
21609
5615eaf2
RM
21610 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21611 Don't list ld.so twice in dependencies.
21612
21613 * posix/bug-regex31.c: Include <stdlib.h>.
21614
21615 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21616
21617 * nis/nss_compat/compat-spwd.c
21618 (getspent_next_nss_netgr): Remove unused variable.
21619 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21620
21621 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21622 nonmembers" output to use the right array.
21623
21624 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21625
21626 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21627
21628 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21629 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21630 * catgets/gencat.c (read_input_file): Likewise.
21631 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21632
21633 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21634 variable definition inside #if's controlling its use.
21635
21636 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21637
21638 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21639
21640 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21641
21642 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21643 unreachable code.
21644
21645 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21646
b68e08db
RM
21647 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21648 * configure: Regenerated.
21649
b350afab
RM
21650 * Makerules: Revert last change.
21651 * elf/Makefile: Likewise.
21652
28368601
RM
216532011-06-09 Roland McGrath <roland@hack.frob.com>
21654
21655 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21656 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21657 (reloc-link): Likewise.
21658
11988f8f
UD
216592011-06-09 Ulrich Drepper <drepper@gmail.com>
21660
21661 * elf/Makefile: Add rules to build pldd.
21662 * elf/pldd.c: New file.
21663 * elf/pldd-xx.c: New file.
21664
e80fab37
UD
216652011-06-07 Ulrich Drepper <drepper@gmail.com>
21666
21667 * version.h: Update for 2.15 development version.
21668
9b849836
DM
216692011-06-07 David S. Miller <davem@davemloft.net>
21670
21671 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21672 ifuncs.
21673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21674 elf_machine_lazy_rel): Likewise.
21675 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21677 elf_machine_lazy_rel): Likewise.
21678 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21679 dl_hwcap via passed in argument.
21680 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21681 Likewise.
21682
5a31b283
AK
216832011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21684
21685 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21686
069e52f8
RM
216872011-06-06 Roland McGrath <roland@hack.frob.com>
21688
21689 [BZ #12849]
21690 * manual/fdl-1.1.texi: New file, verbatim from:
21691 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21692 * manual/lgpl-2.1.texi: New file, verbatim from:
21693 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21694 * manual/Makefile (licenses): New variable, list those new file names.
21695 (texis): Use it.
21696 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21697
21698 * manual/fdl.texi: File removed.
21699 * manual/lesser.texi: File removed.
21700 * manual/libc.texinfo (Copying, Documentation License):
21701 Use new @include file names, put @appendix directive before @include.
21702
f16846a5
JJ
217032011-06-04 Jakub Jelinek <jakub@redhat.com>
21704
21705 [BZ #12841]
21706 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21707 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21708 (mq_open): Add __NTH.
21709
3d29045b
L
217102011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21711
21712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21713 Assume Intel Core i3/i5/i7 processor if AVX is available.
21714
8c297311
UD
217152011-05-31 Ulrich Drepper <drepper@gmail.com>
21716
21717 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21718 typo.
21719
c8fc0c91
UD
217202011-05-31 Andreas Schwab <schwab@redhat.com>
21721
21722 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21723 memory. Use alloca_account. Fix memory leak when retrying.
21724
5b27a807
UD
217252011-05-31 Ulrich Drepper <drepper@gmail.com>
21726
356f8bc6
UD
21727 * version.h (RELEASE): Bump for 2.14 release.
21728 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21729
5b27a807
UD
21730 * config.make.in (RANLIB): Remove entry.
21731
01f16ab0
UD
217322011-05-30 Ulrich Drepper <drepper@gmail.com>
21733
41fce8bd
UD
21734 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21735 (libc.pot): Work around missing support for .ksh extension in xgettext.
21736
4769ae77
UD
21737 [BZ #12684]
21738 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21739 if both request failed.
21740 (send_dg): In case of server errors clear resplen or *resplen2.
21741
6b1e7d19
UD
21742 [BZ #12454]
21743 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21744 when there are multiple maps.
21745 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21746 (_dl_fini): Remove test here.
21747
01f16ab0
UD
21748 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21749
b1ebd700
UD
217502011-05-29 Ulrich Drepper <drepper@gmail.com>
21751
7ae22829
UD
21752 [BZ #12350]
21753 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21754 bit from old_res_options.
21755 (gaih_inet): Likewise.
21756
553149f6 21757 [BZ #11099]
18a84741 21758 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
21759 as signed.
21760
652ffab1
UD
21761 * resolv/res_init.c (res_setoptions): Make the code more compact.
21762
16985fd0
UD
21763 [BZ #11558]
21764 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21765 set RES_USEVC.
21766
0464f746
UD
21767 [BZ #11634]
21768 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21769
7d17596c
UD
21770 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21771
cf6bbbd7
UD
21772 [BZ #11781]
21773 * malloc/malloc.h: Declare malloc hook variables as volatile.
21774
13f1ab36
UD
21775 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21776 in last patch.
21777
b1ebd700
UD
21778 [BZ #11799]
21779 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 21780 raise in the comment.
80e2212d
UD
21781 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21783 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 21784
ce67228d
UD
217852011-05-28 Ulrich Drepper <drepper@gmail.com>
21786
8887a920
UD
21787 [BZ #12811]
21788 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21789 grow the buffers more if it already has to be sufficient.
21790 (build_wcs_upper_buffer): Likewise.
21791 * posix/regexec.c (check_matching): Likewise.
21792 (clean_state_log_if_needed): Likewise.
21793 (extend_buffers): Don't enlarge buffers beyond size of the input
21794 buffer.
21795 Patches mostly by Emil Wojak <emil@wojak.eu>.
21796 * posix/bug-regex32.c: New file.
21797 * posix/Makefile (tests): Add bug-regex32.
21798
4f031072
UD
21799 * locale/findlocale.c (_nl_find_locale): Return right away if
21800 _nl_explode_name failed.
21801 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21802
d0478f0c
UD
21803 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21804
de81b246
UD
21805 * debug/xtrace.sh: Unify messages.
21806 * malloc/memusage.sh: Likewise.
21807
c738465a
UD
21808 [BZ #12813]
21809 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21810 time symbol from vDSO. Substitute with vsyscall if not available.
21811 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21812 __vdso_time.
21813
f1f929d7
UD
21814 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21815 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21816 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21817 Add sendmmsg and internal_sendmmsg.
21818 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21819 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21820 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21821
ce67228d
UD
21822 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21823 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21824 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21825
e57420c6
UD
218262011-05-27 Ulrich Drepper <drepper@gmail.com>
21827
a8509ca5
UD
21828 [BZ #12813]
21829 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21830 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21831 available.
21832 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21833 __vdso_getcpu.
21834
e57420c6
UD
21835 [BZ #12814]
21836 * iconvdata/Makefile (tests): Add bug-iconv9.
21837 * iconvdata/bug-iconv9.c: New file.
21838
4d07db15
AS
218392011-05-27 Andreas Schwab <schwab@redhat.com>
21840
21841 [BZ #12814]
21842 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21843
ea486f69
JJ
218442011-05-25 Jakub Jelinek <jakub@redhat.com>
21845
21846 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21847 (struct user_regs_struct): Change intcs field back to cs.
21848
6f038433
UD
218492011-05-25 Ulrich Drepper <drepper@gmail.com>
21850
21851 * po/ja.po: Update from translation team.
21852
67f86a25
UD
218532011-05-23 Ulrich Drepper <drepper@gmail.com>
21854
21855 [BZ #12795]
21856 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21857 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21858
def7fbd6
AS
218592011-05-20 Andreas Schwab <schwab@redhat.com>
21860
21861 * stdlib/longlong.h: Update from GCC.
21862
f50ef8f1
AS
218632011-05-23 Andreas Schwab <schwab@redhat.com>
21864
21865 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21866 parameter name.
21867 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21868 Add parameter name.
21869 (__sysconf): Pass it down.
21870
de7ce8f1
UD
218712011-05-22 Ulrich Drepper <drepper@gmail.com>
21872
f2962a71
UD
21873 [BZ #12671]
21874 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21875 some situations.
21876 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21877 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21878 add in in __libc_use_alloca calls. Adjust callers.
21879 (glob): Use malloc in some situations.
21880
de7ce8f1
UD
21881 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21882 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21883 pltexit.
21884
aec84f53
UD
218852011-05-21 Ulrich Drepper <drepper@gmail.com>
21886
05bb4a68
UD
21887 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21888 and CLOCK_BOOTTIME_ALARM.
21889
7ea72f99
UD
21890 [BZ #12782]
21891 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21892 is returned.
21893
7e4afad5
UD
21894 * string/_strerror.c (__strerror_r): Print negative errors as signed
21895 numbers.
21896
8e211fec
UD
21897 [BZ #12777]
21898 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21899 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21900 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21901
f7d82dc9
UD
21902 * configure.in: Fix typo in redirection and correct removal of test
21903 files in two cases.
21904
cc9e536d
UD
21905 [BZ #12788]
21906 * locale/setlocale.c (new_composite_name): Fix test to check for
21907 identical name of all categories.
21908
aec84f53
UD
21909 [BZ #12792]
21910 * libio/filedoalloc.c (local_isatty): New function.
21911 (_IO_file_doallocate): Use local_isatty.
21912 * stdio-common/perror.c (perror): In case a new stream is used
21913 forward the stream error.
21914 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21915 error flag.
21916
78e64fdc
RT
219172011-05-20 Ulrich Drepper <drepper@gmail.com>
21918
34a9094f
UD
21919 [BZ #11869]
21920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21921 alloca.
21922 * include/alloca.h (extend_alloca_account): Define.
21923
78e64fdc
RT
21924 [BZ #11857]
21925 * posix/regex.h: Fix comments with documentation of user-accessible
21926 fields after compilation and describe correct free'ing of pattern
21927 after re_compile_pattern.
21928 Patch by Reuben Thomas <rrt@sc3d.org>.
21929
457bddfc
RA
219302011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21931
21932 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21933 and -mno-altivec to prevent the compiler from using Altivec and/or
21934 VSX instructions when the corresponding registers are not available.
21935
a4527b51
AS
219362011-05-19 Andreas Schwab <schwab@redhat.com>
21937
21938 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21939
ed690b2f
UD
219402011-05-19 Ulrich Drepper <drepper@gmail.com>
21941
21942 * libio/freopen.c (freopen): Use __dup2, not dup2.
21943 * libio/freopen64.c (freopen64): Likewise.
21944
8db73634
L
219452011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21946
21947 [BZ #12775]
21948 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21949 * math/Makefile (tests): Add test-powl.
21950 (CFLAGS-test-powl.c): Define.
21951 * math/test-powl.c: New file.
21952
0a197a9d
L
219532011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21954
21955 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21956
ee30c380
UD
219572011-05-17 Ulrich Drepper <drepper@gmail.com>
21958
21959 [BZ #11837]
21960 * iconvdata/gb18030.c: Update to GB18020-2005.
21961
6ce75379
UD
219622011-05-16 Ulrich Drepper <drepper@gmail.com>
21963
a4b89fd8
AR
21964 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21965 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21966 Patch by Aharon Robbins <arnold@skeeve.com>.
21967
ea389b12
UD
21968 [BZ #11892]
21969 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21970 on the stack.
21971
68a3f91f
UD
21972 [BZ #11895]
21973 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21974 through underflows.
21975
15cc7dd1
UD
21976 [BZ #12766]
21977 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21978 point to strings before performing equality test for error_one_per_line
21979 mode.
21980
f3799213
UD
21981 [BZ #11697]
21982 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21983
d79a9c94
UD
21984 [BZ #11820]
21985 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21986 (struct user_fpregs_struct): Avoid __uint*_t types.
21987
56e5eb46
UD
21988 [BZ #6420]
21989 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21990 symbol info. Use it instead of calling _dl_addr locally.
21991 (lock_and_info): New function.
21992 (tr_freehook): Call lock_and_info and pass symbol info as additional
21993 parameter to tr_where.
21994 (tr_mallochook): Likewise.
21995 (tr_reallochook): Likewise.
21996 (tr_memalignhook): Likewise.
21997
6ce75379
UD
21998 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21999 used and couldn't be at all thread-safe.
22000
f8a3b5bf
UD
220012011-05-15 Ulrich Drepper <drepper@gmail.com>
22002
94b7cc37
UD
22003 * libio/freopen.c (freopen): Don't close old file descriptor
22004 before the new one is opened. Instead dup the new file descriptor
22005 to the old one after the new stream is created.
22006 * libio/freopen64.c (freopen64): Likewise.
22007 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
22008 * libio/fileops.c (_IO_new_file_close_it): Handle new
22009 _IO_FLAGS2_NOCLOSE flag.
22010 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
22011 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
22012 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
22013 _IO_FLAGS2_NOCLOSE flag.
22014 * include/unistd.h: Add hidden_proto for dup3.
22015 Define __have_dup3.
22016 * io/dup3.c: Define hidden symbol.
22017 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
22018
bd25564e
UD
22019 [BZ #7101]
22020 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
22021 when an incomplete long option is used.
22022 * posix/tst-getopt_long1.c: New file.
22023 * posix/Makefile (tests): Add tst-getopt_long1.
22024
c84cfef4
UD
22025 [BZ #10138]
22026 * scripts/config.guess: Update from autoconf-2.68.
22027 * scripts/config.sub: Likewise.
22028
3b85df27
UD
22029 [BZ #10157]
22030 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
22031 tests into ...
22032 (has_cpuclock): ...this. New function.
22033 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
22034 macro here based on has_cpuclock code.
22035
15a856b1
UD
22036 [BZ #10149]
22037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22038 First byte (not low byte) is now always NUL.
22039 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
22040
05f399e6
UD
22041 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22042 Use non-cancelable interfaces.
22043
10a52685 22044 [BZ #9809]
94ecc67d
UD
22045 * locale/iso-639.def: Add entry for Sorani.
22046
f8a3b5bf
UD
22047 [BZ #11901]
22048 * include/stdlib.h: Move include protection to the right place.
22049 Define abort_msg_s. Declare __abort_msg with it.
22050 * stdlib/abort.c (__abort_msg): Adjust type.
22051 * assert/assert.c (__assert_fail_base): New function. Majority
22052 of code from __assert_fail. Allocate memory for __abort_msg with
22053 mmap.
22054 (__assert_fail): Now call __assert_fail_base.
22055 * assert/assert-perr.c: Remove bulk of implementation. Use
22056 __assert_fail_base.
22057 * include/assert.hL Declare __assert_fail_base.
22058 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
22059 mmap.
22060 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
22061
1af4e298
UD
220622011-05-14 Ulrich Drepper <drepper@gmail.com>
22063
f8a3b5bf 22064 [BZ #11952]
d26dfc60
MG
22065 [BZ #12453]
22066 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
22067 until all modules are registered in the DTV.
22068 * elf/Makefile: Add rules to build and run tst-tls19.
22069 * elf/tst-tls19.c: New file.
22070 * elf/tst-tls19mod1.c: New file.
22071 * elf/tst-tls19mod2.c: New file.
22072 * elf/tst-tls19mod3.c: New file.
22073 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
22074
2fc54d6f
UD
22075 [BZ #12083]
22076 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
22077 correctly.
22078
98d76b46
UD
22079 [BZ #12601]
22080 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
22081 two-byte sequence errors.
22082 * iconvdata/Makefile (tests): Add bug-iconv8.
22083 * iconvdata/bug-iconv8.c: New file.
22084
da3c19ef
UD
22085 [BZ #12626]
22086 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
22087 buf2 definition.
22088
ca408c15
UD
22089 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
22090
d6f67f7d
UD
22091 [BZ #12432]
22092 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
22093 (dummy_getcfa): New function.
22094 (init): Get _Unwind_GetCFA address, use dummy if not found.
22095 (backtrace_helper): In recursion check, also check whether CFA changes.
22096 (__backtrace): Completely initialize arg.
22097
1af4e298 22098 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
22099 storing incomplete byte sequence in state object. Avoid testing for
22100 guaranteed too small input if we know there is enough data available.
1af4e298 22101
da62f81b
AS
221022011-05-11 Andreas Schwab <schwab@redhat.com>
22103
22104 * Makeconfig (+link-pie): Indent.
22105 * Rules (binaries-pie): Define if $(have-fpie) and
22106 $(build-shared).
22107 (binaries-shared): Also filter out $(binaries-pie).
22108 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
22109 * nscd/Makefile (others-pie): Add nscd.
22110 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
22111 ($(objpfx)nscd): Remove command override.
22112 * login/Makefile (others-pie): Add pt_chown.
22113 ($(objpfx)pt_chown): Remove command override.
22114 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
22115 remove command overrides.
22116
fcabc0f8
UD
221172011-05-13 Ulrich Drepper <drepper@gmail.com>
22118
20030ae6
UD
22119 * libio/tst_putwc.c: Fix error messages.
22120
fcabc0f8
UD
22121 [BZ #12724]
22122 * libio/fileops.c (_IO_new_file_close_it): Always flush when
22123 currently writing and seek to current position when not.
22124 * libio/Makefile (tests): Add bug-fclose1.
22125 * libio/bug-fclose1.c: New file.
22126
320a5dc0
PB
221272011-05-12 Ulrich Drepper <drepper@gmail.com>
22128
22129 [BZ #12511]
22130 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
22131 don't set DF_1_NODELETE here.
22132 (do_lookup_x): When entering new entry test for copy relocation
22133 and if necessary set DF_1_NODELETE flag.
22134 * elf/tst-unique4.cc: New file.
22135 * elf/tst-unique4.h: New file.
22136 * elf/tst-unique4lib.cc: New file.
22137 * elf/Makefile: Add rules to build and run tst-unique4.
22138 Patch by Piotr Bury <pbury@goahead.com>.
22139
22836f52
UD
221402011-05-11 Ulrich Drepper <drepper@gmail.com>
22141
f574184a
UD
22142 [BZ #12052]
22143 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
22144
e1fb097f
UD
22145 [BZ #12625]
22146 * misc/mntent_r.c (addmntent): Flush the stream after the output
22147
22836f52
UD
22148 [BZ #12393]
22149 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
22150 (is_trusted_path_normalize): Skip initial colon. Append slash
22151 to empty buffer. Duplicate is_trusted_path code but allow
22152 constructed patch to be prefix.
22153 (is_dst): Allow $ORIGIN followed by /.
22154 (_dl_dst_substitute): Correct clearing of check_for_trusted.
22155 Correct testing of result of is_trusted_path_normalize
22156 (decompose_rpath): Fix warning.
22157
7b3b0b2a
UD
221582011-05-10 Ulrich Drepper <drepper@gmail.com>
22159
22160 [BZ #11257]
22161 * grp/initgroups.c (internal_getgrouplist): When we found the service
22162 list through the initgroups entry in nsswitch.conf do not always
22163 continue on a successful lookup. Don't always use the
eac80ce2 22164 __nss_group_database value if it is set.
7b3b0b2a
UD
22165 * nss/nsswitch.conf (initgroups): Change action for successful db
22166 lookup to continue for compatibility.
22167
2a81eaa5
UD
221682011-05-09 Ulrich Drepper <drepper@gmail.com>
22169
be97a69e
UD
22170 [BZ #11532]
22171 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
22172 and CP774 modules.
22173 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
22174 and CP774 modules.
22175 * iconvdata/tst-tables.sh: Likewise.
22176 * iconvdata/cp770.c: New file.
22177 * iconvdata/cp771.c: New file.
22178 * iconvdata/cp772.c: New file.
22179 * iconvdata/cp773.c: New file.
22180 * iconvdata/cp774.c: New file.
22181 * iconvdata/testdata/CP770: New file.
22182 * iconvdata/testdata/CP770..UTF8: New file.
22183 * iconvdata/testdata/CP771: New file.
22184 * iconvdata/testdata/CP771..UTF8: New file.
22185 * iconvdata/testdata/CP772: New file.
22186 * iconvdata/testdata/CP772..UTF8: New file.
22187 * iconvdata/testdata/CP773: New file.
22188 * iconvdata/testdata/CP773..UTF8: New file.
22189 * iconvdata/testdata/CP774: New file.
22190 * iconvdata/testdata/CP774..UTF8: New file.
22191
22192 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
22193 END CHARMAP line.
22194 * iconvdata/gen-8bit-gap.sh: Likewise.
22195 * iconvdata/gen-8bit.sh: Likewise.
22196
c1e9e399
UD
22197 * locale/iso-639.def: Add ary entry.
22198
24c55fb3 22199 [BZ #11258]
96b4b1b0
UD
22200 * locale/C-translit.h.in: Add U20A1 transliteration.
22201
bdc2f971
KB
22202 [BZ #12178]
22203 * locale/iso-639.def: Add wae entry.
22204 Patch by Kevin Bortis <bortis@translate-wae.ch>.
22205
2952b117
UD
22206 [BZ #12545]
22207 * locale/programs/localedef.c (construct_output_path): Use ssize_t
22208 for n.
22209
2a81eaa5
UD
22210 [BZ #12711]
22211 * locale/C-translit.h.in: Add entry for U20B9.
22212 Patch by pravin.d.s@gmail.com.
22213
28377d1b
UD
222142011-05-08 Ulrich Drepper <drepper@gmail.com>
22215
7fb90fb8
UD
22216 [BZ #12713]
22217 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
22218 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
22219 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
22220 in rtld. Use *stat64.
7fb90fb8 22221 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 22222 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 22223 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
22224 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
22225 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
22226 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
22227 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
22228 __fstatat64 macros.
7fb90fb8
UD
22229 * include/dirent.h: Add libc_hidden_proto for rewinddir.
22230 * dirent/rewinddir.c: Add libc_hidden_def.
22231 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 22232 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 22233
28377d1b
UD
22234 * include/dirent.h (__alloc_dir): Add flags parameter.
22235 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
22236 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
22237 __alloc_dir.
22238 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
22239 from fdopendir if O_CLOEXEC is already set.
22240
66bdbaa4
AM
222412011-03-15 Alan Modra <amodra@gmail.com>
22242
22243 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
22244 l_tls_firstbyte_offset non-zero. Save padding offset in
22245 l_tls_firstbyte_offset for later use.
22246 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
22247 freeing static tls block.
22248
95721191
JN
222492011-03-05 Jonathan Nieder <jrnieder@gmail.com>
22250
22251 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
22252 where #ifdef was intended. The intent is to prevent ARG_MAX from
22253 being defined by the kernel headers.
22254
f87dfb1f
UD
222552011-05-07 Ulrich Drepper <drepper@gmail.com>
22256
22257 [BZ #12734]
22258 * resolv/resolv.h: Define RES_NOTLDQUERY.
22259 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
22260 no-tld-query and set RES_NOTLDQUERY.
22261 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
22262 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
22263 modern BIND to search name as TLD unless forbidden.
22264
47c3cd7a
UD
222652011-05-07 Petr Baudis <pasky@suse.cz>
22266 Ulrich Drepper <drepper@gmail.com>
22267
22268 [BZ #12393]
22269 * elf/dl-load.c (fillin_rpath): Move trusted path check...
22270 (is_trusted_path): ...to here.
c1e9ea35 22271 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 22272 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 22273 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 22274
8a35c912
PP
222752011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22276
22277 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
22278 __BEGIN/__END_DECLS.
22279
acd41f47
UD
222802011-05-06 Ulrich Drepper <drepper@gmail.com>
22281
22282 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
22283 NSS_STATUS_NOTFOUND if no record was found.
22284
597df647
AS
222852011-05-05 Andreas Schwab <schwab@redhat.com>
22286
22287 * sunrpc/Makefile (headers): Add rpc/netdb.h.
22288 (headers-not-in-tirpc): Remove rpc/netdb.h
22289 * resolv/netdb.h: Revert last change.
22290
b9af1301
PP
222912011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22292
22293 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
22294 circular dependency between libgcc.a and libc.a.
22295
4e34d5f5
AS
222962011-05-05 Andreas Schwab <schwab@redhat.com>
22297
22298 * resolv/netdb.h: Don't include <rpc/netdb.h>.
22299 * nis/Makefile: Don't install rpcsvc/*.
22300 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
22301 instead of <rpc/types.h>.
22302 (MAXHOSTNAMELEN): Define.
22303
00ee369c
AS
223042011-05-03 Andreas Schwab <schwab@redhat.com>
22305
22306 * elf/ldconfig.c (add_dir): Don't crash on empty path.
22307
0b592a30
MB
223082011-04-28 Maciej Babinski <mbabinski@google.com>
22309
22310 [BZ #12714]
22311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
22312 gethostbyname4_r when IPv6 results are possible.
22313
6e04cbbe
UD
223142011-05-02 Ulrich Drepper <drepper@gmail.com>
22315
22316 [BZ #12723]
22317 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
22318 _PC_PIPE_BUF handling.
22319
e4ecafe0
BH
223202011-04-30 Bruno Haible <bruno@clisp.org>
22321
22322 [BZ #12717]
22323 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
22324 * resolv/netdb.h (getnameinfo): Change type of flags parameter
22325 to 'int'.
22326 * inet/getnameinfo.c (getnameinfo): Likewise.
22327
125ee683
UD
223282011-04-29 Ulrich Drepper <drepper@gmail.com>
22329
22330 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
22331 to groups setting in database lookup.
22332 * nss/nsswitch.conf: Add initgroups entry.
22333
b722481a
EB
223342011-04-22 Ulrich Drepper <drepper@gmail.com>
22335
22336 [BZ #12685]
22337 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
22338 mode string.
22339 Patch by Eric Blake <eblake@redhat.com>.
22340
4df46dbd
L
223412011-04-20 H.J. Lu <hongjiu.lu@intel.com>
22342
22343 * sunrpc/Makefile (need-export-routines): Add svc_run.
22344 (routines): Remove svc_run.
22345 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
22346 * sunrpc/clnt_perr.c (clnt_perrno): Export.
22347 * sunrpc/svc_run.c (svc_run): Likewise.
22348 * sunrpc/svc_udp.c (svcudp_create): Likewise.
22349
e84142d2
UD
223502011-04-21 Ulrich Drepper <drepper@gmail.com>
22351
22352 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
22353 problem in reallocation in last patch.
22354
877175d8
UD
223552011-04-20 Ulrich Drepper <drepper@gmail.com>
22356
22357 * sunrpc/Makefile: Move inclusion of Rules.
22358
ab8eed78
UD
223592011-04-19 Ulrich Drepper <drepper@gmail.com>
22360
22361 * nss/nss_files/files-initgroups.c: New file.
22362 * nss/Makefile (libnss_files-routines): Add files-initgroups.
22363 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
22364 _nss_files_initgroups_dyn.
22365
e3d8f584
RS
223662011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
22367
22368 * elf/elf.h (R_ARM_IRELATIVE): Define.
22369
af190f45
UD
223702011-04-19 Ulrich Drepper <drepper@gmail.com>
22371
22372 * po/ru.po: Update from translation team.
22373
53cf59ef
UD
223742011-04-17 Ulrich Drepper <drepper@gmail.com>
22375
22376 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
22377 dependencies.
22378
4c559bcd
MF
223792011-02-06 Mike Frysinger <vapier@gentoo.org>
22380
22381 [BZ #12653]
22382 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
22383 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
22384 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22386 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22387
4420675c
AS
223882011-03-28 Andreas Schwab <schwab@linux-m68k.org>
22389
22390 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
22391 differing bytes.
22392 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22393 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22394 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22395
75ea32ab
UD
223962011-04-17 Ulrich Drepper <drepper@gmail.com>
22397
22398 [BZ #12420]
22399 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
22400 storing it.
22401 * stdlib/bug-getcontext.c: New file.
22402 * stdlib/Makefile: Add rules to build and run bug-getcontext.
22403
27390476
AK
224042011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22405
22406 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
22407 instructions into .machine "z9-109".
22408 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
22409 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
22410
10442705
AK
224112011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22412
22413 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
22414 between environment variables and auxiliary vector.
22415
7b57bfe5
UD
224162011-04-16 Ulrich Drepper <drepper@gmail.com>
22417
22418 * Makefile: Add rules to build linkobj/libc.so.
22419 * include/libc-symbols.h: Define libc_hidden_nolink.
22420 * include/rpc/auth.h: Mark functions which are to be hidden.
22421 * include/rpc/auth_des.h: Likewise.
22422 * include/rpc/auth_unix.h: Likewise.
22423 * include/rpc/clnt.h: Likewise.
22424 * include/rpc/des_crypt.h: Likewise.
22425 * include/rpc/key_prot.h: Likewise.
22426 * include/rpc/pmap_clnt.h: Likewise.
22427 * include/rpc/pmap_prot.h: Likewise.
22428 * include/rpc/pmap_rmt.h: Likewise.
22429 * include/rpc/rpc_msg.h: Likewise.
22430 * include/rpc/svc.h: Likewise.
22431 * include/rpc/svc_auth.h: Likewise.
22432 * include/rpc/xdr.h: Likewise.
22433 * nis/Makefile: Link all DSOs against linkobj/libc.so.
22434 * nss/Makefile: Likewise.
22435 * sunrpc/Makefile: Don't install headers. Build library with normal
22436 entry points. Don't build rpcinfo. Link RPC tests appropriately.
22437 * sunrpc/auth_des.c: Hide exported symbols by default, export some
22438 for the compat linking library. Remove use of INTDEF/INTUSE.
22439 * sunrpc/auth_none.c: Likewise.
22440 * sunrpc/auth_unix.c: Likewise.
22441 * sunrpc/authdes_prot.c: Likewise.
22442 * sunrpc/authuxprot.c: Likewise.
22443 * sunrpc/clnt_gen.c: Likewise.
22444 * sunrpc/clnt_perr.c: Likewise.
22445 * sunrpc/clnt_raw.c: Likewise.
22446 * sunrpc/clnt_simp.c: Likewise.
22447 * sunrpc/clnt_tcp.c: Likewise.
22448 * sunrpc/clnt_udp.c: Likewise.
22449 * sunrpc/clnt_unix.c: Likewise.
22450 * sunrpc/des_crypt.c: Likewise.
22451 * sunrpc/des_soft.c: Likewise.
22452 * sunrpc/get_myaddr.c: Likewise.
22453 * sunrpc/key_call.c: Likewise.
22454 * sunrpc/key_prot.c: Likewise.
22455 * sunrpc/netname.c: Likewise.
22456 * sunrpc/pm_getmaps.c: Likewise.
22457 * sunrpc/pm_getport.c: Likewise.
22458 * sunrpc/pmap_clnt.c: Likewise.
22459 * sunrpc/pmap_prot.c: Likewise.
22460 * sunrpc/pmap_prot2.c: Likewise.
22461 * sunrpc/pmap_rmt.c: Likewise.
22462 * sunrpc/publickey.c: Likewise.
22463 * sunrpc/rpc_cmsg.c: Likewise.
22464 * sunrpc/rpc_common.c: Likewise.
22465 * sunrpc/rpc_dtable.c: Likewise.
22466 * sunrpc/rpc_prot.c: Likewise.
22467 * sunrpc/rpc_thread.c: Likewise.
22468 * sunrpc/rtime.c: Likewise.
22469 * sunrpc/svc.c: Likewise.
22470 * sunrpc/svc_auth.c: Likewise.
22471 * sunrpc/svc_authux.c: Likewise.
22472 * sunrpc/svc_raw.c: Likewise.
22473 * sunrpc/svc_run.c: Likewise.
22474 * sunrpc/svc_simple.c: Likewise.
22475 * sunrpc/svc_tcp.c: Likewise.
22476 * sunrpc/svc_udp.c: Likewise.
22477 * sunrpc/svc_unix.c: Likewise.
22478 * sunrpc/svcauth_des.c: Likewise.
22479 * sunrpc/xcrypt.c: Likewise.
22480 * sunrpc/xdr.c: Likewise.
22481 * sunrpc/xdr_array.c: Likewise.
22482 * sunrpc/xdr_float.c: Likewise.
22483 * sunrpc/xdr_intXX_t.c: Likewise.
22484 * sunrpc/xdr_mem.c: Likewise.
22485 * sunrpc/xdr_rec.c: Likewise.
22486 * sunrpc/xdr_ref.c: Likewise.
22487 * sunrpc/xdr_sizeof.c: Likewise.
22488 * sunrpc/xdr_stdio.c: Likewise.
22489
e6c61494
UD
224902011-04-10 Ulrich Drepper <drepper@gmail.com>
22491
22492 [BZ #12650]
22493 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
22494 * sysdeps/ia64/dl-tls.h: Likewise.
22495 * sysdeps/powerpc/dl-tls.h: Likewise.
22496 * sysdeps/s390/dl-tls.h: Likewise.
22497 * sysdeps/sh/dl-tls.h: Likewise.
22498 * sysdeps/sparc/dl-tls.h: Likewise.
22499 * sysdeps/x86_64/dl-tls.h: Likewise.
22500 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
22501
34fe483e
AS
225022011-03-14 Andreas Schwab <schwab@redhat.com>
22503
22504 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
22505 rpath element also skip the following colon.
22506 (expand_dynamic_string_token): Add is_path parameter and pass
22507 down to DL_DST_REQUIRED and _dl_dst_substitute.
22508 (decompose_rpath): Call expand_dynamic_string_token with
22509 non-zero is_path. Ignore empty rpaths.
22510 (_dl_map_object_from_fd): Call expand_dynamic_string_token
22511 with zero is_path.
22512
f12a32e6
AS
225132011-04-08 Andreas Schwab <schwab@linux-m68k.org>
22514
22515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22516 Make cancelable.
22517
38a7d692
UD
225182011-04-09 Ulrich Drepper <drepper@gmail.com>
22519
22520 [BZ #12655]
22521 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
22522 Patch by Filipe David Manana <fdmanana@apache.org>.
22523
e451d22b
AS
225242011-04-07 Andreas Schwab <schwab@redhat.com>
22525
22526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
22527 Maintain aligned stack.
22528 (CHECK_RSP): Remove unused macro.
22529
dedc7c7b
UD
225302011-04-03 Ulrich Drepper <drepper@gmail.com>
22531
22532 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
22533 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
22534
94521213
UD
225352011-04-02 Ulrich Drepper <drepper@gmail.com>
22536
22537 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
22538
8cb700c0 22539 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 22540
0354e355
L
225412011-03-26 H.J. Lu <hongjiu.lu@intel.com>
22542
22543 [BZ #12518]
22544 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22545 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22546 * sysdeps/x86_64/memmove.c: New file.
22547 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22548 (memcpy): Renamed to ...
22549 (__new_memcpy): This.
22550 (memcpy): Provide GLIBC_2_14 memcpy.
22551 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22552 (memcpy): Provide GLIBC_2_2_5 memcpy.
22553
8593482f
UD
225542011-04-01 Ulrich Drepper <drepper@gmail.com>
22555
22556 [BZ #12631]
22557 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22558
81a5726b
AS
225592011-03-30 Andreas Schwab <schwab@redhat.com>
22560
22561 * misc/syncfs.c: New file.
22562 * misc/Makefile (routines): Add syncfs.
22563 * posix/unistd.h: Declare syncfs.
22564 * sysdeps/unix/syscalls.list: Add syncfs.
22565
00e5419f
AS
225662011-04-01 Andreas Schwab <schwab@redhat.com>
22567
22568 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22569 open_by_handle_at.
22570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22573 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22575 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22577
748876bf
UD
225782011-04-01 Ulrich Drepper <drepper@gmail.com>
22579
658e451d
UD
22580 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22582 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22584 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22587
748876bf
UD
22588 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22589 sync_file_range.c with -fexceptions.
22590 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22591 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22592 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22593 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22594 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22595 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22596 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
22597 sync_file_range as cancellation point
22598 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22599 now a wrapper around __call_sync_file_range with cancellation handling.
22600 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22601 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22602 function name to __call_sync_file_range.
22603 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22604 Add call_sync_file_range.
748876bf 22605
6e63d5e1
AS
226062011-04-01 Andreas Schwab <schwab@redhat.com>
22607
22608 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 22609 bits/timex.h.
6e63d5e1 22610
46998f74
UD
226112011-04-01 Ulrich Drepper <drepper@gmail.com>
22612
4c1423ed
UD
22613 * iconv/iconv.h: Fix typo in comment.
22614 * io/fcntl.h: Likewise.
22615 * libio/stdio.h: Likewise.
22616 * posix/spawn.h: Likewise.
22617 * posix/unistd.h: Likewise.
22618 * stdlib/stdlib.h: Likewise.
22619 * time/time.h: Likewise.
22620 * wcsmbs/wchar.h: Likewise.
22621
158648c0
UD
22622 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22623 open_by_handle): Add.
22624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22625 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22626 Augment a few comments.
22627 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22628 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22629 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22631 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22632 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22633 open_by_handle.
22634
46998f74
UD
22635 * io/fcntl.h (AT_EMPTY_PATH): Define.
22636
83fe108b
UD
226372011-03-30 Ulrich Drepper <drepper@gmail.com>
22638
22639 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22640 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22641 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22642 to...
22643 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
22644 * Versions.def: Add GLIBC_2.14.
22645 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22646 Export.
83fe108b 22647
bb242059
UD
226482011-03-22 Ulrich Drepper <drepper@gmail.com>
22649
22650 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22651 round counter.
22652 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22653
c97a1282
L
226542011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22655
22656 [BZ #12597]
22657 * string/test-strncmp.c (do_page_test): New function.
22658 (check2): Likewise.
22659 (test_main): Call check2.
22660 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22661
2a115601
UD
226622011-03-20 Ulrich Drepper <drepper@gmail.com>
22663
22664 [BZ #12587]
22665 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22666 Handle cache information in CPU leaf 4.
22667 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22668
8126d904
UD
226692011-03-18 Ulrich Drepper <drepper@gmail.com>
22670
042c49c6 22671 [BZ #12583]
8126d904
UD
22672 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22673 character representation.
22674 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22675
ccfe366e
RA
226762011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22677
22678 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22679 END(__isnan) to END(__isnanf) to match function entry point/label
22680 EALIGN(__isnanf,...).
22681
c6e13027
JJ
226822011-03-10 Jakub Jelinek <jakub@redhat.com>
22683
22684 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22685
33f85a3f
UD
226862011-03-10 Ulrich Drepper <drepper@gmail.com>
22687
028478fa
UD
22688 [BZ #12510]
22689 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22690 copy from the symbol referenced in the relocation to initialize the
22691 used variable.
22692 Patch by Piotr Bury <pbury@goahead.com>.
22693 * elf/Makefile: Add rules to build and tst-unique3.
22694 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22695 * elf/tst-unique3.cc: New file.
22696 * elf/tst-unique3.h: New file.
22697 * elf/tst-unique3lib.cc: New file.
22698 * elf/tst-unique3lib2.cc: New file.
22699
33f85a3f
UD
22700 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22701
03592fc7
MF
227022011-03-10 Mike Frysinger <vapier@gentoo.org>
22703
22704 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22705 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22706 to _start.
03592fc7 22707
6a5ee102
UD
227082011-03-06 Ulrich Drepper <drepper@gmail.com>
22709
22710 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22711 to-be-loaded object along a path to loader is ld.so.
22712
7e4ba49c
HJ
227132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22714 Ulrich Drepper <drepper@gmail.com>
22715
22716 * sysdeps/x86_64/memset.S: After aligning destination, code
22717 branches to different locations depending on the value of
22718 misalignment, when multiarch is enabled. Fix this.
22719
227202011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22721
22722 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22723 Set _x86_64_preferred_memory_instruction for AMD processsors.
22724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22725 Set bit_Prefer_SSE_for_memop for AMD processors.
22726
13a804de
UD
227272011-03-04 Ulrich Drepper <drepper@gmail.com>
22728
22729 * libio/fmemopen.c (fmemopen): Optimize a bit.
22730
9d25c392
AS
227312011-03-03 Andreas Schwab <schwab@redhat.com>
22732
22733 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22734
a5543c6a
RM
227352011-03-03 Roland McGrath <roland@redhat.com>
22736
22737 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22738
012d35f7
DM
227392011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22740
7e4ba49c 22741 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
22742 __bzero_ultra1 instead of __memset_ultra1.
22743
4bff6e01
AS
227442011-02-23 Andreas Schwab <schwab@redhat.com>
22745 Ulrich Drepper <drepper@gmail.com>
22746
22747 [BZ #12509]
22748 * include/link.h (struct link_map): Add l_orig_initfini.
22749 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22750 returning unsuccessfully.
22751 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22752 close of a file loaded at startup, restore the original l_initfini
22753 list.
22754 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22755 list, store the pointer.
22756 * elf/Makefile ($(objpfx)noload-mem): New rule.
22757 (noload-ENV): Define.
22758 (tests): Add $(objpfx)noload-mem.
22759 * elf/noload.c: Include <memcheck.h>.
22760 (main): Call mtrace. Close all opened handles.
22761
f2092faf
AS
227622011-02-17 Andreas Schwab <schwab@redhat.com>
22763
22764 [BZ #12454]
22765 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22766 dependencies are missing.
22767
6c8a2e88
ST
227682011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22769
f2092faf 22770 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
22771 Hurd needs munmap.
22772 * sysdeps/mach/hurd/ifreq.h: New file.
22773
84a42118
PB
227742011-01-27 Petr Baudis <pasky@suse.cz>
22775 Ulrich Drepper <drepper@gmail.com>
22776
071f805e 22777 [BZ 12445]#
84a42118
PB
22778 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22779 to extend_alloca().
22780 * stdio-common/bug23.c: New file.
22781 * stdio-common/Makefile (tests): Add bug23.
22782
e23fe25b
AS
227832010-09-28 Andreas Schwab <schwab@redhat.com>
22784 Ulrich Drepper <drepper@gmail.com>
22785
22786 [BZ #12489]
22787 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22788 before performing relro protection. At old place add assertion
22789 to make sure nothing changed.
22790
d3f02e10
NS
227912011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22792 Glauber de Oliveira Costa <glommer@gmail.com>
22793
22794 * elf/elf.h: Add new ARM TLS relocs.
22795
d55fd7a5
RA
227962011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22797
22798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22799 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22800 cast from r3.
22801 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22802 'tests' variable.
22803 * sysdeps/wordsize-64/tst-writev.c: New file.
22804
2206397e
RA
228052011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22806
22807 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22808 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22809 insns in _dl_start to prevent a TOC reference before relocs are
22810 resolved.
22811
e9433893
UD
228122011-02-15 Ulrich Drepper <drepper@gmail.com>
22813
22814 [BZ #12469]
22815 * Makeconfig: Remove RANLIB definition.
22816 * Makerules: Don't use RANLIB.
22817 * aclocal.m4: Remove ranlib test.
22818 * configure.in: No need to check for ranlib.
22819 * elf/rtld-Rules: Don't use RANLIB.
22820
f75286c6
ST
228212011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22822
8e31c82d
ST
22823 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22824 protection macro.
22825 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22826 inclusion protection macro.
22827
f75286c6
ST
22828 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22829 SIGRTMIN and SIGRTMAX and print information in that case only when
22830 SIGRTMIN is defined.
22831
c1d0e639
JJ
228322011-02-11 Jakub Jelinek <jakub@redhat.com>
22833
22834 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22835 arginfo fn returning -1.
22836
22837 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22838 and thousands string is zero terminated.
22839
edf9294e
AS
228402011-02-03 Andreas Schwab <schwab@redhat.com>
22841
22842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22843 sysdeps/unix/sysv/linux/bits/socket.h.
22844
2b7e92df
ST
228452011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22846
edf9294e
AS
22847 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22848 (__CPU_COUNT): Remove old macros.
22849 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22850 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22851 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
22852 (__sched_cpualloc, __sched_cpufree): Add declarations.
22853
a4c7ea7b
UD
228542011-02-05 Ulrich Drepper <drepper@gmail.com>
22855
22856 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22857 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22858 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22859 (readdhstai): Return value of addhstaiX call.
22860 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22861 (addgrbyX): Return value returned by cache_addgr.
22862 (readdgrbyname): Return value returned by addgrbyX.
22863 (readdgrbygid): Likewise.
22864 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22865 (addpwbyX): Return value returned by cache_addpw.
22866 (readdpwbyname): Return value returned by addhstbyX.
22867 (readdpwbyuid): Likewise.
22868 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22869 (addservbyX): Return value returned by cache_addserv.
22870 (readdservbyname): Return value returned by addservbyX:
22871 (readdservbyport): Likewise.
22872 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22873 (addhstbyX): Return value returned by cache_addhst.
22874 (readdhstbyname): Return value returned by addhstbyX.
22875 (readdhstbyaddr): Likewise.
22876 (readdhstbynamev6): Likewise.
22877 (readdhstbyaddrv6): Likewise.
22878 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22879 (readdinitgroups): Return value returned by addinitgroupsX.
22880 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22881 (prune_cache): Keep track of timeout value of re-added entries.
22882 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22883 * nscd/nscd.h: Adjust prototypes of readd* functions.
22884
a0bf67cc
RM
228852011-02-04 Roland McGrath <roland@redhat.com>
22886
22887 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22888 (nis_stats): Likewise.
22889 * nis/nis_modify.c (nis_modify): Likewise.
22890 * nis/nis_remove.c (nis_remove): Likewise.
22891 * nis/nis_add.c (nis_add): Likewise.
22892
22893 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22894
22895 * posix/fnmatch_loop.c: Add some consts.
22896
22897 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22898
435b95eb
L
228992011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22900
22901 [BZ #12460]
22902 * config.make.in (config-cflags-novzeroupper): Define.
22903 * configure.in: Substitute libc_cv_cc_novzeroupper.
22904 * elf/Makefile (AVX-CFLAGS): Define.
22905 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22906 (CFLAGS-tst-auditmod4a.c): Likewise.
22907 (CFLAGS-tst-auditmod4b.c): Likewise.
22908 (CFLAGS-tst-auditmod6b.c): Likewise.
22909 (CFLAGS-tst-auditmod6c.c): Likewise.
22910 (CFLAGS-tst-auditmod7b.c): Likewise.
22911 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22912
8517b15e
UD
229132011-02-02 Ulrich Drepper <drepper@gmail.com>
22914
22915 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22916 function to the callback.
22917 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22918
10a656fe
AS
229192011-02-02 Andreas Schwab <schwab@redhat.com>
22920
22921 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22922 of errno.
22923
968dad0a
UD
229242011-01-19 Ulrich Drepper <drepper@gmail.com>
22925
9f94d2ea 22926 [BZ #11724]
968dad0a
UD
22927 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22928 of constructors.
22929 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22930 of destructors.
22931 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22932
22933 [BZ #11724]
22934 * elf/Makefile: Add rules to build and run new test.
22935 * elf/tst-initorder.c: New file.
22936 * elf/tst-initorder.exp: New file.
22937 * elf/tst-initordera1.c: New file.
22938 * elf/tst-initordera2.c: New file.
22939 * elf/tst-initordera3.c: New file.
22940 * elf/tst-initordera4.c: New file.
22941 * elf/tst-initorderb1.c: New file.
22942 * elf/tst-initorderb2.c: New file.
22943 * elf/tst-order-a1.c: New file.
22944 * elf/tst-order-a2.c: New file.
22945 * elf/tst-order-a3.c: New file.
22946 * elf/tst-order-a4.c: New file.
22947 * elf/tst-order-b1.c: New file.
22948 * elf/tst-order-b2.c: New file.
22949 * elf/tst-order-main.c: New file.
22950 New test case by George Gensure <werkt0@gmail.com>.
22951
86e92359
UD
229522010-10-01 Andreas Schwab <schwab@redhat.com>
22953
22954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22955 decoding ACE if AI_CANONIDN.
22956
5d5732b0
UD
229572011-01-18 Ulrich Drepper <drepper@gmail.com>
22958
22959 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22960
a77e8cbc
UD
229612011-01-17 Ulrich Drepper <drepper@gmail.com>
22962
6392473f
UD
22963 * version.h (RELEASE): Bump for 2.13 release.
22964 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22965
620a0529
UD
22966 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22967
18ba70a5
UD
22968 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22969 MADV_NOHUGEPAGE.
32465c3e
UD
22970 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22971 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22972 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22973 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22974 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22975 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22976
c0dafcf1
UD
22977 * posix/getconf.c: Update copyright year.
22978 * catgets/gencat.c: Likewise.
22979 * csu/version.c: Likewise.
22980 * debug/catchsegv.sh: Likewise.
22981 * debug/xtrace.sh: Likewise.
22982 * elf/ldconfig.c: Likewise.
22983 * elf/ldd.bash.in: Likewise.
22984 * elf/sprof.c (print_version): Likewise.
22985 * iconv/iconv_prog.c: Likewise.
22986 * iconv/iconvconfig.c: Likewise.
22987 * locale/programs/locale.c: Likewise.
22988 * locale/programs/localedef.c: Likewise.
22989 * malloc/memusage.sh: Likewise.
22990 * malloc/mtrace.pl: Likewise.
22991 * nscd/nscd.c (print_version): Likewise.
22992 * nss/getent.c: Likewise.
22993
a77e8cbc
UD
22994 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22995 PF_CAIF, and PF_ALG.
22996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22997
77e8bddf
AS
229982011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22999
1f20b93a
AS
23000 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
23001 (modules-names): Use them.
23002 (ifunc-test-modules, ifunc-pie-tests): Define.
23003 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
23004 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
23005 (test-extras): Likewise.
23006 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
23007 $(compile-command.c).
23008 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
23009 (all-built-dso): Define.
23010 (check-textrel.out, check-execstack.out): Depend on it.
23011
77e8bddf
AS
23012 * configure.in: Don't override --enable-multi-arch.
23013
bc425b33
UD
230142011-01-15 Ulrich Drepper <drepper@gmail.com>
23015
23016 [BZ #6812]
23017 * nscd/hstcache.c (tryagain): Define.
23018 (cache_addhst): Return tryagain not notfound for temporary errors.
23019 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
23020 failed.
23021
794c3ad3
UD
230222011-01-14 Ulrich Drepper <drepper@gmail.com>
23023
70181fdd
UD
23024 [BZ #10563]
23025 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
23026 to make the syscall.
23027 * sysdeps/unix/sysv/linux/setgroups.c: New file.
23028
794c3ad3
UD
23029 [BZ #12378]
23030 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
23031 and fall back to matching as normal character if the string ends before
23032 the matching ']' is found. This is what POSIX requires.
23033 * posix/testfnm.c: Adjust test result.
23034 * posix/globtest.sh: Adjust test result. Add new test.
23035 * posix/tst-fnmatch.input: Likewise.
23036 * posix/tst-fnmatch2.c: Add new test.
23037
68dc9497
AS
230382010-12-28 Andreas Schwab <schwab@linux-m68k.org>
23039
23040 * elf/Makefile (check-execstack): Revert last change. Depend on
23041 check-execstack.h.
23042 (check-execstack.h): New target.
23043 (generated): Add check-execstack.h.
23044 * elf/check-execstack.c: Include "check-execstack.h".
23045 (main): Revert last change.
23046 (handle_file): Return zero if GNU_STACK is absent and
23047 DEFAULT_STACK_PERMS doesn't include PF_X.
23048
451f001b
UD
230492011-01-13 Ulrich Drepper <drepper@gmail.com>
23050
cfa28e56
UD
23051 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
23052 in child fails because the descriptor is already closed.
8cf8ce17
UD
23053 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
23054 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
23055 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 23056
1086d70d
UD
23057 [BZ #12397]
23058 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
23059 syscall.
23060
451f001b
UD
23061 [BZ #10484]
23062 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
23063 temporary buffer used to handle multi lookups locally.
a85b5cb4 23064 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 23065
08769175
UD
230662011-01-12 Ulrich Drepper <drepper@gmail.com>
23067
23068 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
23069 loader is ld.so.
23070
5e49c52e
UD
230712011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
23072
23073 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
23074 alignment for SSE2.
23075
60522a5f
UD
230762011-01-12 Ulrich Drepper <drepper@gmail.com>
23077
23078 [BZ #12394]
23079 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
23080 characters. When rounding increased number of integer digits recompute
23081 number of groups.
23082 * stdio-common/tst-grouping.c: New file.
23083 * stdio-common/Makefile: Add rules to build and run tst-grouping.
23084
f257bbd7
UD
230852011-01-09 Ulrich Drepper <drepper@gmail.com>
23086
23087 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
23088 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
23089
23090 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
23091 void.
23092 * bits/select.h: Likewise.
23093
fa9c15cb
UD
230942011-01-08 Ulrich Drepper <drepper@gmail.com>
23095
23096 * po/ja.po: Update from translation team.
23097
16c2895f
DM
230982011-01-04 David S. Miller <davem@sunset.davemloft.net>
23099
23100 [BZ #11155]
23101 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
23102 implementation just like for lxstat, fxstatat, et al.
23103
2543fef2
JM
231042010-12-27 Jim Meyering <meyering@redhat.com>
23105
23106 [BZ #12348]
23107 * posix/regexec.c (build_trtable): Return failure indication upon
23108 calloc failure. Otherwise, re_search_internal could infloop on OOM.
23109
98727dbe
UD
231102010-12-25 Ulrich Drepper <drepper@gmail.com>
23111
5bd6dc5c
UD
23112 [BZ #12201]
23113 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
23114 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
23115 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
23116 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
23117
97983464
UD
23118 [BZ #12207]
23119 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
23120
98727dbe
UD
23121 [BZ #12204]
23122 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
23123 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
23124
4a531bb0
L
231252010-12-15 H.J. Lu <hongjiu.lu@intel.com>
23126
23127 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
23128 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
23129 script has SORT_BY_INIT_PRIORITY.
23130 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
23131 NO_CTORS_DTORS_SECTIONS is defined.
23132 * elf/soinit.c: Likewise.
23133 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
23134 NO_CTORS_DTORS_SECTIONS is defined.
23135 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
23136 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
23137 * sysdeps/sh/init-first.c: Likewise.
23138 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
23139
07eb4b71
UD
231402010-12-24 Ulrich Drepper <drepper@gmail.com>
23141
23142 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
23143 always use the slow path.
23144
30950a5f
RA
231452010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
23146
23147 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
23148 similar rule which adds the sysdep directories to the header search in
23149 order to pick up the correct platform stackinfo.h.
23150 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
23151 perform test if it is, otherwise return successfully without testing.
23152 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
23153 DEFAULT_STACK_PERMS define in stackinfo.h.
23154 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
23155 defined in stackinfo.h.
23156 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
23157 DEFAULT_STACK_PERMS defined in stackinfo.h.
23158 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
23159 * sysdeps/ia64/stackinfo.h: Likewise.
23160 * sysdeps/s390/stackinfo.h: Likewise.
23161 * sysdeps/sh/stackinfo.h: Likewise.
23162 * sysdeps/sparc/stackinfo.h: Likewise.
23163 * sysdeps/x86_64/stackinfo.h: Likewise.
23164 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
23165 PF_X for powerpc64. Retain PF_X for powerpc32.
23166
db753e2c
UD
231672010-12-19 Ulrich Drepper <drepper@gmail.com>
23168
14b697f7
UD
23169 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
23170 accurately.
db753e2c
UD
23171 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
23172 GETDENTS_64BIT_ALIGNED.
23173
28300719
UD
231742010-12-14 Ulrich Drepper <dreper@gmail.com>
23175
14b697f7 23176 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 23177
4f197237
AS
231782010-12-10 Andreas Schwab <schwab@redhat.com>
23179
dbb0472f
AS
23180 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
23181 _GNU_SOURCE.
23182
4f197237
AS
23183 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
23184 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
23185 Remove __restrict.
23186 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
23187 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
23188
fb88ac72
UD
231892010-12-09 Ulrich Drepper <drepper@gmail.com>
23190
23191 [BZ #11655]
23192 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
23193 are initialized.
23194
42acbb92
JJ
231952010-12-09 Jakub Jelinek <jakub@redhat.com>
23196
23197 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
23198
c038d98d
UD
231992010-12-03 Ulrich Drepper <drepper@gmail.com>
23200
23201 * po/it.po: Update from translation team.
23202
3a4a2499
L
232032010-12-01 H.J. Lu <hongjiu.lu@intel.com>
23204
23205 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
23206 unused codes.
23207
1e24cf6e
UD
232082010-11-30 Ulrich Drepper <drepper@gmail.com>
23209
23210 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
23211
a7690819
AS
232122010-11-24 Andreas Schwab <schwab@redhat.com>
23213
23214 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
23215 specially.
23216 (gaih_getanswer_slice): Likewise.
23217
3bf8d1b1
JJ
232182010-10-20 Jakub Jelinek <jakub@redhat.com>
23219
23220 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
23221
6db52fbb
PB
232222010-05-31 Petr Baudis <pasky@suse.cz>
23223
23224 [BZ #11149]
23225 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
23226 silently even in the chroot mode.
23227
eaca7569
UD
232282010-11-22 Ulrich Drepper <drepper@gmail.com>
23229
23230 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
23231 last patch a bit. Pretty printing
23232
3056dcdb
UD
232332010-05-31 Petr Baudis <pasky@suse.cz>
23234
23235 [BZ #10085]
23236 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
23237 initialization of skip_initgroups_dyn.
23238
cf7c9078
UD
232392010-11-19 Ulrich Drepper <drepper@gmail.com>
23240
23241 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
23242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
23243
a1fb5e3e
UD
232442010-11-16 Ulrich Drepper <drepper@gmail.com>
23245
23246 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
23247
3540d66b
AS
232482010-11-11 Andreas Schwab <schwab@redhat.com>
23249
23250 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
23251 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
23252 (tst-fnmatch-ENV): Set MALLOC_TRACE.
23253 ($(objpfx)tst-fnmatch-mem): New rule.
23254 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
23255 * posix/tst-fnmatch.c (main): Call mtrace.
23256
13b69574
L
232572010-11-11 H.J. Lu <hongjiu.lu@intel.com>
23258
23259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23260 Support Intel processor model 6 and model 0x2c.
23261
da93d214
LM
232622010-11-10 Luis Machado <luisgpm@br.ibm.com>
23263
23264 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
23265 signed comparison.
23266
8ca52c6e
L
232672010-11-09 H.J. Lu <hongjiu.lu@intel.com>
23268
23269 [BZ #12205]
23270 * string/test-strncasecmp.c (check_result): New function.
23271 (do_one_test): Use it.
23272 (check1): New function.
23273 (test_main): Use it.
23274 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
23275 Support strcasecmp and strncasecmp.
23276
69da074d
UD
232772010-11-08 Ulrich Drepper <drepper@gmail.com>
23278
23279 [BZ #12194]
23280 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
23281 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23282
ff02d528
L
232832010-11-07 H.J. Lu <hongjiu.lu@intel.com>
23284
23285 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
23286 IFUNC support.
23287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23288 memset-x86-64.
23289 * sysdeps/x86_64/multiarch/bzero.S: New file.
23290 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
23291 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
23292 * sysdeps/x86_64/multiarch/memset.S: New file.
23293 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
23294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23295 Set bit_Prefer_SSE_for_memop for Intel processors.
23296 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
23297 Define.
23298 (index_Prefer_SSE_for_memop): Define.
23299 (HAS_PREFER_SSE_FOR_MEMOP): Define.
23300
344d0b54
LM
233012010-11-04 Luis Machado <luisgpm@br.ibm.com>
23302
23303 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
23304 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
23305
c0dde15b
UD
233062010-11-03 H.J. Lu <hongjiu.lu@intel.com>
23307
23308 [BZ #12191]
23309 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23310 (__x86_64_raw_data_cache_size_half): Likewise.
23311 (__x86_64_raw_shared_cache_size): Likewise.
23312 (__x86_64_raw_shared_cache_size_half): Likewise.
23313
23314 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
23315 (__x86_64_raw_data_cache_size_half): Likewise.
23316 (__x86_64_raw_shared_cache_size): Likewise.
23317 (__x86_64_raw_shared_cache_size_half): Likewise.
23318 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
23319 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
23320 and __x86_64_raw_shared_cache_size_half. Round
23321 __x86_64_data_cache_size_half, __x86_64_data_cache_size
23322 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
23323 to multiple of 256 bytes.
23324
0e516e0e
MS
233252010-11-03 Ulrich Drepper <drepper@gmail.com>
23326
23327 [BZ #12167]
23328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
23329 of inacessible symlinks. Verify result of symlink before returning it.
23330 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23331 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
23332
0e012e87
ER
233332010-10-28 Erich Ritz <erichritz@gmail.com>
23334
23335 * math/math.h (isinf): Fix typo in comment.
23336
de0ff7bc
UD
233372010-11-01 Ulrich Drepper <drepper@gmail.com>
23338
23339 * po/da.po: Update from translation team.
23340
fa41c84d
UD
233412010-10-26 Ulrich Drepper <drepper@gmail.com>
23342
23343 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
23344 is added to the list.
23345
f0967738
AK
233462010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23347 Ulrich Drepper <drepper@gmail.com>
23348
23349 * elf/dl-object.c (_dl_new_object): Don't append the new object to
23350 the global list here. Move code to...
23351 (_dl_add_to_namespace_list): ...here. New function.
23352 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
23353 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
23354 * elf/dl-load.c (lose): Don't remove the element from the list.
23355 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
23356 (_dl_map_object): Likewise.
23357
233582010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
23359
23360 [BZ #12159]
23361 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
23362 into all bytes of SSE register.
23363 Patch by Richard Li <richardpku@gmail.com>.
23364
f0967738 233652010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
23366
23367 [BZ #12140]
23368 * malloc/malloc.c (_int_free): Fill correct number of bytes when
23369 perturbing.
23370
d0b9e94f
MB
233712010-10-20 Michael B. Brutman <brutman@us.ibm.com>
23372
23373 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
23374 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
23375 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
23376 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
23377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
23378 submachine.
23379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
23380
8e9f92e9
AS
233812010-10-22 Andreas Schwab <schwab@redhat.com>
23382
23383 * include/dlfcn.h (__RTLD_SECURE): Define.
23384 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
23385 mode & __RTLD_SECURE instead.
23386 (open_path): Rename preloaded parameter to secure.
23387 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
23388 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
23389 * elf/dl-deps.c (openaux): Likewise.
23390 * elf/rtld.c (struct map_args): Remove is_preloaded.
23391 (map_doit): Don't use it.
23392 (dl_main): Likewise.
23393 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
23394 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
23395
bc96fbda
AS
233962010-09-09 Andreas Schwab <schwab@redhat.com>
23397
23398 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
23399 (sysd-rules-targets): Remove duplicates.
23400 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
23401 rtld-%.$o dependency.
23402
22cd1c9b
AS
234032010-10-18 Andreas Schwab <schwab@redhat.com>
23404
23405 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
23406 _dl_map_object do it.
23407
18edac48
UD
234082010-10-19 Ulrich Drepper <drepper@gmail.com>
23409
23410 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
23411 fast fma builtins, define the macros in the C99 standard.
23412 (FP_FAST_FMAF): Likewise.
23413 (FP_FAST_FMAL): Likewise.
23414 * sysdeps/x86_64/bits/mathdef.h: Likewise.
23415
23416 * bits/mathdef.h: Update copyright year.
23417 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23418
d2050124
MM
234192010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
23420
23421 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
23422 builtins, define the macros in the C99 standard.
23423 (FP_FAST_FMAF): Likewise.
23424 (FP_FAST_FMAL): Likewise.
23425 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
23426 multiply/add.
23427 (FP_FAST_FMAF): Likewise.
23428
475facd1
JJ
234292010-10-15 Jakub Jelinek <jakub@redhat.com>
23430
23431 [BZ #3268]
23432 * math/libm-test.inc (fma_test): Some new testcases.
23433 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
23434 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
23435 y and infinite z. Do multiplication by C already in long double.
23436 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
23437 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
23438 y and infinite z. Do bitwise or of inexact bit into u.d.
23439 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
23440 * sysdeps/i386/fpu/s_fmaf.S: Removed.
23441 * sysdeps/i386/fpu/s_fma.S: Removed.
23442 * sysdeps/i386/fpu/s_fmal.S: Removed.
23443
7c08a05c
JJ
234442010-10-16 Jakub Jelinek <jakub@redhat.com>
23445
23446 [BZ #3268]
23447 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
23448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
23449 computation is not scheduled after fetestexcept. Fix value
23450 of minimum denormal long double.
23451
f3f7372d
JJ
234522010-10-14 Jakub Jelinek <jakub@redhat.com>
23453
23454 [BZ #3268]
23455 * math/libm-test.inc (fma_test): Add some more tests.
23456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
23457 correctly.
23458
14d43591
AS
234592010-10-15 Andreas Schwab <schwab@redhat.com>
23460
23461 * scripts/data/localplt-s390-linux-gnu.data: New file.
23462 * scripts/data/localplt-s390x-linux-gnu.data: New file.
23463
5e908464
JJ
234642010-10-13 Jakub Jelinek <jakub@redhat.com>
23465
23466 [BZ #3268]
23467 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
23468 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
23469 instead of dbl-64.
23470 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
23471 inlines.
23472 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
23473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
23474 if one of x and y is very large and the other is subnormal.
23475 * sysdeps/s390/fpu/s_fmaf.c: New file.
23476 * sysdeps/s390/fpu/s_fma.c: New file.
23477 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
23478 * sysdeps/powerpc/fpu/s_fma.S: New file.
23479 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
23480 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
23481 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
23482
234832010-10-12 Jakub Jelinek <jakub@redhat.com>
23484
23485 [BZ #3268]
23486 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
23487 fma tests.
23488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
23489 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
23490 * sysdeps/i386/i686/multiarch/s_fma.c: Include
23491 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
23492 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
23493 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
23494 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
23495
b833d51f
UD
234962010-10-12 Ulrich Drepper <drepper@redhat.com>
23497
23498 [BZ #12078]
23499 * posix/regcomp.c (parse_branch): One more memory leak plugged.
23500 * posix/bug-regex31.input: Add test case.
23501
1751705d
UD
235022010-10-11 Ulrich Drepper <drepper@gmail.com>
23503
e9b9cbf5
UD
23504 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
23505 * posix/bug-regex31.input: New file.
23506
23507 [BZ #12078]
23508 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
23509 (parse_sub_exp): Fix last change, use postorder.
23510
ef06edbe
UD
23511 * posix/bug-regex31.c: New file.
23512 * posix/Makefile: Add rules to build and run bug-regex31.
23513
a129c80d
UD
23514 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
23515
23516 [BZ #12078]
23517 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
23518
b76b818e
UD
23519 [BZ #12108]
23520 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
23521 to have entries in sys_siglist.
23522
1751705d
UD
23523 [BZ #12093]
23524 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
23525 be NULL.
23526
9ff8d36f
JJ
235272010-10-07 Jakub Jelinek <jakub@redhat.com>
23528
23529 [BZ #3268]
23530 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
23531 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
23532 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23533 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
23534 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23535 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
23536 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
23537 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
23538 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
23539 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
23540 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
23541 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
23542 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23543 * math/ftestexcept.c (fetestexcept): Likewise.
23544 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23545 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23546 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23547 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23548 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23549 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23550 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23551
af325969
UD
235522010-10-11 Ulrich Drepper <drepper@gmail.com>
23553
c579b202 23554 [BZ #12107]
af325969
UD
23555 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23556 newline.
23557
67a67b95
UD
235582010-10-06 Ulrich Drepper <drepper@gmail.com>
23559
23560 * string/bug-strstr1.c: New file.
23561 * string/Makefile: Add rules to build and run bug-strstr1.
23562
5fb308bc
EB
235632010-10-05 Eric Blake <eblake@redhat.com>
23564
23565 [BZ #12092]
23566 * string/str-two-way.h (two_way_long_needle): Always clear memory
23567 when skipping input due to the shift table.
23568
45db99c7
UD
235692010-10-03 Ulrich Drepper <drepper@gmail.com>
23570
3b111893
UD
23571 [BZ #12005]
23572 * malloc/mcheck.c: Handle large requests.
23573
45db99c7
UD
23574 [BZ #12077]
23575 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23576 for strncmp and strncasecmp.
23577 * string/stratcliff.c: Add tests for strcmp and strncmp.
23578 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23579
cf7a1eb8
NI
235802010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23581
23582 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23583 __set_fpscr.
23584
6484ba5e
AJ
235852010-09-30 Andreas Jaeger <aj@suse.de>
23586
23587 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23588 (CGROUP_SUPER_MAGIC): Define.
23589 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23590 Handle btrfs and cgroup file systems.
23591 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23592 Likewise.
23593
91c42559
LM
235942010-09-27 Luis Machado <luisgpm@br.ibm.com>
23595
23596 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23597 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23598
87a97932
AK
235992010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23600
23601 [BZ #12067]
23602 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23603 trying to locate the ELF header.
23604
c21cc9bc
AS
236052010-09-27 Andreas Schwab <schwab@redhat.com>
23606
23607 [BZ #11611]
23608 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23609 Mask out sign-bit copies when constructing f_fsid.
23610
315970f6
PB
236112010-09-24 Petr Baudis <pasky@suse.cz>
23612
23613 * debug/stack_chk_fail_local.c: Add missing licence exception.
23614 * debug/warning-nop.c: Likewise.
23615
1ac7a2c7
JM
236162010-09-15 Joseph Myers <joseph@codesourcery.com>
23617
23618 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23619 implementing getdents64 using getdents syscall, set d_type if
23620 __ASSUME_GETDENTS32_D_TYPE.
23621
56801c50
AS
236222010-09-16 Andreas Schwab <schwab@redhat.com>
23623
23624 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23625 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23626
dda51327
UD
236272010-09-21 Ulrich Drepper <drepper@redhat.com>
23628
23629 [BZ #12037]
23630 * posix/unistd.h: Undo change of feature selection for ftruncate from
23631 2010-01-11.
23632
8ffcee4a
UD
236332010-09-20 Ulrich Drepper <drepper@redhat.com>
23634
a545ecd9 23635 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
23636 detection.
23637
e24f0a8b
AS
236382010-09-20 Andreas Schwab <schwab@redhat.com>
23639
23640 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23641 fanotify_mark.
23642 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23643
7291c56f
AS
236442010-09-14 Andreas Schwab <schwab@redhat.com>
23645
23646 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23647 variables after CHECK_SP call.
23648 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23649
bc5fb037
AS
236502010-09-13 Andreas Schwab <schwab@redhat.com>
23651 Ulrich Drepper <drepper@redhat.com>
23652
23653 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23654 re-relocationg ld.so.
23655 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23656 _dl_init_paths call.
23657 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23658 here anymore.
23659
e66e7419
UD
236602010-09-14 Ulrich Drepper <drepper@redhat.com>
23661
23662 * resolv/res_init.c (__res_vinit): Count the default server we added.
23663
c044aa75
CLT
236642010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23665 Ulrich Drepper <drepper@redhat.com>
23666
23667 [BZ #11968]
23668 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23669 (____longjmp_chk): Use %ebx for saving value across system call.
23670 Add unwind info.
23671
32cf4069
AS
236722010-09-06 Andreas Schwab <schwab@redhat.com>
23673
23674 * manual/Makefile: Don't mix pattern rules with normal rules.
23675
817328ee
AS
236762010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23677
23678 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23679 operation.
23680 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23681 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23682 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23683 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23684 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23685 Likewise.
23686
29fddf61
UD
236872010-09-04 Ulrich Drepper <drepper@redhat.com>
23688
23689 [BZ #11979]
23690 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23691 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23692
0959ffc9
UD
236932010-09-02 Ulrich Drepper <drepper@redhat.com>
23694
23695 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23696 * sysdeps/x86_64/addmul_1.S: Likewise.
23697 * sysdeps/x86_64/lshift.S: Likewise.
23698 * sysdeps/x86_64/mul_1.S: Likewise.
23699 * sysdeps/x86_64/rshift.S: Likewise.
23700 * sysdeps/x86_64/sub_n.S: Likewise.
23701 * sysdeps/x86_64/submul_1.S: Likewise.
23702
ece29840
ST
237032010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23704
0959ffc9
UD
23705 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23706 Define __sched_param instead of SCHED_* and sched_param when
ece29840 23707 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 23708 * bits/sched.h [__need_schedparam]
ece29840 23709 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
23710 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23711 (__defined_schedparam): Define to 1.
ece29840
ST
23712 (__sched_param): New structure, identical to sched_param.
23713 (__need_schedparam): Undefine.
23714
e53a31fe
MF
237152010-08-31 Mike Frysinger <vapier@gentoo.org>
23716
fdc0c10d
MF
23717 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23718 (epoll_create1): Declare.
23719
e53a31fe
MF
23720 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23721
a726d796
AS
237222010-08-31 Andreas Schwab <schwab@redhat.com>
23723
23724 [BZ #7066]
23725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23726 shifting retval into place.
23727
2f3e3dc7
UD
237282010-09-01 Ulrich Drepper <drepper@redhat.com>
23729
f2933da9
UD
23730 * nis/rpcsvc/nis.h: Update copyright notice.
23731 * nis/rpcsvc/nis.x: Likewise.
23732 * nis/rpcsvc/nis_callback.h: Likewise.
23733 * nis/rpcsvc/nis_callback.x: Likewise.
23734 * nis/rpcsvc/nis_object.x: Likewise.
23735 * nis/rpcsvc/nis_tags.h: Likewise.
23736 * nis/rpcsvc/yp.h: Likewise.
23737 * nis/rpcsvc/yp.x: Likewise.
23738 * nis/rpcsvc/ypupd.h: Likewise.
23739 * nis/yp_xdr.c: Likewise.
23740 * nis/ypupdate_xdr.c: Likewise.
23741
2f3e3dc7
UD
23742 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23743 mainly the body of pmap_getport. Add parameters to specify timeouts.
23744 (pmap_getport): Use __libc_rpc_getport.
23745 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23746 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23747 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23748
f3dcc2f9
AS
237492010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23750
23751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23752 fanotify_mark.
23753
6d34eb5b
RM
237542010-08-27 Roland McGrath <roland@redhat.com>
23755
23756 * sysdeps/i386/i686/multiarch/Makefile
23757 (CFLAGS-varshift.c): New variable.
23758
9ea3de11
UD
237592010-08-27 Ulrich Drepper <drepper@redhat.com>
23760
c96d23fc
UD
23761 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23762 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23763
9ea3de11
UD
23764 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23765
23766 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23767
623aac7f
L
237682010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23769
23770 * sysdeps/x86_64/strlen.S: Unroll the loop.
23771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23772 strlen-sse2 strlen-sse2-bsf.
23773 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23774 __strlen_no_bsf if bit_Slow_BSF is set.
23775 (__strlen_sse42): Removed.
23776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23777 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23778
8b2b7715
RM
237792010-08-25 Roland McGrath <roland@redhat.com>
23780
23781 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23782 * sysdeps/x86_64/multiarch/varshift.c: New file.
23783 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23784 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23785 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23786 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23787
e73015f2
L
237882010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23789
23790 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23791 strlen-sse2 strlen-sse2-bsf.
23792 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23793 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23794 (__strlen_sse2): Removed.
23795 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23796 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23798 bit_Slow_BSF for Atom.
23799 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23800 (index_Slow_BSF): Define.
23801 (HAS_SLOW_BSF): Define.
23802
df24a73e
UD
238032010-08-25 Ulrich Drepper <drepper@redhat.com>
23804
23805 [BZ #10851]
23806 * resolv/res_init.c (__res_vinit): When no server address at all
23807 is given default to loopback.
23808
f2ac4868
RM
238092010-08-24 Roland McGrath <roland@redhat.com>
23810
09055553
RM
23811 * configure.in: Remove config-name.h generation.
23812 * configure: Regenerated.
23813 * config-name.in: File removed.
23814 * scripts/config-uname.sh: New file.
23815 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23816 ($(objdir)config-name.h): New target.
23817
f2ac4868
RM
23818 * sunrpc/rpc_parse.h: Avoid nested comment.
23819
73f27d5e
RH
238202010-08-24 Richard Henderson <rth@redhat.com>
23821 Ulrich Drepper <drepper@redhat.com>
23822 H.J. Lu <hongjiu.lu@intel.com>
23823
23824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23826 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23827 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23828 _mm_alignr_epi8 with _mm_loadu_si128.
23829 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23830 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23831 (__m128i_shift_right): Removed.
23832 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23833 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23834 * sysdeps/x86_64/multiarch/varshift.h: New file.
23835 * sysdeps/x86_64/multiarch/varshift.S: New file.
23836
84b9230c
MF
238372010-08-21 Mike Frysinger <vapier@gentoo.org>
23838
23839 * configure.in: Move assembler checks to before sysdep dir checking.
23840
9bbd0ddc
PB
238412010-08-20 Petr Baudis <pasky@suse.cz>
23842
23843 * LICENSES: Sync the sunrpc license.
23844
9da4bb31
UD
238452010-08-19 Ulrich Drepper <drepper@redhat.com>
23846
a7ab6ec8
UD
23847 * sunrpc/auth_des.c: Update copyright notice once again.
23848 * sunrpc/auth_none.c: Likewise.
23849 * sunrpc/auth_unix.c: Likewise.
23850 * sunrpc/authdes_prot.c: Likewise.
23851 * sunrpc/authuxprot.c: Likewise.
23852 * sunrpc/bindrsvprt.c: Likewise.
23853 * sunrpc/clnt_gen.c: Likewise.
23854 * sunrpc/clnt_perr.c: Likewise.
23855 * sunrpc/clnt_raw.c: Likewise.
23856 * sunrpc/clnt_simp.c: Likewise.
23857 * sunrpc/clnt_tcp.c: Likewise.
23858 * sunrpc/clnt_udp.c: Likewise.
23859 * sunrpc/clnt_unix.c: Likewise.
23860 * sunrpc/des_crypt.c: Likewise.
23861 * sunrpc/des_soft.c: Likewise.
23862 * sunrpc/get_myaddr.c: Likewise.
23863 * sunrpc/getrpcport.c: Likewise.
23864 * sunrpc/key_call.c: Likewise.
23865 * sunrpc/key_prot.c: Likewise.
23866 * sunrpc/openchild.c: Likewise.
23867 * sunrpc/pm_getmaps.c: Likewise.
23868 * sunrpc/pm_getport.c: Likewise.
23869 * sunrpc/pmap_clnt.c: Likewise.
23870 * sunrpc/pmap_prot.c: Likewise.
23871 * sunrpc/pmap_prot2.c: Likewise.
23872 * sunrpc/pmap_rmt.c: Likewise.
23873 * sunrpc/rpc/auth.h: Likewise.
23874 * sunrpc/rpc/auth_unix.h: Likewise.
23875 * sunrpc/rpc/clnt.h: Likewise.
23876 * sunrpc/rpc/des_crypt.h: Likewise.
23877 * sunrpc/rpc/key_prot.h: Likewise.
23878 * sunrpc/rpc/netdb.h: Likewise.
23879 * sunrpc/rpc/pmap_clnt.h: Likewise.
23880 * sunrpc/rpc/pmap_prot.h: Likewise.
23881 * sunrpc/rpc/pmap_rmt.h: Likewise.
23882 * sunrpc/rpc/rpc.h: Likewise.
23883 * sunrpc/rpc/rpc_des.h: Likewise.
23884 * sunrpc/rpc/rpc_msg.h: Likewise.
23885 * sunrpc/rpc/svc.h: Likewise.
23886 * sunrpc/rpc/svc_auth.h: Likewise.
23887 * sunrpc/rpc/types.h: Likewise.
23888 * sunrpc/rpc/xdr.h: Likewise.
23889 * sunrpc/rpc_clntout.c: Likewise.
23890 * sunrpc/rpc_cmsg.c: Likewise.
23891 * sunrpc/rpc_common.c: Likewise.
23892 * sunrpc/rpc_cout.c: Likewise.
23893 * sunrpc/rpc_dtable.c: Likewise.
23894 * sunrpc/rpc_hout.c: Likewise.
23895 * sunrpc/rpc_main.c: Likewise.
23896 * sunrpc/rpc_parse.c: Likewise.
23897 * sunrpc/rpc_parse.h: Likewise.
23898 * sunrpc/rpc_prot.c: Likewise.
23899 * sunrpc/rpc_sample.c: Likewise.
23900 * sunrpc/rpc_scan.c: Likewise.
23901 * sunrpc/rpc_scan.h: Likewise.
23902 * sunrpc/rpc_svcout.c: Likewise.
23903 * sunrpc/rpc_tblout.c: Likewise.
23904 * sunrpc/rpc_util.c: Likewise.
23905 * sunrpc/rpc_util.h: Likewise.
23906 * sunrpc/rpcinfo.c: Likewise.
23907 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23908 * sunrpc/rpcsvc/key_prot.x: Likewise.
23909 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23910 * sunrpc/rpcsvc/mount.x: Likewise.
23911 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23912 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23913 * sunrpc/rpcsvc/rex.x: Likewise.
23914 * sunrpc/rpcsvc/rstat.x: Likewise.
23915 * sunrpc/rpcsvc/rusers.x: Likewise.
23916 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23917 * sunrpc/rpcsvc/spray.x: Likewise.
23918 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23919 * sunrpc/rtime.c: Likewise.
23920 * sunrpc/svc.c: Likewise.
23921 * sunrpc/svc_auth.c: Likewise.
23922 * sunrpc/svc_authux.c: Likewise.
23923 * sunrpc/svc_raw.c: Likewise.
23924 * sunrpc/svc_run.c: Likewise.
23925 * sunrpc/svc_simple.c: Likewise.
23926 * sunrpc/svc_tcp.c: Likewise.
23927 * sunrpc/svc_udp.c: Likewise.
23928 * sunrpc/svc_unix.c: Likewise.
23929 * sunrpc/svcauth_des.c: Likewise.
23930 * sunrpc/xcrypt.c: Likewise.
23931 * sunrpc/xdr.c: Likewise.
23932 * sunrpc/xdr_array.c: Likewise.
23933 * sunrpc/xdr_float.c: Likewise.
23934 * sunrpc/xdr_mem.c: Likewise.
23935 * sunrpc/xdr_rec.c: Likewise.
23936 * sunrpc/xdr_ref.c: Likewise.
23937 * sunrpc/xdr_sizeof.c: Likewise.
23938 * sunrpc/xdr_stdio.c: Likewise.
23939
9da4bb31
UD
23940 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23941 handling.
23942
bdaa77bc
AS
239432010-08-19 Andreas Schwab <schwab@redhat.com>
23944
23945 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23946
fe2f79db
LM
239472010-08-19 Luis Machado <luisgpm@br.ibm.com>
23948
23949 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23950 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23951 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23952 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23953 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23954 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23955 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23956 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23958 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23959 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23960 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23961 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23962 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23963
b9b42ee0
AB
239642010-07-26 Anton Blanchard <anton@samba.org>
23965
23966 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23967 * malloc/arena.c (heap_trim): Likewise.
23968
1c06ba31
UD
239692010-08-16 Ulrich Drepper <drepper@redhat.com>
23970
23971 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23972 here. Not...
23973 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23974 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23975
f8392f40
L
239762010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23977
23978 * sysdeps/i386/elf/Makefile: New file.
23979
3162f12e
AS
239802010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23981
23982 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23983 from fanotify_init.
23984 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23985 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23986
28c90b2c
UD
239872010-08-15 Ulrich Drepper <drepper@redhat.com>
23988
23989 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23990 of strncasecmp_l.
1feccb6c 23991 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 23992
ca6bb004
UD
239932010-08-14 Ulrich Drepper <drepper@redhat.com>
23994
e9f82e0d
UD
23995 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23996 strncase_l-nonascii.
23997 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23998 Add strncase_l-ssse3.
23999 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
24000 * sysdeps/x86_64/strcmp.S: Likewise.
24001 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
24002 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
24003 * sysdeps/x86_64/strncase.S: New file.
24004 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
24005 * sysdeps/x86_64/strncase_l.S: New file.
24006 * string/Makefile (strop-tests): Add strncasecmp.
24007 * string/test-strncasecmp.c: New file.
24008
24009 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
24010 warning.
24011
ca6bb004
UD
24012 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
24013 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
24014
052fa7b3
AS
240152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
24016
24017 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
24018
962dba78
UD
240192010-08-12 Ulrich Drepper <drepper@redhat.com>
24020
24021 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
24022 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
24023 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
24024
bebff237
AM
240252010-05-01 Alan Modra <amodra@gmail.com>
24026
24027 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
24028 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
24029 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
24030 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
24031 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
24032 tidying. Don't tail-call __sigjmp_save for static lib.
24033 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
24034 save location.
24035 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
24036 (CALL_MCOUNT): Add eh info, and nop after bl.
24037 (TAIL_CALL_SYSCALL_ERROR): New macro.
24038 (PSEUDO_RET): Use it.
24039 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24040 Correct save location of integer regs and cr.
24041 (_dl_profile_resolve): Correct cr save location. Delete nops
24042 after bl when SHARED. Reduce cfi size a little by better
24043 placement of cfi directives.
24044 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
24045 make a stack frame. Instead use parm save area as a temp.
24046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
24047 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
24048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24049 Don't make a stack frame for parent, use parm save area.
24050 Increase child stack frame to 112 bytes. Don't save unused reg,
24051 and adjust reg usage. Set up cfi on error recovery and
24052 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
24053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24054 (__makecontext): Add dummy nop after jump to exit.
24055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
24056 Use correct parm save area and cr save, reduce stack frame.
24057 Correct cfi for possible PSEUDO_RET frame setup.
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
24059 Branch to local label emitted by PSEUDO_RET rather than
24060 __syscall_error.
24061
02637374
AS
240622010-08-12 Andreas Schwab <schwab@redhat.com>
24063
24064 [BZ #11904]
24065 * locale/programs/locale.c (print_assignment): New function.
24066 (show_locale_vars): Use it.
24067
c3e2f19b
UD
240682010-08-11 Ulrich Drepper <drepper@redhat.com>
24069
3cdaa6ad
UD
24070 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
24071 field.
24072 (struct statfs64): Likewise.
24073 (_STATFS_F_FLAGS): Define.
24074 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
24075 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24076 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
24077 (ST_VALID): Define locally.
24078 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
24079 __statvfs_getflags, use the provided value.
24080 * sysdeps/unix/sysv/linux/kernel-features.h: Define
24081 __ASSUME_STATFS_F_FLAGS.
24082
754f7da3
UD
24083 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
24084
10b3bedc
UD
24085 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
24086 Add sys/fanotify.h.
24087 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
24088 fanotify_mask for GLIBC_2.13.
24089 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
24090 fanotify_init and fanotify_mark.
24091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
24092 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
24093
c08fb0d7
UD
24094 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
24095 Add prlimit.
24096 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
24097 prlimit64 for GLIBC_2.13.
24098 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
24099 prlimit64.
24100 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
24101 syscall.
24102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
24103 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
24104 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
24105 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
24106 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
24107 add prlimit alias.
24108 * sysdeps/unix/sysv/linux/prlimit.c: New file.
24109
15bac72b
UD
24110 [BZ #11903]
24111 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
24112 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
24113
c3e2f19b
UD
24114 * nss/Makefile: Add rules to build and run tst-nss-test1.
24115 * shlib-versions: Add entry for libnss_test1.
24116 * nss/nss_test1.c: New file.
24117 * nss/tst-nss-test1.c: New file.
24118
24119 * nss/nsswitch.c (__nss_database_custom): Define new variable.
24120 (__nss_configure_lookup): Set appropriate entry in
24121 __nss_configure_lookup to true.
24122 * nss/nsswitch.h: Define enum with indeces of databases in
24123 databases and __nss_database_custom arrays. Declare
24124 __nss_database_custom.
24125 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
24126 to avoid using nscd when custom rules are installed.
24127 * nss/getXXbyYY_r.c: Likewise.
24128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24129
24130 * nss/nss_files/files-parse.c: Whitespace fixes.
24131
f15ce4d8
UD
241322010-08-09 Ulrich Drepper <drepper@redhat.com>
24133
24134 [BZ #11883]
24135 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
24136 * posix/fnmatch_loop.c: Likewise.
24137
d22e4cc9
AK
241382010-07-17 Andi Kleen <ak@linux.intel.com>
24139
24140 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
24141 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
24142 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
24143 * Versions.def [GLIBC_2.13]: Add.
24144
805bc17d
UD
241452010-08-06 Ulrich Drepper <drepper@redhat.com>
24146
24147 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24148 Also fail if tpwd after pwuid call is NULL.
24149
5a42321d
ST
241502010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
24151
24152 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
24153 when converting to ms.
24154
fd3ebeda
ST
241552010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24156
24157 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
24158 EOPNOTSUPP errors with ENOTTY.
24159 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
24160 EOPNOTSUPP errors with ENOTTY.
24161
73507d3a
UD
241622010-07-31 Ulrich Drepper <drepper@redhat.com>
24163
24164 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
24165 Add strcasecmp_l-ssse3.
24166 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
24167 strcasecmp.
24168 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
24169 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
24170 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
24171
fe36dd02
UD
241722010-07-30 Ulrich Drepper <drepper@redhat.com>
24173
66f6765a
UD
24174 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
24175
42e08a54
UD
24176 * string/Makefile (strop-tests): Add strcasecmp.
24177 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
24178 strcasecmp_l-nonascii.
24179 (gen-as-const-headers): Add locale-defines.sym.
24180 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
24181 * sysdeps/x86_64/strcasecmp.S: New file.
24182 * sysdeps/x86_64/strcasecmp_l.S: New file.
24183 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
24184 * sysdeps/x86_64/locale-defines.sym: New file.
24185 * string/test-strcasecmp.c: New file.
24186
fe36dd02
UD
24187 * string/test-strcasestr.c: Test both ends of the range of characters.
24188 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
24189
48cbc0d6
RM
241902010-07-29 Roland McGrath <roland@redhat.com>
24191
76e6d6bc 24192 [BZ #11856]
48cbc0d6
RM
24193 * manual/locale.texi (Yes-or-No Questions): Fix example code.
24194
880113d9
UD
241952010-07-27 Ulrich Drepper <drepper@redhat.com>
24196
24197 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
24198 for ld.so.
24199
deb9cabb
AS
242002010-07-27 Andreas Schwab <schwab@redhat.com>
24201
24202 * manual/memory.texi (Malloc Tunable Parameters): Document
24203 M_PERTURB.
24204
1c7570ff
RM
242052010-07-26 Roland McGrath <roland@redhat.com>
24206
24207 [BZ #11840]
24208 * configure.in (-fgnu89-inline check): Set and substitute
24209 gnu89_inline, not libc_cv_gnu89_inline.
24210 * configure: Regenerated.
24211 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
24212
24fb0f88
UD
242132010-07-26 Ulrich Drepper <drepper@redhat.com>
24214
24215 * string/test-strnlen.c: New file.
24216 * string/Makefile (strop-tests): Add strnlen.
24217 * string/tester.c (test_strnlen): Add a few more test cases.
24218 * string/tst-strlen.c: Better error reporting.
24219
24220 * sysdeps/x86_64/strnlen.S: New file.
24221
8e96b93a
UD
242222010-07-24 Ulrich Drepper <drepper@redhat.com>
24223
24224 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
24225 lower-latency instructions.
24226
dbc676d4
UD
242272010-07-23 Ulrich Drepper <drepper@redhat.com>
24228
24229 * string/test-strcasestr.c: New file.
24230 * string/test-strstr.c: New file.
24231 * string/Makefile (strop-tests): Add strstr and strcasestr.
24232 * string/str-two-way.h: Don't undefine MAX.
24233 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
24234
f6a31e0e
AS
242352010-07-21 Andreas Schwab <schwab@redhat.com>
24236
24237 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24238 strcasestr-nonascii.
24239 (CFLAGS-strcasestr-nonascii.c): Define.
24240 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
24241 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
24242 Remove unused attribute.
24243
5dbc3b6c
RM
242442010-07-20 Roland McGrath <roland@redhat.com>
24245
24246 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
24247 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
24248 ld.so.cache was broken. With it, there is no way to disable dsocaps
24249 like LD_HWCAP_MASK can disable hwcaps.
24250
23d101d8
EPM
242512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24252
24253 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
24254
cc9f2e47
UD
242552010-07-16 Ulrich Drepper <drepper@redhat.com>
24256
24257 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
24258 call in strcasestr.
24259 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
24260 __strcasestr_sse42_nonascii.
24261 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
24262 strcasestr-nonascii.c.
24263 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
24264
77c1b069
LM
242652010-06-15 Luis Machado <luisgpm@br.ibm.com>
24266
24267 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
24268 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
24269 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
24270 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
24271
440566c3
UD
242722010-07-09 Ulrich Drepper <drepper@redhat.com>
24273
24274 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
24275 fcntl.
24276
5be9d05d
AS
242772010-07-06 Andreas Schwab <schwab@redhat.com>
24278
c30b7ee2 24279 [BZ #11577]
5be9d05d
AS
24280 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
24281 dl_signal_cerror.
24282
8a492a67
UD
242832010-07-06 Ulrich Drepper <drepper@redhat.com>
24284
24285 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
24286 _PC_PIPE_BUF using F_GETPIPE_SZ.
24287
713df3d5
RM
242882010-07-05 Roland McGrath <roland@redhat.com>
24289
24290 * manual/arith.texi (Rounding Functions): Fix rint description
24291 implicit in round description.
24292
702e8f14
UD
242932010-07-02 Ulrich Drepper <drepper@redhat.com>
24294
24295 * elf/Makefile: Fix linking for a few tests to make recent linker
24296 happy.
24297
52ed8be9
AS
242982010-06-30 Andreas Schwab <schwab@redhat.com>
24299
24300 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24301 $(common-objpfx)libc_nonshared.a.
24302
f47c9a11
LM
243032010-06-21 Luis Machado <luisgpm@br.ibm.com>
24304
24305 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
24306 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
24307 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24308 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24309 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
24310 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
24311 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24312 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
24314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
24315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
24316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
24317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
24318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
24319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
24320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
24321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
24322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
24323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
24324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
24325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
24326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
24327 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
24328 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
24329 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
24330 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
24331 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
24332 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
24333 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
24334 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
24335 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
24336 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
24337 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
24338 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
24339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
24340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
24341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
24342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
24343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
24344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
24345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
24346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
24347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
24348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
24349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
24350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
24351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
24352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
24353
6fb8cbcb
L
243542010-06-25 H.J. Lu <hongjiu.lu@intel.com>
24355
24356 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
24357 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
24358 * string/memmove.c (memmove): Renamed to ...
24359 (MEMMOVE): ...this. Default to memmove.
24360 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
24361 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
24362 (END_CHK): Define.
24363 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24364 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
24365 mempcpy-ssse3-back memmove-ssse3-back.
24366 * sysdeps/x86_64/multiarch/bcopy.S: New file .
24367 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
24368 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
24369 * sysdeps/x86_64/multiarch/memcpy.S: New file.
24370 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
24371 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
24372 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
24373 * sysdeps/x86_64/multiarch/memmove.c: New file.
24374 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
24375 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
24376 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
24377 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
24378 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
24379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
24380 Define.
24381 (index_Fast_Copy_Backward): Define.
24382 (HAS_ARCH_FEATURE): Define.
24383 (HAS_FAST_REP_STRING): Define.
24384 (HAS_FAST_COPY_BACKWARD): Define.
24385
4e733bac 243862010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
24387
24388 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
24389 Restore proper fallback handling.
24390
63c4ed22
UD
243912010-06-19 Ulrich Drepper <drepper@redhat.com>
24392
ac2b484c
UD
24393 [BZ #11701]
24394 * posix/group_member.c (__group_member): Correct checking loop.
24395
63c4ed22
UD
24396 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
24397 OOM in getpwuid_r correctly. Return error number when the caller
24398 should return, otherwise -1.
24399 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
24400 call returning > 0 value.
24401 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
24402
765ade4b
AS
244032010-06-07 Andreas Schwab <schwab@redhat.com>
24404
24405 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
24406 libc_nonshared.a from targets in modules-names.
24407
80da2e09
KS
244082010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
24409
24410 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
24411 requires it.
24412
158db122
LM
244132010-06-10 Luis Machado <luisgpm@br.ibm.com>
24414
24415 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
24416 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
24417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
24418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
24419
caa78cf8
AS
244202010-06-02 Andreas Schwab <schwab@redhat.com>
24421
24422 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
24423
b2ef2c01
UD
244242010-06-14 Ulrich Drepper <drepper@redhat.com>
24425
24426 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
24427 and F_GETPIPE_SZ.
24428 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24429 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24431 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24433 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
24434
fbd643b6
RM
244352010-06-14 Roland McGrath <roland@redhat.com>
24436
24437 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
24438
f32f2869
JJ
244392010-06-07 Jakub Jelinek <jakub@redhat.com>
24440
24441 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
24442 __REDIRECT followed by __THROW.
24443 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
24444 * posix/getopt.h (getopt): Likewise.
24445
2a50c078
EPM
244462010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
24447
24448 * hurd/lookup-at.c (__file_name_lookup_at): Accept
24449 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
24450 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
24451 in AT_FLAGS.
24452 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
24453 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
24454
eb5ad2eb
LM
244552010-05-28 Luis Machado <luisgpm@br.ibm.com>
24456
24457 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
24458
3c88fe1e
L
244592010-05-26 H.J. Lu <hongjiu.lu@intel.com>
24460
24461 [BZ #11640]
24462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24463 Properly check family and model.
24464
d2f73151
TY
244652010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
24466
24467 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
24468
ebd2e13d
LM
244692010-05-24 Luis Machado <luisgpm@br.ibm.com>
24470
24471 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
24472
b32b8b45
UD
244732010-05-21 Ulrich Drepper <drepper@redhat.com>
24474
24475 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
24476 symbol reference.
24477
9acbe24d
AS
244782010-05-19 Andreas Schwab <schwab@redhat.com>
24479
24480 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
24481 symbol reference.
24482
f0ccf6ea
AS
244832010-05-21 Andreas Schwab <schwab@redhat.com>
24484
3d04ff3a
AS
24485 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
24486 and internal_recvmmsg.
24487 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
24488 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
24489 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
24490 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
24491
f0ccf6ea
AS
24492 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
24493 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24494 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24495
5b08ac57
AS
244962010-05-20 Andreas Schwab <schwab@redhat.com>
24497
24498 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
24499
4828935d
LM
245002010-05-17 Luis Machado <luisgpm@br.ibm.com>
24501
24502 POWER7 optimizations.
24503 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
24504 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
24505
373d545e
UD
245062010-05-19 Ulrich Drepper <drepper@redhat.com>
24507
24508 * version.h: Update for 2.13 development version.
24509
21a2b1ae
AS
245102010-05-12 Andrew Stubbs <ams@codesourcery.com>
24511
24512 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
24513 exceptions. Return 0.
24514
3f7dcb2b
RM
245152010-05-07 Roland McGrath <roland@redhat.com>
24516
24517 * elf/ldconfig.c (main): Add a const.
24518
5f24d53a 245192010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 24520
a160f8d8
UD
24521 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
24522 (args_options): Add no-idn option.
24523 (ahosts_keys_int): Add idn_flags to ai_flags.
24524 (parse_option): Handle 'i' option to clear idn_flags.
24525
5f24d53a
UD
24526 * malloc/malloc.c (_int_free): Possible race in the most recently
24527 added check. Only act on the data if no current modification
24528 happened.
265bb1ce
UD
24529
24530See ChangeLog.17 for earlier changes.